OLD | NEW |
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 Loading... |
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; | |
82 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; | 81 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; |
83 virtual void UpdatePanelTitleBar() OVERRIDE; | 82 virtual void UpdatePanelTitleBar() OVERRIDE; |
84 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; | 83 virtual void UpdatePanelLoadingAnimations(bool should_animate) OVERRIDE; |
85 virtual void ShowTaskManagerForPanel() OVERRIDE; | 84 virtual void ShowTaskManagerForPanel() OVERRIDE; |
86 virtual FindBar* CreatePanelFindBar() OVERRIDE; | 85 virtual FindBar* CreatePanelFindBar() OVERRIDE; |
87 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; | 86 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
88 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; | 87 virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; |
89 virtual void PanelCut() OVERRIDE; | 88 virtual void PanelCut() OVERRIDE; |
90 virtual void PanelCopy() OVERRIDE; | 89 virtual void PanelCopy() OVERRIDE; |
91 virtual void PanelPaste() OVERRIDE; | 90 virtual void PanelPaste() OVERRIDE; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 | 219 |
221 // The close button is not shown when panel is in icon only mode in overflow. | 220 // The close button is not shown when panel is in icon only mode in overflow. |
222 bool show_close_button_; | 221 bool show_close_button_; |
223 | 222 |
224 content::NotificationRegistrar registrar_; | 223 content::NotificationRegistrar registrar_; |
225 | 224 |
226 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); | 225 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); |
227 }; | 226 }; |
228 | 227 |
229 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ | 228 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |