OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 , m_fontRenderingMode(0) | 83 , m_fontRenderingMode(0) |
84 , m_webArchiveDebugModeEnabled(false) | 84 , m_webArchiveDebugModeEnabled(false) |
85 , m_inApplicationChromeMode(false) | 85 , m_inApplicationChromeMode(false) |
86 , m_offlineWebApplicationCacheEnabled(false) | 86 , m_offlineWebApplicationCacheEnabled(false) |
87 , m_shouldPaintCustomScrollbars(false) | 87 , m_shouldPaintCustomScrollbars(false) |
88 , m_zoomsTextOnly(false) | 88 , m_zoomsTextOnly(false) |
89 , m_enforceCSSMIMETypeInStrictMode(true) | 89 , m_enforceCSSMIMETypeInStrictMode(true) |
90 , m_usesEncodingDetector(false) | 90 , m_usesEncodingDetector(false) |
91 , m_maximumDecodedImageSize(std::numeric_limits<size_t>::max()) | 91 , m_maximumDecodedImageSize(std::numeric_limits<size_t>::max()) |
92 , m_allowScriptsToCloseWindows(false) | 92 , m_allowScriptsToCloseWindows(false) |
| 93 , m_remoteFontEnabled(true) |
93 { | 94 { |
94 // A Frame may not have been created yet, so we initialize the AtomicString | 95 // A Frame may not have been created yet, so we initialize the AtomicString |
95 // hash before trying to use it. | 96 // hash before trying to use it. |
96 AtomicString::init(); | 97 AtomicString::init(); |
97 } | 98 } |
98 | 99 |
99 void Settings::setStandardFontFamily(const AtomicString& standardFontFamily) | 100 void Settings::setStandardFontFamily(const AtomicString& standardFontFamily) |
100 { | 101 { |
101 if (standardFontFamily == m_standardFontFamily) | 102 if (standardFontFamily == m_standardFontFamily) |
102 return; | 103 return; |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 void Settings::setUsesEncodingDetector(bool usesEncodingDetector) | 429 void Settings::setUsesEncodingDetector(bool usesEncodingDetector) |
429 { | 430 { |
430 m_usesEncodingDetector = usesEncodingDetector; | 431 m_usesEncodingDetector = usesEncodingDetector; |
431 } | 432 } |
432 | 433 |
433 void Settings::setAllowScriptsToCloseWindows(bool allowScriptsToCloseWindows) | 434 void Settings::setAllowScriptsToCloseWindows(bool allowScriptsToCloseWindows) |
434 { | 435 { |
435 m_allowScriptsToCloseWindows = allowScriptsToCloseWindows; | 436 m_allowScriptsToCloseWindows = allowScriptsToCloseWindows; |
436 } | 437 } |
437 | 438 |
| 439 void Settings::setRemoteFontEnabled(bool remoteFontEnabled) |
| 440 { |
| 441 m_remoteFontEnabled = remoteFontEnabled; |
| 442 } |
| 443 |
438 } // namespace WebCore | 444 } // namespace WebCore |
OLD | NEW |