OLD | NEW |
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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 const blink::WebString& vfs_file_name) { | 947 const blink::WebString& vfs_file_name) { |
948 return 0; | 948 return 0; |
949 } | 949 } |
950 | 950 |
951 long long BlinkPlatformImpl::databaseGetFileSize( | 951 long long BlinkPlatformImpl::databaseGetFileSize( |
952 const blink::WebString& vfs_file_name) { | 952 const blink::WebString& vfs_file_name) { |
953 return 0; | 953 return 0; |
954 } | 954 } |
955 | 955 |
956 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( | 956 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( |
957 const blink::WebString& origin_identifier) { | 957 const blink::WebSecurityOrigin& origin) { |
958 return 0; | 958 return 0; |
959 } | 959 } |
960 | 960 |
961 bool BlinkPlatformImpl::databaseSetFileSize( | 961 bool BlinkPlatformImpl::databaseSetFileSize( |
962 const blink::WebString& vfs_file_name, long long size) { | 962 const blink::WebString& vfs_file_name, long long size) { |
963 return false; | 963 return false; |
964 } | 964 } |
965 | 965 |
966 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( | 966 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( |
967 unsigned key_size_index, | 967 unsigned key_size_index, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1024 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( | 1024 return WebString::fromUTF8(ui::KeycodeConverter::DomKeyToKeyString( |
1025 static_cast<ui::DomKey>(dom_key))); | 1025 static_cast<ui::DomKey>(dom_key))); |
1026 } | 1026 } |
1027 | 1027 |
1028 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { | 1028 int BlinkPlatformImpl::domKeyEnumFromString(const WebString& key_string) { |
1029 return static_cast<int>( | 1029 return static_cast<int>( |
1030 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); | 1030 ui::KeycodeConverter::KeyStringToDomKey(key_string.utf8())); |
1031 } | 1031 } |
1032 | 1032 |
1033 } // namespace content | 1033 } // namespace content |
OLD | NEW |