| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 if (mainFrame() && mainFrame()->document()) { | 223 if (mainFrame() && mainFrame()->document()) { |
| 224 mainFrame()->document()->fetcher()->setImagesEnabled(settings().imag
esEnabled()); | 224 mainFrame()->document()->fetcher()->setImagesEnabled(settings().imag
esEnabled()); |
| 225 mainFrame()->document()->fetcher()->setAutoLoadImages(settings().loa
dsImagesAutomatically()); | 225 mainFrame()->document()->fetcher()->setAutoLoadImages(settings().loa
dsImagesAutomatically()); |
| 226 } | 226 } |
| 227 break; | 227 break; |
| 228 case SettingsDelegate::FontFamilyChange: | 228 case SettingsDelegate::FontFamilyChange: |
| 229 if (mainFrame()->document() && mainFrame()->document()->isActive()) | 229 if (mainFrame()->document() && mainFrame()->document()->isActive()) |
| 230 mainFrame()->document()->styleEngine()->updateGenericFontFamilySetti
ngs(); | 230 mainFrame()->document()->styleEngine()->updateGenericFontFamilySetti
ngs(); |
| 231 setNeedsRecalcStyleInAllFrames(); | 231 setNeedsRecalcStyleInAllFrames(); |
| 232 break; | 232 break; |
| 233 case SettingsDelegate::AcceleratedCompositingChange: | |
| 234 // FIXME(sky): Remove | |
| 235 break; | |
| 236 case SettingsDelegate::MediaQueryChange: | 233 case SettingsDelegate::MediaQueryChange: |
| 237 if (mainFrame()->document()) | 234 if (mainFrame()->document()) |
| 238 mainFrame()->document()->mediaQueryAffectingValueChanged(); | 235 mainFrame()->document()->mediaQueryAffectingValueChanged(); |
| 239 setNeedsRecalcStyleInAllFrames(); | 236 setNeedsRecalcStyleInAllFrames(); |
| 240 break; | 237 break; |
| 241 } | 238 } |
| 242 } | 239 } |
| 243 | 240 |
| 244 void Page::didCommitLoad(LocalFrame* frame) | 241 void Page::didCommitLoad(LocalFrame* frame) |
| 245 { | 242 { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 , editorClient(0) | 349 , editorClient(0) |
| 353 , spellCheckerClient(0) | 350 , spellCheckerClient(0) |
| 354 { | 351 { |
| 355 } | 352 } |
| 356 | 353 |
| 357 Page::PageClients::~PageClients() | 354 Page::PageClients::~PageClients() |
| 358 { | 355 { |
| 359 } | 356 } |
| 360 | 357 |
| 361 } // namespace blink | 358 } // namespace blink |
| OLD | NEW |