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 14 matching lines...) Expand all Loading... |
25 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 25 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
26 size_t length); | 26 size_t length); |
27 virtual bool isLinkVisited(unsigned long long linkHash); | 27 virtual bool isLinkVisited(unsigned long long linkHash); |
28 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); | 28 virtual WebKit::WebMessagePortChannel* createMessagePortChannel(); |
29 virtual void setCookies(const WebKit::WebURL& url, | 29 virtual void setCookies(const WebKit::WebURL& url, |
30 const WebKit::WebURL& first_party_for_cookies, | 30 const WebKit::WebURL& first_party_for_cookies, |
31 const WebKit::WebString& value); | 31 const WebKit::WebString& value); |
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&); | |
36 virtual WebKit::WebString defaultLocale(); | 35 virtual WebKit::WebString defaultLocale(); |
37 virtual WebKit::WebThemeEngine* themeEngine(); | 36 virtual WebKit::WebThemeEngine* themeEngine(); |
38 virtual WebKit::WebURLLoader* createURLLoader(); | 37 virtual WebKit::WebURLLoader* createURLLoader(); |
39 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); | 38 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); |
40 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); | 39 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); |
41 virtual WebKit::WebData loadResource(const char* name); | 40 virtual WebKit::WebData loadResource(const char* name); |
42 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); | 41 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace(); |
43 virtual void dispatchStorageEvent(const WebKit::WebString& key, | 42 virtual void dispatchStorageEvent(const WebKit::WebString& key, |
44 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 43 const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |
45 const WebKit::WebString& origin, const WebKit::WebURL& url, | 44 const WebKit::WebString& origin, const WebKit::WebURL& url, |
46 bool isLocalStorage); | 45 bool isLocalStorage); |
47 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 46 virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |
48 bool sync_dir); | 47 bool sync_dir); |
49 | 48 |
50 private: | 49 private: |
51 class SandboxSupport; | 50 class SandboxSupport; |
52 scoped_ptr<SandboxSupport> sandbox_support_; | 51 scoped_ptr<SandboxSupport> sandbox_support_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 53 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
55 }; | 54 }; |
56 | 55 |
57 } // namespace content | 56 } // namespace content |
58 | 57 |
59 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 58 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |