| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_SUPPORT_TEST_WEBKIT_CLIENT_H_ | 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ |
| 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ | 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ |
| 7 | 7 |
| 8 #include "webkit/glue/webfileutilities_impl.h" | 8 #include "webkit/glue/webfileutilities_impl.h" |
| 9 #include "webkit/glue/webkitclient_impl.h" | 9 #include "webkit/glue/webkitclient_impl.h" |
| 10 #include "webkit/support/simple_database_system.h" | 10 #include "webkit/support/simple_database_system.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 virtual bool sandboxEnabled(); | 34 virtual bool sandboxEnabled(); |
| 35 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( | 35 virtual WebKit::WebKitClient::FileHandle databaseOpenFile( |
| 36 const WebKit::WebString& vfs_file_name, int desired_flags); | 36 const WebKit::WebString& vfs_file_name, int desired_flags); |
| 37 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 37 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 38 bool sync_dir); | 38 bool sync_dir); |
| 39 virtual long databaseGetFileAttributes( | 39 virtual long databaseGetFileAttributes( |
| 40 const WebKit::WebString& vfs_file_name); | 40 const WebKit::WebString& vfs_file_name); |
| 41 virtual long long databaseGetFileSize( | 41 virtual long long databaseGetFileSize( |
| 42 const WebKit::WebString& vfs_file_name); | 42 const WebKit::WebString& vfs_file_name); |
| 43 virtual long long databaseGetSpaceAvailableForOrigin( |
| 44 const WebKit::WebString& origin_identifier); |
| 43 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 45 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
| 44 size_t length); | 46 size_t length); |
| 45 virtual bool isLinkVisited(unsigned long long linkHash); | 47 virtual bool isLinkVisited(unsigned long long linkHash); |
| 46 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 48 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
| 47 virtual void prefetchHostName(const WebKit::WebString&); | 49 virtual void prefetchHostName(const WebKit::WebString&); |
| 48 virtual WebKit::WebURLLoader* createURLLoader(); | 50 virtual WebKit::WebURLLoader* createURLLoader(); |
| 49 virtual WebKit::WebData loadResource(const char* name); | 51 virtual WebKit::WebData loadResource(const char* name); |
| 50 virtual WebKit::WebString queryLocalizedString( | 52 virtual WebKit::WebString queryLocalizedString( |
| 51 WebKit::WebLocalizedString::Name name); | 53 WebKit::WebLocalizedString::Name name); |
| 52 virtual WebKit::WebString queryLocalizedString( | 54 virtual WebKit::WebString queryLocalizedString( |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 WebURLLoaderMockFactory url_loader_factory_; | 104 WebURLLoaderMockFactory url_loader_factory_; |
| 103 bool unit_test_mode_; | 105 bool unit_test_mode_; |
| 104 | 106 |
| 105 #if defined(OS_WIN) || defined(OS_MACOSX) | 107 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 106 WebKit::WebThemeEngine* active_theme_engine_; | 108 WebKit::WebThemeEngine* active_theme_engine_; |
| 107 #endif | 109 #endif |
| 108 DISALLOW_COPY_AND_ASSIGN(TestWebKitClient); | 110 DISALLOW_COPY_AND_ASSIGN(TestWebKitClient); |
| 109 }; | 111 }; |
| 110 | 112 |
| 111 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ | 113 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ |
| OLD | NEW |