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_GTK_PANELS_PANEL_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; | 71 virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; |
72 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; | 72 virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; |
73 // These sizes are in screen coordinates. | 73 // These sizes are in screen coordinates. |
74 virtual gfx::Size WindowSizeFromContentSize( | 74 virtual gfx::Size WindowSizeFromContentSize( |
75 const gfx::Size& content_size) const OVERRIDE; | 75 const gfx::Size& content_size) const OVERRIDE; |
76 virtual gfx::Size ContentSizeFromWindowSize( | 76 virtual gfx::Size ContentSizeFromWindowSize( |
77 const gfx::Size& window_size) const OVERRIDE; | 77 const gfx::Size& window_size) const OVERRIDE; |
78 virtual int TitleOnlyHeight() const OVERRIDE; | 78 virtual int TitleOnlyHeight() const OVERRIDE; |
79 virtual bool IsPanelAlwaysOnTop() const OVERRIDE; | 79 virtual bool IsPanelAlwaysOnTop() const OVERRIDE; |
80 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; | 80 virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE; |
81 virtual void EnableResizeByMouse(bool enable) OVERRIDE; | |
82 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; | 81 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; |
83 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; | 82 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; |
84 virtual void MinimizePanelBySystem() OVERRIDE; | 83 virtual void MinimizePanelBySystem() OVERRIDE; |
85 virtual bool IsPanelMinimizedBySystem() const OVERRIDE; | 84 virtual bool IsPanelMinimizedBySystem() const OVERRIDE; |
86 virtual bool IsPanelShownOnActiveDesktop() const OVERRIDE; | 85 virtual bool IsPanelShownOnActiveDesktop() const OVERRIDE; |
87 virtual void ShowShadow(bool show) OVERRIDE; | 86 virtual void ShowShadow(bool show) OVERRIDE; |
88 | 87 |
89 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE; | 88 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE; |
90 | 89 |
91 // Overridden from ActiveWindowWatcherXObserver. | 90 // Overridden from ActiveWindowWatcherXObserver. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 // The container for the titlebar. | 213 // The container for the titlebar. |
215 scoped_ptr<PanelTitlebarGtk> titlebar_; | 214 scoped_ptr<PanelTitlebarGtk> titlebar_; |
216 | 215 |
217 // Indicates how the window corner should be rendered, rounded or not. | 216 // Indicates how the window corner should be rendered, rounded or not. |
218 panel::CornerStyle corner_style_; | 217 panel::CornerStyle corner_style_; |
219 | 218 |
220 DISALLOW_COPY_AND_ASSIGN(PanelGtk); | 219 DISALLOW_COPY_AND_ASSIGN(PanelGtk); |
221 }; | 220 }; |
222 | 221 |
223 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ | 222 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ |
OLD | NEW |