diff options
| author | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-25 08:43:40 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-25 08:43:40 -0800 |
| commit | 3dd6957f3a954583cb88b92ecc780f6a6df0e21e (patch) | |
| tree | b70da11a5aa30720dacea49dbcc8e5c738714202 | |
| parent | d789cf5eaa873bbf5b3e643fb26747ac441ee682 (diff) | |
| parent | fada8e51ba8b044a116f6ed4d046a9778a0d27a1 (diff) | |
| download | external_webkit-3dd6957f3a954583cb88b92ecc780f6a6df0e21e.zip external_webkit-3dd6957f3a954583cb88b92ecc780f6a6df0e21e.tar.gz external_webkit-3dd6957f3a954583cb88b92ecc780f6a6df0e21e.tar.bz2 | |
Merge change Ie4e91d61 into eclair-mr2
* changes:
Bring Android files in line with what landed at webkit.org.
| -rw-r--r-- | WebCore/platform/android/LocalizedStringsAndroid.cpp | 60 | ||||
| -rw-r--r-- | WebCore/platform/android/SharedTimerAndroid.cpp | 14 |
2 files changed, 67 insertions, 7 deletions
diff --git a/WebCore/platform/android/LocalizedStringsAndroid.cpp b/WebCore/platform/android/LocalizedStringsAndroid.cpp index fc3b63c..2fc880b 100644 --- a/WebCore/platform/android/LocalizedStringsAndroid.cpp +++ b/WebCore/platform/android/LocalizedStringsAndroid.cpp @@ -279,6 +279,24 @@ String mediaElementLiveBroadcastStateText() return String(); } +String localizedMediaControlElementString(const String& controlName) +{ + notImplemented(); + return String(); +} + +String localizedMediaControlElementHelpText(const String& controlName) +{ + notImplemented(); + return String(); +} + +String localizedMediaTimeDescription(const String& controlName) +{ + notImplemented(); + return String(); +} + String searchableIndexIntroduction() { notImplemented(); @@ -301,4 +319,46 @@ String inputElementAltText() return String(); } +String validationMessageValueMissingText() +{ + notImplemented(); + return String(); +} + +String validationMessageTypeMismatchText() +{ + notImplemented(); + return String(); +} + +String validationMessagePatternMismatchText() +{ + notImplemented(); + return String(); +} + +String validationMessageTooLongText() +{ + notImplemented(); + return String(); +} + +String validationMessageRangeUnderflowText() +{ + notImplemented(); + return String(); +} + +String validationMessageRangeOverflowText() +{ + notImplemented(); + return String(); +} + +String validationMessageStepMismatchText() +{ + notImplemented(); + return String(); +} + } // namespace WebCore diff --git a/WebCore/platform/android/SharedTimerAndroid.cpp b/WebCore/platform/android/SharedTimerAndroid.cpp index 36b9a0f..e4f3b36 100644 --- a/WebCore/platform/android/SharedTimerAndroid.cpp +++ b/WebCore/platform/android/SharedTimerAndroid.cpp @@ -23,13 +23,13 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#define LOG_TAG "Timers" - #include "config.h" #include "SharedTimer.h" -#include "JavaSharedClient.h" -#include "TimerClient.h" +#define LOG_TAG "Timers" + +#include <TimerClient.h> +#include <JavaSharedClient.h> #include <utils/Log.h> #include <wtf/CurrentTime.h> @@ -49,11 +49,11 @@ void setSharedTimerFiredFunction(void (*f)()) // as the result of currentTime() is. void setSharedTimerFireTime(double fireTime) { - long long timeInMS = (long long)((fireTime - WTF::currentTime()) * 1000); + long long timeInMs = static_cast<long long>((fireTime - WTF::currentTime()) * 1000); - LOGV("setSharedTimerFireTime: in %ld millisec", timeInMS); + LOGV("setSharedTimerFireTime: in %ld millisec", timeInMs); if (JavaSharedClient::GetTimerClient()) - JavaSharedClient::GetTimerClient()->setSharedTimer(timeInMS); + JavaSharedClient::GetTimerClient()->setSharedTimer(timeInMs); } void stopSharedTimer() |
