OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ |
6 #define CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ | 6 #define CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/android/jni_weak_ref.h" | 12 #include "base/android/jni_weak_ref.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "ui/base/ime/text_input_type.h" | 14 #include "ui/base/ime/text_input_type.h" |
15 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 class ContentViewCore; | |
20 class RenderViewHost; | 19 class RenderViewHost; |
21 struct DateTimeSuggestion; | 20 struct DateTimeSuggestion; |
22 | 21 |
23 // Android implementation for DateTimeChooser dialogs. | 22 // Android implementation for DateTimeChooser dialogs. |
24 class DateTimeChooserAndroid { | 23 class DateTimeChooserAndroid { |
25 public: | 24 public: |
26 DateTimeChooserAndroid(); | 25 DateTimeChooserAndroid(); |
27 ~DateTimeChooserAndroid(); | 26 ~DateTimeChooserAndroid(); |
28 | 27 |
29 // DateTimeChooser implementation: | 28 // DateTimeChooser implementation: |
(...skipping 23 matching lines...) Expand all Loading... |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(DateTimeChooserAndroid); | 53 DISALLOW_COPY_AND_ASSIGN(DateTimeChooserAndroid); |
55 }; | 54 }; |
56 | 55 |
57 // Native JNI methods | 56 // Native JNI methods |
58 bool RegisterDateTimeChooserAndroid(JNIEnv* env); | 57 bool RegisterDateTimeChooserAndroid(JNIEnv* env); |
59 | 58 |
60 } // namespace content | 59 } // namespace content |
61 | 60 |
62 #endif // CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ | 61 #endif // CONTENT_BROWSER_ANDROID_DATE_TIME_CHOOSER_ANDROID_H_ |
OLD | NEW |