OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" | 5 #include "chrome/browser/ui/views/frame/immersive_mode_controller_ash.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/wm/window_properties.h" | 11 #include "ash/wm/window_properties.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" |
13 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" | 14 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" |
14 #include "chrome/browser/ui/immersive_fullscreen_configuration.h" | 15 #include "chrome/browser/ui/immersive_fullscreen_configuration.h" |
15 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" | 16 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" |
16 #include "chrome/browser/ui/views/frame/top_container_view.h" | 17 #include "chrome/browser/ui/views/frame/top_container_view.h" |
17 #include "chrome/common/chrome_notification_types.h" | |
18 #include "content/public/browser/notification_service.h" | 18 #include "content/public/browser/notification_service.h" |
19 #include "ui/aura/client/activation_client.h" | 19 #include "ui/aura/client/activation_client.h" |
20 #include "ui/aura/client/aura_constants.h" | 20 #include "ui/aura/client/aura_constants.h" |
21 #include "ui/aura/client/capture_client.h" | 21 #include "ui/aura/client/capture_client.h" |
22 #include "ui/aura/client/cursor_client.h" | 22 #include "ui/aura/client/cursor_client.h" |
23 #include "ui/aura/client/screen_position_client.h" | 23 #include "ui/aura/client/screen_position_client.h" |
24 #include "ui/aura/env.h" | 24 #include "ui/aura/env.h" |
25 #include "ui/aura/root_window.h" | 25 #include "ui/aura/root_window.h" |
26 #include "ui/aura/window.h" | 26 #include "ui/aura/window.h" |
27 #include "ui/base/animation/slide_animation.h" | 27 #include "ui/base/animation/slide_animation.h" |
(...skipping 1063 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1091 aura::Window* transient_child = transient_children[i]; | 1091 aura::Window* transient_child = transient_children[i]; |
1092 views::BubbleDelegateView* bubble_delegate = | 1092 views::BubbleDelegateView* bubble_delegate = |
1093 AsBubbleDelegate(transient_child); | 1093 AsBubbleDelegate(transient_child); |
1094 if (bubble_delegate && | 1094 if (bubble_delegate && |
1095 bubble_delegate->anchor_view() && | 1095 bubble_delegate->anchor_view() && |
1096 top_container_->Contains(bubble_delegate->anchor_view())) { | 1096 top_container_->Contains(bubble_delegate->anchor_view())) { |
1097 bubble_manager_->StartObserving(transient_child); | 1097 bubble_manager_->StartObserving(transient_child); |
1098 } | 1098 } |
1099 } | 1099 } |
1100 } | 1100 } |
OLD | NEW |