Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: Source/core/page/Page.cpp

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Final checklist: cleanup ordering in WebCompositedDisplayList Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698