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

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

Issue 7966031: Exit tabbed fullscreen mode on navigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 842
843 private: 843 private:
844 FRIEND_TEST_ALL_PREFIXES(AppModeTest, EnableAppModeTest); 844 FRIEND_TEST_ALL_PREFIXES(AppModeTest, EnableAppModeTest);
845 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups); 845 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups);
846 FRIEND_TEST_ALL_PREFIXES(BrowserTest, ConvertTabToAppShortcut); 846 FRIEND_TEST_ALL_PREFIXES(BrowserTest, ConvertTabToAppShortcut);
847 FRIEND_TEST_ALL_PREFIXES(BrowserTest, OpenAppWindowLikeNtp); 847 FRIEND_TEST_ALL_PREFIXES(BrowserTest, OpenAppWindowLikeNtp);
848 FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch); 848 FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch);
849 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestNewTabExitsFullscreen); 849 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestNewTabExitsFullscreen);
850 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsItselfFromFullscreen); 850 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsItselfFromFullscreen);
851 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TabEntersPresentationModeFromWindowed); 851 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TabEntersPresentationModeFromWindowed);
852 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsFullscreenOnNavigation);
852 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutNoPref); 853 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutNoPref);
853 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutWindowPref); 854 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutWindowPref);
854 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutTabPref); 855 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutTabPref);
855 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutPanel); 856 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutPanel);
856 857
857 // Used to describe why a tab is being detached. This is used by 858 // Used to describe why a tab is being detached. This is used by
858 // TabDetachedAtImpl. 859 // TabDetachedAtImpl.
859 enum DetachType { 860 enum DetachType {
860 // Result of TabDetachedAt. 861 // Result of TabDetachedAt.
861 DETACH_TYPE_DETACH, 862 DETACH_TYPE_DETACH,
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1422 // webkitRequestFullScreen), this is its wrapper. 1423 // webkitRequestFullScreen), this is its wrapper.
1423 TabContentsWrapper* fullscreened_tab_; 1424 TabContentsWrapper* fullscreened_tab_;
1424 1425
1425 // True if the current tab entered fullscreen mode via webkitRequestFullScreen 1426 // True if the current tab entered fullscreen mode via webkitRequestFullScreen
1426 bool tab_caused_fullscreen_; 1427 bool tab_caused_fullscreen_;
1427 1428
1428 DISALLOW_COPY_AND_ASSIGN(Browser); 1429 DISALLOW_COPY_AND_ASSIGN(Browser);
1429 }; 1430 };
1430 1431
1431 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1432 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698