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 UI_BASE_ANDROID_WINDOW_ANDROID_H_ | 5 #ifndef UI_BASE_ANDROID_WINDOW_ANDROID_H_ |
6 #define UI_BASE_ANDROID_WINDOW_ANDROID_H_ | 6 #define UI_BASE_ANDROID_WINDOW_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <vector> | 9 #include <vector> |
10 | |
11 #include "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
12 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
13 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
14 #include "base/time/time.h" | 13 #include "base/time/time.h" |
15 #include "ui/base/ui_base_export.h" | 14 #include "ui/base/ui_base_export.h" |
16 #include "ui/gfx/geometry/vector2d_f.h" | 15 #include "ui/gfx/vector2d_f.h" |
17 | 16 |
18 namespace ui { | 17 namespace ui { |
19 | 18 |
20 class WindowAndroidCompositor; | 19 class WindowAndroidCompositor; |
21 class WindowAndroidObserver; | 20 class WindowAndroidObserver; |
22 | 21 |
23 // Android implementation of the activity window. | 22 // Android implementation of the activity window. |
24 class UI_BASE_EXPORT WindowAndroid { | 23 class UI_BASE_EXPORT WindowAndroid { |
25 public: | 24 public: |
26 WindowAndroid(JNIEnv* env, jobject obj); | 25 WindowAndroid(JNIEnv* env, jobject obj); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 WindowAndroidCompositor* compositor_; | 67 WindowAndroidCompositor* compositor_; |
69 | 68 |
70 ObserverList<WindowAndroidObserver> observer_list_; | 69 ObserverList<WindowAndroidObserver> observer_list_; |
71 | 70 |
72 DISALLOW_COPY_AND_ASSIGN(WindowAndroid); | 71 DISALLOW_COPY_AND_ASSIGN(WindowAndroid); |
73 }; | 72 }; |
74 | 73 |
75 } // namespace ui | 74 } // namespace ui |
76 | 75 |
77 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_H_ | 76 #endif // UI_BASE_ANDROID_WINDOW_ANDROID_H_ |
OLD | NEW |