OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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_HTML_VIEWER_GLOBAL_STATE_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_GLOBAL_STATE_H_ |
6 #define COMPONENTS_HTML_VIEWER_GLOBAL_STATE_H_ | 6 #define COMPONENTS_HTML_VIEWER_GLOBAL_STATE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.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 "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "components/html_viewer/blink_settings.h" | 12 #include "components/html_viewer/blink_settings.h" |
13 #include "components/html_viewer/discardable_memory_allocator.h" | 13 #include "components/html_viewer/discardable_memory_allocator.h" |
14 #include "components/mus/gles2/mojo_gpu_memory_buffer_manager.h" | 14 #include "components/mus/gles2/mojo_gpu_memory_buffer_manager.h" |
15 #include "components/mus/gles2/raster_thread_helper.h" | 15 #include "components/mus/gles2/raster_thread_helper.h" |
16 #include "components/mus/public/interfaces/gpu.mojom.h" | 16 #include "components/mus/public/interfaces/gpu.mojom.h" |
17 #include "components/resource_provider/public/cpp/resource_loader.h" | 17 #include "components/resource_provider/public/cpp/resource_loader.h" |
18 #include "mojo/services/tracing/public/cpp/tracing_impl.h" | 18 #include "mojo/services/tracing/public/cpp/tracing_impl.h" |
19 #include "skia/ext/refptr.h" | 19 #include "skia/ext/refptr.h" |
20 #include "ui/gfx/geometry/size.h" | 20 #include "ui/gfx/geometry/size.h" |
21 | 21 |
22 namespace font_service { | 22 namespace font_service { |
23 class FontLoader; | 23 class FontLoader; |
24 } | 24 } |
25 | 25 |
26 namespace mojo { | 26 namespace mojo { |
27 class ApplicationImpl; | 27 class ApplicationImpl; |
| 28 namespace shell { |
| 29 namespace mojom { |
28 class Shell; | 30 class Shell; |
29 } | 31 } |
| 32 } |
| 33 } |
30 | 34 |
31 namespace ui { | 35 namespace ui { |
32 namespace mojo { | 36 namespace mojo { |
33 class UIInit; | 37 class UIInit; |
34 } | 38 } |
35 } | 39 } |
36 | 40 |
37 namespace scheduler { | 41 namespace scheduler { |
38 class RendererScheduler; | 42 class RendererScheduler; |
39 } | 43 } |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 #if defined(OS_LINUX) && !defined(OS_ANDROID) | 139 #if defined(OS_LINUX) && !defined(OS_ANDROID) |
136 skia::RefPtr<font_service::FontLoader> font_loader_; | 140 skia::RefPtr<font_service::FontLoader> font_loader_; |
137 #endif | 141 #endif |
138 | 142 |
139 DISALLOW_COPY_AND_ASSIGN(GlobalState); | 143 DISALLOW_COPY_AND_ASSIGN(GlobalState); |
140 }; | 144 }; |
141 | 145 |
142 } // namespace html_viewer | 146 } // namespace html_viewer |
143 | 147 |
144 #endif // COMPONENTS_HTML_VIEWER_GLOBAL_STATE_H_ | 148 #endif // COMPONENTS_HTML_VIEWER_GLOBAL_STATE_H_ |
OLD | NEW |