| 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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1124 long long BlinkPlatformImpl::databaseGetFileSize( | 1124 long long BlinkPlatformImpl::databaseGetFileSize( |
| 1125 const blink::WebString& vfs_file_name) { | 1125 const blink::WebString& vfs_file_name) { |
| 1126 return 0; | 1126 return 0; |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( | 1129 long long BlinkPlatformImpl::databaseGetSpaceAvailableForOrigin( |
| 1130 const blink::WebString& origin_identifier) { | 1130 const blink::WebString& origin_identifier) { |
| 1131 return 0; | 1131 return 0; |
| 1132 } | 1132 } |
| 1133 | 1133 |
| 1134 bool BlinkPlatformImpl::databaseSetFileSize( |
| 1135 const blink::WebString& vfs_file_name, long long size) { |
| 1136 return false; |
| 1137 } |
| 1138 |
| 1134 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( | 1139 blink::WebString BlinkPlatformImpl::signedPublicKeyAndChallengeString( |
| 1135 unsigned key_size_index, | 1140 unsigned key_size_index, |
| 1136 const blink::WebString& challenge, | 1141 const blink::WebString& challenge, |
| 1137 const blink::WebURL& url) { | 1142 const blink::WebURL& url) { |
| 1138 return blink::WebString(""); | 1143 return blink::WebString(""); |
| 1139 } | 1144 } |
| 1140 | 1145 |
| 1141 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { | 1146 static scoped_ptr<base::ProcessMetrics> CurrentProcessMetrics() { |
| 1142 using base::ProcessMetrics; | 1147 using base::ProcessMetrics; |
| 1143 #if defined(OS_MACOSX) | 1148 #if defined(OS_MACOSX) |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1255 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( | 1260 return WebString::fromUTF8(ui::KeycodeConverter::DomCodeToCodeString( |
| 1256 static_cast<ui::DomCode>(dom_code))); | 1261 static_cast<ui::DomCode>(dom_code))); |
| 1257 } | 1262 } |
| 1258 | 1263 |
| 1259 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { | 1264 int BlinkPlatformImpl::domEnumFromCodeString(const WebString& code) { |
| 1260 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( | 1265 return static_cast<int>(ui::KeycodeConverter::CodeStringToDomCode( |
| 1261 code.utf8().data())); | 1266 code.utf8().data())); |
| 1262 } | 1267 } |
| 1263 | 1268 |
| 1264 } // namespace content | 1269 } // namespace content |
| OLD | NEW |