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

Side by Side Diff: components/mus/example/wm/non_client_frame_controller.h

Issue 1419793006: Makes windowmanager draw non-client area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include Created 5 years, 1 month 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 2015 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 COMPONENTS_MUS_EXAMPLE_WM_NON_CLIENT_FRAME_CONTROLLER_H_
6 #define COMPONENTS_MUS_EXAMPLE_WM_NON_CLIENT_FRAME_CONTROLLER_H_
7
8 #include "base/macros.h"
9 #include "ui/views/widget/widget_delegate.h"
10
11 namespace mojo {
12 class Shell;
13 }
14
15 namespace mus {
16 class Window;
17 }
18
19 // Provides the non-client frame for mus Windows.
20 class NonClientFrameController : public views::WidgetDelegateView {
21 public:
22 // NonClientFrameController deletes itself when |window| is destroyed.
23 NonClientFrameController(mojo::Shell* shell, mus::Window* window);
24
25 private:
26 ~NonClientFrameController() override;
27
28 // views::WidgetDelegateView:
29 views::View* GetContentsView() override;
30
31 DISALLOW_COPY_AND_ASSIGN(NonClientFrameController);
32 };
33
34 #endif // COMPONENTS_MUS_EXAMPLE_WM_NON_CLIENT_FRAME_CONTROLLER_H_
OLDNEW
« no previous file with comments | « components/mus/example/wm/move_loop_unittest.cc ('k') | components/mus/example/wm/non_client_frame_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698