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

Side by Side Diff: Source/core/html/HTMLPlugInImageElement.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) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 static void updateWidgetCallback(Node*); 91 static void updateWidgetCallback(Node*);
92 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 92 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
93 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 93 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
94 94
95 bool allowedToLoadFrameURL(const String& url); 95 bool allowedToLoadFrameURL(const String& url);
96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType) ; 96 bool wouldLoadAsNetscapePlugin(const String& url, const String& serviceType) ;
97 97
98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; 98 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE;
99 99
100 private: 100 private:
101 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 101 virtual RenderObject* createRenderer(RenderStyle*);
102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL; 102 virtual void willRecalcStyle(StyleChange) OVERRIDE FINAL;
103 103
104 virtual void finishParsingChildren(); 104 virtual void finishParsingChildren();
105 105
106 void updateWidgetIfNecessary(); 106 void updateWidgetIfNecessary();
107 107
108 void swapRendererTimerFired(Timer<HTMLPlugInImageElement>*); 108 void swapRendererTimerFired(Timer<HTMLPlugInImageElement>*);
109 109
110 void restartSimilarPlugIns(); 110 void restartSimilarPlugIns();
111 111
(...skipping 19 matching lines...) Expand all
131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement()); 131 ASSERT_WITH_SECURITY_IMPLICATION(plugInElement->isPlugInImageElement());
132 return static_cast<const HTMLPlugInImageElement*>(plugInElement); 132 return static_cast<const HTMLPlugInImageElement*>(plugInElement);
133 } 133 }
134 134
135 // This will catch anyone doing an unnecessary cast. 135 // This will catch anyone doing an unnecessary cast.
136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*); 136 void toHTMLPlugInImageElement(const HTMLPlugInImageElement*);
137 137
138 } // namespace WebCore 138 } // namespace WebCore
139 139
140 #endif // HTMLPlugInImageElement_h 140 #endif // HTMLPlugInImageElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698