Chromium Code Reviews| 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..bec3517d2d60b6e2e08ebf65c69fe3d7e25bc99f |
| --- /dev/null |
| +++ b/ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h |
| @@ -0,0 +1,24 @@ |
| +// 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 { |
| + |
| +class ASH_EXPORT MaximizeModeBackdropDelegateImpl : public BackdropDelegate { |
|
James Cook
2017/05/15 21:57:38
Class docs please. (Like, why is this a public cla
oshima
2017/05/16 08:22:08
By public class, you mean the ctor is public? I ca
James Cook
2017/05/16 15:12:14
Yes, I meant have this class be in the .cc file fo
oshima
2017/05/17 07:44:33
Looks like the some of existing tests assume it's
|
| + public: |
| + MaximizeModeBackdropDelegateImpl() {} |
|
James Cook
2017/05/15 21:57:38
nit: = default (and consider moving to .cc)
oshima
2017/05/16 08:22:08
Done.
Is "= default" now recommended? Just double
James Cook
2017/05/16 15:12:14
I don't think the style guide has an opinion. I pr
|
| + ~MaximizeModeBackdropDelegateImpl() override {} |
| + |
| + protected: |
| + bool HasBackdrop(WmWindow* window) override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(MaximizeModeBackdropDelegateImpl); |
| +}; |
| + |
| +} // namespace ash |