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

Side by Side Diff: ui/chromeos/ime/input_method_menu_manager.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ui/chromeos/ime/candidate_window_view.h ('k') | ui/chromeos/network/network_icon_animation.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/observer_list.h" 5 #include "base/observer_list.h"
6 #include "ui/chromeos/ime/input_method_menu_item.h" 6 #include "ui/chromeos/ime/input_method_menu_item.h"
7 #include "ui/chromeos/ui_chromeos_export.h" 7 #include "ui/chromeos/ui_chromeos_export.h"
8 8
9 #ifndef UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_ 9 #ifndef UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_
10 #define UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_ 10 #define UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 private: 46 private:
47 InputMethodMenuManager(); 47 InputMethodMenuManager();
48 48
49 // For Singleton to be able to construct an instance. 49 // For Singleton to be able to construct an instance.
50 friend struct DefaultSingletonTraits<InputMethodMenuManager>; 50 friend struct DefaultSingletonTraits<InputMethodMenuManager>;
51 51
52 // Menu item list of the input method. This is set by extension IMEs. 52 // Menu item list of the input method. This is set by extension IMEs.
53 InputMethodMenuItemList menu_list_; 53 InputMethodMenuItemList menu_list_;
54 54
55 // Observers who will be notified when menu changes. 55 // Observers who will be notified when menu changes.
56 ObserverList<Observer> observers_; 56 base::ObserverList<Observer> observers_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(InputMethodMenuManager); 58 DISALLOW_COPY_AND_ASSIGN(InputMethodMenuManager);
59 }; 59 };
60 60
61 } // namespace ime 61 } // namespace ime
62 } // namespace ui 62 } // namespace ui
63 63
64 #endif // UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_ 64 #endif // UI_CHROMEOS_IME_INPUT_METHOD_MENU_MANAGER_H_
OLDNEW
« no previous file with comments | « ui/chromeos/ime/candidate_window_view.h ('k') | ui/chromeos/network/network_icon_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698