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_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/browser_window.h" | 9 #include "chrome/browser/ui/browser_window.h" |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual void UpdateTitleBar() OVERRIDE; | 78 virtual void UpdateTitleBar() OVERRIDE; |
79 virtual void BookmarkBarStateChanged( | 79 virtual void BookmarkBarStateChanged( |
80 BookmarkBar::AnimateChangeType change_type) OVERRIDE; | 80 BookmarkBar::AnimateChangeType change_type) OVERRIDE; |
81 virtual void UpdateDevTools() OVERRIDE; | 81 virtual void UpdateDevTools() OVERRIDE; |
82 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; | 82 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; |
83 virtual void SetStarredState(bool is_starred) OVERRIDE; | 83 virtual void SetStarredState(bool is_starred) OVERRIDE; |
84 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 84 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
85 virtual gfx::Rect GetBounds() const OVERRIDE; | 85 virtual gfx::Rect GetBounds() const OVERRIDE; |
86 virtual bool IsMaximized() const OVERRIDE; | 86 virtual bool IsMaximized() const OVERRIDE; |
87 virtual bool IsMinimized() const OVERRIDE; | 87 virtual bool IsMinimized() const OVERRIDE; |
88 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 88 virtual void EnterFullscreen(const GURL& url, bool ask_permission) OVERRIDE; |
| 89 virtual void ExitFullscreen() OVERRIDE; |
89 virtual bool IsFullscreen() const OVERRIDE; | 90 virtual bool IsFullscreen() const OVERRIDE; |
90 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 91 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
91 virtual LocationBar* GetLocationBar() const OVERRIDE; | 92 virtual LocationBar* GetLocationBar() const OVERRIDE; |
92 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 93 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
93 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 94 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
94 virtual void UpdateToolbar(TabContentsWrapper* contents, | 95 virtual void UpdateToolbar(TabContentsWrapper* contents, |
95 bool should_restore_state) OVERRIDE; | 96 bool should_restore_state) OVERRIDE; |
96 virtual void FocusToolbar() OVERRIDE; | 97 virtual void FocusToolbar() OVERRIDE; |
97 virtual void FocusAppMenu() OVERRIDE; | 98 virtual void FocusAppMenu() OVERRIDE; |
98 virtual void FocusBookmarksToolbar() OVERRIDE; | 99 virtual void FocusBookmarksToolbar() OVERRIDE; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 const NativeWebKeyboardEvent& event) OVERRIDE; | 137 const NativeWebKeyboardEvent& event) OVERRIDE; |
137 virtual void ShowCreateWebAppShortcutsDialog( | 138 virtual void ShowCreateWebAppShortcutsDialog( |
138 TabContentsWrapper* tab_contents) OVERRIDE; | 139 TabContentsWrapper* tab_contents) OVERRIDE; |
139 virtual void ShowCreateChromeAppShortcutsDialog( | 140 virtual void ShowCreateChromeAppShortcutsDialog( |
140 Profile* profile, const Extension* app) OVERRIDE; | 141 Profile* profile, const Extension* app) OVERRIDE; |
141 virtual void Cut() OVERRIDE; | 142 virtual void Cut() OVERRIDE; |
142 virtual void Copy() OVERRIDE; | 143 virtual void Copy() OVERRIDE; |
143 virtual void Paste() OVERRIDE; | 144 virtual void Paste() OVERRIDE; |
144 #if defined(OS_MACOSX) | 145 #if defined(OS_MACOSX) |
145 virtual void OpenTabpose() OVERRIDE; | 146 virtual void OpenTabpose() OVERRIDE; |
146 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; | 147 virtual void SetPresentationMode(bool presentation_mode, |
| 148 const GURL& url, |
| 149 bool ask_permission) OVERRIDE; |
147 virtual bool InPresentationMode() OVERRIDE; | 150 virtual bool InPresentationMode() OVERRIDE; |
148 #endif | 151 #endif |
149 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 152 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
150 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 153 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
151 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 154 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
152 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 155 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
153 const gfx::Rect& bounds) OVERRIDE; | 156 const gfx::Rect& bounds) OVERRIDE; |
154 virtual FindBar* CreateFindBar() OVERRIDE; | 157 virtual FindBar* CreateFindBar() OVERRIDE; |
155 #if defined(OS_CHROMEOS) | 158 #if defined(OS_CHROMEOS) |
156 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 159 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // Stores the full height of the panel so we can restore it after it's | 232 // Stores the full height of the panel so we can restore it after it's |
230 // been minimized. | 233 // been minimized. |
231 int restored_height_; | 234 int restored_height_; |
232 | 235 |
233 NotificationRegistrar registrar_; | 236 NotificationRegistrar registrar_; |
234 | 237 |
235 DISALLOW_COPY_AND_ASSIGN(Panel); | 238 DISALLOW_COPY_AND_ASSIGN(Panel); |
236 }; | 239 }; |
237 | 240 |
238 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 241 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |