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

Side by Side Diff: mandoline/ui/aura/input_method_mandoline.cc

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "mandoline/ui/aura/input_method_mandoline.h" 5 #include "mandoline/ui/aura/input_method_mandoline.h"
6 6
7 #include "ui/base/ime/text_input_client.h" 7 #include "ui/base/ime/text_input_client.h"
8 #include "ui/events/event.h" 8 #include "ui/events/event.h"
9 9
10 namespace mandoline { 10 namespace mandoline {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const ui::TextInputClient* client) { 59 const ui::TextInputClient* client) {
60 } 60 }
61 61
62 void InputMethodMandoline::OnInputLocaleChanged() { 62 void InputMethodMandoline::OnInputLocaleChanged() {
63 } 63 }
64 64
65 std::string InputMethodMandoline::GetInputLocale() { 65 std::string InputMethodMandoline::GetInputLocale() {
66 return ""; 66 return "";
67 } 67 }
68 68
69 bool InputMethodMandoline::IsActive() {
70 return true;
71 }
72
73 bool InputMethodMandoline::IsCandidatePopupOpen() const { 69 bool InputMethodMandoline::IsCandidatePopupOpen() const {
74 return false; 70 return false;
75 } 71 }
76 72
77 } // namespace mandoline 73 } // namespace mandoline
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698