Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: Source/web/WebSettingsImpl.cpp

Issue 775553002: Add a setting to determine whether showing context menu on mouse up. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add a comment Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698