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

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

Issue 8399017: Fix a crash in FullscreenExitBubbleController when the user clicks the "Exit full screen" button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 1 month 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/cocoa/browser_window_controller.h » ('j') | no next file with comments »
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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 private: 867 private:
868 FRIEND_TEST_ALL_PREFIXES(AppModeTest, EnableAppModeTest); 868 FRIEND_TEST_ALL_PREFIXES(AppModeTest, EnableAppModeTest);
869 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups); 869 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups);
870 FRIEND_TEST_ALL_PREFIXES(BrowserTest, ConvertTabToAppShortcut); 870 FRIEND_TEST_ALL_PREFIXES(BrowserTest, ConvertTabToAppShortcut);
871 FRIEND_TEST_ALL_PREFIXES(BrowserTest, OpenAppWindowLikeNtp); 871 FRIEND_TEST_ALL_PREFIXES(BrowserTest, OpenAppWindowLikeNtp);
872 FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch); 872 FRIEND_TEST_ALL_PREFIXES(BrowserTest, AppIdSwitch);
873 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestNewTabExitsFullscreen); 873 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestNewTabExitsFullscreen);
874 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsItselfFromFullscreen); 874 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestTabExitsItselfFromFullscreen);
875 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestFullscreenBubbleMouseLockState); 875 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TestFullscreenBubbleMouseLockState);
876 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TabEntersPresentationModeFromWindowed); 876 FRIEND_TEST_ALL_PREFIXES(BrowserTest, TabEntersPresentationModeFromWindowed);
877 FRIEND_TEST_ALL_PREFIXES(FullscreenExitBubbleControllerTest,
878 DenyExitsFullscreen);
877 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutNoPref); 879 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutNoPref);
878 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutWindowPref); 880 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutWindowPref);
879 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutTabPref); 881 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutTabPref);
880 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutPanel); 882 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, OpenAppShortcutPanel);
881 883
882 // Used to describe why a tab is being detached. This is used by 884 // Used to describe why a tab is being detached. This is used by
883 // TabDetachedAtImpl. 885 // TabDetachedAtImpl.
884 enum DetachType { 886 enum DetachType {
885 // Result of TabDetachedAt. 887 // Result of TabDetachedAt.
886 DETACH_TYPE_DETACH, 888 DETACH_TYPE_DETACH,
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 1457
1456 MouseLockState mouse_lock_state_; 1458 MouseLockState mouse_lock_state_;
1457 1459
1458 // True if the browser window has been shown at least once. 1460 // True if the browser window has been shown at least once.
1459 bool window_has_shown_; 1461 bool window_has_shown_;
1460 1462
1461 DISALLOW_COPY_AND_ASSIGN(Browser); 1463 DISALLOW_COPY_AND_ASSIGN(Browser);
1462 }; 1464 };
1463 1465
1464 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1466 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698