Chromium Code Reviews| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 296 // (this can happen if the resource was insecure). | 296 // (this can happen if the resource was insecure). |
| 297 bool is_content_filtered; | 297 bool is_content_filtered; |
| 298 | 298 |
| 299 // Whether the frame navigation resulted in no change to the documents within | 299 // Whether the frame navigation resulted in no change to the documents within |
| 300 // the page. For example, the navigation may have just resulted in scrolling | 300 // the page. For example, the navigation may have just resulted in scrolling |
| 301 // to a named anchor. | 301 // to a named anchor. |
| 302 bool was_within_same_page; | 302 bool was_within_same_page; |
| 303 | 303 |
| 304 // The status code of the HTTP request. | 304 // The status code of the HTTP request. |
| 305 int http_status_code; | 305 int http_status_code; |
| 306 | |
| 307 // Remote address of the socket which fetched this resource, for presenting | |
| 308 // to inquisitive users. Can be "ipv4:port", "[ipv6]:port", or empty. | |
|
pmarks
2011/02/11 00:36:39
In my original change, I used this wording to clar
Brian Ryner
2011/02/11 23:01:07
True. I removed the "for presenting to inquisitiv
| |
| 309 std::string socket_address; | |
| 306 }; | 310 }; |
| 307 | 311 |
| 308 // Values that may be OR'd together to form the 'flags' parameter of a | 312 // Values that may be OR'd together to form the 'flags' parameter of a |
| 309 // ViewHostMsg_UpdateRect_Params structure. | 313 // ViewHostMsg_UpdateRect_Params structure. |
| 310 struct ViewHostMsg_UpdateRect_Flags { | 314 struct ViewHostMsg_UpdateRect_Flags { |
| 311 enum { | 315 enum { |
| 312 IS_RESIZE_ACK = 1 << 0, | 316 IS_RESIZE_ACK = 1 << 0, |
| 313 IS_RESTORE_ACK = 1 << 1, | 317 IS_RESTORE_ACK = 1 << 1, |
| 314 IS_REPAINT_ACK = 1 << 2, | 318 IS_REPAINT_ACK = 1 << 2, |
| 315 }; | 319 }; |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1151 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { | 1155 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { |
| 1152 typedef ViewHostMsg_AccessibilityNotification_Params param_type; | 1156 typedef ViewHostMsg_AccessibilityNotification_Params param_type; |
| 1153 static void Write(Message* m, const param_type& p); | 1157 static void Write(Message* m, const param_type& p); |
| 1154 static bool Read(const Message* m, void** iter, param_type* p); | 1158 static bool Read(const Message* m, void** iter, param_type* p); |
| 1155 static void Log(const param_type& p, std::string* l); | 1159 static void Log(const param_type& p, std::string* l); |
| 1156 }; | 1160 }; |
| 1157 | 1161 |
| 1158 } // namespace IPC | 1162 } // namespace IPC |
| 1159 | 1163 |
| 1160 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1164 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
| OLD | NEW |