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

Side by Side Diff: ui/touch_selection/touch_handle.h

Issue 1351363002: Fix the typo "visibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « ui/message_center/views/message_center_button_bar.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_TOUCH_SELECTION_TOUCH_HANDLE_H_ 5 #ifndef UI_TOUCH_SELECTION_TOUCH_HANDLE_H_
6 #define UI_TOUCH_SELECTION_TOUCH_HANDLE_H_ 6 #define UI_TOUCH_SELECTION_TOUCH_HANDLE_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 gfx::PointF position_; 103 gfx::PointF position_;
104 TouchHandleOrientation orientation_; 104 TouchHandleOrientation orientation_;
105 TouchHandleOrientation deferred_orientation_; 105 TouchHandleOrientation deferred_orientation_;
106 106
107 gfx::PointF touch_down_position_; 107 gfx::PointF touch_down_position_;
108 gfx::Vector2dF touch_drag_offset_; 108 gfx::Vector2dF touch_drag_offset_;
109 base::TimeTicks touch_down_time_; 109 base::TimeTicks touch_down_time_;
110 110
111 // Note that when a fade animation is active, |is_visible_| and |position_| 111 // Note that when a fade animation is active, |is_visible_| and |position_|
112 // may not reflect the actual visibilty and position of the drawable. This 112 // may not reflect the actual visibility and position of the drawable. This
113 // discrepancy is resolved either upon fade completion or cancellation. 113 // discrepancy is resolved either upon fade completion or cancellation.
114 base::TimeTicks fade_end_time_; 114 base::TimeTicks fade_end_time_;
115 gfx::PointF fade_start_position_; 115 gfx::PointF fade_start_position_;
116 float alpha_; 116 float alpha_;
117 bool animate_deferred_fade_; 117 bool animate_deferred_fade_;
118 118
119 bool enabled_; 119 bool enabled_;
120 bool is_visible_; 120 bool is_visible_;
121 bool is_dragging_; 121 bool is_dragging_;
122 bool is_drag_within_tap_region_; 122 bool is_drag_within_tap_region_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(TouchHandle); 124 DISALLOW_COPY_AND_ASSIGN(TouchHandle);
125 }; 125 };
126 126
127 } // namespace ui 127 } // namespace ui
128 128
129 #endif // UI_TOUCH_SELECTION_TOUCH_HANDLE_H_ 129 #endif // UI_TOUCH_SELECTION_TOUCH_HANDLE_H_
OLDNEW
« no previous file with comments | « ui/message_center/views/message_center_button_bar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698