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

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

Issue 10546106: TabContentsWrapper -> TabContents, part 53. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_controller_test.h" 5 #include "chrome/browser/ui/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_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/fullscreen_controller.h" 10 #include "chrome/browser/ui/fullscreen_controller.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 return type != FEB_TYPE_NONE; 96 return type != FEB_TYPE_NONE;
97 } 97 }
98 98
99 bool FullscreenControllerTest::IsFullscreenBubbleDisplayingButtons() { 99 bool FullscreenControllerTest::IsFullscreenBubbleDisplayingButtons() {
100 FullscreenExitBubbleType type = 100 FullscreenExitBubbleType type =
101 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); 101 browser()->fullscreen_controller_->GetFullscreenExitBubbleType();
102 return fullscreen_bubble::ShowButtonsForType(type); 102 return fullscreen_bubble::ShowButtonsForType(type);
103 } 103 }
104 104
105 void FullscreenControllerTest::AcceptCurrentFullscreenOrMouseLockRequest() { 105 void FullscreenControllerTest::AcceptCurrentFullscreenOrMouseLockRequest() {
106 WebContents* fullscreen_tab = browser()->GetSelectedWebContents(); 106 WebContents* fullscreen_tab = browser()->GetActiveWebContents();
107 FullscreenExitBubbleType type = 107 FullscreenExitBubbleType type =
108 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); 108 browser()->fullscreen_controller_->GetFullscreenExitBubbleType();
109 browser()->OnAcceptFullscreenPermission(fullscreen_tab->GetURL(), type); 109 browser()->OnAcceptFullscreenPermission(fullscreen_tab->GetURL(), type);
110 } 110 }
111 111
112 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() { 112 void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() {
113 FullscreenExitBubbleType type = 113 FullscreenExitBubbleType type =
114 browser()->fullscreen_controller_->GetFullscreenExitBubbleType(); 114 browser()->fullscreen_controller_->GetFullscreenExitBubbleType();
115 browser()->OnDenyFullscreenPermission(type); 115 browser()->OnDenyFullscreenPermission(type);
116 } 116 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/fullscreen_controller_interactive_browsertest.cc ('k') | chrome/browser/ui/hung_plugin_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698