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

Side by Side Diff: chrome/browser/chromeos/extensions/input_method_event_router.cc

Issue 9696025: Rename InputMethodManager::current_input_method() to InputMethodManager::GetCurrentInputMethod(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "input_method_event_router.h" 5 #include "input_method_event_router.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 void ExtensionInputMethodEventRouter::ActiveInputMethodsChanged( 57 void ExtensionInputMethodEventRouter::ActiveInputMethodsChanged(
58 input_method::InputMethodManager *manager, 58 input_method::InputMethodManager *manager,
59 const input_method::InputMethodDescriptor & current_input_method, 59 const input_method::InputMethodDescriptor & current_input_method,
60 size_t num_active_input_methods) { 60 size_t num_active_input_methods) {
61 } 61 }
62 62
63 void ExtensionInputMethodEventRouter::PropertyListChanged( 63 void ExtensionInputMethodEventRouter::PropertyListChanged(
64 input_method::InputMethodManager *manager, 64 input_method::InputMethodManager *manager,
65 const input_method::ImePropertyList & current_ime_properties) { 65 const input_method::InputMethodPropertyList & current_ime_properties) {
66 } 66 }
67 67
68 std::string ExtensionInputMethodEventRouter::GetInputMethodForXkb( 68 std::string ExtensionInputMethodEventRouter::GetInputMethodForXkb(
69 const std::string& xkb_id) { 69 const std::string& xkb_id) {
70 size_t prefix_length = std::string(kXkbPrefix).length(); 70 size_t prefix_length = std::string(kXkbPrefix).length();
71 DCHECK(xkb_id.substr(0, prefix_length) == kXkbPrefix); 71 DCHECK(xkb_id.substr(0, prefix_length) == kXkbPrefix);
72 return xkb_id.substr(prefix_length); 72 return xkb_id.substr(prefix_length);
73 } 73 }
74 74
75 } // namespace chromeos 75 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/input_method_event_router.h ('k') | chrome/browser/chromeos/input_method/ibus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698