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

Side by Side Diff: components/mus/demo/mus_demo.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 | « components/mus/demo/main.cc ('k') | components/mus/gles2/BUILD.gn » ('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 COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 5 #ifndef COMPONENTS_MUS_DEMO_MUS_DEMO_H_
6 #define COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 6 #define COMPONENTS_MUS_DEMO_MUS_DEMO_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "components/mus/public/cpp/window.h" 16 #include "components/mus/public/cpp/window.h"
17 #include "components/mus/public/cpp/window_manager_delegate.h" 17 #include "components/mus/public/cpp/window_manager_delegate.h"
18 #include "components/mus/public/cpp/window_tree_delegate.h" 18 #include "components/mus/public/cpp/window_tree_delegate.h"
19 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 19 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
20 #include "mojo/public/cpp/bindings/binding_set.h" 20 #include "mojo/public/cpp/bindings/binding_set.h"
21 #include "mojo/shell/public/cpp/connector.h" 21 #include "services/shell/public/cpp/connector.h"
22 #include "mojo/shell/public/cpp/shell_client.h" 22 #include "services/shell/public/cpp/shell_client.h"
23 #include "third_party/skia/include/core/SkBitmap.h" 23 #include "third_party/skia/include/core/SkBitmap.h"
24 24
25 namespace bitmap_uploader { 25 namespace bitmap_uploader {
26 class BitmapUploader; 26 class BitmapUploader;
27 } 27 }
28 28
29 namespace mus_demo { 29 namespace mus_demo {
30 30
31 // A simple MUS Demo mojo app. This app connects to the mojo:mus, creates a new 31 // A simple MUS Demo mojo app. This app connects to the mojo:mus, creates a new
32 // window and draws a spinning square in the center of the window. Provides a 32 // window and draws a spinning square in the center of the window. Provides a
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Current rotation angle for drawing. 83 // Current rotation angle for drawing.
84 double angle_ = 0.0; 84 double angle_ = 0.0;
85 85
86 DISALLOW_COPY_AND_ASSIGN(MusDemo); 86 DISALLOW_COPY_AND_ASSIGN(MusDemo);
87 }; 87 };
88 88
89 } // namespace mus_demo 89 } // namespace mus_demo
90 90
91 #endif // COMPONENTS_MUS_DEMO_MUS_DEMO_H_ 91 #endif // COMPONENTS_MUS_DEMO_MUS_DEMO_H_
OLDNEW
« no previous file with comments | « components/mus/demo/main.cc ('k') | components/mus/gles2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698