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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 { | 222 { |
223 HashSet<Page*>::iterator end = allPages().end(); | 223 HashSet<Page*>::iterator end = allPages().end(); |
224 for (HashSet<Page*>::iterator it = allPages().begin(); it != end; ++it) | 224 for (HashSet<Page*>::iterator it = allPages().begin(); it != end; ++it) |
225 for (LocalFrame* frame = (*it)->mainFrame(); frame; frame = frame->tree(
).traverseNext()) | 225 for (LocalFrame* frame = (*it)->mainFrame(); frame; frame = frame->tree(
).traverseNext()) |
226 frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); | 226 frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); |
227 } | 227 } |
228 | 228 |
229 void Page::setNeedsRecalcStyleInAllFrames() | 229 void Page::setNeedsRecalcStyleInAllFrames() |
230 { | 230 { |
231 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN
ext()) | 231 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN
ext()) |
232 frame->document()->styleResolverChanged(RecalcStyleDeferred); | 232 frame->document()->styleResolverChanged(); |
233 } | 233 } |
234 | 234 |
235 void Page::setNeedsLayoutInAllFrames() | 235 void Page::setNeedsLayoutInAllFrames() |
236 { | 236 { |
237 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN
ext()) { | 237 for (LocalFrame* frame = mainFrame(); frame; frame = frame->tree().traverseN
ext()) { |
238 if (FrameView* view = frame->view()) { | 238 if (FrameView* view = frame->view()) { |
239 view->setNeedsLayout(); | 239 view->setNeedsLayout(); |
240 view->scheduleRelayout(); | 240 view->scheduleRelayout(); |
241 } | 241 } |
242 } | 242 } |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 , spellCheckerClient(0) | 586 , spellCheckerClient(0) |
587 , storageClient(0) | 587 , storageClient(0) |
588 { | 588 { |
589 } | 589 } |
590 | 590 |
591 Page::PageClients::~PageClients() | 591 Page::PageClients::~PageClients() |
592 { | 592 { |
593 } | 593 } |
594 | 594 |
595 } // namespace WebCore | 595 } // namespace WebCore |
OLD | NEW |