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

Unified Diff: chrome/browser/ui/views/app_list/app_list_controller_win.cc

Issue 23315002: Add UMA for first app list paint on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/app_list/app_list_controller_win.cc
diff --git a/chrome/browser/ui/views/app_list/app_list_controller_win.cc b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
index a47ea339872b5b0c7dbc62285d63b9ce6e2d8cc9..8470790b30b1e0144d42f0c9102e407f8c7776f8 100644
--- a/chrome/browser/ui/views/app_list/app_list_controller_win.cc
+++ b/chrome/browser/ui/views/app_list/app_list_controller_win.cc
@@ -799,6 +799,8 @@ class AppListController : public AppListServiceImpl {
void OnAppListActivationChanged(bool active);
// AppListService overrides:
+ virtual void SetAppListNextPaintCallback(
+ const base::Closure& callback) OVERRIDE;
virtual void HandleFirstRun() OVERRIDE;
virtual void Init(Profile* initial_profile) OVERRIDE;
virtual void CreateForProfile(Profile* requested_profile) OVERRIDE;
@@ -987,6 +989,11 @@ void AppListController::OnLoadProfileForWarmup(Profile* initial_profile) {
shower_->WarmupForProfile(initial_profile);
}
+void AppListController::SetAppListNextPaintCallback(
+ const base::Closure& callback) {
+ app_list::AppListView::SetAppListNextPaintCallback(callback);
+}
+
void AppListController::HandleFirstRun() {
PrefService* local_state = g_browser_process->local_state();
// If the app list is already enabled during first run, then the user had

Powered by Google App Engine
This is Rietveld 408576698