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 #include "chrome/browser/chromeos/input_method/candidate_window_controller_impl.
h" | 5 #include "chrome/browser/chromeos/input_method/candidate_window_controller_impl.
h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/shell_window_ids.h" | 11 #include "ash/shell_window_ids.h" |
12 #include "ash/wm/window_util.h" | 12 #include "ash/wm/window_util.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "chrome/browser/chromeos/input_method/mode_indicator_controller.h" | 14 #include "chrome/browser/chromeos/input_method/mode_indicator_controller.h" |
15 #include "ui/base/ime/ime_bridge.h" | 15 #include "ui/base/ime/ime_bridge.h" |
16 #include "ui/chromeos/ime/infolist_window.h" | 16 #include "ui/chromeos/ime/infolist_window.h" |
17 #include "ui/gfx/screen.h" | |
18 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
19 | 18 |
20 namespace chromeos { | 19 namespace chromeos { |
21 namespace input_method { | 20 namespace input_method { |
22 | 21 |
23 namespace { | 22 namespace { |
24 | 23 |
25 } // namespace | 24 } // namespace |
26 | 25 |
27 CandidateWindowControllerImpl::CandidateWindowControllerImpl() | 26 CandidateWindowControllerImpl::CandidateWindowControllerImpl() |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 observers_.AddObserver(observer); | 189 observers_.AddObserver(observer); |
191 } | 190 } |
192 | 191 |
193 void CandidateWindowControllerImpl::RemoveObserver( | 192 void CandidateWindowControllerImpl::RemoveObserver( |
194 CandidateWindowController::Observer* observer) { | 193 CandidateWindowController::Observer* observer) { |
195 observers_.RemoveObserver(observer); | 194 observers_.RemoveObserver(observer); |
196 } | 195 } |
197 | 196 |
198 } // namespace input_method | 197 } // namespace input_method |
199 } // namespace chromeos | 198 } // namespace chromeos |
OLD | NEW |