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 CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ |
6 #define CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ | 6 #define CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/renderer/render_view_observer.h" | 9 #include "content/public/renderer/render_view_observer.h" |
10 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" | 10 #include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" |
11 | 11 |
12 struct ViewHostMsg_DateTimeDialogValue_Params; | |
13 | |
14 namespace blink { | 12 namespace blink { |
15 class WebDateTimeChooserCompletion; | 13 class WebDateTimeChooserCompletion; |
16 } // namespace blink | 14 } // namespace blink |
17 | 15 |
18 namespace content { | 16 namespace content { |
19 class RenderViewImpl; | 17 class RenderViewImpl; |
20 | 18 |
21 class RendererDateTimePicker : public RenderViewObserver { | 19 class RendererDateTimePicker : public RenderViewObserver { |
22 public: | 20 public: |
23 RendererDateTimePicker( | 21 RendererDateTimePicker( |
(...skipping 14 matching lines...) Expand all Loading... |
38 | 36 |
39 blink::WebDateTimeChooserParams chooser_params_; | 37 blink::WebDateTimeChooserParams chooser_params_; |
40 blink::WebDateTimeChooserCompletion* chooser_completion_; // Not owned by us | 38 blink::WebDateTimeChooserCompletion* chooser_completion_; // Not owned by us |
41 | 39 |
42 DISALLOW_COPY_AND_ASSIGN(RendererDateTimePicker); | 40 DISALLOW_COPY_AND_ASSIGN(RendererDateTimePicker); |
43 }; | 41 }; |
44 | 42 |
45 } // namespace content | 43 } // namespace content |
46 | 44 |
47 #endif // CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ | 45 #endif // CONTENT_RENDERER_ANDROID_RENDERER_DATE_TIME_PICKER_H_ |
OLD | NEW |