Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |