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

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 133273030: Change a WebString type of url parameter with WebURL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::cre ate(WebViewImpl* webView) 1019 PassOwnPtr<NavigatorContentUtilsClientImpl> NavigatorContentUtilsClientImpl::cre ate(WebViewImpl* webView)
1020 { 1020 {
1021 return adoptPtr(new NavigatorContentUtilsClientImpl(webView)); 1021 return adoptPtr(new NavigatorContentUtilsClientImpl(webView));
1022 } 1022 }
1023 1023
1024 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we bView) 1024 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we bView)
1025 : m_webView(webView) 1025 : m_webView(webView)
1026 { 1026 {
1027 } 1027 }
1028 1028
1029 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title) 1029 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const WebCore::KURL& baseURL, const WebCore::KURL& url, const String& title)
1030 { 1030 {
1031 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); 1031 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title);
1032 } 1032 }
1033 1033
1034 NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientImpl ::isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url) 1034 NavigatorContentUtilsClient::CustomHandlersState NavigatorContentUtilsClientImpl ::isProtocolHandlerRegistered(const String& scheme, const WebCore::KURL& baseURL , const WebCore::KURL& url)
1035 { 1035 {
1036 return static_cast<NavigatorContentUtilsClient::CustomHandlersState>(m_webVi ew->client()->isProtocolHandlerRegistered(scheme, baseURL, url)); 1036 return static_cast<NavigatorContentUtilsClient::CustomHandlersState>(m_webVi ew->client()->isProtocolHandlerRegistered(scheme, baseURL, url));
1037 } 1037 }
1038 1038
1039 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc heme, const String& baseURL, const String& url) 1039 void NavigatorContentUtilsClientImpl::unregisterProtocolHandler(const String& sc heme, const WebCore::KURL& baseURL, const WebCore::KURL& url)
1040 { 1040 {
1041 m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url); 1041 m_webView->client()->unregisterProtocolHandler(scheme, baseURL, url);
1042 } 1042 }
1043 1043
1044 } // namespace blink 1044 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | public/web/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698