Chromium Code Reviews| 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::setTextTrackBackgroundColor(const WebString& color) | |
| 389 { | |
| 390 m_settings->setTextTrackBackgroundColor((String)color); | |
|
philipj_slow
2015/03/17 02:22:31
Is the (String) case really needed? setDefaultVide
srivats
2015/03/18 01:58:13
It turns out the (String) case wasn't required. I
| |
| 391 } | |
| 392 | |
| 393 void WebSettingsImpl::setTextTrackFontFamily(const WebString& fontFamily) | |
| 394 { | |
| 395 m_settings->setTextTrackFontFamily((String)fontFamily); | |
| 396 } | |
| 397 | |
| 398 void WebSettingsImpl::setTextTrackFontStyle(const WebString& fontStyle) | |
| 399 { | |
| 400 m_settings->setTextTrackFontStyle((String)fontStyle); | |
| 401 } | |
| 402 | |
| 403 void WebSettingsImpl::setTextTrackFontVariant(const WebString& fontVariant) | |
| 404 { | |
| 405 m_settings->setTextTrackFontVariant((String)fontVariant); | |
| 406 } | |
| 407 | |
| 408 void WebSettingsImpl::setTextTrackTextColor(const WebString& color) | |
| 409 { | |
| 410 m_settings->setTextTrackTextColor((String)color); | |
| 411 } | |
| 412 | |
| 413 void WebSettingsImpl::setTextTrackTextShadow(const WebString& shadow) | |
| 414 { | |
| 415 m_settings->setTextTrackTextShadow((String)shadow); | |
| 416 } | |
| 417 | |
| 418 void WebSettingsImpl::setTextTrackTextSize(const WebString& size) | |
| 419 { | |
| 420 m_settings->setTextTrackTextSize((String)size); | |
| 421 } | |
| 422 | |
| 388 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) | 423 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) |
| 389 { | 424 { |
| 390 m_settings->setUnsafePluginPastingEnabled(enabled); | 425 m_settings->setUnsafePluginPastingEnabled(enabled); |
| 391 } | 426 } |
| 392 | 427 |
| 393 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) | 428 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) |
| 394 { | 429 { |
| 395 m_settings->setDNSPrefetchingEnabled(enabled); | 430 m_settings->setDNSPrefetchingEnabled(enabled); |
| 396 } | 431 } |
| 397 | 432 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 755 { | 790 { |
| 756 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 791 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 757 } | 792 } |
| 758 | 793 |
| 759 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 794 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 760 { | 795 { |
| 761 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 796 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 762 } | 797 } |
| 763 | 798 |
| 764 } // namespace blink | 799 } // namespace blink |
| OLD | NEW |