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/blink_platform_impl.h" | 10 #include "content/child/blink_platform_impl.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // WebKitPlatformSupport methods: | 22 // WebKitPlatformSupport methods: |
23 virtual blink::WebClipboard* clipboard(); | 23 virtual blink::WebClipboard* clipboard(); |
24 virtual blink::WebMimeRegistry* mimeRegistry(); | 24 virtual blink::WebMimeRegistry* mimeRegistry(); |
25 virtual blink::WebFileUtilities* fileUtilities(); | 25 virtual blink::WebFileUtilities* fileUtilities(); |
26 virtual blink::WebSandboxSupport* sandboxSupport(); | 26 virtual blink::WebSandboxSupport* sandboxSupport(); |
27 virtual bool sandboxEnabled(); | 27 virtual bool sandboxEnabled(); |
28 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 28 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
29 size_t length); | 29 size_t length); |
30 virtual bool isLinkVisited(unsigned long long linkHash); | 30 virtual bool isLinkVisited(unsigned long long linkHash); |
31 virtual blink::WebMessagePortChannel* createMessagePortChannel(); | 31 virtual void createMessageChannel(blink::WebMessagePortChannel** channel1, |
| 32 blink::WebMessagePortChannel** channel2); |
32 virtual void setCookies(const blink::WebURL& url, | 33 virtual void setCookies(const blink::WebURL& url, |
33 const blink::WebURL& first_party_for_cookies, | 34 const blink::WebURL& first_party_for_cookies, |
34 const blink::WebString& value); | 35 const blink::WebString& value); |
35 virtual blink::WebString cookies( | 36 virtual blink::WebString cookies( |
36 const blink::WebURL& url, | 37 const blink::WebURL& url, |
37 const blink::WebURL& first_party_for_cookies); | 38 const blink::WebURL& first_party_for_cookies); |
38 virtual blink::WebString defaultLocale(); | 39 virtual blink::WebString defaultLocale(); |
39 virtual blink::WebThemeEngine* themeEngine(); | 40 virtual blink::WebThemeEngine* themeEngine(); |
40 virtual blink::WebURLLoader* createURLLoader(); | 41 virtual blink::WebURLLoader* createURLLoader(); |
41 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); | 42 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); |
(...skipping 10 matching lines...) Expand all Loading... |
52 private: | 53 private: |
53 class SandboxSupport; | 54 class SandboxSupport; |
54 scoped_ptr<SandboxSupport> sandbox_support_; | 55 scoped_ptr<SandboxSupport> sandbox_support_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 57 DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace content | 60 } // namespace content |
60 | 61 |
61 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 62 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |