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

Side by Side Diff: ui/aura/test/test_window_targeter.h

Issue 2681613002: Avoid two targeting phases in aura client-lib and EventProcessor. (Closed)
Patch Set: comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
6 #define UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
7
8 #include "base/macros.h"
9 #include "ui/aura/window_targeter.h"
10 #include "ui/events/event_targeter.h"
11
12 namespace aura {
13 namespace test {
14
15 class TestWindowTargeter : public WindowTargeter {
sky 2017/02/15 20:47:17 Please add description.
riajiang 2017/02/16 00:34:08 Done.
16 public:
17 TestWindowTargeter();
18 ~TestWindowTargeter() override;
19
20 protected:
21 // WindowTargeter:
22 ui::EventTarget* FindTargetForEvent(ui::EventTarget* root,
23 ui::Event* event) override;
24 ui::EventTarget* FindNextBestTarget(ui::EventTarget* previous_target,
25 ui::Event* event) override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(TestWindowTargeter);
29 };
30
31 } // namespace test
32 } // namespace aura
33
34 #endif // UI_AURA_TEST_TEST_WINDOW_TARGETER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698