| OLD | NEW |
| 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_MOCK_CANDIDATE_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_CANDIDATE_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_CANDIDATE_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_CANDIDATE_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" | 10 #include "chrome/browser/chromeos/input_method/candidate_window_controller.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 namespace input_method { | 13 namespace input_method { |
| 14 | 14 |
| 15 // The mock CandidateWindowController implementation for testing. | 15 // The mock CandidateWindowController implementation for testing. |
| 16 class MockCandidateWindowController : public CandidateWindowController { | 16 class MockCandidateWindowController : public CandidateWindowController { |
| 17 public: | 17 public: |
| 18 MockCandidateWindowController(); | 18 MockCandidateWindowController(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 34 private: | 34 private: |
| 35 base::ObserverList<CandidateWindowController::Observer> observers_; | 35 base::ObserverList<CandidateWindowController::Observer> observers_; |
| 36 | 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(MockCandidateWindowController); | 37 DISALLOW_COPY_AND_ASSIGN(MockCandidateWindowController); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace input_method | 40 } // namespace input_method |
| 41 } // namespace chromeos | 41 } // namespace chromeos |
| 42 | 42 |
| 43 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_CANDIDATE_WINDOW_CONTROLLER
_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_CANDIDATE_WINDOW_CONTROLLER
_H_ |
| OLD | NEW |