OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 440 |
441 if (!isInitialState && m_mainFrame) | 441 if (!isInitialState && m_mainFrame) |
442 m_mainFrame->didChangeVisibilityState(); | 442 m_mainFrame->didChangeVisibilityState(); |
443 } | 443 } |
444 | 444 |
445 PageVisibilityState Page::visibilityState() const | 445 PageVisibilityState Page::visibilityState() const |
446 { | 446 { |
447 return m_visibilityState; | 447 return m_visibilityState; |
448 } | 448 } |
449 | 449 |
| 450 bool Page::isCursorVisible() const |
| 451 { |
| 452 return m_isCursorVisible && settings().deviceSupportsMouse(); |
| 453 } |
| 454 |
450 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe
r) | 455 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe
r) |
451 { | 456 { |
452 m_multisamplingChangedObservers.add(observer); | 457 m_multisamplingChangedObservers.add(observer); |
453 } | 458 } |
454 | 459 |
455 void Page::removeMultisamplingChangedObserver(MultisamplingChangedObserver* obse
rver) | 460 void Page::removeMultisamplingChangedObserver(MultisamplingChangedObserver* obse
rver) |
456 { | 461 { |
457 m_multisamplingChangedObservers.remove(observer); | 462 m_multisamplingChangedObservers.remove(observer); |
458 } | 463 } |
459 | 464 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 , spellCheckerClient(0) | 547 , spellCheckerClient(0) |
543 , storageClient(0) | 548 , storageClient(0) |
544 { | 549 { |
545 } | 550 } |
546 | 551 |
547 Page::PageClients::~PageClients() | 552 Page::PageClients::~PageClients() |
548 { | 553 { |
549 } | 554 } |
550 | 555 |
551 } // namespace WebCore | 556 } // namespace WebCore |
OLD | NEW |