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

Side by Side Diff: ui/views/test/widget_test_aura.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, 5 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
« no previous file with comments | « ui/views/test/widget_test.h ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ui/views/test/widget_test.h" 5 #include "ui/views/test/widget_test.h"
6 6
7 #include "ui/aura/client/focus_client.h" 7 #include "ui/aura/client/focus_client.h"
8 #include "ui/aura/window.h" 8 #include "ui/aura/window.h"
9 #include "ui/aura/window_tree_host.h" 9 #include "ui/aura/window_tree_host.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 NOTREACHED(); 97 NOTREACHED();
98 return gfx::Size(); 98 return gfx::Size();
99 #endif 99 #endif
100 } 100 }
101 101
102 // static 102 // static
103 ui::EventProcessor* WidgetTest::GetEventProcessor(Widget* widget) { 103 ui::EventProcessor* WidgetTest::GetEventProcessor(Widget* widget) {
104 return widget->GetNativeWindow()->GetHost()->event_processor(); 104 return widget->GetNativeWindow()->GetHost()->event_processor();
105 } 105 }
106 106
107 // static
108 ui::internal::InputMethodDelegate* WidgetTest::GetInputMethodDelegateForWidget(
109 Widget* widget) {
110 return widget->GetNativeWindow()->GetRootWindow()->GetHost();
111 }
112
107 } // namespace test 113 } // namespace test
108 } // namespace views 114 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/test/widget_test.h ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698