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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) | 378 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) |
379 { | 379 { |
380 m_settings->setJavaScriptCanAccessClipboard(enabled); | 380 m_settings->setJavaScriptCanAccessClipboard(enabled); |
381 } | 381 } |
382 | 382 |
383 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) | 383 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) |
384 { | 384 { |
385 m_settings->setXSSAuditorEnabled(enabled); | 385 m_settings->setXSSAuditorEnabled(enabled); |
386 } | 386 } |
387 | 387 |
| 388 void WebSettingsImpl::setPlatformClosedCaptionsEnabled(bool enabled) |
| 389 { |
| 390 m_settings->setPlatformClosedCaptionsEnabled(enabled); |
| 391 } |
| 392 |
| 393 void WebSettingsImpl::setTextTrackBackgroundColor(const WebString& color) |
| 394 { |
| 395 m_settings->setTextTrackBackgroundColor(color); |
| 396 } |
| 397 |
| 398 void WebSettingsImpl::setTextTrackFontFamily(const WebString& fontFamily) |
| 399 { |
| 400 m_settings->setTextTrackFontFamily(fontFamily); |
| 401 } |
| 402 |
| 403 void WebSettingsImpl::setTextTrackFontStyle(const WebString& fontStyle) |
| 404 { |
| 405 m_settings->setTextTrackFontStyle(fontStyle); |
| 406 } |
| 407 |
| 408 void WebSettingsImpl::setTextTrackFontVariant(const WebString& fontVariant) |
| 409 { |
| 410 m_settings->setTextTrackFontVariant(fontVariant); |
| 411 } |
| 412 |
| 413 void WebSettingsImpl::setTextTrackTextColor(const WebString& color) |
| 414 { |
| 415 m_settings->setTextTrackTextColor(color); |
| 416 } |
| 417 |
| 418 void WebSettingsImpl::setTextTrackTextShadow(const WebString& shadow) |
| 419 { |
| 420 m_settings->setTextTrackTextShadow(shadow); |
| 421 } |
| 422 |
| 423 void WebSettingsImpl::setTextTrackTextSize(const WebString& size) |
| 424 { |
| 425 m_settings->setTextTrackTextSize(size); |
| 426 } |
| 427 |
388 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) | 428 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) |
389 { | 429 { |
390 m_settings->setUnsafePluginPastingEnabled(enabled); | 430 m_settings->setUnsafePluginPastingEnabled(enabled); |
391 } | 431 } |
392 | 432 |
393 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) | 433 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) |
394 { | 434 { |
395 m_settings->setDNSPrefetchingEnabled(enabled); | 435 m_settings->setDNSPrefetchingEnabled(enabled); |
396 } | 436 } |
397 | 437 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 { | 795 { |
756 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 796 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
757 } | 797 } |
758 | 798 |
759 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 799 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
760 { | 800 { |
761 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 801 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
762 } | 802 } |
763 | 803 |
764 } // namespace blink | 804 } // namespace blink |
OLD | NEW |