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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual bool matchesReadWritePseudoClass() const OVERRIDE; | 68 virtual bool matchesReadWritePseudoClass() const OVERRIDE; |
69 virtual Node* focusDelegate(); | 69 virtual Node* focusDelegate(); |
70 void startDragging(); | 70 void startDragging(); |
71 void stopDragging(); | 71 void stopDragging(); |
72 | 72 |
73 bool m_inDragMode; | 73 bool m_inDragMode; |
74 }; | 74 }; |
75 | 75 |
76 inline PassRefPtr<Element> SliderThumbElement::cloneElementWithoutAttributesAndC
hildren() | 76 inline PassRefPtr<Element> SliderThumbElement::cloneElementWithoutAttributesAndC
hildren() |
77 { | 77 { |
78 return create(document()); | 78 return create(&document()); |
79 } | 79 } |
80 | 80 |
81 inline SliderThumbElement* toSliderThumbElement(Node* node) | 81 inline SliderThumbElement* toSliderThumbElement(Node* node) |
82 { | 82 { |
83 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isHTMLElement()); | 83 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isHTMLElement()); |
84 return static_cast<SliderThumbElement*>(node); | 84 return static_cast<SliderThumbElement*>(node); |
85 } | 85 } |
86 | 86 |
87 // -------------------------------- | 87 // -------------------------------- |
88 | 88 |
(...skipping 14 matching lines...) Expand all Loading... |
103 | 103 |
104 private: | 104 private: |
105 SliderContainerElement(Document*); | 105 SliderContainerElement(Document*); |
106 virtual RenderObject* createRenderer(RenderStyle*); | 106 virtual RenderObject* createRenderer(RenderStyle*); |
107 virtual const AtomicString& part() const; | 107 virtual const AtomicString& part() const; |
108 }; | 108 }; |
109 | 109 |
110 } | 110 } |
111 | 111 |
112 #endif | 112 #endif |
OLD | NEW |