• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
3  * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
4  * Copyright (C) 2006 George Staikos <staikos@kde.org>
5  * Copyright (C) 2006 Dirk Mueller <mueller@kde.org>
6  * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
7  * Copyright (C) 2007 Ryan Leavengood <leavengood@gmail.com>
8  * Copyright (C) 2009 Maxime Simon <simon.maxime@gmail.com>
9  *
10  * All rights reserved.
11  *
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions
14  * are met:
15  * 1. Redistributions of source code must retain the above copyright
16  *    notice, this list of conditions and the following disclaimer.
17  * 2. Redistributions in binary form must reproduce the above copyright
18  *    notice, this list of conditions and the following disclaimer in the
19  *    documentation and/or other materials provided with the distribution.
20  *
21  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
22  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
24  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
25  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
26  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
29  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32  */
33 
34 #include "config.h"
35 
36 #include "AXObjectCache.h"
37 #include "CachedResource.h"
38 #include "CookieJar.h"
39 #include "Cursor.h"
40 #include "DataGridColumnList.h"
41 #include "FileSystem.h"
42 #include "Font.h"
43 #include "Frame.h"
44 #include "FrameView.h"
45 #include "GraphicsContext.h"
46 #include "History.h"
47 #include "IconLoader.h"
48 #include "InspectorController.h"
49 #include "IntPoint.h"
50 #include "KURL.h"
51 #include "Language.h"
52 #include "Node.h"
53 #include "NotImplemented.h"
54 #include "Path.h"
55 #include "PlatformMouseEvent.h"
56 #include "PlatformScrollBar.h"
57 #include "PluginInfoStore.h"
58 #include "RenderTheme.h"
59 #include "Screen.h"
60 #include "Scrollbar.h"
61 #include "ScrollbarTheme.h"
62 #include "SharedBuffer.h"
63 #include "TextBoundaries.h"
64 #include "Threading.h"
65 #include "Widget.h"
66 #include "loader.h"
67 #include <runtime/JSValue.h>
68 #include <stdio.h>
69 #include <stdlib.h>
70 
71 using namespace WebCore;
72 
loadResourceIntoArray(const char *)73 Vector<char> loadResourceIntoArray(const char*)
74 {
75     notImplemented();
76     return Vector<char>();
77 }
78 
79 namespace WebCore {
80 
historyContains(String const &)81 bool historyContains(String const&)
82 {
83     return false;
84 }
85 
supportedKeySizes()86 Vector<String> supportedKeySizes()
87 {
88     notImplemented();
89     return Vector<String>();
90 }
91 
signedPublicKeyAndChallengeString(unsigned keySizeIndex,const String & challengeString,const KURL & url)92 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String &challengeString, const KURL &url)
93 {
94     return String();
95 }
96 
userIdleTime()97 float userIdleTime()
98 {
99     notImplemented();
100     return 0;
101 }
102 
callOnMainThread(void (*)())103 void callOnMainThread(void (*)())
104 {
105     notImplemented();
106 }
107 
createWithContentsOfFile(const String &)108 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String&)
109 {
110     notImplemented();
111     return 0;
112 }
113 
fileSystemPath() const114 String KURL::fileSystemPath() const
115 {
116     notImplemented();
117     return String();
118 }
119 
getSupportedKeySizes(Vector<String> &)120 void getSupportedKeySizes(Vector<String>&)
121 {
122     notImplemented();
123 }
124 
125 } // namespace WebCore
126 
127