diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/platform/gtk/TemporaryLinkStubs.cpp | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/platform/gtk/TemporaryLinkStubs.cpp')
-rw-r--r-- | WebCore/platform/gtk/TemporaryLinkStubs.cpp | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/WebCore/platform/gtk/TemporaryLinkStubs.cpp b/WebCore/platform/gtk/TemporaryLinkStubs.cpp index 525a6f8..5093794 100644 --- a/WebCore/platform/gtk/TemporaryLinkStubs.cpp +++ b/WebCore/platform/gtk/TemporaryLinkStubs.cpp @@ -28,14 +28,13 @@ #include "config.h" #include "AXObjectCache.h" +#include "DNS.h" #include "Editor.h" #include "FrameView.h" #include "FTPDirectoryDocument.h" -#include "GlobalHistory.h" -#include "KURL.h" #include "NotImplemented.h" -#include "PluginInfoStore.h" -#include "SharedBuffer.h" +#include "PluginView.h" +#include <float.h> using namespace WebCore; @@ -57,25 +56,13 @@ Vector<char> loadResourceIntoArray(const char* resourceName) /* Completely empty stubs (mostly to allow DRT to run): */ /********************************************************/ -bool WebCore::historyContains(const UChar*, unsigned) { return false; } +void PluginView::invalidateRegion(NPRegion) { notImplemented(); } -PluginInfo* PluginInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0;} -unsigned PluginInfoStore::pluginCount() const { notImplemented(); return 0; } -String PluginInfoStore::pluginNameForMIMEType(const String& mimeType) { notImplemented(); return String(); } -bool WebCore::PluginInfoStore::supportsMIMEType(const WebCore::String&) { notImplemented(); return false; } -void WebCore::refreshPlugins(bool) { notImplemented(); } - - -Color WebCore::focusRingColor() { return 0xFF0000FF; } -void WebCore::setFocusRingColorChangeFunction(void (*)()) { } +Color WebCore::focusRingColor() { return Color(); } namespace WebCore { -Vector<String> supportedKeySizes() { notImplemented(); return Vector<String>(); } +void getSupportedKeySizes(Vector<String>&) { notImplemented(); } String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url) { return String(); } -float userIdleTime() { notImplemented(); return 0.0; } +float userIdleTime() { notImplemented(); return FLT_MAX; } // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed -String KURL::fileSystemPath() const { notImplemented(); return String(); } - -PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String&) { notImplemented(); return 0; } } - |