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

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

Issue 150203015: Split out InputMethodMenuManager from InputMethodManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 "chrome/browser/chromeos/input_method/input_method_persistence.h" 5 #include "chrome/browser/chromeos/input_method/input_method_persistence.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/prefs/scoped_user_pref_update.h" 9 #include "base/prefs/scoped_user_pref_update.h"
10 #include "base/sys_info.h" 10 #include "base/sys_info.h"
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 return; 144 return;
145 case InputMethodManager::STATE_LOCK_SCREEN: 145 case InputMethodManager::STATE_LOCK_SCREEN:
146 // We use a special set of input methods on the screen. Do not update. 146 // We use a special set of input methods on the screen. Do not update.
147 return; 147 return;
148 case InputMethodManager::STATE_TERMINATING: 148 case InputMethodManager::STATE_TERMINATING:
149 return; 149 return;
150 } 150 }
151 NOTREACHED(); 151 NOTREACHED();
152 } 152 }
153 153
154 void InputMethodPersistence::InputMethodPropertyChanged(
155 InputMethodManager* manager) {}
156
157 void InputMethodPersistence::OnSessionStateChange( 154 void InputMethodPersistence::OnSessionStateChange(
158 InputMethodManager::State new_state) { 155 InputMethodManager::State new_state) {
159 state_ = new_state; 156 state_ = new_state;
160 } 157 }
161 158
162 } // namespace input_method 159 } // namespace input_method
163 } // namespace chromeos 160 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698