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