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

Unified Diff: ui/aura/window_targeter.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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/window_property.h ('k') | ui/aura/window_targeter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_targeter.h
diff --git a/ui/aura/window_targeter.h b/ui/aura/window_targeter.h
deleted file mode 100644
index 5054c57714710fa80cb78c83d37b77757c7e7c93..0000000000000000000000000000000000000000
--- a/ui/aura/window_targeter.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2013 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_WINDOW_TARGETER_H_
-#define UI_AURA_WINDOW_TARGETER_H_
-
-#include "ui/aura/aura_export.h"
-#include "ui/events/event_targeter.h"
-
-namespace aura {
-
-class Window;
-
-class AURA_EXPORT WindowTargeter : public ui::EventTargeter {
- public:
- WindowTargeter();
- virtual ~WindowTargeter();
-
- protected:
- // ui::EventTargeter:
- virtual ui::EventTarget* FindTargetForEvent(ui::EventTarget* root,
- ui::Event* event) override;
- virtual ui::EventTarget* FindTargetForLocatedEvent(
- ui::EventTarget* root,
- ui::LocatedEvent* event) override;
- virtual bool SubtreeCanAcceptEvent(
- ui::EventTarget* target,
- const ui::LocatedEvent& event) const override;
- virtual bool EventLocationInsideBounds(
- ui::EventTarget* target,
- const ui::LocatedEvent& event) const override;
-
- private:
- Window* FindTargetForKeyEvent(Window* root_window,
- const ui::KeyEvent& event);
- Window* FindTargetInRootWindow(Window* root_window,
- const ui::LocatedEvent& event);
-
- DISALLOW_COPY_AND_ASSIGN(WindowTargeter);
-};
-
-} // namespace aura
-
-#endif // UI_AURA_WINDOW_TARGETER_H_
« no previous file with comments | « ui/aura/window_property.h ('k') | ui/aura/window_targeter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698