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_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 virtual void Cut() = 0; | 300 virtual void Cut() = 0; |
301 virtual void Copy() = 0; | 301 virtual void Copy() = 0; |
302 virtual void Paste() = 0; | 302 virtual void Paste() = 0; |
303 | 303 |
304 // Switches between available tabstrip display modes. | 304 // Switches between available tabstrip display modes. |
305 virtual void ToggleTabStripMode() = 0; | 305 virtual void ToggleTabStripMode() = 0; |
306 | 306 |
307 #if defined(OS_MACOSX) | 307 #if defined(OS_MACOSX) |
308 // Opens the tabpose view. | 308 // Opens the tabpose view. |
309 virtual void OpenTabpose() = 0; | 309 virtual void OpenTabpose() = 0; |
| 310 |
| 311 // Sets the presentation mode for the window. If the window is not already in |
| 312 // fullscreen, also enters fullscreen mode. |
| 313 virtual void SetPresentationMode(bool presentation_mode) = 0; |
| 314 virtual bool InPresentationMode() = 0; |
310 #endif | 315 #endif |
311 | 316 |
312 // See InstantDelegate for details. | 317 // See InstantDelegate for details. |
313 virtual void PrepareForInstant() = 0; | 318 virtual void PrepareForInstant() = 0; |
314 | 319 |
315 // Invoked when instant's tab contents should be shown. | 320 // Invoked when instant's tab contents should be shown. |
316 virtual void ShowInstant(TabContentsWrapper* preview) = 0; | 321 virtual void ShowInstant(TabContentsWrapper* preview) = 0; |
317 | 322 |
318 // Invoked when the instant's tab contents should be hidden. | 323 // Invoked when the instant's tab contents should be hidden. |
319 // |instant_is_active| indicates if instant is still active. | 324 // |instant_is_active| indicates if instant is still active. |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 378 |
374 // Returns the ToolbarView. | 379 // Returns the ToolbarView. |
375 virtual ToolbarView* GetToolbarView() const = 0; | 380 virtual ToolbarView* GetToolbarView() const = 0; |
376 #endif | 381 #endif |
377 | 382 |
378 protected: | 383 protected: |
379 virtual ~BrowserWindowTesting() {} | 384 virtual ~BrowserWindowTesting() {} |
380 }; | 385 }; |
381 | 386 |
382 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 387 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |