| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All |
| 3 * Rights Reserved. | 3 * Rights Reserved. |
| 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| 5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 | 324 |
| 325 PageVisibilityState Page::visibilityState() const { | 325 PageVisibilityState Page::visibilityState() const { |
| 326 return m_visibilityState; | 326 return m_visibilityState; |
| 327 } | 327 } |
| 328 | 328 |
| 329 bool Page::isPageVisible() const { | 329 bool Page::isPageVisible() const { |
| 330 return visibilityState() == PageVisibilityStateVisible; | 330 return visibilityState() == PageVisibilityStateVisible; |
| 331 } | 331 } |
| 332 | 332 |
| 333 bool Page::isCursorVisible() const { | 333 bool Page::isCursorVisible() const { |
| 334 return m_isCursorVisible && settings().deviceSupportsMouse(); | 334 return m_isCursorVisible; |
| 335 } | 335 } |
| 336 | 336 |
| 337 void Page::settingsChanged(SettingsDelegate::ChangeType changeType) { | 337 void Page::settingsChanged(SettingsDelegate::ChangeType changeType) { |
| 338 switch (changeType) { | 338 switch (changeType) { |
| 339 case SettingsDelegate::StyleChange: | 339 case SettingsDelegate::StyleChange: |
| 340 setNeedsRecalcStyleInAllFrames(); | 340 setNeedsRecalcStyleInAllFrames(); |
| 341 break; | 341 break; |
| 342 case SettingsDelegate::ViewportDescriptionChange: | 342 case SettingsDelegate::ViewportDescriptionChange: |
| 343 if (mainFrame() && mainFrame()->isLocalFrame()) { | 343 if (mainFrame() && mainFrame()->isLocalFrame()) { |
| 344 deprecatedLocalMainFrame()->document()->updateViewportDescription(); | 344 deprecatedLocalMainFrame()->document()->updateViewportDescription(); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 : chromeClient(nullptr), | 535 : chromeClient(nullptr), |
| 536 contextMenuClient(nullptr), | 536 contextMenuClient(nullptr), |
| 537 editorClient(nullptr), | 537 editorClient(nullptr), |
| 538 spellCheckerClient(nullptr) {} | 538 spellCheckerClient(nullptr) {} |
| 539 | 539 |
| 540 Page::PageClients::~PageClients() {} | 540 Page::PageClients::~PageClients() {} |
| 541 | 541 |
| 542 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 542 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 543 | 543 |
| 544 } // namespace blink | 544 } // namespace blink |
| OLD | NEW |