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

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

Issue 848863002: PPAPI: implement GetSupportedPreviewSizes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a compile error Created 5 years, 10 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
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 <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after
1534 // Graphics2D, plugin -> host -> plugin 1534 // Graphics2D, plugin -> host -> plugin
1535 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Flush, 1535 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Flush,
1536 std::vector<ui::LatencyInfo> /* latency_info */) 1536 std::vector<ui::LatencyInfo> /* latency_info */)
1537 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck) 1537 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck)
1538 1538
1539 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData, 1539 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData,
1540 PP_Resource /* image */, 1540 PP_Resource /* image */,
1541 PP_Point /* top_left */) 1541 PP_Point /* top_left */)
1542 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) 1542 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck)
1543 1543
1544 // IsolatedFileSystem 1544 // ImageCapture ----------------------------------------------------------------
1545 // ImageCapture_Private, plugin -> host
1546 IPC_MESSAGE_CONTROL0(PpapiHostMsg_ImageCapture_Create)
1547 IPC_MESSAGE_CONTROL0(PpapiHostMsg_ImageCapture_Close)
1548
1549 // ImageCapture_Private, plugin -> host -> plugin
1550 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ImageCapture_Open,
1551 std::string /* camera_source_id */)
1552 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_ImageCapture_OpenReply)
1553
1554 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_ImageCapture_GetSupportedPreviewSizes)
dmichael (off chromium) 2015/02/10 16:06:59 nit: This should be PpapiHostMsg_... sorry I misse
Justin Chuang 2015/02/10 17:44:09 Done. Sorry I missed it.
1555 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_ImageCapture_GetSupportedPreviewSizesReply,
1556 std::vector<PP_Size> /* preview_sizes */)
1557
1558 // ImageCapture_Private, host -> plugin
dmichael (off chromium) 2015/02/09 22:27:00 This and the above "plugin -> host" message aren't
Justin Chuang 2015/02/10 16:01:03 Removed the comments. But I don't really underst
dmichael (off chromium) 2015/02/10 16:06:59 I see, I missed the comment on 1549. This last com
1559
1560 // IsolatedFileSystem ----------------------------------------------------------
1545 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) 1561 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create)
1546 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, 1562 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen,
1547 PP_IsolatedFileSystemType_Private /* type */) 1563 PP_IsolatedFileSystemType_Private /* type */)
1548 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, 1564 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply,
1549 std::string /* fsid */) 1565 std::string /* fsid */)
1550 1566
1551 // MediaStream ----------------------------------------------------------------- 1567 // MediaStream -----------------------------------------------------------------
1552 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamAudioTrack_CreateFromPendingHost, 1568 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamAudioTrack_CreateFromPendingHost,
1553 std::string /* track_id */) 1569 std::string /* track_id */)
1554 IPC_MESSAGE_CONTROL1( 1570 IPC_MESSAGE_CONTROL1(
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
2236 PP_ImageDataDesc /* image_data_desc */) 2252 PP_ImageDataDesc /* image_data_desc */)
2237 2253
2238 // Called by the plugin when its selection changes. 2254 // Called by the plugin when its selection changes.
2239 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetSelectedText, 2255 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetSelectedText,
2240 base::string16 /* selected_text */) 2256 base::string16 /* selected_text */)
2241 2257
2242 // Called by the plugin to set the link under the cursor. 2258 // Called by the plugin to set the link under the cursor.
2243 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetLinkUnderCursor, 2259 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PDF_SetLinkUnderCursor,
2244 std::string /* url */) 2260 std::string /* url */)
2245 2261
2262 // VideoCapture ----------------------------------------------------------------
2263
2246 // VideoCapture_Dev, plugin -> host 2264 // VideoCapture_Dev, plugin -> host
2247 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Create) 2265 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Create)
2248 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StartCapture) 2266 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StartCapture)
2249 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoCapture_ReuseBuffer, 2267 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoCapture_ReuseBuffer,
2250 uint32_t /* buffer */) 2268 uint32_t /* buffer */)
2251 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) 2269 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture)
2252 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) 2270 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close)
2253 2271
2254 // VideoCapture_Dev, plugin -> host -> plugin 2272 // VideoCapture_Dev, plugin -> host -> plugin
2255 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, 2273 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open,
(...skipping 20 matching lines...) Expand all
2276 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2294 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2277 PP_TalkPermission /* permission */) 2295 PP_TalkPermission /* permission */)
2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2296 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2279 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2297 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2280 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2298 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2281 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2299 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2282 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2300 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2283 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2301 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2284 2302
2285 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2303 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698