diff options
| author | Andrei Popescu <andreip@google.com> | 2010-01-14 15:33:28 +0000 |
|---|---|---|
| committer | Andrei Popescu <andreip@google.com> | 2010-01-22 15:03:58 +0000 |
| commit | b9ca2665dcffd57d63df89bca0444f1cee8d0fee (patch) | |
| tree | f4e793c38d4767dba83df34e1f03e36f1a21bfa6 /WebCore/platform | |
| parent | 281327f5e60fa56769d50a55d9dd6b96f5ea5ffb (diff) | |
| download | external_webkit-b9ca2665dcffd57d63df89bca0444f1cee8d0fee.zip external_webkit-b9ca2665dcffd57d63df89bca0444f1cee8d0fee.tar.gz external_webkit-b9ca2665dcffd57d63df89bca0444f1cee8d0fee.tar.bz2 | |
Prepare ScriptController class for upstreaming.
Move the code to obtain the NPObject ptr associated with a PluginView to the PlatformBridge.
This change will be submitted as soon as the patch in
https://bugs.webkit.org/show_bug.cgi?id=33673
lands upstream.
Diffstat (limited to 'WebCore/platform')
| -rw-r--r-- | WebCore/platform/android/PlatformBridge.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/platform/android/PlatformBridge.h b/WebCore/platform/android/PlatformBridge.h index a73abab..8b08490 100644 --- a/WebCore/platform/android/PlatformBridge.h +++ b/WebCore/platform/android/PlatformBridge.h @@ -31,9 +31,12 @@ #include <wtf/Vector.h> +class NPObject; + namespace WebCore { class FrameView; +class Widget; // An interface to the embedding layer, which has the ability to answer // questions about the system and so on... @@ -54,6 +57,8 @@ public: static void setCookies(const KURL&, const String& value); static String cookies(const KURL&); static bool cookiesEnabled(); + // Plugin + static NPObject* pluginScriptableObject(Widget*); // These ids need to be in sync with the constants in BrowserFrame.java enum rawResId { NoDomain = 1, |
