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

Side by Side Diff: ui/views/touchui/touch_selection_controller_impl.h

Issue 248763003: MacViews: Better layering for the touch selection controller (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix derp Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 5 #ifndef UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
6 #define UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 6 #define UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
7 7
8 #include "base/timer/timer.h" 8 #include "base/timer/timer.h"
9 #include "ui/base/touch/touch_editing_controller.h" 9 #include "ui/base/touch/touch_editing_controller.h"
10 #include "ui/gfx/point.h" 10 #include "ui/gfx/point.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // position of handles which might be invalid when handles are hidden. 111 // position of handles which might be invalid when handles are hidden.
112 gfx::Rect selection_end_point_1_; 112 gfx::Rect selection_end_point_1_;
113 gfx::Rect selection_end_point_2_; 113 gfx::Rect selection_end_point_2_;
114 // Selection end points, clipped to client view's boundaries. 114 // Selection end points, clipped to client view's boundaries.
115 gfx::Rect selection_end_point_1_clipped_; 115 gfx::Rect selection_end_point_1_clipped_;
116 gfx::Rect selection_end_point_2_clipped_; 116 gfx::Rect selection_end_point_2_clipped_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerImpl); 118 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerImpl);
119 }; 119 };
120 120
121 class VIEWS_EXPORT ViewsTouchSelectionControllerFactory
122 : public ui::TouchSelectionControllerFactory {
123 public:
124 ViewsTouchSelectionControllerFactory();
125
126 // Overridden from ui::TouchSelectionControllerFactory.
127 virtual ui::TouchSelectionController* create(
128 ui::TouchEditable* client_view) OVERRIDE;
129 };
130
131 } // namespace views 121 } // namespace views
132 122
133 #endif // UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 123 #endif // UI_UI_VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698