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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().trav
erseNext()) { | 234 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().trav
erseNext()) { |
235 if (frame->isLocalFrame()) | 235 if (frame->isLocalFrame()) |
236 toLocalFrame(frame)->document()->platformColorsChanged(); | 236 toLocalFrame(frame)->document()->platformColorsChanged(); |
237 } | 237 } |
238 } | 238 } |
239 | 239 |
240 void Page::setNeedsRecalcStyleInAllFrames() | 240 void Page::setNeedsRecalcStyleInAllFrames() |
241 { | 241 { |
242 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { | 242 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { |
243 if (frame->isLocalFrame()) | 243 if (frame->isLocalFrame()) |
244 toLocalFrame(frame)->document()->styleResolverChanged(); | 244 toLocalFrame(frame)->document()->styleEngine().resolverChanged(FullS
tyleUpdate); |
245 } | 245 } |
246 } | 246 } |
247 | 247 |
248 void Page::refreshPlugins() | 248 void Page::refreshPlugins() |
249 { | 249 { |
250 if (allPages().isEmpty()) | 250 if (allPages().isEmpty()) |
251 return; | 251 return; |
252 | 252 |
253 PluginData::refresh(); | 253 PluginData::refresh(); |
254 | 254 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 { | 607 { |
608 } | 608 } |
609 | 609 |
610 Page::PageClients::~PageClients() | 610 Page::PageClients::~PageClients() |
611 { | 611 { |
612 } | 612 } |
613 | 613 |
614 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 614 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
615 | 615 |
616 } // namespace blink | 616 } // namespace blink |
OLD | NEW |