| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 SETTINGS_INITIALIZER_LIST | 130 SETTINGS_INITIALIZER_LIST |
| 131 , m_isJavaEnabled(false) | 131 , m_isJavaEnabled(false) |
| 132 , m_loadsImagesAutomatically(false) | 132 , m_loadsImagesAutomatically(false) |
| 133 , m_areImagesEnabled(true) | 133 , m_areImagesEnabled(true) |
| 134 , m_arePluginsEnabled(false) | 134 , m_arePluginsEnabled(false) |
| 135 , m_isScriptEnabled(false) | 135 , m_isScriptEnabled(false) |
| 136 , m_isCSSCustomFilterEnabled(false) | 136 , m_isCSSCustomFilterEnabled(false) |
| 137 , m_cssStickyPositionEnabled(true) | 137 , m_cssStickyPositionEnabled(true) |
| 138 , m_dnsPrefetchingEnabled(false) | 138 , m_dnsPrefetchingEnabled(false) |
| 139 , m_touchEventEmulationEnabled(false) | 139 , m_touchEventEmulationEnabled(false) |
| 140 , m_openGLMultisamplingEnabled(false) |
| 140 , m_viewportEnabled(false) | 141 , m_viewportEnabled(false) |
| 141 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) | 142 , m_setImageLoadingSettingsTimer(this, &Settings::imageLoadingSettingsTimerF
ired) |
| 142 , m_compositorDrivenAcceleratedScrollingEnabled(false) | 143 , m_compositorDrivenAcceleratedScrollingEnabled(false) |
| 143 { | 144 { |
| 144 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. | 145 m_page = page; // Page is not yet fully initialized wen constructing Setting
s, so keeping m_page null over initializeDefaultFontFamilies() call. |
| 145 } | 146 } |
| 146 | 147 |
| 147 PassOwnPtr<Settings> Settings::create(Page* page) | 148 PassOwnPtr<Settings> Settings::create(Page* page) |
| 148 { | 149 { |
| 149 return adoptPtr(new Settings(page)); | 150 return adoptPtr(new Settings(page)); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 { | 387 { |
| 387 if (m_viewportEnabled == enabled) | 388 if (m_viewportEnabled == enabled) |
| 388 return; | 389 return; |
| 389 | 390 |
| 390 m_viewportEnabled = enabled; | 391 m_viewportEnabled = enabled; |
| 391 if (m_page->mainFrame()) | 392 if (m_page->mainFrame()) |
| 392 m_page->mainFrame()->document()->updateViewportArguments(); | 393 m_page->mainFrame()->document()->updateViewportArguments(); |
| 393 } | 394 } |
| 394 | 395 |
| 395 } // namespace WebCore | 396 } // namespace WebCore |
| OLD | NEW |