OLD | NEW |
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 COMPONENTS_MUS_DEMO_MUS_DEMO_H_ | 5 #ifndef SERVICES_UI_DEMO_MUS_DEMO_H_ |
6 #define COMPONENTS_MUS_DEMO_MUS_DEMO_H_ | 6 #define SERVICES_UI_DEMO_MUS_DEMO_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
16 #include "components/mus/public/cpp/window_manager_delegate.h" | |
17 #include "components/mus/public/cpp/window_tree_client_delegate.h" | |
18 #include "services/shell/public/cpp/shell_client.h" | 16 #include "services/shell/public/cpp/shell_client.h" |
| 17 #include "services/ui/public/cpp/window_manager_delegate.h" |
| 18 #include "services/ui/public/cpp/window_tree_client_delegate.h" |
19 #include "third_party/skia/include/core/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
20 | 20 |
21 namespace bitmap_uploader { | 21 namespace bitmap_uploader { |
22 class BitmapUploader; | 22 class BitmapUploader; |
23 } | 23 } |
24 | 24 |
25 namespace mus_demo { | 25 namespace mus_demo { |
26 | 26 |
27 // A simple MUS Demo mojo app. This app connects to the mojo:mus, creates a new | 27 // A simple MUS Demo mojo app. This app connects to the mojo:mus, creates a new |
28 // window and draws a spinning square in the center of the window. Provides a | 28 // window and draws a spinning square in the center of the window. Provides a |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 base::RepeatingTimer timer_; | 82 base::RepeatingTimer timer_; |
83 | 83 |
84 // Current rotation angle for drawing. | 84 // Current rotation angle for drawing. |
85 double angle_ = 0.0; | 85 double angle_ = 0.0; |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(MusDemo); | 87 DISALLOW_COPY_AND_ASSIGN(MusDemo); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace mus_demo | 90 } // namespace mus_demo |
91 | 91 |
92 #endif // COMPONENTS_MUS_DEMO_MUS_DEMO_H_ | 92 #endif // SERVICES_UI_DEMO_MUS_DEMO_H_ |
OLD | NEW |