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

Side by Side Diff: ui/views/controls/native/native_view_host_unittest.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (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
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/views/controls/native/native_view_host.h" 5 #include "ui/views/controls/native/native_view_host.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 #include "ui/views/controls/native/native_view_host_test_base.h" 10 #include "ui/views/controls/native/native_view_host_test_base.h"
11 #include "ui/views/test/views_test_base.h" 11 #include "ui/views/test/views_test_base.h"
12 #include "ui/views/widget/widget.h" 12 #include "ui/views/widget/widget.h"
13 13
14 namespace views { 14 namespace views {
15 15
16 class NativeViewHostTest : public test::NativeViewHostTestBase { 16 class NativeViewHostTest : public test::NativeViewHostTestBase {
17 public: 17 public:
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 host0->ResetParentChanges(); 264 host0->ResetParentChanges();
265 host1->ResetParentChanges(); 265 host1->ResetParentChanges();
266 EXPECT_EQ(0, host0->num_parent_changes()); 266 EXPECT_EQ(0, host0->num_parent_changes());
267 EXPECT_EQ(0, host1->num_parent_changes()); 267 EXPECT_EQ(0, host1->num_parent_changes());
268 child0->GetContentsView()->AddChildView(view1); 268 child0->GetContentsView()->AddChildView(view1);
269 EXPECT_EQ(0, host0->num_parent_changes()); 269 EXPECT_EQ(0, host0->num_parent_changes());
270 EXPECT_EQ(2, host1->num_parent_changes()); 270 EXPECT_EQ(2, host1->num_parent_changes());
271 } 271 }
272 272
273 } // namespace views 273 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698