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

Unified Diff: chrome/browser/ui/browser.h

Issue 9875028: Reverting due to memory (Valgrind) errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
===================================================================
--- chrome/browser/ui/browser.h (revision 129471)
+++ chrome/browser/ui/browser.h (working copy)
@@ -909,12 +909,10 @@
bool is_app() const;
bool is_devtools() const;
- // See FullscreenController::IsFullscreenForTabOrPending.
- bool IsFullscreenForTabOrPending() const;
+ // True when the current tab is in fullscreen mode, requested by
+ // webkitRequestFullScreen.
+ bool IsFullscreenForTab() const;
- // True when the mouse cursor is locked or pending lock.
- bool IsMouseLockedOrPending() const;
-
// Called each time the browser window is shown.
void OnWindowDidShow();
@@ -931,12 +929,14 @@
virtual BrowserWindow* CreateBrowserWindow();
private:
- friend class BrowserTest;
FRIEND_TEST_ALL_PREFIXES(AppModeTest, EnableAppModeTest);
FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups);
FRIEND_TEST_ALL_PREFIXES(BrowserTest, ConvertTabToAppShortcut);
FRIEND_TEST_ALL_PREFIXES(BrowserTest, OpenAppWindowLikeNtp);
FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch);
+ FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestNewTabExitsFullscreen);
+ FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsItselfFromFullscreen);
+ FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestFullscreenBubbleMouseLockState);
FRIEND_TEST_ALL_PREFIXES(BrowserTest, TabEntersPresentationModeFromWindowed);
FRIEND_TEST_ALL_PREFIXES(FullscreenExitBubbleControllerTest,
DenyExitsFullscreen);
@@ -1063,7 +1063,7 @@
const FilePath& path) OVERRIDE;
virtual void ToggleFullscreenModeForTab(content::WebContents* tab,
bool enter_fullscreen) OVERRIDE;
- virtual bool IsFullscreenForTabOrPending(
+ virtual bool IsFullscreenForTab(
const content::WebContents* tab) const OVERRIDE;
virtual void JSOutOfMemory(content::WebContents* tab) OVERRIDE;
virtual void RegisterProtocolHandler(content::WebContents* tab,
Property changes on: chrome/browser/ui/browser.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698