summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r--views/widget/root_view.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index df74ede..e38c686 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -149,10 +149,14 @@ class RootView : public View,
// Update the cursor given a mouse event. This is called by non mouse_move
// event handlers to honor the cursor desired by views located under the
- // cursor during drag operations.
+ // cursor during drag operations. The location of the mouse should be in the
+ // current coordinate system (i.e. any necessary transformation should be
+ // applied to the point prior to calling this).
void UpdateCursor(const MouseEvent& e);
- // Updates the last_mouse_* fields from e.
+ // Updates the last_mouse_* fields from e. The location of the mouse should be
+ // in the current coordinate system (i.e. any necessary transformation should
+ // be applied to the point prior to calling this).
void SetMouseLocationAndFlags(const MouseEvent& e);
//////////////////////////////////////////////////////////////////////////////