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

Side by Side Diff: ui/base/ime/input_method_minimal.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/base/ime/input_method_minimal.h" 5 #include "ui/base/ime/input_method_minimal.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 #include "ui/events/event_constants.h" 9 #include "ui/events/event_constants.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void InputMethodMinimal::OnCaretBoundsChanged(const TextInputClient* client) {} 45 void InputMethodMinimal::OnCaretBoundsChanged(const TextInputClient* client) {}
46 46
47 void InputMethodMinimal::CancelComposition(const TextInputClient* client) {} 47 void InputMethodMinimal::CancelComposition(const TextInputClient* client) {}
48 48
49 void InputMethodMinimal::OnInputLocaleChanged() {} 49 void InputMethodMinimal::OnInputLocaleChanged() {}
50 50
51 std::string InputMethodMinimal::GetInputLocale() { 51 std::string InputMethodMinimal::GetInputLocale() {
52 return std::string(); 52 return std::string();
53 } 53 }
54 54
55 bool InputMethodMinimal::IsActive() {
56 return true;
57 }
58
59 bool InputMethodMinimal::IsCandidatePopupOpen() const { 55 bool InputMethodMinimal::IsCandidatePopupOpen() const {
60 return false; 56 return false;
61 } 57 }
62 58
63 } // namespace ui 59 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698