| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ | |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 #include "url/gurl.h" | |
| 11 | |
| 12 namespace content { | |
| 13 class WebContents; | |
| 14 } | |
| 15 | |
| 16 // Details sent for NOTIFICATION_RETARGETING. | |
| 17 struct RetargetingDetails { | |
| 18 // The source tab contents. | |
| 19 content::WebContents* source_web_contents; | |
| 20 | |
| 21 // The RenderProcessHost id of the source render frame from which the | |
| 22 // retargeting was triggered. | |
| 23 int source_render_process_id; | |
| 24 | |
| 25 // The routing id of the source render frame from which the retargeting was | |
| 26 // triggered. | |
| 27 int64_t source_render_frame_id; | |
| 28 | |
| 29 // The target URL. | |
| 30 GURL target_url; | |
| 31 | |
| 32 // The target tab contents. | |
| 33 content::WebContents* target_web_contents; | |
| 34 | |
| 35 // True if the target_web_contents is not yet inserted into a tab strip. | |
| 36 bool not_yet_in_tabstrip; | |
| 37 }; | |
| 38 | |
| 39 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ | |
| OLD | NEW |