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

Unified Diff: ui/aura/window_targeter.h

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reduced diff Created 4 years, 5 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
Index: ui/aura/window_targeter.h
diff --git a/ui/aura/window_targeter.h b/ui/aura/window_targeter.h
index 048d8ad2e472aca897fccab4dfb8c125180d45ab..0edc3e461c17c9ed6be88a846539c1e7678288c1 100644
--- a/ui/aura/window_targeter.h
+++ b/ui/aura/window_targeter.h
@@ -14,6 +14,10 @@ class KeyEvent;
class LocatedEvent;
} // namespace ui
+namespace gfx {
+class Point;
+}
+
namespace aura {
class Window;
@@ -59,6 +63,8 @@ class AURA_EXPORT WindowTargeter : public ui::EventTargeter {
ui::Event* event) override;
ui::EventTarget* FindNextBestTarget(ui::EventTarget* previous_target,
ui::Event* event) override;
+ bool EventLocationInsideBoundsRecursive(Window* window,
+ gfx::Point point, gfx::Point location);
private:
Window* FindTargetForKeyEvent(Window* root_window, const ui::KeyEvent& event);

Powered by Google App Engine
This is Rietveld 408576698