| 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 CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ | 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ |
| 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ | 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/ref_counted.h" | |
| 10 #include "webkit/glue/webfileutilities_impl.h" | 9 #include "webkit/glue/webfileutilities_impl.h" |
| 11 #include "webkit/glue/webkitclient_impl.h" | 10 #include "webkit/glue/webkitclient_impl.h" |
| 12 | 11 |
| 13 class IndexedDBKeyUtilityClient; | 12 class IndexedDBKeyUtilityClient; |
| 14 | 13 |
| 15 class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl { | 14 class BrowserWebKitClientImpl : public webkit_glue::WebKitClientImpl { |
| 16 public: | 15 public: |
| 17 BrowserWebKitClientImpl(); | 16 BrowserWebKitClientImpl(); |
| 18 virtual ~BrowserWebKitClientImpl(); | 17 virtual ~BrowserWebKitClientImpl(); |
| 19 | 18 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 42 virtual WebKit::WebData loadResource(const char* name); | 41 virtual WebKit::WebData loadResource(const char* name); |
| 43 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
| 44 const WebKit::WebString& path, unsigned quota); | 43 const WebKit::WebString& path, unsigned quota); |
| 45 virtual void dispatchStorageEvent(const WebKit::WebString& key, | 44 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
| 46 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 45 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
| 47 const WebKit::WebString& origin, const WebKit::WebURL& url, | 46 const WebKit::WebString& origin, const WebKit::WebURL& url, |
| 48 bool isLocalStorage); | 47 bool isLocalStorage); |
| 49 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 48 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
| 50 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 49 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
| 51 bool sync_dir); | 50 bool sync_dir); |
| 52 virtual void idbShutdown(); | |
| 53 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 51 virtual void createIDBKeysFromSerializedValuesAndKeyPath( |
| 54 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 52 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
| 55 const WebKit::WebString& keyPath, | 53 const WebKit::WebString& keyPath, |
| 56 WebKit::WebVector<WebKit::WebIDBKey>& keys); | 54 WebKit::WebVector<WebKit::WebIDBKey>& keys); |
| 57 | 55 |
| 58 private: | 56 private: |
| 59 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 57 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
| 60 scoped_refptr<IndexedDBKeyUtilityClient> indexed_db_key_utility_client_; | |
| 61 }; | 58 }; |
| 62 | 59 |
| 63 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ | 60 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITCLIENT_IMPL_H_ |
| OLD | NEW |