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

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

Issue 1635593004: Rename Experimental Framework classes and concepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/containers/scoped_ptr_hash_map.h" 12 #include "base/containers/scoped_ptr_hash_map.h"
13 #include "base/threading/thread_local_storage.h" 13 #include "base/threading/thread_local_storage.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "components/webcrypto/webcrypto_impl.h" 17 #include "components/webcrypto/webcrypto_impl.h"
18 #include "content/child/experiments/api_key_validator.h" 18 #include "content/child/origin_trials/trial_token_validator.h"
19 #include "content/child/webfallbackthemeengine_impl.h" 19 #include "content/child/webfallbackthemeengine_impl.h"
20 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
21 #include "third_party/WebKit/public/platform/Platform.h" 21 #include "third_party/WebKit/public/platform/Platform.h"
22 #include "third_party/WebKit/public/platform/WebGestureDevice.h" 22 #include "third_party/WebKit/public/platform/WebGestureDevice.h"
23 #include "third_party/WebKit/public/platform/WebURLError.h" 23 #include "third_party/WebKit/public/platform/WebURLError.h"
24 #include "ui/base/layout.h" 24 #include "ui/base/layout.h"
25 25
26 #if defined(USE_DEFAULT_RENDER_THEME) 26 #if defined(USE_DEFAULT_RENDER_THEME)
27 #include "content/child/webthemeengine_impl_default.h" 27 #include "content/child/webthemeengine_impl_default.h"
28 #elif defined(OS_WIN) 28 #elif defined(OS_WIN)
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void didStartWorkerThread() override; 155 void didStartWorkerThread() override;
156 void willStopWorkerThread() override; 156 void willStopWorkerThread() override;
157 blink::WebCrypto* crypto() override; 157 blink::WebCrypto* crypto() override;
158 blink::WebGeofencingProvider* geofencingProvider() override; 158 blink::WebGeofencingProvider* geofencingProvider() override;
159 blink::WebNotificationManager* notificationManager() override; 159 blink::WebNotificationManager* notificationManager() override;
160 blink::WebPushProvider* pushProvider() override; 160 blink::WebPushProvider* pushProvider() override;
161 blink::WebServicePortProvider* createServicePortProvider( 161 blink::WebServicePortProvider* createServicePortProvider(
162 blink::WebServicePortProviderClient*) override; 162 blink::WebServicePortProviderClient*) override;
163 blink::WebPermissionClient* permissionClient() override; 163 blink::WebPermissionClient* permissionClient() override;
164 blink::WebSyncProvider* backgroundSyncProvider() override; 164 blink::WebSyncProvider* backgroundSyncProvider() override;
165 blink::WebApiKeyValidator* apiKeyValidator() override; 165 blink::WebTrialTokenValidator* trialTokenValidator() override;
166 166
167 blink::WebString domCodeStringFromEnum(int dom_code) override; 167 blink::WebString domCodeStringFromEnum(int dom_code) override;
168 int domEnumFromCodeString(const blink::WebString& codeString) override; 168 int domEnumFromCodeString(const blink::WebString& codeString) override;
169 blink::WebString domKeyStringFromEnum(int dom_key) override; 169 blink::WebString domKeyStringFromEnum(int dom_key) override;
170 int domKeyEnumFromString(const blink::WebString& key_string) override; 170 int domKeyEnumFromString(const blink::WebString& key_string) override;
171 171
172 // This class does *not* own the compositor thread. It is the responsibility 172 // This class does *not* own the compositor thread. It is the responsibility
173 // of the caller to ensure that the compositor thread is cleared before it is 173 // of the caller to ensure that the compositor thread is cleared before it is
174 // destructed. 174 // destructed.
175 void SetCompositorThread(scheduler::WebThreadBase* compositor_thread); 175 void SetCompositorThread(scheduler::WebThreadBase* compositor_thread);
(...skipping 17 matching lines...) Expand all
193 base::ScopedPtrHashMap<blink::Platform::TraceLogEnabledStateObserver*, 193 base::ScopedPtrHashMap<blink::Platform::TraceLogEnabledStateObserver*,
194 scoped_ptr<TraceLogObserverAdapter>> 194 scoped_ptr<TraceLogObserverAdapter>>
195 trace_log_observers_; 195 trace_log_observers_;
196 196
197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; 197 scoped_refptr<ThreadSafeSender> thread_safe_sender_;
198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; 198 scoped_refptr<NotificationDispatcher> notification_dispatcher_;
199 scoped_refptr<PushDispatcher> push_dispatcher_; 199 scoped_refptr<PushDispatcher> push_dispatcher_;
200 scoped_ptr<PermissionDispatcher> permission_client_; 200 scoped_ptr<PermissionDispatcher> permission_client_;
201 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; 201 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_;
202 202
203 ApiKeyValidator api_key_validator_; 203 TrialTokenValidator trial_token_validator_;
204 204
205 scheduler::WebThreadBase* compositor_thread_; 205 scheduler::WebThreadBase* compositor_thread_;
206 }; 206 };
207 207
208 } // namespace content 208 } // namespace content
209 209
210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ 210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | content/child/origin_trials/trial_token_validator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698