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

Unified Diff: ui/views/mus/platform_window_mus.h

Issue 1979573002: Move mus::InputEventHandler implementation and tests from PlatformWindowMus to NativeWidgetMus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@native_widget_mus5
Patch Set: Drop multiple copies of unittests (AGAIN) Created 4 years, 7 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/mus/native_widget_mus_unittest.cc ('k') | ui/views/mus/platform_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_window_mus.h
diff --git a/ui/views/mus/platform_window_mus.h b/ui/views/mus/platform_window_mus.h
index 0553d3e4f1ae796fb94135532600d3d130ddee21..c17b9c80b042ebc12357fdffd34fc16fd36c3c2c 100644
--- a/ui/views/mus/platform_window_mus.h
+++ b/ui/views/mus/platform_window_mus.h
@@ -11,7 +11,6 @@
#include <vector>
#include "base/macros.h"
-#include "components/mus/public/cpp/input_event_handler.h"
#include "components/mus/public/cpp/window_observer.h"
#include "ui/platform_window/platform_window.h"
#include "ui/views/mus/mus_export.h"
@@ -25,7 +24,6 @@ class Connector;
}
namespace ui {
-class Event;
class ViewProp;
}
@@ -34,8 +32,7 @@ namespace views {
// This class has been marked for deletion. Its implementation is being rolled
// into views::NativeWidgetMus. See crbug.com/609555 for details.
class VIEWS_MUS_EXPORT PlatformWindowMus
- : public NON_EXPORTED_BASE(ui::PlatformWindow),
- public NON_EXPORTED_BASE(mus::InputEventHandler) {
+ : public NON_EXPORTED_BASE(ui::PlatformWindow) {
public:
PlatformWindowMus(ui::PlatformWindowDelegate* delegate,
shell::Connector* connector,
@@ -63,13 +60,6 @@ class VIEWS_MUS_EXPORT PlatformWindowMus
private:
friend class PlatformWindowMusTest;
- // mus::InputEventHandler:
- void OnWindowInputEvent(
- mus::Window* view,
- const ui::Event& event,
- std::unique_ptr<base::Callback<void(mus::mojom::EventResult)>>*
- ack_callback) override;
-
ui::PlatformWindowDelegate* delegate_;
mus::Window* mus_window_;
« no previous file with comments | « ui/views/mus/native_widget_mus_unittest.cc ('k') | ui/views/mus/platform_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698