| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 : ViewportDescription(); | 157 : ViewportDescription(); |
| 158 } | 158 } |
| 159 | 159 |
| 160 ScrollingCoordinator* Page::scrollingCoordinator() { | 160 ScrollingCoordinator* Page::scrollingCoordinator() { |
| 161 if (!m_scrollingCoordinator && m_settings->acceleratedCompositingEnabled()) | 161 if (!m_scrollingCoordinator && m_settings->acceleratedCompositingEnabled()) |
| 162 m_scrollingCoordinator = ScrollingCoordinator::create(this); | 162 m_scrollingCoordinator = ScrollingCoordinator::create(this); |
| 163 | 163 |
| 164 return m_scrollingCoordinator.get(); | 164 return m_scrollingCoordinator.get(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 String Page::mainThreadScrollingReasonsAsText() { | 167 String Page::mainThreadScrollingReasonsAsText(Frame* frame) { |
| 168 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) | 168 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator()) |
| 169 return scrollingCoordinator->mainThreadScrollingReasonsAsText(); | 169 return scrollingCoordinator->mainThreadScrollingReasonsAsText(frame); |
| 170 | 170 |
| 171 return String(); | 171 return String(); |
| 172 } | 172 } |
| 173 | 173 |
| 174 ClientRectList* Page::nonFastScrollableRects(const LocalFrame* frame) { | 174 ClientRectList* Page::nonFastScrollableRects(const LocalFrame* frame) { |
| 175 if (ScrollingCoordinator* scrollingCoordinator = | 175 if (ScrollingCoordinator* scrollingCoordinator = |
| 176 this->scrollingCoordinator()) { | 176 this->scrollingCoordinator()) { |
| 177 // Hits in compositing/iframes/iframe-composited-scrolling.html | 177 // Hits in compositing/iframes/iframe-composited-scrolling.html |
| 178 DisableCompositingQueryAsserts disabler; | 178 DisableCompositingQueryAsserts disabler; |
| 179 scrollingCoordinator->updateAfterCompositingChangeIfNeeded(); | 179 scrollingCoordinator->updateAfterCompositingChangeIfNeeded(); |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 : chromeClient(nullptr), | 539 : chromeClient(nullptr), |
| 540 contextMenuClient(nullptr), | 540 contextMenuClient(nullptr), |
| 541 editorClient(nullptr), | 541 editorClient(nullptr), |
| 542 spellCheckerClient(nullptr) {} | 542 spellCheckerClient(nullptr) {} |
| 543 | 543 |
| 544 Page::PageClients::~PageClients() {} | 544 Page::PageClients::~PageClients() {} |
| 545 | 545 |
| 546 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 546 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 547 | 547 |
| 548 } // namespace blink | 548 } // namespace blink |
| OLD | NEW |