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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.cc

Issue 10829065: Remove InputMethodManager::EnableHotkeys() and DisableHotkeys(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/chromeos/input_method/mock_input_method_manager.h" 5 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h"
6 6
7 namespace chromeos { 7 namespace chromeos {
8 namespace input_method { 8 namespace input_method {
9 9
10 MockInputMethodManager::MockInputMethodManager() 10 MockInputMethodManager::MockInputMethodManager()
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 void MockInputMethodManager::AddInputMethodExtension( 87 void MockInputMethodManager::AddInputMethodExtension(
88 const std::string& id, 88 const std::string& id,
89 const std::string& name, 89 const std::string& name,
90 const std::vector<std::string>& layouts, 90 const std::vector<std::string>& layouts,
91 const std::string& language) { 91 const std::string& language) {
92 } 92 }
93 93
94 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) { 94 void MockInputMethodManager::RemoveInputMethodExtension(const std::string& id) {
95 } 95 }
96 96
97 void MockInputMethodManager::EnableHotkeys() {
98 }
99
100 void MockInputMethodManager::DisableHotkeys() {
101 }
102
103 bool MockInputMethodManager::SwitchToNextInputMethod() { 97 bool MockInputMethodManager::SwitchToNextInputMethod() {
104 return true; 98 return true;
105 } 99 }
106 100
107 bool MockInputMethodManager::SwitchToPreviousInputMethod() { 101 bool MockInputMethodManager::SwitchToPreviousInputMethod() {
108 return true; 102 return true;
109 } 103 }
110 104
111 bool MockInputMethodManager::SwitchInputMethod( 105 bool MockInputMethodManager::SwitchInputMethod(
112 const ui::Accelerator& accelerator) { 106 const ui::Accelerator& accelerator) {
(...skipping 21 matching lines...) Expand all
134 XKeyboard* MockInputMethodManager::GetXKeyboard() { 128 XKeyboard* MockInputMethodManager::GetXKeyboard() {
135 return &xkeyboard_; 129 return &xkeyboard_;
136 } 130 }
137 131
138 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() { 132 InputMethodUtil* MockInputMethodManager::GetInputMethodUtil() {
139 return &util_; 133 return &util_;
140 } 134 }
141 135
142 } // namespace input_method 136 } // namespace input_method
143 } // namespace chromeos 137 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_input_method_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698