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

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

Issue 2024323002: Fixing Regression Bug where context menu doesn't appear on long press (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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
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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698