| 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 "config.h" | 26 #include "config.h" |
| 27 #include "core/html/shadow/ClearButtonElement.h" | 27 #include "core/html/shadow/ClearButtonElement.h" |
| 28 | 28 |
| 29 #include "core/events/MouseEvent.h" | 29 #include "core/events/MouseEvent.h" |
| 30 #include "core/frame/LocalFrame.h" | 30 #include "core/frame/LocalFrame.h" |
| 31 #include "core/html/shadow/ShadowElementNames.h" | 31 #include "core/html/shadow/ShadowElementNames.h" |
| 32 #include "core/input/EventHandler.h" |
| 32 #include "core/layout/LayoutView.h" | 33 #include "core/layout/LayoutView.h" |
| 33 #include "core/page/EventHandler.h" | |
| 34 | 34 |
| 35 namespace blink { | 35 namespace blink { |
| 36 | 36 |
| 37 using namespace HTMLNames; | 37 using namespace HTMLNames; |
| 38 | 38 |
| 39 inline ClearButtonElement::ClearButtonElement(Document& document, ClearButtonOwn
er& clearButtonOwner) | 39 inline ClearButtonElement::ClearButtonElement(Document& document, ClearButtonOwn
er& clearButtonOwner) |
| 40 : HTMLDivElement(document) | 40 : HTMLDivElement(document) |
| 41 , m_clearButtonOwner(&clearButtonOwner) | 41 , m_clearButtonOwner(&clearButtonOwner) |
| 42 { | 42 { |
| 43 } | 43 } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 return true; | 86 return true; |
| 87 } | 87 } |
| 88 | 88 |
| 89 DEFINE_TRACE(ClearButtonElement) | 89 DEFINE_TRACE(ClearButtonElement) |
| 90 { | 90 { |
| 91 visitor->trace(m_clearButtonOwner); | 91 visitor->trace(m_clearButtonOwner); |
| 92 HTMLDivElement::trace(visitor); | 92 HTMLDivElement::trace(visitor); |
| 93 } | 93 } |
| 94 | 94 |
| 95 } | 95 } |
| OLD | NEW |