| 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> |
| 11 | 11 |
| 12 #include "ash/common/shell_observer.h" | 12 #include "ash/common/shell_observer.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 14 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
| 15 #include "chrome/browser/ui/ash/launcher/app_window_launcher_controller.h" | 15 #include "chrome/browser/ui/ash/launcher/app_window_launcher_controller.h" |
| 16 #include "mojo/public/cpp/bindings/binding.h" | 16 #include "mojo/public/cpp/bindings/binding.h" |
| 17 #include "ui/aura/env_observer.h" | 17 #include "ui/aura/env_observer.h" |
| 18 #include "ui/aura/window_observer.h" | 18 #include "ui/aura/window_observer.h" |
| 19 | 19 |
| 20 namespace ash { | 20 namespace ash { |
| 21 class ShelfDelegate; | 21 class ShelfDelegate; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace aura { | 24 namespace aura { |
| 25 class Window; | 25 class Window; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace views { | |
| 29 class Widget; | |
| 30 } | |
| 31 | |
| 32 class ArcAppWindowLauncherItemController; | 28 class ArcAppWindowLauncherItemController; |
| 33 class ChromeLauncherController; | 29 class ChromeLauncherController; |
| 34 | 30 |
| 35 class Profile; | 31 class Profile; |
| 36 | 32 |
| 37 class ArcAppWindowLauncherController : public AppWindowLauncherController, | 33 class ArcAppWindowLauncherController : public AppWindowLauncherController, |
| 38 public aura::EnvObserver, | 34 public aura::EnvObserver, |
| 39 public aura::WindowObserver, | 35 public aura::WindowObserver, |
| 40 public ash::ShellObserver, | 36 public ash::ShellObserver, |
| 41 public ArcAppListPrefs::Observer { | 37 public ArcAppListPrefs::Observer { |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 TaskIdToAppWindowInfo task_id_to_app_window_info_; | 117 TaskIdToAppWindowInfo task_id_to_app_window_info_; |
| 122 ShelfAppIdToAppControllerMap app_controller_map_; | 118 ShelfAppIdToAppControllerMap app_controller_map_; |
| 123 std::vector<aura::Window*> observed_windows_; | 119 std::vector<aura::Window*> observed_windows_; |
| 124 Profile* observed_profile_ = nullptr; | 120 Profile* observed_profile_ = nullptr; |
| 125 bool observing_shell_ = false; | 121 bool observing_shell_ = false; |
| 126 | 122 |
| 127 DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherController); | 123 DISALLOW_COPY_AND_ASSIGN(ArcAppWindowLauncherController); |
| 128 }; | 124 }; |
| 129 | 125 |
| 130 #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 |