| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 { | 74 { |
| 75 return create(document()); | 75 return create(document()); |
| 76 } | 76 } |
| 77 | 77 |
| 78 // FIXME: There are no ways to check if a node is a SliderThumbElement. | 78 // FIXME: There are no ways to check if a node is a SliderThumbElement. |
| 79 DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement()); | 79 DEFINE_ELEMENT_TYPE_CASTS(SliderThumbElement, isHTMLElement()); |
| 80 | 80 |
| 81 class SliderContainerElement final : public HTMLDivElement { | 81 class SliderContainerElement final : public HTMLDivElement { |
| 82 public: | 82 public: |
| 83 DECLARE_NODE_FACTORY(SliderContainerElement); | 83 DECLARE_NODE_FACTORY(SliderContainerElement); |
| 84 void defaultEventHandler(Event*) override; |
| 85 void handleTouchEvent(TouchEvent*); |
| 84 | 86 |
| 85 private: | 87 private: |
| 86 explicit SliderContainerElement(Document&); | 88 explicit SliderContainerElement(Document&); |
| 87 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 89 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
| 88 const AtomicString& shadowPseudoId() const override; | 90 const AtomicString& shadowPseudoId() const override; |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 } // namespace blink | 93 } // namespace blink |
| 92 | 94 |
| 93 #endif | 95 #endif |
| OLD | NEW |