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