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

Unified Diff: chrome/browser/extensions/extension_tab_id_map.cc

Issue 9068001: Merge 114806 - Include the information whether the tab is already in a tab strip with the retarge... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_id_map.cc
===================================================================
--- chrome/browser/extensions/extension_tab_id_map.cc (revision 116088)
+++ chrome/browser/extensions/extension_tab_id_map.cc (working copy)
@@ -7,7 +7,9 @@
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "chrome/browser/sessions/restore_tab_helper.h"
+#include "chrome/browser/tab_contents/retargeting_details.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/navigation_details.h"
#include "content/browser/tab_contents/tab_contents.h"
@@ -48,7 +50,7 @@
content::NotificationService::AllBrowserContextsAndSources());
registrar_.Add(this, content::NOTIFICATION_TAB_PARENTED,
content::NotificationService::AllBrowserContextsAndSources());
- registrar_.Add(this, content::NOTIFICATION_RETARGETING,
+ registrar_.Add(this, chrome::NOTIFICATION_RETARGETING,
content::NotificationService::AllBrowserContextsAndSources());
}
@@ -93,9 +95,9 @@
tab->restore_tab_helper()->window_id().id()));
break;
}
- case content::NOTIFICATION_RETARGETING: {
- content::RetargetingDetails* retargeting_details =
- content::Details<content::RetargetingDetails>(details).ptr();
+ case chrome::NOTIFICATION_RETARGETING: {
+ RetargetingDetails* retargeting_details =
+ content::Details<RetargetingDetails>(details).ptr();
TabContents* contents = retargeting_details->target_tab_contents;
TabContentsWrapper* tab =
TabContentsWrapper::GetCurrentWrapperForContents(contents);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_webnavigation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698