Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: Source/core/html/shadow/SliderThumbElement.h

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class SliderThumbElement FINAL : public HTMLDivElement { 47 class SliderThumbElement FINAL : public HTMLDivElement {
48 public: 48 public:
49 static PassRefPtr<SliderThumbElement> create(Document&); 49 static PassRefPtr<SliderThumbElement> create(Document&);
50 50
51 void setPositionFromValue(); 51 void setPositionFromValue();
52 52
53 void dragFrom(const LayoutPoint&); 53 void dragFrom(const LayoutPoint&);
54 virtual void defaultEventHandler(Event*); 54 virtual void defaultEventHandler(Event*);
55 virtual bool willRespondToMouseMoveEvents() OVERRIDE; 55 virtual bool willRespondToMouseMoveEvents() OVERRIDE;
56 virtual bool willRespondToMouseClickEvents() OVERRIDE; 56 virtual bool willRespondToMouseClickEvents() OVERRIDE;
57 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 57 virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR IDE;
58 virtual const AtomicString& part() const OVERRIDE; 58 virtual const AtomicString& part() const OVERRIDE;
59 HTMLInputElement* hostInput() const; 59 HTMLInputElement* hostInput() const;
60 void setPositionFromPoint(const LayoutPoint&); 60 void setPositionFromPoint(const LayoutPoint&);
61 61
62 private: 62 private:
63 SliderThumbElement(Document&); 63 SliderThumbElement(Document&);
64 virtual RenderObject* createRenderer(RenderStyle*); 64 virtual RenderObject* createRenderer(RenderStyle*);
65 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); 65 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
66 virtual bool isDisabledFormControl() const OVERRIDE; 66 virtual bool isDisabledFormControl() const OVERRIDE;
67 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; 67 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 private: 105 private:
106 SliderContainerElement(Document&); 106 SliderContainerElement(Document&);
107 virtual RenderObject* createRenderer(RenderStyle*); 107 virtual RenderObject* createRenderer(RenderStyle*);
108 virtual const AtomicString& part() const; 108 virtual const AtomicString& part() const;
109 }; 109 };
110 110
111 } 111 }
112 112
113 #endif 113 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698