Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / tab_contents / retargeting_details.h
blobc80a1ca054ba7e276916abc6a288c35c747ad473
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
8 #include "url/gurl.h"
10 namespace content {
11 class WebContents;
14 // Details sent for NOTIFICATION_RETARGETING.
15 struct RetargetingDetails {
16 // The source tab contents.
17 content::WebContents* source_web_contents;
19 // The routing id of the source render frame from which the retargeting was
20 // triggered.
21 int64 source_render_frame_id;
23 // The target URL.
24 GURL target_url;
26 // The target tab contents.
27 content::WebContents* target_web_contents;
29 // True if the target_web_contents is not yet inserted into a tab strip.
30 bool not_yet_in_tabstrip;
33 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_