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