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

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 12 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/bookmarks/bookmark_bubble_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm (revision 116331)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller_unittest.mm (working copy)
@@ -17,6 +17,8 @@
#import "testing/gtest_mac.h"
#include "testing/platform_test.h"
+using content::WebContents;
+
// Watch for bookmark pulse notifications so we can confirm they were sent.
@interface BookmarkPulseObserver : NSObject {
int notifications_;
@@ -474,8 +476,8 @@
// we fake the notification that would be triggered by a tab
// creation. See TabContents::NotifyConnected().
content::NotificationService::current()->Notify(
- content::NOTIFICATION_TAB_CONTENTS_CONNECTED,
- content::Source<TabContents>(NULL),
+ content::NOTIFICATION_WEB_CONTENTS_CONNECTED,
+ content::Source<WebContents>(NULL),
content::NotificationService::NoDetails());
// Confirm bubble going bye-bye.
« no previous file with comments | « chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm ('k') | chrome/browser/ui/sad_tab_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698