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_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 30 matching lines...) Expand all Loading... |
41 virtual blink::WebString cookies( | 41 virtual blink::WebString cookies( |
42 const blink::WebURL& url, | 42 const blink::WebURL& url, |
43 const blink::WebURL& first_party_for_cookies); | 43 const blink::WebURL& first_party_for_cookies); |
44 blink::WebString DefaultLocale() override; | 44 blink::WebString DefaultLocale() override; |
45 blink::WebThemeEngine* ThemeEngine() override; | 45 blink::WebThemeEngine* ThemeEngine() override; |
46 std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override; | 46 std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override; |
47 void GetPluginList(bool refresh, | 47 void GetPluginList(bool refresh, |
48 const blink::WebSecurityOrigin& mainFrameOrigin, | 48 const blink::WebSecurityOrigin& mainFrameOrigin, |
49 blink::WebPluginListBuilder*) override; | 49 blink::WebPluginListBuilder*) override; |
50 blink::WebData LoadResource(const char* name) override; | 50 blink::WebData LoadResource(const char* name) override; |
51 blink::WebStorageNamespace* CreateLocalStorageNamespace() override; | 51 std::unique_ptr<blink::WebStorageNamespace> CreateLocalStorageNamespace() |
| 52 override; |
52 virtual void dispatchStorageEvent(const blink::WebString& key, | 53 virtual void dispatchStorageEvent(const blink::WebString& key, |
53 const blink::WebString& oldValue, const blink::WebString& newValue, | 54 const blink::WebString& oldValue, const blink::WebString& newValue, |
54 const blink::WebString& origin, const blink::WebURL& url, | 55 const blink::WebString& origin, const blink::WebURL& url, |
55 bool isLocalStorage); | 56 bool isLocalStorage); |
56 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, | 57 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, |
57 bool sync_dir) override; | 58 bool sync_dir) override; |
58 | 59 |
59 private: | 60 private: |
60 #if !defined(OS_ANDROID) && !defined(OS_WIN) | 61 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
61 class SandboxSupport; | 62 class SandboxSupport; |
62 std::unique_ptr<SandboxSupport> sandbox_support_; | 63 std::unique_ptr<SandboxSupport> sandbox_support_; |
63 #endif | 64 #endif |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 66 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace content | 69 } // namespace content |
69 | 70 |
70 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 71 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |