| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 // DateTimeChooser functions: | 49 // DateTimeChooser functions: |
| 50 virtual void endChooser() override; | 50 virtual void endChooser() override; |
| 51 virtual AXObject* rootAXObject() override; | 51 virtual AXObject* rootAXObject() override; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 DateTimeChooserImpl(ChromeClientImpl*, DateTimeChooserClient*, const DateTim
eChooserParameters&); | 54 DateTimeChooserImpl(ChromeClientImpl*, DateTimeChooserClient*, const DateTim
eChooserParameters&); |
| 55 // PagePopupClient functions: | 55 // PagePopupClient functions: |
| 56 virtual IntSize contentSize() override; | 56 virtual IntSize contentSize() override; |
| 57 virtual void writeDocument(SharedBuffer*) override; | 57 virtual void writeDocument(SharedBuffer*) override; |
| 58 virtual void didWriteDocument(Document*) override { } |
| 58 virtual Locale& locale() override; | 59 virtual Locale& locale() override; |
| 59 virtual void setValueAndClosePopup(int, const String&) override; | 60 virtual void setValueAndClosePopup(int, const String&) override; |
| 60 virtual void setValue(const String&) override; | 61 virtual void setValue(const String&) override; |
| 61 virtual void closePopup() override; | 62 virtual void closePopup() override; |
| 62 virtual Element& ownerElement() override; | 63 virtual Element& ownerElement() override; |
| 63 virtual void didClosePopup() override; | 64 virtual void didClosePopup() override; |
| 64 | 65 |
| 65 ChromeClientImpl* m_chromeClient; | 66 ChromeClientImpl* m_chromeClient; |
| 66 DateTimeChooserClient* m_client; | 67 DateTimeChooserClient* m_client; |
| 67 PagePopup* m_popup; | 68 PagePopup* m_popup; |
| 68 DateTimeChooserParameters m_parameters; | 69 DateTimeChooserParameters m_parameters; |
| 69 OwnPtr<Locale> m_locale; | 70 OwnPtr<Locale> m_locale; |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } | 73 } |
| 73 | 74 |
| 74 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 75 #endif // ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 75 | 76 |
| 76 #endif // DateTimeChooserImpl_h | 77 #endif // DateTimeChooserImpl_h |
| OLD | NEW |