Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(797)

Side by Side Diff: ash/launcher/launcher.cc

Issue 26373009: ash:Shelf - Added UMA stats for ShelfAlignment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ws Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698