OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/resize_handle_window_targeter.h" | 5 #include "ash/wm/resize_handle_window_targeter.h" |
6 | 6 |
7 #include "ash/common/ash_constants.h" | 7 #include "ash/ash_constants.h" |
8 #include "ash/common/wm/window_state.h" | |
9 #include "ash/shared/immersive_fullscreen_controller.h" | 8 #include "ash/shared/immersive_fullscreen_controller.h" |
| 9 #include "ash/wm/window_state.h" |
10 #include "ash/wm/window_state_aura.h" | 10 #include "ash/wm/window_state_aura.h" |
11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
12 #include "ui/events/event.h" | 12 #include "ui/events/event.h" |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 ResizeHandleWindowTargeter::ResizeHandleWindowTargeter( | 16 ResizeHandleWindowTargeter::ResizeHandleWindowTargeter( |
17 aura::Window* window, | 17 aura::Window* window, |
18 ImmersiveFullscreenController* controller) | 18 ImmersiveFullscreenController* controller) |
19 : window_(window), immersive_controller_(controller) { | 19 : window_(window), immersive_controller_(controller) { |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 aura::WindowTargeter* targeter = | 92 aura::WindowTargeter* targeter = |
93 static_cast<aura::WindowTargeter*>(parent->GetEventTargeter()); | 93 static_cast<aura::WindowTargeter*>(parent->GetEventTargeter()); |
94 if (targeter) | 94 if (targeter) |
95 return targeter->SubtreeShouldBeExploredForEvent(window, event); | 95 return targeter->SubtreeShouldBeExploredForEvent(window, event); |
96 } | 96 } |
97 } | 97 } |
98 return aura::WindowTargeter::SubtreeShouldBeExploredForEvent(window, event); | 98 return aura::WindowTargeter::SubtreeShouldBeExploredForEvent(window, event); |
99 } | 99 } |
100 | 100 |
101 } // namespace ash | 101 } // namespace ash |
OLD | NEW |