| 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/weburl_loader_mock_factory.h" | 10 #include "webkit/support/weburl_loader_mock_factory.h" | 
| (...skipping 29 matching lines...) Expand all  Loading... | 
| 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 unsigned long long visitedLinkHash(const char* canonicalURL, | 43   virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 
| 44                                              size_t length); | 44                                              size_t length); | 
| 45   virtual bool isLinkVisited(unsigned long long linkHash); | 45   virtual bool isLinkVisited(unsigned long long linkHash); | 
| 46   virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 46   virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 
| 47   virtual void prefetchHostName(const WebKit::WebString&); | 47   virtual void prefetchHostName(const WebKit::WebString&); | 
| 48   virtual WebKit::WebURLLoader* createURLLoader(); | 48   virtual WebKit::WebURLLoader* createURLLoader(); | 
| 49   virtual WebKit::WebData loadResource(const char* name); | 49   virtual WebKit::WebData loadResource(const char* name); | 
|  | 50   virtual WebKit::WebString queryLocalizedString( | 
|  | 51       WebKit::WebLocalizedString::Name name); | 
|  | 52   virtual WebKit::WebString queryLocalizedString( | 
|  | 53       WebKit::WebLocalizedString::Name name, const WebKit::WebString& value); | 
|  | 54   virtual WebKit::WebString queryLocalizedString( | 
|  | 55       WebKit::WebLocalizedString::Name name, | 
|  | 56       const WebKit::WebString& value1, const WebKit::WebString& value2); | 
| 50   virtual WebKit::WebString defaultLocale(); | 57   virtual WebKit::WebString defaultLocale(); | 
| 51   virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 58   virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 
| 52       const WebKit::WebString& path, unsigned quota); | 59       const WebKit::WebString& path, unsigned quota); | 
| 53 | 60 | 
| 54   void dispatchStorageEvent(const WebKit::WebString& key, | 61   void dispatchStorageEvent(const WebKit::WebString& key, | 
| 55       const WebKit::WebString& old_value, const WebKit::WebString& new_value, | 62       const WebKit::WebString& old_value, const WebKit::WebString& new_value, | 
| 56       const WebKit::WebString& origin, const WebKit::WebURL& url, | 63       const WebKit::WebString& origin, const WebKit::WebURL& url, | 
| 57       bool is_local_storage); | 64       bool is_local_storage); | 
| 58   virtual WebKit::WebIDBFactory* idbFactory(); | 65   virtual WebKit::WebIDBFactory* idbFactory(); | 
| 59   virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 66   virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 91   WebURLLoaderMockFactory url_loader_factory_; | 98   WebURLLoaderMockFactory url_loader_factory_; | 
| 92   bool unit_test_mode_; | 99   bool unit_test_mode_; | 
| 93 | 100 | 
| 94 #if defined(OS_WIN) | 101 #if defined(OS_WIN) | 
| 95   WebKit::WebThemeEngine* active_theme_engine_; | 102   WebKit::WebThemeEngine* active_theme_engine_; | 
| 96 #endif | 103 #endif | 
| 97   DISALLOW_COPY_AND_ASSIGN(TestWebKitClient); | 104   DISALLOW_COPY_AND_ASSIGN(TestWebKitClient); | 
| 98 }; | 105 }; | 
| 99 | 106 | 
| 100 #endif  // WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ | 107 #endif  // WEBKIT_SUPPORT_TEST_WEBKIT_CLIENT_H_ | 
| OLD | NEW | 
|---|