| OLD | NEW |
| 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 "ui/chromeos/ime/input_method_menu_manager.h" | 5 #include "ui/chromeos/ime/input_method_menu_manager.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
| 9 | 11 |
| 10 namespace ui { | 12 namespace ui { |
| 11 namespace ime { | 13 namespace ime { |
| 12 | 14 |
| 13 InputMethodMenuManager::InputMethodMenuManager() | 15 InputMethodMenuManager::InputMethodMenuManager() |
| 14 : menu_list_(), observers_() {} | 16 : menu_list_(), observers_() {} |
| 15 | 17 |
| 16 InputMethodMenuManager::~InputMethodMenuManager() {} | 18 InputMethodMenuManager::~InputMethodMenuManager() {} |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 return false; | 50 return false; |
| 49 } | 51 } |
| 50 | 52 |
| 51 // static | 53 // static |
| 52 InputMethodMenuManager* InputMethodMenuManager::GetInstance() { | 54 InputMethodMenuManager* InputMethodMenuManager::GetInstance() { |
| 53 return base::Singleton<InputMethodMenuManager>::get(); | 55 return base::Singleton<InputMethodMenuManager>::get(); |
| 54 } | 56 } |
| 55 | 57 |
| 56 } // namespace ime | 58 } // namespace ime |
| 57 } // namespace ui | 59 } // namespace ui |
| OLD | NEW |