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 "ash/wm/immersive_fullscreen_controller.h" | 5 #include "ash/wm/immersive_fullscreen_controller.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "ash/ash_constants.h" | 9 #include "ash/ash_constants.h" |
| 10 #include "ash/common/wm/window_state.h" |
10 #include "ash/shell.h" | 11 #include "ash/shell.h" |
11 #include "ash/wm/common/window_state.h" | |
12 #include "ash/wm/resize_handle_window_targeter.h" | 12 #include "ash/wm/resize_handle_window_targeter.h" |
13 #include "ash/wm/window_state_aura.h" | 13 #include "ash/wm/window_state_aura.h" |
14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
15 #include "ui/aura/client/aura_constants.h" | 15 #include "ui/aura/client/aura_constants.h" |
16 #include "ui/aura/client/capture_client.h" | 16 #include "ui/aura/client/capture_client.h" |
17 #include "ui/aura/client/cursor_client.h" | 17 #include "ui/aura/client/cursor_client.h" |
18 #include "ui/aura/client/screen_position_client.h" | 18 #include "ui/aura/client/screen_position_client.h" |
19 #include "ui/aura/env.h" | 19 #include "ui/aura/env.h" |
20 #include "ui/aura/window.h" | 20 #include "ui/aura/window.h" |
21 #include "ui/aura/window_event_dispatcher.h" | 21 #include "ui/aura/window_event_dispatcher.h" |
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 ::wm::GetTransientChildren(native_window_); | 937 ::wm::GetTransientChildren(native_window_); |
938 for (size_t i = 0; i < transient_children.size(); ++i) { | 938 for (size_t i = 0; i < transient_children.size(); ++i) { |
939 aura::Window* transient_child = transient_children[i]; | 939 aura::Window* transient_child = transient_children[i]; |
940 views::View* anchor_view = GetAnchorView(transient_child); | 940 views::View* anchor_view = GetAnchorView(transient_child); |
941 if (anchor_view && top_container_->Contains(anchor_view)) | 941 if (anchor_view && top_container_->Contains(anchor_view)) |
942 bubble_observer_->StartObserving(transient_child); | 942 bubble_observer_->StartObserving(transient_child); |
943 } | 943 } |
944 } | 944 } |
945 | 945 |
946 } // namespace ash | 946 } // namespace ash |
OLD | NEW |