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 SetFullscreen(bool fullscreen, const GURL& url, bool show_buttons
) OVERRIDE; |
89 virtual bool IsFullscreen() const OVERRIDE; | 89 virtual bool IsFullscreen() const OVERRIDE; |
90 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; | 90 virtual bool IsFullscreenBubbleVisible() const OVERRIDE; |
91 virtual LocationBar* GetLocationBar() const OVERRIDE; | 91 virtual LocationBar* GetLocationBar() const OVERRIDE; |
92 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; | 92 virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
93 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; | 93 virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE; |
94 virtual void UpdateToolbar(TabContentsWrapper* contents, | 94 virtual void UpdateToolbar(TabContentsWrapper* contents, |
95 bool should_restore_state) OVERRIDE; | 95 bool should_restore_state) OVERRIDE; |
96 virtual void FocusToolbar() OVERRIDE; | 96 virtual void FocusToolbar() OVERRIDE; |
97 virtual void FocusAppMenu() OVERRIDE; | 97 virtual void FocusAppMenu() OVERRIDE; |
98 virtual void FocusBookmarksToolbar() OVERRIDE; | 98 virtual void FocusBookmarksToolbar() OVERRIDE; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 virtual void ShowCreateWebAppShortcutsDialog( | 138 virtual void ShowCreateWebAppShortcutsDialog( |
139 TabContentsWrapper* tab_contents) OVERRIDE; | 139 TabContentsWrapper* tab_contents) OVERRIDE; |
140 virtual void ShowCreateChromeAppShortcutsDialog( | 140 virtual void ShowCreateChromeAppShortcutsDialog( |
141 Profile* profile, const Extension* app) OVERRIDE; | 141 Profile* profile, const Extension* app) OVERRIDE; |
142 virtual void Cut() OVERRIDE; | 142 virtual void Cut() OVERRIDE; |
143 virtual void Copy() OVERRIDE; | 143 virtual void Copy() OVERRIDE; |
144 virtual void Paste() OVERRIDE; | 144 virtual void Paste() OVERRIDE; |
145 virtual void ToggleTabStripMode() OVERRIDE; | 145 virtual void ToggleTabStripMode() OVERRIDE; |
146 #if defined(OS_MACOSX) | 146 #if defined(OS_MACOSX) |
147 virtual void OpenTabpose() OVERRIDE; | 147 virtual void OpenTabpose() OVERRIDE; |
148 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; | 148 virtual void SetPresentationMode(bool presentation_mode, |
| 149 const GURL& url, |
| 150 bool show_buttons) OVERRIDE; |
149 virtual bool InPresentationMode() OVERRIDE; | 151 virtual bool InPresentationMode() OVERRIDE; |
150 #endif | 152 #endif |
151 virtual void PrepareForInstant() OVERRIDE; | 153 virtual void PrepareForInstant() OVERRIDE; |
152 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 154 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
153 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 155 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
154 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 156 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
155 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 157 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
156 const gfx::Rect& bounds) OVERRIDE; | 158 const gfx::Rect& bounds) OVERRIDE; |
157 virtual FindBar* CreateFindBar() OVERRIDE; | 159 virtual FindBar* CreateFindBar() OVERRIDE; |
158 #if defined(OS_CHROMEOS) | 160 #if defined(OS_CHROMEOS) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 // 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 |
231 // been minimized. | 233 // been minimized. |
232 int restored_height_; | 234 int restored_height_; |
233 | 235 |
234 NotificationRegistrar registrar_; | 236 NotificationRegistrar registrar_; |
235 | 237 |
236 DISALLOW_COPY_AND_ASSIGN(Panel); | 238 DISALLOW_COPY_AND_ASSIGN(Panel); |
237 }; | 239 }; |
238 | 240 |
239 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 241 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |