| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ | 5 #ifndef MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ |
| 6 #define MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ | 6 #define MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/threading/thread.h" | 10 #include "base/threading/thread.h" |
| 11 #include "cc/trees/layer_tree_host_client.h" | 11 #include "cc/trees/layer_tree_host_client.h" |
| 12 #include "mojo/public/system/core_cpp.h" | 12 #include "mojo/public/cpp/system/core.h" |
| 13 #include "ui/gfx/size.h" | 13 #include "ui/gfx/size.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 class Layer; | 16 class Layer; |
| 17 class LayerTreeHost; | 17 class LayerTreeHost; |
| 18 } // namespace cc | 18 } // namespace cc |
| 19 | 19 |
| 20 namespace mojo { | 20 namespace mojo { |
| 21 namespace examples { | 21 namespace examples { |
| 22 class GLES2ClientImpl; | 22 class GLES2ClientImpl; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 51 ScopedMessagePipeHandle gl_pipe_; | 51 ScopedMessagePipeHandle gl_pipe_; |
| 52 scoped_ptr<cc::LayerTreeHost> tree_; | 52 scoped_ptr<cc::LayerTreeHost> tree_; |
| 53 scoped_refptr<cc::Layer> child_layer_; | 53 scoped_refptr<cc::Layer> child_layer_; |
| 54 base::Thread compositor_thread_; | 54 base::Thread compositor_thread_; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace examples | 57 } // namespace examples |
| 58 } // namespace mojo | 58 } // namespace mojo |
| 59 | 59 |
| 60 #endif // MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ | 60 #endif // MOJO_EXAMPLES_COMPOSITOR_APP_COMPOSITOR_HOST_H_ |
| OLD | NEW |