Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: components/html_viewer/blink_platform_impl.h

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CachingCorrectnessTest Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698