| 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 "ash/system/web_notification/web_notification_tray.h" | 5 #include "ash/system/web_notification/web_notification_tray.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/common/shell_window_ids.h" | 10 #include "ash/common/shell_window_ids.h" |
| 11 #include "ash/common/system/tray/system_tray_item.h" | 11 #include "ash/common/system/tray/system_tray_item.h" |
| 12 #include "ash/common/wm/window_state.h" | 12 #include "ash/common/wm/window_state.h" |
| 13 #include "ash/common/wm_lookup.h" | 13 #include "ash/common/wm_lookup.h" |
| 14 #include "ash/common/wm_root_window_controller.h" | 14 #include "ash/common/wm_root_window_controller.h" |
| 15 #include "ash/common/wm_shell.h" | 15 #include "ash/common/wm_shell.h" |
| 16 #include "ash/common/wm_window.h" | 16 #include "ash/common/wm_window.h" |
| 17 #include "ash/display/display_manager.h" | 17 #include "ash/display/display_manager.h" |
| 18 #include "ash/root_window_controller.h" | 18 #include "ash/root_window_controller.h" |
| 19 #include "ash/shelf/shelf_layout_manager.h" | 19 #include "ash/shelf/shelf_layout_manager.h" |
| 20 #include "ash/shelf/shelf_widget.h" | |
| 21 #include "ash/shell.h" | 20 #include "ash/shell.h" |
| 22 #include "ash/system/status_area_widget.h" | 21 #include "ash/system/status_area_widget.h" |
| 23 #include "ash/system/tray/system_tray.h" | 22 #include "ash/system/tray/system_tray.h" |
| 24 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" | 23 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" |
| 25 #include "ash/test/ash_test_base.h" | 24 #include "ash/test/ash_test_base.h" |
| 26 #include "ash/test/status_area_widget_test_helper.h" | 25 #include "ash/test/status_area_widget_test_helper.h" |
| 27 #include "ash/test/test_system_tray_delegate.h" | 26 #include "ash/test/test_system_tray_delegate.h" |
| 28 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
| 29 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
| 30 #include "ui/display/display.h" | 29 #include "ui/display/display.h" |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 ui::TouchEvent release(ui::ET_TOUCH_RELEASED, out_of_bounds, touch_id, | 537 ui::TouchEvent release(ui::ET_TOUCH_RELEASED, out_of_bounds, touch_id, |
| 539 move.time_stamp()+base::TimeDelta::FromMilliseconds(50)); | 538 move.time_stamp()+base::TimeDelta::FromMilliseconds(50)); |
| 540 generator.Dispatch(&release); | 539 generator.Dispatch(&release); |
| 541 EXPECT_FALSE(tray->draw_background_as_active()); | 540 EXPECT_FALSE(tray->draw_background_as_active()); |
| 542 EXPECT_FALSE(tray->IsMessageCenterBubbleVisible()); | 541 EXPECT_FALSE(tray->IsMessageCenterBubbleVisible()); |
| 543 } | 542 } |
| 544 | 543 |
| 545 #endif // OS_CHROMEOS | 544 #endif // OS_CHROMEOS |
| 546 | 545 |
| 547 } // namespace ash | 546 } // namespace ash |
| OLD | NEW |