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

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

Issue 351013: Chrome changes to extract the code from V8Proxy that special-cases... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/webkitclient_impl.h ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); 398 FilePath file_path(webkit_glue::WebStringToFilePathString(path));
399 return file_util::DirectoryExists(file_path); 399 return file_util::DirectoryExists(file_path);
400 } 400 }
401 401
402 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) { 402 WebKit::WebURL WebKitClientImpl::filePathToURL(const WebKit::WebString& path) {
403 FilePath file_path(webkit_glue::WebStringToFilePathString(path)); 403 FilePath file_path(webkit_glue::WebStringToFilePathString(path));
404 GURL file_url = net::FilePathToFileURL(file_path); 404 GURL file_url = net::FilePathToFileURL(file_path);
405 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url)); 405 return webkit_glue::KURLToWebURL(webkit_glue::GURLToKURL(file_url));
406 } 406 }
407 407
408 //--------------------------------------------------------------------------
409 // BEGIN(TemporaryGlue)
410
411 // These are temporary methods that the WebKit layer can use to call to the
412 // Glue layer. Once the Glue layer moves entirely into the WebKit layer, these
413 // methods will be deleted.
414
415 WebCore::String WebKitClientImpl::uiResourceProtocol() {
416 return StdStringToString(webkit_glue::GetUIResourceProtocol());
417 }
418
419 // END(TemporaryGlue)
420 //--------------------------------------------------------------------------
421
422 } // namespace webkit_glue 408 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webkitclient_impl.h ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698