| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 } | 244 } |
| 245 | 245 |
| 246 m_group->addPage(this); | 246 m_group->addPage(this); |
| 247 } | 247 } |
| 248 | 248 |
| 249 void Page::scheduleForcedStyleRecalcForAllPages() | 249 void Page::scheduleForcedStyleRecalcForAllPages() |
| 250 { | 250 { |
| 251 HashSet<Page*>::iterator end = allPages().end(); | 251 HashSet<Page*>::iterator end = allPages().end(); |
| 252 for (HashSet<Page*>::iterator it = allPages().begin(); it != end; ++it) | 252 for (HashSet<Page*>::iterator it = allPages().begin(); it != end; ++it) |
| 253 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().tra
verseNext()) | 253 for (Frame* frame = (*it)->mainFrame(); frame; frame = frame->tree().tra
verseNext()) |
| 254 frame->document()->setNeedsStyleRecalc(); | 254 frame->document()->setNeedsStyleRecalc(SubtreeStyleChange); |
| 255 } | 255 } |
| 256 | 256 |
| 257 void Page::setNeedsRecalcStyleInAllFrames() | 257 void Page::setNeedsRecalcStyleInAllFrames() |
| 258 { | 258 { |
| 259 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) | 259 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) |
| 260 frame->document()->styleResolverChanged(RecalcStyleDeferred); | 260 frame->document()->styleResolverChanged(RecalcStyleDeferred); |
| 261 } | 261 } |
| 262 | 262 |
| 263 void Page::refreshPlugins(bool reload) | 263 void Page::refreshPlugins(bool reload) |
| 264 { | 264 { |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 , backForwardClient(0) | 539 , backForwardClient(0) |
| 540 , spellCheckerClient(0) | 540 , spellCheckerClient(0) |
| 541 { | 541 { |
| 542 } | 542 } |
| 543 | 543 |
| 544 Page::PageClients::~PageClients() | 544 Page::PageClients::~PageClients() |
| 545 { | 545 { |
| 546 } | 546 } |
| 547 | 547 |
| 548 } // namespace WebCore | 548 } // namespace WebCore |
| OLD | NEW |