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

Side by Side Diff: ui/chromeos/ime/candidate_window_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_window_view.cc ('k') | ui/chromeos/ime/infolist_window.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_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/stringprintf.h" 12 #include "base/strings/stringprintf.h"
10 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
11 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
12 #include "ui/chromeos/ime/candidate_view.h" 15 #include "ui/chromeos/ime/candidate_view.h"
13 #include "ui/views/test/views_test_base.h" 16 #include "ui/views/test/views_test_base.h"
14 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
15 18
16 namespace ui { 19 namespace ui {
17 namespace ime { 20 namespace ime {
18 21
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // Check the selected index is invalidated. 386 // Check the selected index is invalidated.
384 EXPECT_EQ(-1, selected_candidate_index_in_page()); 387 EXPECT_EQ(-1, selected_candidate_index_in_page());
385 EXPECT_EQ(before_height, GetCandidateAt(0)->GetContentsBounds().height()); 388 EXPECT_EQ(before_height, GetCandidateAt(0)->GetContentsBounds().height());
386 // Checks all entry have same row height. 389 // Checks all entry have same row height.
387 for (size_t i = 1; i < GetCandidatesSize(); ++i) 390 for (size_t i = 1; i < GetCandidatesSize(); ++i)
388 EXPECT_EQ(before_height, GetCandidateAt(i)->GetContentsBounds().height()); 391 EXPECT_EQ(before_height, GetCandidateAt(i)->GetContentsBounds().height());
389 } 392 }
390 393
391 } // namespace ime 394 } // namespace ime
392 } // namespace ui 395 } // namespace ui
OLDNEW
« no previous file with comments | « ui/chromeos/ime/candidate_window_view.cc ('k') | ui/chromeos/ime/infolist_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698