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

Side by Side Diff: webkit/glue/webkitclient_impl.cc

Issue 187015: Add beginDragWithFiles to EventSendingController. Also implement WebKitClient... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
OLDNEW
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 "webkit/glue/webkitclient_impl.h" 5 #include "webkit/glue/webkitclient_impl.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 const WebKit::WebString& file_name) { 254 const WebKit::WebString& file_name) {
255 return 0; 255 return 0;
256 } 256 }
257 257
258 long long WebKitClientImpl::databaseGetFileSize( 258 long long WebKitClientImpl::databaseGetFileSize(
259 const WebKit::WebString& file_name) { 259 const WebKit::WebString& file_name) {
260 return 0; 260 return 0;
261 } 261 }
262 262
263 bool WebKitClientImpl::fileExists(const WebKit::WebString& path) { 263 bool WebKitClientImpl::fileExists(const WebKit::WebString& path) {
264 NOTREACHED(); 264 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path);
265 return false; 265 return file_util::PathExists(FilePath(file_path));
266 } 266 }
267 267
268 bool WebKitClientImpl::deleteFile(const WebKit::WebString& path) { 268 bool WebKitClientImpl::deleteFile(const WebKit::WebString& path) {
269 NOTREACHED(); 269 NOTREACHED();
270 return false; 270 return false;
271 } 271 }
272 272
273 bool WebKitClientImpl::deleteEmptyDirectory(const WebKit::WebString& path) { 273 bool WebKitClientImpl::deleteEmptyDirectory(const WebKit::WebString& path) {
274 NOTREACHED(); 274 NOTREACHED();
275 return false; 275 return false;
(...skipping 27 matching lines...) Expand all
303 } 303 }
304 304
305 bool WebKitClientImpl::makeAllDirectories( 305 bool WebKitClientImpl::makeAllDirectories(
306 const WebKit::WebString& path) { 306 const WebKit::WebString& path) {
307 DCHECK(!sandboxEnabled()); 307 DCHECK(!sandboxEnabled());
308 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path); 308 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path);
309 return file_util::CreateDirectory(FilePath(file_path)); 309 return file_util::CreateDirectory(FilePath(file_path));
310 } 310 }
311 311
312 } // namespace webkit_glue 312 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/layout_tests/test_expectations.txt » ('j') | webkit/tools/test_shell/event_sending_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698