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/candidate_window_view.h" | 5 #include "ui/chromeos/ime/candidate_window_view.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
| 11 #include "base/macros.h" |
9 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/chromeos/ime/candidate_view.h" | 13 #include "ui/chromeos/ime/candidate_view.h" |
11 #include "ui/chromeos/ime/candidate_window_constants.h" | 14 #include "ui/chromeos/ime/candidate_window_constants.h" |
12 #include "ui/gfx/color_utils.h" | 15 #include "ui/gfx/color_utils.h" |
13 #include "ui/gfx/screen.h" | 16 #include "ui/gfx/screen.h" |
14 #include "ui/native_theme/native_theme.h" | 17 #include "ui/native_theme/native_theme.h" |
15 #include "ui/views/background.h" | 18 #include "ui/views/background.h" |
16 #include "ui/views/border.h" | 19 #include "ui/views/border.h" |
17 #include "ui/views/bubble/bubble_frame_view.h" | 20 #include "ui/views/bubble/bubble_frame_view.h" |
18 #include "ui/views/controls/label.h" | 21 #include "ui/views/controls/label.h" |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 for (size_t i = 0; i < candidate_views_.size(); ++i) { | 404 for (size_t i = 0; i < candidate_views_.size(); ++i) { |
402 if (sender == candidate_views_[i]) { | 405 if (sender == candidate_views_[i]) { |
403 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i)); | 406 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i)); |
404 return; | 407 return; |
405 } | 408 } |
406 } | 409 } |
407 } | 410 } |
408 | 411 |
409 } // namespace ime | 412 } // namespace ime |
410 } // namespace ui | 413 } // namespace ui |
OLD | NEW |