Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: ash/mus/frame/custom_frame_view_mus.h

Issue 2277563002: Wires up immersive mode for chrome and mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
6 #define ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
7
8 #include "ash/common/frame/custom_frame_view_ash.h"
9 #include "ui/compositor/paint_cache.h"
10
11 namespace ash {
12 namespace mus {
13
14 class CustomFrameViewMus : public CustomFrameViewAsh {
15 public:
16 CustomFrameViewMus(views::Widget* widget,
17 ImmersiveFullscreenControllerDelegate* immersive_delegate,
18 bool enable_immersive);
19 ~CustomFrameViewMus() override;
20
21 // CustomFrameViewAsh:
22 void OnPaint(gfx::Canvas* canvas) override;
23 void PaintChildren(const ui::PaintContext& context) override;
24
25 private:
26 ui::PaintCache paint_cache_;
27
28 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewMus);
29 };
30
31 } // namespace mus
32 } // namespace ash
33
34 #endif // ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698