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

Side by Side Diff: third_party/WebKit/Source/platform/PlatformWheelEvent.h

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 float wheelTicksX() const { return m_wheelTicksX; } 84 float wheelTicksX() const { return m_wheelTicksX; }
85 float wheelTicksY() const { return m_wheelTicksY; } 85 float wheelTicksY() const { return m_wheelTicksY; }
86 86
87 PlatformWheelEventGranularity granularity() const { return m_granularity; } 87 PlatformWheelEventGranularity granularity() const { return m_granularity; }
88 88
89 bool hasPreciseScrollingDeltas() const { return m_hasPreciseScrollingDeltas; } 89 bool hasPreciseScrollingDeltas() const { return m_hasPreciseScrollingDeltas; }
90 void setHasPreciseScrollingDeltas(bool b) { m_hasPreciseScrollingDeltas = b; } 90 void setHasPreciseScrollingDeltas(bool b) { m_hasPreciseScrollingDeltas = b; }
91 bool canScroll() const { return m_canScroll; } 91 bool canScroll() const { return m_canScroll; }
92 void setCanScroll(bool b) { m_canScroll = b; } 92 void setCanScroll(bool b) { m_canScroll = b; }
93 int resendingPluginId() const { return m_resendingPluginId; } 93 int resendingPluginId() const { return m_resendingPluginId; }
94 RailsMode railsMode() const { return m_railsMode; } 94 RailsMode getRailsMode() const { return m_railsMode; }
95 95
96 #if OS(MACOSX) 96 #if OS(MACOSX)
97 PlatformWheelEventPhase phase() const { return m_phase; } 97 PlatformWheelEventPhase phase() const { return m_phase; }
98 PlatformWheelEventPhase momentumPhase() const { return m_momentumPhase; } 98 PlatformWheelEventPhase momentumPhase() const { return m_momentumPhase; }
99 bool canRubberbandLeft() const { return m_canRubberbandLeft; } 99 bool canRubberbandLeft() const { return m_canRubberbandLeft; }
100 bool canRubberbandRight() const { return m_canRubberbandRight; } 100 bool canRubberbandRight() const { return m_canRubberbandRight; }
101 #endif 101 #endif
102 102
103 protected: 103 protected:
104 IntPoint m_position; 104 IntPoint m_position;
(...skipping 11 matching lines...) Expand all
116 PlatformWheelEventPhase m_phase; 116 PlatformWheelEventPhase m_phase;
117 PlatformWheelEventPhase m_momentumPhase; 117 PlatformWheelEventPhase m_momentumPhase;
118 bool m_canRubberbandLeft; 118 bool m_canRubberbandLeft;
119 bool m_canRubberbandRight; 119 bool m_canRubberbandRight;
120 #endif 120 #endif
121 }; 121 };
122 122
123 } // namespace blink 123 } // namespace blink
124 124
125 #endif // PlatformWheelEvent_h 125 #endif // PlatformWheelEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/filesystem/FileWriter.idl ('k') | third_party/WebKit/Source/platform/Prerender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698