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 "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/ui/gtk/browser_window_gtk.h" | 9 #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
10 #include "chrome/browser/ui/gtk/menu_gtk.h" | 10 #include "chrome/browser/ui/gtk/menu_gtk.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void PanelCut() OVERRIDE; | 83 virtual void PanelCut() OVERRIDE; |
84 virtual void PanelCopy() OVERRIDE; | 84 virtual void PanelCopy() OVERRIDE; |
85 virtual void PanelPaste() OVERRIDE; | 85 virtual void PanelPaste() OVERRIDE; |
86 virtual void DrawAttention() OVERRIDE; | 86 virtual void DrawAttention() OVERRIDE; |
87 virtual bool IsDrawingAttention() const OVERRIDE; | 87 virtual bool IsDrawingAttention() const OVERRIDE; |
88 virtual bool PreHandlePanelKeyboardEvent( | 88 virtual bool PreHandlePanelKeyboardEvent( |
89 const NativeWebKeyboardEvent& event, | 89 const NativeWebKeyboardEvent& event, |
90 bool* is_keyboard_shortcut) OVERRIDE; | 90 bool* is_keyboard_shortcut) OVERRIDE; |
91 virtual void HandlePanelKeyboardEvent( | 91 virtual void HandlePanelKeyboardEvent( |
92 const NativeWebKeyboardEvent& event) OVERRIDE; | 92 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 93 virtual void FullScreenModeChanged(bool is_full_screen_mode_on) OVERRIDE; |
93 virtual Browser* GetPanelBrowser() const OVERRIDE; | 94 virtual Browser* GetPanelBrowser() const OVERRIDE; |
94 virtual void DestroyPanelBrowser() OVERRIDE; | 95 virtual void DestroyPanelBrowser() OVERRIDE; |
95 virtual gfx::Size WindowSizeFromContentSize( | 96 virtual gfx::Size WindowSizeFromContentSize( |
96 const gfx::Size& content_size) const OVERRIDE; | 97 const gfx::Size& content_size) const OVERRIDE; |
97 virtual gfx::Size ContentSizeFromWindowSize( | 98 virtual gfx::Size ContentSizeFromWindowSize( |
98 const gfx::Size& window_size) const OVERRIDE; | 99 const gfx::Size& window_size) const OVERRIDE; |
99 virtual int TitleOnlyHeight() const OVERRIDE; | 100 virtual int TitleOnlyHeight() const OVERRIDE; |
100 | 101 |
101 private: | 102 private: |
102 void StartBoundsAnimation(const gfx::Rect& current_bounds); | 103 void StartBoundsAnimation(const gfx::Rect& current_bounds); |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 base::Time disableMinimizeUntilTime_; | 182 base::Time disableMinimizeUntilTime_; |
182 | 183 |
183 // Used to animate the bounds change. | 184 // Used to animate the bounds change. |
184 scoped_ptr<ui::SlideAnimation> bounds_animator_; | 185 scoped_ptr<ui::SlideAnimation> bounds_animator_; |
185 gfx::Rect animation_start_bounds_; | 186 gfx::Rect animation_start_bounds_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); | 188 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindowGtk); |
188 }; | 189 }; |
189 | 190 |
190 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ | 191 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_GTK_H_ |
OLD | NEW |