OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 14 matching lines...) Expand all Loading... |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 32 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
33 #include "web/DateTimeChooserImpl.h" | 33 #include "web/DateTimeChooserImpl.h" |
34 | 34 |
35 #include "CalendarPicker.h" | |
36 #include "PickerCommon.h" | |
37 #include "core/InputTypeNames.h" | 35 #include "core/InputTypeNames.h" |
38 #include "core/frame/FrameView.h" | 36 #include "core/frame/FrameView.h" |
39 #include "core/rendering/RenderTheme.h" | 37 #include "core/rendering/RenderTheme.h" |
40 #include "platform/DateComponents.h" | 38 #include "platform/DateComponents.h" |
41 #include "platform/DateTimeChooserClient.h" | 39 #include "platform/DateTimeChooserClient.h" |
42 #include "platform/Language.h" | 40 #include "platform/Language.h" |
43 #include "platform/text/PlatformLocale.h" | 41 #include "platform/text/PlatformLocale.h" |
| 42 #include "web/CalendarPicker.h" |
44 #include "web/ChromeClientImpl.h" | 43 #include "web/ChromeClientImpl.h" |
| 44 #include "web/PickerCommon.h" |
45 #include "web/WebViewImpl.h" | 45 #include "web/WebViewImpl.h" |
46 | 46 |
47 using namespace WebCore; | 47 using namespace WebCore; |
48 | 48 |
49 namespace blink { | 49 namespace blink { |
50 | 50 |
51 DateTimeChooserImpl::DateTimeChooserImpl(ChromeClientImpl* chromeClient, WebCore
::DateTimeChooserClient* client, const WebCore::DateTimeChooserParameters& param
eters) | 51 DateTimeChooserImpl::DateTimeChooserImpl(ChromeClientImpl* chromeClient, WebCore
::DateTimeChooserClient* client, const WebCore::DateTimeChooserParameters& param
eters) |
52 : m_chromeClient(chromeClient) | 52 : m_chromeClient(chromeClient) |
53 , m_client(client) | 53 , m_client(client) |
54 , m_popup(0) | 54 , m_popup(0) |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 void DateTimeChooserImpl::trace(Visitor* visitor) | 200 void DateTimeChooserImpl::trace(Visitor* visitor) |
201 { | 201 { |
202 visitor->trace(m_client); | 202 visitor->trace(m_client); |
203 DateTimeChooser::trace(visitor); | 203 DateTimeChooser::trace(visitor); |
204 } | 204 } |
205 | 205 |
206 } // namespace blink | 206 } // namespace blink |
207 | 207 |
208 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 208 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
OLD | NEW |