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

Side by Side Diff: chrome/browser/chromeos/input_method/candidate_window_view_unittest.cc

Issue 15798019: Use a direct include of strings headers in chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/chromeos/input_method/candidate_window_view.h" 5 #include "chrome/browser/chromeos/input_method/candidate_window_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/input_method/candidate_view.h" 11 #include "chrome/browser/chromeos/input_method/candidate_view.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/views/test/views_test_base.h" 13 #include "ui/views/test/views_test_base.h"
14 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 namespace input_method { 17 namespace input_method {
18 18
19 namespace { 19 namespace {
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 for (size_t i = 1; i < candidate_window_view.candidate_views_.size(); ++i) { 383 for (size_t i = 1; i < candidate_window_view.candidate_views_.size(); ++i) {
384 const CandidateView* view = candidate_window_view.candidate_views_[i]; 384 const CandidateView* view = candidate_window_view.candidate_views_[i];
385 EXPECT_EQ(before_height, view->GetContentsBounds().height()); 385 EXPECT_EQ(before_height, view->GetContentsBounds().height());
386 } 386 }
387 387
388 // We should call CloseNow method, otherwise this test will leak memory. 388 // We should call CloseNow method, otherwise this test will leak memory.
389 widget->CloseNow(); 389 widget->CloseNow();
390 } 390 }
391 } // namespace input_method 391 } // namespace input_method
392 } // namespace chromeos 392 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/imageburner/burn_manager.cc ('k') | chrome/browser/chromeos/input_method/ibus_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698