OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
7 | 7 |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual WebKit::WebFileSystem* fileSystem(); | 43 virtual WebKit::WebFileSystem* fileSystem(); |
44 virtual bool sandboxEnabled(); | 44 virtual bool sandboxEnabled(); |
45 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 45 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
46 const WebKit::WebString& vfs_file_name, int desired_flags); | 46 const WebKit::WebString& vfs_file_name, int desired_flags); |
47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
48 bool sync_dir); | 48 bool sync_dir); |
49 virtual long databaseGetFileAttributes( | 49 virtual long databaseGetFileAttributes( |
50 const WebKit::WebString& vfs_file_name); | 50 const WebKit::WebString& vfs_file_name); |
51 virtual long long databaseGetFileSize( | 51 virtual long long databaseGetFileSize( |
52 const WebKit::WebString& vfs_file_name); | 52 const WebKit::WebString& vfs_file_name); |
| 53 virtual long long databaseGetSpaceAvailableForOrigin( |
| 54 const WebKit::WebString& origin_identifier); |
53 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 55 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
54 size_t length); | 56 size_t length); |
55 virtual bool isLinkVisited(unsigned long long linkHash); | 57 virtual bool isLinkVisited(unsigned long long linkHash); |
56 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 58 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
57 virtual void prefetchHostName(const WebKit::WebString&); | 59 virtual void prefetchHostName(const WebKit::WebString&); |
58 virtual WebKit::WebData loadResource(const char* name); | 60 virtual WebKit::WebData loadResource(const char* name); |
59 virtual WebKit::WebString queryLocalizedString( | 61 virtual WebKit::WebString queryLocalizedString( |
60 WebKit::WebLocalizedString::Name name); | 62 WebKit::WebLocalizedString::Name name); |
61 virtual WebKit::WebString queryLocalizedString( | 63 virtual WebKit::WebString queryLocalizedString( |
62 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); | 64 WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 SimpleWebCookieJarImpl cookie_jar_; | 114 SimpleWebCookieJarImpl cookie_jar_; |
113 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 115 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
114 SimpleFileSystem file_system_; | 116 SimpleFileSystem file_system_; |
115 | 117 |
116 #if defined(OS_WIN) | 118 #if defined(OS_WIN) |
117 WebKit::WebThemeEngine* active_theme_engine_; | 119 WebKit::WebThemeEngine* active_theme_engine_; |
118 #endif | 120 #endif |
119 }; | 121 }; |
120 | 122 |
121 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 123 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |