Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_gtk.h

Issue 9463022: Minimized panels should not open on Windows when activated by the OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed unnecessary include Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/gtk/browser_window_gtk.h" 10 #include "chrome/browser/ui/gtk/browser_window_gtk.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Overridden from NativePanel: 71 // Overridden from NativePanel:
72 virtual void ShowPanel() OVERRIDE; 72 virtual void ShowPanel() OVERRIDE;
73 virtual void ShowPanelInactive() OVERRIDE; 73 virtual void ShowPanelInactive() OVERRIDE;
74 virtual gfx::Rect GetPanelBounds() const OVERRIDE; 74 virtual gfx::Rect GetPanelBounds() const OVERRIDE;
75 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE; 75 virtual void SetPanelBounds(const gfx::Rect& bounds) OVERRIDE;
76 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE; 76 virtual void SetPanelBoundsInstantly(const gfx::Rect& bounds) OVERRIDE;
77 virtual void ClosePanel() OVERRIDE; 77 virtual void ClosePanel() OVERRIDE;
78 virtual void ActivatePanel() OVERRIDE; 78 virtual void ActivatePanel() OVERRIDE;
79 virtual void DeactivatePanel() OVERRIDE; 79 virtual void DeactivatePanel() OVERRIDE;
80 virtual bool IsPanelActive() const OVERRIDE; 80 virtual bool IsPanelActive() const OVERRIDE;
81 virtual void PreventActivationByOS(bool prevent_activation) OVERRIDE;
81 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; 82 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE;
82 virtual void UpdatePanelTitleBar() OVERRIDE; 83 virtual void UpdatePanelTitleBar() OVERRIDE;
83 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; 84 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE;
84 virtual void ShowTaskManagerForPanel() OVERRIDE; 85 virtual void ShowTaskManagerForPanel() OVERRIDE;
85 virtual FindBar* CreatePanelFindBar() OVERRIDE; 86 virtual FindBar* CreatePanelFindBar() OVERRIDE;
86 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; 87 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE;
87 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; 88 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE;
88 virtual void PanelCut() OVERRIDE; 89 virtual void PanelCut() OVERRIDE;
89 virtual void PanelCopy() OVERRIDE; 90 virtual void PanelCopy() OVERRIDE;
90 virtual void PanelPaste() OVERRIDE; 91 virtual void PanelPaste() OVERRIDE;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 220
220 // The close button is not shown when panel is in icon only mode in overflow. 221 // The close button is not shown when panel is in icon only mode in overflow.
221 bool show_close_button_; 222 bool show_close_button_;
222 223
223 content::NotificationRegistrar registrar_; 224 content::NotificationRegistrar registrar_;
224 225
225 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); 226 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk);
226 }; 227 };
227 228
228 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ 229 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa.mm ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698