TemporaryLinkStubs.cpp [plain text]
#define LOG_TAG "WebCore"
#include "config.h"
#define ANDROID_COMPILE_HACK
#include "AXObjectCache.h"
#include "CachedPage.h"
#include "CachedResource.h"
#include "Clipboard.h"
#include "Console.h"
#include "ContextMenu.h"
#include "ContextMenuItem.h"
#include "CookieJar.h"
#include "CookieStorage.h"
#include "Cursor.h"
#include "Database.h"
#include "DocumentFragment.h"
#include "DocumentLoader.h"
#include "EditCommand.h"
#include "Editor.h"
#include "File.h"
#include "Font.h"
#include "Frame.h"
#include "FrameLoadRequest.h"
#include "FrameLoader.h"
#include "FrameView.h"
#include "GraphicsContext.h"
#include "HTMLFrameOwnerElement.h"
#include "HTMLKeygenElement.h"
#include "History.h"
#include "Icon.h"
#include "IconDatabase.h"
#include "IconLoader.h"
#include "IntPoint.h"
#include "KURL.h"
#include "Language.h"
#include "LocalizedStrings.h"
#include "MIMETypeRegistry.h"
#include "MainResourceLoader.h"
#include "Node.h"
#include "NotImplemented.h"
#include "PageCache.h"
#include "Pasteboard.h"
#include "Path.h"
#include "ResourceError.h"
#include "ResourceHandle.h"
#include "ResourceLoader.h"
#include "Screen.h"
#include "Scrollbar.h"
#include "ScrollbarTheme.h"
#include "SmartReplace.h"
#include "Widget.h"
#include <stdio.h>
#include <stdlib.h>
#include <wtf/Assertions.h>
#include <wtf/MainThread.h>
#include <wtf/text/CString.h>
#if USE(JSC)
#include "API/JSClassRef.h"
#include "JNIUtilityPrivate.h"
#include "JavaScriptCallFrame.h"
#include "ScriptDebugServer.h"
#endif
using namespace WebCore;
namespace WebCore {
void CheckCacheObjectStatus(CachedResourceLoader*, CachedResource*)
{
ASSERT_NOT_REACHED();
notImplemented();
}
Icon::~Icon() { }
void Icon::paint(GraphicsContext*, const IntRect&) { }
}
Pasteboard* Pasteboard::generalPasteboard()
{
return new Pasteboard();
}
void Pasteboard::writeSelection(Range*, bool, Frame*)
{
notImplemented();
}
void Pasteboard::writePlainText(const String&)
{
notImplemented();
}
void Pasteboard::writeURL(const KURL&, const String&, Frame*)
{
notImplemented();
}
void Pasteboard::clear()
{
notImplemented();
}
bool Pasteboard::canSmartReplace()
{
notImplemented();
return false;
}
PassRefPtr<DocumentFragment> Pasteboard::documentFragment(Frame*, PassRefPtr<Range>, bool, bool&)
{
notImplemented();
return 0;
}
String Pasteboard::plainText(Frame*)
{
notImplemented();
return String();
}
Pasteboard::Pasteboard()
{
notImplemented();
}
Pasteboard::~Pasteboard()
{
notImplemented();
}
ContextMenu::ContextMenu()
{
ASSERT_NOT_REACHED();
notImplemented();
}
ContextMenu::~ContextMenu()
{
ASSERT_NOT_REACHED();
notImplemented();
}
void ContextMenu::appendItem(ContextMenuItem&)
{
ASSERT_NOT_REACHED();
notImplemented();
}
void ContextMenu::setPlatformDescription(PlatformMenuDescription menu)
{
ASSERT_NOT_REACHED();
m_platformDescription = menu;
}
PlatformMenuDescription ContextMenu::platformDescription() const
{
ASSERT_NOT_REACHED();
return m_platformDescription;
}
ContextMenuItem::ContextMenuItem(PlatformMenuItemDescription)
{
ASSERT_NOT_REACHED();
notImplemented();
}
ContextMenuItem::ContextMenuItem(ContextMenu*)
{
ASSERT_NOT_REACHED();
notImplemented();
}
ContextMenuItem::ContextMenuItem(ContextMenuItemType, ContextMenuAction, const String&, ContextMenu*)
{
ASSERT_NOT_REACHED();
notImplemented();
}
ContextMenuItem::~ContextMenuItem()
{
ASSERT_NOT_REACHED();
notImplemented();
}
PlatformMenuItemDescription ContextMenuItem::releasePlatformDescription()
{
ASSERT_NOT_REACHED();
notImplemented();
return m_platformDescription;
}
ContextMenuItemType ContextMenuItem::type() const
{
ASSERT_NOT_REACHED();
notImplemented();
return ActionType;
}
void ContextMenuItem::setType(ContextMenuItemType)
{
ASSERT_NOT_REACHED();
notImplemented();
}
ContextMenuAction ContextMenuItem::action() const
{
ASSERT_NOT_REACHED();
notImplemented();
return ContextMenuItemTagNoAction;
}
void ContextMenuItem::setAction(ContextMenuAction)
{
ASSERT_NOT_REACHED();
notImplemented();
}
String ContextMenuItem::title() const
{
ASSERT_NOT_REACHED();
notImplemented();
return String();
}
void ContextMenuItem::setTitle(const String&)
{
ASSERT_NOT_REACHED();
notImplemented();
}
PlatformMenuDescription ContextMenuItem::platformSubMenu() const
{
ASSERT_NOT_REACHED();
notImplemented();
return 0;
}
void ContextMenuItem::setSubMenu(ContextMenu*)
{
ASSERT_NOT_REACHED();
notImplemented();
}
void ContextMenuItem::setChecked(bool)
{
ASSERT_NOT_REACHED();
notImplemented();
}
void ContextMenuItem::setEnabled(bool)
{
ASSERT_NOT_REACHED();
notImplemented();
}
void systemBeep()
{
notImplemented();
}
void* WebCore::Frame::dragImageForSelection()
{
return 0;
}
WTF::String WebCore::MIMETypeRegistry::getMIMETypeForExtension(WTF::String const&)
{
ASSERT(isMainThread());
return WTF::String();
}
void WebCore::Pasteboard::writeImage(WebCore::Node*, WebCore::KURL const&, WTF::String const&) {}
namespace WebCore {
IntSize dragImageSize(void*)
{
return IntSize(0, 0);
}
void deleteDragImage(void*) {}
void* createDragImageFromImage(Image*)
{
return 0;
}
void* dissolveDragImageToFraction(void*, float)
{
return 0;
}
void* createDragImageIconForCachedImage(CachedImage*)
{
return 0;
}
Cursor dummyCursor;
const Cursor& zoomInCursor()
{
return dummyCursor;
}
const Cursor& zoomOutCursor()
{
return dummyCursor;
}
const Cursor& notAllowedCursor()
{
return dummyCursor;
}
void* scaleDragImage(void*, FloatSize)
{
return 0;
}
String searchMenuRecentSearchesText()
{
return String();
}
String searchMenuNoRecentSearchesText()
{
return String();
}
String searchMenuClearRecentSearchesText()
{
return String();
}
Vector<String> supportedKeySizes()
{
notImplemented();
return Vector<String>();
}
}
namespace WebCore {
bool isCharacterSmartReplaceExempt(UChar32, bool)
{
notImplemented();
return false;
}
}
int MakeDataExecutable;
String KURL::fileSystemPath() const
{
notImplemented();
return String();
}
PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String&)
{
notImplemented();
return 0;
}
#if USE(JSC)
namespace JSC { namespace Bindings {
bool dispatchJNICall(ExecState*, const void* targetAppletView, jobject obj, bool isStatic, JNIType returnType,
jmethodID methodID, jvalue* args, jvalue& result, const char* callingURL, JSValue& exceptionDescription)
{
notImplemented();
return false;
}
} } #endif
char* dirname(const char*)
{
notImplemented();
return 0;
}
namespace WebCore {
void prefetchDNS(const String&)
{
notImplemented();
}
PassRefPtr<Icon> Icon::createIconForFile(const String&)
{
notImplemented();
return 0;
}
PassRefPtr<Icon> Icon::createIconForFiles(const Vector<String>&)
{
notImplemented();
return 0;
}
ScrollbarTheme* ScrollbarTheme::nativeTheme()
{
static ScrollbarTheme theme;
return &theme;
}
}
AXObjectCache::~AXObjectCache()
{
notImplemented();
}
bool AXObjectCache::gAccessibilityEnabled = false;
bool AXObjectCache::gAccessibilityEnhancedUserInterfaceEnabled = false;
void AXObjectCache::childrenChanged(RenderObject*)
{
notImplemented();
}
void AXObjectCache::remove(RenderObject*)
{
notImplemented();
}
#if USE(JSC)
using namespace JSC;
OpaqueJSClass::~OpaqueJSClass()
{
notImplemented();
}
OpaqueJSClassContextData::~OpaqueJSClassContextData()
{
notImplemented();
}
#endif
namespace WebCore {
void setCookieStoragePrivateBrowsingEnabled(bool)
{
notImplemented();
}
void startObservingCookieChanges()
{
notImplemented();
}
void stopObservingCookieChanges()
{
notImplemented();
}
}