Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: content/browser/tab_contents/navigation_details.h

Issue 9068001: Merge 114806 - Include the information whether the tab is already in a tab strip with the retarge... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // Details sent for NOTIFY_NAV_LIST_PRUNED. 80 // Details sent for NOTIFY_NAV_LIST_PRUNED.
81 struct PrunedDetails { 81 struct PrunedDetails {
82 // If true, count items were removed from the front of the list, otherwise 82 // If true, count items were removed from the front of the list, otherwise
83 // count items were removed from the back of the list. 83 // count items were removed from the back of the list.
84 bool from_front; 84 bool from_front;
85 85
86 // Number of items removed. 86 // Number of items removed.
87 int count; 87 int count;
88 }; 88 };
89 89
90 // Details sent for NOTIFY_NAV_RETARGETING.
91 struct RetargetingDetails {
92 // The source tab contents.
93 TabContents* source_tab_contents;
94
95 // The frame ID of the source tab from which the retargeting was triggered.
96 int64 source_frame_id;
97
98 // The target URL.
99 GURL target_url;
100
101 // The target tab contents.
102 TabContents* target_tab_contents;
103 };
104
105 } // namespace content 90 } // namespace content
106 91
107 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_ 92 #endif // CONTENT_BROWSER_TAB_CONTENTS_NAVIGATION_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_notification_types.h ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698