| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 scheduler::RendererScheduler* renderer_scheduler); | 46 scheduler::RendererScheduler* renderer_scheduler); |
| 47 ~BlinkPlatformImpl() override; | 47 ~BlinkPlatformImpl() override; |
| 48 | 48 |
| 49 // blink::Platform methods: | 49 // blink::Platform methods: |
| 50 blink::WebCookieJar* cookieJar() override; | 50 blink::WebCookieJar* cookieJar() override; |
| 51 blink::WebClipboard* clipboard() override; | 51 blink::WebClipboard* clipboard() override; |
| 52 blink::WebMimeRegistry* mimeRegistry() override; | 52 blink::WebMimeRegistry* mimeRegistry() override; |
| 53 blink::WebThemeEngine* themeEngine() override; | 53 blink::WebThemeEngine* themeEngine() override; |
| 54 blink::WebString defaultLocale() override; | 54 blink::WebString defaultLocale() override; |
| 55 blink::WebBlobRegistry* blobRegistry() override; | 55 blink::WebBlobRegistry* blobRegistry() override; |
| 56 double currentTimeSeconds() override; | |
| 57 double monotonicallyIncreasingTimeSeconds() override; | |
| 58 bool isThreadedCompositingEnabled() override; | 56 bool isThreadedCompositingEnabled() override; |
| 59 blink::WebCompositorSupport* compositorSupport() override; | 57 blink::WebCompositorSupport* compositorSupport() override; |
| 60 uint32_t getUniqueIdForProcess() override; | 58 uint32_t getUniqueIdForProcess() override; |
| 61 void createMessageChannel(blink::WebMessagePortChannel** channel1, | 59 void createMessageChannel(blink::WebMessagePortChannel** channel1, |
| 62 blink::WebMessagePortChannel** channel2) override; | 60 blink::WebMessagePortChannel** channel2) override; |
| 63 blink::WebURLLoader* createURLLoader() override; | 61 blink::WebURLLoader* createURLLoader() override; |
| 64 blink::WebSocketHandle* createWebSocketHandle() override; | 62 blink::WebSocketHandle* createWebSocketHandle() override; |
| 65 blink::WebString userAgent() override; | 63 blink::WebString userAgent() override; |
| 66 blink::WebData parseDataURL(const blink::WebURL& url, | 64 blink::WebData parseDataURL(const blink::WebURL& url, |
| 67 blink::WebString& mime_type, | 65 blink::WebString& mime_type, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 MockWebBlobRegistryImpl blob_registry_; | 115 MockWebBlobRegistryImpl blob_registry_; |
| 118 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 116 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 119 scoped_ptr<WebClipboardImpl> clipboard_; | 117 scoped_ptr<WebClipboardImpl> clipboard_; |
| 120 | 118 |
| 121 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); | 119 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); |
| 122 }; | 120 }; |
| 123 | 121 |
| 124 } // namespace html_viewer | 122 } // namespace html_viewer |
| 125 | 123 |
| 126 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 124 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |