OLD | NEW |
---|---|
(Empty) | |
1 #include "ui/views/controls/textfield/textfield_test_api.h" | |
sky
2014/05/21 16:20:45
copyright.
mohsen
2014/05/21 19:54:28
Done.
| |
2 | |
3 namespace views { | |
4 | |
5 TextfieldTestApi::TextfieldTestApi(Textfield* textfield) | |
6 : textfield_(textfield) { | |
7 DCHECK(textfield); | |
8 } | |
9 | |
10 void TextfieldTestApi::UpdateContextMenu() { | |
11 textfield_->UpdateContextMenu(); | |
12 } | |
13 | |
14 gfx::RenderText* TextfieldTestApi::GetRenderText() const { | |
15 return textfield_->GetRenderText(); | |
16 } | |
17 | |
18 void TextfieldTestApi::CreateTouchSelectionControllerAndNotifyIt() { | |
19 textfield_->CreateTouchSelectionControllerAndNotifyIt(); | |
20 } | |
21 | |
22 void TextfieldTestApi::ResetTouchSelectionController() { | |
23 textfield_->touch_selection_controller_.reset(); | |
24 } | |
25 | |
26 } // namespace views | |
OLD | NEW |