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

Unified Diff: chrome/browser/tab_contents/retargeting_details.h

Issue 8964014: Include the information whether the tab is already in a tab strip with the retargeting details (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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 | « chrome/browser/tab_contents/render_view_host_delegate_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/retargeting_details.h
diff --git a/chrome/browser/tab_contents/retargeting_details.h b/chrome/browser/tab_contents/retargeting_details.h
new file mode 100644
index 0000000000000000000000000000000000000000..988e8eed5bb2f4dee96a514a9d877f87d8dcd01c
--- /dev/null
+++ b/chrome/browser/tab_contents/retargeting_details.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
+#define CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
+#pragma once
+
+#include "googleurl/src/gurl.h"
+
+class TabContents;
+
+// Details sent for NOTIFICATION_RETARGETING.
+struct RetargetingDetails {
+ // The source tab contents.
+ TabContents* source_tab_contents;
+
+ // The frame ID of the source tab from which the retargeting was triggered.
+ int64 source_frame_id;
+
+ // The target URL.
+ GURL target_url;
+
+ // The target tab contents.
+ TabContents* target_tab_contents;
+
+ // True if the target_tab_contents is not yet inserted into a tab strip.
+ bool not_yet_in_tabstrip;
+};
+
+#endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
« no previous file with comments | « chrome/browser/tab_contents/render_view_host_delegate_helper.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698