Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: call up via ShellDelegate Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/application_lifetime.h" 9 #include "chrome/browser/lifetime/application_lifetime.h"
10 #include "chrome/browser/ui/base_window.h" 10 #include "chrome/browser/ui/base_window.h"
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 // Sets the presentation mode for the window. If the window is not already in 307 // Sets the presentation mode for the window. If the window is not already in
308 // fullscreen, also enters fullscreen mode. 308 // fullscreen, also enters fullscreen mode.
309 virtual void EnterPresentationMode( 309 virtual void EnterPresentationMode(
310 const GURL& url, 310 const GURL& url,
311 FullscreenExitBubbleType bubble_type) = 0; 311 FullscreenExitBubbleType bubble_type) = 0;
312 virtual void ExitPresentationMode() = 0; 312 virtual void ExitPresentationMode() = 0;
313 virtual bool InPresentationMode() = 0; 313 virtual bool InPresentationMode() = 0;
314 #endif 314 #endif
315 315
316 #if defined(USE_ASH)
317 // Returns true if the browser is in a maximized immersive view similar to
318 // Mac OS presentation mode, with auto-hidden top-views and bottom launcher.
319 virtual bool IsImmersiveMode() const = 0;
320 #endif
321
316 // Returns the desired bounds for Instant in screen coordinates. Note that if 322 // Returns the desired bounds for Instant in screen coordinates. Note that if
317 // Instant isn't currently visible this returns the bounds Instant would be 323 // Instant isn't currently visible this returns the bounds Instant would be
318 // placed at. 324 // placed at.
319 virtual gfx::Rect GetInstantBounds() = 0; 325 virtual gfx::Rect GetInstantBounds() = 0;
320 326
321 // Checks if an Instant's tab contents is being shown. 327 // Checks if an Instant's tab contents is being shown.
322 virtual bool IsInstantTabShowing() = 0; 328 virtual bool IsInstantTabShowing() = 0;
323 329
324 // Return the correct disposition for a popup window based on |bounds|. 330 // Return the correct disposition for a popup window based on |bounds|.
325 virtual WindowOpenDisposition GetDispositionForPopupBounds( 331 virtual WindowOpenDisposition GetDispositionForPopupBounds(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 403
398 // Returns the ToolbarView. 404 // Returns the ToolbarView.
399 virtual ToolbarView* GetToolbarView() const = 0; 405 virtual ToolbarView* GetToolbarView() const = 0;
400 #endif 406 #endif
401 407
402 protected: 408 protected:
403 virtual ~BrowserWindowTesting() {} 409 virtual ~BrowserWindowTesting() {}
404 }; 410 };
405 411
406 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 412 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698