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

Unified Diff: ui/aura/shared/compound_event_filter.h

Issue 10982040: Fix mouse lock on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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/aura/shared/compound_event_filter.h
diff --git a/ui/aura/shared/compound_event_filter.h b/ui/aura/shared/compound_event_filter.h
index 39f1be69aed73c6070f98cd45bb0574153d32c03..ffdab41cf189c513c7a58fcca32f5314e2cf3542 100644
--- a/ui/aura/shared/compound_event_filter.h
+++ b/ui/aura/shared/compound_event_filter.h
@@ -40,10 +40,6 @@ class AURA_EXPORT CompoundEventFilter : public EventFilter {
// Returns the cursor for the specified component.
static gfx::NativeCursor CursorForWindowComponent(int window_component);
- void set_update_cursor_visibility(bool update) {
- update_cursor_visibility_ = update;
- }
-
// Adds/removes additional event filters. This does not take ownership of
// the EventFilter.
// NOTE: EventFilters are deprecated. Use env::AddPreTargetEventHandler etc.
@@ -80,9 +76,8 @@ class AURA_EXPORT CompoundEventFilter : public EventFilter {
// Additional event filters that pre-handles events.
ObserverList<EventFilter, true> filters_;
- // Should we show the mouse cursor when we see mouse movement and hide it when
- // we see a touch event?
- bool update_cursor_visibility_;
+ // True if the cursur was hidden by the filter.
+ bool cursor_hidden_by_filter_;
DISALLOW_COPY_AND_ASSIGN(CompoundEventFilter);
};
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura/shared/compound_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698