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

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

Issue 1544283002: Clean up header files. (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/render_text.cc ('k') | ui/surface/transport_dib.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 (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 "ui/gfx/render_text.h" 5 #include "ui/gfx/render_text.h"
6 6
7 #include <limits.h>
7 #include <stddef.h> 8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <algorithm> 11 #include <algorithm>
11 12
12 #include "base/format_macros.h" 13 #include "base/format_macros.h"
13 #include "base/i18n/break_iterator.h" 14 #include "base/i18n/break_iterator.h"
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
16 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
(...skipping 3182 matching lines...) Expand 10 before | Expand all | Expand 10 after
3199 backend[i]->SetColor(SK_ColorRED); 3200 backend[i]->SetColor(SK_ColorRED);
3200 test_api.DrawVisualText(&renderer); 3201 test_api.DrawVisualText(&renderer);
3201 3202
3202 renderer.GetTextLogAndReset(&text_log); 3203 renderer.GetTextLogAndReset(&text_log);
3203 EXPECT_EQ(1u, text_log.size()); 3204 EXPECT_EQ(1u, text_log.size());
3204 EXPECT_EQ(SK_ColorRED, text_log[0].color); 3205 EXPECT_EQ(SK_ColorRED, text_log[0].color);
3205 } 3206 }
3206 } 3207 }
3207 3208
3208 } // namespace gfx 3209 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/surface/transport_dib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698