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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 #include "RenderDetailsMarker.h" | 44 #include "RenderDetailsMarker.h" |
45 | 45 |
46 using namespace WTF::Unicode; | 46 using namespace WTF::Unicode; |
47 | 47 |
48 namespace WebCore { | 48 namespace WebCore { |
49 | 49 |
50 using namespace HTMLNames; | 50 using namespace HTMLNames; |
51 | 51 |
52 inline PickerIndicatorElement::PickerIndicatorElement(Document* document) | 52 inline PickerIndicatorElement::PickerIndicatorElement(Document* document) |
53 : HTMLDivElement(divTag, document) | 53 : HTMLDivElement(divTag, document) |
54 , m_chooser(nullptr) | |
55 { | 54 { |
56 setShadowPseudoId("-webkit-calendar-picker-indicator"); | 55 setShadowPseudoId("-webkit-calendar-picker-indicator"); |
57 } | 56 } |
58 | 57 |
59 PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document* docu
ment) | 58 PassRefPtr<PickerIndicatorElement> PickerIndicatorElement::create(Document* docu
ment) |
60 { | 59 { |
61 return adoptRef(new PickerIndicatorElement(document)); | 60 return adoptRef(new PickerIndicatorElement(document)); |
62 } | 61 } |
63 | 62 |
64 PickerIndicatorElement::~PickerIndicatorElement() | 63 PickerIndicatorElement::~PickerIndicatorElement() |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 169 |
171 void PickerIndicatorElement::detach() | 170 void PickerIndicatorElement::detach() |
172 { | 171 { |
173 closePopup(); | 172 closePopup(); |
174 HTMLDivElement::detach(); | 173 HTMLDivElement::detach(); |
175 } | 174 } |
176 | 175 |
177 } | 176 } |
178 | 177 |
179 #endif | 178 #endif |
OLD | NEW |