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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h

Issue 11233049: Splits shelf alignment and auto-hide behavior into two values, one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gr! Created 8 years, 2 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/ash/launcher/chrome_launcher_controller.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
index 2f9cb1ab153a593bb434807dfd89187a9301e18b..d16fb29b4466a48e85dedb002138562faab1c161 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h
@@ -20,6 +20,7 @@
#include "base/prefs/public/pref_change_registrar.h"
#include "base/timer.h"
#include "chrome/browser/api/sync/profile_sync_service_observer.h"
+#include "chrome/browser/prefs/pref_service_observer.h"
#include "chrome/browser/extensions/extension_prefs.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
@@ -54,7 +55,8 @@ class ChromeLauncherController
public ash::LauncherModelObserver,
public ash::ShellObserver,
public content::NotificationObserver,
- public ProfileSyncServiceObserver {
+ public ProfileSyncServiceObserver,
+ public PrefServiceObserver {
public:
// Indicates if a launcher item is incognito or not.
enum IncognitoState {
@@ -267,6 +269,9 @@ class ChromeLauncherController
// Overridden from ProfileSyncServiceObserver:
virtual void OnStateChanged() OVERRIDE;
+ // Overriden from PrefServiceObserver:
+ virtual void OnHasSyncedChanged() OVERRIDE;
+
private:
friend class BrowserLauncherItemControllerTest;
friend class ChromeLauncherControllerTest;
« no previous file with comments | « chrome/browser/ui/ash/chrome_launcher_prefs.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698