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 ~BlinkPlatformImpl() override; | 43 ~BlinkPlatformImpl() override; |
44 | 44 |
45 // blink::Platform methods: | 45 // blink::Platform methods: |
46 blink::WebCookieJar* cookieJar() override; | 46 blink::WebCookieJar* cookieJar() override; |
47 blink::WebClipboard* clipboard() override; | 47 blink::WebClipboard* clipboard() override; |
48 blink::WebMimeRegistry* mimeRegistry() override; | 48 blink::WebMimeRegistry* mimeRegistry() override; |
49 blink::WebThemeEngine* themeEngine() override; | 49 blink::WebThemeEngine* themeEngine() override; |
50 blink::WebString defaultLocale() override; | 50 blink::WebString defaultLocale() override; |
51 blink::WebBlobRegistry* blobRegistry() override; | 51 blink::WebBlobRegistry* blobRegistry() override; |
52 double currentTimeSeconds() override; | |
53 double monotonicallyIncreasingTimeSeconds() override; | |
54 void cryptographicallyRandomValues(unsigned char* buffer, | 52 void cryptographicallyRandomValues(unsigned char* buffer, |
55 size_t length) override; | 53 size_t length) override; |
56 bool isThreadedCompositingEnabled() override; | 54 bool isThreadedCompositingEnabled() override; |
57 blink::WebCompositorSupport* compositorSupport() override; | 55 blink::WebCompositorSupport* compositorSupport() override; |
58 uint32_t getUniqueIdForProcess() override; | 56 uint32_t getUniqueIdForProcess() override; |
59 void createMessageChannel(blink::WebMessagePortChannel** channel1, | 57 void createMessageChannel(blink::WebMessagePortChannel** channel1, |
60 blink::WebMessagePortChannel** channel2) override; | 58 blink::WebMessagePortChannel** channel2) override; |
61 blink::WebURLLoader* createURLLoader() override; | 59 blink::WebURLLoader* createURLLoader() override; |
62 blink::WebSocketHandle* createWebSocketHandle() override; | 60 blink::WebSocketHandle* createWebSocketHandle() override; |
63 blink::WebString userAgent() override; | 61 blink::WebString userAgent() override; |
(...skipping 53 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 |