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 "DNS.h" 37 #include "CString.h" 38 #include "CachedResource.h" 39 #include "CookieJar.h" 40 #include "Cursor.h" 41 #include "Font.h" 42 #include "Frame.h" 43 #include "FrameLoader.h" 44 #include "FTPDirectoryDocument.h" 45 #include "IntPoint.h" 46 #include "Widget.h" 47 #include "GraphicsContext.h" 48 #include "Cursor.h" 49 #include "loader.h" 50 #include "FileSystem.h" 51 #include "FrameView.h" 52 #include "GraphicsContext.h" 53 #include "IconLoader.h" 54 #include "IntPoint.h" 55 #include "KURL.h" 56 #include "Language.h" 57 #include "loader.h" 58 #include "LocalizedStrings.h" 59 #include "Node.h" 60 #include "NotImplemented.h" 61 #include "Path.h" 62 #include "PlatformMouseEvent.h" 63 #include "PluginDatabase.h" 64 #include "PluginPackage.h" 65 #include "PluginView.h" 66 #include "RenderTheme.h" 67 #include "SharedBuffer.h" 68 #include "SystemTime.h" 69 #include "TextBoundaries.h" 70 #include "Widget.h" 71 #include <stdio.h> 72 #include <stdlib.h> 73 #include <float.h> 74 75 using namespace WebCore; 76 77 #if defined(Q_OS_WINCE) 78 Vector<String> PluginDatabase::defaultPluginDirectories() 79 { 80 notImplemented(); 81 return Vector<String>(); 82 } 83 84 void PluginDatabase::getPluginPathsInDirectories(HashSet<String>& paths) const 85 { 86 notImplemented(); 87 } 88 89 bool PluginDatabase::isPreferredPluginDirectory(const String& directory) 90 { 91 notImplemented(); 92 return false; 93 } 94 #endif 95 96 namespace WebCore { 97 98 void getSupportedKeySizes(Vector<String>&) 99 { 100 notImplemented(); 101 } 102 103 String signedPublicKeyAndChallengeString(unsigned, const String&, const KURL&) 104 { 105 return String(); 106 } 107 108 #if !defined(Q_OS_WIN) 109 // defined in win/SystemTimeWin.cpp, which is compiled for the Qt/Windows port 110 float userIdleTime() 111 { 112 notImplemented(); 113 return FLT_MAX; // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed 114 } 115 #endif 116 117 } 118 119 // vim: ts=4 sw=4 et 120