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 "url/gurl.h" 9 10 namespace content { 11 class WebContents; 12 } 13 14 // Details sent for NOTIFICATION_RETARGETING. 15 struct RetargetingDetails { 16 // The source tab contents. 17 content::WebContents* source_web_contents; 18 19 // The frame ID of the source tab from which the retargeting was triggered. 20 int64 source_frame_id; 21 22 // The target URL. 23 GURL target_url; 24 25 // The target tab contents. 26 content::WebContents* target_web_contents; 27 28 // True if the target_web_contents is not yet inserted into a tab strip. 29 bool not_yet_in_tabstrip; 30 }; 31 32 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ 33