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

Unified Diff: ui/aura/test/test_window_targeter.cc

Issue 2681613002: Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: early return Created 3 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/aura/test/test_window_targeter.h ('k') | ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_window_targeter.cc
diff --git a/ui/aura/test/test_window_targeter.cc b/ui/aura/test/test_window_targeter.cc
new file mode 100644
index 0000000000000000000000000000000000000000..1eff0b70e14482eb41b5aaa1bd14fb3fde9037a3
--- /dev/null
+++ b/ui/aura/test/test_window_targeter.cc
@@ -0,0 +1,26 @@
+// Copyright 2017 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.
+
+#include "ui/aura/test/test_window_targeter.h"
+
+namespace aura {
+namespace test {
+
+TestWindowTargeter::TestWindowTargeter() {}
+
+TestWindowTargeter::~TestWindowTargeter() {}
+
+ui::EventTarget* TestWindowTargeter::FindTargetForEvent(ui::EventTarget* root,
+ ui::Event* event) {
+ return root;
+}
+
+ui::EventTarget* TestWindowTargeter::FindNextBestTarget(
+ ui::EventTarget* previous_target,
+ ui::Event* event) {
+ return previous_target;
+}
+
+} // namespace test
+} // namespace aura
« no previous file with comments | « ui/aura/test/test_window_targeter.h ('k') | ui/aura/window_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698