| 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "FrameView.h" | 7 #include "FrameView.h" |
| 8 #include "ScrollView.h" | 8 #include "ScrollView.h" |
| 9 #include <wtf/Assertions.h> | 9 #include <wtf/Assertions.h> |
| 10 #undef LOG | 10 #undef LOG |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 } | 276 } |
| 277 | 277 |
| 278 void WebKitClientImpl::stopSharedTimer() { | 278 void WebKitClientImpl::stopSharedTimer() { |
| 279 shared_timer_.Stop(); | 279 shared_timer_.Stop(); |
| 280 } | 280 } |
| 281 | 281 |
| 282 void WebKitClientImpl::callOnMainThread(void (*func)()) { | 282 void WebKitClientImpl::callOnMainThread(void (*func)()) { |
| 283 main_loop_->PostTask(FROM_HERE, NewRunnableFunction(func)); | 283 main_loop_->PostTask(FROM_HERE, NewRunnableFunction(func)); |
| 284 } | 284 } |
| 285 | 285 |
| 286 void WebKitClientImpl::dispatchStorageEvent(const WebString& key, |
| 287 const WebString& oldValue, const WebString& newValue, |
| 288 const WebString& origin, bool isLocalStorage) { |
| 289 NOTREACHED(); |
| 290 } |
| 291 |
| 286 base::PlatformFile WebKitClientImpl::databaseOpenFile( | 292 base::PlatformFile WebKitClientImpl::databaseOpenFile( |
| 287 const WebKit::WebString& file_name, int desired_flags, | 293 const WebKit::WebString& file_name, int desired_flags, |
| 288 base::PlatformFile* dir_handle) { | 294 base::PlatformFile* dir_handle) { |
| 289 if (dir_handle) | 295 if (dir_handle) |
| 290 *dir_handle = base::kInvalidPlatformFileValue; | 296 *dir_handle = base::kInvalidPlatformFileValue; |
| 291 return base::kInvalidPlatformFileValue; | 297 return base::kInvalidPlatformFileValue; |
| 292 } | 298 } |
| 293 | 299 |
| 294 int WebKitClientImpl::databaseDeleteFile( | 300 int WebKitClientImpl::databaseDeleteFile( |
| 295 const WebKit::WebString& file_name, bool sync_dir) { | 301 const WebKit::WebString& file_name, bool sync_dir) { |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); | 481 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); |
| 476 return file_util::DirectoryExists(file_path); | 482 return file_util::DirectoryExists(file_path); |
| 477 } | 483 } |
| 478 | 484 |
| 479 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { | 485 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { |
| 480 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); | 486 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); |
| 481 GURL file_url = net::FilePathToFileURL(file_path); | 487 GURL file_url = net::FilePathToFileURL(file_path); |
| 482 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); | 488 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); |
| 483 } | 489 } |
| 484 } // namespace webkit_glue | 490 } // namespace webkit_glue |
| OLD | NEW |