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

Side by Side Diff: ui/touch_selection/touch_selection_controller_test_api.cc

Issue 1404163004: Swap touch selection handles when they are interchanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 5 years, 2 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
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 #include "ui/touch_selection/touch_selection_controller_test_api.h" 5 #include "ui/touch_selection/touch_selection_controller_test_api.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 TouchSelectionControllerTestApi::TouchSelectionControllerTestApi( 9 TouchSelectionControllerTestApi::TouchSelectionControllerTestApi(
10 TouchSelectionController* controller) 10 TouchSelectionController* controller)
11 : controller_(controller) {} 11 : controller_(controller) {}
12 12
13 TouchSelectionControllerTestApi::~TouchSelectionControllerTestApi() {} 13 TouchSelectionControllerTestApi::~TouchSelectionControllerTestApi() {}
14 14
15 bool TouchSelectionControllerTestApi::GetStartVisible() const { 15 bool TouchSelectionControllerTestApi::GetStartVisible() const {
16 return controller_->GetStartVisible(); 16 return controller_->GetStartVisible();
17 } 17 }
18 18
19 bool TouchSelectionControllerTestApi::GetEndVisible() const { 19 bool TouchSelectionControllerTestApi::GetEndVisible() const {
20 return controller_->GetEndVisible(); 20 return controller_->GetEndVisible();
21 } 21 }
22 22
23 TouchHandleOrientation
24 TouchSelectionControllerTestApi::GetStartHandleOrientation() const {
25 return controller_->GetStartHandleOrientation();
26 }
27
28 TouchHandleOrientation
29 TouchSelectionControllerTestApi::GetEndHandleOrientation() const {
30 return controller_->GetEndHandleOrientation();
31 }
32
23 } // namespace ui 33 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698