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

Side by Side Diff: ui/gfx/font_render_params_linux_unittest.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/gfx/font_render_params_linux.cc ('k') | ui/gfx/font_render_params_win.cc » ('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/gfx/font_render_params.h" 5 #include "ui/gfx/font_render_params.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gfx/font.h" 12 #include "ui/gfx/font.h"
12 #include "ui/gfx/linux_font_delegate.h" 13 #include "ui/gfx/linux_font_delegate.h"
13 #include "ui/gfx/test/fontconfig_util_linux.h" 14 #include "ui/gfx/test/fontconfig_util_linux.h"
14 15
15 namespace gfx { 16 namespace gfx {
16 17
17 namespace { 18 namespace {
18 19
19 // Implementation of LinuxFontDelegate that returns a canned FontRenderParams 20 // Implementation of LinuxFontDelegate that returns a canned FontRenderParams
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 EXPECT_EQ("Verdana", suggested_family); 379 EXPECT_EQ("Verdana", suggested_family);
379 380
380 query.families.clear(); 381 query.families.clear();
381 query.families.push_back("Arial"); 382 query.families.push_back("Arial");
382 suggested_family.clear(); 383 suggested_family.clear();
383 GetFontRenderParams(query, &suggested_family); 384 GetFontRenderParams(query, &suggested_family);
384 EXPECT_EQ("Verdana", suggested_family); 385 EXPECT_EQ("Verdana", suggested_family);
385 } 386 }
386 387
387 } // namespace gfx 388 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/font_render_params_linux.cc ('k') | ui/gfx/font_render_params_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698