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

Side by Side Diff: content/child/plugin_messages.h

Issue 736743003: Use content::Referrer to pass around referrers in the plugin code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/child/plugin_param_traits.h" 8 #include "content/child/plugin_param_traits.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/content_param_traits.h" 10 #include "content/common/content_param_traits.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 IPC_STRUCT_END() 54 IPC_STRUCT_END()
55 55
56 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params) 56 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params)
57 IPC_STRUCT_MEMBER(unsigned long, resource_id) 57 IPC_STRUCT_MEMBER(unsigned long, resource_id)
58 IPC_STRUCT_MEMBER(int, notify_id) 58 IPC_STRUCT_MEMBER(int, notify_id)
59 IPC_STRUCT_MEMBER(GURL, url) 59 IPC_STRUCT_MEMBER(GURL, url)
60 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) 60 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
61 IPC_STRUCT_MEMBER(std::string, method) 61 IPC_STRUCT_MEMBER(std::string, method)
62 IPC_STRUCT_MEMBER(std::vector<char>, post_data) 62 IPC_STRUCT_MEMBER(std::vector<char>, post_data)
63 IPC_STRUCT_MEMBER(GURL, referrer) 63 IPC_STRUCT_MEMBER(GURL, referrer)
64 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy)
64 IPC_STRUCT_MEMBER(bool, notify_redirect) 65 IPC_STRUCT_MEMBER(bool, notify_redirect)
65 IPC_STRUCT_MEMBER(bool, is_plugin_src_load) 66 IPC_STRUCT_MEMBER(bool, is_plugin_src_load)
66 IPC_STRUCT_MEMBER(int, render_frame_id) 67 IPC_STRUCT_MEMBER(int, render_frame_id)
67 IPC_STRUCT_END() 68 IPC_STRUCT_END()
68 69
69 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param) 70 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param)
70 IPC_STRUCT_MEMBER(gfx::Rect, window_rect) 71 IPC_STRUCT_MEMBER(gfx::Rect, window_rect)
71 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect) 72 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect)
72 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0) 73 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0)
73 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer1) 74 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer1)
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
391 std::vector<content::NPVariant_Param> /* args */, 392 std::vector<content::NPVariant_Param> /* args */,
392 content::NPVariant_Param /* result_param */, 393 content::NPVariant_Param /* result_param */,
393 bool /* result */) 394 bool /* result */)
394 395
395 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
396 std::string /* script */, 397 std::string /* script */,
397 bool /* popups_allowed */, 398 bool /* popups_allowed */,
398 content::NPVariant_Param /* result_param */, 399 content::NPVariant_Param /* result_param */,
399 bool /* result */) 400 bool /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698