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_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/child/webkitplatformsupport_impl.h" | 10 #include "content/child/webkitplatformsupport_impl.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual WebKit::WebString cookies( | 32 virtual WebKit::WebString cookies( |
33 const WebKit::WebURL& url, | 33 const WebKit::WebURL& url, |
34 const WebKit::WebURL& first_party_for_cookies); | 34 const WebKit::WebURL& first_party_for_cookies); |
35 virtual void prefetchHostName(const WebKit::WebString&); | 35 virtual void prefetchHostName(const WebKit::WebString&); |
36 virtual WebKit::WebString defaultLocale(); | 36 virtual WebKit::WebString defaultLocale(); |
37 virtual WebKit::WebThemeEngine* themeEngine(); | 37 virtual WebKit::WebThemeEngine* themeEngine(); |
38 virtual WebKit::WebURLLoader* createURLLoader(); | 38 virtual WebKit::WebURLLoader* createURLLoader(); |
39 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 39 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
40 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 40 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
41 virtual WebKit::WebData loadResource(const char* name); | 41 virtual WebKit::WebData loadResource(const char* name); |
42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); |
43 const WebKit::WebString& path, unsigned quota); | |
44 virtual void dispatchStorageEvent(const WebKit::WebString& key, | 43 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
45 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 44 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
46 const WebKit::WebString& origin, const WebKit::WebURL& url, | 45 const WebKit::WebString& origin, const WebKit::WebURL& url, |
47 bool isLocalStorage); | 46 bool isLocalStorage); |
48 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
49 bool sync_dir); | 48 bool sync_dir); |
50 | 49 |
51 private: | 50 private: |
52 class SandboxSupport; | 51 class SandboxSupport; |
53 scoped_ptr<SandboxSupport> sandbox_support_; | 52 scoped_ptr<SandboxSupport> sandbox_support_; |
54 | 53 |
55 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 54 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
56 }; | 55 }; |
57 | 56 |
58 } // namespace content | 57 } // namespace content |
59 | 58 |
60 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 59 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |