| 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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 m_settings->setWebAudioEnabled(enabled); | 471 m_settings->setWebAudioEnabled(enabled); |
| 472 } | 472 } |
| 473 | 473 |
| 474 void WebSettingsImpl::setExperimentalWebGLEnabled(bool enabled) | 474 void WebSettingsImpl::setExperimentalWebGLEnabled(bool enabled) |
| 475 { | 475 { |
| 476 m_settings->setWebGLEnabled(enabled); | 476 m_settings->setWebGLEnabled(enabled); |
| 477 } | 477 } |
| 478 | 478 |
| 479 void WebSettingsImpl::setRegionBasedColumnsEnabled(bool enabled) | 479 void WebSettingsImpl::setRegionBasedColumnsEnabled(bool enabled) |
| 480 { | 480 { |
| 481 m_settings->setRegionBasedColumnsEnabled(enabled); | 481 // TODO(mstensho): Get rid of this method. Cannot do it yet, because it's st
ill called from the |
| 482 // Chromium side. See crbug.com/350853 |
| 482 } | 483 } |
| 483 | 484 |
| 484 void WebSettingsImpl::setOpenGLMultisamplingEnabled(bool enabled) | 485 void WebSettingsImpl::setOpenGLMultisamplingEnabled(bool enabled) |
| 485 { | 486 { |
| 486 m_settings->setOpenGLMultisamplingEnabled(enabled); | 487 m_settings->setOpenGLMultisamplingEnabled(enabled); |
| 487 } | 488 } |
| 488 | 489 |
| 489 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) | 490 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) |
| 490 { | 491 { |
| 491 m_renderVSyncNotificationEnabled = enabled; | 492 m_renderVSyncNotificationEnabled = enabled; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 { | 777 { |
| 777 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 778 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 778 } | 779 } |
| 779 | 780 |
| 780 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 781 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 781 { | 782 { |
| 782 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 783 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 783 } | 784 } |
| 784 | 785 |
| 785 } // namespace blink | 786 } // namespace blink |
| OLD | NEW |