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

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

Issue 2715743005: Revert of Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: 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/aura_test_helper.cc ('k') | ui/aura/test/test_window_targeter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/test_window_targeter.h
diff --git a/ui/aura/test/test_window_targeter.h b/ui/aura/test/test_window_targeter.h
deleted file mode 100644
index 664fd163c33cbd2aa6f760a687710f779b8e895c..0000000000000000000000000000000000000000
--- a/ui/aura/test/test_window_targeter.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// 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.
-
-#ifndef UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
-#define UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
-
-#include "base/macros.h"
-#include "ui/aura/window_targeter.h"
-#include "ui/events/event_targeter.h"
-
-namespace aura {
-namespace test {
-
-// A test WindowTargeter implementation that would always return the
-// EventTarget it received from FindTargetForEvent or FindNextBestTarget
-// as the EventTarget that should receive the event.
-class TestWindowTargeter : public WindowTargeter {
- public:
- TestWindowTargeter();
- ~TestWindowTargeter() override;
-
- protected:
- // WindowTargeter:
- ui::EventTarget* FindTargetForEvent(ui::EventTarget* root,
- ui::Event* event) override;
- ui::EventTarget* FindNextBestTarget(ui::EventTarget* previous_target,
- ui::Event* event) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(TestWindowTargeter);
-};
-
-} // namespace test
-} // namespace aura
-
-#endif // UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/aura/test/test_window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698