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

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

Issue 2787363002: Moves couple of WmShell methods to standalone functions (Closed)
Patch Set: feedback and fix applist Created 3 years, 8 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
« no previous file with comments | « no previous file | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 16 matching lines...) Expand all
27 static WmShellAura* Get(); 27 static WmShellAura* Get();
28 28
29 AcceleratorControllerDelegateAura* accelerator_controller_delegate() { 29 AcceleratorControllerDelegateAura* accelerator_controller_delegate() {
30 return accelerator_controller_delegate_.get(); 30 return accelerator_controller_delegate_.get();
31 } 31 }
32 32
33 // WmShell: 33 // WmShell:
34 void Shutdown() override; 34 void Shutdown() override;
35 bool IsRunningInMash() const override; 35 bool IsRunningInMash() const override;
36 Config GetConfig() const override; 36 Config GetConfig() const override;
37 WmWindow* GetFocusedWindow() override;
38 WmWindow* GetActiveWindow() override;
39 WmWindow* GetCaptureWindow() override;
40 WmWindow* GetPrimaryRootWindow() override; 37 WmWindow* GetPrimaryRootWindow() override;
41 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 38 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
42 const display::ManagedDisplayInfo& GetDisplayInfo( 39 const display::ManagedDisplayInfo& GetDisplayInfo(
43 int64_t display_id) const override; 40 int64_t display_id) const override;
44 bool IsActiveDisplayId(int64_t display_id) const override; 41 bool IsActiveDisplayId(int64_t display_id) const override;
45 display::Display GetFirstDisplay() const override; 42 display::Display GetFirstDisplay() const override;
46 bool IsInUnifiedMode() const override; 43 bool IsInUnifiedMode() const override;
47 bool IsInUnifiedModeIgnoreMirroring() const override; 44 bool IsInUnifiedModeIgnoreMirroring() const override;
48 void SetDisplayWorkAreaInsets(WmWindow* window, 45 void SetDisplayWorkAreaInsets(WmWindow* window,
49 const gfx::Insets& insets) override; 46 const gfx::Insets& insets) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 93
97 std::unique_ptr<AcceleratorControllerDelegateAura> 94 std::unique_ptr<AcceleratorControllerDelegateAura>
98 accelerator_controller_delegate_; 95 accelerator_controller_delegate_;
99 96
100 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 97 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
101 }; 98 };
102 99
103 } // namespace ash 100 } // namespace ash
104 101
105 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698