| 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) | 287 void WebSettingsImpl::setLoadWithOverviewMode(bool enabled) |
| 288 { | 288 { |
| 289 m_settings->setLoadWithOverviewMode(enabled); | 289 m_settings->setLoadWithOverviewMode(enabled); |
| 290 } | 290 } |
| 291 | 291 |
| 292 void WebSettingsImpl::setPluginsEnabled(bool enabled) | 292 void WebSettingsImpl::setPluginsEnabled(bool enabled) |
| 293 { | 293 { |
| 294 m_devToolsEmulator->setPluginsEnabled(enabled); | 294 m_devToolsEmulator->setPluginsEnabled(enabled); |
| 295 } | 295 } |
| 296 | 296 |
| 297 void WebSettingsImpl::setPreferHiddenAudioElements(bool prefer) |
| 298 { |
| 299 m_settings->setPreferHiddenAudioElements(true); |
| 300 } |
| 301 |
| 297 void WebSettingsImpl::setAvailablePointerTypes(int pointers) | 302 void WebSettingsImpl::setAvailablePointerTypes(int pointers) |
| 298 { | 303 { |
| 299 m_settings->setAvailablePointerTypes(pointers); | 304 m_settings->setAvailablePointerTypes(pointers); |
| 300 } | 305 } |
| 301 | 306 |
| 302 void WebSettingsImpl::setPrimaryPointerType(PointerType pointer) | 307 void WebSettingsImpl::setPrimaryPointerType(PointerType pointer) |
| 303 { | 308 { |
| 304 m_settings->setPrimaryPointerType(static_cast<blink::PointerType>(pointer)); | 309 m_settings->setPrimaryPointerType(static_cast<blink::PointerType>(pointer)); |
| 305 } | 310 } |
| 306 | 311 |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 { | 804 { |
| 800 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 805 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 801 } | 806 } |
| 802 | 807 |
| 803 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 808 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 804 { | 809 { |
| 805 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 810 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 806 } | 811 } |
| 807 | 812 |
| 808 } // namespace blink | 813 } // namespace blink |
| OLD | NEW |