Index: ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h |
diff --git a/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h b/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..010b9ecff6a30b0f3fdab925b90946f662aff350 |
--- /dev/null |
+++ b/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ash/wm/workspace/backdrop_delegate.h" |
+ |
+#include "ash/ash_export.h" |
+#include "base/macros.h" |
+ |
+namespace ash { |
+ |
+// A backdrop delegate for MaximizedMode, which always creates a backdrop. |
+// This is also used in the WorkspaceLayoutManagerBackdropTest, hence |
+// is public. |
+class ASH_EXPORT MaximizeModeBackdropDelegateImpl : public BackdropDelegate { |
+ public: |
+ MaximizeModeBackdropDelegateImpl(); |
+ ~MaximizeModeBackdropDelegateImpl() override; |
+ |
+ protected: |
+ bool HasBackdrop(aura::Window* window) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(MaximizeModeBackdropDelegateImpl); |
+}; |
+ |
+} // namespace ash |