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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 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 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 e5213ef6d9d7276b98412f25192212e9c4bf0fb1..b6f6f1906bf2b2463ed391c9a749179dc3650055 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1406,7 +1406,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();
}
@@ -1882,7 +1882,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(

Powered by Google App Engine
This is Rietveld 408576698