OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ | 5 #ifndef COMPONENTS_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ |
6 #define COMPONENTS_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ | 6 #define COMPONENTS_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "components/gpu/public/interfaces/gpu.mojom.h" |
12 #include "components/native_viewport/onscreen_context_provider.h" | 13 #include "components/native_viewport/onscreen_context_provider.h" |
13 #include "components/native_viewport/platform_viewport.h" | 14 #include "components/native_viewport/platform_viewport.h" |
| 15 #include "components/native_viewport/public/interfaces/native_viewport.mojom.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
15 #include "third_party/mojo_services/src/gpu/public/interfaces/gpu.mojom.h" | |
16 #include "third_party/mojo_services/src/native_viewport/public/interfaces/native
_viewport.mojom.h" | |
17 #include "ui/gfx/geometry/rect.h" | 17 #include "ui/gfx/geometry/rect.h" |
18 | 18 |
19 namespace gles2 { | 19 namespace gles2 { |
20 class GpuState; | 20 class GpuState; |
21 } | 21 } |
22 | 22 |
23 namespace ui { | 23 namespace ui { |
24 class Event; | 24 class Event; |
25 } | 25 } |
26 | 26 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 std::set<int32> pointers_waiting_on_ack_; | 81 std::set<int32> pointers_waiting_on_ack_; |
82 | 82 |
83 base::WeakPtrFactory<NativeViewportImpl> weak_factory_; | 83 base::WeakPtrFactory<NativeViewportImpl> weak_factory_; |
84 | 84 |
85 DISALLOW_COPY_AND_ASSIGN(NativeViewportImpl); | 85 DISALLOW_COPY_AND_ASSIGN(NativeViewportImpl); |
86 }; | 86 }; |
87 | 87 |
88 } // namespace native_viewport | 88 } // namespace native_viewport |
89 | 89 |
90 #endif // COMPONENTS_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ | 90 #endif // COMPONENTS_NATIVE_VIEWPORT_NATIVE_VIEWPORT_IMPL_H_ |
OLD | NEW |