OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |