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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 9c31d0adbe7df075c725e6428901d554fc4df1a2..32a751c9cc79139fb12318d9b721b9b8c40d4e2d 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1407,7 +1407,7 @@ bool EventHandler::isScrollbarHandlingGestures() const {
bool EventHandler::shouldApplyTouchAdjustment(
const WebGestureEvent& event) const {
- if (m_frame->settings() && !m_frame->settings()->touchAdjustmentEnabled())
+ if (m_frame->settings() && !m_frame->settings()->getTouchAdjustmentEnabled())
return false;
return !event.tapAreaInRootFrame().isEmpty();
}
@@ -1883,7 +1883,7 @@ WebInputEventResult EventHandler::sendContextMenuEventForKey(
// The contextmenu event is a mouse event even when invoked using the
// keyboard. This is required for web compatibility.
PlatformEvent::EventType eventType = PlatformEvent::MousePressed;
- if (m_frame->settings() && m_frame->settings()->showContextMenuOnMouseUp())
+ if (m_frame->settings() && m_frame->settings()->getShowContextMenuOnMouseUp())
eventType = PlatformEvent::MouseReleased;
PlatformMouseEvent mouseEvent(
« no previous file with comments | « third_party/WebKit/Source/core/html/track/vtt/VTTCue.cpp ('k') | third_party/WebKit/Source/core/input/GestureManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698