| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/threading/thread_local_storage.h" | 9 #include "base/threading/thread_local_storage.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 scheduler::RendererScheduler* renderer_scheduler); | 42 scheduler::RendererScheduler* renderer_scheduler); |
| 43 virtual ~BlinkPlatformImpl(); | 43 virtual ~BlinkPlatformImpl(); |
| 44 | 44 |
| 45 // blink::Platform methods: | 45 // blink::Platform methods: |
| 46 virtual blink::WebCookieJar* cookieJar(); | 46 virtual blink::WebCookieJar* cookieJar(); |
| 47 virtual blink::WebClipboard* clipboard(); | 47 virtual blink::WebClipboard* clipboard(); |
| 48 virtual blink::WebMimeRegistry* mimeRegistry(); | 48 virtual blink::WebMimeRegistry* mimeRegistry(); |
| 49 virtual blink::WebThemeEngine* themeEngine(); | 49 virtual blink::WebThemeEngine* themeEngine(); |
| 50 virtual blink::WebString defaultLocale(); | 50 virtual blink::WebString defaultLocale(); |
| 51 virtual blink::WebBlobRegistry* blobRegistry(); | 51 virtual blink::WebBlobRegistry* blobRegistry(); |
| 52 virtual double currentTime(); | 52 virtual double currentTimeSeconds(); |
| 53 virtual double monotonicallyIncreasingTime(); | 53 virtual double monotonicallyIncreasingTimeSeconds(); |
| 54 virtual void cryptographicallyRandomValues(unsigned char* buffer, | 54 virtual void cryptographicallyRandomValues(unsigned char* buffer, |
| 55 size_t length); | 55 size_t length); |
| 56 virtual bool isThreadedCompositingEnabled(); | 56 virtual bool isThreadedCompositingEnabled(); |
| 57 virtual blink::WebCompositorSupport* compositorSupport(); | 57 virtual blink::WebCompositorSupport* compositorSupport(); |
| 58 uint32_t getUniqueIdForProcess() override; | 58 uint32_t getUniqueIdForProcess() override; |
| 59 void createMessageChannel(blink::WebMessagePortChannel** channel1, | 59 void createMessageChannel(blink::WebMessagePortChannel** channel1, |
| 60 blink::WebMessagePortChannel** channel2) override; | 60 blink::WebMessagePortChannel** channel2) override; |
| 61 virtual blink::WebURLLoader* createURLLoader(); | 61 virtual blink::WebURLLoader* createURLLoader(); |
| 62 virtual blink::WebSocketHandle* createWebSocketHandle(); | 62 virtual blink::WebSocketHandle* createWebSocketHandle(); |
| 63 virtual blink::WebString userAgent(); | 63 virtual blink::WebString userAgent(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 MockWebBlobRegistryImpl blob_registry_; | 117 MockWebBlobRegistryImpl blob_registry_; |
| 118 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 118 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 119 scoped_ptr<WebClipboardImpl> clipboard_; | 119 scoped_ptr<WebClipboardImpl> clipboard_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); | 121 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace html_viewer | 124 } // namespace html_viewer |
| 125 | 125 |
| 126 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 126 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |