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

Side by Side Diff: ui/views/widget/desktop_aura/x11_window_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
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_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_
7 7
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 class DesktopWindowTreeHost; 26 class DesktopWindowTreeHost;
27 class NativeWidgetAura; 27 class NativeWidgetAura;
28 28
29 // An EventFilter that sets properties on X11 windows. 29 // An EventFilter that sets properties on X11 windows.
30 class VIEWS_EXPORT X11WindowEventFilter : public ui::EventHandler { 30 class VIEWS_EXPORT X11WindowEventFilter : public ui::EventHandler {
31 public: 31 public:
32 explicit X11WindowEventFilter(DesktopWindowTreeHost* window_tree_host); 32 explicit X11WindowEventFilter(DesktopWindowTreeHost* window_tree_host);
33 virtual ~X11WindowEventFilter(); 33 virtual ~X11WindowEventFilter();
34 34
35 // Overridden from ui::EventHandler: 35 // Overridden from ui::EventHandler:
36 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 36 virtual void OnMouseEvent(ui::MouseEvent* event) override;
37 37
38 private: 38 private:
39 // Called when the user clicked the caption area. 39 // Called when the user clicked the caption area.
40 void OnClickedCaption(ui::MouseEvent* event, 40 void OnClickedCaption(ui::MouseEvent* event,
41 int previous_click_component); 41 int previous_click_component);
42 42
43 // Called when the user clicked the maximize button. 43 // Called when the user clicked the maximize button.
44 void OnClickedMaximizeButton(ui::MouseEvent* event); 44 void OnClickedMaximizeButton(ui::MouseEvent* event);
45 45
46 void ToggleMaximizedState(); 46 void ToggleMaximizedState();
(...skipping 23 matching lines...) Expand all
70 // initial click. Acting on a double click should only occur for matching 70 // initial click. Acting on a double click should only occur for matching
71 // components. 71 // components.
72 int click_component_; 72 int click_component_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(X11WindowEventFilter); 74 DISALLOW_COPY_AND_ASSIGN(X11WindowEventFilter);
75 }; 75 };
76 76
77 } // namespace views 77 } // namespace views
78 78
79 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_ 79 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WINDOW_EVENT_FILTER_H_
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h ('k') | ui/views/widget/native_widget_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698