| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()
); | 216 (*it)->multisamplingChanged(m_settings->openGLMultisamplingEnabled()
); |
| 217 break; | 217 break; |
| 218 } | 218 } |
| 219 case SettingsDelegate::ImageLoadingChange: | 219 case SettingsDelegate::ImageLoadingChange: |
| 220 if (mainFrame() && mainFrame()->document()) { | 220 if (mainFrame() && mainFrame()->document()) { |
| 221 mainFrame()->document()->fetcher()->setImagesEnabled(settings().imag
esEnabled()); | 221 mainFrame()->document()->fetcher()->setImagesEnabled(settings().imag
esEnabled()); |
| 222 mainFrame()->document()->fetcher()->setAutoLoadImages(settings().loa
dsImagesAutomatically()); | 222 mainFrame()->document()->fetcher()->setAutoLoadImages(settings().loa
dsImagesAutomatically()); |
| 223 } | 223 } |
| 224 break; | 224 break; |
| 225 case SettingsDelegate::FontFamilyChange: | 225 case SettingsDelegate::FontFamilyChange: |
| 226 if (mainFrame()->document()) | 226 if (mainFrame()->document() && mainFrame()->document()->isActive()) |
| 227 mainFrame()->document()->styleEngine()->updateGenericFontFamilySetti
ngs(); | 227 mainFrame()->document()->styleEngine()->updateGenericFontFamilySetti
ngs(); |
| 228 setNeedsRecalcStyleInAllFrames(); | 228 setNeedsRecalcStyleInAllFrames(); |
| 229 break; | 229 break; |
| 230 case SettingsDelegate::AcceleratedCompositingChange: | 230 case SettingsDelegate::AcceleratedCompositingChange: |
| 231 // FIXME(sky): Remove | 231 // FIXME(sky): Remove |
| 232 break; | 232 break; |
| 233 case SettingsDelegate::MediaQueryChange: | 233 case SettingsDelegate::MediaQueryChange: |
| 234 if (mainFrame()->document()) | 234 if (mainFrame()->document()) |
| 235 mainFrame()->document()->mediaQueryAffectingValueChanged(); | 235 mainFrame()->document()->mediaQueryAffectingValueChanged(); |
| 236 setNeedsRecalcStyleInAllFrames(); | 236 setNeedsRecalcStyleInAllFrames(); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 , editorClient(0) | 282 , editorClient(0) |
| 283 , spellCheckerClient(0) | 283 , spellCheckerClient(0) |
| 284 { | 284 { |
| 285 } | 285 } |
| 286 | 286 |
| 287 Page::PageClients::~PageClients() | 287 Page::PageClients::~PageClients() |
| 288 { | 288 { |
| 289 } | 289 } |
| 290 | 290 |
| 291 } // namespace blink | 291 } // namespace blink |
| OLD | NEW |