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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698