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

Side by Side Diff: ui/views/controls/native/native_view_host_mac_unittest.mm

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 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/views/controls/native/native_view_host_mac.h" 5 #include "ui/views/controls/native/native_view_host_mac.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #import "base/mac/scoped_nsautorelease_pool.h" 9 #import "base/mac/scoped_nsautorelease_pool.h"
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
11 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
12 #import "testing/gtest_mac.h" 13 #import "testing/gtest_mac.h"
13 #include "ui/views/controls/native/native_view_host.h" 14 #include "ui/views/controls/native/native_view_host.h"
14 #include "ui/views/controls/native/native_view_host_test_base.h" 15 #include "ui/views/controls/native/native_view_host_test_base.h"
15 #include "ui/views/view.h" 16 #include "ui/views/view.h"
16 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
17 18
18 namespace views { 19 namespace views {
19 20
20 class NativeViewHostMacTest : public test::NativeViewHostTestBase { 21 class NativeViewHostMacTest : public test::NativeViewHostTestBase {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 155 }
155 156
156 // During teardown, NativeViewDetaching() is called in RemovedFromWidget(). 157 // During teardown, NativeViewDetaching() is called in RemovedFromWidget().
157 // Just trigger it with Detach(). 158 // Just trigger it with Detach().
158 host()->Detach(); 159 host()->Detach();
159 160
160 DestroyHost(); 161 DestroyHost();
161 } 162 }
162 163
163 } // namespace views 164 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698