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

Side by Side Diff: ui/events/gesture_detection/filtered_gesture_provider.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « ui/events/event_target_iterator.h ('k') | ui/events/gesture_detection/gesture_provider.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_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_ 5 #ifndef UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_
6 #define UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_ 6 #define UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "ui/events/gesture_detection/gesture_event_data_packet.h" 9 #include "ui/events/gesture_detection/gesture_event_data_packet.h"
10 #include "ui/events/gesture_detection/gesture_provider.h" 10 #include "ui/events/gesture_detection/gesture_provider.h"
(...skipping 22 matching lines...) Expand all
33 void OnTouchEventAck(bool event_consumed); 33 void OnTouchEventAck(bool event_consumed);
34 34
35 // Methods delegated to |gesture_provider_|. 35 // Methods delegated to |gesture_provider_|.
36 void SetMultiTouchZoomSupportEnabled(bool enabled); 36 void SetMultiTouchZoomSupportEnabled(bool enabled);
37 void SetDoubleTapSupportForPlatformEnabled(bool enabled); 37 void SetDoubleTapSupportForPlatformEnabled(bool enabled);
38 void SetDoubleTapSupportForPageEnabled(bool enabled); 38 void SetDoubleTapSupportForPageEnabled(bool enabled);
39 const ui::MotionEvent* GetCurrentDownEvent() const; 39 const ui::MotionEvent* GetCurrentDownEvent() const;
40 40
41 private: 41 private:
42 // GestureProviderClient implementation. 42 // GestureProviderClient implementation.
43 virtual void OnGestureEvent(const ui::GestureEventData& event) OVERRIDE; 43 virtual void OnGestureEvent(const ui::GestureEventData& event) override;
44 44
45 // TouchDispositionGestureFilterClient implementation. 45 // TouchDispositionGestureFilterClient implementation.
46 virtual void ForwardGestureEvent(const ui::GestureEventData& event) OVERRIDE; 46 virtual void ForwardGestureEvent(const ui::GestureEventData& event) override;
47 47
48 GestureProviderClient* const client_; 48 GestureProviderClient* const client_;
49 49
50 ui::GestureProvider gesture_provider_; 50 ui::GestureProvider gesture_provider_;
51 ui::TouchDispositionGestureFilter gesture_filter_; 51 ui::TouchDispositionGestureFilter gesture_filter_;
52 52
53 bool handling_event_; 53 bool handling_event_;
54 ui::GestureEventDataPacket pending_gesture_packet_; 54 ui::GestureEventDataPacket pending_gesture_packet_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(FilteredGestureProvider); 56 DISALLOW_COPY_AND_ASSIGN(FilteredGestureProvider);
57 }; 57 };
58 58
59 } // namespace ui 59 } // namespace ui
60 60
61 #endif // UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_ 61 #endif // UI_EVENTS_GESTURE_DETECTION_FILTERED_GESTURE_PROVIDER_H_
OLDNEW
« no previous file with comments | « ui/events/event_target_iterator.h ('k') | ui/events/gesture_detection/gesture_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698