Home | History | Annotate | Download | only in qt
      1 /*
      2  * Copyright (C) 2006, 2007 Apple Inc.  All rights reserved.
      3  * Copyright (C) 2006 Michael Emmel mike.emmel (at) gmail.com
      4  * Copyright (C) 2006 George Staikos <staikos (at) kde.org>
      5  * Copyright (C) 2006 Dirk Mueller <mueller (at) kde.org>
      6  * Copyright (C) 2006 Nikolas Zimmermann <zimmermann (at) kde.org>
      7  * Copyright (C) 2008 Collabora, Ltd.
      8  *
      9  * All rights reserved.
     10  *
     11  * Redistribution and use in source and binary forms, with or without
     12  * modification, are permitted provided that the following conditions
     13  * are met:
     14  * 1. Redistributions of source code must retain the above copyright
     15  *    notice, this list of conditions and the following disclaimer.
     16  * 2. Redistributions in binary form must reproduce the above copyright
     17  *    notice, this list of conditions and the following disclaimer in the
     18  *    documentation and/or other materials provided with the distribution.
     19  *
     20  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
     21  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     22  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     23  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
     24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     27  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     28  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     31  */
     32 
     33 #include "config.h"
     34 
     35 #include "AXObjectCache.h"
     36 #include "CachedResource.h"
     37 #include "CookieJar.h"
     38 #include "CookieStorage.h"
     39 #include "Cursor.h"
     40 #include "DNS.h"
     41 #include "FTPDirectoryDocument.h"
     42 #include "FileSystem.h"
     43 #include "Font.h"
     44 #include "Frame.h"
     45 #include "FrameLoader.h"
     46 #include "FrameView.h"
     47 #include "GraphicsContext.h"
     48 #include "IconLoader.h"
     49 #include "IntPoint.h"
     50 #include "KURL.h"
     51 #include "Language.h"
     52 #include "LocalizedStrings.h"
     53 #include "Node.h"
     54 #include "NotImplemented.h"
     55 #include "Path.h"
     56 #include "PlatformMouseEvent.h"
     57 #include "PluginDatabase.h"
     58 #include "PluginPackage.h"
     59 #include "PluginView.h"
     60 #include "RenderTheme.h"
     61 #include "SharedBuffer.h"
     62 #include "SystemTime.h"
     63 #include "TextBoundaries.h"
     64 #include "Widget.h"
     65 
     66 #include <float.h>
     67 #include <stdio.h>
     68 #include <stdlib.h>
     69 #include <wtf/text/CString.h>
     70 
     71 using namespace WebCore;
     72 
     73 #if defined(Q_OS_WINCE)
     74 Vector<String> PluginDatabase::defaultPluginDirectories()
     75 {
     76     notImplemented();
     77     return Vector<String>();
     78 }
     79 
     80 void PluginDatabase::getPluginPathsInDirectories(HashSet<String>& paths) const
     81 {
     82     notImplemented();
     83 }
     84 
     85 bool PluginDatabase::isPreferredPluginDirectory(const String& directory)
     86 {
     87     notImplemented();
     88     return false;
     89 }
     90 
     91 void PluginView::privateBrowsingStateChanged(bool)
     92 {
     93 }
     94 
     95 PassRefPtr<JSC::Bindings::Instance> PluginView::bindingInstance()
     96 {
     97     return 0;
     98 }
     99 
    100 void PluginView::setJavaScriptPaused(bool)
    101 {
    102 }
    103 #endif
    104 
    105 namespace WebCore {
    106 
    107 void getSupportedKeySizes(Vector<String>&)
    108 {
    109     notImplemented();
    110 }
    111 
    112 String signedPublicKeyAndChallengeString(unsigned, const String&, const KURL&)
    113 {
    114     return String();
    115 }
    116 
    117 #if !defined(Q_OS_WIN)
    118 // defined in win/SystemTimeWin.cpp, which is compiled for the Qt/Windows port
    119 float userIdleTime()
    120 {
    121     notImplemented();
    122     return FLT_MAX; // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed
    123 }
    124 #endif
    125 
    126 void setCookieStoragePrivateBrowsingEnabled(bool)
    127 {
    128     notImplemented();
    129 }
    130 
    131 void startObservingCookieChanges()
    132 {
    133     notImplemented();
    134 }
    135 
    136 void stopObservingCookieChanges()
    137 {
    138     notImplemented();
    139 }
    140 
    141 }
    142 
    143 // vim: ts=4 sw=4 et
    144