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