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

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

Issue 7768003: Mark a class for export to fix component build for views_unittests on touchui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 5 #ifndef VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
6 #define VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 6 #define VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/point.h" 9 #include "ui/gfx/point.h"
10 #include "views/touchui/touch_selection_controller.h" 10 #include "views/touchui/touch_selection_controller.h"
11 #include "views/view.h" 11 #include "views/view.h"
12 #include "views/views_export.h"
12 13
13 namespace views { 14 namespace views {
14 15
15 // Touch specific implementation of TouchSelectionController. Responsible for 16 // Touch specific implementation of TouchSelectionController. Responsible for
16 // displaying selection handles and menu elements relevant in a touch interface. 17 // displaying selection handles and menu elements relevant in a touch interface.
17 class TouchSelectionControllerImpl : public TouchSelectionController { 18 class VIEWS_EXPORT TouchSelectionControllerImpl
19 : public TouchSelectionController {
18 public: 20 public:
19 // Use TextSelectionController::create(). 21 // Use TextSelectionController::create().
20 explicit TouchSelectionControllerImpl(TouchSelectionClientView* client_view); 22 explicit TouchSelectionControllerImpl(TouchSelectionClientView* client_view);
21 23
22 virtual ~TouchSelectionControllerImpl(); 24 virtual ~TouchSelectionControllerImpl();
23 25
24 // TextSelectionController. 26 // TextSelectionController.
25 virtual void SelectionChanged(const gfx::Point& p1, 27 virtual void SelectionChanged(const gfx::Point& p1,
26 const gfx::Point& p2) OVERRIDE; 28 const gfx::Point& p2) OVERRIDE;
27 29
(...skipping 23 matching lines...) Expand all
51 53
52 // Pointer to the SelectionHandleView being dragged during a drag session. 54 // Pointer to the SelectionHandleView being dragged during a drag session.
53 SelectionHandleView* dragging_handle_; 55 SelectionHandleView* dragging_handle_;
54 56
55 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerImpl); 57 DISALLOW_COPY_AND_ASSIGN(TouchSelectionControllerImpl);
56 }; 58 };
57 59
58 } // namespace views 60 } // namespace views
59 61
60 #endif // VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_ 62 #endif // VIEWS_TOUCHUI_TOUCH_SELECTION_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698