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 ASH_WM_AURA_WM_LOOKUP_AURA_H_ | 5 #ifndef ASH_AURA_WM_LOOKUP_AURA_H_ |
6 #define ASH_WM_AURA_WM_LOOKUP_AURA_H_ | 6 #define ASH_AURA_WM_LOOKUP_AURA_H_ |
7 | 7 |
8 #include "ash/common/wm/wm_lookup.h" | 8 #include "ash/common/wm_lookup.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 namespace wm { | |
13 | 12 |
14 // Aura implementation of WmLookup. | 13 // Aura implementation of WmLookup. |
15 class WmLookupAura : public WmLookup { | 14 class WmLookupAura : public WmLookup { |
16 public: | 15 public: |
17 WmLookupAura(); | 16 WmLookupAura(); |
18 ~WmLookupAura() override; | 17 ~WmLookupAura() override; |
19 | 18 |
20 // WmLookup: | 19 // WmLookup: |
21 WmRootWindowController* GetRootWindowControllerWithDisplayId( | 20 WmRootWindowController* GetRootWindowControllerWithDisplayId( |
22 int64_t id) override; | 21 int64_t id) override; |
23 WmWindow* GetWindowForWidget(views::Widget* widget) override; | 22 WmWindow* GetWindowForWidget(views::Widget* widget) override; |
24 | 23 |
25 private: | 24 private: |
26 DISALLOW_COPY_AND_ASSIGN(WmLookupAura); | 25 DISALLOW_COPY_AND_ASSIGN(WmLookupAura); |
27 }; | 26 }; |
28 | 27 |
29 } // namespace wm | |
30 } // namespace ash | 28 } // namespace ash |
31 | 29 |
32 #endif // ASH_WM_AURA_WM_LOOKUP_AURA_H_ | 30 #endif // ASH_AURA_WM_LOOKUP_AURA_H_ |
OLD | NEW |