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

Side by Side Diff: ui/views/controls/menu/menu_event_dispatcher_linux.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/views/controls/menu/menu_controller_unittest.cc ('k') | ui/views/controls/menu/menu_host.h » ('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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "ui/events/platform/platform_event_dispatcher.h" 6 #include "ui/events/platform/platform_event_dispatcher.h"
7 7
8 namespace views { 8 namespace views {
9 9
10 class MenuController; 10 class MenuController;
11 11
12 namespace internal { 12 namespace internal {
13 13
14 // A message-pump dispatcher object used to dispatch events from the nested 14 // A message-pump dispatcher object used to dispatch events from the nested
15 // message-loop initiated by the MenuController. 15 // message-loop initiated by the MenuController.
16 class MenuEventDispatcher : public ui::PlatformEventDispatcher { 16 class MenuEventDispatcher : public ui::PlatformEventDispatcher {
17 public: 17 public:
18 explicit MenuEventDispatcher(MenuController* menu_controller); 18 explicit MenuEventDispatcher(MenuController* menu_controller);
19 virtual ~MenuEventDispatcher(); 19 virtual ~MenuEventDispatcher();
20 20
21 private: 21 private:
22 // ui::PlatformEventDispatcher: 22 // ui::PlatformEventDispatcher:
23 virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE; 23 virtual bool CanDispatchEvent(const ui::PlatformEvent& event) override;
24 virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) OVERRIDE; 24 virtual uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
25 25
26 MenuController* menu_controller_; 26 MenuController* menu_controller_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(MenuEventDispatcher); 28 DISALLOW_COPY_AND_ASSIGN(MenuEventDispatcher);
29 }; 29 };
30 30
31 } // namespace internal 31 } // namespace internal
32 } // namespace views 32 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/controls/menu/menu_controller_unittest.cc ('k') | ui/views/controls/menu/menu_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698