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

Side by Side 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, 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/exo/pointer.cc » ('j') | components/exo/pointer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_EXO_POINTER_H_ 5 #ifndef COMPONENTS_EXO_POINTER_H_
6 #define COMPONENTS_EXO_POINTER_H_ 6 #define COMPONENTS_EXO_POINTER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // The current pointer type. 101 // The current pointer type.
102 ui::EventPointerType pointer_type_; 102 ui::EventPointerType pointer_type_;
103 103
104 // The current pointer tilt. 104 // The current pointer tilt.
105 gfx::Vector2dF tilt_; 105 gfx::Vector2dF tilt_;
106 106
107 // The current pointer force. 107 // The current pointer force.
108 float force_; 108 float force_;
109 109
110 // True if the pointer is controlled via direct input.
111 bool is_direct_input_ = false;
112
110 DISALLOW_COPY_AND_ASSIGN(Pointer); 113 DISALLOW_COPY_AND_ASSIGN(Pointer);
111 }; 114 };
112 115
113 } // namespace exo 116 } // namespace exo
114 117
115 #endif // COMPONENTS_EXO_POINTER_H_ 118 #endif // COMPONENTS_EXO_POINTER_H_
OLDNEW
« 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