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

Side by Side Diff: ash/common/wm_shell.h

Issue 2372843002: Add ash devtools client (Closed)
Patch Set: Add ash devtools client Created 4 years, 2 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 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 ASH_COMMON_WM_SHELL_H_ 5 #ifndef ASH_COMMON_WM_SHELL_H_
6 #define ASH_COMMON_WM_SHELL_H_ 6 #define ASH_COMMON_WM_SHELL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "ash/ash_export.h" 13 #include "ash/ash_export.h"
14 #include "ash/common/media_delegate.h" 14 #include "ash/common/media_delegate.h"
15 #include "ash/common/metrics/gesture_action_type.h" 15 #include "ash/common/metrics/gesture_action_type.h"
16 #include "ash/common/metrics/user_metrics_action.h" 16 #include "ash/common/metrics/user_metrics_action.h"
17 #include "ash/common/wm/lock_state_observer.h" 17 #include "ash/common/wm/lock_state_observer.h"
18 #include "base/observer_list.h" 18 #include "base/observer_list.h"
19 #include "ui/base/ui_base_types.h" 19 #include "ui/base/ui_base_types.h"
20 #include "ui/compositor/layer_type.h" 20 #include "ui/compositor/layer_type.h"
21 #include "ui/devtools/devtools_server.h"
21 #include "ui/wm/public/window_types.h" 22 #include "ui/wm/public/window_types.h"
22 23
23 namespace base { 24 namespace base {
24 class SequencedWorkerPool; 25 class SequencedWorkerPool;
25 } 26 }
26 27
27 namespace display { 28 namespace display {
28 class Display; 29 class Display;
29 class ManagedDisplayInfo; 30 class ManagedDisplayInfo;
30 } 31 }
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 std::unique_ptr<ShelfDelegate> shelf_delegate_; 454 std::unique_ptr<ShelfDelegate> shelf_delegate_;
454 std::unique_ptr<ShelfModel> shelf_model_; 455 std::unique_ptr<ShelfModel> shelf_model_;
455 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_; 456 std::unique_ptr<ShelfWindowWatcher> shelf_window_watcher_;
456 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_; 457 std::unique_ptr<SystemTrayNotifier> system_tray_notifier_;
457 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_; 458 std::unique_ptr<SystemTrayDelegate> system_tray_delegate_;
458 std::unique_ptr<ToastManager> toast_manager_; 459 std::unique_ptr<ToastManager> toast_manager_;
459 std::unique_ptr<WallpaperController> wallpaper_controller_; 460 std::unique_ptr<WallpaperController> wallpaper_controller_;
460 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_; 461 std::unique_ptr<WallpaperDelegate> wallpaper_delegate_;
461 std::unique_ptr<WindowCycleController> window_cycle_controller_; 462 std::unique_ptr<WindowCycleController> window_cycle_controller_;
462 std::unique_ptr<WindowSelectorController> window_selector_controller_; 463 std::unique_ptr<WindowSelectorController> window_selector_controller_;
464 std::unique_ptr<ui::devtools::UiDevToolsServer> devtools_server_;
463 465
464 base::ObserverList<LockStateObserver> lock_state_observers_; 466 base::ObserverList<LockStateObserver> lock_state_observers_;
465 467
466 // See comment for GetRootWindowForNewWindows(). 468 // See comment for GetRootWindowForNewWindows().
467 WmWindow* root_window_for_new_windows_ = nullptr; 469 WmWindow* root_window_for_new_windows_ = nullptr;
468 WmWindow* scoped_root_window_for_new_windows_ = nullptr; 470 WmWindow* scoped_root_window_for_new_windows_ = nullptr;
469 471
470 bool simulate_modal_window_open_for_testing_ = false; 472 bool simulate_modal_window_open_for_testing_ = false;
471 473
472 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 474 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
473 475
474 #if defined(OS_CHROMEOS) 476 #if defined(OS_CHROMEOS)
475 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_; 477 std::unique_ptr<LogoutConfirmationController> logout_confirmation_controller_;
476 #endif 478 #endif
477 }; 479 };
478 480
479 } // namespace ash 481 } // namespace ash
480 482
481 #endif // ASH_COMMON_WM_SHELL_H_ 483 #endif // ASH_COMMON_WM_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698