| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 | 340 |
| 341 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) | 341 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) |
| 342 { | 342 { |
| 343 m_settings->setShouldRespectImageOrientation(enabled); | 343 m_settings->setShouldRespectImageOrientation(enabled); |
| 344 } | 344 } |
| 345 | 345 |
| 346 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) | 346 void WebSettingsImpl::setMediaControlsOverlayPlayButtonEnabled(bool enabled) |
| 347 { | 347 { |
| 348 } | 348 } |
| 349 | 349 |
| 350 void WebSettingsImpl::setMediaPlaybackRequiresUserGesture(bool required) | |
| 351 { | |
| 352 m_settings->setMediaPlaybackRequiresUserGesture(required); | |
| 353 } | |
| 354 | |
| 355 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) | 350 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) |
| 356 { | 351 { |
| 357 m_settings->setSelectionIncludesAltImageText(enabled); | 352 m_settings->setSelectionIncludesAltImageText(enabled); |
| 358 } | 353 } |
| 359 | 354 |
| 360 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 355 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 361 { | 356 { |
| 362 m_settings->setSmartInsertDeleteEnabled(enabled); | 357 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 363 } | 358 } |
| 364 | 359 |
| 365 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) | 360 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) |
| 366 { | 361 { |
| 367 m_settings->setUseSolidColorScrollbars(enabled); | 362 m_settings->setUseSolidColorScrollbars(enabled); |
| 368 } | 363 } |
| 369 | 364 |
| 370 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 365 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
| 371 { | 366 { |
| 372 m_mainFrameResizesAreOrientationChanges = enabled; | 367 m_mainFrameResizesAreOrientationChanges = enabled; |
| 373 } | 368 } |
| 374 | 369 |
| 375 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) | 370 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) |
| 376 { | 371 { |
| 377 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 372 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 378 } | 373 } |
| 379 | 374 |
| 380 } // namespace blink | 375 } // namespace blink |
| OLD | NEW |