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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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
« no previous file with comments | « ash/mus/drag_window_resizer.h ('k') | ash/mus/frame/detached_title_area_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ 5 #ifndef ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
6 #define ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ 6 #define ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
7 7
8 #include "ash/common/frame/custom_frame_view_ash.h" 8 #include "ash/frame/custom_frame_view_ash.h"
9 #include "ui/compositor/paint_cache.h" 9 #include "ui/compositor/paint_cache.h"
10 10
11 namespace ash { 11 namespace ash {
12 namespace mus { 12 namespace mus {
13 13
14 class CustomFrameViewMus : public CustomFrameViewAsh { 14 class CustomFrameViewMus : public CustomFrameViewAsh {
15 public: 15 public:
16 CustomFrameViewMus(views::Widget* widget, 16 CustomFrameViewMus(views::Widget* widget,
17 ImmersiveFullscreenControllerDelegate* immersive_delegate, 17 ImmersiveFullscreenControllerDelegate* immersive_delegate,
18 bool enable_immersive); 18 bool enable_immersive);
19 ~CustomFrameViewMus() override; 19 ~CustomFrameViewMus() override;
20 20
21 // CustomFrameViewAsh: 21 // CustomFrameViewAsh:
22 void OnPaint(gfx::Canvas* canvas) override; 22 void OnPaint(gfx::Canvas* canvas) override;
23 void PaintChildren(const ui::PaintContext& context) override; 23 void PaintChildren(const ui::PaintContext& context) override;
24 24
25 private: 25 private:
26 ui::PaintCache paint_cache_; 26 ui::PaintCache paint_cache_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewMus); 28 DISALLOW_COPY_AND_ASSIGN(CustomFrameViewMus);
29 }; 29 };
30 30
31 } // namespace mus 31 } // namespace mus
32 } // namespace ash 32 } // namespace ash
33 33
34 #endif // ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_ 34 #endif // ASH_MUS_FRAME_CUSTOM_FRAME_VIEW_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/drag_window_resizer.h ('k') | ash/mus/frame/detached_title_area_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698