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/view/candidate_window_view.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/chromeos/ime/candidate_view.h" | 10 #include "ui/chromeos/ime/view/candidate_view.h" |
11 #include "ui/chromeos/ime/candidate_window_constants.h" | 11 #include "ui/chromeos/ime/view/candidate_window_constants.h" |
12 #include "ui/gfx/color_utils.h" | 12 #include "ui/gfx/color_utils.h" |
13 #include "ui/gfx/screen.h" | 13 #include "ui/gfx/screen.h" |
14 #include "ui/native_theme/native_theme.h" | 14 #include "ui/native_theme/native_theme.h" |
15 #include "ui/views/background.h" | 15 #include "ui/views/background.h" |
16 #include "ui/views/border.h" | 16 #include "ui/views/border.h" |
17 #include "ui/views/bubble/bubble_frame_view.h" | 17 #include "ui/views/bubble/bubble_frame_view.h" |
18 #include "ui/views/controls/label.h" | 18 #include "ui/views/controls/label.h" |
19 #include "ui/views/layout/box_layout.h" | 19 #include "ui/views/layout/box_layout.h" |
20 #include "ui/views/layout/fill_layout.h" | 20 #include "ui/views/layout/fill_layout.h" |
21 #include "ui/wm/core/window_animations.h" | 21 #include "ui/wm/core/window_animations.h" |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 for (size_t i = 0; i < candidate_views_.size(); ++i) { | 397 for (size_t i = 0; i < candidate_views_.size(); ++i) { |
398 if (sender == candidate_views_[i]) { | 398 if (sender == candidate_views_[i]) { |
399 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i)); | 399 FOR_EACH_OBSERVER(Observer, observers_, OnCandidateCommitted(i)); |
400 return; | 400 return; |
401 } | 401 } |
402 } | 402 } |
403 } | 403 } |
404 | 404 |
405 } // namespace ime | 405 } // namespace ime |
406 } // namespace ui | 406 } // namespace ui |
OLD | NEW |