| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 void WebSettingsImpl::setUsesEncodingDetector(bool usesDetector) | 337 void WebSettingsImpl::setUsesEncodingDetector(bool usesDetector) |
| 338 { | 338 { |
| 339 m_settings->setUsesEncodingDetector(usesDetector); | 339 m_settings->setUsesEncodingDetector(usesDetector); |
| 340 } | 340 } |
| 341 | 341 |
| 342 void WebSettingsImpl::setTextAreasAreResizable(bool areResizable) | 342 void WebSettingsImpl::setTextAreasAreResizable(bool areResizable) |
| 343 { | 343 { |
| 344 m_settings->setTextAreasAreResizable(areResizable); | 344 m_settings->setTextAreasAreResizable(areResizable); |
| 345 } | 345 } |
| 346 | 346 |
| 347 void WebSettingsImpl::setJavaEnabled(bool enabled) | |
| 348 { | |
| 349 m_settings->setJavaEnabled(enabled); | |
| 350 } | |
| 351 | |
| 352 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) | 347 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) |
| 353 { | 348 { |
| 354 m_settings->setAllowScriptsToCloseWindows(allow); | 349 m_settings->setAllowScriptsToCloseWindows(allow); |
| 355 } | 350 } |
| 356 | 351 |
| 357 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) | 352 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) |
| 358 { | 353 { |
| 359 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); | 354 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); |
| 360 } | 355 } |
| 361 | 356 |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 { | 814 { |
| 820 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 815 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 821 } | 816 } |
| 822 | 817 |
| 823 void WebSettingsImpl::setHidePinchScrollbarsNearMinScale(bool enabled) | 818 void WebSettingsImpl::setHidePinchScrollbarsNearMinScale(bool enabled) |
| 824 { | 819 { |
| 825 m_devToolsEmulator->setHidePinchScrollbarsNearMinScale(enabled); | 820 m_devToolsEmulator->setHidePinchScrollbarsNearMinScale(enabled); |
| 826 } | 821 } |
| 827 | 822 |
| 828 } // namespace blink | 823 } // namespace blink |
| OLD | NEW |