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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h

Issue 2769323002: mash: Update shelf pin prefs in ShelfModelObserver overrides. (Closed)
Patch Set: Use ScopedPinSyncDisabler name suggestion. Created 3 years, 8 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
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_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 std::unique_ptr<BrowserStatusMonitor> browser_status_monitor_; 293 std::unique_ptr<BrowserStatusMonitor> browser_status_monitor_;
294 294
295 // A special observer class to detect user switches. 295 // A special observer class to detect user switches.
296 std::unique_ptr<ChromeLauncherControllerUserSwitchObserver> 296 std::unique_ptr<ChromeLauncherControllerUserSwitchObserver>
297 user_switch_observer_; 297 user_switch_observer_;
298 298
299 std::unique_ptr<ash::launcher::ChromeLauncherPrefsObserver> prefs_observer_; 299 std::unique_ptr<ash::launcher::ChromeLauncherPrefsObserver> prefs_observer_;
300 300
301 std::unique_ptr<ArcAppDeferredLauncherController> arc_deferred_launcher_; 301 std::unique_ptr<ArcAppDeferredLauncherController> arc_deferred_launcher_;
302 302
303 // If true, incoming pinned state changes should be ignored.
304 bool ignore_persist_pinned_state_change_ = false;
305
306 // The list of running & un-pinned applications for different users on hidden 303 // The list of running & un-pinned applications for different users on hidden
307 // desktops. 304 // desktops.
308 typedef std::vector<std::string> RunningAppListIds; 305 typedef std::vector<std::string> RunningAppListIds;
309 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; 306 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap;
310 RunningAppListIdMap last_used_running_application_order_; 307 RunningAppListIdMap last_used_running_application_order_;
311 308
312 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; 309 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_;
313 310
314 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); 311 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl);
315 }; 312 };
316 313
317 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 314 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698