summaryrefslogtreecommitdiffstats
path: root/webkit/default_plugin/plugin_main.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 05:36:38 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 05:36:38 +0000
commit0d64bb701b65d583ad7439afe3188df055fd0e04 (patch)
treee1840ec5212e743b1821c3c4d19f0e416f17313c /webkit/default_plugin/plugin_main.h
parent4f1629ad859f74144d79974eb81867c6324e0894 (diff)
downloadchromium_src-0d64bb701b65d583ad7439afe3188df055fd0e04.zip
chromium_src-0d64bb701b65d583ad7439afe3188df055fd0e04.tar.gz
chromium_src-0d64bb701b65d583ad7439afe3188df055fd0e04.tar.bz2
Move default_plugin from webkit/ to chrome/
Second try, first try at http://codereview.chromium.org/2803035 . Also contains http://codereview.chromium.org/2838044 , changes to DEPS files (mostly cleanups), and a change to webkit/glue/plugins/webplugin_delegate_impl_win.cc . BUG= 48419 TEST=everything still builds Review URL: http://codereview.chromium.org/2813047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51692 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/default_plugin/plugin_main.h')
-rw-r--r--webkit/default_plugin/plugin_main.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/webkit/default_plugin/plugin_main.h b/webkit/default_plugin/plugin_main.h
deleted file mode 100644
index 50f3009..0000000
--- a/webkit/default_plugin/plugin_main.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2010 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.
-
-#include <algorithm>
-#include <string>
-
-#include "third_party/npapi/bindings/npapi.h"
-#include "third_party/npapi/bindings/nphostapi.h"
-
-namespace default_plugin {
-
-extern NPNetscapeFuncs* g_browser;
-
-// Standard NPAPI functions.
-NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc,
- char* argn[], char* argv[], NPSavedData* saved);
-NPError NPP_Destroy(NPP instance, NPSavedData** save);
-NPError NPP_SetWindow(NPP instance, NPWindow* window);
-NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream,
- NPBool seekable, uint16_t* stype);
-NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
-int32_t NPP_WriteReady(NPP instance, NPStream* stream);
-int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len,
- void* buffer);
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
-NPError NPP_GetValue(NPP instance, NPPVariable variable, void* value);
-#endif
-void NPP_URLNotify(NPP instance, const char* url, NPReason reason,
- void* notifyData);
-int16_t NPP_HandleEvent(NPP instance, void* event);
-
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
-NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs, NPPluginFuncs* p_funcs);
-#else
-NPError API_CALL NP_GetEntryPoints(NPPluginFuncs* funcs);
-NPError API_CALL NP_Initialize(NPNetscapeFuncs* funcs);
-#endif
-NPError API_CALL NP_Shutdown(void);
-
-} // default_plugin