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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 10544168: Implement HiDPI support in Pepper dev interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 5 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
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_graphics_2d_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) 137 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting)
138 IPC_STRUCT_TRAITS_MEMBER(site) 138 IPC_STRUCT_TRAITS_MEMBER(site)
139 IPC_STRUCT_TRAITS_MEMBER(permission) 139 IPC_STRUCT_TRAITS_MEMBER(permission)
140 IPC_STRUCT_TRAITS_END() 140 IPC_STRUCT_TRAITS_END()
141 141
142 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 142 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
143 IPC_STRUCT_TRAITS_MEMBER(rect) 143 IPC_STRUCT_TRAITS_MEMBER(rect)
144 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) 144 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
145 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) 145 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
146 IPC_STRUCT_TRAITS_MEMBER(clip_rect) 146 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
147 IPC_STRUCT_TRAITS_MEMBER(device_scale)
148 IPC_STRUCT_TRAITS_MEMBER(css_scale)
147 IPC_STRUCT_TRAITS_END() 149 IPC_STRUCT_TRAITS_END()
148 150
149 IPC_STRUCT_TRAITS_BEGIN(PP_TouchPoint) 151 IPC_STRUCT_TRAITS_BEGIN(PP_TouchPoint)
150 IPC_STRUCT_TRAITS_MEMBER(id) 152 IPC_STRUCT_TRAITS_MEMBER(id)
151 IPC_STRUCT_TRAITS_MEMBER(position) 153 IPC_STRUCT_TRAITS_MEMBER(position)
152 IPC_STRUCT_TRAITS_MEMBER(radius) 154 IPC_STRUCT_TRAITS_MEMBER(radius)
153 IPC_STRUCT_TRAITS_MEMBER(rotation_angle) 155 IPC_STRUCT_TRAITS_MEMBER(rotation_angle)
154 IPC_STRUCT_TRAITS_MEMBER(pressure) 156 IPC_STRUCT_TRAITS_MEMBER(pressure)
155 IPC_STRUCT_TRAITS_END() 157 IPC_STRUCT_TRAITS_END()
156 158
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll, 853 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBGraphics2D_Scroll,
852 ppapi::HostResource /* graphics_2d */, 854 ppapi::HostResource /* graphics_2d */,
853 bool /* clip_specified */, 855 bool /* clip_specified */,
854 PP_Rect /* clip */, 856 PP_Rect /* clip */,
855 PP_Point /* amount */) 857 PP_Point /* amount */)
856 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents, 858 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_ReplaceContents,
857 ppapi::HostResource /* graphics_2d */, 859 ppapi::HostResource /* graphics_2d */,
858 ppapi::HostResource /* image_data */) 860 ppapi::HostResource /* image_data */)
859 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, 861 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush,
860 ppapi::HostResource /* graphics_2d */) 862 ppapi::HostResource /* graphics_2d */)
863 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics2D_Dev_SetScale,
864 ppapi::HostResource /* graphics_2d */,
865 float /* scale */)
861 866
862 #if !defined(OS_NACL) 867 #if !defined(OS_NACL)
863 // PPB_Graphics3D. 868 // PPB_Graphics3D.
864 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 869 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
865 PP_Instance /* instance */, 870 PP_Instance /* instance */,
866 ppapi::HostResource /* share_context */, 871 ppapi::HostResource /* share_context */,
867 std::vector<int32_t> /* attrib_list */, 872 std::vector<int32_t> /* attrib_list */,
868 ppapi::HostResource /* result */) 873 ppapi::HostResource /* result */)
869 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, 874 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer,
870 ppapi::HostResource /* context */) 875 ppapi::HostResource /* context */)
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1433 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1429 IPC::Message /* nested_msg */) 1434 IPC::Message /* nested_msg */)
1430 1435
1431 // A resource reply is a response to a ResourceCall from a host to the 1436 // A resource reply is a response to a ResourceCall from a host to the
1432 // plugin. The resource ID + sequence number in the params will correspond to 1437 // plugin. The resource ID + sequence number in the params will correspond to
1433 // that of the previous ResourceCall. 1438 // that of the previous ResourceCall.
1434 IPC_MESSAGE_CONTROL2( 1439 IPC_MESSAGE_CONTROL2(
1435 PpapiPluginMsg_ResourceReply, 1440 PpapiPluginMsg_ResourceReply,
1436 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1441 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1437 IPC::Message /* nested_msg */) 1442 IPC::Message /* nested_msg */)
OLDNEW
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/ppb_graphics_2d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698