| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_TEST_UTILS_H_ | |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_TEST_UTILS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace views { | |
| 10 namespace internal { | |
| 11 | |
| 12 class NativeWidgetPrivate; | |
| 13 | |
| 14 // Create dummy widgets for use in testing. Caller owns the returned | |
| 15 // |NativeWidgetPrivate| object which, in turn, owns the associated Widget. | |
| 16 NativeWidgetPrivate* CreateNativeWidget(); | |
| 17 NativeWidgetPrivate* CreateNativeSubWidget(); | |
| 18 | |
| 19 } // namespace internal | |
| 20 } // namespace views | |
| 21 | |
| 22 #endif // VIEWS_WIDGET_NATIVE_WIDGET_TEST_UTILS_H_ | |
| OLD | NEW |