// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SKY_SHELL_SHELL_H_ #define SKY_SHELL_SHELL_H_ #include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" namespace base { class Thread; class SingleThreadTaskRunner; } namespace sky { namespace shell { class Engine; class Rasterizer; class SkyView; class Shell { public: explicit Shell(scoped_refptr java_task_runner); ~Shell(); void Init(); private: scoped_refptr java_task_runner_; scoped_ptr gpu_thread_; scoped_ptr ui_thread_; scoped_ptr view_; scoped_ptr rasterizer_; scoped_ptr engine_; DISALLOW_COPY_AND_ASSIGN(Shell); }; } // namespace shell } // namespace sky #endif // SKY_SHELL_SHELL_H_