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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 void WebSettingsImpl::setAvailableHoverTypes(int types) | 307 void WebSettingsImpl::setAvailableHoverTypes(int types) |
308 { | 308 { |
309 m_settings->setAvailableHoverTypes(types); | 309 m_settings->setAvailableHoverTypes(types); |
310 } | 310 } |
311 | 311 |
312 void WebSettingsImpl::setPrimaryHoverType(HoverType type) | 312 void WebSettingsImpl::setPrimaryHoverType(HoverType type) |
313 { | 313 { |
314 m_settings->setPrimaryHoverType(static_cast<blink::HoverType>(type)); | 314 m_settings->setPrimaryHoverType(static_cast<blink::HoverType>(type)); |
315 } | 315 } |
316 | 316 |
| 317 void WebSettingsImpl::setPreferHiddenVolumeControls(bool enabled) |
| 318 { |
| 319 m_settings->setPreferHiddenVolumeControls(enabled); |
| 320 } |
| 321 |
317 void WebSettingsImpl::setDOMPasteAllowed(bool enabled) | 322 void WebSettingsImpl::setDOMPasteAllowed(bool enabled) |
318 { | 323 { |
319 m_settings->setDOMPasteAllowed(enabled); | 324 m_settings->setDOMPasteAllowed(enabled); |
320 } | 325 } |
321 | 326 |
322 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent) | 327 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent) |
323 { | 328 { |
324 m_shrinksViewportContentToFit = shrinkViewportContent; | 329 m_shrinksViewportContentToFit = shrinkViewportContent; |
325 } | 330 } |
326 | 331 |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 { | 809 { |
805 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 810 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
806 } | 811 } |
807 | 812 |
808 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 813 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
809 { | 814 { |
810 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 815 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
811 } | 816 } |
812 | 817 |
813 } // namespace blink | 818 } // namespace blink |
OLD | NEW |