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

Unified Diff: ui/aura/toplevel_window_event_filter.h

Issue 8273040: Minimum size for aura window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments. moved&merged tests Created 9 years, 2 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/toplevel_window_event_filter.h
diff --git a/ui/aura/toplevel_window_event_filter.h b/ui/aura/toplevel_window_event_filter.h
index 7a03bf4af81775255811761a06ff9ccf75e0b1ad..461577483b7c115084dcf8ff3fe5565f2eebe33f 100644
--- a/ui/aura/toplevel_window_event_filter.h
+++ b/ui/aura/toplevel_window_event_filter.h
@@ -34,6 +34,9 @@ class ToplevelWindowEventFilter : public EventFilter {
// The return value is returned by OnMouseEvent() above.
bool HandleDrag(Window* target, MouseEvent* event);
+ // Updates the |window_component_| using the |event|'s location.
+ void UpdateWindowComponentForEvent(Window* window, MouseEvent* event);
+
// Calculates the new origin of the window during a drag.
gfx::Point GetOriginForDrag(int bounds_change,
Window* target,

Powered by Google App Engine
This is Rietveld 408576698