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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) | 495 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) |
496 { | 496 { |
497 m_renderVSyncNotificationEnabled = enabled; | 497 m_renderVSyncNotificationEnabled = enabled; |
498 } | 498 } |
499 | 499 |
500 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled) | 500 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled) |
501 { | 501 { |
502 m_settings->setWebGLErrorsToConsoleEnabled(enabled); | 502 m_settings->setWebGLErrorsToConsoleEnabled(enabled); |
503 } | 503 } |
504 | 504 |
| 505 void WebSettingsImpl::setAlwaysShowContextMenuOnTouch(bool enabled) |
| 506 { |
| 507 m_settings->setAlwaysShowContextMenuOnTouch(enabled); |
| 508 } |
| 509 |
505 void WebSettingsImpl::setShowContextMenuOnMouseUp(bool enabled) | 510 void WebSettingsImpl::setShowContextMenuOnMouseUp(bool enabled) |
506 { | 511 { |
507 m_settings->setShowContextMenuOnMouseUp(enabled); | 512 m_settings->setShowContextMenuOnMouseUp(enabled); |
508 } | 513 } |
509 | 514 |
510 void WebSettingsImpl::setShowFPSCounter(bool show) | 515 void WebSettingsImpl::setShowFPSCounter(bool show) |
511 { | 516 { |
512 m_showFPSCounter = show; | 517 m_showFPSCounter = show; |
513 } | 518 } |
514 | 519 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 { | 812 { |
808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); | 813 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); |
809 } | 814 } |
810 | 815 |
811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 816 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
812 { | 817 { |
813 m_devToolsEmulator->setViewportStyle(style); | 818 m_devToolsEmulator->setViewportStyle(style); |
814 } | 819 } |
815 | 820 |
816 } // namespace blink | 821 } // namespace blink |
OLD | NEW |