summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/android/LocalizedStringsAndroid.cpp15
-rw-r--r--WebCore/platform/graphics/android/PathAndroid.cpp5
-rw-r--r--WebCore/platform/text/android/TextBreakIteratorInternalICU.cpp6
3 files changed, 26 insertions, 0 deletions
diff --git a/WebCore/platform/android/LocalizedStringsAndroid.cpp b/WebCore/platform/android/LocalizedStringsAndroid.cpp
index 5ca7b95..fc3b63c 100644
--- a/WebCore/platform/android/LocalizedStringsAndroid.cpp
+++ b/WebCore/platform/android/LocalizedStringsAndroid.cpp
@@ -285,5 +285,20 @@ String searchableIndexIntroduction()
return String();
}
+String resetButtonDefaultLabel()
+{
+ return String("Reset");
+}
+
+String submitButtonDefaultLabel()
+{
+ return String("Submit");
+}
+
+String inputElementAltText()
+{
+ notImplemented();
+ return String();
+}
} // namespace WebCore
diff --git a/WebCore/platform/graphics/android/PathAndroid.cpp b/WebCore/platform/graphics/android/PathAndroid.cpp
index 0eb1414..a643fc0 100644
--- a/WebCore/platform/graphics/android/PathAndroid.cpp
+++ b/WebCore/platform/graphics/android/PathAndroid.cpp
@@ -66,6 +66,11 @@ bool Path::isEmpty() const
return m_path->isEmpty();
}
+bool Path::hasCurrentPoint() const
+{
+ return !isEmpty();
+}
+
bool Path::contains(const FloatPoint& point, WindRule rule) const
{
SkRegion rgn, clip;
diff --git a/WebCore/platform/text/android/TextBreakIteratorInternalICU.cpp b/WebCore/platform/text/android/TextBreakIteratorInternalICU.cpp
index 9bebe74..fc31fc9 100644
--- a/WebCore/platform/text/android/TextBreakIteratorInternalICU.cpp
+++ b/WebCore/platform/text/android/TextBreakIteratorInternalICU.cpp
@@ -28,6 +28,12 @@
namespace WebCore {
+const char* currentSearchLocaleID()
+{
+ // TODO(benm): Implement. Should return system locale.
+ return "";
+}
+
const char* currentTextBreakLocaleID()
{
return "en_us";