Chromium Code Reviews| 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 9d438fb3c34f1cf5cbe65ce9a0d7b9c122dcf50a..bb9fcb2af7a15b8d46abda2f0d68c3b706760b4f 100644 |
| --- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
| +++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
| @@ -227,9 +227,15 @@ class ChromeLauncherController |
| Profile* profile() { return profile_; } |
| - void SetAutoHideBehavior(ash::ShelfAutoHideBehavior behavior, |
| - aura::RootWindow* root_window); |
| + ash::ShelfAutoHideBehavior GetShelfAutoHideBehavior( |
| + aura::RootWindow* root_window) const; |
| + bool CanUserModifyShelfAutoHideBehavior( |
| + aura::RootWindow* root_window) const; |
| + |
| + void ToggleShelfAutoHideBehavior(aura::RootWindow* root_window); |
|
oshima
2012/11/26 19:13:00
document these methods.
bartfab (slow)
2012/11/29 18:25:51
Done.
|
| + |
| + public: |
|
oshima
2012/11/26 19:13:00
do you need this?
bartfab (slow)
2012/11/29 18:25:51
Sorry, this was a leftover from debugging.
|
| // The tab no longer represents its previously identified application. |
| void RemoveTabFromRunningApp(TabContents* tab, const std::string& app_id); |
| @@ -311,6 +317,9 @@ class ChromeLauncherController |
| // Re-syncs launcher model with prefs::kPinnedLauncherApps. |
| void UpdateAppLaunchersFromPref(); |
| + void SetShelfAutoHideBehaviorPrefs(ash::ShelfAutoHideBehavior behavior, |
| + aura::RootWindow* root_window); |
| + |
| // Sets the shelf auto-hide behavior from prefs. |
| void SetShelfAutoHideBehaviorFromPrefs(); |