| 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 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 case SettingsDelegate::AcceleratedCompositingChange: | 470 case SettingsDelegate::AcceleratedCompositingChange: |
| 471 updateAcceleratedCompositingSettings(); | 471 updateAcceleratedCompositingSettings(); |
| 472 break; | 472 break; |
| 473 case SettingsDelegate::MediaQueryChange: | 473 case SettingsDelegate::MediaQueryChange: |
| 474 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { | 474 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { |
| 475 if (frame->isLocalFrame()) | 475 if (frame->isLocalFrame()) |
| 476 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged
(); | 476 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged
(); |
| 477 } | 477 } |
| 478 break; | 478 break; |
| 479 case SettingsDelegate::AccessibilityStateChange: | 479 case SettingsDelegate::AccessibilityStateChange: |
| 480 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 480 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { |
| 481 break; | 481 if (frame->isLocalFrame()) |
| 482 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje
ctCache(); | 482 toLocalFrame(frame)->document()->clearAXObjectCache(); |
| 483 } |
| 483 break; | 484 break; |
| 484 case SettingsDelegate::ViewportRuleChange: | 485 case SettingsDelegate::ViewportRuleChange: |
| 485 { | 486 { |
| 486 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 487 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
| 487 break; | 488 break; |
| 488 Document* doc = toLocalFrame(mainFrame())->document(); | 489 Document* doc = toLocalFrame(mainFrame())->document(); |
| 489 if (!doc || !doc->styleResolver()) | 490 if (!doc || !doc->styleResolver()) |
| 490 break; | 491 break; |
| 491 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(
); | 492 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(
); |
| 492 } | 493 } |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 { | 609 { |
| 609 } | 610 } |
| 610 | 611 |
| 611 Page::PageClients::~PageClients() | 612 Page::PageClients::~PageClients() |
| 612 { | 613 { |
| 613 } | 614 } |
| 614 | 615 |
| 615 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 616 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 616 | 617 |
| 617 } // namespace blink | 618 } // namespace blink |
| OLD | NEW |