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

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

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
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 18 matching lines...) Expand all
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef ChromeClientImpl_h 32 #ifndef ChromeClientImpl_h
33 #define ChromeClientImpl_h 33 #define ChromeClientImpl_h
34 34
35 #include "WebNavigationPolicy.h" 35 #include "WebNavigationPolicy.h"
36 #include "core/page/ChromeClient.h" 36 #include "core/page/ChromeClient.h"
37 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 37 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
38 #include "platform/PopupMenu.h" 38 #include "platform/PopupMenu.h"
39 #include "platform/weborigin/KURL.h"
39 #include "public/platform/WebColor.h" 40 #include "public/platform/WebColor.h"
40 #include "wtf/PassOwnPtr.h" 41 #include "wtf/PassOwnPtr.h"
41 42
42 namespace WebCore { 43 namespace WebCore {
43 class AXObject; 44 class AXObject;
44 class ColorChooser; 45 class ColorChooser;
45 class ColorChooserClient; 46 class ColorChooserClient;
46 class Element; 47 class Element;
47 class FileChooser; 48 class FileChooser;
48 class GraphicsLayerFactory; 49 class GraphicsLayerFactory;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 bool m_resizable; 211 bool m_resizable;
211 212
212 WebCore::PagePopupDriver* m_pagePopupDriver; 213 WebCore::PagePopupDriver* m_pagePopupDriver;
213 }; 214 };
214 215
215 class NavigatorContentUtilsClientImpl FINAL : public WebCore::NavigatorContentUt ilsClient { 216 class NavigatorContentUtilsClientImpl FINAL : public WebCore::NavigatorContentUt ilsClient {
216 public: 217 public:
217 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); 218 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
218 virtual ~NavigatorContentUtilsClientImpl() { } 219 virtual ~NavigatorContentUtilsClientImpl() { }
219 220
220 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE; 221 virtual void registerProtocolHandler(const String& scheme, const WebCore::KU RL& baseURL, const WebCore::KURL&, const String& title) OVERRIDE;
221 virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme , const String& baseURL, const String& url) OVERRIDE; 222 virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme , const WebCore::KURL& baseURL, const WebCore::KURL&) OVERRIDE;
222 virtual void unregisterProtocolHandler(const String& scheme, const String& b aseURL, const String& url) OVERRIDE; 223 virtual void unregisterProtocolHandler(const String& scheme, const WebCore:: KURL& baseURL, const WebCore::KURL&) OVERRIDE;
223 224
224 private: 225 private:
225 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 226 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
226 227
227 WebViewImpl* m_webView; 228 WebViewImpl* m_webView;
228 }; 229 };
229 230
230 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 231 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
231 232
232 } // namespace blink 233 } // namespace blink
233 234
234 #endif 235 #endif
OLDNEW
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698