Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.h |
| diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h |
| index 904c72375c963beaef4aeea12c319ee99daa8030..7f333c0ae4e2a1fdfa78329336de96f76e3cd191 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.h |
| +++ b/chrome/browser/ui/views/frame/browser_view.h |
| @@ -254,7 +254,8 @@ class BrowserView : public BrowserBubbleHost, |
| virtual gfx::Rect GetBounds() const OVERRIDE; |
| virtual bool IsMaximized() const OVERRIDE; |
| virtual bool IsMinimized() const OVERRIDE; |
| - virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| + 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.
|
| + bool ask_permission) OVERRIDE; |
| virtual bool IsFullscreen() const OVERRIDE; |
| virtual LocationBar* GetLocationBar() const OVERRIDE; |
| virtual void SetFocusToLocationBar(bool select_all) OVERRIDE; |
| @@ -500,7 +501,11 @@ class BrowserView : public BrowserBubbleHost, |
| // full screen state. On Linux changing the fullscreen state is async, so we |
| // ask the window to change it's fullscreen state, then when we get |
| // notification that it succeeded this method is invoked. |
| - void ProcessFullscreen(bool fullscreen); |
| + // If |url| is not empty, it is the URL of the page that requested fullscreen |
| + // (via the fullscreen JS API). |
| + // |ask_permission| determines whether the user should be asked to allow the |
| + // site to remain fullscreen. |
| + void ProcessFullscreen(bool fullscreen, const GURL& url, bool ask_permission); |
| // Copy the accelerator table from the app resources into something we can |
| // use. |