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

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

Issue 22871006: Implement unregisterProtocolHandler() function on CUSTOM_SCHEME_HANDLER (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 | « LayoutTests/fast/dom/unregister-protocol-handler.html ('k') | Source/web/ChromeClientImpl.cpp » ('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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 WebCore::PagePopupDriver* m_pagePopupDriver; 201 WebCore::PagePopupDriver* m_pagePopupDriver;
202 }; 202 };
203 203
204 #if ENABLE(NAVIGATOR_CONTENT_UTILS) 204 #if ENABLE(NAVIGATOR_CONTENT_UTILS)
205 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent { 205 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent {
206 public: 206 public:
207 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); 207 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
208 ~NavigatorContentUtilsClientImpl() { } 208 ~NavigatorContentUtilsClientImpl() { }
209 209
210 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE; 210 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE;
211 #if ENABLE(CUSTOM_SCHEME_HANDLER)
abarth-chromium 2013/08/15 20:05:49 We no longer use #ifdefs to scope in-progress feat
gyuyoung-inactive 2013/08/16 07:07:13 Thank you for pointing it out. I try to use Runtim
212 CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const String& baseURL, const String& url) OVERRIDE;
213 virtual void unregisterProtocolHandler(const String& scheme, const String& b aseURL, const String& url) OVERRIDE;
214 #endif
211 215
212 private: 216 private:
213 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 217 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
214 218
215 WebViewImpl* m_webView; 219 WebViewImpl* m_webView;
216 }; 220 };
217 #endif 221 #endif
218 222
219 } // namespace WebKit 223 } // namespace WebKit
220 224
221 #endif 225 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/unregister-protocol-handler.html ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698