| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #include <math.h> | 5 #include <math.h> |
| 6 #include "config.h" | 6 #include "config.h" |
| 7 | 7 |
| 8 #include "FrameView.h" | 8 #include "FrameView.h" |
| 9 #include "ScrollView.h" | 9 #include "ScrollView.h" |
| 10 #include <wtf/Assertions.h> | 10 #include <wtf/Assertions.h> |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 long WebKitClientImpl::databaseGetFileAttributes( | 325 long WebKitClientImpl::databaseGetFileAttributes( |
| 326 const WebKit::WebString& file_name) { | 326 const WebKit::WebString& file_name) { |
| 327 return 0; | 327 return 0; |
| 328 } | 328 } |
| 329 | 329 |
| 330 long long WebKitClientImpl::databaseGetFileSize( | 330 long long WebKitClientImpl::databaseGetFileSize( |
| 331 const WebKit::WebString& file_name) { | 331 const WebKit::WebString& file_name) { |
| 332 return 0; | 332 return 0; |
| 333 } | 333 } |
| 334 | 334 |
| 335 WebKit::WebString WebKitClientImpl::signedPublicKeyAndChallengeString( |
| 336 unsigned key_size_index, |
| 337 const WebKit::WebString& challenge, |
| 338 const WebKit::WebURL& url) { |
| 339 NOTREACHED(); |
| 340 return WebKit::WebString(); |
| 341 } |
| 342 |
| 335 bool WebKitClientImpl::fileExists(const WebKit::WebString& path) { | 343 bool WebKitClientImpl::fileExists(const WebKit::WebString& path) { |
| 336 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path); | 344 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path); |
| 337 return file_util::PathExists(FilePath(file_path)); | 345 return file_util::PathExists(FilePath(file_path)); |
| 338 } | 346 } |
| 339 | 347 |
| 340 bool WebKitClientImpl::deleteFile(const WebKit::WebString& path) { | 348 bool WebKitClientImpl::deleteFile(const WebKit::WebString& path) { |
| 341 NOTREACHED(); | 349 NOTREACHED(); |
| 342 return false; | 350 return false; |
| 343 } | 351 } |
| 344 | 352 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 return file_util::DirectoryExists(file_path); | 521 return file_util::DirectoryExists(file_path); |
| 514 } | 522 } |
| 515 | 523 |
| 516 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { | 524 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { |
| 517 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); | 525 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); |
| 518 GURL file_url = net::FilePathToFileURL(file_path); | 526 GURL file_url = net::FilePathToFileURL(file_path); |
| 519 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); | 527 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); |
| 520 } | 528 } |
| 521 | 529 |
| 522 } // namespace webkit_glue | 530 } // namespace webkit_glue |
| OLD | NEW |