OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_manager.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include <glib.h> | 9 #include <glib.h> |
10 | 10 |
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1423 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); | 1423 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); |
1424 }; | 1424 }; |
1425 | 1425 |
1426 // static | 1426 // static |
1427 InputMethodManager* InputMethodManager::GetInstance() { | 1427 InputMethodManager* InputMethodManager::GetInstance() { |
1428 return InputMethodManagerImpl::GetInstance(); | 1428 return InputMethodManagerImpl::GetInstance(); |
1429 } | 1429 } |
1430 | 1430 |
1431 } // namespace input_method | 1431 } // namespace input_method |
1432 } // namespace chromeos | 1432 } // namespace chromeos |
1433 | |
1434 // Allows InvokeLater without adding refcounting. This class is a Singleton and | |
1435 // won't be deleted until it's last InvokeLater is run. | |
1436 DISABLE_RUNNABLE_METHOD_REFCOUNT( | |
1437 chromeos::input_method::InputMethodManagerImpl); | |
OLD | NEW |