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

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

Issue 6724010: Pepper/Flapper: Add IsFormatAvailable() to PPB_Flash_Clipboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_clipboard_proxy.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
7 7
8 #include "ppapi/c/pp_instance.h" 8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/proxy/interface_proxy.h" 9 #include "ppapi/proxy/interface_proxy.h"
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 const PPB_Flash_Clipboard* ppb_flash_clipboard_target() const { 27 const PPB_Flash_Clipboard* ppb_flash_clipboard_target() const {
28 return reinterpret_cast<const PPB_Flash_Clipboard*>(target_interface()); 28 return reinterpret_cast<const PPB_Flash_Clipboard*>(target_interface());
29 } 29 }
30 30
31 // InterfaceProxy implementation. 31 // InterfaceProxy implementation.
32 virtual bool OnMessageReceived(const IPC::Message& msg); 32 virtual bool OnMessageReceived(const IPC::Message& msg);
33 33
34 private: 34 private:
35 // Message handlers. 35 // Message handlers.
36 void OnMsgIsFormatAvailable(PP_Instance instance_id,
37 int clipboard_type,
38 int format,
39 bool* result);
36 void OnMsgReadPlainText(PP_Instance instance_id, 40 void OnMsgReadPlainText(PP_Instance instance_id,
37 int clipboard_type, 41 int clipboard_type,
38 SerializedVarReturnValue result); 42 SerializedVarReturnValue result);
39 void OnMsgWritePlainText(PP_Instance instance_id, 43 void OnMsgWritePlainText(PP_Instance instance_id,
40 int clipboard_type, 44 int clipboard_type,
41 SerializedVarReceiveInput text); 45 SerializedVarReceiveInput text);
42 }; 46 };
43 47
44 } // namespace proxy 48 } // namespace proxy
45 } // namespace pp 49 } // namespace pp
46 50
47 #endif // PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_ 51 #endif // PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_clipboard_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698