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

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

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_FULLSCREEN_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" 11 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
12 #include "chrome/common/content_settings.h" 12 #include "chrome/common/content_settings.h"
13 13
14 class Browser; 14 class Browser;
15 class BrowserWindow; 15 class BrowserWindow;
16 class GURL; 16 class GURL;
17 class Profile; 17 class Profile;
18 class TabContents;
19 class TabContentsWrapper; 18 class TabContentsWrapper;
20 19
21 namespace content { 20 namespace content {
22 class WebContents; 21 class WebContents;
23 } 22 }
24 23
25 // There are two different kinds of fullscreen mode - "tab fullscreen" and 24 // There are two different kinds of fullscreen mode - "tab fullscreen" and
26 // "browser fullscreen". "Tab fullscreen" refers to when a tab enters 25 // "browser fullscreen". "Tab fullscreen" refers to when a tab enters
27 // fullscreen mode via the JS fullscreen API, and "browser fullscreen" refers 26 // fullscreen mode via the JS fullscreen API, and "browser fullscreen" refers
28 // to the user putting the browser itself into fullscreen mode from the UI. The 27 // to the user putting the browser itself into fullscreen mode from the UI. The
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // True if tab fullscreen has been allowed, either by settings or by user 111 // True if tab fullscreen has been allowed, either by settings or by user
113 // clicking the allow button on the fullscreen infobar. 112 // clicking the allow button on the fullscreen infobar.
114 bool tab_fullscreen_accepted_; 113 bool tab_fullscreen_accepted_;
115 114
116 MouseLockState mouse_lock_state_; 115 MouseLockState mouse_lock_state_;
117 116
118 DISALLOW_COPY_AND_ASSIGN(FullscreenController); 117 DISALLOW_COPY_AND_ASSIGN(FullscreenController);
119 }; 118 };
120 119
121 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_ 120 #endif // CHROME_BROWSER_UI_FULLSCREEN_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_backend_unittest.cc ('k') | chrome/browser/ui/gtk/browser_titlebar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698