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

Unified Diff: ui/views/controls/menu/menu_event_dispatcher.h

Issue 1679923003: Cleanup: Remove MenuEventDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/menu/menu_controller.h ('k') | ui/views/controls/menu/menu_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_event_dispatcher.h
diff --git a/ui/views/controls/menu/menu_event_dispatcher.h b/ui/views/controls/menu/menu_event_dispatcher.h
deleted file mode 100644
index 6b9e8e38b0428e58323ed4e7012aaff3be599281..0000000000000000000000000000000000000000
--- a/ui/views/controls/menu/menu_event_dispatcher.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_CONTROLS_MENU_MENU_EVENT_DISPATCHER_H_
-#define UI_VIEWS_CONTROLS_MENU_MENU_EVENT_DISPATCHER_H_
-
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "ui/events/platform/platform_event_dispatcher.h"
-
-namespace views {
-
-class MenuController;
-
-namespace internal {
-
-// A message-pump dispatcher object used to dispatch events from the nested
-// message-loop initiated by the MenuController.
-class MenuEventDispatcher : public ui::PlatformEventDispatcher {
- public:
- explicit MenuEventDispatcher(MenuController* menu_controller);
- ~MenuEventDispatcher() override;
-
- private:
- // ui::PlatformEventDispatcher:
- bool CanDispatchEvent(const ui::PlatformEvent& event) override;
- uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
-
- MenuController* menu_controller_;
-
- DISALLOW_COPY_AND_ASSIGN(MenuEventDispatcher);
-};
-
-} // namespace internal
-} // namespace views
-
-#endif // UI_VIEWS_CONTROLS_MENU_MENU_EVENT_DISPATCHER_H_
« no previous file with comments | « ui/views/controls/menu/menu_controller.h ('k') | ui/views/controls/menu/menu_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698