| OLD | NEW |
| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 | 598 |
| 599 // The owned browser status monitor. | 599 // The owned browser status monitor. |
| 600 scoped_ptr<BrowserStatusMonitor> browser_status_monitor_; | 600 scoped_ptr<BrowserStatusMonitor> browser_status_monitor_; |
| 601 | 601 |
| 602 // A special observer class to detect user switches. | 602 // A special observer class to detect user switches. |
| 603 scoped_ptr<ChromeLauncherControllerUserSwitchObserver> user_switch_observer_; | 603 scoped_ptr<ChromeLauncherControllerUserSwitchObserver> user_switch_observer_; |
| 604 | 604 |
| 605 // If true, incoming pinned state changes should be ignored. | 605 // If true, incoming pinned state changes should be ignored. |
| 606 bool ignore_persist_pinned_state_change_; | 606 bool ignore_persist_pinned_state_change_; |
| 607 | 607 |
| 608 // True if each user has an own desktop. | |
| 609 bool multi_profile_desktop_separation_; | |
| 610 | |
| 611 // The list of running & un-pinned applications for different users on hidden | 608 // The list of running & un-pinned applications for different users on hidden |
| 612 // desktops. | 609 // desktops. |
| 613 typedef std::vector<std::string> RunningAppListIds; | 610 typedef std::vector<std::string> RunningAppListIds; |
| 614 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; | 611 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; |
| 615 RunningAppListIdMap last_used_running_application_order_; | 612 RunningAppListIdMap last_used_running_application_order_; |
| 616 | 613 |
| 617 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 614 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
| 618 }; | 615 }; |
| 619 | 616 |
| 620 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 617 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| OLD | NEW |