| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef UI_VIEWS_TEST_WIDGET_TEST_H_ | 5 #ifndef UI_VIEWS_TEST_WIDGET_TEST_H_ |
| 6 #define UI_VIEWS_TEST_WIDGET_TEST_H_ | 6 #define UI_VIEWS_TEST_WIDGET_TEST_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
| 8 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 9 #include "ui/views/test/views_test_base.h" | 11 #include "ui/views/test/views_test_base.h" |
| 10 #include "ui/views/widget/widget_delegate.h" | 12 #include "ui/views/widget/widget_delegate.h" |
| 11 | 13 |
| 12 #if defined(USE_AURA) | 14 #if defined(USE_AURA) |
| 13 #include "ui/views/widget/native_widget_aura.h" | 15 #include "ui/views/widget/native_widget_aura.h" |
| 14 #if !defined(OS_CHROMEOS) | 16 #if !defined(OS_CHROMEOS) |
| 15 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 17 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
| 16 #endif | 18 #endif |
| 17 #elif defined(OS_MACOSX) | 19 #elif defined(OS_MACOSX) |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 int window_closing_count_ = 0; | 184 int window_closing_count_ = 0; |
| 183 gfx::Rect initial_bounds_ = gfx::Rect(100, 100, 200, 200); | 185 gfx::Rect initial_bounds_ = gfx::Rect(100, 100, 200, 200); |
| 184 | 186 |
| 185 DISALLOW_COPY_AND_ASSIGN(TestDesktopWidgetDelegate); | 187 DISALLOW_COPY_AND_ASSIGN(TestDesktopWidgetDelegate); |
| 186 }; | 188 }; |
| 187 | 189 |
| 188 } // namespace test | 190 } // namespace test |
| 189 } // namespace views | 191 } // namespace views |
| 190 | 192 |
| 191 #endif // UI_VIEWS_TEST_WIDGET_TEST_H_ | 193 #endif // UI_VIEWS_TEST_WIDGET_TEST_H_ |
| OLD | NEW |