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

Unified Diff: ui/views/controls/tree/tree_view_unittest.cc

Issue 1177503003: Remove the 2-level input method system & InputMethodBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/tree/tree_view.cc ('k') | ui/views/controls/webview/webview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/tree/tree_view_unittest.cc
diff --git a/ui/views/controls/tree/tree_view_unittest.cc b/ui/views/controls/tree/tree_view_unittest.cc
index fef041703761f6e5368680dc179099fc1dc39dd0..0af68a9c76b3459936b5fcf39264cabdbe5dab57 100644
--- a/ui/views/controls/tree/tree_view_unittest.cc
+++ b/ui/views/controls/tree/tree_view_unittest.cc
@@ -62,7 +62,7 @@ class TreeViewTest : public ViewsTestBase {
void CollapseOrSelectParent();
void ExpandOrSelectChild();
int GetRowCount();
- PrefixSelector* selector() { return tree_.selector_.get(); }
+ PrefixSelector* selector() { return tree_.GetPrefixSelector(); }
ui::TreeNodeModel<TestNode > model_;
TreeView tree_;
@@ -392,7 +392,6 @@ TEST_F(TreeViewTest, ExpandOrSelectChild) {
TEST_F(TreeViewTest, SelectOnKeyStroke) {
tree_.SetModel(&model_);
tree_.ExpandAll(model_.GetRoot());
- tree_.GetTextInputClient();
selector()->InsertText(ASCIIToUTF16("b"));
EXPECT_EQ("b", GetSelectedNodeTitle());
selector()->InsertText(ASCIIToUTF16("1"));
« no previous file with comments | « ui/views/controls/tree/tree_view.cc ('k') | ui/views/controls/webview/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698