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

Side by Side Diff: sky/shell/shell_view.h

Issue 1187503003: Refactor SkyShell to allow multiple SkyViews (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: s/instance/sky_shell/ Created 5 years, 6 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 | « sky/shell/shell.cc ('k') | sky/shell/shell_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SKY_SHELL_SHELL_VIEW_H_
6 #define SKY_SHELL_SHELL_VIEW_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace sky {
12 namespace shell {
13 class Engine;
14 class PlatformView;
15 class Rasterizer;
16 class Shell;
17
18 class ShellView {
19 public:
20 explicit ShellView(Shell& shell);
21 ~ShellView();
22
23 PlatformView* view() const { return view_.get(); }
24
25 private:
26 void CreateEngine();
27 void CreatePlatformView();
28
29 Shell& shell_;
30 scoped_ptr<PlatformView> view_;
31 scoped_ptr<Rasterizer> rasterizer_;
32 scoped_ptr<Engine> engine_;
33
34 DISALLOW_COPY_AND_ASSIGN(ShellView);
35 };
36
37 } // namespace shell
38 } // namespace sky
39
40 #endif // SKY_SHELL_SHELL_VIEW_H_
OLDNEW
« no previous file with comments | « sky/shell/shell.cc ('k') | sky/shell/shell_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698