| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |