| 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; |
| 81 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; | 82 virtual void UpdatePanelMinimizeRestoreButtonVisibility() OVERRIDE; |
| 82 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; | 83 virtual void SetWindowCornerStyle(panel::CornerStyle corner_style) OVERRIDE; |
| 83 virtual void MinimizePanelBySystem() OVERRIDE; | 84 virtual void MinimizePanelBySystem() OVERRIDE; |
| 84 virtual bool IsPanelMinimizedBySystem() const OVERRIDE; | 85 virtual bool IsPanelMinimizedBySystem() const OVERRIDE; |
| 85 virtual bool IsPanelShownOnActiveDesktop() const OVERRIDE; | 86 virtual bool IsPanelShownOnActiveDesktop() const OVERRIDE; |
| 86 virtual void ShowShadow(bool show) OVERRIDE; | 87 virtual void ShowShadow(bool show) OVERRIDE; |
| 87 | 88 |
| 88 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE; | 89 virtual NativePanelTesting* CreateNativePanelTesting() OVERRIDE; |
| 89 | 90 |
| 90 // Overridden from ActiveWindowWatcherXObserver. | 91 // Overridden from ActiveWindowWatcherXObserver. |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 // The container for the titlebar. | 214 // The container for the titlebar. |
| 214 scoped_ptr<PanelTitlebarGtk> titlebar_; | 215 scoped_ptr<PanelTitlebarGtk> titlebar_; |
| 215 | 216 |
| 216 // Indicates how the window corner should be rendered, rounded or not. | 217 // Indicates how the window corner should be rendered, rounded or not. |
| 217 panel::CornerStyle corner_style_; | 218 panel::CornerStyle corner_style_; |
| 218 | 219 |
| 219 DISALLOW_COPY_AND_ASSIGN(PanelGtk); | 220 DISALLOW_COPY_AND_ASSIGN(PanelGtk); |
| 220 }; | 221 }; |
| 221 | 222 |
| 222 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ | 223 #endif // CHROME_BROWSER_UI_GTK_PANELS_PANEL_GTK_H_ |
| OLD | NEW |