summaryrefslogtreecommitdiffstats
path: root/webkit/glue/npruntime_util.h
diff options
context:
space:
mode:
authorjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 07:07:43 +0000
committerjorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-24 07:07:43 +0000
commit0cd77f5d95c3d991b3cd252ec9f31a8f79b87055 (patch)
tree5d801b76b39f1099003d8ead242e094ca777a665 /webkit/glue/npruntime_util.h
parent9108d4c2b521e8e58bbc125787550772f585ef6c (diff)
downloadchromium_src-0cd77f5d95c3d991b3cd252ec9f31a8f79b87055.zip
chromium_src-0cd77f5d95c3d991b3cd252ec9f31a8f79b87055.tar.gz
chromium_src-0cd77f5d95c3d991b3cd252ec9f31a8f79b87055.tar.bz2
Move parts of npruntime into the WebKit API so it no longer has any dependencies on WebCore.
TEST=none BUG=none Review URL: http://codereview.chromium.org/160091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/npruntime_util.h')
-rw-r--r--webkit/glue/npruntime_util.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/webkit/glue/npruntime_util.h b/webkit/glue/npruntime_util.h
index 1e27191..a655873 100644
--- a/webkit/glue/npruntime_util.h
+++ b/webkit/glue/npruntime_util.h
@@ -5,14 +5,10 @@
#ifndef WEBKIT_GLUE_NPRUNTIME_UTIL_H_
#define WEBKIT_GLUE_NPRUNTIME_UTIL_H_
-#include "third_party/npapi/bindings/npruntime.h"
+#include "bindings/npruntime.h"
class Pickle;
-namespace WebKit {
-class WebDragData;
-}
-
namespace webkit_glue {
// Efficiently serialize/deserialize a NPIdentifier
@@ -20,17 +16,6 @@ bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle);
bool DeserializeNPIdentifier(const Pickle& pickle, void** pickle_iter,
NPIdentifier* identifier);
-// Return true (success) if the given npobj is the current
-// drag event in browser dispatch, and is accessible based on context execution
-// frames and their security origins and WebKit clipboard access policy. If so,
-// return the event id and the clipboard data (WebDragData).
-bool GetDragData(NPObject* npobj, int* event_id, WebKit::WebDragData* data);
-
-// Invoke the event access policy checks listed above with
-// GetDragData(). No need for clipboard data or event_id outputs, just confirm
-// the given npobj is the current & accessible drag event.
-bool IsDragEvent(NPObject* npobj);
-
} // namespace webkit_glue
#endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_