diff options
author | Leon Scroggins <scroggo@google.com> | 2009-12-11 15:12:12 -0500 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2009-12-15 08:50:06 -0500 |
commit | 334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e (patch) | |
tree | 2178fd95aa4eea6732de9881e9348edee3cfb22a /WebKit/android/jni/WebCoreFrameBridge.h | |
parent | c337233bf32d37af40d40c195996c2d3bf0cba8a (diff) | |
download | external_webkit-334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e.zip external_webkit-334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e.tar.gz external_webkit-334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e.tar.bz2 |
Provide localized strings for <input> labels.
Fix for http://b/issue?id=2178786
Call up to Java to get strings for <input> labels, and use them
on inputs.
Requires a change in frameworks/base.
Diffstat (limited to 'WebKit/android/jni/WebCoreFrameBridge.h')
-rw-r--r-- | WebKit/android/jni/WebCoreFrameBridge.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/WebKit/android/jni/WebCoreFrameBridge.h b/WebKit/android/jni/WebCoreFrameBridge.h index 7d18c40..657ebf1 100644 --- a/WebKit/android/jni/WebCoreFrameBridge.h +++ b/WebKit/android/jni/WebCoreFrameBridge.h @@ -29,7 +29,7 @@ #define WEBFRAME_H #include "FrameLoaderClient.h" -#include "PlatformString.h" +#include "PlatformBridge.h" #include "WebCoreRefObject.h" #include <jni.h> #include <wtf/RefCounted.h> @@ -51,12 +51,6 @@ class WebViewCore; // one instance of WebFrame per Page for calling into Java's BrowserFrame class WebFrame : public WebCoreRefObject { public: - // these ids need to be in sync with the constants in BrowserFrame.java - enum RAW_RES_ID { - NODOMAIN = 1, - LOADERROR, - DRAWABLEDIR, - }; WebFrame(JNIEnv* env, jobject obj, jobject historyList, WebCore::Page* page); ~WebFrame(); @@ -108,7 +102,7 @@ class WebFrame : public WebCoreRefObject { void setUserAgent(WebCore::String userAgent) { mUserAgent = userAgent; } - WebCore::String getRawResourceFilename(RAW_RES_ID) const; + WebCore::String getRawResourceFilename(WebCore::PlatformBridge::rawResId) const; float density() const; |