Chromium Code Reviews| Index: ash/mus/frame/custom_frame_view_mus.h |
| diff --git a/ash/mus/frame/custom_frame_view_mus.h b/ash/mus/frame/custom_frame_view_mus.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0bf42f9e9404e1ab197b4587c22319b482a71ebc |
| --- /dev/null |
| +++ b/ash/mus/frame/custom_frame_view_mus.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2016 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. |
| + |
| +#ifndef ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ |
| +#define ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ |
| + |
| +#include "ash/common/frame/custom_frame_view_ash.h" |
| + |
| +namespace ash { |
| +namespace mus { |
| + |
| +class CustomFrameViewMus : public CustomFrameViewAsh { |
| + public: |
| + CustomFrameViewMus(views::Widget* widget, |
| + ImmersiveFullscreenControllerDelegate* immersive_delegate, |
| + bool enable_immersive); |
| + ~CustomFrameViewMus() override; |
| + |
| + // CustomFrameViewAsh: |
| + void OnPaint(gfx::Canvas* canvas) override; |
| + void PaintChildren(const ui::PaintContext& context) override; |
| + |
| + private: |
| + ui::PaintCache paint_cache_; |
|
James Cook
2016/08/24 17:00:32
nit: #include for this file
sky
2016/08/24 19:23:29
Done.
|
| + |
| + DISALLOW_COPY_AND_ASSIGN(CustomFrameViewMus); |
| +}; |
| + |
| +} // namespace mus |
| +} // namespace ash |
| + |
| +#endif // ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ |