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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 private: | 72 private: |
73 PickerIndicatorElement(Document&, PickerIndicatorOwner&); | 73 PickerIndicatorElement(Document&, PickerIndicatorOwner&); |
74 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 74 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
75 virtual void defaultEventHandler(Event*) OVERRIDE; | 75 virtual void defaultEventHandler(Event*) OVERRIDE; |
76 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 76 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
77 virtual bool isPickerIndicatorElement() const OVERRIDE; | 77 virtual bool isPickerIndicatorElement() const OVERRIDE; |
78 | 78 |
79 HTMLInputElement* hostInput(); | 79 HTMLInputElement* hostInput(); |
80 | 80 |
81 RawPtrWillBeMember<PickerIndicatorOwner> m_pickerIndicatorOwner; | 81 RawPtrWillBeMember<PickerIndicatorOwner> m_pickerIndicatorOwner; |
82 RefPtr<DateTimeChooser> m_chooser; | 82 RefPtrWillBeMember<DateTimeChooser> m_chooser; |
83 }; | 83 }; |
84 | 84 |
85 DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerInd
icatorElement(), element.isPickerIndicatorElement()); | 85 DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerInd
icatorElement(), element.isPickerIndicatorElement()); |
86 | 86 |
87 } | 87 } |
88 #endif | 88 #endif |
89 #endif | 89 #endif |
OLD | NEW |