| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 "views/widget/native_widget_views.h" | 5 #include "views/widget/native_widget_views.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "views/test/test_views_delegate.h" | 11 #include "ui/views/test/test_views_delegate.h" |
| 12 #include "views/test/views_test_base.h" | 12 #include "ui/views/test/views_test_base.h" |
| 13 #include "views/views_delegate.h" | 13 #include "views/views_delegate.h" |
| 14 | 14 |
| 15 #if defined(USE_AURA) | 15 #if defined(USE_AURA) |
| 16 #include "ui/aura/window.h" | 16 #include "ui/aura/window.h" |
| 17 #include "views/widget/native_widget_aura.h" | 17 #include "views/widget/native_widget_aura.h" |
| 18 #elif defined(OS_WIN) | 18 #elif defined(OS_WIN) |
| 19 #include "views/widget/native_widget_win.h" | 19 #include "views/widget/native_widget_win.h" |
| 20 #elif defined(TOOLKIT_USES_GTK) | 20 #elif defined(TOOLKIT_USES_GTK) |
| 21 #include "views/widget/native_widget_gtk.h" | 21 #include "views/widget/native_widget_gtk.h" |
| 22 #endif | 22 #endif |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 EXPECT_EQ(child1, widget_shown()); | 830 EXPECT_EQ(child1, widget_shown()); |
| 831 | 831 |
| 832 child2->Show(); | 832 child2->Show(); |
| 833 EXPECT_EQ(child2, widget_shown()); | 833 EXPECT_EQ(child2, widget_shown()); |
| 834 | 834 |
| 835 toplevel->CloseNow(); | 835 toplevel->CloseNow(); |
| 836 } | 836 } |
| 837 | 837 |
| 838 } // namespace | 838 } // namespace |
| 839 } // namespace views | 839 } // namespace views |
| OLD | NEW |