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

Side by Side Diff: ui/wm/core/compound_event_filter.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/wm/core/capture_controller.h ('k') | ui/wm/core/compound_event_filter_unittest.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 (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 UI_WM_CORE_COMPOUND_EVENT_FILTER_H_ 5 #ifndef UI_WM_CORE_COMPOUND_EVENT_FILTER_H_
6 #define UI_WM_CORE_COMPOUND_EVENT_FILTER_H_ 6 #define UI_WM_CORE_COMPOUND_EVENT_FILTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "ui/events/event.h" 10 #include "ui/events/event.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 void SetCursorVisibilityOnEvent(aura::Window* target, 66 void SetCursorVisibilityOnEvent(aura::Window* target,
67 ui::Event* event, 67 ui::Event* event,
68 bool show); 68 bool show);
69 69
70 // Enables or disables mouse events if the event is not synthesized. 70 // Enables or disables mouse events if the event is not synthesized.
71 void SetMouseEventsEnableStateOnEvent(aura::Window* target, 71 void SetMouseEventsEnableStateOnEvent(aura::Window* target,
72 ui::Event* event, 72 ui::Event* event,
73 bool enable); 73 bool enable);
74 74
75 // Overridden from ui::EventHandler: 75 // Overridden from ui::EventHandler:
76 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 76 virtual void OnKeyEvent(ui::KeyEvent* event) override;
77 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 77 virtual void OnMouseEvent(ui::MouseEvent* event) override;
78 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 78 virtual void OnScrollEvent(ui::ScrollEvent* event) override;
79 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 79 virtual void OnTouchEvent(ui::TouchEvent* event) override;
80 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 80 virtual void OnGestureEvent(ui::GestureEvent* event) override;
81 81
82 // Additional pre-target event handlers. 82 // Additional pre-target event handlers.
83 ObserverList<ui::EventHandler, true> handlers_; 83 ObserverList<ui::EventHandler, true> handlers_;
84 84
85 // True if the cursur was hidden by the filter. 85 // True if the cursur was hidden by the filter.
86 bool cursor_hidden_by_filter_; 86 bool cursor_hidden_by_filter_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(CompoundEventFilter); 88 DISALLOW_COPY_AND_ASSIGN(CompoundEventFilter);
89 }; 89 };
90 90
91 } // namespace wm 91 } // namespace wm
92 92
93 #endif // UI_WM_CORE_COMPOUND_EVENT_FILTER_H_ 93 #endif // UI_WM_CORE_COMPOUND_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ui/wm/core/capture_controller.h ('k') | ui/wm/core/compound_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698