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

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

Issue 22859043: Add a CustomSchemeHandler runtime flag to remove ENABLE(CUSTOM_SCHEME_HANDLER) (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/platform/RuntimeEnabledFeatures.in ('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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 211
212 WebCore::PagePopupDriver* m_pagePopupDriver; 212 WebCore::PagePopupDriver* m_pagePopupDriver;
213 }; 213 };
214 214
215 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent { 215 class NavigatorContentUtilsClientImpl : public WebCore::NavigatorContentUtilsCli ent {
216 public: 216 public:
217 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*); 217 static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
218 ~NavigatorContentUtilsClientImpl() { } 218 ~NavigatorContentUtilsClientImpl() { }
219 219
220 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE; 220 virtual void registerProtocolHandler(const String& scheme, const String& bas eURL, const String& url, const String& title) OVERRIDE;
221 virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme , const String& baseURL, const String& url) OVERRIDE;
222 virtual void unregisterProtocolHandler(const String& scheme, const String& b aseURL, const String& url) OVERRIDE;
221 223
222 private: 224 private:
223 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 225 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
224 226
225 WebViewImpl* m_webView; 227 WebViewImpl* m_webView;
226 }; 228 };
227 229
228 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 230 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
229 231
230 } // namespace blink 232 } // namespace blink
231 233
232 #endif 234 #endif
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698