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

Side by Side Diff: ash/wm/gestures/tray_gesture_handler.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_ 5 #ifndef ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_
6 #define ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_ 6 #define ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/views/widget/widget_observer.h" 10 #include "ui/views/widget/widget_observer.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // Handles a gesture-update event and updates the dragging state of the tray 24 // Handles a gesture-update event and updates the dragging state of the tray
25 // bubble. Returns true if the handler can continue to process gesture events 25 // bubble. Returns true if the handler can continue to process gesture events
26 // for the bubble. Returns false if it should no longer receive gesture 26 // for the bubble. Returns false if it should no longer receive gesture
27 // events. 27 // events.
28 bool UpdateGestureDrag(const ui::GestureEvent& event); 28 bool UpdateGestureDrag(const ui::GestureEvent& event);
29 29
30 void CompleteGestureDrag(const ui::GestureEvent& event); 30 void CompleteGestureDrag(const ui::GestureEvent& event);
31 31
32 private: 32 private:
33 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; 33 virtual void OnWidgetDestroying(views::Widget* widget) override;
34 34
35 // The widget for the tray-bubble. 35 // The widget for the tray-bubble.
36 views::Widget* widget_; 36 views::Widget* widget_;
37 37
38 // The amount that has been dragged. 38 // The amount that has been dragged.
39 float gesture_drag_amount_; 39 float gesture_drag_amount_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(TrayGestureHandler); 41 DISALLOW_COPY_AND_ASSIGN(TrayGestureHandler);
42 }; 42 };
43 43
44 } // namespace ash 44 } // namespace ash
45 45
46 #endif // ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_ 46 #endif // ASH_WM_GESTURES_TRAY_GESTURE_HANDLER_H_
OLDNEW
« no previous file with comments | « ash/wm/gestures/long_press_affordance_handler.cc ('k') | ash/wm/immersive_fullscreen_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698