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

Side by Side Diff: chrome/browser/ui/fullscreen/fullscreen_controller_test.cc

Issue 23477051: Embed Flash Fullscreen widget within browser window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add caution comment to chrome_switches.cc. Created 7 years, 3 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 #include "chrome/browser/ui/fullscreen/fullscreen_controller_test.h" 5 #include "chrome/browser/ui/fullscreen/fullscreen_controller_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_commands.h" 9 #include "chrome/browser/ui/browser_commands.h"
10 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 observer.Wait(); 91 observer.Wait();
92 } 92 }
93 93
94 void FullscreenControllerTest::Reload() { 94 void FullscreenControllerTest::Reload() {
95 content::TestNavigationObserver observer( 95 content::TestNavigationObserver observer(
96 browser()->tab_strip_model()->GetActiveWebContents(), 1); 96 browser()->tab_strip_model()->GetActiveWebContents(), 1);
97 chrome::Reload(browser(), CURRENT_TAB); 97 chrome::Reload(browser(), CURRENT_TAB);
98 observer.Wait(); 98 observer.Wait();
99 } 99 }
100 100
101 void FullscreenControllerTest::SetPrivilegedFullscreen(bool is_privileged) {
102 browser()->fullscreen_controller()->
103 SetPrivilegedFullscreenForTesting(is_privileged);
104 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller_test.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698