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

Unified Diff: views/view.h

Issue 6880201: Scrap WNDCLASSEX.hCursor, update GetCursorForPoint, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use brace style struct init for WNDCLASSEX |class_ex|, fix comment. Created 9 years, 8 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 | « views/controls/textfield/native_textfield_views.h ('k') | views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.h
diff --git a/views/view.h b/views/view.h
index 8fe4de8656cf9a39ebd9cbe70b600260254e977f..5df51d693a93bc479e2a2bde9d925d6f95689738 100644
--- a/views/view.h
+++ b/views/view.h
@@ -583,12 +583,11 @@ class View : public AcceleratorTarget {
// Returns the deepest visible descendant that contains the specified point.
virtual View* GetEventHandlerForPoint(const gfx::Point& point);
- // Return the cursor that should be used for this view or NULL if
- // the default cursor should be used. The provided point is in the
- // receiver's coordinate system. The caller is responsible for managing the
- // lifetime of the returned object, though that lifetime may vary from
- // platform to platform. On Windows, the cursor is a shared resource but in
- // Gtk, the framework destroys the returned cursor after setting it.
+ // Return the cursor that should be used for this view or the default cursor.
+ // The provided point is in the receiver's coordinate system. The caller is
+ // responsible for managing the lifetime of the returned object, though that
+ // lifetime may vary from platform to platform. On Windows, the cursor is a
+ // shared resource, but Gtk destroys the returned cursor after setting it.
virtual gfx::NativeCursor GetCursorForPoint(ui::EventType event_type,
const gfx::Point& p);
« no previous file with comments | « views/controls/textfield/native_textfield_views.h ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698