Chromium Code Reviews| 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, |
|
Peter Kasting
2011/10/11 23:08:32
Nit: One arg per line, aligned
koz (OOO until 15th September)
2011/10/12 05:38:23
Done.
| |
| 89 bool ask_permission) 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 137 const NativeWebKeyboardEvent& event) OVERRIDE; | 138 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 138 virtual void ShowCreateWebAppShortcutsDialog( | 139 virtual void ShowCreateWebAppShortcutsDialog( |
| 139 TabContentsWrapper* tab_contents) OVERRIDE; | 140 TabContentsWrapper* tab_contents) OVERRIDE; |
| 140 virtual void ShowCreateChromeAppShortcutsDialog( | 141 virtual void ShowCreateChromeAppShortcutsDialog( |
| 141 Profile* profile, const Extension* app) OVERRIDE; | 142 Profile* profile, const Extension* app) OVERRIDE; |
| 142 virtual void Cut() OVERRIDE; | 143 virtual void Cut() OVERRIDE; |
| 143 virtual void Copy() OVERRIDE; | 144 virtual void Copy() OVERRIDE; |
| 144 virtual void Paste() OVERRIDE; | 145 virtual void Paste() OVERRIDE; |
| 145 #if defined(OS_MACOSX) | 146 #if defined(OS_MACOSX) |
| 146 virtual void OpenTabpose() OVERRIDE; | 147 virtual void OpenTabpose() OVERRIDE; |
| 147 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; | 148 virtual void SetPresentationMode(bool presentation_mode, |
| 149 const GURL& url, | |
| 150 bool ask_permission) OVERRIDE; | |
| 148 virtual bool InPresentationMode() OVERRIDE; | 151 virtual bool InPresentationMode() OVERRIDE; |
| 149 #endif | 152 #endif |
| 150 virtual void PrepareForInstant() OVERRIDE; | 153 virtual void PrepareForInstant() OVERRIDE; |
| 151 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 154 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
| 152 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 155 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
| 153 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 156 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
| 154 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 157 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
| 155 const gfx::Rect& bounds) OVERRIDE; | 158 const gfx::Rect& bounds) OVERRIDE; |
| 156 virtual FindBar* CreateFindBar() OVERRIDE; | 159 virtual FindBar* CreateFindBar() OVERRIDE; |
| 157 #if defined(OS_CHROMEOS) | 160 #if defined(OS_CHROMEOS) |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 231 // Stores the full height of the panel so we can restore it after it's | 234 // Stores the full height of the panel so we can restore it after it's |
| 232 // been minimized. | 235 // been minimized. |
| 233 int restored_height_; | 236 int restored_height_; |
| 234 | 237 |
| 235 NotificationRegistrar registrar_; | 238 NotificationRegistrar registrar_; |
| 236 | 239 |
| 237 DISALLOW_COPY_AND_ASSIGN(Panel); | 240 DISALLOW_COPY_AND_ASSIGN(Panel); |
| 238 }; | 241 }; |
| 239 | 242 |
| 240 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 243 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
| OLD | NEW |