| 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 26 matching lines...) Expand all Loading... |
| 37 blink::WebMessagePortChannel** channel2) override; | 37 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 blink::WebURLLoader* createURLLoader() override; |
| 47 void getPluginList(bool refresh, blink::WebPluginListBuilder*) override; | 47 void getPluginList(bool refresh, |
| 48 const blink::WebSecurityOrigin& mainFrameOrigin, |
| 49 blink::WebPluginListBuilder*) override; |
| 48 blink::WebData loadResource(const char* name) override; | 50 blink::WebData loadResource(const char* name) override; |
| 49 blink::WebStorageNamespace* createLocalStorageNamespace() override; | 51 blink::WebStorageNamespace* createLocalStorageNamespace() override; |
| 50 virtual void dispatchStorageEvent(const blink::WebString& key, | 52 virtual void dispatchStorageEvent(const blink::WebString& key, |
| 51 const blink::WebString& oldValue, const blink::WebString& newValue, | 53 const blink::WebString& oldValue, const blink::WebString& newValue, |
| 52 const blink::WebString& origin, const blink::WebURL& url, | 54 const blink::WebString& origin, const blink::WebURL& url, |
| 53 bool isLocalStorage); | 55 bool isLocalStorage); |
| 54 int databaseDeleteFile(const blink::WebString& vfs_file_name, | 56 int databaseDeleteFile(const blink::WebString& vfs_file_name, |
| 55 bool sync_dir) override; | 57 bool sync_dir) override; |
| 56 | 58 |
| 57 private: | 59 private: |
| 58 #if !defined(OS_ANDROID) && !defined(OS_WIN) | 60 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
| 59 class SandboxSupport; | 61 class SandboxSupport; |
| 60 std::unique_ptr<SandboxSupport> sandbox_support_; | 62 std::unique_ptr<SandboxSupport> sandbox_support_; |
| 61 #endif | 63 #endif |
| 62 | 64 |
| 63 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 65 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 } // namespace content | 68 } // namespace content |
| 67 | 69 |
| 68 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 70 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |