summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-12-11 15:12:12 -0500
committerLeon Scroggins <scroggo@google.com>2009-12-15 08:50:06 -0500
commit334e51bc2ff9bf7fc55fa67dc8a6d9257501a32e (patch)
tree2178fd95aa4eea6732de9881e9348edee3cfb22a /WebKit/android/WebCoreSupport
parentc337233bf32d37af40d40c195996c2d3bf0cba8a (diff)
downloadexternal_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/WebCoreSupport')
-rw-r--r--WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
index ae3d582..44c942d 100644
--- a/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp
@@ -44,6 +44,7 @@
#include "MIMETypeRegistry.h"
#include "NotImplemented.h"
#include "Page.h"
+#include "PlatformBridge.h"
#include "PlatformGraphicsContext.h"
#include "PlatformString.h"
#include "PluginDatabase.h"
@@ -300,11 +301,11 @@ void FrameLoaderClientAndroid::dispatchDidFailProvisionalLoad(const ResourceErro
AssetManager* am = globalAssetManager();
// Check to see if the error code was not generated internally
- WebFrame::RAW_RES_ID id = WebFrame::NODOMAIN;
+ WebCore::PlatformBridge::rawResId id = WebCore::PlatformBridge::NoDomain;
if ((error.errorCode() == ErrorFile ||
error.errorCode() == ErrorFileNotFound) &&
(!error.localizedDescription().isEmpty())) {
- id = WebFrame::LOADERROR;
+ id = WebCore::PlatformBridge::LoadError;
}
String filename = m_webFrame->getRawResourceFilename(id);
if (filename.isEmpty())