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

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

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual void defaultEventHandler(Event*); 56 virtual void defaultEventHandler(Event*);
57 virtual bool willRespondToMouseMoveEvents() OVERRIDE; 57 virtual bool willRespondToMouseMoveEvents() OVERRIDE;
58 virtual bool willRespondToMouseClickEvents() OVERRIDE; 58 virtual bool willRespondToMouseClickEvents() OVERRIDE;
59 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 59 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
60 virtual const AtomicString& shadowPseudoId() const; 60 virtual const AtomicString& shadowPseudoId() const;
61 HTMLInputElement* hostInput() const; 61 HTMLInputElement* hostInput() const;
62 void setPositionFromPoint(const LayoutPoint&); 62 void setPositionFromPoint(const LayoutPoint&);
63 63
64 private: 64 private:
65 SliderThumbElement(Document*); 65 SliderThumbElement(Document*);
66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 66 virtual RenderObject* createRenderer(RenderStyle*);
67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); 67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
68 virtual bool isDisabledFormControl() const OVERRIDE; 68 virtual bool isDisabledFormControl() const OVERRIDE;
69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; 69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
70 virtual bool matchesReadWritePseudoClass() const OVERRIDE; 70 virtual bool matchesReadWritePseudoClass() const OVERRIDE;
71 virtual Node* focusDelegate(); 71 virtual Node* focusDelegate();
72 void startDragging(); 72 void startDragging();
73 void stopDragging(); 73 void stopDragging();
74 74
75 bool m_inDragMode; 75 bool m_inDragMode;
76 }; 76 };
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 }; 114 };
115 115
116 // -------------------------------- 116 // --------------------------------
117 117
118 class SliderContainerElement FINAL : public HTMLDivElement { 118 class SliderContainerElement FINAL : public HTMLDivElement {
119 public: 119 public:
120 static PassRefPtr<SliderContainerElement> create(Document*); 120 static PassRefPtr<SliderContainerElement> create(Document*);
121 121
122 private: 122 private:
123 SliderContainerElement(Document*); 123 SliderContainerElement(Document*);
124 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 124 virtual RenderObject* createRenderer(RenderStyle*);
125 virtual const AtomicString& shadowPseudoId() const; 125 virtual const AtomicString& shadowPseudoId() const;
126 }; 126 };
127 127
128 } 128 }
129 129
130 #endif 130 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698