| /* |
| * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. |
| * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com |
| * Copyright (C) 2006 George Staikos <staikos@kde.org> |
| * Copyright (C) 2006 Dirk Mueller <mueller@kde.org> |
| * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| * |
| * 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 <stdio.h> |
| #include <stdlib.h> |
| #include "Node.h" |
| #include "Frame.h" |
| #include "Font.h" |
| #include "IntPoint.h" |
| #include "Widget.h" |
| #include "GraphicsContext.h" |
| #include "TextField.h" |
| #include "Slider.h" |
| #include "Cursor.h" |
| #include "loader.h" |
| #include "FrameView.h" |
| #include "KURL.h" |
| #include "ScrollBar.h" |
| #include "PlatformScrollBar.h" |
| #include "CachedResource.h" |
| #include "ScrollBar.h" |
| #include "Path.h" |
| #include "PlatformMouseEvent.h" |
| #include "CookieJar.h" |
| #include "Screen.h" |
| #include "History.h" |
| #include "Language.h" |
| #include "LocalizedStrings.h" |
| #include "PlugInInfoStore.h" |
| #include "RenderTheme.h" |
| #include "TextBoundaries.h" |
| #include "AXObjectCache.h" |
| #include "IconDatabase.h" |
| #include "IconLoader.h" |
| |
| using namespace WebCore; |
| |
| #define notImplemented() do { fprintf(stderr, "FIXME: UNIMPLEMENTED: %s:%d\n", __FILE__, __LINE__); } while(0) |
| |
| FloatRect Font::selectionRectForComplexText(const TextRun&, const TextStyle&, const IntPoint&, int) const { notImplemented(); return FloatRect(); } |
| int Font::offsetForPositionForComplexText(const TextRun&, const TextStyle&, int, bool) const { notImplemented(); return 0; } |
| |
| |
| void WebCore::refreshPlugins(bool) { notImplemented(); } |
| |
| Color WebCore::focusRingColor() { notImplemented(); return 0xFF0000FF; } |
| |
| void Image::drawTiled(GraphicsContext*, const FloatRect&, const FloatRect&, TileRule, TileRule, CompositeOperator) { notImplemented(); } |
| |
| namespace WebCore { |
| |
| void TextField::selectAll() { notImplemented(); } |
| void TextField::addSearchResult() { notImplemented(); } |
| int TextField::selectionStart() const { notImplemented(); return 0; } |
| bool TextField::hasSelectedText() const { notImplemented(); return 0; } |
| String TextField::selectedText() const { notImplemented(); return String(); } |
| void TextField::setAutoSaveName(String const&) { notImplemented(); } |
| bool TextField::checksDescendantsForFocus() const { notImplemented(); return false; } |
| void TextField::setSelection(int,int) { notImplemented(); } |
| void TextField::setMaxResults(int) { notImplemented(); } |
| bool TextField::edited() const { notImplemented(); return 0; } |
| Widget::FocusPolicy TextField::focusPolicy() const { notImplemented(); return NoFocus; } |
| TextField::TextField(TextField::Type) { notImplemented(); } |
| TextField::~TextField() { notImplemented(); } |
| void TextField::setFont(WebCore::Font const&) { notImplemented(); } |
| void TextField::setAlignment(HorizontalAlignment) { notImplemented(); } |
| void TextField::setWritingDirection(TextDirection) { notImplemented(); } |
| int TextField::maxLength() const { notImplemented(); return 0; } |
| void TextField::setMaxLength(int) { notImplemented(); } |
| String TextField::text() const { notImplemented(); return String(); } |
| void TextField::setText(String const&) { notImplemented(); } |
| int TextField::cursorPosition() const { notImplemented(); return 0; } |
| void TextField::setCursorPosition(int) { notImplemented(); } |
| void TextField::setEdited(bool) { notImplemented(); } |
| void TextField::setReadOnly(bool) { notImplemented(); } |
| void TextField::setPlaceholderString(String const&) { notImplemented(); } |
| void TextField::setColors(Color const&,Color const&) { notImplemented(); } |
| IntSize TextField::sizeForCharacterWidth(int) const { notImplemented(); return IntSize(); } |
| int TextField::baselinePosition(int) const { notImplemented(); return 0; } |
| void TextField::setLiveSearch(bool) { notImplemented(); } |
| |
| Slider::Slider() { notImplemented(); } |
| IntSize Slider::sizeHint() const { notImplemented(); return IntSize(); } |
| Slider::~Slider() { notImplemented(); } |
| void Slider::setValue(double) { notImplemented(); } |
| void Slider::setMaxValue(double) { notImplemented(); } |
| void Slider::setMinValue(double) { notImplemented(); } |
| void Slider::setFont(WebCore::Font const&) { notImplemented(); } |
| double Slider::value() const { notImplemented(); return 0; } |
| Widget::FocusPolicy Slider::focusPolicy() const { notImplemented(); return NoFocus; } |
| |
| Scrollbar::Scrollbar(ScrollbarClient*, ScrollbarOrientation, ScrollbarControlSize) { notImplemented(); } |
| void Scrollbar::setSteps(int, int) { notImplemented(); } |
| bool Scrollbar::scroll(ScrollDirection, ScrollGranularity, float) { notImplemented(); return 0; } |
| bool Scrollbar::setValue(int) { notImplemented(); return 0; } |
| void Scrollbar::setProportion(int, int) { notImplemented(); } |
| |
| PlatformScrollbar::PlatformScrollbar(ScrollbarClient* client, ScrollbarOrientation orientation, ScrollbarControlSize controlSize) : Scrollbar(client, orientation, controlSize) { notImplemented(); } |
| PlatformScrollbar::~PlatformScrollbar() { notImplemented(); } |
| int PlatformScrollbar::width() const { notImplemented(); return 0; } |
| int PlatformScrollbar::height() const { notImplemented(); return 0; } |
| void PlatformScrollbar::setEnabled(bool) { notImplemented(); } |
| void PlatformScrollbar::paint(GraphicsContext*, const IntRect& damageRect) { notImplemented(); } |
| void PlatformScrollbar::updateThumbPosition() { notImplemented(); } |
| void PlatformScrollbar::updateThumbProportion() { notImplemented(); } |
| void PlatformScrollbar::setRect(const IntRect&) { notImplemented(); } |
| |
| PlatformMouseEvent::PlatformMouseEvent(const CurrentEventTag&) { notImplemented(); } |
| |
| void IconLoader::stopLoading() { notImplemented(); } |
| void IconLoader::startLoading() { notImplemented(); } |
| IconLoader* IconLoader::createForFrame(Frame *frame) { return 0; } |
| |
| bool IconDatabase::isIconExpiredForIconURL(const String& url) { return false; } |
| bool IconDatabase::hasEntryForIconURL(const String& url) { return false; } |
| IconDatabase* IconDatabase::sharedIconDatabase() { return 0; } |
| bool IconDatabase::setIconURLForPageURL(const String& iconURL, const String& pageURL) { return false; } |
| |
| void CheckCacheObjectStatus(DocLoader*, CachedResource*) { } |
| bool CheckIfReloading(WebCore::DocLoader*) { return false; } |
| Vector<char> ServeSynchronousRequest(Loader*, DocLoader*, ResourceLoader*, KURL&, DeprecatedString&) { notImplemented(); return Vector<char>(); } |
| time_t CacheObjectExpiresTime(DocLoader*, PlatformResponse) { return 0; } |
| bool ResponseIsMultipart(PlatformResponse) { return false; } |
| DeprecatedString ResponseMIMEType(PlatformResponse) { return DeprecatedString(); } |
| bool IsResponseURLEqualToURL(PlatformResponse , const String& URL) { return false; } |
| DeprecatedString ResponseURL(PlatformResponse) { return DeprecatedString(); } |
| void CachedResource::setResponse(PlatformResponse) { } |
| void CachedResource::setAllData(PlatformData) { } |
| } |
| |
| bool WebCore::historyContains(DeprecatedString const&) { return false; } |
| String WebCore::submitButtonDefaultLabel() { return "Submit"; } |
| String WebCore::inputElementAltText() { return DeprecatedString(); } |
| String WebCore::resetButtonDefaultLabel() { return "Reset"; } |
| String WebCore::defaultLanguage() { return "en"; } |
| String WebCore::searchableIndexIntroduction() { return "Searchable Index"; } |
| String WebCore::fileButtonChooseFileLabel() { return "Choose File"; } |
| String WebCore::fileButtonNoFileSelectedLabel() { return "No file selected"; } |
| |
| int WebCore::findNextSentenceFromIndex(UChar const*, int, int, bool) { notImplemented(); return 0; } |
| void WebCore::findSentenceBoundary(UChar const*, int, int, int*, int*) { notImplemented(); } |
| int WebCore::findNextWordFromIndex(UChar const*, int, int, bool) { notImplemented(); return 0; } |
| void WebCore::findWordBoundary(UChar const* str, int len, int position, int* start, int* end) {*start = position; *end = position; notImplemented(); } |
| |
| void Frame::setNeedsReapplyStyles() { notImplemented(); } |
| |
| int WebCore::screenDepthPerComponent(const Page*) { notImplemented(); return 0; } |
| bool WebCore::screenIsMonochrome(const Page*) { notImplemented(); return false; } |
| |
| void WebCore::setFocusRingColorChangeFunction(void (*)()) { notImplemented(); } |
| |
| void FrameView::updateBorder() { notImplemented(); } |
| bool FrameView::passMousePressEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; } |
| bool FrameView::passMouseMoveEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; } |
| bool FrameView::passMouseReleaseEventToSubframe(MouseEventWithHitTestResults& mev, Frame* subframe) { return true; } |
| bool FrameView::passWheelEventToSubframe(PlatformWheelEvent& e, Frame* subframe) { return false; } |
| bool FrameView::passMousePressEventToScrollbar(MouseEventWithHitTestResults& mev, PlatformScrollbar*) { return false; } |
| |
| bool AXObjectCache::gAccessibilityEnabled = false; |
| |
| Vector<char> loadResourceIntoArray(const char*) { return Vector<char>(); } |
| |
| PluginInfo* PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0; } |
| unsigned PlugInInfoStore::pluginCount() const { notImplemented(); return 0; } |
| bool WebCore::PlugInInfoStore::supportsMIMEType(const WebCore::String&) { return false; } |
| |
| namespace WebCore { |
| |
| Vector<String> supportedKeySizes() { notImplemented(); return Vector<String>(); } |
| String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url) { return String(); } |
| |
| } |
| |
| // vim: ts=4 sw=4 et |