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

Side by Side Diff: ash/display/mouse_cursor_event_filter.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_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H 5 #ifndef ASH_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H
6 #define ASH_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H 6 #define ASH_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/display/display_controller.h" 9 #include "ash/display/display_controller.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 29 matching lines...) Expand all
40 void set_mouse_warp_mode(MouseWarpMode mouse_warp_mode) { 40 void set_mouse_warp_mode(MouseWarpMode mouse_warp_mode) {
41 mouse_warp_mode_ = mouse_warp_mode; 41 mouse_warp_mode_ = mouse_warp_mode;
42 } 42 }
43 43
44 // Shows/Hide the indicator for window dragging. The |from| 44 // Shows/Hide the indicator for window dragging. The |from|
45 // is the window where the dragging started. 45 // is the window where the dragging started.
46 void ShowSharedEdgeIndicator(aura::Window* from); 46 void ShowSharedEdgeIndicator(aura::Window* from);
47 void HideSharedEdgeIndicator(); 47 void HideSharedEdgeIndicator();
48 48
49 // DisplayController::Observer: 49 // DisplayController::Observer:
50 virtual void OnDisplaysInitialized() OVERRIDE; 50 virtual void OnDisplaysInitialized() override;
51 virtual void OnDisplayConfigurationChanged() OVERRIDE; 51 virtual void OnDisplayConfigurationChanged() override;
52 52
53 // ui::EventHandler: 53 // ui::EventHandler:
54 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 54 virtual void OnMouseEvent(ui::MouseEvent* event) override;
55 55
56 private: 56 private:
57 friend class DragWindowResizerTest; 57 friend class DragWindowResizerTest;
58 friend class MouseCursorEventFilterTest; 58 friend class MouseCursorEventFilterTest;
59 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, DoNotWarpTwice); 59 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, DoNotWarpTwice);
60 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, SetMouseWarpModeFlag); 60 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, SetMouseWarpModeFlag);
61 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, 61 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest,
62 IndicatorBoundsTestOnRight); 62 IndicatorBoundsTestOnRight);
63 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest, 63 FRIEND_TEST_ALL_PREFIXES(MouseCursorEventFilterTest,
64 IndicatorBoundsTestOnLeft); 64 IndicatorBoundsTestOnLeft);
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Shows the area where a window can be dragged in to/out from 123 // Shows the area where a window can be dragged in to/out from
124 // another display. 124 // another display.
125 scoped_ptr<SharedDisplayEdgeIndicator> shared_display_edge_indicator_; 125 scoped_ptr<SharedDisplayEdgeIndicator> shared_display_edge_indicator_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(MouseCursorEventFilter); 127 DISALLOW_COPY_AND_ASSIGN(MouseCursorEventFilter);
128 }; 128 };
129 129
130 } // namespace ash 130 } // namespace ash
131 131
132 #endif // ASH_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H 132 #endif // ASH_DISPLAY_MOUSE_CURSOR_EVENT_FILTER_H
OLDNEW
« no previous file with comments | « ash/display/mirror_window_controller_unittest.cc ('k') | ash/display/projecting_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698