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

Side by Side Diff: trunk/src/ui/chromeos/touch_exploration_controller.h

Issue 483443002: Revert 290001 because it's causing test failures: (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | trunk/src/ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ 5 #ifndef UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_
6 #define UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ 6 #define UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_
7 7
8 #include "base/time/tick_clock.h" 8 #include "base/time/tick_clock.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const ui::Event& event, 179 const ui::Event& event,
180 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE; 180 scoped_ptr<ui::Event>* rewritten_event) OVERRIDE;
181 virtual ui::EventRewriteStatus NextDispatchEvent( 181 virtual ui::EventRewriteStatus NextDispatchEvent(
182 const ui::Event& last_event, scoped_ptr<ui::Event>* new_event) OVERRIDE; 182 const ui::Event& last_event, scoped_ptr<ui::Event>* new_event) OVERRIDE;
183 183
184 // Event handlers based on the current state - see State, below. 184 // Event handlers based on the current state - see State, below.
185 ui::EventRewriteStatus InNoFingersDown( 185 ui::EventRewriteStatus InNoFingersDown(
186 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 186 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
187 ui::EventRewriteStatus InSingleTapPressed( 187 ui::EventRewriteStatus InSingleTapPressed(
188 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 188 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
189 ui::EventRewriteStatus InSingleTapReleased( 189 ui::EventRewriteStatus InSingleTapOrTouchExploreReleased(
190 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
191 ui::EventRewriteStatus InTouchExploreReleased(
192 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 190 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
193 ui::EventRewriteStatus InDoubleTapPending( 191 ui::EventRewriteStatus InDoubleTapPending(
194 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 192 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
195 ui::EventRewriteStatus InTouchReleasePending( 193 ui::EventRewriteStatus InTouchReleasePending(
196 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 194 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
197 ui::EventRewriteStatus InTouchExploration( 195 ui::EventRewriteStatus InTouchExploration(
198 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 196 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
199 ui::EventRewriteStatus InCornerPassthrough( 197 ui::EventRewriteStatus InCornerPassthrough(
200 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event); 198 const ui::TouchEvent& event, scoped_ptr<ui::Event>* rewritten_event);
201 ui::EventRewriteStatus InOneFingerPassthrough( 199 ui::EventRewriteStatus InOneFingerPassthrough(
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 std::map<int, base::Closure> right_swipe_gestures_; 469 std::map<int, base::Closure> right_swipe_gestures_;
472 std::map<int, base::Closure> up_swipe_gestures_; 470 std::map<int, base::Closure> up_swipe_gestures_;
473 std::map<int, base::Closure> down_swipe_gestures_; 471 std::map<int, base::Closure> down_swipe_gestures_;
474 472
475 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController); 473 DISALLOW_COPY_AND_ASSIGN(TouchExplorationController);
476 }; 474 };
477 475
478 } // namespace ui 476 } // namespace ui
479 477
480 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_ 478 #endif // UI_CHROMEOS_TOUCH_EXPLORATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | trunk/src/ui/chromeos/touch_exploration_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698