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

Unified Diff: ash/wm/root_window_event_filter.h

Issue 9609016: Initial cut at multi-window resize code. There's still some TODOs, but (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 9 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: 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;

Powered by Google App Engine
This is Rietveld 408576698