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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
477 // Optional upload data (may be null). | 477 // Optional upload data (may be null). |
478 scoped_refptr<net::UploadData> upload_data; | 478 scoped_refptr<net::UploadData> upload_data; |
479 | 479 |
480 bool download_to_file; | 480 bool download_to_file; |
481 | 481 |
482 // True if the request was user initiated. | 482 // True if the request was user initiated. |
483 bool has_user_gesture; | 483 bool has_user_gesture; |
484 | 484 |
485 // The following two members are specified if the request is initiated by | 485 // The following two members are specified if the request is initiated by |
486 // a plugin like Gears. | 486 // a plugin like Gears. |
487 // TODO(aa): Can these be removed now? Unclear if they are being used. | |
evanm
2011/02/25 21:47:13
Why not? I guess we can find it later by grepping
Aaron Boodman
2011/02/25 22:29:28
It seemed like maybe external automation clients c
| |
487 | 488 |
488 // Contains the id of the host renderer. | 489 // Contains the id of the host renderer. |
489 int host_renderer_id; | 490 int host_renderer_id; |
490 | 491 |
491 // Contains the id of the host render view. | 492 // Contains the id of the host render view. |
492 int host_render_view_id; | 493 int host_render_view_id; |
493 }; | 494 }; |
494 | 495 |
495 // Parameters for a render request. | 496 // Parameters for a render request. |
496 struct ViewMsg_Print_Params { | 497 struct ViewMsg_Print_Params { |
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1203 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> { | 1204 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> { |
1204 typedef ViewHostMsg_MalwareDOMDetails_Node param_type; | 1205 typedef ViewHostMsg_MalwareDOMDetails_Node param_type; |
1205 static void Write(Message* m, const param_type& p); | 1206 static void Write(Message* m, const param_type& p); |
1206 static bool Read(const Message* m, void** iter, param_type* p); | 1207 static bool Read(const Message* m, void** iter, param_type* p); |
1207 static void Log(const param_type& p, std::string* l); | 1208 static void Log(const param_type& p, std::string* l); |
1208 }; | 1209 }; |
1209 | 1210 |
1210 } // namespace IPC | 1211 } // namespace IPC |
1211 | 1212 |
1212 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 1213 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |