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

Side by Side Diff: ash/aura/wm_shell_aura.h

Issue 2733303004: Removes WmShell::NewWindow() (Closed)
Patch Set: cleanup Created 3 years, 9 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_AURA_WM_SHELL_AURA_H_ 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_
6 #define ASH_AURA_WM_SHELL_AURA_H_ 6 #define ASH_AURA_WM_SHELL_AURA_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 explicit WmShellAura(std::unique_ptr<ShellDelegate> shell_delegate); 23 explicit WmShellAura(std::unique_ptr<ShellDelegate> shell_delegate);
24 ~WmShellAura() override; 24 ~WmShellAura() override;
25 25
26 static WmShellAura* Get(); 26 static WmShellAura* Get();
27 27
28 28
29 // WmShell: 29 // WmShell:
30 void Shutdown() override; 30 void Shutdown() override;
31 bool IsRunningInMash() const override; 31 bool IsRunningInMash() const override;
32 WmWindow* NewWindow(ui::wm::WindowType window_type,
33 ui::LayerType layer_type) override;
34 WmWindow* GetFocusedWindow() override; 32 WmWindow* GetFocusedWindow() override;
35 WmWindow* GetActiveWindow() override; 33 WmWindow* GetActiveWindow() override;
36 WmWindow* GetCaptureWindow() override; 34 WmWindow* GetCaptureWindow() override;
37 WmWindow* GetPrimaryRootWindow() override; 35 WmWindow* GetPrimaryRootWindow() override;
38 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 36 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
39 const display::ManagedDisplayInfo& GetDisplayInfo( 37 const display::ManagedDisplayInfo& GetDisplayInfo(
40 int64_t display_id) const override; 38 int64_t display_id) const override;
41 bool IsActiveDisplayId(int64_t display_id) const override; 39 bool IsActiveDisplayId(int64_t display_id) const override;
42 display::Display GetFirstDisplay() const override; 40 display::Display GetFirstDisplay() const override;
43 bool IsInUnifiedMode() const override; 41 bool IsInUnifiedMode() const override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 93
96 bool added_display_observer_ = false; 94 bool added_display_observer_ = false;
97 base::ObserverList<WmDisplayObserver> display_observers_; 95 base::ObserverList<WmDisplayObserver> display_observers_;
98 96
99 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 97 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
100 }; 98 };
101 99
102 } // namespace ash 100 } // namespace ash
103 101
104 #endif // ASH_AURA_WM_SHELL_AURA_H_ 102 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_shell_aura.cc » ('j') | ash/common/shelf/shelf_window_watcher_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698