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

Side by Side Diff: content/child/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
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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/containers/scoped_ptr_hash_map.h" 9 #include "base/containers/scoped_ptr_hash_map.h"
10 #include "base/threading/thread_local_storage.h" 10 #include "base/threading/thread_local_storage.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual blink::WebString queryLocalizedString( 158 virtual blink::WebString queryLocalizedString(
159 blink::WebLocalizedString::Name name, 159 blink::WebLocalizedString::Name name,
160 int numeric_value); 160 int numeric_value);
161 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, 161 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name,
162 const blink::WebString& value) override; 162 const blink::WebString& value) override;
163 blink::WebString queryLocalizedString( 163 blink::WebString queryLocalizedString(
164 blink::WebLocalizedString::Name name, 164 blink::WebLocalizedString::Name name,
165 const blink::WebString& value1, 165 const blink::WebString& value1,
166 const blink::WebString& value2) override; 166 const blink::WebString& value2) override;
167 void suddenTerminationChanged(bool enabled) override {} 167 void suddenTerminationChanged(bool enabled) override {}
168 double currentTime() override; 168 double currentTimeSeconds() override;
169 double monotonicallyIncreasingTime() override; 169 double monotonicallyIncreasingTimeSeconds() override;
170 double systemTraceTime() override; 170 double systemTraceTime() override;
171 void cryptographicallyRandomValues(unsigned char* buffer, 171 void cryptographicallyRandomValues(unsigned char* buffer,
172 size_t length) override; 172 size_t length) override;
173 blink::WebGestureCurve* createFlingAnimationCurve( 173 blink::WebGestureCurve* createFlingAnimationCurve(
174 blink::WebGestureDevice device_source, 174 blink::WebGestureDevice device_source,
175 const blink::WebFloatPoint& velocity, 175 const blink::WebFloatPoint& velocity,
176 const blink::WebSize& cumulative_scroll) override; 176 const blink::WebSize& cumulative_scroll) override;
177 void didStartWorkerRunLoop() override; 177 void didStartWorkerRunLoop() override;
178 void didStopWorkerRunLoop() override; 178 void didStopWorkerRunLoop() override;
179 blink::WebCrypto* crypto() override; 179 blink::WebCrypto* crypto() override;
(...skipping 29 matching lines...) Expand all
209 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 209 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
210 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 210 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
211 scoped_refptr<PushDispatcher> push_dispatcher_; 211 scoped_refptr<PushDispatcher> push_dispatcher_;
212 scoped_ptr<PermissionDispatcher> permission_client_; 212 scoped_ptr<PermissionDispatcher> permission_client_;
213 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 213 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
214 }; 214 };
215 215
216 } // namespace content 216 } // namespace content
217 217
218 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 218 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « components/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc ('k') | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698