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 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 { | 995 { |
996 return adoptPtr(new NavigatorContentUtilsClientImpl(webView)); | 996 return adoptPtr(new NavigatorContentUtilsClientImpl(webView)); |
997 } | 997 } |
998 | 998 |
999 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we
bView) | 999 NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl(WebViewImpl* we
bView) |
1000 : m_webView(webView) | 1000 : m_webView(webView) |
1001 { | 1001 { |
1002 } | 1002 } |
1003 | 1003 |
1004 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1004 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
1005 { | 1005 { |
1006 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1006 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
1007 } | 1007 } |
1008 #endif | 1008 #endif |
1009 | 1009 |
1010 } // namespace WebKit | 1010 } // namespace WebKit |
OLD | NEW |