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

Side by Side Diff: Source/core/html/InputType.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class Event; 52 class Event;
53 class FileList; 53 class FileList;
54 class FormDataList; 54 class FormDataList;
55 class HTMLElement; 55 class HTMLElement;
56 class HTMLFormElement; 56 class HTMLFormElement;
57 class HTMLInputElement; 57 class HTMLInputElement;
58 class Icon; 58 class Icon;
59 class KeyboardEvent; 59 class KeyboardEvent;
60 class MouseEvent; 60 class MouseEvent;
61 class Node; 61 class Node;
62 class RenderArena;
63 class RenderObject; 62 class RenderObject;
64 class RenderStyle; 63 class RenderStyle;
65 class TouchEvent; 64 class TouchEvent;
66 65
67 typedef int ExceptionCode; 66 typedef int ExceptionCode;
68 67
69 struct ClickHandlingState { 68 struct ClickHandlingState {
70 WTF_MAKE_FAST_ALLOCATED; 69 WTF_MAKE_FAST_ALLOCATED;
71 70
72 public: 71 public:
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 #if ENABLE(INPUT_SPEECH) 222 #if ENABLE(INPUT_SPEECH)
224 virtual HTMLElement* speechButtonElement() const { return 0; } 223 virtual HTMLElement* speechButtonElement() const { return 0; }
225 #endif 224 #endif
226 virtual HTMLElement* sliderThumbElement() const { return 0; } 225 virtual HTMLElement* sliderThumbElement() const { return 0; }
227 virtual HTMLElement* sliderTrackElement() const { return 0; } 226 virtual HTMLElement* sliderTrackElement() const { return 0; }
228 virtual HTMLElement* placeholderElement() const; 227 virtual HTMLElement* placeholderElement() const;
229 228
230 // Miscellaneous functions 229 // Miscellaneous functions
231 230
232 virtual bool rendererIsNeeded(); 231 virtual bool rendererIsNeeded();
233 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const; 232 virtual RenderObject* createRenderer(RenderStyle*) const;
234 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>); 233 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>);
235 virtual void attach(); 234 virtual void attach();
236 virtual void detach(); 235 virtual void detach();
237 virtual void minOrMaxAttributeChanged(); 236 virtual void minOrMaxAttributeChanged();
238 virtual void stepAttributeChanged(); 237 virtual void stepAttributeChanged();
239 virtual void altAttributeChanged(); 238 virtual void altAttributeChanged();
240 virtual void srcAttributeChanged(); 239 virtual void srcAttributeChanged();
241 virtual bool shouldRespectAlignAttribute(); 240 virtual bool shouldRespectAlignAttribute();
242 virtual FileList* files(); 241 virtual FileList* files();
243 virtual void setFiles(PassRefPtr<FileList>); 242 virtual void setFiles(PassRefPtr<FileList>);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 private: 310 private:
312 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue. 311 // Helper for stepUp()/stepDown(). Adds step value * count to the current va lue.
313 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&); 312 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception Code&);
314 313
315 // Raw pointer because the HTMLInputElement object owns this InputType objec t. 314 // Raw pointer because the HTMLInputElement object owns this InputType objec t.
316 HTMLInputElement* m_element; 315 HTMLInputElement* m_element;
317 }; 316 };
318 317
319 } // namespace WebCore 318 } // namespace WebCore
320 #endif 319 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698