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

Unified Diff: ui/views/cocoa/bridged_native_widget.h

Issue 891003004: MacViews: Implement SetCursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150129-MacViews-Bringup5
Patch Set: cl format Created 5 years, 11 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/views/cocoa/bridged_native_widget.h
diff --git a/ui/views/cocoa/bridged_native_widget.h b/ui/views/cocoa/bridged_native_widget.h
index ae3afa628249222ccdb0542e2385f9777f8ba815..bb9b4063726990e4d28095ea64b493f7b17a3b2a 100644
--- a/ui/views/cocoa/bridged_native_widget.h
+++ b/ui/views/cocoa/bridged_native_widget.h
@@ -83,6 +83,9 @@ class VIEWS_EXPORT BridgedNativeWidget : public ui::LayerDelegate,
void SetNativeWindowProperty(const char* key, void* value);
void* GetNativeWindowProperty(const char* key) const;
+ // Sets the cursor associated with the NSWindow. Retains |cursor|.
+ void SetCursor(NSCursor* cursor);
+
// Called internally by the NSWindowDelegate when the window is closing.
void OnWindowWillClose();

Powered by Google App Engine
This is Rietveld 408576698