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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 case SettingsDelegate::ViewportRuleChange: | 488 case SettingsDelegate::ViewportRuleChange: |
489 { | 489 { |
490 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 490 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
491 break; | 491 break; |
492 Document* doc = toLocalFrame(mainFrame())->document(); | 492 Document* doc = toLocalFrame(mainFrame())->document(); |
493 if (!doc || !doc->styleResolver()) | 493 if (!doc || !doc->styleResolver()) |
494 break; | 494 break; |
495 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(
); | 495 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(
); |
496 } | 496 } |
497 break; | 497 break; |
| 498 case SettingsDelegate::TextTrackKindUserPreferenceChange: |
| 499 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { |
| 500 if (frame->isLocalFrame()) { |
| 501 toLocalFrame(frame)->document()->textTrackKindUserPreferenceChan
ged(); |
| 502 } |
| 503 } |
| 504 break; |
498 } | 505 } |
499 } | 506 } |
500 | 507 |
501 void Page::updateAcceleratedCompositingSettings() | 508 void Page::updateAcceleratedCompositingSettings() |
502 { | 509 { |
503 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { | 510 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext()
) { |
504 if (!frame->isLocalFrame()) | 511 if (!frame->isLocalFrame()) |
505 continue; | 512 continue; |
506 if (FrameView* view = toLocalFrame(frame)->view()) | 513 if (FrameView* view = toLocalFrame(frame)->view()) |
507 view->updateAcceleratedCompositingSettings(); | 514 view->updateAcceleratedCompositingSettings(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 { | 601 { |
595 } | 602 } |
596 | 603 |
597 Page::PageClients::~PageClients() | 604 Page::PageClients::~PageClients() |
598 { | 605 { |
599 } | 606 } |
600 | 607 |
601 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 608 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
602 | 609 |
603 } // namespace blink | 610 } // namespace blink |
OLD | NEW |