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

Side by Side Diff: ui/android/resources/resource_manager_impl_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/android/resources/resource_manager_impl.cc ('k') | ui/android/ui_android_jni_registrar.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 <stddef.h>
6
7 #include "base/macros.h"
5 #include "cc/resources/ui_resource_bitmap.h" 8 #include "cc/resources/ui_resource_bitmap.h"
6 #include "cc/test/fake_layer_tree_host_client.h" 9 #include "cc/test/fake_layer_tree_host_client.h"
7 #include "cc/test/test_task_graph_runner.h" 10 #include "cc/test/test_task_graph_runner.h"
8 #include "cc/trees/layer_tree_host.h" 11 #include "cc/trees/layer_tree_host.h"
9 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
10 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 14 #include "third_party/skia/include/core/SkBitmap.h"
12 #include "third_party/skia/include/core/SkCanvas.h" 15 #include "third_party/skia/include/core/SkCanvas.h"
13 #include "ui/android/resources/resource_manager_impl.h" 16 #include "ui/android/resources/resource_manager_impl.h"
14 #include "ui/android/resources/system_ui_resource_type.h" 17 #include "ui/android/resources/system_ui_resource_type.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 EXPECT_EQ(kNumFrames, actual_rects.size()); 178 EXPECT_EQ(kNumFrames, actual_rects.size());
176 for (size_t i = 0; i < kNumFrames; i++) { 179 for (size_t i = 0; i < kNumFrames; i++) {
177 EXPECT_EQ(expected_rects[i].size(), actual_rects[i].size()); 180 EXPECT_EQ(expected_rects[i].size(), actual_rects[i].size());
178 for (size_t j = 0; j < actual_rects[i].size(); j++) { 181 for (size_t j = 0; j < actual_rects[i].size(); j++) {
179 EXPECT_EQ(expected_rects[i][j], actual_rects[i][j]); 182 EXPECT_EQ(expected_rects[i][j], actual_rects[i][j]);
180 } 183 }
181 } 184 }
182 } 185 }
183 186
184 } // namespace ui 187 } // namespace ui
OLDNEW
« no previous file with comments | « ui/android/resources/resource_manager_impl.cc ('k') | ui/android/ui_android_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698