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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
374 } else if (m_timerForCompressStrings.isActive()) { | 374 } else if (m_timerForCompressStrings.isActive()) { |
375 m_timerForCompressStrings.stop(); | 375 m_timerForCompressStrings.stop(); |
376 } | 376 } |
377 } | 377 } |
378 | 378 |
379 PageVisibilityState Page::visibilityState() const | 379 PageVisibilityState Page::visibilityState() const |
380 { | 380 { |
381 return m_visibilityState; | 381 return m_visibilityState; |
382 } | 382 } |
383 | 383 |
384 bool Page::isPageVisible() const | |
haraken
2016/01/25 22:54:31
const won't be needed in the cpp side.
ortuno
2016/01/25 23:36:34
not sure what you mean here? All functions that ha
haraken
2016/01/25 23:40:17
ah, sorry, you're right!
| |
385 { | |
386 return visibilityState() == PageVisibilityStateVisible; | |
387 } | |
388 | |
384 bool Page::isCursorVisible() const | 389 bool Page::isCursorVisible() const |
385 { | 390 { |
386 return m_isCursorVisible && settings().deviceSupportsMouse(); | 391 return m_isCursorVisible && settings().deviceSupportsMouse(); |
387 } | 392 } |
388 | 393 |
389 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe r) | 394 void Page::addMultisamplingChangedObserver(MultisamplingChangedObserver* observe r) |
390 { | 395 { |
391 m_multisamplingChangedObservers.add(observer); | 396 m_multisamplingChangedObservers.add(observer); |
392 } | 397 } |
393 | 398 |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
602 { | 607 { |
603 } | 608 } |
604 | 609 |
605 Page::PageClients::~PageClients() | 610 Page::PageClients::~PageClients() |
606 { | 611 { |
607 } | 612 } |
608 | 613 |
609 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 614 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
610 | 615 |
611 } // namespace blink | 616 } // namespace blink |
OLD | NEW |