| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) | 368 void WebSettingsImpl::setJavaScriptCanAccessClipboard(bool enabled) |
| 369 { | 369 { |
| 370 m_settings->setJavaScriptCanAccessClipboard(enabled); | 370 m_settings->setJavaScriptCanAccessClipboard(enabled); |
| 371 } | 371 } |
| 372 | 372 |
| 373 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) | 373 void WebSettingsImpl::setXSSAuditorEnabled(bool enabled) |
| 374 { | 374 { |
| 375 m_settings->setXSSAuditorEnabled(enabled); | 375 m_settings->setXSSAuditorEnabled(enabled); |
| 376 } | 376 } |
| 377 | 377 |
| 378 void WebSettingsImpl::setTextTrackKindUserPreference(TextTrackKindUserPreference
preference) |
| 379 { |
| 380 m_settings->setTextTrackKindUserPreference(static_cast<blink::TextTrackKindU
serPreference>(preference)); |
| 381 } |
| 382 |
| 378 void WebSettingsImpl::setTextTrackBackgroundColor(const WebString& color) | 383 void WebSettingsImpl::setTextTrackBackgroundColor(const WebString& color) |
| 379 { | 384 { |
| 380 m_settings->setTextTrackBackgroundColor(color); | 385 m_settings->setTextTrackBackgroundColor(color); |
| 381 } | 386 } |
| 382 | 387 |
| 383 void WebSettingsImpl::setTextTrackFontFamily(const WebString& fontFamily) | 388 void WebSettingsImpl::setTextTrackFontFamily(const WebString& fontFamily) |
| 384 { | 389 { |
| 385 m_settings->setTextTrackFontFamily(fontFamily); | 390 m_settings->setTextTrackFontFamily(fontFamily); |
| 386 } | 391 } |
| 387 | 392 |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 { | 802 { |
| 798 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 799 } | 804 } |
| 800 | 805 |
| 801 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 806 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 802 { | 807 { |
| 803 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 808 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 804 } | 809 } |
| 805 | 810 |
| 806 } // namespace blink | 811 } // namespace blink |
| OLD | NEW |