| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 } | 191 } |
| 192 | 192 |
| 193 String Page::mainThreadScrollingReasonsAsText() | 193 String Page::mainThreadScrollingReasonsAsText() |
| 194 { | 194 { |
| 195 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) | 195 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) |
| 196 return scrollingCoordinator->mainThreadScrollingReasonsAsText(); | 196 return scrollingCoordinator->mainThreadScrollingReasonsAsText(); |
| 197 | 197 |
| 198 return String(); | 198 return String(); |
| 199 } | 199 } |
| 200 | 200 |
| 201 PassRefPtr<ClientRectList> Page::nonFastScrollableRects(const LocalFrame* frame) | 201 PassRefPtrWillBeRawPtr<ClientRectList> Page::nonFastScrollableRects(const LocalF
rame* frame) |
| 202 { | 202 { |
| 203 if (Document* document = m_mainFrame->document()) | 203 if (Document* document = m_mainFrame->document()) |
| 204 document->updateLayout(); | 204 document->updateLayout(); |
| 205 | 205 |
| 206 Vector<IntRect> rects; | 206 Vector<IntRect> rects; |
| 207 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) | 207 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) |
| 208 rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThre
adRegion(frame, IntPoint()).rects(); | 208 rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThre
adRegion(frame, IntPoint()).rects(); |
| 209 | 209 |
| 210 Vector<FloatQuad> quads(rects.size()); | 210 Vector<FloatQuad> quads(rects.size()); |
| 211 for (size_t i = 0; i < rects.size(); ++i) | 211 for (size_t i = 0; i < rects.size(); ++i) |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 , spellCheckerClient(0) | 542 , spellCheckerClient(0) |
| 543 , storageClient(0) | 543 , storageClient(0) |
| 544 { | 544 { |
| 545 } | 545 } |
| 546 | 546 |
| 547 Page::PageClients::~PageClients() | 547 Page::PageClients::~PageClients() |
| 548 { | 548 { |
| 549 } | 549 } |
| 550 | 550 |
| 551 } // namespace WebCore | 551 } // namespace WebCore |
| OLD | NEW |