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/wm/gestures/tray_gesture_handler.h" | 5 #include "ash/wm/gestures/tray_gesture_handler.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/system/tray/system_tray.h" | 8 #include "ash/system/tray/system_tray.h" |
9 #include "ash/system/tray/system_tray_bubble.h" | 9 #include "ash/system/tray/system_tray_bubble.h" |
10 #include "ash/system/tray/tray_bubble_view.h" | |
11 #include "ui/aura/window.h" | 10 #include "ui/aura/window.h" |
12 #include "ui/base/events/event.h" | 11 #include "ui/base/events/event.h" |
13 #include "ui/compositor/layer.h" | 12 #include "ui/compositor/layer.h" |
14 #include "ui/gfx/transform.h" | 13 #include "ui/gfx/transform.h" |
15 #include "ui/views/widget/widget.h" | 14 #include "ui/views/widget/widget.h" |
16 | 15 |
17 const int kMinBubbleHeight = 13; | 16 const int kMinBubbleHeight = 13; |
18 | 17 |
19 namespace ash { | 18 namespace ash { |
20 namespace internal { | 19 namespace internal { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 } | 99 } |
101 } | 100 } |
102 | 101 |
103 void TrayGestureHandler::OnWidgetClosing(views::Widget* widget) { | 102 void TrayGestureHandler::OnWidgetClosing(views::Widget* widget) { |
104 CHECK_EQ(widget_, widget); | 103 CHECK_EQ(widget_, widget); |
105 widget_ = NULL; | 104 widget_ = NULL; |
106 } | 105 } |
107 | 106 |
108 } // namespace internal | 107 } // namespace internal |
109 } // namespace ash | 108 } // namespace ash |
OLD | NEW |