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

Side by Side Diff: ui/views/controls/textfield/textfield_test_api.h

Issue 798683003: Rename old Aura TouchSelectionController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fixes Created 6 years 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 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_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_ 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_ 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
7 7
8 #include "ui/views/controls/textfield/textfield.h" 8 #include "ui/views/controls/textfield/textfield.h"
9 9
10 namespace views { 10 namespace views {
(...skipping 10 matching lines...) Expand all
21 void CreateTouchSelectionControllerAndNotifyIt(); 21 void CreateTouchSelectionControllerAndNotifyIt();
22 22
23 void ResetTouchSelectionController(); 23 void ResetTouchSelectionController();
24 24
25 TextfieldModel* model() const { return textfield_->model_.get(); } 25 TextfieldModel* model() const { return textfield_->model_.get(); }
26 26
27 ui::MenuModel* context_menu_contents() const { 27 ui::MenuModel* context_menu_contents() const {
28 return textfield_->context_menu_contents_.get(); 28 return textfield_->context_menu_contents_.get();
29 } 29 }
30 30
31 ui::TouchSelectionController* touch_selection_controller() const { 31 ui::TouchEditingControllerDeprecated* touch_selection_controller() const {
32 return textfield_->touch_selection_controller_.get(); 32 return textfield_->touch_selection_controller_.get();
33 } 33 }
34 34
35 private: 35 private:
36 Textfield* textfield_; 36 Textfield* textfield_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(TextfieldTestApi); 38 DISALLOW_COPY_AND_ASSIGN(TextfieldTestApi);
39 }; 39 };
40 40
41 } // namespace views 41 } // namespace views
42 42
43 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_ 43 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_TEST_API_H_
OLDNEW
« no previous file with comments | « ui/views/controls/textfield/textfield.cc ('k') | ui/views/touchui/touch_selection_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698