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

Unified Diff: chrome/browser/ui/views/tabs/dragged_tab_controller.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/views/tabs/dragged_tab_controller.cc
===================================================================
--- chrome/browser/ui/views/tabs/dragged_tab_controller.cc (revision 91968)
+++ chrome/browser/ui/views/tabs/dragged_tab_controller.cc (working copy)
@@ -397,7 +397,7 @@
drag_data->source_model_index);
drag_data->pinned = source_tabstrip_->IsTabPinned(tab);
registrar_.Add(this,
- NotificationType::TAB_CONTENTS_DESTROYED,
+ content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
Source<TabContents>(drag_data->contents->tab_contents()));
// We need to be the delegate so we receive messages about stuff, otherwise
@@ -471,10 +471,10 @@
///////////////////////////////////////////////////////////////////////////////
// DraggedTabController, NotificationObserver implementation:
-void DraggedTabController::Observe(NotificationType type,
+void DraggedTabController::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK_EQ(type.value, NotificationType::TAB_CONTENTS_DESTROYED);
+ DCHECK_EQ(type, content::NOTIFICATION_TAB_CONTENTS_DESTROYED);
TabContents* destroyed_contents = Source<TabContents>(source).ptr();
for (size_t i = 0; i < drag_data_.size(); ++i) {
if (drag_data_[i].contents->tab_contents() == destroyed_contents) {
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_controller.h ('k') | chrome/browser/ui/views/theme_install_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698