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_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ | 5 #ifndef MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ |
6 #define MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ | 6 #define MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ |
7 | 7 |
8 #include "base/android/jni_helper.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "mojo/services/native_viewport/native_viewport.h" | 11 #include "mojo/services/native_viewport/native_viewport.h" |
12 #include "mojo/services/native_viewport/native_viewport_export.h" | 12 #include "mojo/services/native_viewport/native_viewport_export.h" |
13 #include "ui/events/event_constants.h" | 13 #include "ui/events/event_constants.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
15 #include "ui/gfx/sequential_id_generator.h" | 15 #include "ui/gfx/sequential_id_generator.h" |
16 #include "ui/gfx/size.h" | 16 #include "ui/gfx/size.h" |
17 | 17 |
18 namespace gpu { | 18 namespace gpu { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 base::WeakPtrFactory<NativeViewportAndroid> weak_factory_; | 62 base::WeakPtrFactory<NativeViewportAndroid> weak_factory_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(NativeViewportAndroid); | 64 DISALLOW_COPY_AND_ASSIGN(NativeViewportAndroid); |
65 }; | 65 }; |
66 | 66 |
67 | 67 |
68 } // namespace services | 68 } // namespace services |
69 } // namespace mojo | 69 } // namespace mojo |
70 | 70 |
71 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ | 71 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_ANDROID_H_ |
OLD | NEW |