| 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 20 matching lines...) Expand all Loading... |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 32 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 33 #include "DateTimeChooserImpl.h" | 33 #include "DateTimeChooserImpl.h" |
| 34 | 34 |
| 35 #include "CalendarPicker.h" | 35 #include "CalendarPicker.h" |
| 36 #include "ChromeClientImpl.h" | 36 #include "ChromeClientImpl.h" |
| 37 #include "PickerCommon.h" | 37 #include "PickerCommon.h" |
| 38 #include "WebViewImpl.h" | 38 #include "WebViewImpl.h" |
| 39 #include "core/html/forms/InputTypeNames.h" | 39 #include "core/html/forms/InputTypeNames.h" |
| 40 #include "core/page/FrameView.h" | 40 #include "core/page/FrameView.h" |
| 41 #include "core/platform/DateTimeChooserClient.h" |
| 42 #include "core/rendering/RenderTheme.h" |
| 41 #include "platform/DateComponents.h" | 43 #include "platform/DateComponents.h" |
| 42 #include "core/platform/DateTimeChooserClient.h" | |
| 43 #include "platform/Language.h" | 44 #include "platform/Language.h" |
| 44 #include "platform/NotImplemented.h" | 45 #include "platform/NotImplemented.h" |
| 45 #include "core/platform/text/PlatformLocale.h" | 46 #include "platform/text/PlatformLocale.h" |
| 46 #include "core/rendering/RenderTheme.h" | |
| 47 #include "public/platform/Platform.h" | 47 #include "public/platform/Platform.h" |
| 48 #include "public/platform/WebLocalizedString.h" | 48 #include "public/platform/WebLocalizedString.h" |
| 49 | 49 |
| 50 #if !ENABLE(CALENDAR_PICKER) | 50 #if !ENABLE(CALENDAR_PICKER) |
| 51 #error "ENABLE_INPUT_MULTIPLE_FIELDS_UI requires ENABLE_CALENDAR_PICKER in Chrom
ium." | 51 #error "ENABLE_INPUT_MULTIPLE_FIELDS_UI requires ENABLE_CALENDAR_PICKER in Chrom
ium." |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 using namespace WebCore; | 54 using namespace WebCore; |
| 55 | 55 |
| 56 namespace WebKit { | 56 namespace WebKit { |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 void DateTimeChooserImpl::didClosePopup() | 186 void DateTimeChooserImpl::didClosePopup() |
| 187 { | 187 { |
| 188 ASSERT(m_client); | 188 ASSERT(m_client); |
| 189 m_popup = 0; | 189 m_popup = 0; |
| 190 m_client->didEndChooser(); | 190 m_client->didEndChooser(); |
| 191 } | 191 } |
| 192 | 192 |
| 193 } // namespace WebKit | 193 } // namespace WebKit |
| 194 | 194 |
| 195 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 195 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| OLD | NEW |