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/input_method_manager_impl.h" | 5 #include "chrome/browser/chromeos/input_method/input_method_manager_impl.h" |
6 | 6 |
| 7 #include <stdint.h> |
| 8 |
7 #include <algorithm> // std::find | 9 #include <algorithm> // std::find |
8 | 10 |
9 #include <sstream> | 11 #include <sstream> |
10 | 12 |
11 #include "base/basictypes.h" | |
12 #include "base/bind.h" | 13 #include "base/bind.h" |
13 #include "base/hash.h" | 14 #include "base/hash.h" |
14 #include "base/location.h" | 15 #include "base/location.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
17 #include "base/metrics/sparse_histogram.h" | 18 #include "base/metrics/sparse_histogram.h" |
18 #include "base/prefs/pref_service.h" | 19 #include "base/prefs/pref_service.h" |
19 #include "base/strings/string_split.h" | 20 #include "base/strings/string_split.h" |
20 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
21 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1157 if (candidate_window_controller_.get()) | 1158 if (candidate_window_controller_.get()) |
1158 return; | 1159 return; |
1159 | 1160 |
1160 candidate_window_controller_.reset( | 1161 candidate_window_controller_.reset( |
1161 CandidateWindowController::CreateCandidateWindowController()); | 1162 CandidateWindowController::CreateCandidateWindowController()); |
1162 candidate_window_controller_->AddObserver(this); | 1163 candidate_window_controller_->AddObserver(this); |
1163 } | 1164 } |
1164 | 1165 |
1165 } // namespace input_method | 1166 } // namespace input_method |
1166 } // namespace chromeos | 1167 } // namespace chromeos |
OLD | NEW |