| OLD | NEW |
| 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <set> | 6 #include <set> |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "ui/views/test/widget_test.h" | 22 #include "ui/views/test/widget_test.h" |
| 23 #include "ui/views/views_delegate.h" | 23 #include "ui/views/views_delegate.h" |
| 24 #include "ui/views/widget/native_widget_delegate.h" | 24 #include "ui/views/widget/native_widget_delegate.h" |
| 25 #include "ui/views/widget/root_view.h" | 25 #include "ui/views/widget/root_view.h" |
| 26 #include "ui/views/window/dialog_delegate.h" | 26 #include "ui/views/window/dialog_delegate.h" |
| 27 #include "ui/views/window/native_frame_view.h" | 27 #include "ui/views/window/native_frame_view.h" |
| 28 | 28 |
| 29 #if defined(USE_AURA) | 29 #if defined(USE_AURA) |
| 30 #include "ui/aura/client/aura_constants.h" | 30 #include "ui/aura/client/aura_constants.h" |
| 31 #include "ui/aura/client/window_tree_client.h" | 31 #include "ui/aura/client/window_tree_client.h" |
| 32 #include "ui/aura/root_window.h" | |
| 33 #include "ui/aura/test/test_window_delegate.h" | 32 #include "ui/aura/test/test_window_delegate.h" |
| 34 #include "ui/aura/window.h" | 33 #include "ui/aura/window.h" |
| 34 #include "ui/aura/window_event_dispatcher.h" |
| 35 #include "ui/views/widget/native_widget_aura.h" | 35 #include "ui/views/widget/native_widget_aura.h" |
| 36 #if !defined(OS_CHROMEOS) | 36 #if !defined(OS_CHROMEOS) |
| 37 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 37 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
| 38 #endif | 38 #endif |
| 39 #elif defined(OS_WIN) | 39 #elif defined(OS_WIN) |
| 40 #include "ui/views/widget/native_widget_win.h" | 40 #include "ui/views/widget/native_widget_win.h" |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 #if defined(OS_WIN) | 43 #if defined(OS_WIN) |
| 44 #include "ui/views/win/hwnd_util.h" | 44 #include "ui/views/win/hwnd_util.h" |
| (...skipping 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2426 child_widget.Init(child_params); | 2426 child_widget.Init(child_params); |
| 2427 child_widget.AddObserver(&observer); | 2427 child_widget.AddObserver(&observer); |
| 2428 child_widget.Show(); | 2428 child_widget.Show(); |
| 2429 | 2429 |
| 2430 parent_widget.CloseNow(); | 2430 parent_widget.CloseNow(); |
| 2431 } | 2431 } |
| 2432 #endif | 2432 #endif |
| 2433 | 2433 |
| 2434 } // namespace test | 2434 } // namespace test |
| 2435 } // namespace views | 2435 } // namespace views |
| OLD | NEW |