| 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 m_settings->setFromStrings(name, value); | 65 /* DO NOT SUBMIT - merge conflict marker. |
| 66 * Please spell |setFromStrings|, not |SetFromStrings| below. */ |
| 67 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, |
| 75 UScriptCode script) { | 77 UScriptCode script) { |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( | 715 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( |
| 714 float maxBudget) { | 716 float maxBudget) { |
| 715 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; | 717 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; |
| 716 } | 718 } |
| 717 | 719 |
| 718 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { | 720 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { |
| 719 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; | 721 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; |
| 720 } | 722 } |
| 721 | 723 |
| 722 } // namespace blink | 724 } // namespace blink |
| OLD | NEW |