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/shelf/overflow_bubble.h" | 5 #include "ash/shelf/overflow_bubble.h" |
6 | 6 |
7 #include "ash/root_window_controller.h" | 7 #include "ash/root_window_controller.h" |
8 #include "ash/shelf/overflow_bubble_view.h" | 8 #include "ash/shelf/overflow_bubble_view.h" |
9 #include "ash/shelf/shelf_layout_manager.h" | 9 #include "ash/shelf/shelf_layout_manager.h" |
10 #include "ash/shelf/shelf_view.h" | 10 #include "ash/shelf/shelf_view.h" |
11 #include "ash/shelf/shelf_widget.h" | 11 #include "ash/shelf/shelf_widget.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/system/tray/system_tray.h" | 13 #include "ash/system/tray/system_tray.h" |
14 #include "ui/aura/client/screen_position_client.h" | 14 #include "ui/aura/client/screen_position_client.h" |
15 #include "ui/aura/root_window.h" | 15 #include "ui/aura/window_event_dispatcher.h" |
16 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
17 #include "ui/gfx/screen.h" | 17 #include "ui/gfx/screen.h" |
18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
19 | 19 |
20 namespace ash { | 20 namespace ash { |
21 namespace internal { | 21 namespace internal { |
22 | 22 |
23 OverflowBubble::OverflowBubble() | 23 OverflowBubble::OverflowBubble() |
24 : bubble_(NULL), | 24 : bubble_(NULL), |
25 anchor_(NULL), | 25 anchor_(NULL), |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 DCHECK(widget == bubble_->GetWidget()); | 95 DCHECK(widget == bubble_->GetWidget()); |
96 bubble_ = NULL; | 96 bubble_ = NULL; |
97 anchor_ = NULL; | 97 anchor_ = NULL; |
98 shelf_view_ = NULL; | 98 shelf_view_ = NULL; |
99 ShelfLayoutManager::ForShelf( | 99 ShelfLayoutManager::ForShelf( |
100 widget->GetNativeView())->shelf_widget()->shelf()->SchedulePaint(); | 100 widget->GetNativeView())->shelf_widget()->shelf()->SchedulePaint(); |
101 } | 101 } |
102 | 102 |
103 } // namespace internal | 103 } // namespace internal |
104 } // namespace ash | 104 } // namespace ash |
OLD | NEW |