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

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

Issue 12832004: content: Move all listeners of NOTIFICATION_RENDER_VIEW_HOST_CREATED out of content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 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 #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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void FullscreenControllerTest::AcceptCurrentFullscreenOrMouseLockRequest() { 79 void FullscreenControllerTest::AcceptCurrentFullscreenOrMouseLockRequest() {
80 browser()->fullscreen_controller()->OnAcceptFullscreenPermission(); 80 browser()->fullscreen_controller()->OnAcceptFullscreenPermission();
81 } 81 }
82 82
83 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() { 83 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() {
84 browser()->fullscreen_controller()->OnDenyFullscreenPermission(); 84 browser()->fullscreen_controller()->OnDenyFullscreenPermission();
85 } 85 }
86 86
87 void FullscreenControllerTest::GoBack() { 87 void FullscreenControllerTest::GoBack() {
88 content::TestNavigationObserver observer( 88 content::TestNavigationObserver observer(
89 content::NotificationService::AllSources(), NULL, 1); 89 content::NotificationService::AllSources(), 1);
90 90
91 chrome::GoBack(browser(), CURRENT_TAB); 91 chrome::GoBack(browser(), CURRENT_TAB);
92 92
93 observer.Wait(); 93 observer.Wait();
94 } 94 }
95 95
96 void FullscreenControllerTest::Reload() { 96 void FullscreenControllerTest::Reload() {
97 content::TestNavigationObserver observer( 97 content::TestNavigationObserver observer(
98 content::NotificationService::AllSources(), NULL, 1); 98 content::NotificationService::AllSources(), 1);
99 99
100 chrome::Reload(browser(), CURRENT_TAB); 100 chrome::Reload(browser(), CURRENT_TAB);
101 101
102 observer.Wait(); 102 observer.Wait();
103 } 103 }
104 104
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_browsertest.cc ('k') | chrome/browser/ui/webui/bookmarks_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698