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

Unified Diff: third_party/WebKit/Source/platform/PlatformTouchPoint.h

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 10 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/platform/PlatformTouchPoint.h
diff --git a/third_party/WebKit/Source/platform/PlatformTouchPoint.h b/third_party/WebKit/Source/platform/PlatformTouchPoint.h
index b9071f1534b93d731d72dfe5655f0edb45c42e19..d9d37f44cf921a188fe106517efe747eaa999910 100644
--- a/third_party/WebKit/Source/platform/PlatformTouchPoint.h
+++ b/third_party/WebKit/Source/platform/PlatformTouchPoint.h
@@ -27,7 +27,7 @@ namespace blink {
class PlatformTouchPoint {
public:
- enum State {
+ enum TouchState {
TouchReleased,
TouchPressed,
TouchMoved,
@@ -44,7 +44,7 @@ public:
const WebPointerProperties& pointerProperties() const { return m_pointerProperties; }
int id() const { return pointerProperties().id; }
- State state() const { return m_state; }
+ TouchState state() const { return m_state; }
FloatPoint screenPos() const { return m_screenPos; }
FloatPoint pos() const { return m_pos; }
FloatSize radius() const { return m_radius; }
@@ -54,7 +54,7 @@ public:
protected:
WebPointerProperties m_pointerProperties;
- State m_state;
+ TouchState m_state;
FloatPoint m_screenPos;
FloatPoint m_pos;
FloatSize m_radius;
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformMouseEvent.h ('k') | third_party/WebKit/Source/platform/animation/TimingFunction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698