OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 void OnWindowVisibilityChanged(aura::Window* window, bool visible) override; | 51 void OnWindowVisibilityChanged(aura::Window* window, bool visible) override; |
52 void OnWindowDestroying(aura::Window* window) override; | 52 void OnWindowDestroying(aura::Window* window) override; |
53 | 53 |
54 // aura::client::ActivationChangeObserver: | 54 // aura::client::ActivationChangeObserver: |
55 void OnWindowActivated( | 55 void OnWindowActivated( |
56 aura::client::ActivationChangeObserver::ActivationReason reason, | 56 aura::client::ActivationChangeObserver::ActivationReason reason, |
57 aura::Window* gained_active, | 57 aura::Window* gained_active, |
58 aura::Window* lost_active) override; | 58 aura::Window* lost_active) override; |
59 | 59 |
60 // ash::ShellObserver: | 60 // ash::ShellObserver: |
61 void OnMaximizeModeStarted() override; | 61 void OnTabletModeStarted() override; |
62 void OnMaximizeModeEnded() override; | 62 void OnTabletModeEnded() override; |
63 | 63 |
64 // ArcAppListPrefs::Observer: | 64 // ArcAppListPrefs::Observer: |
65 void OnAppReadyChanged(const std::string& app_id, bool ready) override; | 65 void OnAppReadyChanged(const std::string& app_id, bool ready) override; |
66 void OnAppRemoved(const std::string& app_id) override; | 66 void OnAppRemoved(const std::string& app_id) override; |
67 void OnTaskCreated(int task_id, | 67 void OnTaskCreated(int task_id, |
68 const std::string& package_name, | 68 const std::string& package_name, |
69 const std::string& activity, | 69 const std::string& activity, |
70 const std::string& intent) override; | 70 const std::string& intent) override; |
71 void OnTaskDescriptionUpdated( | 71 void OnTaskDescriptionUpdated( |
72 int32_t task_id, | 72 int32_t task_id, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 TaskIdToAppWindowInfo task_id_to_app_window_info_; | 117 TaskIdToAppWindowInfo task_id_to_app_window_info_; |
118 ShelfGroupToAppControllerMap app_shelf_group_to_controller_map_; | 118 ShelfGroupToAppControllerMap app_shelf_group_to_controller_map_; |
119 std::vector<aura::Window*> observed_windows_; | 119 std::vector<aura::Window*> observed_windows_; |
120 Profile* observed_profile_ = nullptr; | 120 Profile* observed_profile_ = nullptr; |
121 bool observing_shell_ = false; | 121 bool observing_shell_ = false; |
122 | 122 |
123 DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherController); | 123 DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherController); |
124 }; | 124 }; |
125 | 125 |
126 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ | 126 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_ARC_APP_WINDOW_LAUNCHER_CONTROLLER_H_ |
OLD | NEW |