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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 // an event so we keep the frames alive until we are done. | 525 // an event so we keep the frames alive until we are done. |
526 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { | 526 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { |
527 if (frame->isLocalFrame()) | 527 if (frame->isLocalFrame()) |
528 frames.append(toLocalFrame(frame)); | 528 frames.append(toLocalFrame(frame)); |
529 } | 529 } |
530 | 530 |
531 for (unsigned i = 0; i < frames.size(); ++i) | 531 for (unsigned i = 0; i < frames.size(); ++i) |
532 frames[i]->localDOMWindow()->acceptLanguagesChanged(); | 532 frames[i]->localDOMWindow()->acceptLanguagesChanged(); |
533 } | 533 } |
534 | 534 |
| 535 void Page::setCompositedDisplayList(PassOwnPtr<CompositedDisplayList> composited
DisplayList) |
| 536 { |
| 537 chromeClient().setCompositedDisplayList(compositedDisplayList); |
| 538 } |
| 539 |
| 540 CompositedDisplayList* Page::compositedDisplayListForTesting() |
| 541 { |
| 542 return chromeClient().compositedDisplayListForTesting(); |
| 543 } |
| 544 |
535 DEFINE_TRACE(Page) | 545 DEFINE_TRACE(Page) |
536 { | 546 { |
537 #if ENABLE(OILPAN) | 547 #if ENABLE(OILPAN) |
538 visitor->trace(m_animator); | 548 visitor->trace(m_animator); |
539 visitor->trace(m_autoscrollController); | 549 visitor->trace(m_autoscrollController); |
540 visitor->trace(m_dragCaretController); | 550 visitor->trace(m_dragCaretController); |
541 visitor->trace(m_dragController); | 551 visitor->trace(m_dragController); |
542 visitor->trace(m_focusController); | 552 visitor->trace(m_focusController); |
543 visitor->trace(m_contextMenuController); | 553 visitor->trace(m_contextMenuController); |
544 visitor->trace(m_pointerLockController); | 554 visitor->trace(m_pointerLockController); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 { | 604 { |
595 } | 605 } |
596 | 606 |
597 Page::PageClients::~PageClients() | 607 Page::PageClients::~PageClients() |
598 { | 608 { |
599 } | 609 } |
600 | 610 |
601 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 611 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
602 | 612 |
603 } // namespace blink | 613 } // namespace blink |
OLD | NEW |