| 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 25 matching lines...) Expand all Loading... |
| 36 std::unique_ptr<blink::WebMessagePortChannel>* channel1, | 36 std::unique_ptr<blink::WebMessagePortChannel>* channel1, |
| 37 std::unique_ptr<blink::WebMessagePortChannel>* channel2) override; | 37 std::unique_ptr<blink::WebMessagePortChannel>* channel2) override; |
| 38 virtual void setCookies(const blink::WebURL& url, | 38 virtual void setCookies(const blink::WebURL& url, |
| 39 const blink::WebURL& first_party_for_cookies, | 39 const blink::WebURL& first_party_for_cookies, |
| 40 const blink::WebString& value); | 40 const blink::WebString& value); |
| 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 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 blink::WebStorageNamespace* CreateLocalStorageNamespace() override; |
| 52 virtual void dispatchStorageEvent(const blink::WebString& key, | 52 virtual void dispatchStorageEvent(const blink::WebString& key, |
| 53 const blink::WebString& oldValue, const blink::WebString& newValue, | 53 const blink::WebString& oldValue, const blink::WebString& newValue, |
| 54 const blink::WebString& origin, const blink::WebURL& url, | 54 const blink::WebString& origin, const blink::WebURL& url, |
| 55 bool isLocalStorage); | 55 bool isLocalStorage); |
| 56 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, | 56 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, |
| 57 bool sync_dir) override; | 57 bool sync_dir) override; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 #if !defined(OS_ANDROID) && !defined(OS_WIN) | 60 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
| 61 class SandboxSupport; | 61 class SandboxSupport; |
| 62 std::unique_ptr<SandboxSupport> sandbox_support_; | 62 std::unique_ptr<SandboxSupport> sandbox_support_; |
| 63 #endif | 63 #endif |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 65 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace content | 68 } // namespace content |
| 69 | 69 |
| 70 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 70 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |