OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_ |
| 6 #define ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_ |
| 7 |
5 #include "ash/wm/workspace/backdrop_delegate.h" | 8 #include "ash/wm/workspace/backdrop_delegate.h" |
6 | 9 |
7 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
8 #include "base/macros.h" | 11 #include "base/macros.h" |
9 | 12 |
10 namespace ash { | 13 namespace ash { |
11 | 14 |
12 // A backdrop delegate for MaximizedMode, which always creates a backdrop. | 15 // A backdrop delegate for MaximizedMode, which always creates a backdrop. |
13 // This is also used in the WorkspaceLayoutManagerBackdropTest, hence | 16 // This is also used in the WorkspaceLayoutManagerBackdropTest, hence |
14 // is public. | 17 // is public. |
15 class ASH_EXPORT MaximizeModeBackdropDelegateImpl : public BackdropDelegate { | 18 class ASH_EXPORT TabletModeBackdropDelegateImpl : public BackdropDelegate { |
16 public: | 19 public: |
17 MaximizeModeBackdropDelegateImpl(); | 20 TabletModeBackdropDelegateImpl(); |
18 ~MaximizeModeBackdropDelegateImpl() override; | 21 ~TabletModeBackdropDelegateImpl() override; |
19 | 22 |
20 protected: | 23 protected: |
21 bool HasBackdrop(aura::Window* window) override; | 24 bool HasBackdrop(aura::Window* window) override; |
22 | 25 |
23 private: | 26 private: |
24 DISALLOW_COPY_AND_ASSIGN(MaximizeModeBackdropDelegateImpl); | 27 DISALLOW_COPY_AND_ASSIGN(TabletModeBackdropDelegateImpl); |
25 }; | 28 }; |
26 | 29 |
27 } // namespace ash | 30 } // namespace ash |
| 31 |
| 32 #endif // ASH_WM_TABLET_MODE_TABLET_MODE_BACKDROP_DELEGATE_IMPL_H_ |
OLD | NEW |