Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / tab_contents / retargeting_details.h
blob108b6a6e4a9c6d1d9bb676f492a8b97911afc07c
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 frame ID of the source tab from which the retargeting was triggered.
20 int64 source_frame_id;
22 // The target URL.
23 GURL target_url;
25 // The target tab contents.
26 content::WebContents* target_web_contents;
28 // True if the target_web_contents is not yet inserted into a tab strip.
29 bool not_yet_in_tabstrip;
32 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_