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

Side by Side Diff: chrome/common/render_messages_params.h

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove host_render_view_id Created 9 years, 9 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
OLDNEW
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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 // or kNoHostId. 474 // or kNoHostId.
475 int appcache_host_id; 475 int appcache_host_id;
476 476
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
485 // The following two members are specified if the request is initiated by
486 // a plugin like Gears.
487
488 // Contains the id of the host renderer.
489 int host_renderer_id;
490
491 // Contains the id of the host render view.
492 int host_render_view_id;
493 }; 484 };
494 485
495 // Parameters for a render request. 486 // Parameters for a render request.
496 struct ViewMsg_Print_Params { 487 struct ViewMsg_Print_Params {
497 ViewMsg_Print_Params(); 488 ViewMsg_Print_Params();
498 ~ViewMsg_Print_Params(); 489 ~ViewMsg_Print_Params();
499 490
500 // Physical size of the page, including non-printable margins, 491 // Physical size of the page, including non-printable margins,
501 // in pixels according to dpi. 492 // in pixels according to dpi.
502 gfx::Size page_size; 493 gfx::Size page_size;
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> { 1194 struct ParamTraits<ViewHostMsg_MalwareDOMDetails_Node> {
1204 typedef ViewHostMsg_MalwareDOMDetails_Node param_type; 1195 typedef ViewHostMsg_MalwareDOMDetails_Node param_type;
1205 static void Write(Message* m, const param_type& p); 1196 static void Write(Message* m, const param_type& p);
1206 static bool Read(const Message* m, void** iter, param_type* p); 1197 static bool Read(const Message* m, void** iter, param_type* p);
1207 static void Log(const param_type& p, std::string* l); 1198 static void Log(const param_type& p, std::string* l);
1208 }; 1199 };
1209 1200
1210 } // namespace IPC 1201 } // namespace IPC
1211 1202
1212 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1203 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698