| 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_view.h" | 5 #include "ui/chromeos/ime/view/candidate_view.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
| 10 #include "ui/events/test/event_generator.h" | 10 #include "ui/events/test/event_generator.h" |
| 11 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
| 12 #include "ui/views/layout/box_layout.h" | 12 #include "ui/views/layout/box_layout.h" |
| 13 #include "ui/views/layout/fill_layout.h" | 13 #include "ui/views/layout/fill_layout.h" |
| 14 #include "ui/views/test/views_test_base.h" | 14 #include "ui/views/test/views_test_base.h" |
| 15 #include "ui/views/widget/widget_delegate.h" | 15 #include "ui/views/widget/widget_delegate.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); | 173 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); |
| 174 EXPECT_EQ(1, GetHighlightedIndex(&highlighted_count)); | 174 EXPECT_EQ(1, GetHighlightedIndex(&highlighted_count)); |
| 175 EXPECT_EQ(1, highlighted_count); | 175 EXPECT_EQ(1, highlighted_count); |
| 176 | 176 |
| 177 event_generator()->ReleaseLeftButton(); | 177 event_generator()->ReleaseLeftButton(); |
| 178 EXPECT_EQ(1, GetLastPressedIndexAndReset()); | 178 EXPECT_EQ(1, GetLastPressedIndexAndReset()); |
| 179 } | 179 } |
| 180 | 180 |
| 181 } // namespace ime | 181 } // namespace ime |
| 182 } // namespace ui | 182 } // namespace ui |
| OLD | NEW |