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

Side by Side Diff: trunk/src/chrome/browser/chromeos/input_method/input_method_persistence.h

Issue 165453002: Revert 251164 "Split out InputMethodMenuManager from InputMethod..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 13 matching lines...) Expand all
24 // OnSessionStateChange whenever the InputMethodManager::State changes. 24 // OnSessionStateChange whenever the InputMethodManager::State changes.
25 explicit InputMethodPersistence(InputMethodManager* input_method_manager); 25 explicit InputMethodPersistence(InputMethodManager* input_method_manager);
26 virtual ~InputMethodPersistence(); 26 virtual ~InputMethodPersistence();
27 27
28 // Receives notification of session state changes. 28 // Receives notification of session state changes.
29 void OnSessionStateChange(InputMethodManager::State new_state); 29 void OnSessionStateChange(InputMethodManager::State new_state);
30 30
31 // InputMethodManager::Observer overrides. 31 // InputMethodManager::Observer overrides.
32 virtual void InputMethodChanged(InputMethodManager* manager, 32 virtual void InputMethodChanged(InputMethodManager* manager,
33 bool show_message) OVERRIDE; 33 bool show_message) OVERRIDE;
34 virtual void InputMethodPropertyChanged(InputMethodManager* manager) OVERRIDE;
34 35
35 private: 36 private:
36 InputMethodManager* input_method_manager_; 37 InputMethodManager* input_method_manager_;
37 InputMethodManager::State state_; 38 InputMethodManager::State state_;
38 DISALLOW_COPY_AND_ASSIGN(InputMethodPersistence); 39 DISALLOW_COPY_AND_ASSIGN(InputMethodPersistence);
39 }; 40 };
40 41
41 } // namespace input_method 42 } // namespace input_method
42 } // namespace chromeos 43 } // namespace chromeos
43 44
44 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_ 45 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698