| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/ui/gtk/browser_window_gtk.h" | 8 #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
| 9 #include "chrome/browser/ui/panels/native_panel.h" | 9 #include "chrome/browser/ui/panels/native_panel.h" |
| 10 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 Panel::ExpansionState expansion_state) OVERRIDE; | 45 Panel::ExpansionState expansion_state) OVERRIDE; |
| 46 virtual bool ShouldBringUpPanelTitleBar(int mouse_x, | 46 virtual bool ShouldBringUpPanelTitleBar(int mouse_x, |
| 47 int mouse_y) const OVERRIDE; | 47 int mouse_y) const OVERRIDE; |
| 48 virtual void ClosePanel() OVERRIDE; | 48 virtual void ClosePanel() OVERRIDE; |
| 49 virtual void ActivatePanel() OVERRIDE; | 49 virtual void ActivatePanel() OVERRIDE; |
| 50 virtual void DeactivatePanel() OVERRIDE; | 50 virtual void DeactivatePanel() OVERRIDE; |
| 51 virtual bool IsPanelActive() const OVERRIDE; | 51 virtual bool IsPanelActive() const OVERRIDE; |
| 52 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; | 52 virtual gfx::NativeWindow GetNativePanelHandle() OVERRIDE; |
| 53 virtual void UpdatePanelTitleBar() OVERRIDE; | 53 virtual void UpdatePanelTitleBar() OVERRIDE; |
| 54 virtual void ShowTaskManagerForPanel() OVERRIDE; | 54 virtual void ShowTaskManagerForPanel() OVERRIDE; |
| 55 virtual FindBar* CreatePanelFindBar() OVERRIDE; |
| 55 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; | 56 virtual void NotifyPanelOnUserChangedTheme() OVERRIDE; |
| 56 virtual void DrawAttention() OVERRIDE; | 57 virtual void DrawAttention() OVERRIDE; |
| 57 virtual bool IsDrawingAttention() const OVERRIDE; | 58 virtual bool IsDrawingAttention() const OVERRIDE; |
| 58 virtual Browser* GetPanelBrowser() const OVERRIDE; | 59 virtual Browser* GetPanelBrowser() const OVERRIDE; |
| 59 virtual void DestroyPanelBrowser() OVERRIDE; | 60 virtual void DestroyPanelBrowser() OVERRIDE; |
| 60 virtual NativePanelTesting* GetNativePanelTesting() OVERRIDE; | 61 virtual NativePanelTesting* GetNativePanelTesting() OVERRIDE; |
| 61 | 62 |
| 62 private: | 63 private: |
| 63 void SetBoundsImpl(); | 64 void SetBoundsImpl(); |
| 64 | 65 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // a task to end the drag and only run it if GTK+ didn't send us the | 113 // a task to end the drag and only run it if GTK+ didn't send us the |
| 113 // drag-failed event. | 114 // drag-failed event. |
| 114 ScopedRunnableMethodFactory<PanelBrowserWindowGtk> drag_end_factory_; | 115 ScopedRunnableMethodFactory<PanelBrowserWindowGtk> drag_end_factory_; |
| 115 | 116 |
| 116 scoped_ptr<Panel> panel_; | 117 scoped_ptr<Panel> panel_; |
| 117 gfx::Rect bounds_; | 118 gfx::Rect bounds_; |
| 118 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); | 119 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); |
| 119 }; | 120 }; |
| 120 | 121 |
| 121 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ | 122 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ |
| OLD | NEW |