| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) | 369 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) |
| 370 { | 370 { |
| 371 m_settings->setJavaScriptCanAccessClipboard(enabled); | 371 m_settings->setJavaScriptCanAccessClipboard(enabled); |
| 372 } | 372 } |
| 373 | 373 |
| 374 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) | 374 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) |
| 375 { | 375 { |
| 376 m_settings->setXSSAuditorEnabled(enabled); | 376 m_settings->setXSSAuditorEnabled(enabled); |
| 377 } | 377 } |
| 378 | 378 |
| 379 void WebSettingsImpl::setTextTrackBackgroundColor(const WebString& color) |
| 380 { |
| 381 m_settings->setTextTrackBackgroundColor(color); |
| 382 } |
| 383 |
| 384 void WebSettingsImpl::setTextTrackFontFamily(const WebString& fontFamily) |
| 385 { |
| 386 m_settings->setTextTrackFontFamily(fontFamily); |
| 387 } |
| 388 |
| 389 void WebSettingsImpl::setTextTrackFontStyle(const WebString& fontStyle) |
| 390 { |
| 391 m_settings->setTextTrackFontStyle(fontStyle); |
| 392 } |
| 393 |
| 394 void WebSettingsImpl::setTextTrackFontVariant(const WebString& fontVariant) |
| 395 { |
| 396 m_settings->setTextTrackFontVariant(fontVariant); |
| 397 } |
| 398 |
| 399 void WebSettingsImpl::setTextTrackTextColor(const WebString& color) |
| 400 { |
| 401 m_settings->setTextTrackTextColor(color); |
| 402 } |
| 403 |
| 404 void WebSettingsImpl::setTextTrackTextShadow(const WebString& shadow) |
| 405 { |
| 406 m_settings->setTextTrackTextShadow(shadow); |
| 407 } |
| 408 |
| 409 void WebSettingsImpl::setTextTrackTextSize(const WebString& size) |
| 410 { |
| 411 m_settings->setTextTrackTextSize(size); |
| 412 } |
| 413 |
| 379 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) | 414 void WebSettingsImpl::setUnsafePluginPastingEnabled(bool enabled) |
| 380 { | 415 { |
| 381 m_settings->setUnsafePluginPastingEnabled(enabled); | 416 m_settings->setUnsafePluginPastingEnabled(enabled); |
| 382 } | 417 } |
| 383 | 418 |
| 384 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) | 419 void WebSettingsImpl::setDNSPrefetchingEnabled(bool enabled) |
| 385 { | 420 { |
| 386 m_settings->setDNSPrefetchingEnabled(enabled); | 421 m_settings->setDNSPrefetchingEnabled(enabled); |
| 387 } | 422 } |
| 388 | 423 |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 { | 776 { |
| 742 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 777 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 743 } | 778 } |
| 744 | 779 |
| 745 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 780 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 746 { | 781 { |
| 747 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 782 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 748 } | 783 } |
| 749 | 784 |
| 750 } // namespace blink | 785 } // namespace blink |
| OLD | NEW |