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

Side by Side Diff: components/html_viewer/ime_controller.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/web_layer_impl.cc » ('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 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 "components/html_viewer/ime_controller.h" 5 #include "components/html_viewer/ime_controller.h"
6 6
7 #include "components/html_viewer/blink_input_events_type_converters.h" 7 #include "components/html_viewer/blink_input_events_type_converters.h"
8 #include "components/html_viewer/blink_text_input_type_converters.h" 8 #include "components/html_viewer/blink_text_input_type_converters.h"
9 #include "components/view_manager/public/cpp/view.h" 9 #include "components/mus/public/cpp/view.h"
10 #include "third_party/WebKit/public/web/WebInputEvent.h" 10 #include "third_party/WebKit/public/web/WebInputEvent.h"
11 #include "third_party/WebKit/public/web/WebWidget.h" 11 #include "third_party/WebKit/public/web/WebWidget.h"
12 12
13 namespace html_viewer { 13 namespace html_viewer {
14 14
15 ImeController::ImeController(mojo::View* view, blink::WebWidget* widget) 15 ImeController::ImeController(mojo::View* view, blink::WebWidget* widget)
16 : view_(view), widget_(widget) { 16 : view_(view), widget_(widget) {
17 } 17 }
18 18
19 ImeController::~ImeController() {} 19 ImeController::~ImeController() {}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 state->composition_start = new_info.compositionStart; 66 state->composition_start = new_info.compositionStart;
67 state->composition_end = new_info.compositionEnd; 67 state->composition_end = new_info.compositionEnd;
68 if (show_ime) 68 if (show_ime)
69 view_->SetImeVisibility(true, state.Pass()); 69 view_->SetImeVisibility(true, state.Pass());
70 else 70 else
71 view_->SetTextInputState(state.Pass()); 71 view_->SetTextInputState(state.Pass());
72 } 72 }
73 } 73 }
74 74
75 } // namespace html_viewer 75 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698