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/launcher/launcher.h" | 5 #include "ash/launcher/launcher.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "ash/focus_cycler.h" | 10 #include "ash/focus_cycler.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 } | 187 } |
188 | 188 |
189 gfx::Rect Launcher::GetVisibleItemsBoundsInScreen() const { | 189 gfx::Rect Launcher::GetVisibleItemsBoundsInScreen() const { |
190 return shelf_view_->GetVisibleItemsBoundsInScreen(); | 190 return shelf_view_->GetVisibleItemsBoundsInScreen(); |
191 } | 191 } |
192 | 192 |
193 app_list::ApplicationDragAndDropHost* Launcher::GetDragAndDropHostForAppList() { | 193 app_list::ApplicationDragAndDropHost* Launcher::GetDragAndDropHostForAppList() { |
194 return shelf_view_; | 194 return shelf_view_; |
195 } | 195 } |
196 | 196 |
| 197 void Launcher::RecordCurrentAlignmentForUMAHistogram( |
| 198 const char* histogram_name) { |
| 199 shelf_view_->RecordCurrentAlignmentForUMAHistogram(histogram_name); |
| 200 } |
| 201 |
197 } // namespace ash | 202 } // namespace ash |
OLD | NEW |