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

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: addressd comment 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
« no previous file with comments | « ui/aura/test/test_window_delegate.cc ('k') | ui/aura/toplevel_window_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fe0c583f259c635dc1cb080f4a345d1b36a8543f..fcb9e67f87c0bb769cf31ec7f55399eb369d1260 100644
--- a/ui/aura/toplevel_window_event_filter.h
+++ b/ui/aura/toplevel_window_event_filter.h
@@ -36,6 +36,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,
« no previous file with comments | « ui/aura/test/test_window_delegate.cc ('k') | ui/aura/toplevel_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698