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

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

Issue 267283007: Oilpan: Prepare to move form control ua shadow elements to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 28 matching lines...) Expand all
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 class HTMLElement; 42 class HTMLElement;
43 class HTMLInputElement; 43 class HTMLInputElement;
44 class Event; 44 class Event;
45 class FloatPoint; 45 class FloatPoint;
46 46
47 class SliderThumbElement FINAL : public HTMLDivElement { 47 class SliderThumbElement FINAL : public HTMLDivElement {
48 public: 48 public:
49 static PassRefPtr<SliderThumbElement> create(Document&); 49 static PassRefPtrWillBeRawPtr<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*) OVERRIDE; 54 virtual void defaultEventHandler(Event*) OVERRIDE;
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 detach(const AttachContext& = AttachContext()) OVERRIDE;
58 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 58 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
59 HTMLInputElement* hostInput() const; 59 HTMLInputElement* hostInput() const;
(...skipping 29 matching lines...) Expand all
89 void updateAppearance(RenderStyle* parentStyle); 89 void updateAppearance(RenderStyle* parentStyle);
90 90
91 private: 91 private:
92 virtual bool isSliderThumb() const OVERRIDE; 92 virtual bool isSliderThumb() const OVERRIDE;
93 }; 93 };
94 94
95 // -------------------------------- 95 // --------------------------------
96 96
97 class SliderContainerElement FINAL : public HTMLDivElement { 97 class SliderContainerElement FINAL : public HTMLDivElement {
98 public: 98 public:
99 static PassRefPtr<SliderContainerElement> create(Document&); 99 static PassRefPtrWillBeRawPtr<SliderContainerElement> create(Document&);
100 100
101 private: 101 private:
102 SliderContainerElement(Document&); 102 SliderContainerElement(Document&);
103 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 103 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
104 virtual const AtomicString& shadowPseudoId() const OVERRIDE; 104 virtual const AtomicString& shadowPseudoId() const OVERRIDE;
105 }; 105 };
106 106
107 } 107 }
108 108
109 #endif 109 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698