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

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

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 #include "content/child/blink_platform_impl.h" 5 #include "content/child/blink_platform_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 } 1068 }
1069 1069
1070 blink::WebSyncProvider* BlinkPlatformImpl::backgroundSyncProvider() { 1070 blink::WebSyncProvider* BlinkPlatformImpl::backgroundSyncProvider() {
1071 if (IsMainThread()) 1071 if (IsMainThread())
1072 return main_thread_sync_provider_.get(); 1072 return main_thread_sync_provider_.get();
1073 1073
1074 return BackgroundSyncProvider::GetOrCreateThreadSpecificInstance( 1074 return BackgroundSyncProvider::GetOrCreateThreadSpecificInstance(
1075 main_thread_task_runner_.get()); 1075 main_thread_task_runner_.get());
1076 } 1076 }
1077 1077
1078 blink::WebApiKeyValidator* BlinkPlatformImpl::apiKeyValidator() { 1078 blink::WebTrialTokenValidator* BlinkPlatformImpl::trialTokenValidator() {
1079 return &api_key_validator_; 1079 return &trial_token_validator_;
1080 } 1080 }
1081 1081
1082 WebThemeEngine* BlinkPlatformImpl::themeEngine() { 1082 WebThemeEngine* BlinkPlatformImpl::themeEngine() {
1083 return &native_theme_engine_; 1083 return &native_theme_engine_;
1084 } 1084 }
1085 1085
1086 WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() { 1086 WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() {
1087 return &fallback_theme_engine_; 1087 return &fallback_theme_engine_;
1088 } 1088 }
1089 1089
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 1211 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
1212 static_cast<ui::DomKey>(dom_key))); 1212 static_cast<ui::DomKey>(dom_key)));
1213 } 1213 }
1214 1214
1215 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 1215 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
1216 return static_cast<int>( 1216 return static_cast<int>(
1217 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 1217 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
1218 } 1218 }
1219 1219
1220 } // namespace content 1220 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698