OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/common/webkitplatformsupport_impl.h" | 9 #include "content/common/webkitplatformsupport_impl.h" |
10 #include "webkit/glue/webfileutilities_impl.h" | 10 #include "webkit/glue/webfileutilities_impl.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 virtual WebKit::WebString cookies( | 31 virtual WebKit::WebString cookies( |
32 const WebKit::WebURL& url, | 32 const WebKit::WebURL& url, |
33 const WebKit::WebURL& first_party_for_cookies); | 33 const WebKit::WebURL& first_party_for_cookies); |
34 virtual void prefetchHostName(const WebKit::WebString&); | 34 virtual void prefetchHostName(const WebKit::WebString&); |
35 virtual WebKit::WebString defaultLocale(); | 35 virtual WebKit::WebString defaultLocale(); |
36 virtual WebKit::WebThemeEngine* themeEngine(); | 36 virtual WebKit::WebThemeEngine* themeEngine(); |
37 virtual WebKit::WebURLLoader* createURLLoader(); | 37 virtual WebKit::WebURLLoader* createURLLoader(); |
38 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 38 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
39 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 39 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
40 virtual WebKit::WebData loadResource(const char* name); | 40 virtual WebKit::WebData loadResource(const char* name); |
41 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | |
42 const WebKit::WebString& path, unsigned quota); | |
43 virtual void dispatchStorageEvent(const WebKit::WebString& key, | |
44 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | |
45 const WebKit::WebString& origin, const WebKit::WebURL& url, | |
46 bool isLocalStorage); | |
47 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 41 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 42 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
49 bool sync_dir); | 43 bool sync_dir); |
50 virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 44 virtual void createIDBKeysFromSerializedValuesAndKeyPath( |
51 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 45 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
52 const WebKit::WebString& keyPath, | 46 const WebKit::WebString& keyPath, |
53 WebKit::WebVector<WebKit::WebIDBKey>& keys); | 47 WebKit::WebVector<WebKit::WebIDBKey>& keys); |
54 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 48 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
55 const WebKit::WebIDBKey& key, | 49 const WebKit::WebIDBKey& key, |
56 const WebKit::WebSerializedScriptValue& value, | 50 const WebKit::WebSerializedScriptValue& value, |
57 const WebKit::WebString& keyPath); | 51 const WebKit::WebString& keyPath); |
58 | 52 |
59 protected: | 53 protected: |
60 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; | 54 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; |
61 | 55 |
62 private: | 56 private: |
63 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 57 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
64 }; | 58 }; |
65 | 59 |
66 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_
H_ | 60 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_BROWSER_WEBKITPLATFORMSUPPORT_IMPL_
H_ |
OLD | NEW |