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

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, 10 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
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/experiments/api_key_validator.h » ('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 #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 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 } 1055 }
1056 1056
1057 blink::WebSyncProvider* BlinkPlatformImpl::backgroundSyncProvider() { 1057 blink::WebSyncProvider* BlinkPlatformImpl::backgroundSyncProvider() {
1058 if (IsMainThread()) 1058 if (IsMainThread())
1059 return main_thread_sync_provider_.get(); 1059 return main_thread_sync_provider_.get();
1060 1060
1061 return BackgroundSyncProvider::GetOrCreateThreadSpecificInstance( 1061 return BackgroundSyncProvider::GetOrCreateThreadSpecificInstance(
1062 main_thread_task_runner_.get()); 1062 main_thread_task_runner_.get());
1063 } 1063 }
1064 1064
1065 blink::WebApiKeyValidator* BlinkPlatformImpl::apiKeyValidator() { 1065 blink::WebTrialTokenValidator* BlinkPlatformImpl::trialTokenValidator() {
1066 return &api_key_validator_; 1066 return &trial_token_validator_;
1067 } 1067 }
1068 1068
1069 WebThemeEngine* BlinkPlatformImpl::themeEngine() { 1069 WebThemeEngine* BlinkPlatformImpl::themeEngine() {
1070 return &native_theme_engine_; 1070 return &native_theme_engine_;
1071 } 1071 }
1072 1072
1073 WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() { 1073 WebFallbackThemeEngine* BlinkPlatformImpl::fallbackThemeEngine() {
1074 return &fallback_theme_engine_; 1074 return &fallback_theme_engine_;
1075 } 1075 }
1076 1076
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( 1198 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString(
1199 static_cast<ui::DomKey>(dom_key))); 1199 static_cast<ui::DomKey>(dom_key)));
1200 } 1200 }
1201 1201
1202 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { 1202 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) {
1203 return static_cast<int>( 1203 return static_cast<int>(
1204 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); 1204 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8()));
1205 } 1205 }
1206 1206
1207 } // namespace content 1207 } // namespace content
OLDNEW
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | content/child/experiments/api_key_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698