| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 { | 483 { |
| 484 switch (changeType) { | 484 switch (changeType) { |
| 485 case SettingsDelegate::StyleChange: | 485 case SettingsDelegate::StyleChange: |
| 486 setNeedsRecalcStyleInAllFrames(); | 486 setNeedsRecalcStyleInAllFrames(); |
| 487 break; | 487 break; |
| 488 case SettingsDelegate::ViewportDescriptionChange: | 488 case SettingsDelegate::ViewportDescriptionChange: |
| 489 if (mainFrame()) | 489 if (mainFrame()) |
| 490 mainFrame()->document()->updateViewportDescription(); | 490 mainFrame()->document()->updateViewportDescription(); |
| 491 break; | 491 break; |
| 492 case SettingsDelegate::MediaTypeChange: | 492 case SettingsDelegate::MediaTypeChange: |
| 493 m_mainFrame->view()->setMediaType(settings().mediaTypeOverride()); | 493 m_mainFrame->view()->setMediaType(AtomicString(settings().mediaTypeOverr
ide())); |
| 494 setNeedsRecalcStyleInAllFrames(); | 494 setNeedsRecalcStyleInAllFrames(); |
| 495 break; | 495 break; |
| 496 case SettingsDelegate::DNSPrefetchingChange: | 496 case SettingsDelegate::DNSPrefetchingChange: |
| 497 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) | 497 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) |
| 498 frame->document()->initDNSPrefetch(); | 498 frame->document()->initDNSPrefetch(); |
| 499 break; | 499 break; |
| 500 case SettingsDelegate::MultisamplingChange: { | 500 case SettingsDelegate::MultisamplingChange: { |
| 501 HashSet<MultisamplingChangedObserver*>::iterator stop = m_multisamplingC
hangedObservers.end(); | 501 HashSet<MultisamplingChangedObserver*>::iterator stop = m_multisamplingC
hangedObservers.end(); |
| 502 for (HashSet<MultisamplingChangedObserver*>::iterator it = m_multisampli
ngChangedObservers.begin(); it != stop; ++it) | 502 for (HashSet<MultisamplingChangedObserver*>::iterator it = m_multisampli
ngChangedObservers.begin(); it != stop; ++it) |
| 503 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()
); | 503 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()
); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 , backForwardClient(0) | 547 , backForwardClient(0) |
| 548 , spellCheckerClient(0) | 548 , spellCheckerClient(0) |
| 549 { | 549 { |
| 550 } | 550 } |
| 551 | 551 |
| 552 Page::PageClients::~PageClients() | 552 Page::PageClients::~PageClients() |
| 553 { | 553 { |
| 554 } | 554 } |
| 555 | 555 |
| 556 } // namespace WebCore | 556 } // namespace WebCore |
| OLD | NEW |