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

Unified Diff: components/exo/pointer.h

Issue 2295513002: exo: Hide cursor for direct input (Closed)
Patch Set: adding all the files does help. sometimes. Created 4 years, 4 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 | « no previous file | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/pointer.h
diff --git a/components/exo/pointer.h b/components/exo/pointer.h
index f5cc9f20129ff83fc3efab21fed4303e76fc1ddd..8cfdbab86362c4f218a007b544b7e30dc5ce651b 100644
--- a/components/exo/pointer.h
+++ b/components/exo/pointer.h
@@ -107,6 +107,9 @@ class Pointer : public ui::EventHandler,
// The current pointer force.
float force_;
+ // True if the pointer is controlled via direct input.
+ bool is_direct_input_ = false;
+
DISALLOW_COPY_AND_ASSIGN(Pointer);
};
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698