| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 m_clobberUserAgentInitialScaleQuirk(false), | 55 m_clobberUserAgentInitialScaleQuirk(false), |
| 56 m_expensiveBackgroundThrottlingCPUBudget(-1), | 56 m_expensiveBackgroundThrottlingCPUBudget(-1), |
| 57 m_expensiveBackgroundThrottlingInitialBudget(-1), | 57 m_expensiveBackgroundThrottlingInitialBudget(-1), |
| 58 m_expensiveBackgroundThrottlingMaxBudget(-1), | 58 m_expensiveBackgroundThrottlingMaxBudget(-1), |
| 59 m_expensiveBackgroundThrottlingMaxDelay(-1) { | 59 m_expensiveBackgroundThrottlingMaxDelay(-1) { |
| 60 DCHECK(settings); | 60 DCHECK(settings); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void WebSettingsImpl::setFromStrings(const WebString& name, | 63 void WebSettingsImpl::setFromStrings(const WebString& name, |
| 64 const WebString& value) { | 64 const WebString& value) { |
| 65 /* DO NOT SUBMIT - merge conflict marker. |
| 66 * Please spell |setFromStrings|, not |SetFromStrings| below. */ |
| 65 m_settings->setFromStrings(name, value); | 67 m_settings->setFromStrings(name, value); |
| 66 } | 68 } |
| 67 | 69 |
| 68 void WebSettingsImpl::setStandardFontFamily(const WebString& font, | 70 void WebSettingsImpl::setStandardFontFamily(const WebString& font, |
| 69 UScriptCode script) { | 71 UScriptCode script) { |
| 70 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) | 72 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) |
| 71 m_settings->notifyGenericFontFamilyChange(); | 73 m_settings->notifyGenericFontFamilyChange(); |
| 72 } | 74 } |
| 73 | 75 |
| 74 void WebSettingsImpl::setFixedFontFamily(const WebString& font, | 76 void WebSettingsImpl::setFixedFontFamily(const WebString& font, |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { | 725 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { |
| 724 m_settings->setMediaControlsEnabled(enabled); | 726 m_settings->setMediaControlsEnabled(enabled); |
| 725 } | 727 } |
| 726 | 728 |
| 727 void WebSettingsImpl::setDoNotUpdateSelectionOnMutatingSelectionRange( | 729 void WebSettingsImpl::setDoNotUpdateSelectionOnMutatingSelectionRange( |
| 728 bool enabled) { | 730 bool enabled) { |
| 729 m_settings->setDoNotUpdateSelectionOnMutatingSelectionRange(enabled); | 731 m_settings->setDoNotUpdateSelectionOnMutatingSelectionRange(enabled); |
| 730 } | 732 } |
| 731 | 733 |
| 732 } // namespace blink | 734 } // namespace blink |
| OLD | NEW |