OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 struct ViewHostMsg_FrameNavigate_Params { | 198 struct ViewHostMsg_FrameNavigate_Params { |
199 ViewHostMsg_FrameNavigate_Params(); | 199 ViewHostMsg_FrameNavigate_Params(); |
200 ~ViewHostMsg_FrameNavigate_Params(); | 200 ~ViewHostMsg_FrameNavigate_Params(); |
201 | 201 |
202 // Page ID of this navigation. The renderer creates a new unique page ID | 202 // Page ID of this navigation. The renderer creates a new unique page ID |
203 // anytime a new session history entry is created. This means you'll get new | 203 // anytime a new session history entry is created. This means you'll get new |
204 // page IDs for user actions, and the old page IDs will be reloaded when | 204 // page IDs for user actions, and the old page IDs will be reloaded when |
205 // iframes are loaded automatically. | 205 // iframes are loaded automatically. |
206 int32 page_id; | 206 int32 page_id; |
207 | 207 |
| 208 // The frame ID for this navigation. The frame ID uniquely identifies the |
| 209 // frame the navigation happened in for a given renderer. |
| 210 long long frame_id; |
| 211 |
208 // URL of the page being loaded. | 212 // URL of the page being loaded. |
209 GURL url; | 213 GURL url; |
210 | 214 |
211 // URL of the referrer of this load. WebKit generates this based on the | 215 // URL of the referrer of this load. WebKit generates this based on the |
212 // source of the event that caused the load. | 216 // source of the event that caused the load. |
213 GURL referrer; | 217 GURL referrer; |
214 | 218 |
215 // The type of transition. | 219 // The type of transition. |
216 PageTransition::Type transition; | 220 PageTransition::Type transition; |
217 | 221 |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1279 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
1276 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1280 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
1277 static void Write(Message* m, const param_type& p); | 1281 static void Write(Message* m, const param_type& p); |
1278 static bool Read(const Message* m, void** iter, param_type* p); | 1282 static bool Read(const Message* m, void** iter, param_type* p); |
1279 static void Log(const param_type& p, std::string* l); | 1283 static void Log(const param_type& p, std::string* l); |
1280 }; | 1284 }; |
1281 | 1285 |
1282 } // namespace IPC | 1286 } // namespace IPC |
1283 | 1287 |
1284 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1288 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |