| 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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 bool ChromeClientImpl::menubarVisible() | 367 bool ChromeClientImpl::menubarVisible() |
| 368 { | 368 { |
| 369 return m_menubarVisible; | 369 return m_menubarVisible; |
| 370 } | 370 } |
| 371 | 371 |
| 372 void ChromeClientImpl::setResizable(bool value) | 372 void ChromeClientImpl::setResizable(bool value) |
| 373 { | 373 { |
| 374 m_resizable = value; | 374 m_resizable = value; |
| 375 } | 375 } |
| 376 | 376 |
| 377 bool ChromeClientImpl::shouldReportDetailedMessageForSource(const String& url) |
| 378 { |
| 379 return m_webView->client() && m_webView->client()->shouldReportDetailedMessa
geForSource(url); |
| 380 } |
| 381 |
| 377 void ChromeClientImpl::addMessageToConsole(MessageSource source, | 382 void ChromeClientImpl::addMessageToConsole(MessageSource source, |
| 378 MessageLevel level, | 383 MessageLevel level, |
| 379 const String& message, | 384 const String& message, |
| 380 unsigned lineNumber, | 385 unsigned lineNumber, |
| 381 const String& sourceID) | 386 const String& sourceID) |
| 382 { | 387 { |
| 383 if (m_webView->client()) { | 388 if (m_webView->client()) { |
| 384 m_webView->client()->didAddMessageToConsole( | 389 m_webView->client()->didAddMessageToConsole( |
| 385 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess
age), | 390 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess
age), |
| 386 sourceID, | 391 sourceID, |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1009 { | 1014 { |
| 1010 } | 1015 } |
| 1011 | 1016 |
| 1012 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1017 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
| 1013 { | 1018 { |
| 1014 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1019 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
| 1015 } | 1020 } |
| 1016 #endif | 1021 #endif |
| 1017 | 1022 |
| 1018 } // namespace WebKit | 1023 } // namespace WebKit |
| OLD | NEW |