| 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 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" | 5 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
| 8 #include "ui/aura/client/aura_constants.h" | 10 #include "ui/aura/client/aura_constants.h" |
| 9 #include "ui/aura/client/cursor_client.h" | 11 #include "ui/aura/client/cursor_client.h" |
| 10 #include "ui/aura/client/window_tree_client.h" | 12 #include "ui/aura/client/window_tree_client.h" |
| 11 #include "ui/aura/test/test_window_delegate.h" | 13 #include "ui/aura/test/test_window_delegate.h" |
| 12 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
| 13 #include "ui/aura/window_tree_host.h" | 15 #include "ui/aura/window_tree_host.h" |
| 14 #include "ui/events/event_processor.h" | 16 #include "ui/events/event_processor.h" |
| 15 #include "ui/events/event_utils.h" | 17 #include "ui/events/event_utils.h" |
| 16 #include "ui/events/test/event_generator.h" | 18 #include "ui/events/test/event_generator.h" |
| 17 #include "ui/gfx/screen.h" | 19 #include "ui/gfx/screen.h" |
| (...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 reinterpret_cast<WPARAM>(win32_window), | 629 reinterpret_cast<WPARAM>(win32_window), |
| 628 MAKELPARAM(WM_LBUTTONDOWN, HTCLIENT)); | 630 MAKELPARAM(WM_LBUTTONDOWN, HTCLIENT)); |
| 629 EXPECT_EQ(activate_result, MA_ACTIVATE); | 631 EXPECT_EQ(activate_result, MA_ACTIVATE); |
| 630 | 632 |
| 631 modal_dialog_widget->CloseNow(); | 633 modal_dialog_widget->CloseNow(); |
| 632 } | 634 } |
| 633 #endif // defined(OS_WIN) | 635 #endif // defined(OS_WIN) |
| 634 | 636 |
| 635 } // namespace test | 637 } // namespace test |
| 636 } // namespace views | 638 } // namespace views |
| OLD | NEW |