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

Unified Diff: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm

Issue 10534093: TabContentsWrapper -> TabContents, part 37. (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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm
index 30197e8000fe1a13b42ae81ed7af1464dfa5004e..2bace1049d5d81be47cc21b5c7c159316eea35b6 100644
--- a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm
@@ -65,7 +65,7 @@ class FullscreenExitBubbleControllerTest : public CocoaProfileTest {
}
void AppendTabToStrip() {
- TabContentsWrapper* tab_contents = Browser::TabContentsFactory(
+ TabContents* tab_contents = Browser::TabContentsFactory(
profile(), site_instance_, MSG_ROUTING_NONE,
NULL, NULL);
browser()->tab_strip_model()->AppendTabContents(
@@ -85,7 +85,7 @@ TEST_F(FullscreenExitBubbleControllerTest, DenyExitsFullscreen) {
[bwc showWindow:nil];
AppendTabToStrip();
- WebContents* fullscreen_tab = browser()->GetSelectedWebContents();
+ WebContents* fullscreen_tab = browser()->GetActiveWebContents();
{
base::mac::ScopedNSAutoreleasePool pool;
ui_test_utils::WindowedNotificationObserver fullscreen_observer(
« no previous file with comments | « chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/hung_renderer_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698