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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 case SettingsDelegate::AcceleratedCompositingChange: | 547 case SettingsDelegate::AcceleratedCompositingChange: |
548 updateAcceleratedCompositingSettings(); | 548 updateAcceleratedCompositingSettings(); |
549 break; | 549 break; |
550 case SettingsDelegate::MediaQueryChange: | 550 case SettingsDelegate::MediaQueryChange: |
551 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { | 551 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { |
552 if (frame->isLocalFrame()) | 552 if (frame->isLocalFrame()) |
553 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged
(); | 553 toLocalFrame(frame)->document()->mediaQueryAffectingValueChanged
(); |
554 } | 554 } |
555 setNeedsRecalcStyleInAllFrames(); | 555 setNeedsRecalcStyleInAllFrames(); |
556 break; | 556 break; |
| 557 case SettingsDelegate::AccessibilityStateChange: |
| 558 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
| 559 break; |
| 560 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje
ctCache(); |
557 } | 561 } |
558 } | 562 } |
559 | 563 |
560 void Page::updateAcceleratedCompositingSettings() | 564 void Page::updateAcceleratedCompositingSettings() |
561 { | 565 { |
562 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { | 566 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { |
563 if (!frame->isLocalFrame()) | 567 if (!frame->isLocalFrame()) |
564 continue; | 568 continue; |
565 if (FrameView* view = toLocalFrame(frame)->view()) | 569 if (FrameView* view = toLocalFrame(frame)->view()) |
566 view->updateAcceleratedCompositingSettings(); | 570 view->updateAcceleratedCompositingSettings(); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 , spellCheckerClient(0) | 669 , spellCheckerClient(0) |
666 , storageClient(0) | 670 , storageClient(0) |
667 { | 671 { |
668 } | 672 } |
669 | 673 |
670 Page::PageClients::~PageClients() | 674 Page::PageClients::~PageClients() |
671 { | 675 { |
672 } | 676 } |
673 | 677 |
674 } // namespace blink | 678 } // namespace blink |
OLD | NEW |