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

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual blink::WebString queryLocalizedString( 153 virtual blink::WebString queryLocalizedString(
154 blink::WebLocalizedString::Name name, 154 blink::WebLocalizedString::Name name,
155 int numeric_value); 155 int numeric_value);
156 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, 156 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name,
157 const blink::WebString& value) override; 157 const blink::WebString& value) override;
158 blink::WebString queryLocalizedString( 158 blink::WebString queryLocalizedString(
159 blink::WebLocalizedString::Name name, 159 blink::WebLocalizedString::Name name,
160 const blink::WebString& value1, 160 const blink::WebString& value1,
161 const blink::WebString& value2) override; 161 const blink::WebString& value2) override;
162 void suddenTerminationChanged(bool enabled) override {} 162 void suddenTerminationChanged(bool enabled) override {}
163 double currentTimeSeconds() override;
164 double monotonicallyIncreasingTimeSeconds() override;
165 double systemTraceTime() override;
166 void cryptographicallyRandomValues(unsigned char* buffer, 163 void cryptographicallyRandomValues(unsigned char* buffer,
167 size_t length) override; 164 size_t length) override;
168 blink::WebThread* compositorThread() const override; 165 blink::WebThread* compositorThread() const override;
169 blink::WebGestureCurve* createFlingAnimationCurve( 166 blink::WebGestureCurve* createFlingAnimationCurve(
170 blink::WebGestureDevice device_source, 167 blink::WebGestureDevice device_source,
171 const blink::WebFloatPoint& velocity, 168 const blink::WebFloatPoint& velocity,
172 const blink::WebSize& cumulative_scroll) override; 169 const blink::WebSize& cumulative_scroll) override;
173 void didStartWorkerRunLoop() override; 170 void didStartWorkerRunLoop() override;
174 void didStopWorkerRunLoop() override; 171 void didStopWorkerRunLoop() override;
175 blink::WebCrypto* crypto() override; 172 blink::WebCrypto* crypto() override;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 scoped_refptr<PushDispatcher> push_dispatcher_; 218 scoped_refptr<PushDispatcher> push_dispatcher_;
222 scoped_ptr<PermissionDispatcher> permission_client_; 219 scoped_ptr<PermissionDispatcher> permission_client_;
223 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 220 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
224 221
225 scheduler::WebThreadBase* compositor_thread_; 222 scheduler::WebThreadBase* compositor_thread_;
226 }; 223 };
227 224
228 } // namespace content 225 } // namespace content
229 226
230 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 227 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698