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

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

Issue 119853003: [PPAPI] Implement an IOStreamResource for data transmission between plugin and renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 6 years, 11 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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 // Graphics2D, plugin -> host -> plugin 1397 // Graphics2D, plugin -> host -> plugin
1398 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Flush, 1398 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Graphics2D_Flush,
1399 ppapi::ViewData /* view_data */) 1399 ppapi::ViewData /* view_data */)
1400 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck) 1400 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_FlushAck)
1401 1401
1402 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData, 1402 IPC_MESSAGE_CONTROL2(PpapiHostMsg_Graphics2D_ReadImageData,
1403 PP_Resource /* image */, 1403 PP_Resource /* image */,
1404 PP_Point /* top_left */) 1404 PP_Point /* top_left */)
1405 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck) 1405 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Graphics2D_ReadImageDataAck)
1406 1406
1407 // IOStreamResource -----------------------------------------------------------
1408 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IOStream_Init,
yzshen1 2014/01/03 21:51:41 Please add comments: - Since there are two ways of
1409 uint32_t /* size */)
1410 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_IOStream_InitReply)
1411 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IOStream_Init,
1412 uint32_t /* size */)
1413 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IOStream_MoveLimit,
1414 uint32_t /* offset */)
1415 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IOStream_MoveLimit,
1416 uint32_t /* offset */)
1417
1407 // IsolatedFileSystem 1418 // IsolatedFileSystem
1408 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create) 1419 IPC_MESSAGE_CONTROL0(PpapiHostMsg_IsolatedFileSystem_Create)
1409 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen, 1420 IPC_MESSAGE_CONTROL1(PpapiHostMsg_IsolatedFileSystem_BrowserOpen,
1410 PP_IsolatedFileSystemType_Private /* type */) 1421 PP_IsolatedFileSystemType_Private /* type */)
1411 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply, 1422 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_IsolatedFileSystem_BrowserOpenReply,
1412 std::string /* fsid */) 1423 std::string /* fsid */)
1413 1424
1414 // NetworkMonitor. 1425 // NetworkMonitor.
1415 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkMonitor_Create) 1426 IPC_MESSAGE_CONTROL0(PpapiHostMsg_NetworkMonitor_Create)
1416 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_NetworkMonitor_NetworkList, 1427 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_NetworkMonitor_NetworkList,
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
2011 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2022 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2012 PP_TalkPermission /* permission */) 2023 PP_TalkPermission /* permission */)
2013 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2024 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2014 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2025 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2015 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2026 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2016 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2027 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2017 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2028 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2018 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2029 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2019 2030
2020 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2031 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698