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

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: fix crash Created 4 years, 3 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
10 namespace ash {
11 namespace mus {
12
13 class CustomFrameViewMus : public CustomFrameViewAsh {
14 public:
15 CustomFrameViewMus(views::Widget* widget,
16 ImmersiveFullscreenControllerDelegate* immersive_delegate,
17 bool enable_immersive);
18 ~CustomFrameViewMus() override;
19
20 // CustomFrameViewAsh:
21 void OnPaint(gfx::Canvas* canvas) override;
22 void PaintChildren(const ui::PaintContext& context) override;
23
24 private:
25 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.
26
27 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewMus);
28 };
29
30 } // namespace mus
31 } // namespace ash
32
33 #endif // ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698