OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
23 * SUCH DAMAGE. | 23 * SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #include "core/html/shadow/ClearButtonElement.h" | 26 #include "core/html/shadow/ClearButtonElement.h" |
27 | 27 |
28 #include "core/events/MouseEvent.h" | 28 #include "core/events/MouseEvent.h" |
29 #include "core/frame/LocalFrame.h" | 29 #include "core/frame/LocalFrame.h" |
30 #include "core/html/shadow/ShadowElementNames.h" | 30 #include "core/html/shadow/ShadowElementNames.h" |
31 #include "core/input/EventHandler.h" | 31 #include "core/input/EventHandler.h" |
32 #include "core/layout/LayoutView.h" | 32 #include "core/layout/LayoutObject.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 using namespace HTMLNames; | 36 using namespace HTMLNames; |
37 | 37 |
38 inline ClearButtonElement::ClearButtonElement(Document& document, ClearButtonOwn
er& clearButtonOwner) | 38 inline ClearButtonElement::ClearButtonElement(Document& document, ClearButtonOwn
er& clearButtonOwner) |
39 : HTMLDivElement(document) | 39 : HTMLDivElement(document) |
40 , m_clearButtonOwner(&clearButtonOwner) | 40 , m_clearButtonOwner(&clearButtonOwner) |
41 { | 41 { |
42 } | 42 } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 return true; | 85 return true; |
86 } | 86 } |
87 | 87 |
88 DEFINE_TRACE(ClearButtonElement) | 88 DEFINE_TRACE(ClearButtonElement) |
89 { | 89 { |
90 visitor->trace(m_clearButtonOwner); | 90 visitor->trace(m_clearButtonOwner); |
91 HTMLDivElement::trace(visitor); | 91 HTMLDivElement::trace(visitor); |
92 } | 92 } |
93 | 93 |
94 } // namespace blink | 94 } // namespace blink |
OLD | NEW |