Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: ui/chromeos/ime/candidate_view_unittest.cc

Issue 1550483002: Switch to standard integer types in ui/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-ui-events
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/chromeos/ime/candidate_view.cc ('k') | ui/chromeos/ime/candidate_window_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/candidate_view.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
9 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
10 #include "ui/events/test/event_generator.h" 13 #include "ui/events/test/event_generator.h"
11 #include "ui/views/controls/button/button.h" 14 #include "ui/views/controls/button/button.h"
12 #include "ui/views/layout/box_layout.h" 15 #include "ui/views/layout/box_layout.h"
13 #include "ui/views/layout/fill_layout.h" 16 #include "ui/views/layout/fill_layout.h"
14 #include "ui/views/test/views_test_base.h" 17 #include "ui/views/test/views_test_base.h"
15 #include "ui/views/widget/widget_delegate.h" 18 #include "ui/views/widget/widget_delegate.h"
16 19
17 namespace ui { 20 namespace ui {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint()); 176 GetCandidateAt(1)->GetBoundsInScreen().CenterPoint());
174 EXPECT_EQ(1, GetHighlightedIndex(&highlighted_count)); 177 EXPECT_EQ(1, GetHighlightedIndex(&highlighted_count));
175 EXPECT_EQ(1, highlighted_count); 178 EXPECT_EQ(1, highlighted_count);
176 179
177 event_generator()->ReleaseLeftButton(); 180 event_generator()->ReleaseLeftButton();
178 EXPECT_EQ(1, GetLastPressedIndexAndReset()); 181 EXPECT_EQ(1, GetLastPressedIndexAndReset());
179 } 182 }
180 183
181 } // namespace ime 184 } // namespace ime
182 } // namespace ui 185 } // namespace ui
OLDNEW
« no previous file with comments | « ui/chromeos/ime/candidate_view.cc ('k') | ui/chromeos/ime/candidate_window_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698