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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 TabContentsWrapper* tab_contents) OVERRIDE; | 124 TabContentsWrapper* tab_contents) OVERRIDE; |
125 virtual void ShowCreateChromeAppShortcutsDialog( | 125 virtual void ShowCreateChromeAppShortcutsDialog( |
126 Profile* profile, const Extension* app) OVERRIDE; | 126 Profile* profile, const Extension* app) OVERRIDE; |
127 virtual void ToggleUseCompactNavigationBar(); | 127 virtual void ToggleUseCompactNavigationBar(); |
128 virtual void Cut() OVERRIDE; | 128 virtual void Cut() OVERRIDE; |
129 virtual void Copy() OVERRIDE; | 129 virtual void Copy() OVERRIDE; |
130 virtual void Paste() OVERRIDE; | 130 virtual void Paste() OVERRIDE; |
131 virtual void ToggleTabStripMode() OVERRIDE; | 131 virtual void ToggleTabStripMode() OVERRIDE; |
132 #if defined(OS_MACOSX) | 132 #if defined(OS_MACOSX) |
133 virtual void OpenTabpose() OVERRIDE; | 133 virtual void OpenTabpose() OVERRIDE; |
| 134 virtual void SetPresentationMode(bool presentation_mode) OVERRIDE; |
| 135 virtual bool InPresentationMode() OVERRIDE; |
134 #endif | 136 #endif |
135 virtual void PrepareForInstant() OVERRIDE; | 137 virtual void PrepareForInstant() OVERRIDE; |
136 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 138 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
137 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 139 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
138 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 140 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
139 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 141 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
140 const gfx::Rect& bounds) OVERRIDE; | 142 const gfx::Rect& bounds) OVERRIDE; |
141 #if defined(OS_CHROMEOS) | 143 #if defined(OS_CHROMEOS) |
142 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 144 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
143 #endif | 145 #endif |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 // Platform specifc implementation for panels. It'd be one of | 179 // Platform specifc implementation for panels. It'd be one of |
178 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. | 180 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. |
179 NativePanel* native_panel_; // Weak, owns us. | 181 NativePanel* native_panel_; // Weak, owns us. |
180 | 182 |
181 ExpansionState expansion_state_; | 183 ExpansionState expansion_state_; |
182 | 184 |
183 DISALLOW_COPY_AND_ASSIGN(Panel); | 185 DISALLOW_COPY_AND_ASSIGN(Panel); |
184 }; | 186 }; |
185 | 187 |
186 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 188 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |