Commit 948ba70b authored by bfulgham@webkit.org's avatar bfulgham@webkit.org

009-06-10 Feng Qian <feng@chromium.org>

        Reviewed by Eric Seidel.

        Add Android port files to WebCore/platform (part 2).
        https://bugs.webkit.org/show_bug.cgi?id=23296


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 92745035
2009-06-10 Feng Qian <feng@chromium.org>
Reviewed by Eric Seidel.
Add Android port files to WebCore/platform (part 2).
https://bugs.webkit.org/show_bug.cgi?id=23296
* platform/android/CursorAndroid.cpp: Added.
* platform/android/DragDataAndroid.cpp: Added.
* platform/android/EventLoopAndroid.cpp: Added.
2009-06-10 Nate Chapin <japhet@google.com>
Reviewed by David Levin.
/*
* Copyright 2009, The Android Open Source Project
* Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#define LOG_TAG "WebCore"
#include "config.h"
#include "Cursor.h"
#include "NotImplemented.h"
namespace WebCore {
Cursor::Cursor(Image*, const IntPoint&)
{
notImplemented();
}
Cursor::Cursor(const Cursor&)
{
notImplemented();
}
Cursor::~Cursor()
{
notImplemented();
}
Cursor& Cursor::operator=(const Cursor&)
{
notImplemented();
return *this;
}
static Cursor c;
const Cursor& pointerCursor()
{
notImplemented();
return c;
}
const Cursor& crossCursor()
{
notImplemented();
return c;
}
const Cursor& handCursor()
{
notImplemented();
return c;
}
const Cursor& moveCursor()
{
notImplemented();
return c;
}
const Cursor& iBeamCursor()
{
notImplemented();
return c;
}
const Cursor& waitCursor()
{
notImplemented();
return c;
}
const Cursor& helpCursor()
{
notImplemented();
return c;
}
const Cursor& eastResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northEastResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northWestResizeCursor()
{
notImplemented();
return c;
}
const Cursor& southResizeCursor()
{
notImplemented();
return c;
}
const Cursor& southEastResizeCursor()
{
notImplemented();
return c;
}
const Cursor& southWestResizeCursor()
{
notImplemented();
return c;
}
const Cursor& westResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northSouthResizeCursor()
{
notImplemented();
return c;
}
const Cursor& eastWestResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northEastSouthWestResizeCursor()
{
notImplemented();
return c;
}
const Cursor& northWestSouthEastResizeCursor()
{
notImplemented();
return c;
}
const Cursor& columnResizeCursor()
{
notImplemented();
return c;
}
const Cursor& rowResizeCursor()
{
notImplemented();
return c;
}
const Cursor& verticalTextCursor()
{
notImplemented();
return c;
}
const Cursor& cellCursor()
{
notImplemented();
return c;
}
const Cursor& contextMenuCursor()
{
notImplemented();
return c;
}
const Cursor& noDropCursor()
{
notImplemented();
return c;
}
const Cursor& copyCursor()
{
notImplemented();
return c;
}
const Cursor& progressCursor()
{
notImplemented();
return c;
}
const Cursor& aliasCursor()
{
notImplemented();
return c;
}
const Cursor& noneCursor()
{
notImplemented();
return c;
}
const Cursor& middlePanningCursor()
{
notImplemented();
return c;
}
const Cursor& eastPanningCursor()
{
notImplemented();
return c;
}
const Cursor& northPanningCursor()
{
notImplemented();
return c;
}
const Cursor& northEastPanningCursor()
{
notImplemented();
return c;
}
const Cursor& northWestPanningCursor()
{
notImplemented();
return c;
}
const Cursor& southPanningCursor()
{
notImplemented();
return c;
}
const Cursor& southEastPanningCursor()
{
notImplemented();
return c;
}
const Cursor& southWestPanningCursor()
{
notImplemented();
return c;
}
const Cursor& westPanningCursor()
{
notImplemented();
return c;
}
const Cursor& grabCursor() {
notImplemented();
return c;
}
const Cursor& grabbingCursor() {
notImplemented();
return c;
}
} // namespace WebCore
/*
* Copyright 2009, The Android Open Source Project
* Copyright (C) 2007 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "DragData.h"
#include "Clipboard.h"
#include "Document.h"
#include "DocumentFragment.h"
namespace WebCore {
bool DragData::canSmartReplace() const
{
return false;
}
bool DragData::containsColor() const
{
return false;
}
bool DragData::containsPlainText() const
{
return false;
}
String DragData::asPlainText() const
{
return String();
}
Color DragData::asColor() const
{
return Color();
}
PassRefPtr<Clipboard> DragData::createClipboard(ClipboardAccessPolicy) const
{
return 0;
}
bool DragData::containsCompatibleContent() const
{
return false;
}
bool DragData::containsURL() const
{
return false;
}
String DragData::asURL(String*) const
{
return String();
}
PassRefPtr<DocumentFragment> DragData::asFragment(Document*) const
{
return 0;
}
void DragData::asFilenames(Vector<String>&) const
{
}
bool DragData::containsFiles() const
{
return false;
}
} // namespace WebCore
/*
* Copyright 2008, The Android Open Source Project
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "EventLoop.h"
#include "NotImplemented.h"
namespace WebCore {
void EventLoop::cycle()
{
notImplemented();
}
} // namespace WebCore
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment