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/app_list/app_list_view.h" | 5 #include "ash/app_list/app_list_view.h" |
6 | 6 |
7 #include "ash/app_list/app_list_item_view.h" | 7 #include "ash/app_list/app_list_item_view.h" |
8 #include "ash/app_list/app_list_model.h" | 8 #include "ash/app_list/app_list_model.h" |
9 #include "ash/app_list/app_list_model_view.h" | 9 #include "ash/app_list/app_list_model_view.h" |
10 #include "ash/app_list/app_list_view_delegate.h" | 10 #include "ash/app_list/app_list_view_delegate.h" |
11 #include "ash/screen_ash.h" | 11 #include "ash/screen_ash.h" |
12 #include "ash/shell.h" | 12 #include "ash/shell.h" |
13 #include "ash/shell_window_ids.h" | 13 #include "ash/shell_window_ids.h" |
14 #include "ash/wm/shelf_layout_manager.h" | 14 #include "ash/wm/shelf_layout_manager.h" |
15 #include "ui/gfx/compositor/layer.h" | 15 #include "ui/compositor/layer.h" |
16 #include "ui/gfx/compositor/scoped_layer_animation_settings.h" | 16 #include "ui/compositor/scoped_layer_animation_settings.h" |
17 #include "ui/gfx/screen.h" | 17 #include "ui/gfx/screen.h" |
18 #include "ui/gfx/transform_util.h" | 18 #include "ui/gfx/transform_util.h" |
19 #include "ui/views/background.h" | 19 #include "ui/views/background.h" |
20 #include "ui/views/widget/widget.h" | 20 #include "ui/views/widget/widget.h" |
21 | 21 |
22 namespace ash { | 22 namespace ash { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 // 0.2 black | 26 // 0.2 black |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 if (delegate_.get()) { | 159 if (delegate_.get()) { |
160 delegate_->OnAppListItemActivated( | 160 delegate_->OnAppListItemActivated( |
161 static_cast<AppListItemView*>(sender)->model(), | 161 static_cast<AppListItemView*>(sender)->model(), |
162 event.flags()); | 162 event.flags()); |
163 } | 163 } |
164 Close(); | 164 Close(); |
165 } | 165 } |
166 | 166 |
167 } // namespace ash | 167 } // namespace ash |
OLD | NEW |