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/touch/touch_hud_projection.h" | 5 #include "ash/touch/touch_hud_projection.h" |
6 | 6 |
7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
9 #include "ash/wm/property_util.h" | |
10 #include "third_party/skia/include/effects/SkGradientShader.h" | 9 #include "third_party/skia/include/effects/SkGradientShader.h" |
11 #include "ui/base/events/event.h" | 10 #include "ui/base/events/event.h" |
12 #include "ui/gfx/animation/animation_delegate.h" | 11 #include "ui/gfx/animation/animation_delegate.h" |
13 #include "ui/gfx/animation/linear_animation.h" | 12 #include "ui/gfx/animation/linear_animation.h" |
14 #include "ui/gfx/canvas.h" | 13 #include "ui/gfx/canvas.h" |
15 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
16 #include "ui/views/widget/widget.h" | 15 #include "ui/views/widget/widget.h" |
17 | 16 |
18 namespace ash { | 17 namespace ash { |
19 namespace internal { | 18 namespace internal { |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 controller->set_touch_hud_projection(this); | 177 controller->set_touch_hud_projection(this); |
179 } | 178 } |
180 | 179 |
181 void TouchHudProjection::UnsetHudForRootWindowController( | 180 void TouchHudProjection::UnsetHudForRootWindowController( |
182 RootWindowController* controller) { | 181 RootWindowController* controller) { |
183 controller->set_touch_hud_projection(NULL); | 182 controller->set_touch_hud_projection(NULL); |
184 } | 183 } |
185 | 184 |
186 } // namespace internal | 185 } // namespace internal |
187 } // namespace ash | 186 } // namespace ash |
OLD | NEW |