Index: ash/wm/root_window_event_filter.h |
diff --git a/ash/wm/root_window_event_filter.h b/ash/wm/root_window_event_filter.h |
index a6a1c767c9b97a5f522aaefa6e4742188b8a7a4a..17825349182aa4534dedd640985fa8a9f9c56236 100644 |
--- a/ash/wm/root_window_event_filter.h |
+++ b/ash/wm/root_window_event_filter.h |
@@ -28,6 +28,9 @@ class ASH_EXPORT RootWindowEventFilter : public aura::EventFilter { |
RootWindowEventFilter(); |
virtual ~RootWindowEventFilter(); |
+ // Returns the cursor for the specified component. |
+ static gfx::NativeCursor CursorForWindowComponent(int window_component); |
+ |
// Freezes updates to the cursor until UnlockCursor() is invoked. |
void LockCursor(); |
@@ -38,7 +41,8 @@ class ASH_EXPORT RootWindowEventFilter : public aura::EventFilter { |
update_cursor_visibility_ = update; |
} |
- // Adds/removes additional event filters. |
+ // Adds/removes additional event filters. This does not take ownership of |
+ // the EventFilter. |
void AddFilter(aura::EventFilter* filter); |
void RemoveFilter(aura::EventFilter* filter); |
size_t GetFilterCount() const; |