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/shell/window_type_launcher.h" | 5 #include "ash/shell/window_type_launcher.h" |
6 | 6 |
7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
8 #include "ash/screensaver/screensaver_view.h" | 8 #include "ash/screensaver/screensaver_view.h" |
9 #include "ash/session_state_delegate.h" | 9 #include "ash/session_state_delegate.h" |
10 #include "ash/shelf/shelf_widget.h" | 10 #include "ash/shelf/shelf_widget.h" |
11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
12 #include "ash/shell/example_factory.h" | 12 #include "ash/shell/example_factory.h" |
13 #include "ash/shell/panel_window.h" | 13 #include "ash/shell/panel_window.h" |
14 #include "ash/shell/toplevel_window.h" | 14 #include "ash/shell/toplevel_window.h" |
15 #include "ash/shell_delegate.h" | 15 #include "ash/shell_delegate.h" |
16 #include "ash/shell_window_ids.h" | 16 #include "ash/shell_window_ids.h" |
17 #include "ash/system/status_area_widget.h" | 17 #include "ash/system/status_area_widget.h" |
18 #include "ash/system/web_notification/web_notification_tray.h" | 18 #include "ash/system/web_notification/web_notification_tray.h" |
19 #include "base/bind.h" | 19 #include "base/bind.h" |
20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
23 #include "ui/aura/root_window.h" | |
24 #include "ui/aura/window.h" | 23 #include "ui/aura/window.h" |
| 24 #include "ui/aura/window_event_dispatcher.h" |
25 #include "ui/compositor/layer.h" | 25 #include "ui/compositor/layer.h" |
26 #include "ui/gfx/canvas.h" | 26 #include "ui/gfx/canvas.h" |
27 #include "ui/message_center/message_center.h" | 27 #include "ui/message_center/message_center.h" |
28 #include "ui/message_center/notification_types.h" | 28 #include "ui/message_center/notification_types.h" |
29 #include "ui/views/controls/button/label_button.h" | 29 #include "ui/views/controls/button/label_button.h" |
30 #include "ui/views/controls/menu/menu_item_view.h" | 30 #include "ui/views/controls/menu/menu_item_view.h" |
31 #include "ui/views/controls/menu/menu_runner.h" | 31 #include "ui/views/controls/menu/menu_runner.h" |
32 #include "ui/views/corewm/shadow_types.h" | 32 #include "ui/views/corewm/shadow_types.h" |
33 #include "ui/views/examples/examples_window_with_content.h" | 33 #include "ui/views/examples/examples_window_with_content.h" |
34 #include "ui/views/layout/grid_layout.h" | 34 #include "ui/views/layout/grid_layout.h" |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 gfx::Rect(point, gfx::Size()), | 391 gfx::Rect(point, gfx::Size()), |
392 MenuItemView::TOPLEFT, | 392 MenuItemView::TOPLEFT, |
393 source_type, | 393 source_type, |
394 MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU) == | 394 MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU) == |
395 MenuRunner::MENU_DELETED) | 395 MenuRunner::MENU_DELETED) |
396 return; | 396 return; |
397 } | 397 } |
398 | 398 |
399 } // namespace shell | 399 } // namespace shell |
400 } // namespace ash | 400 } // namespace ash |
OLD | NEW |