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

Unified Diff: webkit/plugins/ppapi/ppb_flash_clipboard_impl.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 | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_flash_clipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_flash_clipboard_impl.h
diff --git a/webkit/plugins/ppapi/ppb_flash_clipboard_impl.h b/webkit/plugins/ppapi/ppb_flash_clipboard_impl.h
deleted file mode 100644
index da2f7853f5b5bd9f967d5d7583b516f4746a1a97..0000000000000000000000000000000000000000
--- a/webkit/plugins/ppapi/ppb_flash_clipboard_impl.h
+++ /dev/null
@@ -1,61 +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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_CLIPBOARD_IMPL_H_
-#define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_CLIPBOARD_IMPL_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "ppapi/shared_impl/function_group_base.h"
-#include "ppapi/thunk/ppb_flash_clipboard_api.h"
-
-namespace webkit_glue { class ClipboardClient; }
-class ScopedClipboardWriterGlue;
-
-namespace webkit {
-namespace ppapi {
-
-class PluginInstance;
-
-class PPB_Flash_Clipboard_Impl
- : public ::ppapi::FunctionGroupBase,
- public ::ppapi::thunk::PPB_Flash_Clipboard_FunctionAPI {
- public:
- PPB_Flash_Clipboard_Impl(PluginInstance* instance);
- virtual ~PPB_Flash_Clipboard_Impl();
-
- // FunctionGroupBase overrides.
- virtual ::ppapi::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);
- 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[]);
-
- private:
- bool Init();
- int32_t WriteDataItem(const PP_Flash_Clipboard_Format format,
- const PP_Var& data,
- ScopedClipboardWriterGlue* scw);
-
- PluginInstance* instance_;
- scoped_ptr<webkit_glue::ClipboardClient> client_;
-
- DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Clipboard_Impl);
-};
-
-} // namespace ppapi
-} // namespace webkit
-
-#endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_CLIPBOARD_IMPL_H_
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppb_flash_clipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698