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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) | 464 void WebSettingsImpl::setRenderVSyncNotificationEnabled(bool enabled) |
465 { | 465 { |
466 m_renderVSyncNotificationEnabled = enabled; | 466 m_renderVSyncNotificationEnabled = enabled; |
467 } | 467 } |
468 | 468 |
469 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled) | 469 void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled) |
470 { | 470 { |
471 m_settings->setWebGLErrorsToConsoleEnabled(enabled); | 471 m_settings->setWebGLErrorsToConsoleEnabled(enabled); |
472 } | 472 } |
473 | 473 |
| 474 void WebSettingsImpl::setShowContextMenuOnMouseUp(bool enabled) |
| 475 { |
| 476 m_settings->setShowContextMenuOnMouseUp(enabled); |
| 477 } |
| 478 |
474 void WebSettingsImpl::setShowFPSCounter(bool show) | 479 void WebSettingsImpl::setShowFPSCounter(bool show) |
475 { | 480 { |
476 m_showFPSCounter = show; | 481 m_showFPSCounter = show; |
477 } | 482 } |
478 | 483 |
479 void WebSettingsImpl::setShowPaintRects(bool show) | 484 void WebSettingsImpl::setShowPaintRects(bool show) |
480 { | 485 { |
481 m_showPaintRects = show; | 486 m_showPaintRects = show; |
482 } | 487 } |
483 | 488 |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 { | 756 { |
752 m_settings->setV8ScriptStreamingEnabled(enabled); | 757 m_settings->setV8ScriptStreamingEnabled(enabled); |
753 } | 758 } |
754 | 759 |
755 void WebSettingsImpl::setV8ScriptStreamingMode(V8ScriptStreamingMode mode) | 760 void WebSettingsImpl::setV8ScriptStreamingMode(V8ScriptStreamingMode mode) |
756 { | 761 { |
757 m_settings->setV8ScriptStreamingMode(static_cast<blink::ScriptStreamingMode>
(mode)); | 762 m_settings->setV8ScriptStreamingMode(static_cast<blink::ScriptStreamingMode>
(mode)); |
758 } | 763 } |
759 | 764 |
760 } // namespace blink | 765 } // namespace blink |
OLD | NEW |