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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 } | 343 } |
344 | 344 |
345 bool ChromeClientImpl::statusbarVisible() | 345 bool ChromeClientImpl::statusbarVisible() |
346 { | 346 { |
347 return m_statusbarVisible; | 347 return m_statusbarVisible; |
348 } | 348 } |
349 | 349 |
350 void ChromeClientImpl::setScrollbarsVisible(bool value) | 350 void ChromeClientImpl::setScrollbarsVisible(bool value) |
351 { | 351 { |
352 m_scrollbarsVisible = value; | 352 m_scrollbarsVisible = value; |
353 WebFrameImpl* webFrame = static_cast<WebFrameImpl*>(m_webView->mainFrame()); | 353 WebFrameImpl* webFrame = toWebFrameImpl(m_webView->mainFrame()); |
354 if (webFrame) | 354 if (webFrame) |
355 webFrame->setCanHaveScrollbars(value); | 355 webFrame->setCanHaveScrollbars(value); |
356 } | 356 } |
357 | 357 |
358 bool ChromeClientImpl::scrollbarsVisible() | 358 bool ChromeClientImpl::scrollbarsVisible() |
359 { | 359 { |
360 return m_scrollbarsVisible; | 360 return m_scrollbarsVisible; |
361 } | 361 } |
362 | 362 |
363 void ChromeClientImpl::setMenubarVisible(bool value) | 363 void ChromeClientImpl::setMenubarVisible(bool value) |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1016 { | 1016 { |
1017 } | 1017 } |
1018 | 1018 |
1019 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) | 1019 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche
me, const String& baseURL, const String& url, const String& title) |
1020 { | 1020 { |
1021 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); | 1021 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); |
1022 } | 1022 } |
1023 #endif | 1023 #endif |
1024 | 1024 |
1025 } // namespace WebKit | 1025 } // namespace WebKit |
OLD | NEW |