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

Unified Diff: ppapi/proxy/ppb_flash_clipboard_proxy.h

Issue 10163012: Move the FlashClipboard API into the Flash one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments & fixes. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_flash_clipboard_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_flash_clipboard_proxy.h
diff --git a/ppapi/proxy/ppb_flash_clipboard_proxy.h b/ppapi/proxy/ppb_flash_clipboard_proxy.h
deleted file mode 100644
index 90cb07a7f75e3d7164aec8f98ea539cfbb645cc6..0000000000000000000000000000000000000000
--- a/ppapi/proxy/ppb_flash_clipboard_proxy.h
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
-#define PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
-
-#include <vector>
-
-#include "ppapi/c/pp_instance.h"
-#include "ppapi/proxy/interface_proxy.h"
-#include "ppapi/thunk/ppb_flash_clipboard_api.h"
-
-namespace ppapi {
-namespace proxy {
-
-class SerializedVarReceiveInput;
-class SerializedVarReturnValue;
-class SerializedVarVectorReceiveInput;
-
-class PPB_Flash_Clipboard_Proxy
- : public InterfaceProxy,
- public thunk::PPB_Flash_Clipboard_FunctionAPI {
- public:
- PPB_Flash_Clipboard_Proxy(Dispatcher* dispatcher);
- virtual ~PPB_Flash_Clipboard_Proxy();
-
- // FunctionGroupBase overrides.
- thunk::PPB_Flash_Clipboard_FunctionAPI* AsPPB_Flash_Clipboard_FunctionAPI()
- OVERRIDE;
-
- // PPB_Flash_Clipboard_FunctionAPI implementation.
- virtual PP_Bool IsFormatAvailable(PP_Instance instance,
- PP_Flash_Clipboard_Type clipboard_type,
- PP_Flash_Clipboard_Format format) OVERRIDE;
- virtual PP_Var ReadData(PP_Instance instance,
- PP_Flash_Clipboard_Type clipboard_type,
- PP_Flash_Clipboard_Format format) OVERRIDE;
- virtual int32_t WriteData(PP_Instance instance,
- PP_Flash_Clipboard_Type clipboard_type,
- uint32_t data_item_count,
- const PP_Flash_Clipboard_Format formats[],
- const PP_Var data_items[]) OVERRIDE;
-
- // InterfaceProxy implementation.
- virtual bool OnMessageReceived(const IPC::Message& msg);
-
- static const ApiID kApiID = API_ID_PPB_FLASH_CLIPBOARD;
-
- private:
- // Message handlers.
- void OnMsgIsFormatAvailable(PP_Instance instance,
- int clipboard_type,
- int format,
- bool* result);
- void OnMsgReadData(PP_Instance instance,
- int clipboard_type,
- int format,
- SerializedVarReturnValue result);
- void OnMsgWriteData(PP_Instance instance,
- int clipboard_type,
- const std::vector<int>& formats,
- SerializedVarVectorReceiveInput data_items);
-};
-
-} // namespace proxy
-} // namespace ppapi
-
-#endif // PPAPI_PROXY_PPB_FLASH_CLIPBOARD_PROXY_H_
« 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