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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_impl.h

Issue 23315002: Add UMA for first app list paint on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux compile 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 const ProfileLoader& profile_loader() const { return profile_loader_; } 39 const ProfileLoader& profile_loader() const { return profile_loader_; }
40 40
41 // Process command line flags shared between desktop implementations of the 41 // Process command line flags shared between desktop implementations of the
42 // app list. Currently this allows for enabling or disabling the app list. 42 // app list. Currently this allows for enabling or disabling the app list.
43 void HandleCommandLineFlags(Profile* initial_profile); 43 void HandleCommandLineFlags(Profile* initial_profile);
44 44
45 // Create a platform-specific shortcut for the app list. 45 // Create a platform-specific shortcut for the app list.
46 virtual void CreateShortcut(); 46 virtual void CreateShortcut();
47 47
48 // AppListService overrides: 48 // AppListService overrides:
49 virtual void SetAppListNextPaintCallback(
50 const base::Closure& callback) OVERRIDE;
49 virtual void HandleFirstRun() OVERRIDE; 51 virtual void HandleFirstRun() OVERRIDE;
50 virtual void Init(Profile* initial_profile) OVERRIDE; 52 virtual void Init(Profile* initial_profile) OVERRIDE;
51 53
52 // Returns the app list path configured in BrowserProcess::local_state(). 54 // Returns the app list path configured in BrowserProcess::local_state().
53 virtual base::FilePath GetProfilePath( 55 virtual base::FilePath GetProfilePath(
54 const base::FilePath& user_data_dir) OVERRIDE; 56 const base::FilePath& user_data_dir) OVERRIDE;
55 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE; 57 virtual void SetProfilePath(const base::FilePath& profile_path) OVERRIDE;
56 virtual void Show() OVERRIDE; 58 virtual void Show() OVERRIDE;
57 virtual void EnableAppList(Profile* initial_profile) OVERRIDE; 59 virtual void EnableAppList(Profile* initial_profile) OVERRIDE;
58 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE; 60 virtual AppListControllerDelegate* CreateControllerDelegate() OVERRIDE;
(...skipping 23 matching lines...) Expand all
82 int pending_profile_loads_; 84 int pending_profile_loads_;
83 85
84 base::WeakPtrFactory<AppListServiceImpl> weak_factory_; 86 base::WeakPtrFactory<AppListServiceImpl> weak_factory_;
85 87
86 ProfileLoader profile_loader_; 88 ProfileLoader profile_loader_;
87 89
88 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl); 90 DISALLOW_COPY_AND_ASSIGN(AppListServiceImpl);
89 }; 91 };
90 92
91 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_ 93 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_disabled.cc ('k') | chrome/browser/ui/app_list/app_list_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698