Skip to content

Commit 3f3500b

Browse files
committed
fix windows minimize and printing
1 parent f594de1 commit 3f3500b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/browser/native_window_aura.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,10 @@ bool NativeWindowAura::CanMaximize() const {
837837
return resizable_;
838838
}
839839

840+
bool NativeWindowAura::CanMinimize() const {
841+
return true;
842+
}
843+
840844
views::Widget* NativeWindowAura::GetWidget() {
841845
return window_;
842846
}

src/browser/native_window_aura.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class NativeWindowAura : public NativeWindow,
113113
views::Widget* widget) override;
114114
virtual bool CanResize() const override;
115115
virtual bool CanMaximize() const override;
116+
virtual bool CanMinimize() const override;
116117
virtual views::Widget* GetWidget() override;
117118
virtual const views::Widget* GetWidget() const override;
118119
virtual base::string16 GetWindowTitle() const override;

src/browser/shell_content_utility_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool ShellContentUtilityClient::OnMessageReceived(
8484

8585
// static
8686
void ShellContentUtilityClient::PreSandboxStartup() {
87-
base::debug::WaitForDebugger(120, false);
87+
//base::debug::WaitForDebugger(120, false);
8888
#if defined(ENABLE_PRINT_PREVIEW) || defined(OS_WIN)
8989
PrintingHandler::PreSandboxStartup();
9090
#endif

0 commit comments

Comments
 (0)