Rename resolve-supplemental.pl to preprocess-idls.pl
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2012-02-27  Kentaro Hara  <haraken@chromium.org>
2
3         Rename resolve-supplemental.pl to preprocess-idls.pl
4         https://bugs.webkit.org/show_bug.cgi?id=79660
5
6         Reviewed by Adam Barth.
7
8         Due to r108322, resolve-supplemental.pl not only resolves supplemental
9         dependencies but also runs IDL attribute checker. For clarification,
10         this patch renames resolve-supplemental.pl to preprocess-idls.pl.
11
12         No tests. Confirm that all builds pass.
13
14         * DerivedSources.make:
15         * DerivedSources.pri:
16         * GNUmakefile.am:
17         * UseJSC.cmake:
18         * UseV8.cmake:
19         * WebCore.gyp/WebCore.gyp:
20         * WebCore.vcproj/MigrateScripts:
21         * WebCore.vcproj/WebCore.vcproj:
22         * WebCore.xcodeproj/project.pbxproj:
23         * bindings/scripts/preprocess-idls.pl: Renamed from Source/WebCore/bindings/scripts/resolve-supplemental.pl.
24
25 2012-02-27  Kentaro Hara  <haraken@chromium.org>
26
27         [JSC] Add [ConstructorParameters=] to all custom constructors
28         https://bugs.webkit.org/show_bug.cgi?id=78221
29
30         Reviewed by Adam Barth.
31
32         This patch adds [ConstructorParameters=X] to IDL files that have
33         custom constructors, where X is the maximum number of arguments
34         of the constructor. [ConstructorParameters=X] is needed for custom
35         constructors, because custom constructors do not have a signature
36         in IDL files and thus CodeGeneratorJS.pm cannot know the number of
37         constructor arguments.
38
39         Test: fast/js/constructor-length.html
40
41         * dom/WebKitMutationObserver.idl:
42         * html/DOMFormData.idl:
43         * html/canvas/ArrayBuffer.idl:
44         * html/canvas/DataView.idl:
45         * html/canvas/Float32Array.idl:
46         * html/canvas/Float64Array.idl:
47         * html/canvas/Int16Array.idl:
48         * html/canvas/Int32Array.idl:
49         * html/canvas/Int8Array.idl:
50         * html/canvas/Uint16Array.idl:
51         * html/canvas/Uint32Array.idl:
52         * html/canvas/Uint8Array.idl:
53         * html/canvas/Uint8ClampedArray.idl:
54         * webaudio/AudioContext.idl:
55
56         * bindings/scripts/test/TestTypedArray.idl:
57
58         * bindings/scripts/test/JS/JSFloat64Array.cpp: Updated run-bindings-tests results.
59         (WebCore::JSFloat64ArrayConstructor::finishCreation):
60
61 2012-02-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
62
63         [BlackBerry][EFL] Provide dummy RunLoop implementations.
64         https://bugs.webkit.org/show_bug.cgi?id=79398
65
66         Reviewed by Antonio Gomes.
67
68         r108067 fixed the EFL build by not building RunLoop.cpp on EFL and
69         BlackBerry, as both platforms lack an implementation that provides the
70         missing methods for the RunLoop class.
71
72         However, RunLoop.cpp is a generic file which should not be included
73         directly in PlatformWinCE.cmake (plus it helps in converting the
74         AppleWin port to CMake).
75
76         Fix this by providing a dummy implementation of the missing RunLoop
77         methods for both EFL and BlackBerry.
78
79         * CMakeLists.txt:
80         * PlatformBlackBerry.cmake:
81         * PlatformEfl.cmake:
82         * PlatformWinCE.cmake:
83         * platform/blackberry/RunLoopBlackBerry.cpp: Added.
84         (WebCore):
85         (WebCore::RunLoop::RunLoop):
86         (WebCore::RunLoop::~RunLoop):
87         (WebCore::RunLoop::wakeUp):
88         * platform/efl/RunLoopEfl.cpp: Added.
89         (WebCore):
90         (WebCore::RunLoop::RunLoop):
91         (WebCore::RunLoop::~RunLoop):
92         (WebCore::RunLoop::wakeUp):
93
94 2012-02-27  John Sullivan  <sullivan@apple.com>
95
96         Build fix (on Lion at least).
97
98         * dom/Attr.cpp:
99         (WebCore::Attr::childrenChanged):
100         Removed names of unused parameters.
101         
102         * dom/ContainerNode.cpp:
103         (WebCore::ContainerNode::childrenChanged):
104         Ditto.
105
106 2012-02-27  Kentaro Hara  <haraken@chromium.org>
107
108         Remove [ConstructorParameters] from IDL files that have [Constructor]
109         https://bugs.webkit.org/show_bug.cgi?id=79643
110
111         Reviewed by Adam Barth.
112
113         This patch removes [ConstructorParameters] from IDL files that have [Constructor],
114         since CodeGeneratorJS.pm can automatically detect the number of constructor
115         arguments by the [Constructor(...)] signature.
116
117         Test: fast/js/constructor-length.html
118
119         * Modules/mediastream/PeerConnection.idl:
120         * bindings/scripts/CodeGeneratorJS.pm:
121         (GenerateConstructorDefinition):
122         * css/WebKitCSSMatrix.idl:
123         * page/EventSource.idl:
124         * workers/SharedWorker.idl:
125         * workers/Worker.idl:
126
127 2012-02-27  Julien Chaffraix  <jchaffraix@webkit.org>
128
129         Avoid doing 2 hash lookups if we override RenderBox's logical width / height
130         https://bugs.webkit.org/show_bug.cgi?id=79591
131
132         Reviewed by Antonio Gomes.
133
134         Refactoring only.
135
136         * rendering/RenderBox.cpp:
137         (WebCore::RenderBox::clearOverrideSize):
138         Instead of doing one hash lookup as part of hasOverride{Height|Width}, let's
139         just directly call HashMap::remove that will do the lookup instead.
140
141 2012-02-27  Adam Klein  <adamk@chromium.org>
142
143         Move WebCore-internal DOM notification methods from Node to ContainerNode where appropriate
144         https://bugs.webkit.org/show_bug.cgi?id=79697
145
146         Reviewed by Ryosuke Niwa.
147
148         insertedIntoTree/removedFromTree are only used by subclasses of
149         ContainerNode. Moreover, attempting to make use of these notifications
150         in a non-container Node would currently not work, because
151         Node::removedFromDocument/insertedIntoDocument do not dispatch to these methods.
152         Rather than adding useless calls to an always-empty virtual method,
153         this patch moves these methods to ContainerNode.
154
155         Meanwhile, childrenChanged moves to ContainerNode for an obvious reason:
156         non-container Nodes have no children to change.
157
158         No new tests, refactoring only.
159
160         * dom/Attr.cpp:
161         (WebCore::Attr::childrenChanged): Remove call to now-nonexistent Node::childrenChanged.
162         * dom/ContainerNode.cpp:
163         (WebCore::ContainerNode::removeChild): Check that the removed child is a container node before notifying it of removal.
164         (WebCore::ContainerNode::parserRemoveChild): ditto.
165         (WebCore::ContainerNode::insertedIntoTree): Remove call to now-nonexistent Node::insertedIntoTree.
166         (WebCore::ContainerNode::removedFromTree): Remove call to now-nonexistent Node::removedFromTree.
167         (WebCore::ContainerNode::childrenChanged): Remove call to now-nonexistent Node::childrenChanged.
168         (WebCore::notifyChildInserted): Check that the inserted child is a container node before notifying it of insertion.
169         * dom/ContainerNode.h:
170         (ContainerNode): Migrate comments from Node.h, point back at it for more notification methods.
171         * dom/Node.h:
172         (Node): Move methods, update comments to point at ContainerNode.h.
173
174 2012-02-27  Chris Rogers  <crogers@google.com>
175
176         Implement static compression curve parameters for DynamicsCompressorNode
177         https://bugs.webkit.org/show_bug.cgi?id=78937
178
179         Reviewed by Kenneth Russell.
180
181         Test: webaudio/dynamicscompressor-basic.html
182
183         * platform/audio/DynamicsCompressor.cpp:
184         (WebCore::DynamicsCompressor::setParameterValue):
185         (WebCore):
186         (WebCore::DynamicsCompressor::initializeParameters):
187         (WebCore::DynamicsCompressor::process):
188         * platform/audio/DynamicsCompressor.h:
189         * platform/audio/DynamicsCompressorKernel.cpp:
190         (WebCore):
191         (WebCore::DynamicsCompressorKernel::DynamicsCompressorKernel):
192         (WebCore::DynamicsCompressorKernel::setPreDelayTime):
193         (WebCore::DynamicsCompressorKernel::kneeCurve):
194         (WebCore::DynamicsCompressorKernel::saturate):
195         (WebCore::DynamicsCompressorKernel::slopeAt):
196         (WebCore::DynamicsCompressorKernel::kAtSlope):
197         (WebCore::DynamicsCompressorKernel::updateStaticCurveParameters):
198         (WebCore::DynamicsCompressorKernel::process):
199         * platform/audio/DynamicsCompressorKernel.h:
200         (DynamicsCompressorKernel):
201         (WebCore::DynamicsCompressorKernel::meteringGain):
202         * webaudio/DynamicsCompressorNode.cpp:
203         (WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
204         (WebCore::DynamicsCompressorNode::process):
205         * webaudio/DynamicsCompressorNode.h:
206         (WebCore):
207         (WebCore::DynamicsCompressorNode::create):
208         (DynamicsCompressorNode):
209         (WebCore::DynamicsCompressorNode::threshold):
210         (WebCore::DynamicsCompressorNode::knee):
211         (WebCore::DynamicsCompressorNode::ratio):
212         (WebCore::DynamicsCompressorNode::reduction):
213         * webaudio/DynamicsCompressorNode.idl:
214
215 2012-02-27  Enrica Casucci  <enrica@apple.com>
216
217         WebKit2: implement platform strategy to access Pasteboard in the UI process.
218         https://bugs.webkit.org/show_bug.cgi?id=79253
219         <rdar://problem/9971876>
220
221         Reviewed by Alexey Proskuryakov.
222
223         No new tests. No behavior change.
224
225         * platform/mac/PlatformPasteboardMac.mm:
226         (WebCore::PlatformPasteboard::bufferForType): There is no need
227         to create a SharedBuffer object if there is no NSData in the pasteboard
228         for the given pasteboard type.
229
230 2012-02-27  Adrienne Walker  <enne@google.com>
231
232         [chromium] Unreviewed speculative Chromium win build fix.
233
234         mdelaney's http://trac.webkit.org/changeset/109016 changed the
235         interface on ImageBuffer, but didn't update TransparencyWin.
236
237         * platform/graphics/chromium/TransparencyWin.cpp:
238         (WebCore::TransparencyWin::OwnedBuffers::canHandleSize):
239
240 2012-02-27  Matthew Delaney  <mdelaney@apple.com>
241
242         Add ImageBuffer support for having a hi-res backing store. This allows
243         ImageBuffer clients to specify a scale factor upon creation so that they
244         don't have to maintain that info themselves as they use/pass around the ImageBuffer.
245         https://bugs.webkit.org/show_bug.cgi?id=79395
246
247         Reviewed by Dan Bernstein.
248
249         No new tests. This patch doesn't change behavior.
250
251         * platform/graphics/ImageBuffer.h:
252         (WebCore::ImageBuffer::create): Scale the backing store by the resolution scale.
253         (WebCore::ImageBuffer::logicalSize): Differentiate the logical size from the backing store's size.
254         (WebCore::ImageBuffer::internalSize): The backing store's size.
255
256         * platform/graphics/cg/ImageBufferCG.cpp: Prefer the explicit use of logicalSize and internalSize.
257
258         Explicitly state a 1x scale for all ImageBuffer creation sites
259         since this is what they currently assume.
260         * html/HTMLCanvasElement.cpp:
261         * html/canvas/CanvasRenderingContext2D.cpp:
262         * html/canvas/WebGLRenderingContext.cpp:
263         * page/Frame.cpp:
264         * platform/graphics/CrossfadeGeneratedImage.cpp:
265         * platform/graphics/ShadowBlur.cpp:
266         * platform/graphics/filters/FEColorMatrix.cpp:
267         * platform/graphics/filters/FEDropShadow.cpp:
268         * platform/graphics/filters/FilterEffect.cpp:
269         * platform/mac/ScrollbarThemeMac.mm:
270         * rendering/FilterEffectRenderer.cpp:
271         * rendering/RenderThemeMac.mm:
272         * rendering/svg/SVGImageBufferTools.cpp:
273         * svg/graphics/SVGImage.cpp:
274         * svg/graphics/SVGImageCache.cpp:
275
276         Update ImageBuffer::size() calls to new versions.
277         * platform/graphics/GraphicsContext.cpp:
278         * platform/graphics/ImageBuffer.cpp:
279         * platform/graphics/skia/PlatformContextSkia.cpp:
280
281 2012-02-27  Mihnea Ovidenie  <mihnea@adobe.com>
282
283         [CSSRegions]-webkit-flow-into initial value should be none instead of auto
284         https://bugs.webkit.org/show_bug.cgi?id=79670
285
286         Reviewed by Simon Fraser.
287
288         No new tests, modified expectations for existing tests.
289
290         * css/CSSComputedStyleDeclaration.cpp:
291         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
292         * css/CSSParser.cpp:
293         (WebCore::CSSParser::parseFlowThread):
294         * css/CSSStyleApplyProperty.cpp:
295         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
296
297 2012-02-27  Ojan Vafai  <ojan@chromium.org>
298
299         implement display: -webkit-inline-flexbox
300         https://bugs.webkit.org/show_bug.cgi?id=77772
301
302         Reviewed by David Hyatt.
303
304         Tests: css3/flexbox/inline-flexbox-expected.html
305                css3/flexbox/inline-flexbox.html
306
307         * rendering/style/RenderStyle.h:
308         -Add INLINE_FLEXBOX to the list of replaced display types.
309         -Restructure the isDisplayInline methods to avoid code duplication.
310
311 2012-02-27  Ken Buchanan  <kenrb@chromium.org>
312
313         Absolute positioned elements with Inline Relative Positioned Container are not layout correctly
314         https://bugs.webkit.org/show_bug.cgi?id=78713
315
316         Reviewed by David Hyatt.
317
318         Test: fast/css/positioned-in-relative-position-inline-crash.html
319
320         Patch originally by Robin Cao.
321
322         This is a regression. r104183 changes containingBlock() so that it returns the container
323         of an anonymous block for positioned objects, not the anonymous block itself. We should
324         change markContainingBlocksForLayout() to match the change in containingBlock().
325
326         * rendering/RenderObject.cpp:
327         (WebCore::RenderObject::markContainingBlocksForLayout):
328
329 2012-02-27  Pavel Feldman  <pfeldman@google.com>
330
331         Web Inspector: move record formatting into the timeline presentation model.
332         https://bugs.webkit.org/show_bug.cgi?id=79684
333
334         Drive-by: fix for stop recording in reset; cpu time restored.
335
336         Reviewed by Vsevolod Vlasov.
337
338         * inspector/front-end/TimelineModel.js:
339         (WebInspector.TimelineModel.prototype.reset):
340         * inspector/front-end/TimelineOverviewPane.js:
341         (WebInspector.TimelineOverviewPane.prototype.update.updateBoundaries):
342         (WebInspector.TimelineOverviewCalculator.prototype.updateBoundaries):
343         * inspector/front-end/TimelinePanel.js:
344         (WebInspector.TimelinePanel):
345         (WebInspector.TimelinePanel.prototype._rootRecord):
346         (WebInspector.TimelinePanel.prototype._updateRecordsCounter):
347         (WebInspector.TimelinePanel.prototype._repopulateRecords):
348         (WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
349         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
350         (WebInspector.TimelinePanel.prototype._resetPanel):
351         (WebInspector.TimelinePanel.prototype._refresh):
352         (WebInspector.TimelinePanel.prototype._updateBoundaries):
353         (WebInspector.TimelinePanel.prototype._filterRecords):
354         (WebInspector.TimelinePanel.prototype.revealRecordAt):
355         (WebInspector.TimelinePanel.prototype._showPopover):
356         (WebInspector.TimelineCalculator.prototype.computeBarGraphPercentages):
357         (WebInspector.TimelineCalculator.prototype.computeBarGraphWindowPosition):
358         (WebInspector.TimelineCalculator.prototype.updateBoundaries):
359         (WebInspector.TimelineStartAtZeroCalculator.prototype.computeBarGraphPercentages):
360         (WebInspector.TimelineRecordGraphRow):
361         (WebInspector.TimelineRecordGraphRow.prototype.update):
362         * inspector/front-end/TimelinePresentationModel.js:
363         (WebInspector.TimelinePresentationModel):
364         (WebInspector.TimelinePresentationModel.prototype.createFormattedRecord):
365         (WebInspector.TimelinePresentationModel.prototype._createRootRecord):
366         (WebInspector.TimelinePresentationModel.prototype.rootRecord):
367         (WebInspector.TimelinePresentationModel.prototype.reset):
368         (WebInspector.TimelinePresentationModel.prototype._findParentRecord):
369         (WebInspector.TimelinePresentationModel.prototype._resetWindow):
370         (WebInspector.TimelinePresentationModel.prototype._addCategory):
371         (WebInspector.TimelinePresentationModel.prototype.setCategoryVisibility):
372         (WebInspector.TimelinePresentationModel.prototype.get _recordStyles):
373         (WebInspector.TimelinePresentationModel.Record):
374         (WebInspector.TimelinePresentationModel.Record.prototype.get lastChildEndTime):
375         (WebInspector.TimelinePresentationModel.Record.prototype.set lastChildEndTime):
376         (WebInspector.TimelinePresentationModel.Record.prototype.get selfTime):
377         (WebInspector.TimelinePresentationModel.Record.prototype.set selfTime):
378         (WebInspector.TimelinePresentationModel.Record.prototype.get cpuTime):
379         (WebInspector.TimelinePresentationModel.Record.prototype.isLong):
380         (WebInspector.TimelinePresentationModel.Record.prototype.get children):
381         (WebInspector.TimelinePresentationModel.Record.prototype.containsTime):
382         (WebInspector.TimelinePresentationModel.Record.prototype._generateAggregatedInfo):
383         (WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
384         (WebInspector.TimelinePresentationModel.Record.prototype._refreshDetails):
385         (WebInspector.TimelinePresentationModel.Record.prototype._getRecordDetails):
386         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyLocation):
387         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyCallFrame):
388         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyTopCallFrame):
389         (WebInspector.TimelinePresentationModel.Record.prototype._linkifyScriptLocation):
390         (WebInspector.TimelinePresentationModel.Record.prototype.calculateAggregatedStats):
391         (WebInspector.TimelinePresentationModel.Record.prototype.get aggregatedStats):
392         (WebInspector.TimelinePresentationModel.PopupContentHelper):
393         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._createCell):
394         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendTextRow):
395         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendElementRow):
396         (WebInspector.TimelinePresentationModel.PopupContentHelper.prototype._appendStackTrace):
397         * inspector/front-end/timelinePanel.css:
398         (.timeline-graph-bar.cpu):
399
400 2012-02-27  Vsevolod Vlasov  <vsevik@chromium.org>
401
402         Web Inspector: Scripts navigator overlay should not consume mouse actions.
403         https://bugs.webkit.org/show_bug.cgi?id=79674
404
405         Reviewed by Pavel Feldman.
406
407         * inspector/front-end/Panel.js:
408         (WebInspector.Panel.prototype.registerShortcut):
409         (WebInspector.Panel.prototype.unregisterShortcut):
410         * inspector/front-end/ScriptsPanel.js:
411         (WebInspector.ScriptsPanel.prototype._editorClosed):
412         (WebInspector.ScriptsPanel.prototype._editorSelected):
413         (WebInspector.ScriptsPanel.prototype._fileSelected):
414         (WebInspector.ScriptsPanel.prototype._escDownWhileNavigatorOverlayOpen):
415         (WebInspector.ScriptsPanel.prototype.set _showNavigatorOverlay):
416         (WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
417         (WebInspector.ScriptsPanel.prototype._navigatorOverlayWasShown):
418         * inspector/front-end/SidebarOverlay.js:
419         (WebInspector.SidebarOverlay):
420         (WebInspector.SidebarOverlay.prototype.show):
421         (WebInspector.SidebarOverlay.prototype._containingElementFocused):
422         (WebInspector.SidebarOverlay.prototype.position):
423         (WebInspector.SidebarOverlay.prototype.hide):
424         (WebInspector.SidebarOverlay.prototype._setWidth):
425         * inspector/front-end/dialog.css:
426         (.go-to-line-dialog button:active):
427         * inspector/front-end/scriptsPanel.css:
428         (#scripts-editor-view .sidebar-overlay):
429         * inspector/front-end/splitView.css:
430         (.split-view-resizer):
431         (.sidebar-overlay):
432         (.sidebar-overlay-resizer):
433
434 2012-02-27  Philippe Normand  <pnormand@igalia.com>
435
436         [GStreamer] 0.11 support in MediaPlayerPrivateGStreamer
437         https://bugs.webkit.org/show_bug.cgi?id=77089
438
439         Reviewed by Martin Robinson.
440
441         Basic port to GStreamer 0.11 APIs. This patch excludes the video
442         painting changes and the GStreamerGWorld changes which are handled
443         in two other patches (bugs 77087 and 77088).
444
445         * GNUmakefile.list.am: Add GStreamerVersioning files to the build.
446         * Source/WebCore/PlatformEfl.cmake: Ditto.
447         * Source/WebCore/Target.pri: Ditto.
448         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
449         (WTF::GstElement):
450         (WTF::GstPad):
451         (WTF::GstPadTemplate):
452         (WTF::GstTask):
453         * platform/graphics/gstreamer/GStreamerVersioning.cpp: Added.
454         (webkit_gst_object_ref_sink):
455         (webkit_gst_element_get_pad_caps):
456         * platform/graphics/gstreamer/GStreamerVersioning.h: Added.
457         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
458         (WebCore::MediaPlayerPrivateGStreamer::isAvailable):
459         (WebCore::MediaPlayerPrivateGStreamer::duration):
460         (WebCore::MediaPlayerPrivateGStreamer::naturalSize):
461
462 2012-02-27  Philip Rogers  <pdr@google.com>
463
464         Stop recomputing SVG path data twice during layout
465         https://bugs.webkit.org/show_bug.cgi?id=79672
466
467         Reviewed by Nikolas Zimmermann.
468
469         * rendering/svg/RenderSVGShape.cpp:
470         (WebCore::RenderSVGShape::layout):
471
472 2012-02-27  Timothy Hatcher  <timothy@apple.com>
473
474         Updated for WebKit2 string changes.
475
476         https://webkit.org/b/79649
477
478         Reviewed by John Sullivan.
479
480         * English.lproj/Localizable.strings: Updated.
481
482 2012-02-27  Pavel Feldman  <pfeldman@google.com>
483
484         Web Inspector: Ctrl+K should not zoom in
485         https://bugs.webkit.org/show_bug.cgi?id=79676
486
487         Reviewed by Vsevolod Vlasov.
488
489         * inspector/front-end/inspector.js:
490         (WebInspector.documentKeyDown):
491
492 2012-02-27  Pavel Feldman  <pfeldman@google.com>
493
494         Web Inspector: extract TimelineModel and TimelinePresentationModel into their own files.
495         https://bugs.webkit.org/show_bug.cgi?id=79675
496
497         Reviewed by Vsevolod Vlasov.
498
499         * WebCore.gypi:
500         * WebCore.vcproj/WebCore.vcproj:
501         * inspector/compile-front-end.sh:
502         * inspector/front-end/TimelineAgent.js: Removed.
503         * inspector/front-end/TimelineModel.js: Added.
504         (WebInspector.TimelineModel):
505         (WebInspector.TimelineModel.prototype.startRecord):
506         (WebInspector.TimelineModel.prototype.stopRecord):
507         (WebInspector.TimelineModel.prototype.get records):
508         (WebInspector.TimelineModel.prototype._onRecordAdded):
509         (WebInspector.TimelineModel.prototype._addRecord):
510         (WebInspector.TimelineModel.prototype._loadNextChunk):
511         (WebInspector.TimelineModel.prototype._loadFromFile):
512         (WebInspector.TimelineModel.prototype._loadFromFile.onError):
513         (WebInspector.TimelineModel.prototype._saveToFile):
514         (WebInspector.TimelineModel.prototype._reset):
515         * inspector/front-end/TimelinePanel.js:
516         (WebInspector.TimelinePanel.prototype.get _recordStyles):
517         (WebInspector.TimelinePanel.prototype._createEventDivider):
518         (WebInspector.TimelinePanel.prototype._findParentRecord):
519         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
520         (WebInspector.TimelinePanel.prototype._refreshRecords):
521         (WebInspector.TimelinePanel.FormattedRecord):
522         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
523         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
524         * inspector/front-end/TimelinePresentationModel.js: Added.
525         (WebInspector.TimelinePresentationModel):
526         (WebInspector.TimelinePresentationModel.prototype.reset):
527         (WebInspector.TimelinePresentationModel.prototype.get categories):
528         (WebInspector.TimelinePresentationModel.prototype.addCategory):
529         (WebInspector.TimelinePresentationModel.prototype.setWindowPosition):
530         (WebInspector.TimelinePresentationModel.prototype.setWindowIndices):
531         (WebInspector.TimelinePresentationModel.prototype.setCategoryVisibility):
532         * inspector/front-end/WebKit.qrc:
533         * inspector/front-end/inspector.html:
534
535 2012-02-27  Alexander Pavlov  <apavlov@chromium.org>
536
537         Web Inspector: [Styles] Allow adding CSS properties anywhere in the style declaration, not only at the end
538         https://bugs.webkit.org/show_bug.cgi?id=79662
539
540         Reviewed by Pavel Feldman.
541
542         * inspector/front-end/CSSStyleModel.js:
543         (WebInspector.CSSStyleDeclaration.prototype.newBlankProperty):
544         (WebInspector.CSSProperty.prototype.setText):
545         (WebInspector.CSSProperty.prototype.setValue):
546         * inspector/front-end/MetricsSidebarPane.js:
547         (WebInspector.MetricsSidebarPane.prototype._applyUserInput):
548         * inspector/front-end/StylesSidebarPane.js:
549         (WebInspector.StylePropertiesSection):
550         (WebInspector.StylePropertiesSection.prototype._handleSelectorContainerClick):
551         (WebInspector.StylePropertiesSection.prototype.addNewBlankProperty):
552         (WebInspector.StylePropertyTreeElement.prototype):
553         (WebInspector.StylePropertyTreeElement.prototype.element.userInput.previousContent.context.moveDirection):
554         (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert):
555
556 2012-02-27  Pavel Feldman  <pfeldman@google.com>
557
558         [Shadow]: Expose one ShadowRoot in the Elements panel (under experiment flag)
559         https://bugs.webkit.org/show_bug.cgi?id=78202
560
561         Reviewed by Yury Semikhatsky.
562
563         * dom/ShadowTree.cpp:
564         (WebCore::ShadowTree::pushShadowRoot):
565         (WebCore::ShadowTree::popShadowRoot):
566         * inspector/Inspector.json:
567         * inspector/InspectorDOMAgent.cpp:
568         (WebCore::InspectorDOMAgent::unbind):
569         (WebCore::InspectorDOMAgent::assertEditableNode):
570         (WebCore::InspectorDOMAgent::assertEditableElement):
571         (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
572         (WebCore::InspectorDOMAgent::setAttributeValue):
573         (WebCore::InspectorDOMAgent::setAttributesAsText):
574         (WebCore::InspectorDOMAgent::removeAttribute):
575         (WebCore::InspectorDOMAgent::removeNode):
576         (WebCore::InspectorDOMAgent::setOuterHTML):
577         (WebCore::InspectorDOMAgent::setNodeValue):
578         (WebCore::InspectorDOMAgent::moveTo):
579         (WebCore::InspectorDOMAgent::buildObjectForNode):
580         (WebCore::InspectorDOMAgent::didPushShadowRoot):
581         (WebCore):
582         (WebCore::InspectorDOMAgent::willPopShadowRoot):
583         * inspector/InspectorDOMAgent.h:
584         (WebCore):
585         (InspectorDOMAgent):
586         * inspector/InspectorInstrumentation.cpp:
587         (WebCore::InspectorInstrumentation::didPushShadowRootImpl):
588         (WebCore):
589         (WebCore::InspectorInstrumentation::willPopShadowRootImpl):
590         * inspector/InspectorInstrumentation.h:
591         (WebCore):
592         (InspectorInstrumentation):
593         (WebCore::InspectorInstrumentation::didPushShadowRoot):
594         (WebCore::InspectorInstrumentation::willPopShadowRoot):
595         * inspector/PageConsoleAgent.cpp:
596         (WebCore::PageConsoleAgent::addInspectedNode):
597         * inspector/front-end/DOMAgent.js:
598         (WebInspector.DOMNode):
599         (WebInspector.DOMNode.prototype.hasChildNodes):
600         (WebInspector.DOMNode.prototype.isInShadowTree):
601         (WebInspector.DOMNode.prototype._insertChild):
602         (WebInspector.DOMNode.prototype._setChildrenPayload):
603         (WebInspector.DOMDocument):
604         (WebInspector.DOMAgent.prototype._setDetachedRoot):
605         (WebInspector.DOMAgent.prototype._shadowRootPopped):
606         (WebInspector.DOMDispatcher.prototype.childNodeRemoved):
607         (WebInspector.DOMDispatcher.prototype.shadowRootPushed):
608         (WebInspector.DOMDispatcher.prototype.shadowRootPopped):
609         * inspector/front-end/ElementsTreeOutline.js:
610         * inspector/front-end/MemoryStatistics.js:
611         * inspector/front-end/Settings.js:
612         (WebInspector.ExperimentsSettings):
613         * inspector/front-end/inspector.css:
614         (.webkit-html-tag.shadow, .webkit-html-fragment.shadow):
615
616 2012-02-27  Andrey Kosyakov  <caseq@chromium.org>
617
618         Web Inspector: [refactoring] remove dependencies from TimelinePanel from most of FormattedRecord
619         https://bugs.webkit.org/show_bug.cgi?id=79665
620
621         Reviewed by Pavel Feldman.
622
623         * inspector/front-end/TimelinePanel.js:
624         (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline):
625         (WebInspector.TimelinePanel.FormattedRecord):
626         (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):
627         (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails):
628         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyLocation):
629         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyCallFrame):
630         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyTopCallFrame):
631         (WebInspector.TimelinePanel.FormattedRecord.prototype._linkifyScriptLocation):
632         (WebInspector.TimelinePanel.PopupContentHelper):
633         (WebInspector.TimelinePanel.PopupContentHelper.prototype._appendStackTrace):
634
635 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
636
637         Web Inspector: reveal corresponding timeline record when user clicks on memory graph
638         https://bugs.webkit.org/show_bug.cgi?id=79669
639
640         When user clicks on DOM counter graph corresponding timeline record is
641         revealed in timelime grid and all its ancestors are expanded.
642
643         Reviewed by Pavel Feldman.
644
645         * inspector/front-end/MemoryStatistics.js:
646         (WebInspector.MemoryStatistics.prototype._onClick):
647         * inspector/front-end/TimelineOverviewPane.js:
648         (WebInspector.TimelineOverviewPane.prototype.update):
649         (WebInspector.HeapGraph.prototype.update):
650         (WebInspector.HeapGraph.prototype._clear):
651         * inspector/front-end/TimelinePanel.js:
652         (WebInspector.TimelinePanel.prototype.revealRecordAt.recordFinder):
653         (WebInspector.TimelinePanel.prototype.revealRecordAt):
654         (WebInspector.TimelinePanel.prototype._refreshRecords):
655         (WebInspector.TimelinePanel.forAllRecords):
656         (WebInspector.TimelinePanel.FormattedRecord.prototype.containsTime):
657
658 2012-02-27  Ilya Tikhonovsky  <loislo@chromium.org>
659
660         Unreviewed single line fix for r108983.
661
662         * inspector/front-end/DetailedHeapshotView.js:
663         (WebInspector.DetailedHeapshotView.prototype.willHide):
664
665 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
666
667         Web Inspector: repaint counter graphs when timeline splitter moves
668         https://bugs.webkit.org/show_bug.cgi?id=79644
669
670         Immediately refresh timeline panel on splitter move.
671
672         Reviewed by Pavel Feldman.
673
674         * inspector/front-end/TimelinePanel.js:
675         (WebInspector.TimelinePanel.prototype._splitterDragging):
676
677 2012-02-27  Carlos Garcia Campos  <cgarcia@igalia.com>
678
679         Unreviewed. Fix make distcheck.
680
681         * GNUmakefile.am: Add missing files.
682         * GNUmakefile.list.am: Ditto.
683
684 2012-02-27  Patrick Gansterer  <paroga@webkit.org>
685
686         [CMake] Build fix after r108709.
687
688         * CMakeLists.txt: Move DOMWindowSVG.idl to the other IDL files.
689
690 2012-02-27  Ilya Tikhonovsky  <loislo@chromium.org>
691
692         Web Inspector: [chromium] Profiles - Tooltip with object/property types stays on screen when another tab selected
693         https://bugs.webkit.org/show_bug.cgi?id=79654
694
695         Reviewed by Yury Semikhatsky.
696
697         * inspector/front-end/DetailedHeapshotView.js:
698         (WebInspector.DetailedHeapshotView.prototype.willHide):
699
700 2012-02-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
701
702         [Qt] Remove page/PageSupplement.h from WebCore's Target.pri
703
704         The file itself was removed in r108958.
705
706         Reviewed by Kenneth Rohde Christiansen.
707
708         * Target.pri:
709
710 2012-02-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
711
712         [Qt] Use USE() macro instead of ENABLE() for using the Qt image decoder
713
714         Reviewed by Kenneth Rohde Christiansen..
715
716         * Target.pri:
717         * WebCore.pri:
718         * platform/MIMETypeRegistry.cpp:
719         (WebCore::initializeSupportedImageMIMETypes):
720         (WebCore::initializeSupportedImageMIMETypesForEncoding):
721         * platform/image-decoders/ImageDecoder.h:
722         (WebCore::ImageFrame::getAddr):
723         (ImageFrame):
724         * platform/image-decoders/qt/ImageFrameQt.cpp:
725         (WebCore):
726         (WebCore::ImageFrame::asNewNativeImage):
727
728 2012-02-27  MORITA Hajime  <morrita@google.com>
729
730         Removing <ul>, <li> inside shadow DOM triggers assertion in updateListMarkerNumbers
731         https://bugs.webkit.org/show_bug.cgi?id=79630
732
733         Reviewed by Ryosuke Niwa.
734
735         This problem was caused by the inconsistent detach order of DOM tree where
736         Element::detach() called ContainerNode::detach() before shadow tree is detached.
737         This resulted the renderer of the element being destroyed even if its children,
738         each of which came from an element in the shadow tree, are alive.
739         In principle, child renderers should be destroyed before its parent.
740
741         This change aligns the detach order with the attach order. The shadow tree is
742         now deatched before parent's ContainerNode::detach() is called.
743
744         Test: fast/dom/shadow/shadow-ul-li.html
745
746         * dom/Element.cpp:
747         (WebCore::Element::detach):
748
749 2012-02-27  Keishi Hattori  <keishi@webkit.org>
750
751         Color input type should be clickable through keyboard
752         https://bugs.webkit.org/show_bug.cgi?id=79629
753
754         Reviewed by Kent Tamura.
755
756         Introduced BaseClickableWithKeyInputType that represents an input type
757         that can be clicked by pressing space/return keys.
758         ColorInputType, FileInputType directly inherit it because it doesn't
759         want the other methods(like appendFormData) in BaseButtonInputType.
760
761         * CMakeLists.txt: Added BaseClickableWithKeyInputType.cpp
762         * GNUmakefile.list.am: Added BaseClickableWithKeyInputType.{cpp,h}
763         * Target.pri: Added BaseClickableWithKeyInputType.{cpp,h}
764         * WebCore.gypi: Added BaseClickableWithKeyInputType.{cpp,h}
765         * WebCore.vcproj/WebCore.vcproj: Added BaseClickableWithKeyInputType.{cpp,h}
766         * WebCore.xcodeproj/project.pbxproj: Added BaseClickableWithKeyInputType.{cpp,h}
767         * html/BaseButtonInputType.cpp:
768         * html/BaseButtonInputType.h:
769         (WebCore::BaseButtonInputType::BaseButtonInputType): Inherits BaseClickableWithKeyInputType now.
770         (BaseButtonInputType):
771         * html/BaseCheckableInputType.cpp: Changed comment.
772         * html/BaseClickableWithKeyInputType.cpp:
773         (WebCore):
774         (WebCore::BaseClickableWithKeyInputType::handleKeydownEvent): Moved from BaseButtonInputType
775         (WebCore::BaseClickableWithKeyInputType::handleKeypressEvent): Moved from BaseButtonInputType
776         (WebCore::BaseClickableWithKeyInputType::handleKeyupEvent): Moved from BaseButtonInputType
777         (WebCore::BaseClickableWithKeyInputType::accessKeyAction): Moved from BaseButtonInputType
778         * html/BaseClickableWithKeyInputType.h:
779         (WebCore):
780         (BaseClickableWithKeyInputType): Input type that can be clicked by pressing space/return keys.
781         (WebCore::BaseClickableWithKeyInputType::BaseClickableWithKeyInputType):
782         * html/ColorInputType.h:
783         (WebCore::ColorInputType::ColorInputType): Inherits BaseClickableWithKeyInputType now.
784         * html/FileInputType.cpp:
785         (WebCore::FileInputType::FileInputType):
786         * html/FileInputType.h:
787         (FileInputType): Inherits BaseClickableWithKeyInputType now.
788         * html/RangeInputType.cpp: Changed comment.
789         (WebCore):
790
791 2012-02-27  Keishi Hattori  <keishi@webkit.org>
792
793         Add missing include to ColorInputType.cpp
794         https://bugs.webkit.org/show_bug.cgi?id=79632
795
796         Reviewed by Kent Tamura.
797
798         * html/ColorInputType.cpp: Include ShadowTree.h
799
800 2012-02-27  Andrey Kosyakov  <caseq@chromium.org>
801
802         Use built-in bind in ExtensionAPI.js
803
804         Web Inspector: [Extensions API] get rid of custom bind() in favor of built-in
805         https://bugs.webkit.org/show_bug.cgi?id=79570
806
807         Reviewed by Pavel Feldman.
808
809         * inspector/front-end/ExtensionAPI.js:
810         (injectedExtensionAPI.EventSinkImpl.prototype.addListener):
811         (injectedExtensionAPI):
812         (injectedExtensionAPI.Panels.prototype.create):
813         (injectedExtensionAPI.AuditResultImpl):
814         (injectedExtensionAPI.ExtensionServerClient):
815
816 2012-02-21  Pavel Podivilov  <podivilov@chromium.org>
817
818         Web Inspector: get rid of RawSourceCode.sourceMapping getter.
819         https://bugs.webkit.org/show_bug.cgi?id=79461
820
821         Reviewed by Yury Semikhatsky.
822
823         * inspector/front-end/BreakpointManager.js:
824         (WebInspector.BreakpointManager.prototype.uiSourceCodeAdded):
825         (WebInspector.BreakpointManager.prototype.setBreakpoint):
826         (WebInspector.BreakpointManager.prototype._materializeBreakpoint):
827         (WebInspector.BreakpointManager.prototype._breakpointDebuggerLocationChanged):
828         * inspector/front-end/ConsoleMessage.js:
829         (WebInspector.ConsoleMessageImpl.prototype.get location):
830         * inspector/front-end/DebuggerPresentationModel.js:
831         (WebInspector.DebuggerPresentationModel.prototype.rawLocationToUILocation):
832         (WebInspector.DebuggerPresentationModel.prototype.uiSourceCodes):
833         (WebInspector.DebuggerPresentationModel.prototype._handleUISourceCodeListChanged):
834         (WebInspector.DebuggerPresentationModel.prototype._uiSourceCodeListChanged):
835         (WebInspector.DebuggerPresentationModel.prototype._restoreBreakpoints):
836         (WebInspector.DebuggerPresentationModel.prototype._restoreConsoleMessages):
837         (WebInspector.DebuggerPresentationModel.prototype._restoreExecutionLine):
838         (WebInspector.DebuggerPresentationModel.prototype._consoleMessageAdded):
839         (WebInspector.DebuggerPresentationModel.prototype.continueToLine):
840         (WebInspector.DebuggerPresentationModel.prototype.set selectedCallFrame):
841         (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
842         (WebInspector.PresentationCallFrame.prototype.uiLocation):
843         (WebInspector.DebuggerPresentationModel.CallFramePlacard):
844         (WebInspector.DebuggerPresentationModel.CallFramePlacard.prototype.discard):
845         (WebInspector.DebuggerPresentationModel.CallFramePlacard.prototype._update):
846         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.canSetContent):
847         (WebInspector.DebuggerPresentationModelResourceBinding.prototype.setContent):
848         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
849         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyRawSourceCode):
850         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.reset):
851         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
852         * inspector/front-end/RawSourceCode.js:
853         (WebInspector.RawSourceCode.prototype.rawLocationToUILocation):
854         (WebInspector.RawSourceCode.prototype.uiLocationToRawLocation):
855         (WebInspector.RawSourceCode.prototype.uiSourceCodeList):
856         (WebInspector.RawSourceCode.prototype._saveSourceMapping):
857         * inspector/front-end/ScriptsPanel.js:
858         (WebInspector.ScriptsPanel.prototype._updateCallFrame):
859         * inspector/front-end/ScriptsSearchScope.js:
860         (WebInspector.ScriptsSearchResultsPane.prototype.createAnchor):
861
862 2012-02-27  Mihnea Ovidenie  <mihnea@adobe.com>
863
864         [CSSRegions]Implement NamedFlow::getRegionsByContentNode
865         https://bugs.webkit.org/show_bug.cgi?id=77746
866
867         Reviewed by David Hyatt.
868
869         Tests: fast/regions/get-regions-by-content-node-horiz-bt.html
870                fast/regions/get-regions-by-content-node-horiz-tb.html
871                fast/regions/get-regions-by-content-node-vert-lr.html
872                fast/regions/get-regions-by-content-node-vert-rl.html
873                fast/regions/get-regions-by-content-node.html
874                fast/regions/get-regions-by-content-node2.html
875
876         * CMakeLists.txt:
877         * GNUmakefile.list.am:
878         * Target.pri:
879         * WebCore.gypi:
880         * WebCore.vcproj/WebCore.vcproj:
881         * WebCore.xcodeproj/project.pbxproj:
882         * dom/Node.cpp:
883         (WebCore::Node::removeCachedRegionNodeList):
884         (WebCore):
885         (WebCore::Node::getRegionsByContentNode):
886         (WebCore::NodeListsNodeData::invalidateCaches):
887         (WebCore::NodeListsNodeData::isEmpty):
888         * dom/Node.h:
889         (WebCore):
890         (Node):
891         * dom/NodeRareData.h:
892         (NodeListsNodeData):
893         * dom/RegionNodeList.cpp:
894         (WebCore):
895         (WebCore::RegionNodeList::RegionNodeList):
896         (WebCore::RegionNodeList::~RegionNodeList):
897         (WebCore::RegionNodeList::nodeMatches):
898         * dom/RegionNodeList.h:
899         (WebCore):
900         (RegionNodeList):
901         (WebCore::RegionNodeList::create):
902         * dom/WebKitNamedFlow.cpp:
903         (WebCore::WebKitNamedFlow::getRegionsByContentNode):
904         (WebCore):
905         * dom/WebKitNamedFlow.h:
906         (WebCore):
907         (WebKitNamedFlow):
908         * dom/WebKitNamedFlow.idl:
909         * rendering/RenderFlowThread.cpp:
910         (WebCore::RenderFlowThread::regionInRange):
911         (WebCore):
912         (WebCore::RenderFlowThread::objectInFlowRegion):
913         * rendering/RenderFlowThread.h:
914         * rendering/RenderRegion.h:
915         (WebCore::RenderRegion::flowThread):
916
917 2012-02-27  Yury Semikhatsky  <yurys@chromium.org>
918
919         Web Inspector: counter graphs should resize after console showing
920         https://bugs.webkit.org/show_bug.cgi?id=79640
921
922         Invoke Panel.doResize after showing drawer.
923
924         Reviewed by Pavel Feldman.
925
926         * inspector/front-end/Drawer.js:
927         (WebInspector.Drawer.prototype.show.animationFinished):
928         (WebInspector.Drawer.prototype.show):
929
930 2012-02-27  Dan Beam  <dbeam@chromium.org>
931
932         Web Inspector: Close TabbedPanes on middle click of tab handle
933         https://bugs.webkit.org/show_bug.cgi?id=79518
934
935         Reviewed by Pavel Feldman.
936
937         * inspector/front-end/TabbedPane.js:
938         (WebInspector.TabbedPaneTab.prototype._createTabElement):
939         (WebInspector.TabbedPaneTab.prototype._tabClicked):
940
941 2012-02-26  Yury Semikhatsky  <yurys@chromium.org>
942
943         Web Inspector: crash in fake workers
944         https://bugs.webkit.org/show_bug.cgi?id=79637
945
946         Notify front-end about worker creation/destruction synchronously instead of
947         posting a task.
948
949         Reviewed by Pavel Feldman.
950
951         * inspector/InspectorAgent.cpp:
952         (WebCore):
953         (WebCore::InspectorAgent::didCreateWorker):
954         (WebCore::InspectorAgent::didDestroyWorker):
955         * inspector/InspectorAgent.h:
956         (InspectorAgent):
957
958 2012-02-26  Adam Barth  <abarth@webkit.org>
959
960         Unreviewed.
961
962         Fix some warnings in the build from referencing the non-existent
963         websockets directory.
964
965         * WebCore.gyp/WebCore.gyp:
966
967 2012-02-26  Shinya Kawanaka  <shinyak@chromium.org>
968
969         Rename ShadowRootList to ShadowTree.
970         https://bugs.webkit.org/show_bug.cgi?id=79342
971
972         Reviewed by Hajime Morita.
973
974         This patch renames ShadowRootList ot ShadowTree.
975
976         No new tests, no change in behavior.
977
978         * CMakeLists.txt:
979         * GNUmakefile.list.am:
980         * Target.pri:
981         * WebCore.exp.in:
982         * WebCore.gypi:
983         * WebCore.xcodeproj/project.pbxproj:
984         * dom/DOMAllInOne.cpp:
985         * dom/Document.cpp:
986         (WebCore::Document::buildAccessKeyMap):
987         * dom/Element.cpp:
988         (WebCore::Element::willRemove):
989         (WebCore::Element::insertedIntoDocument):
990         (WebCore::Element::removedFromDocument):
991         (WebCore::Element::insertedIntoTree):
992         (WebCore::Element::removedFromTree):
993         (WebCore::Element::attach):
994         (WebCore::Element::detach):
995         (WebCore::Element::recalcStyle):
996         (WebCore::Element::hasShadowRoot):
997         (WebCore::Element::shadowTree):
998         (WebCore::Element::setShadowRoot):
999         (WebCore::Element::ensureShadowRoot):
1000         (WebCore::Element::removeShadowRoot):
1001         (WebCore::Element::childrenChanged):
1002         * dom/Element.h:
1003         (WebCore):
1004         (Element):
1005         * dom/ElementRareData.h:
1006         (ElementRareData):
1007         (WebCore::ElementRareData::~ElementRareData):
1008         * dom/Node.cpp:
1009         (WebCore::oldestShadowRoot):
1010         * dom/NodeRenderingContext.cpp:
1011         (WebCore::NodeRenderingContext::NodeRenderingContext):
1012         (WebCore::NodeRenderingContext::hostChildrenChanged):
1013         (WebCore::NodeRenderingContext::shouldCreateRenderer):
1014         * dom/NodeRenderingContext.h:
1015         (WebCore):
1016         * dom/ShadowRoot.cpp:
1017         (WebCore::ShadowRoot::tree):
1018         (WebCore::ShadowRoot::attach):
1019         * dom/ShadowRoot.h:
1020         (WebCore):
1021         (ShadowRoot):
1022         * dom/ShadowTree.cpp: Renamed from Source/WebCore/dom/ShadowRootList.cpp.
1023         (WebCore):
1024         (WebCore::ShadowTree::ShadowTree):
1025         (WebCore::ShadowTree::~ShadowTree):
1026         (WebCore::ShadowTree::pushShadowRoot):
1027         (WebCore::ShadowTree::popShadowRoot):
1028         (WebCore::ShadowTree::insertedIntoDocument):
1029         (WebCore::ShadowTree::removedFromDocument):
1030         (WebCore::ShadowTree::insertedIntoTree):
1031         (WebCore::ShadowTree::removedFromTree):
1032         (WebCore::ShadowTree::willRemove):
1033         (WebCore::ShadowTree::attach):
1034         (WebCore::ShadowTree::detach):
1035         (WebCore::ShadowTree::insertionPointFor):
1036         (WebCore::ShadowTree::isSelectorActive):
1037         (WebCore::ShadowTree::reattach):
1038         (WebCore::ShadowTree::childNeedsStyleRecalc):
1039         (WebCore::ShadowTree::needsStyleRecalc):
1040         (WebCore::ShadowTree::recalcShadowTreeStyle):
1041         (WebCore::ShadowTree::needsReattachHostChildrenAndShadow):
1042         (WebCore::ShadowTree::hostChildrenChanged):
1043         (WebCore::ShadowTree::setNeedsReattachHostChildrenAndShadow):
1044         (WebCore::ShadowTree::reattachHostChildrenAndShadow):
1045         (WebCore::ShadowTree::ensureSelector):
1046         * dom/ShadowTree.h: Renamed from Source/WebCore/dom/ShadowRootList.h.
1047         (WebCore):
1048         (ShadowTree):
1049         (WebCore::ShadowTree::hasShadowRoot):
1050         (WebCore::ShadowTree::youngestShadowRoot):
1051         (WebCore::ShadowTree::oldestShadowRoot):
1052         (WebCore::ShadowTree::selector):
1053         (WebCore::ShadowTree::clearNeedsReattachHostChildrenAndShadow):
1054         (WebCore::ShadowTree::host):
1055         * dom/TreeScopeAdopter.cpp:
1056         (WebCore::shadowRootFor):
1057         * html/ColorInputType.cpp:
1058         (WebCore::ColorInputType::createShadowSubtree):
1059         (WebCore::ColorInputType::shadowColorSwatch):
1060         * html/FileInputType.cpp:
1061         (WebCore::FileInputType::createShadowSubtree):
1062         (WebCore::FileInputType::multipleAttributeChanged):
1063         * html/HTMLDetailsElement.cpp:
1064         (WebCore::HTMLDetailsElement::findMainSummary):
1065         * html/HTMLKeygenElement.cpp:
1066         (WebCore::HTMLKeygenElement::shadowSelect):
1067         * html/HTMLMediaElement.cpp:
1068         (WebCore::HTMLMediaElement::mediaControls):
1069         (WebCore::HTMLMediaElement::hasMediaControls):
1070         * html/HTMLSummaryElement.cpp:
1071         * html/HTMLTextAreaElement.cpp:
1072         (WebCore::HTMLTextAreaElement::innerTextElement):
1073         (WebCore::HTMLTextAreaElement::updatePlaceholderText):
1074         * html/InputType.cpp:
1075         (WebCore::InputType::destroyShadowSubtree):
1076         * html/RangeInputType.cpp:
1077         (WebCore::RangeInputType::handleMouseDownEvent):
1078         (WebCore::RangeInputType::createShadowSubtree):
1079         * html/TextFieldInputType.cpp:
1080         (WebCore::TextFieldInputType::createShadowSubtree):
1081         (WebCore::TextFieldInputType::updatePlaceholderText):
1082         * html/ValidationMessage.cpp:
1083         (WebCore::ValidationMessage::deleteBubbleTree):
1084         * html/shadow/HTMLContentElement.cpp:
1085         (WebCore::HTMLContentElement::attach):
1086         (WebCore::HTMLContentElement::detach):
1087         (WebCore::HTMLContentElement::parseAttribute):
1088         * html/shadow/SliderThumbElement.cpp:
1089         (WebCore::sliderThumbElementOf):
1090         (WebCore::RenderSliderContainer::layout):
1091         (WebCore::trackLimiterElementOf):
1092         * page/FocusController.cpp:
1093         (WebCore::shadowRoot):
1094         * rendering/RenderFileUploadControl.cpp:
1095         (WebCore::RenderFileUploadControl::uploadButton):
1096         * svg/SVGTRefElement.cpp:
1097         (WebCore::SVGTRefElement::updateReferencedText):
1098         (WebCore::SVGTRefElement::detachTarget):
1099         * testing/Internals.cpp:
1100         (WebCore::Internals::ensureShadowRoot):
1101         (WebCore::Internals::youngestShadowRoot):
1102         (WebCore::Internals::oldestShadowRoot):
1103
1104 2012-02-26  Adam Barth  <abarth@webkit.org>
1105
1106         Extract Supplementable base class from Page and Navigator
1107         https://bugs.webkit.org/show_bug.cgi?id=79624
1108
1109         Reviewed by Hajime Morita.
1110
1111         We'll use this pattern again soon for ScriptExecutionContext.
1112
1113         * CMakeLists.txt:
1114         * GNUmakefile.list.am:
1115         * Modules/gamepad/NavigatorGamepad.cpp:
1116         (WebCore::NavigatorGamepad::from):
1117         * Modules/gamepad/NavigatorGamepad.h:
1118         * Modules/geolocation/NavigatorGeolocation.cpp:
1119         (WebCore::NavigatorGeolocation::from):
1120         * Modules/geolocation/NavigatorGeolocation.h:
1121         * Modules/mediastream/NavigatorMediaStream.cpp:
1122         (WebCore::NavigatorMediaStream::webkitGetUserMedia):
1123         * Modules/mediastream/UserMediaController.cpp:
1124         (WebCore::provideUserMediaTo):
1125         * Modules/mediastream/UserMediaController.h:
1126         (WebCore::UserMediaController::from):
1127         * Target.pri:
1128         * WebCore.gypi:
1129         * WebCore.vcproj/WebCore.vcproj:
1130         * WebCore.xcodeproj/project.pbxproj:
1131         * dom/DeviceMotionController.cpp:
1132         (WebCore::provideDeviceMotionTo):
1133         * dom/DeviceMotionController.h:
1134         (WebCore::DeviceMotionController::from):
1135         * dom/DeviceOrientationController.cpp:
1136         (WebCore::provideDeviceOrientationTo):
1137         * dom/DeviceOrientationController.h:
1138         (WebCore):
1139         (WebCore::DeviceOrientationController::from):
1140         * notifications/NotificationController.cpp:
1141         (WebCore::provideNotification):
1142         * notifications/NotificationController.h:
1143         (WebCore):
1144         (WebCore::NotificationController::from):
1145         * page/DOMWindow.cpp:
1146         (WebCore::DOMWindow::page):
1147         (WebCore):
1148         (WebCore::DOMWindow::addEventListener):
1149         (WebCore::DOMWindow::removeEventListener):
1150         (WebCore::DOMWindow::removeAllEventListeners):
1151         * page/DOMWindow.h:
1152         (WebCore):
1153         (DOMWindow):
1154         * page/Navigator.cpp:
1155         (WebCore):
1156         * page/Navigator.h:
1157         (Navigator):
1158         * page/NavigatorSupplement.cpp: Removed.
1159         * page/NavigatorSupplement.h: Removed.
1160         * page/Page.cpp:
1161         (WebCore):
1162         * page/Page.h:
1163         (Page):
1164         * page/PageSupplement.cpp: Removed.
1165         * page/PageSupplement.h: Removed.
1166         * page/SpeechInput.cpp:
1167         (WebCore::provideSpeechInputTo):
1168         * page/SpeechInput.h:
1169         (WebCore::SpeechInput::from):
1170         * platform/Supplementable.h: Added.
1171         (WebCore):
1172         (Supplement):
1173         (WebCore::Supplement::~Supplement):
1174         (WebCore::Supplement::provideTo):
1175         (WebCore::Supplement::from):
1176         (Supplementable):
1177         (WebCore::Supplementable::provideSupplement):
1178         (WebCore::Supplementable::requireSupplement):
1179
1180 2012-02-26  Hajime Morrita  <morrita@chromium.org>
1181
1182         Move ChromeClient::showContextMenu() to ContextMenuClient
1183         https://bugs.webkit.org/show_bug.cgi?id=79427
1184
1185         Reviewed by Adam Barth.
1186
1187         - Removed ChromeClient::showContextMenu(), Chrome::showContextMenu()
1188         - Added ContextMenuController::showContextMenuAt(), ContextMenuClient::showContextMenu()
1189         - Hided showContextMenu() behind ACCESSIBILITY_CONTEXT_MENUS
1190
1191         This change localizes context menu related code and will make it easy to
1192         modularize CONTEXT_MENUS code.
1193
1194         Refactoring. No new tests.
1195
1196         * WebCore.exp.in:
1197         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
1198         (-[WebAccessibilityObjectWrapper accessibilityShowContextMenu]):
1199         * loader/EmptyClients.h:
1200         (EmptyContextMenuClient):
1201         (WebCore::EmptyContextMenuClient::showContextMenu):
1202         * page/ContextMenuClient.h:
1203         (ContextMenuClient):
1204         * page/ContextMenuController.cpp:
1205         (WebCore):
1206         (WebCore::ContextMenuController::showContextMenuAt):
1207         * page/ContextMenuController.h:
1208         (ContextMenuController):
1209         * page/Chrome.cpp:
1210         * page/Chrome.h:
1211         (Chrome):
1212         * page/ChromeClient.h:
1213         (ChromeClient):
1214
1215 2012-02-26  Benjamin Poulain  <bpoulain@apple.com>
1216
1217         [Mac] Release localized Strings instead of AutoRelease
1218         https://bugs.webkit.org/show_bug.cgi?id=79552
1219
1220         Reviewed by Sam Weinig.
1221
1222         By using the CoreFoundation API, we can release the memory as soon as
1223         the WTF::String is created.
1224
1225         * WebCore.xcodeproj/project.pbxproj:
1226         * platform/mac/LocalizedStringsMac.cpp: Renamed from Source/WebCore/platform/mac/LocalizedStringsMac.mm.
1227         (WebCore):
1228         (WebCore::localizedString):
1229
1230 2012-02-26  Adam Barth  <abarth@webkit.org>
1231
1232         ContextDestructionObserver should live in its own file
1233         https://bugs.webkit.org/show_bug.cgi?id=79619
1234
1235         Reviewed by Hajime Morita.
1236
1237         WebKit prefers to have one class per file.  (This patch is paying a
1238         build system hacking debt I incurred earlier.)
1239
1240         * CMakeLists.txt:
1241         * GNUmakefile.list.am:
1242         * Target.pri:
1243         * WebCore.gypi:
1244         * WebCore.vcproj/WebCore.vcproj:
1245         * WebCore.xcodeproj/project.pbxproj:
1246         * dom/ActiveDOMObject.cpp:
1247         (WebCore):
1248         * dom/ActiveDOMObject.h:
1249         (ActiveDOMObject):
1250         (WebCore::ActiveDOMObject::suspendIfNeededCalled):
1251         (WebCore::ActiveDOMObject::setPendingActivity):
1252         (WebCore::ActiveDOMObject::unsetPendingActivity):
1253         * dom/ContextDestructionObserver.cpp: Added.
1254         (WebCore):
1255         (WebCore::ContextDestructionObserver::ContextDestructionObserver):
1256         (WebCore::ContextDestructionObserver::~ContextDestructionObserver):
1257         (WebCore::ContextDestructionObserver::contextDestroyed):
1258         * dom/ContextDestructionObserver.h: Added.
1259         (WebCore):
1260         (ContextDestructionObserver):
1261         (WebCore::ContextDestructionObserver::scriptExecutionContext):
1262         * dom/DOMAllInOne.cpp:
1263
1264 2012-02-26  Dirk Schulze  <krit@webkit.org>
1265
1266         Cleanup of Adobes copyright text. The text got harmonized with copyright texts of other companies. 
1267
1268         Rubber stamped by.
1269
1270         * css/CSSWrapShapes.cpp:
1271         * css/CSSWrapShapes.h:
1272         * css/WebKitCSSRegionRule.cpp:
1273         * css/WebKitCSSRegionRule.h:
1274         * css/WebKitCSSRegionRule.idl:
1275         * css/WebKitCSSShaderValue.cpp:
1276         * css/WebKitCSSShaderValue.h:
1277         * dom/WebKitNamedFlow.cpp:
1278         * dom/WebKitNamedFlow.h:
1279         * dom/WebKitNamedFlow.idl:
1280         * loader/cache/CachedShader.cpp:
1281         * loader/cache/CachedShader.h:
1282         * platform/graphics/filters/CustomFilterMesh.cpp:
1283         * platform/graphics/filters/CustomFilterMesh.h:
1284         * platform/graphics/filters/CustomFilterNumberParameter.h:
1285         * platform/graphics/filters/CustomFilterOperation.cpp:
1286         * platform/graphics/filters/CustomFilterOperation.h:
1287         * platform/graphics/filters/CustomFilterParameter.h:
1288         * platform/graphics/filters/CustomFilterProgram.cpp:
1289         * platform/graphics/filters/CustomFilterProgram.h:
1290         * platform/graphics/filters/CustomFilterProgramClient.h:
1291         * platform/graphics/filters/CustomFilterShader.cpp:
1292         * platform/graphics/filters/CustomFilterShader.h:
1293         * platform/graphics/filters/FECustomFilter.cpp:
1294         * platform/graphics/filters/FECustomFilter.h:
1295         * rendering/FilterEffectObserver.h:
1296         * rendering/RenderFlowThread.cpp:
1297         * rendering/RenderFlowThread.h:
1298         * rendering/RenderRegion.cpp:
1299         * rendering/RenderRegion.h:
1300         * rendering/style/StyleCachedShader.cpp:
1301         * rendering/style/StyleCachedShader.h:
1302         * rendering/style/StyleCustomFilterProgram.h:
1303         * rendering/style/StylePendingShader.h:
1304         * rendering/style/StyleShader.h:
1305
1306 2012-02-26  Hyowon Kim  <hw1008.kim@samsung.com>
1307
1308         [EFL] Implementation of GraphicsContext3D for EFL port
1309         https://bugs.webkit.org/show_bug.cgi?id=79452
1310
1311         Reviewed by Noam Rosenthal.
1312
1313         Evas_GL is used to do OpenGL rendering on Evas, in which
1314         a structure 'Evas_GL_API' contains all the OpenGL functions.
1315
1316         GraphicsContext3D in EFL port should call OpenGL functions indirectly
1317         through the Evas_GL_API, and not use GraphicsContext3DOpenGL(Common).
1318
1319         So, we use the GraphicsContext3DPrivate to delegate all OpenGL function calls,
1320         and it will be implemented to use Evas_GL (bug 62961).
1321
1322         No new tests. No behavior change.
1323
1324         * platform/graphics/efl/GraphicsContext3DEfl.cpp: Added.
1325         (WebCore):
1326         (WebCore::GraphicsContext3D::create):
1327         (WebCore::GraphicsContext3D::GraphicsContext3D):
1328         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1329         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
1330         (WebCore::GraphicsContext3D::platformLayer):
1331         (WebCore::GraphicsContext3D::makeContextCurrent):
1332         (WebCore::GraphicsContext3D::isGLES2Compliant):
1333         (WebCore::GraphicsContext3D::activeTexture):
1334         (WebCore::GraphicsContext3D::attachShader):
1335         (WebCore::GraphicsContext3D::bindAttribLocation):
1336         (WebCore::GraphicsContext3D::bindBuffer):
1337         (WebCore::GraphicsContext3D::bindFramebuffer):
1338         (WebCore::GraphicsContext3D::bindRenderbuffer):
1339         (WebCore::GraphicsContext3D::bindTexture):
1340         (WebCore::GraphicsContext3D::blendColor):
1341         (WebCore::GraphicsContext3D::blendEquation):
1342         (WebCore::GraphicsContext3D::blendEquationSeparate):
1343         (WebCore::GraphicsContext3D::blendFunc):
1344         (WebCore::GraphicsContext3D::blendFuncSeparate):
1345         (WebCore::GraphicsContext3D::bufferData):
1346         (WebCore::GraphicsContext3D::bufferSubData):
1347         (WebCore::GraphicsContext3D::checkFramebufferStatus):
1348         (WebCore::GraphicsContext3D::clear):
1349         (WebCore::GraphicsContext3D::clearColor):
1350         (WebCore::GraphicsContext3D::clearDepth):
1351         (WebCore::GraphicsContext3D::clearStencil):
1352         (WebCore::GraphicsContext3D::colorMask):
1353         (WebCore::GraphicsContext3D::compileShader):
1354         (WebCore::GraphicsContext3D::copyTexImage2D):
1355         (WebCore::GraphicsContext3D::copyTexSubImage2D):
1356         (WebCore::GraphicsContext3D::cullFace):
1357         (WebCore::GraphicsContext3D::depthFunc):
1358         (WebCore::GraphicsContext3D::depthMask):
1359         (WebCore::GraphicsContext3D::depthRange):
1360         (WebCore::GraphicsContext3D::detachShader):
1361         (WebCore::GraphicsContext3D::disable):
1362         (WebCore::GraphicsContext3D::disableVertexAttribArray):
1363         (WebCore::GraphicsContext3D::drawArrays):
1364         (WebCore::GraphicsContext3D::drawElements):
1365         (WebCore::GraphicsContext3D::enable):
1366         (WebCore::GraphicsContext3D::enableVertexAttribArray):
1367         (WebCore::GraphicsContext3D::finish):
1368         (WebCore::GraphicsContext3D::flush):
1369         (WebCore::GraphicsContext3D::framebufferRenderbuffer):
1370         (WebCore::GraphicsContext3D::framebufferTexture2D):
1371         (WebCore::GraphicsContext3D::frontFace):
1372         (WebCore::GraphicsContext3D::generateMipmap):
1373         (WebCore::GraphicsContext3D::getActiveAttrib):
1374         (WebCore::GraphicsContext3D::getActiveUniform):
1375         (WebCore::GraphicsContext3D::getAttachedShaders):
1376         (WebCore::GraphicsContext3D::getAttribLocation):
1377         (WebCore::GraphicsContext3D::getBooleanv):
1378         (WebCore::GraphicsContext3D::getBufferParameteriv):
1379         (WebCore::GraphicsContext3D::getContextAttributes):
1380         (WebCore::GraphicsContext3D::getError):
1381         (WebCore::GraphicsContext3D::getFloatv):
1382         (WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
1383         (WebCore::GraphicsContext3D::getIntegerv):
1384         (WebCore::GraphicsContext3D::getProgramiv):
1385         (WebCore::GraphicsContext3D::getProgramInfoLog):
1386         (WebCore::GraphicsContext3D::getRenderbufferParameteriv):
1387         (WebCore::GraphicsContext3D::getShaderiv):
1388         (WebCore::GraphicsContext3D::getShaderInfoLog):
1389         (WebCore::GraphicsContext3D::getShaderSource):
1390         (WebCore::GraphicsContext3D::getString):
1391         (WebCore::GraphicsContext3D::getTexParameterfv):
1392         (WebCore::GraphicsContext3D::getTexParameteriv):
1393         (WebCore::GraphicsContext3D::getUniformfv):
1394         (WebCore::GraphicsContext3D::getUniformiv):
1395         (WebCore::GraphicsContext3D::getUniformLocation):
1396         (WebCore::GraphicsContext3D::getVertexAttribfv):
1397         (WebCore::GraphicsContext3D::getVertexAttribiv):
1398         (WebCore::GraphicsContext3D::getVertexAttribOffset):
1399         (WebCore::GraphicsContext3D::hint):
1400         (WebCore::GraphicsContext3D::isBuffer):
1401         (WebCore::GraphicsContext3D::isEnabled):
1402         (WebCore::GraphicsContext3D::isFramebuffer):
1403         (WebCore::GraphicsContext3D::isProgram):
1404         (WebCore::GraphicsContext3D::isRenderbuffer):
1405         (WebCore::GraphicsContext3D::isShader):
1406         (WebCore::GraphicsContext3D::isTexture):
1407         (WebCore::GraphicsContext3D::lineWidth):
1408         (WebCore::GraphicsContext3D::linkProgram):
1409         (WebCore::GraphicsContext3D::pixelStorei):
1410         (WebCore::GraphicsContext3D::polygonOffset):
1411         (WebCore::GraphicsContext3D::readPixels):
1412         (WebCore::GraphicsContext3D::releaseShaderCompiler):
1413         (WebCore::GraphicsContext3D::renderbufferStorage):
1414         (WebCore::GraphicsContext3D::sampleCoverage):
1415         (WebCore::GraphicsContext3D::scissor):
1416         (WebCore::GraphicsContext3D::shaderSource):
1417         (WebCore::GraphicsContext3D::stencilFunc):
1418         (WebCore::GraphicsContext3D::stencilFuncSeparate):
1419         (WebCore::GraphicsContext3D::stencilMask):
1420         (WebCore::GraphicsContext3D::stencilMaskSeparate):
1421         (WebCore::GraphicsContext3D::stencilOp):
1422         (WebCore::GraphicsContext3D::stencilOpSeparate):
1423         (WebCore::GraphicsContext3D::texImage2D):
1424         (WebCore::GraphicsContext3D::texParameterf):
1425         (WebCore::GraphicsContext3D::texParameteri):
1426         (WebCore::GraphicsContext3D::texSubImage2D):
1427         (WebCore::GraphicsContext3D::uniform1f):
1428         (WebCore::GraphicsContext3D::uniform1fv):
1429         (WebCore::GraphicsContext3D::uniform1i):
1430         (WebCore::GraphicsContext3D::uniform1iv):
1431         (WebCore::GraphicsContext3D::uniform2f):
1432         (WebCore::GraphicsContext3D::uniform2fv):
1433         (WebCore::GraphicsContext3D::uniform2i):
1434         (WebCore::GraphicsContext3D::uniform2iv):
1435         (WebCore::GraphicsContext3D::uniform3f):
1436         (WebCore::GraphicsContext3D::uniform3fv):
1437         (WebCore::GraphicsContext3D::uniform3i):
1438         (WebCore::GraphicsContext3D::uniform3iv):
1439         (WebCore::GraphicsContext3D::uniform4f):
1440         (WebCore::GraphicsContext3D::uniform4fv):
1441         (WebCore::GraphicsContext3D::uniform4i):
1442         (WebCore::GraphicsContext3D::uniform4iv):
1443         (WebCore::GraphicsContext3D::uniformMatrix2fv):
1444         (WebCore::GraphicsContext3D::uniformMatrix3fv):
1445         (WebCore::GraphicsContext3D::uniformMatrix4fv):
1446         (WebCore::GraphicsContext3D::useProgram):
1447         (WebCore::GraphicsContext3D::validateProgram):
1448         (WebCore::GraphicsContext3D::vertexAttrib1f):
1449         (WebCore::GraphicsContext3D::vertexAttrib1fv):
1450         (WebCore::GraphicsContext3D::vertexAttrib2f):
1451         (WebCore::GraphicsContext3D::vertexAttrib2fv):
1452         (WebCore::GraphicsContext3D::vertexAttrib3f):
1453         (WebCore::GraphicsContext3D::vertexAttrib3fv):
1454         (WebCore::GraphicsContext3D::vertexAttrib4f):
1455         (WebCore::GraphicsContext3D::vertexAttrib4fv):
1456         (WebCore::GraphicsContext3D::vertexAttribPointer):
1457         (WebCore::GraphicsContext3D::viewport):
1458         (WebCore::GraphicsContext3D::reshape):
1459         (WebCore::GraphicsContext3D::markContextChanged):
1460         (WebCore::GraphicsContext3D::markLayerComposited):
1461         (WebCore::GraphicsContext3D::layerComposited):
1462         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1463         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
1464         (WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
1465         (WebCore::GraphicsContext3D::createBuffer):
1466         (WebCore::GraphicsContext3D::createFramebuffer):
1467         (WebCore::GraphicsContext3D::createProgram):
1468         (WebCore::GraphicsContext3D::createRenderbuffer):
1469         (WebCore::GraphicsContext3D::createShader):
1470         (WebCore::GraphicsContext3D::createTexture):
1471         (WebCore::GraphicsContext3D::deleteBuffer):
1472         (WebCore::GraphicsContext3D::deleteFramebuffer):
1473         (WebCore::GraphicsContext3D::deleteProgram):
1474         (WebCore::GraphicsContext3D::deleteRenderbuffer):
1475         (WebCore::GraphicsContext3D::deleteShader):
1476         (WebCore::GraphicsContext3D::deleteTexture):
1477         (WebCore::GraphicsContext3D::synthesizeGLError):
1478         (WebCore::GraphicsContext3D::getExtensions):
1479         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1480         (WebCore::GraphicsContext3D::setContextLostCallback):
1481         (WebCore::GraphicsContext3D::getImageData):
1482         (WebCore::GraphicsContext3D::validateAttributes):
1483         (WebCore::GraphicsContext3D::readRenderingResults):
1484         (WebCore::GraphicsContext3D::reshapeFBOs):
1485         (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary):
1486         (WebCore::GraphicsContext3D::isResourceSafe):
1487
1488 2012-02-26  James Robinson  <jamesr@chromium.org>
1489
1490         [chromium] Wire up shouldUpdateScrollPositionOnMainThread and nonFastScrollableRegion to compositor
1491         https://bugs.webkit.org/show_bug.cgi?id=79155
1492
1493         Reviewed by Adam Barth.
1494
1495         This hooks up ScrollingCoordinator::setNonFastScrollableRegion() and
1496         ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread() to the chromium compositor
1497         implementation and implements them on the impl thread.
1498
1499         New compositor behavior is covered by unit tests in LayerChromiumTests and CCLayerTreeHostImplTests. The rest is
1500         just glue code.
1501
1502         * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
1503         (WebCore::ScrollingCoordinator::setNonFastScrollableRegion):
1504         (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
1505         * platform/graphics/chromium/LayerChromium.cpp:
1506         (WebCore::LayerChromium::LayerChromium):
1507         (WebCore::LayerChromium::setShouldScrollOnMainThread):
1508         (WebCore):
1509         (WebCore::LayerChromium::setNonFastScrollableRegion):
1510         (WebCore::LayerChromium::pushPropertiesTo):
1511         * platform/graphics/chromium/LayerChromium.h:
1512         (WebCore):
1513         (LayerChromium):
1514         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1515         (WebCore::CCLayerImpl::CCLayerImpl):
1516         * platform/graphics/chromium/cc/CCLayerImpl.h:
1517         (WebCore::CCLayerImpl::shouldScrollOnMainThread):
1518         (WebCore::CCLayerImpl::setShouldScrollOnMainThread):
1519         (CCLayerImpl):
1520         (WebCore::CCLayerImpl::nonFastScrollableRegion):
1521         (WebCore::CCLayerImpl::setNonFastScrollableRegion):
1522         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
1523         (WebCore::CCLayerTreeHostImpl::scrollBegin):
1524
1525 2012-02-26  Kentaro Hara  <haraken@chromium.org>
1526
1527         Unreviewed. Rebaselined run-bindings-tests results.
1528
1529         * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp:
1530         (webkit_dom_test_interface_supplemental_method4):
1531
1532 2012-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1533
1534         Unreviewed, rolling out r108547.
1535         http://trac.webkit.org/changeset/108547
1536         https://bugs.webkit.org/show_bug.cgi?id=79606
1537
1538         Crashes on ClusterFuzz (Requested by inferno-sec on #webkit).
1539
1540         * rendering/RenderBlockLineLayout.cpp:
1541         (WebCore::RenderBlock::layoutInlineChildren):
1542
1543 2012-02-25  Adam Barth  <abarth@webkit.org>
1544
1545         Move websockets to Modules/websockets
1546         https://bugs.webkit.org/show_bug.cgi?id=79598
1547
1548         Reviewed by Eric Seidel.
1549
1550         Nowadays, the only ENABLE(WEB_SOCKETS) ifdef in WebCore proper is in
1551         WebCore::Settings, and that will be removed (soon?) once Apple drops
1552         support for the old WebSockets protocol.
1553
1554         * CMakeLists.txt:
1555         * DerivedSources.make:
1556         * DerivedSources.pri:
1557         * GNUmakefile.am:
1558         * GNUmakefile.list.am:
1559         * Modules/websockets: Copied from Source/WebCore/websockets.
1560         * Target.pri:
1561         * WebCore.gyp/WebCore.gyp:
1562         * WebCore.gypi:
1563         * WebCore.pri:
1564         * WebCore.vcproj/WebCore.vcproj:
1565         * WebCore.vcproj/WebCoreCommon.vsprops:
1566         * WebCore.vcproj/copyForwardingHeaders.cmd:
1567         * WebCore.xcodeproj/project.pbxproj:
1568         * websockets: Removed.
1569         * websockets/CloseEvent.h: Removed.
1570         * websockets/CloseEvent.idl: Removed.
1571         * websockets/DOMWindowWebSocket.idl: Removed.
1572         * websockets/ThreadableWebSocketChannel.cpp: Removed.
1573         * websockets/ThreadableWebSocketChannel.h: Removed.
1574         * websockets/ThreadableWebSocketChannelClientWrapper.cpp: Removed.
1575         * websockets/ThreadableWebSocketChannelClientWrapper.h: Removed.
1576         * websockets/WebSocket.cpp: Removed.
1577         * websockets/WebSocket.h: Removed.
1578         * websockets/WebSocket.idl: Removed.
1579         * websockets/WebSocketChannel.cpp: Removed.
1580         * websockets/WebSocketChannel.h: Removed.
1581         * websockets/WebSocketChannelClient.h: Removed.
1582         * websockets/WebSocketDeflater.cpp: Removed.
1583         * websockets/WebSocketDeflater.h: Removed.
1584         * websockets/WebSocketExtensionDispatcher.cpp: Removed.
1585         * websockets/WebSocketExtensionDispatcher.h: Removed.
1586         * websockets/WebSocketExtensionProcessor.h: Removed.
1587         * websockets/WebSocketFrame.h: Removed.
1588         * websockets/WebSocketHandshake.cpp: Removed.
1589         * websockets/WebSocketHandshake.h: Removed.
1590         * websockets/WebSocketHandshakeRequest.cpp: Removed.
1591         * websockets/WebSocketHandshakeRequest.h: Removed.
1592         * websockets/WebSocketHandshakeResponse.cpp: Removed.
1593         * websockets/WebSocketHandshakeResponse.h: Removed.
1594         * websockets/WorkerThreadableWebSocketChannel.cpp: Removed.
1595         * websockets/WorkerThreadableWebSocketChannel.h: Removed.
1596
1597 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1598
1599         Get rid of KURL::deprecatedString()
1600         https://bugs.webkit.org/show_bug.cgi?id=79594
1601
1602         Reviewed by Andreas Kling.
1603
1604         The method KURL::deprecatedString() is unused, remove it from WebCore.
1605
1606         The last reference to the method was removed in r96779.
1607
1608         * platform/KURL.cpp:
1609         (WebCore):
1610         * platform/KURL.h:
1611         (KURL):
1612         * platform/KURLGoogle.cpp:
1613         (WebCore):
1614         * platform/KURLWTFURL.cpp:
1615         (WebCore):
1616
1617 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1618
1619         Get rid of copyParsedQueryTo()
1620         https://bugs.webkit.org/show_bug.cgi?id=79590
1621
1622         Reviewed by Andreas Kling.
1623
1624         The function KURL::copyParsedQueryTo() is unused. Remove it from WebCore.
1625
1626         The function was used by HTMLAnchorElement::getParameter() but that feature
1627         was removed in r100164.
1628
1629         * WebCore.order:
1630         * platform/KURL.cpp:
1631         (WebCore):
1632         * platform/KURL.h:
1633         (WebCore):
1634         (KURL):
1635         * platform/KURLGoogle.cpp:
1636         (WebCore):
1637         * platform/KURLWTFURL.cpp:
1638         (WebCore):
1639
1640 2012-02-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1641
1642         Unreviewed, rolling out r108924.
1643         http://trac.webkit.org/changeset/108924
1644         https://bugs.webkit.org/show_bug.cgi?id=79597
1645
1646         broke 4 inspector tests (Requested by kling on #webkit).
1647
1648         * dom/StyledElement.cpp:
1649         (WebCore::StyledElement::parseAttribute):
1650
1651 2012-02-25  Adam Barth  <abarth@webkit.org>
1652
1653         Fix typo in comment.  This #endif is for a different ENABLE macro.
1654
1655         * page/NavigatorRegisterProtocolHandler.cpp:
1656
1657 2012-02-25  Anders Carlsson  <andersca@apple.com>
1658
1659         Move an ASSERT to avoid it firing due to a race condition
1660         https://bugs.webkit.org/show_bug.cgi?id=79596
1661
1662         Reviewed by Andreas Kling.
1663
1664         ScrollingThread::isCurrentThread() can return false if called too early.
1665         Move it into ScrollingThread::initializeRunLoop where we know that the thread has
1666         been set up correctly.
1667
1668         * page/scrolling/ScrollingThread.cpp:
1669         (WebCore::ScrollingThread::threadBody):
1670         * page/scrolling/mac/ScrollingThreadMac.mm:
1671         (WebCore::ScrollingThread::initializeRunLoop):
1672
1673 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1674
1675         Setting style="" should destroy the element's inline style.
1676         <http://webkit.org/b/79595>
1677
1678         Reviewed by Anders Carlsson.
1679
1680         There's no reason for an element with style="" to have an inline style object.
1681         Remove the inline style in that case, just like we do when removing the style
1682         attribute altogether.
1683
1684         * dom/StyledElement.cpp:
1685         (WebCore::StyledElement::parseAttribute):
1686
1687 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1688
1689         Allow matched property cache for elements with additional attribute style.
1690         <http://webkit.org/b/79583>
1691
1692         Reviewed by Antti Koivisto.
1693
1694         There's no reason to disallow the matched style property cache for elements
1695         that return something from additionalAttributeStyle(). The only requirement
1696         for a property set to be cached is that it either doesn't mutate OR that it
1697         invalidates the document's CSSStyleSelector when doing so.
1698
1699         This allows some more match caching for table-related elements, though we
1700         are still held back by explicitly 'inherited' properties in html.css.
1701
1702         * css/CSSStyleSelector.cpp:
1703         (WebCore::CSSStyleSelector::collectMatchingRulesForList):
1704
1705 2012-02-25  Julien Chaffraix  <jchaffraix@webkit.org>
1706
1707         Clean-up RenderTableSection::calcRowLogicalHeight
1708         https://bugs.webkit.org/show_bug.cgi?id=77705
1709
1710         Reviewed by Nikolas Zimmermann.
1711
1712         Refactoring / simplication of the code.
1713
1714         This change removes some variables that were unneeded and were
1715         hiding what the code was really doing. Also some of the code was
1716         split and moved down to RenderTableCell.
1717
1718         * rendering/RenderTableCell.cpp:
1719         (WebCore::RenderTableCell::logicalHeightForRowSizing):
1720         * rendering/RenderTableCell.h:
1721         (RenderTableCell):
1722         Added the previous helper function to calculate the cell's
1723         adjusted logical height.
1724
1725         * rendering/RenderTableSection.cpp:
1726         (WebCore::RenderTableSection::calcRowLogicalHeight):
1727         Removed some variables, simplified the rowspan logic to be clearer
1728         (and added a comment about how we handle rowspans).
1729
1730 2012-02-25  Benjamin Poulain  <benjamin@webkit.org>
1731
1732         Add an empty skeleton of KURL for WTFURL
1733         https://bugs.webkit.org/show_bug.cgi?id=78990
1734
1735         Reviewed by Adam Barth.
1736
1737         Add an empty skeleton of KURL based on WTFURL.
1738
1739         With WTFURL, the data of KURL is in an implicitely shared object
1740         named KURLWTFURLImpl.
1741
1742         In KURLWTFURLImpl, KURL created with invalid URL would be stored
1743         as a String. A valid URL would be stored as a ParsedURL.
1744
1745         * ForwardingHeaders/wtf/url/ParsedURL.h: Added.
1746         * WebCore.exp.in:
1747         * WebCore.xcodeproj/project.pbxproj:
1748         * platform/KURL.cpp:
1749         (WebCore):
1750         * platform/KURL.h:
1751         (KURL):
1752         (WebCore::KURL::KURL):
1753         (WebCore::KURL::isHashTableDeletedValue):
1754         (WebCore):
1755         * platform/KURLWTFURL.cpp: Added.
1756         (WebCore):
1757         (WebCore::KURL::KURL):
1758         (WebCore::KURL::copy):
1759         (WebCore::KURL::isNull):
1760         (WebCore::KURL::isEmpty):
1761         (WebCore::KURL::isValid):
1762         (WebCore::KURL::hasPath):
1763         (WebCore::KURL::string):
1764         (WebCore::KURL::protocol):
1765         (WebCore::KURL::host):
1766         (WebCore::KURL::port):
1767         (WebCore::KURL::hasPort):
1768         (WebCore::KURL::user):
1769         (WebCore::KURL::pass):
1770         (WebCore::KURL::path):
1771         (WebCore::KURL::lastPathComponent):
1772         (WebCore::KURL::query):
1773         (WebCore::KURL::fragmentIdentifier):
1774         (WebCore::KURL::hasFragmentIdentifier):
1775         (WebCore::KURL::copyParsedQueryTo):
1776         (WebCore::KURL::baseAsString):
1777         (WebCore::KURL::deprecatedString):
1778         (WebCore::KURL::fileSystemPath):
1779         (WebCore::KURL::protocolIs):
1780         (WebCore::KURL::protocolIsInHTTPFamily):
1781         (WebCore::KURL::setProtocol):
1782         (WebCore::KURL::setHost):
1783         (WebCore::KURL::removePort):
1784         (WebCore::KURL::setPort):
1785         (WebCore::KURL::setHostAndPort):
1786         (WebCore::KURL::setUser):
1787         (WebCore::KURL::setPass):
1788         (WebCore::KURL::setPath):
1789         (WebCore::KURL::setQuery):
1790         (WebCore::KURL::setFragmentIdentifier):
1791         (WebCore::KURL::removeFragmentIdentifier):
1792         (WebCore::KURL::hostStart):
1793         (WebCore::KURL::hostEnd):
1794         (WebCore::KURL::pathStart):
1795         (WebCore::KURL::pathEnd):
1796         (WebCore::KURL::pathAfterLastSlash):
1797         (WebCore::KURL::invalidate):
1798         (WebCore::KURL::isHierarchical):
1799         (WebCore::protocolIs):
1800         (WebCore::equalIgnoringFragmentIdentifier):
1801         (WebCore::protocolHostAndPortAreEqual):
1802         (WebCore::encodeWithURLEscapeSequences):
1803         (WebCore::decodeURLEscapeSequences):
1804         * platform/KURLWTFURLImpl.h: Copied from Source/WebCore/platform/mac/KURLMac.mm.
1805         (WebCore):
1806         (KURLWTFURLImpl):
1807         * platform/cf/KURLCFNet.cpp:
1808         (WebCore):
1809         (WebCore::KURL::KURL):
1810         (WebCore::KURL::createCFURL):
1811         * platform/mac/KURLMac.mm:
1812         (WebCore):
1813         (WebCore::KURL::KURL):
1814         (WebCore::KURL::operator NSURL *):
1815
1816 2012-02-25  Anders Carlsson  <andersca@apple.com>
1817
1818         Make the libc++ workaround more targeted
1819         https://bugs.webkit.org/show_bug.cgi?id=79578
1820         <rdar://problem/10933150>
1821
1822         Reviewed by Sam Weinig.
1823
1824         Change the std::move implementation to take a WebCore::TimerHeapReference directly so 
1825         WebCore still builds with a version of libc++ that has the right std::move function template.
1826
1827         * WebCorePrefix.h:
1828         (WebCore):
1829         (move):
1830
1831 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1832
1833         Remove HTMLEmbedElement::insertedIntoDocument().
1834         <http://webkit.org/b/79576>
1835
1836         Reviewed by Anders Carlsson.
1837
1838         * html/HTMLEmbedElement.cpp:
1839         * html/HTMLEmbedElement.h:
1840
1841 2012-02-25  Adrienne Walker  <enne@google.com>
1842
1843         Fix unused variable warnings in HarfBuzzShaperBase
1844         https://bugs.webkit.org/show_bug.cgi?id=79575
1845
1846         Reviewed by Andreas Kling.
1847
1848         In builds where asserts are not enabled, the error variable is unused.
1849
1850         * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
1851         (WebCore::normalizeSpacesAndMirrorChars):
1852
1853 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1854
1855         Remove HTMLTableElement::attach().
1856         <http://webkit.org/b/79574>
1857
1858         Reviewed by Anders Carlsson.
1859
1860         Remove this attach() override since it was only used to assert that
1861         we're not already attached, and this is already done by Node::attach().
1862
1863         * html/HTMLTableElement.cpp:
1864         * html/HTMLTableElement.h:
1865
1866 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1867
1868         HTMLTableElement: Avoid CSSParser in createSharedCellStyle().
1869         <http://webkit.org/b/79573>
1870
1871         Reviewed by Anders Carlsson.
1872
1873         * html/HTMLTableElement.cpp:
1874         (WebCore::HTMLTableElement::createSharedCellStyle):
1875
1876 2012-02-25  Nikolas Zimmermann  <nzimmermann@rim.com>
1877
1878         Unreviewed, rolling out r108557.
1879         http://trac.webkit.org/changeset/108557
1880         https://bugs.webkit.org/show_bug.cgi?id=77705
1881
1882         Broke svg/zoom/page/zoom-replated-intrinsic-ratio-001.htm.
1883
1884         * rendering/RenderTableCell.cpp:
1885         * rendering/RenderTableCell.h:
1886         (RenderTableCell):
1887         * rendering/RenderTableSection.cpp:
1888         (WebCore::RenderTableSection::calcRowLogicalHeight):
1889
1890 2012-02-25  Andreas Kling  <awesomekling@apple.com>
1891
1892         HTMLParamElement: Clean up name/value attribute handling.
1893         <http://webkit.org/b/79559>
1894
1895         Reviewed by Anders Carlsson.
1896
1897         Out-of-line name() and value(), and move the logic from parseAttribute()
1898         into them instead. This makes the class a bit simpler and shrinks it by
1899         two AtomicStrings. Also reduced isURLAttribute() to a two-liner.
1900
1901         * html/HTMLParamElement.cpp:
1902         (WebCore::HTMLParamElement::name):
1903         (WebCore::HTMLParamElement::value):
1904         (WebCore::HTMLParamElement::isURLAttribute):
1905         * html/HTMLParamElement.h:
1906
1907 2012-02-24  Tien-Ren Chen  <trchen@chromium.org>
1908
1909         [chromium] Replace RefPtr with OwnPtr for CCLayerImpl tree structure
1910         https://bugs.webkit.org/show_bug.cgi?id=78404
1911
1912         Reviewed by James Robinson.
1913
1914         No new tests. Updated existing test to reflect changes.
1915
1916         * platform/graphics/chromium/CanvasLayerChromium.cpp:
1917         (WebCore::CanvasLayerChromium::createCCLayerImpl):
1918         * platform/graphics/chromium/CanvasLayerChromium.h:
1919         (CanvasLayerChromium):
1920         * platform/graphics/chromium/LayerChromium.cpp:
1921         (WebCore::LayerChromium::createCCLayerImpl):
1922         * platform/graphics/chromium/LayerChromium.h:
1923         (LayerChromium):
1924         * platform/graphics/chromium/PluginLayerChromium.cpp:
1925         (WebCore::PluginLayerChromium::createCCLayerImpl):
1926         * platform/graphics/chromium/PluginLayerChromium.h:
1927         (PluginLayerChromium):
1928         * platform/graphics/chromium/SolidColorLayerChromium.cpp:
1929         (WebCore::SolidColorLayerChromium::createCCLayerImpl):
1930         * platform/graphics/chromium/SolidColorLayerChromium.h:
1931         (SolidColorLayerChromium):
1932         * platform/graphics/chromium/TiledLayerChromium.cpp:
1933         (WebCore::TiledLayerChromium::createCCLayerImpl):
1934         * platform/graphics/chromium/TiledLayerChromium.h:
1935         (TiledLayerChromium):
1936         * platform/graphics/chromium/TreeSynchronizer.cpp:
1937         (WebCore::TreeSynchronizer::synchronizeTrees):
1938         (WebCore::TreeSynchronizer::collectExistingCCLayerImplRecursive):
1939         (WebCore):
1940         (WebCore::TreeSynchronizer::reuseOrCreateCCLayerImpl):
1941         (WebCore::TreeSynchronizer::synchronizeTreeRecursive):
1942         * platform/graphics/chromium/TreeSynchronizer.h:
1943         (TreeSynchronizer):
1944         * platform/graphics/chromium/VideoLayerChromium.cpp:
1945         (WebCore::VideoLayerChromium::createCCLayerImpl):
1946         * platform/graphics/chromium/VideoLayerChromium.h:
1947         (VideoLayerChromium):
1948         * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
1949         (WebCore::CCCanvasLayerImpl::create):
1950         * platform/graphics/chromium/cc/CCDamageTracker.cpp:
1951         (WebCore::CCDamageTracker::updateDamageTrackingState):
1952         (WebCore::CCDamageTracker::trackDamageFromActiveLayers):
1953         * platform/graphics/chromium/cc/CCDamageTracker.h:
1954         (CCDamageTracker):
1955         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
1956         (WebCore::CCLayerImpl::CCLayerImpl):
1957         (WebCore::CCLayerImpl::addChild):
1958         (WebCore::sortLayers):
1959         (WebCore::CCLayerImpl::setMaskLayer):
1960         (WebCore::CCLayerImpl::setReplicaLayer):
1961         * platform/graphics/chromium/cc/CCLayerImpl.h:
1962         (WebCore::CCLayerImpl::create):
1963         (WebCore::CCLayerImpl::children):
1964         (CCLayerImpl):
1965         (WebCore):
1966         * platform/graphics/chromium/cc/CCLayerIterator.cpp:
1967         (WebCore):
1968         (WebCore::CCLayerIteratorActions::BackToFront::begin):
1969         (WebCore::CCLayerIteratorActions::BackToFront::end):
1970         (WebCore::CCLayerIteratorActions::BackToFront::next):
1971         (WebCore::CCLayerIteratorActions::FrontToBack::begin):
1972         (WebCore::CCLayerIteratorActions::FrontToBack::end):
1973         (WebCore::CCLayerIteratorActions::FrontToBack::next):
1974         (WebCore::CCLayerIteratorActions::FrontToBack::goToHighestInSubtree):
1975         * platform/graphics/chromium/cc/CCLayerIterator.h:
1976         (WebCore):
1977         (CCLayerIterator):
1978         (WebCore::CCLayerIterator::begin):
1979         (WebCore::CCLayerIterator::end):
1980         (WebCore::CCLayerIterator::targetRenderSurfaceLayer):
1981         (WebCore::CCLayerIterator::CCLayerIterator):
1982         (WebCore::CCLayerIterator::getRawPtr):
1983         (WebCore::CCLayerIterator::currentLayer):
1984         (WebCore::CCLayerIterator::targetRenderSurfaceChildren):
1985         (BackToFront):
1986         (FrontToBack):
1987         * platform/graphics/chromium/cc/CCLayerSorter.cpp:
1988         (WebCore::CCLayerSorter::createGraphNodes):
1989         * platform/graphics/chromium/cc/CCLayerSorter.h:
1990         (CCLayerSorter):
1991         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1992         (WebCore::CCLayerTreeHost::finishCommitOnImplThread):
1993         (WebCore::CCLayerTreeHost::didBecomeInvisibleOnImplThread):
1994         (WebCore::CCLayerTreeHost::reserveTextures):
1995         (WebCore::CCLayerTreeHost::paintLayerContents):
1996         (WebCore::CCLayerTreeHost::updateCompositorResources):
1997         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
1998         (WebCore):
1999         (WebCore::calculateDrawTransformsAndVisibilityInternal):
2000         (WebCore::walkLayersAndCalculateVisibleLayerRects):
2001         (WebCore::CCLayerTreeHostCommon::calculateDrawTransformsAndVisibility):
2002         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.h:
2003         (CCLayerTreeHostCommon):
2004         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
2005         (WebCore::CCLayerTreeHostImpl::CCLayerTreeHostImpl):
2006         (WebCore::CCLayerTreeHostImpl::trackDamageForAllSurfaces):
2007         (WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
2008         (WebCore::CCLayerTreeHostImpl::drawLayers):
2009         (WebCore::CCLayerTreeHostImpl::setRootLayer):
2010         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
2011         (CCLayerTreeHostImpl):
2012         (WebCore::CCLayerTreeHostImpl::releaseRootLayer):
2013         (WebCore::CCLayerTreeHostImpl::scrollLayer):
2014         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
2015         (WebCore::CCPluginLayerImpl::create):
2016         * platform/graphics/chromium/cc/CCRenderSurface.h:
2017         (WebCore::CCRenderSurface::layerList):
2018         (CCRenderSurface):
2019         * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
2020         (WebCore::CCSolidColorLayerImpl::create):
2021         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
2022         (WebCore::CCTiledLayerImpl::create):
2023         * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
2024         (WebCore::CCVideoLayerImpl::create):
2025
2026 2012-02-24  Andreas Kling  <awesomekling@apple.com>
2027
2028         Don't pass constant strings to CSSParser for presentation attributes.
2029         <http://webkit.org/b/79530>
2030
2031         Reviewed by Anders Carlsson.
2032
2033         "both" -> CSSValueBoth.
2034         "center" -> CSSValueCenter.
2035
2036         * html/HTMLBRElement.cpp:
2037         (WebCore::HTMLBRElement::collectStyleForAttribute):
2038         * html/HTMLElement.cpp:
2039         (WebCore::HTMLElement::collectStyleForAttribute):
2040
2041 2012-02-24  Yael Aharon  <yael.aharon@nokia.com>
2042
2043         [Texmap] Add const-ness to TextureMapperShaderManager
2044         https://bugs.webkit.org/show_bug.cgi?id=79545
2045
2046         Reviewed by Noam Rosenthal.
2047         
2048         Add const to new methods.
2049         No new tests.
2050
2051         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
2052         (WebCore::TextureMapperShaderProgramSimple::vertexShaderSource):
2053         (WebCore::TextureMapperShaderProgramSimple::fragmentShaderSource):
2054         (WebCore::TextureMapperShaderProgramOpacityAndMask::vertexShaderSource):
2055         (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource):
2056         * platform/graphics/texmap/TextureMapperShaderManager.h:
2057         (WebCore::TextureMapperShaderProgram::matrixVariable):
2058         (WebCore::TextureMapperShaderProgram::sourceMatrixVariable):
2059         (WebCore::TextureMapperShaderProgram::sourceTextureVariable):
2060         (WebCore::TextureMapperShaderProgram::opacityVariable):
2061         (TextureMapperShaderProgram):
2062         (TextureMapperShaderProgramSimple):
2063         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable):
2064         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable):
2065         (TextureMapperShaderProgramOpacityAndMask):
2066
2067 2012-02-24  Tom Sepez  <tsepez@chromium.org>
2068
2069         XSS Auditor targeting legitimate frames as false positives.
2070         https://bugs.webkit.org/show_bug.cgi?id=79397
2071
2072         Reviewed by Adam Barth.
2073
2074         Test: http/tests/security/xssAuditor/script-tag-safe4.html
2075
2076         * html/parser/XSSAuditor.cpp:
2077         (WebCore::XSSAuditor::filterCharacterToken):
2078         (WebCore::XSSAuditor::filterScriptToken):
2079         (WebCore::XSSAuditor::filterObjectToken):
2080         (WebCore::XSSAuditor::filterEmbedToken):
2081         (WebCore::XSSAuditor::filterAppletToken):
2082         (WebCore::XSSAuditor::filterIframeToken):
2083         (WebCore::XSSAuditor::decodedSnippetForToken):
2084         (WebCore):
2085         (WebCore::XSSAuditor::decodedSnippetForName):
2086         (WebCore::XSSAuditor::decodedSnippetForAttribute):
2087         (WebCore::XSSAuditor::decodedSnippetForJavascript):
2088         (WebCore::XSSAuditor::isContainedInRequest):
2089         (WebCore::XSSAuditor::isSameOriginResource):
2090         * html/parser/XSSAuditor.h:
2091
2092 2012-02-24  Ian Vollick  <vollick@chromium.org>
2093
2094         [chromium] Plumb animation started notifications from CCLayerTreeHost to GraphicsLayerChromium
2095         https://bugs.webkit.org/show_bug.cgi?id=77646
2096
2097         Reviewed by James Robinson.
2098
2099         * WebCore.gypi:
2100         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
2101         (std):
2102         (WebCore::GraphicsLayerChromium::~GraphicsLayerChromium):
2103         (WebCore::GraphicsLayerChromium::addAnimation):
2104         (WebCore::GraphicsLayerChromium::pauseAnimation):
2105         (WebCore::GraphicsLayerChromium::removeAnimation):
2106         (WebCore::GraphicsLayerChromium::suspendAnimations):
2107         (WebCore::GraphicsLayerChromium::resumeAnimations):
2108         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
2109         (WebCore::GraphicsLayerChromium::mapAnimationNameToId):
2110         (WebCore):
2111         (WebCore::GraphicsLayerChromium::notifyAnimationStarted):
2112         (WebCore::GraphicsLayerChromium::notifyAnimationFinished):
2113         * platform/graphics/chromium/GraphicsLayerChromium.h:
2114         (GraphicsLayerChromium):
2115         * platform/graphics/chromium/LayerChromium.cpp:
2116         (WebCore::LayerChromium::LayerChromium):
2117         (WebCore::LayerChromium::setAnimationEvent):
2118         (WebCore):
2119         * platform/graphics/chromium/LayerChromium.h:
2120         (WebCore):
2121         (LayerChromium):
2122         (WebCore::LayerChromium::setLayerAnimationDelegate):
2123         * platform/graphics/chromium/cc/CCAnimationEvents.cpp: Added.
2124         (WebCore):
2125         (WebCore::CCAnimationEvent::CCAnimationEvent):
2126         (WebCore::CCAnimationEvent::~CCAnimationEvent):
2127         (WebCore::CCAnimationEvent::toAnimationStartedEvent):
2128         (WebCore::CCAnimationEvent::toAnimationFinishedEvent):
2129         (WebCore::CCAnimationStartedEvent::create):
2130         (WebCore::CCAnimationStartedEvent::CCAnimationStartedEvent):
2131         (WebCore::CCAnimationStartedEvent::~CCAnimationStartedEvent):
2132         (WebCore::CCAnimationStartedEvent::type):
2133         (WebCore::CCAnimationFinishedEvent::create):
2134         (WebCore::CCAnimationFinishedEvent::CCAnimationFinishedEvent):
2135         (WebCore::CCAnimationFinishedEvent::~CCAnimationFinishedEvent):
2136         (WebCore::CCAnimationFinishedEvent::type):
2137         * platform/graphics/chromium/cc/CCAnimationEvents.h:
2138         (WebCore):
2139         (CCAnimationEvent):
2140         (WebCore::CCAnimationEvent::layerId):
2141         (CCAnimationStartedEvent):
2142         (WebCore::CCAnimationStartedEvent::startTime):
2143         (CCAnimationFinishedEvent):
2144         (WebCore::CCAnimationFinishedEvent::animationId):
2145         * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.cpp:
2146         (WebCore::CCLayerAnimationControllerImpl::animate):
2147         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForNextTick):
2148         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForStartTime):
2149         (WebCore::CCLayerAnimationControllerImpl::startAnimationsWaitingForTargetAvailability):
2150         (WebCore::CCLayerAnimationControllerImpl::purgeFinishedAnimations):
2151         (WebCore::CCLayerAnimationControllerImpl::tickAnimations):
2152         * platform/graphics/chromium/cc/CCLayerAnimationControllerImpl.h:
2153         (CCLayerAnimationControllerImpl):
2154         * platform/graphics/chromium/cc/CCLayerAnimationDelegate.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCAnimationEvents.h.
2155         (WebCore):
2156         (CCLayerAnimationDelegate):
2157         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2158         (WebCore::CCLayerTreeHost::setAnimationEvents):
2159         (WebCore::CCLayerTreeHost::setAnimationEventsRecursive):
2160         (WebCore):
2161         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2162
2163 2012-02-24  Abhishek Arya  <inferno@chromium.org>
2164
2165         Regression(r107477): Crash in StaticNodeList::itemWithName.
2166         https://bugs.webkit.org/show_bug.cgi?id=79532
2167
2168         Reviewed by Andreas Kling.
2169
2170         Make sure that node is an element node before checking its id attribute.
2171
2172         Test: fast/mutation/mutation-callback-non-element-crash.html
2173
2174         * dom/StaticNodeList.cpp:
2175         (WebCore::StaticNodeList::itemWithName):
2176
2177 2012-02-24  Tony Chang  <tony@chromium.org>
2178
2179         More refactoring in RenderFlexibleBox
2180         https://bugs.webkit.org/show_bug.cgi?id=79533
2181
2182         Reviewed by Ojan Vafai.
2183
2184         No new tests, just refactoring.
2185
2186         * rendering/RenderFlexibleBox.cpp:
2187         (WebCore::RenderFlexibleBox::layoutFlexItems): Move the flipping of RTL+column positions to its own method.
2188         This might be a tiny bit slower, but it's clearer since it's not related to alignment.
2189         (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Move the logical height calculation out of the loop.  We only need the final height.
2190         (WebCore::RenderFlexibleBox::alignChildren):
2191         (WebCore::RenderFlexibleBox::flipForRightToLeftColumn):
2192         * rendering/RenderFlexibleBox.h:
2193         (RenderFlexibleBox):
2194
2195 2012-02-24  Abhishek Arya  <inferno@chromium.org>
2196
2197         Positioned objects not cleared when moving children
2198         to clone block in multi-column layout.
2199         https://bugs.webkit.org/show_bug.cgi?id=78416
2200
2201         Reviewed by Eric Seidel.
2202
2203         Test: fast/multicol/span/positioned-child-not-removed-crash.html
2204
2205         * rendering/RenderBlock.cpp:
2206         (WebCore::RenderBlock::splitBlocks):
2207
2208 2012-02-24  Michael Saboff  <msaboff@apple.com>
2209
2210         Unreviewed, Windows build fix.  Changed "-1" to newly
2211         created constant JSC::Yarr::offsetNoMatch added in r108858.
2212
2213         * platform/text/RegularExpression.cpp:
2214         (WebCore::RegularExpression::match):
2215
2216 2012-02-24  Eric Carlson  <eric.carlson@apple.com>
2217
2218         Update TextTrackCue API
2219         https://bugs.webkit.org/show_bug.cgi?id=79368
2220
2221         Change TextTrackCue.alignment to .align, TextTrackCue.linePosition and .textPosition to .line
2222         and .position, and TextTrackCue.direction to .vertical. Change direction values "horizontal" 
2223         to "","vertical" to "rl", and "vertical-lr" to "lr".
2224
2225         Reviewed by Eric Seidel.
2226
2227         No new tests, updated existing tests for API changes.
2228
2229         * html/track/TextTrackCue.cpp:
2230         (WebCore::horizontalKeyword):
2231         (WebCore::verticalGrowingLeftKeyword):
2232         (WebCore):
2233         (WebCore::verticalGrowingRightKeyword):
2234         (WebCore::verticalKeywordOLD):
2235         (WebCore::verticallrKeywordOLD):
2236         (WebCore::TextTrackCue::TextTrackCue):
2237         (WebCore::TextTrackCue::vertical):
2238         (WebCore::TextTrackCue::setVertical):
2239         (WebCore::TextTrackCue::setLine):
2240         (WebCore::TextTrackCue::setPosition):
2241         (WebCore::TextTrackCue::align):
2242         (WebCore::TextTrackCue::setAlign):
2243         (WebCore::TextTrackCue::parseSettings):
2244         * html/track/TextTrackCue.h:
2245         (TextTrackCue):
2246         (WebCore::TextTrackCue::line):
2247         (WebCore::TextTrackCue::position):
2248         * html/track/TextTrackCue.idl:
2249
2250 2012-02-24  Adrienne Walker  <enne@google.com>
2251
2252         Fix uninitialized variables in HarfBuzzShaperBase
2253         https://bugs.webkit.org/show_bug.cgi?id=79546
2254
2255         Reviewed by Dirk Pranke.
2256
2257         These were introduced in r108733.
2258
2259         * platform/graphics/harfbuzz/HarfBuzzShaperBase.cpp:
2260         (WebCore::HarfBuzzShaperBase::HarfBuzzShaperBase):
2261
2262 2012-02-24  Noel Gordon  <noel.gordon@gmail.com>
2263
2264         [chromium] JPEG RGB image with Adode Marker fails to turbo swizzle decode
2265         https://bugs.webkit.org/show_bug.cgi?id=79457
2266
2267         Reviewed by Adam Barth.
2268
2269         If a JPEG has no JFIF marker, the Adode Marker must be used to determine the image
2270         color space for decoding via that markers transform value. Transform 0 images with
2271         3 color components (RGB) fail to decode with libjpeg-turbo when a swizzle decoding
2272         is active. Detect this case and decode using JCS_RGB output color space instead.
2273
2274         Test: fast/images/rgb-jpeg-with-abode-marker-only.html
2275
2276         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
2277         (WebCore::JPEGImageReader::decode):
2278
2279 2012-02-24  Joshua Bell  <jsbell@chromium.org>
2280
2281         [V8] IndexedDB: IDBTransaction objects leak in Workers
2282         https://bugs.webkit.org/show_bug.cgi?id=79308
2283
2284         Use a V8RecursionScope whenever Workers call into script, so that
2285         post-script side-effects can be executed.
2286
2287         Reviewed by Tony Chang.
2288
2289         Test: storage/indexeddb/transaction-abort-workers.html
2290
2291         * bindings/v8/ScheduledAction.cpp:
2292         (WebCore::ScheduledAction::execute):
2293         * bindings/v8/V8WorkerContextErrorHandler.cpp:
2294         (WebCore::V8WorkerContextErrorHandler::callListenerFunction):
2295         * bindings/v8/V8WorkerContextEventListener.cpp:
2296         (WebCore::V8WorkerContextEventListener::callListenerFunction):
2297         * bindings/v8/WorkerContextExecutionProxy.cpp: Replace custom recursion tracking.
2298         (WebCore::WorkerContextExecutionProxy::WorkerContextExecutionProxy):
2299         (WebCore::WorkerContextExecutionProxy::runScript):
2300         * bindings/v8/WorkerContextExecutionProxy.h:
2301         (WorkerContextExecutionProxy):
2302
2303 2012-02-24  Gregg Tavares  <gman@google.com>
2304
2305         Limit WebGL Errors in Console to 10 per context
2306         https://bugs.webkit.org/show_bug.cgi?id=79387
2307
2308         Reviewed by Kenneth Russell.
2309         
2310         Some apps generated enough errors to overload
2311         the Dev Tools so limit the number of errors.
2312         For a correct app there should never be any
2313         errors so seeing the first few should be enough
2314         to debug.
2315
2316         No new tests as no new functionality
2317
2318         * html/canvas/WebGLRenderingContext.cpp:
2319         (WebCore):
2320         (WebCore::WebGLRenderingContextErrorMessageCallback::onErrorMessage):
2321         (WebCore::WebGLRenderingContext::WebGLRenderingContext):
2322         (WebCore::WebGLRenderingContext::initializeNewContext):
2323         (WebCore::WebGLRenderingContext::printGLErrorToConsole):
2324         (WebCore::WebGLRenderingContext::synthesizeGLError):
2325         * html/canvas/WebGLRenderingContext.h:
2326         (WebGLRenderingContext):
2327
2328 2012-02-24  Michael Saboff  <msaboff@apple.com>
2329
2330         ASSERT(position < 0) in JSC::Yarr::Interpreter::InputStream::readChecked
2331         https://bugs.webkit.org/show_bug.cgi?id=73728
2332
2333         Reviewed by Gavin Barraclough.
2334
2335         No new tests, refactored usage of JSC::Yarr interpreter.
2336         Should be covered by existing tests.
2337
2338         Changed WebCore callers of JSC::Yarr:Interpreter::interpret() to match the
2339         new signature with unsigned offsets.
2340
2341         * inspector/ContentSearchUtils.cpp:
2342         (WebCore::ContentSearchUtils::findMagicComment):
2343         * platform/text/RegularExpression.cpp:
2344         (WebCore::RegularExpression::match):
2345
2346 2012-02-24  Hans Muller  <hmuller@adobe.com>
2347
2348         onclick is not reliable for transformed SVG elements
2349         https://bugs.webkit.org/show_bug.cgi?id=34714
2350
2351         Reviewed by Dirk Schulze.
2352
2353         Use FloatPoints in RenderSVGRoot::nodeAtPoint() when converting the incoming
2354         point to local coordinates.
2355
2356         Test: svg/hittest/svg-small-viewbox.xhtml
2357
2358         * rendering/svg/RenderSVGRoot.cpp:
2359         (WebCore::RenderSVGRoot::nodeAtPoint):
2360
2361 2012-02-24  Julien Chaffraix  <jchaffraix@webkit.org>
2362
2363         Implement limited parsing of -webkit-grid-column and -webkit-grid-row
2364         https://bugs.webkit.org/show_bug.cgi?id=79151
2365
2366         Reviewed by Ojan Vafai.
2367
2368         Test: fast/css-grid-layout/grid-item-column-row-get-set.html
2369
2370         This change implements a subset of the grammar:
2371
2372         -webkit-grid-{row|column} := <integer> | 'auto'
2373
2374         * CMakeLists.txt:
2375         * GNUmakefile.list.am:
2376         * Target.pri:
2377         * WebCore.gypi:
2378         * WebCore.vcproj/WebCore.vcproj:
2379         * WebCore.xcodeproj/project.pbxproj:
2380         Added the new files to our build systems.
2381
2382         * css/CSSComputedStyleDeclaration.cpp:
2383         (WebCore::valueForGridPosition): Check that we have the right translated grammar
2384         (this function will be more useful once we implement more of the grammar).
2385         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
2386         * css/CSSStyleSelector.cpp:
2387         (WebCore::CSSStyleSelector::applyProperty):
2388         Added handling for the new properties.
2389
2390         * css/CSSParser.cpp:
2391         (WebCore::CSSParser::parseValue):
2392         Allow only 'auto' or <integer>.
2393
2394         * css/CSSProperty.cpp:
2395         (WebCore::CSSProperty::isInheritedProperty):
2396         grid-colum and grid-row are not inherited.
2397
2398         * css/CSSPropertyNames.in:
2399         Added the 2 new properties.
2400
2401         * rendering/style/RenderStyle.cpp:
2402         (WebCore::RenderStyle::RenderStyle):
2403         (WebCore::RenderStyle::diff):
2404         * rendering/style/RenderStyle.h:
2405         * rendering/style/StyleGridItemData.cpp: Added.
2406         (WebCore::StyleGridItemData::StyleGridItemData):
2407         * rendering/style/StyleGridItemData.h: Added.
2408         (StyleGridItemData):
2409         (WebCore::StyleGridItemData::create):
2410         (WebCore::StyleGridItemData::copy):
2411         (WebCore::StyleGridItemData::operator==):
2412         (WebCore::StyleGridItemData::operator!=):
2413         Implemented the minimum working class.
2414
2415         * rendering/style/StyleRareNonInheritedData.cpp:
2416         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
2417         (WebCore::StyleRareNonInheritedData::operator==):
2418         * rendering/style/StyleRareNonInheritedData.h:
2419         (StyleRareNonInheritedData):
2420         Added StyleGridItemData to the class StyleRareNonInheritedData.
2421
2422 2012-02-24  Joshua Bell  <jsbell@chromium.org>
2423
2424         IndexedDB: IDBObjectStore.count() and IDBIndex.count() should accept key argument
2425         https://bugs.webkit.org/show_bug.cgi?id=79422
2426
2427         Reviewed by Tony Chang.
2428
2429         Tests: storage/indexeddb/index-count.html
2430                storage/indexeddb/objectstore-count.html
2431
2432         * storage/IDBIndex.cpp:
2433         (WebCore::IDBIndex::count):
2434         (WebCore):
2435         * storage/IDBIndex.h:
2436         (WebCore::IDBIndex::count):
2437         (IDBIndex):
2438         * storage/IDBIndex.idl:
2439         * storage/IDBObjectStore.cpp:
2440         (WebCore::IDBObjectStore::deleteFunction):
2441         (WebCore::IDBObjectStore::count):
2442         (WebCore):
2443         * storage/IDBObjectStore.h:
2444         (WebCore::IDBObjectStore::count):
2445         (IDBObjectStore):
2446         * storage/IDBObjectStore.idl:
2447
2448 2012-02-24  Adam Barth  <abarth@webkit.org>
2449
2450         Move mediastream into Modules/mediastream
2451         https://bugs.webkit.org/show_bug.cgi?id=79517
2452
2453         Reviewed by Eric Seidel.
2454
2455         This patch moves the mediastream directory into Modules.  mediastream
2456         is a self-contained feature and is a good candidate for being a module.
2457
2458         * GNUmakefile.am:
2459         * GNUmakefile.list.am:
2460         * Modules/mediastream: Copied from Source/WebCore/mediastream.
2461         * WebCore.gyp/WebCore.gyp:
2462         * WebCore.gypi:
2463         * mediastream: Removed.
2464         * mediastream/DOMWindowMediaStream.idl: Removed.
2465         * mediastream/LocalMediaStream.cpp: Removed.
2466         * mediastream/LocalMediaStream.h: Removed.
2467         * mediastream/LocalMediaStream.idl: Removed.
2468         * mediastream/MediaStream.cpp: Removed.
2469         * mediastream/MediaStream.h: Removed.
2470         * mediastream/MediaStream.idl: Removed.
2471         * mediastream/MediaStreamEvent.cpp: Removed.
2472         * mediastream/MediaStreamEvent.h: Removed.
2473         * mediastream/MediaStreamEvent.idl: Removed.
2474         * mediastream/MediaStreamList.cpp: Removed.
2475         * mediastream/MediaStreamList.h: Removed.
2476         * mediastream/MediaStreamList.idl: Removed.
2477         * mediastream/MediaStreamRegistry.cpp: Removed.
2478         * mediastream/MediaStreamRegistry.h: Removed.
2479         * mediastream/MediaStreamTrack.cpp: Removed.
2480         * mediastream/MediaStreamTrack.h: Removed.
2481         * mediastream/MediaStreamTrack.idl: Removed.
2482         * mediastream/MediaStreamTrackList.cpp: Removed.
2483         * mediastream/MediaStreamTrackList.h: Removed.
2484         * mediastream/MediaStreamTrackList.idl: Removed.
2485         * mediastream/NavigatorMediaStream.cpp: Removed.
2486         * mediastream/NavigatorMediaStream.h: Removed.
2487         * mediastream/NavigatorMediaStream.idl: Removed.
2488         * mediastream/NavigatorUserMediaError.h: Removed.
2489         * mediastream/NavigatorUserMediaError.idl: Removed.
2490         * mediastream/NavigatorUserMediaErrorCallback.h: Removed.
2491         * mediastream/NavigatorUserMediaErrorCallback.idl: Removed.
2492         * mediastream/NavigatorUserMediaSuccessCallback.h: Removed.
2493         * mediastream/NavigatorUserMediaSuccessCallback.idl: Removed.
2494         * mediastream/PeerConnection.cpp: Removed.
2495         * mediastream/PeerConnection.h: Removed.
2496         * mediastream/PeerConnection.idl: Removed.
2497         * mediastream/SignalingCallback.h: Removed.
2498         * mediastream/SignalingCallback.idl: Removed.
2499         * mediastream/UserMediaClient.h: Removed.
2500         * mediastream/UserMediaController.cpp: Removed.
2501         * mediastream/UserMediaController.h: Removed.
2502         * mediastream/UserMediaRequest.cpp: Removed.
2503         * mediastream/UserMediaRequest.h: Removed.
2504
2505 2012-02-24  Abhishek Arya  <inferno@chromium.org>
2506
2507         Overhanging floats not removed from new flex box.
2508         https://bugs.webkit.org/show_bug.cgi?id=79522
2509
2510         Reviewed by Ojan Vafai.
2511
2512         Similar to r69476.
2513
2514         Test: fast/flexbox/overhanging-floats-not-removed-crash.html
2515
2516         * rendering/RenderBox.cpp:
2517         (WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
2518
2519 2012-02-24  Brent Fulgham  <bfulgham@webkit.org>
2520
2521         [WinCairo] Compute more acurate font heights.
2522         https://bugs.webkit.org/show_bug.cgi?id=79524
2523
2524         Reviewed by Adam Roben.
2525
2526         Adjust font handling as suggested by Lynn Neir to use the proper
2527         xHeight value for the font, rather than the fall-back guess
2528         used in the current code.
2529
2530         css1/text_properties/line_height.html
2531
2532         * platform/graphics/win/SimpleFontDataCairoWin.cpp:
2533         (WebCore::SimpleFontData::platformInit): Properly initialize a
2534           few elements.
2535         (WebCore::SimpleFontData::platformWidthForGlyph): Use the Cairo
2536           cairo_scaled_font_text_extents call, rather than attempting
2537           to compute the value from ::GetGlyphOutline.
2538
2539 2012-02-24  Tim Horton  <timothy_horton@apple.com>
2540
2541         Infinite repaint loop with SVGImageCache and deferred repaint timers
2542         https://bugs.webkit.org/show_bug.cgi?id=78315
2543         <rdar://problem/10651634>
2544
2545         Reviewed by Dean Jackson.
2546
2547         Only defer image redraw on a timer if we're in layout. This breaks
2548         the repaint loop while still preventing us from drawing inside layout.
2549
2550         No new tests, as the problem only occurs in a nonstandard configuration.
2551
2552         * svg/graphics/SVGImage.cpp:
2553         (WebCore::SVGImage::draw):
2554         (WebCore::SVGImage::frameView):
2555         (WebCore):
2556         * svg/graphics/SVGImage.h:
2557         (WebCore):
2558         * svg/graphics/SVGImageCache.cpp:
2559         (WebCore::SVGImageCache::imageContentChanged):
2560         (WebCore::SVGImageCache::redraw):
2561         (WebCore::SVGImageCache::redrawTimerFired):
2562         (WebCore):
2563         * svg/graphics/SVGImageCache.h:
2564         (SVGImageCache):
2565
2566 2012-02-24  Tim Horton  <timothy_horton@apple.com>
2567
2568         SVG should be supported in Dashboard compatibility mode
2569         https://bugs.webkit.org/show_bug.cgi?id=78322
2570         <rdar://problem/5861278>
2571
2572         Reviewed by Dean Jackson.
2573
2574         Enable SVG elements inside Dashboard, more or less reverting r21418.
2575
2576         Tests: http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html
2577                svg/custom/embedded-svg-allowed-in-dashboard.xml
2578                svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html
2579                svg/custom/manually-parsed-svg-allowed-in-dashboard.html
2580                svg/custom/svg-allowed-in-dashboard-object.html
2581
2582         * dom/DOMImplementation.cpp:
2583         (WebCore::DOMImplementation::createDocument):
2584         * dom/Document.cpp:
2585         (WebCore::Document::importNode):
2586         * dom/make_names.pl:
2587         (printFactoryCppFile):
2588
2589 2012-02-24  Min Qin  <qinmin@google.com>
2590
2591         Expose a setting to exempt media playback from user gesture requirement after a user gesture is initiated on loading/playing a media
2592         https://bugs.webkit.org/show_bug.cgi?id=79167
2593
2594         Reviewed by Adam Barth.
2595
2596         Test: media/video-play-require-user-gesture.html
2597
2598         * html/HTMLMediaElement.cpp:
2599         (WebCore::HTMLMediaElement::load):
2600         (WebCore::HTMLMediaElement::play):
2601         (WebCore::HTMLMediaElement::removeBehaviorsRestrictionsAfterFirstUserGesture):
2602         (WebCore):
2603         * html/HTMLMediaElement.h:
2604         (HTMLMediaElement):
2605         * testing/Internals.cpp:
2606         (WebCore::Internals::setMediaPlaybackRequiresUserGesture):
2607         (WebCore):
2608         * testing/Internals.h:
2609         (Internals):
2610         * testing/Internals.idl:
2611
2612 2012-02-24  Adam Barth  <abarth@webkit.org>
2613
2614         DOMWindow*.idl should have had the same license block as DOMWindow.idl did originally
2615         https://bugs.webkit.org/show_bug.cgi?id=79507
2616
2617         Reviewed by Alexey Proskuryakov.
2618
2619         In moving pieces of DOMWindow.idl into separate files, we mistakenly
2620         changed some of the license blocks.  All these files should have a
2621         license block that matches the file that originally contained the code.
2622
2623         * Modules/intents/DOMWindowIntents.idl:
2624         * fileapi/DOMWindowFileSystem.idl:
2625         * html/DOMWindowHTML.idl:
2626         * html/canvas/DOMWindowWebGL.idl:
2627         * mediastream/DOMWindowMediaStream.idl:
2628         * storage/DOMWindowSQLDatabase.idl:
2629         * svg/DOMWindowSVG.idl:
2630         * webaudio/DOMWindowWebAudio.idl:
2631         * websockets/DOMWindowWebSocket.idl:
2632         * workers/DOMWindowWorker.idl:
2633         * xml/DOMWindowXML.idl:
2634
2635 2012-02-24  David Kilzer  <ddkilzer@apple.com>
2636
2637         Use xcrun to find compiler paths for Generate Derived Sources build phase script
2638         <http://webkit.org/b/79512>
2639
2640         Reviewed by Mark Rowe.
2641
2642         * WebCore.xcodeproj/project.pbxproj:
2643         (Generate Derived Sources): Use xcrun to find the path to the
2644         compiler since that works on both iOS and OS X.
2645
2646 2012-02-24  Anders Carlsson  <andersca@apple.com>
2647
2648         Crash in TileCache::revalidateTiles
2649         https://bugs.webkit.org/show_bug.cgi?id=79510
2650         <rdar://problem/10928035>
2651
2652         Reviewed by Sam Weinig.
2653
2654         Handle the tile cache layer's PlatformCALayer going away before the
2655         CALayer itself has been deallocated.
2656
2657         * platform/graphics/ca/mac/TileCache.mm:
2658         (WebCore::TileCache::revalidateTiles):
2659
2660 2012-02-24  Adam Klein  <adamk@chromium.org>
2661
2662         Don't notify the inspector of Node insertions initiated by the parser
2663         https://bugs.webkit.org/show_bug.cgi?id=79388
2664
2665         Reviewed by Adam Barth.
2666
2667         This is part of a series of changes to make ContainerNode's
2668         implementation simpler and more internally consistent.
2669
2670         I don't know of a way to break on parser-initiated insertions,
2671         and the code already doesn't notify on parser-initiated removes
2672         (in ContainerNode::parserRemoveChild).
2673
2674         No new tests, should already be covered by
2675         inspector/debugger/dom-breakpoints.html.
2676
2677         * dom/ContainerNode.cpp:
2678         (WebCore::ContainerNode::parserInsertBefore):
2679         (WebCore::ContainerNode::parserAddChild):
2680
2681 2012-02-24  Daniel Bates  <dbates@webkit.org>
2682
2683         Attempt to fix the Windows and WinCE build after changeset r108809
2684         <http://trac.webkit.org/changeset/108809> (https://bugs.webkit.org/show_bug.cgi?id=38995)
2685
2686         Substitute styleLoadEventSender() for loadEventSender() in HTMLStyleElement.cpp
2687         and substitute linkLoadEventSender() for loadEventSender() in HTMLLinkElement.cpp. 
2688
2689         * html/HTMLLinkElement.cpp:
2690         (WebCore::linkLoadEventSender):
2691         (WebCore::HTMLLinkElement::~HTMLLinkElement):
2692         (WebCore::HTMLLinkElement::dispatchPendingLoadEvents):
2693         (WebCore::HTMLLinkElement::dispatchPendingEvent):
2694         (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources):
2695         * html/HTMLStyleElement.cpp:
2696         (WebCore::styleLoadEventSender):
2697         (WebCore::HTMLStyleElement::~HTMLStyleElement):
2698         (WebCore::HTMLStyleElement::dispatchPendingLoadEvents):
2699         (WebCore::HTMLStyleElement::dispatchPendingEvent):
2700         (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources):
2701
2702 2012-02-24  Peter Beverloo  <peter@chromium.org>
2703
2704         [Chromium] Fix Chromium Android build by building HarfBuzzShaperBase.cpp
2705         https://bugs.webkit.org/show_bug.cgi?id=79497
2706
2707         Reviewed by Tony Gentilcore.
2708
2709         The Chromium Android build was broken by revision r108733, as the
2710         HarfBuzzShaperBase.cpp file also should have been included for Android.
2711         Fix the build by including it.
2712
2713         * WebCore.gyp/WebCore.gyp:
2714
2715 2012-02-24  Yael Aharon  <yael.aharon@nokia.com>
2716
2717         [Texmap] Consolidate the common parts of TextureMapperGL::drawTexture
2718         https://bugs.webkit.org/show_bug.cgi?id=79143
2719
2720         Reviewed by Noam Rosenthal.
2721
2722         Combine the two drawTexture methods into one, and extract the part that
2723         could not be combined into its own method.
2724         No new tests. Refactoring only.
2725
2726         * platform/graphics/texmap/TextureMapperGL.cpp:
2727         (WebCore):
2728         (WebCore::TextureMapperGL::drawTexture):
2729         * platform/graphics/texmap/TextureMapperGL.h:
2730         (WebCore):
2731         (BitmapTextureGL):
2732         (WebCore::BitmapTextureGL::~BitmapTextureGL):
2733         (WebCore::BitmapTextureGL::id):
2734         (WebCore::BitmapTextureGL::relativeSize):
2735         (WebCore::BitmapTextureGL::setTextureMapper):
2736         (WebCore::BitmapTextureGL::BitmapTextureGL):
2737         * platform/graphics/texmap/TextureMapperShaderManager.cpp:
2738         (WebCore::TextureMapperShaderProgramOpacityAndMask::fragmentShaderSource):
2739         (WebCore):
2740         (WebCore::TextureMapperShaderProgramOpacityAndMask::prepare):
2741         * platform/graphics/texmap/TextureMapperShaderManager.h:
2742         (WebCore):
2743         (WebCore::TextureMapperShaderProgram::prepare):
2744         (WebCore::TextureMapperShaderProgram::matrixVariable):
2745         (WebCore::TextureMapperShaderProgram::sourceMatrixVariable):
2746         (WebCore::TextureMapperShaderProgram::sourceTextureVariable):
2747         (WebCore::TextureMapperShaderProgram::opacityVariable):
2748         (TextureMapperShaderProgram):
2749         (TextureMapperShaderProgramSimple):
2750         (TextureMapperShaderProgramOpacityAndMask):
2751         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskMatrixVariable):
2752         (WebCore::TextureMapperShaderProgramOpacityAndMask::maskTextureVariable):
2753
2754 2012-02-24  Daniel Bates  <dbates@webkit.org>
2755
2756         style element and link element for CSS stylesheet should emit load/error event when sheet loads/fails to load
2757         https://bugs.webkit.org/show_bug.cgi?id=38995
2758
2759         Reviewed by Adam Barth and Nate Chapin.
2760
2761         Tests: fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-existent-and-non-existent-import.html
2762                fast/dom/HTMLLinkElement/link-onerror-stylesheet-with-non-existent-import.html
2763                fast/dom/HTMLLinkElement/link-onerror.html
2764                fast/dom/HTMLLinkElement/link-onload-before-page-load.html
2765                fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
2766                fast/dom/HTMLLinkElement/link-onload.html
2767                fast/dom/HTMLLinkElement/link-onload2.html
2768                fast/dom/HTMLLinkElement/programmatically-add-link-with-onerror-handler.html
2769                fast/dom/HTMLLinkElement/programmatically-add-link-with-onload-handler.html
2770                fast/dom/HTMLStyleElement/programmatically-add-style-with-onerror-handler.html
2771                fast/dom/HTMLStyleElement/programmatically-add-style-with-onload-handler.html
2772                fast/dom/HTMLStyleElement/style-onerror-with-existent-and-non-existent-import.html
2773                fast/dom/HTMLStyleElement/style-onerror.html
2774                fast/dom/HTMLStyleElement/style-onload-before-page-load.html
2775                fast/dom/HTMLStyleElement/style-onload.html
2776                fast/dom/HTMLStyleElement/style-onload2.html
2777
2778         Implements support for firing Load and Error events at HTML Link and HTML Style elements as per
2779         the HTML5 spec. (draft 05/25/2011) section "The link element" <http://www.w3.org/TR/html5/semantics.html#the-link-element>
2780         and "The style element" <http://www.w3.org/TR/html5/semantics.html#the-style-element>, respectively.
2781
2782         * css/CSSImportRule.cpp:
2783         (WebCore::CSSImportRule::setCSSStyleSheet): Modified to call CSSStyleSheet::notifyLoadedSheet()
2784         after the style sheet associated with the @import rule loaded.
2785         * css/CSSStyleSheet.cpp: Added instance variable m_didLoadErrorOccur to track whether a network error
2786         occurred while loading any @import style sheets.
2787         (WebCore::CSSStyleSheet::CSSStyleSheet):
2788         (WebCore::CSSStyleSheet::checkLoaded):
2789         (WebCore):
2790         (WebCore::CSSStyleSheet::notifyLoadedSheet): Added; update m_didLoadErrorOccur to reflect if a network
2791         error occurred while loading a style sheet associated with an @import rule.
2792         * css/CSSStyleSheet.h:
2793         (WebCore):
2794         (CSSStyleSheet):
2795         * dom/Document.cpp:
2796         (WebCore::Document::implicitClose): Call HTML{LinkElement, StyleElement}::dispatchPendingLoadEvents() to
2797         ensure that all pending Load events for link and style elements are dispatched before we fire the Load
2798         event for the window.
2799         * dom/Node.h:
2800         (WebCore::Node::notifyLoadedSheetAndAllCriticalSubresources): Added; as stated in its name, this method is
2801         called once a style sheet and all its critical subresources (@imports) have loaded.
2802         * html/HTMLLinkElement.cpp:
2803         (WebCore::loadEventSender):
2804         (WebCore):
2805         (WebCore::HTMLLinkElement::HTMLLinkElement):
2806         (WebCore::HTMLLinkElement::~HTMLLinkElement): Modified to cancel all pending Load events on destruction.
2807         (WebCore::HTMLLinkElement::parseAttribute): Register event listeners for Load and Error events regardless of whether we
2808         built with link prefetch support.
2809         (WebCore::HTMLLinkElement::setCSSStyleSheet):
2810         (WebCore::HTMLLinkElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
2811         ensure that all pending Load events for link elements have been dispatched before we fire the Load event
2812         for the window.
2813         (WebCore::HTMLLinkElement::dispatchPendingEvent): Added; called by EventSender.
2814         (WebCore::HTMLLinkElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
2815         * html/HTMLLinkElement.h:
2816         (WebCore):
2817         (HTMLLinkElement):
2818         * html/HTMLStyleElement.cpp:
2819         (WebCore::loadEventSender):
2820         (WebCore):
2821         (WebCore::HTMLStyleElement::HTMLStyleElement):
2822         (WebCore::HTMLStyleElement::~HTMLStyleElement): Modified to cancel all pending Load events on destruction.
2823         (WebCore::HTMLStyleElement::parseAttribute): Register event listeners for Load and Error events.
2824         (WebCore::HTMLStyleElement::dispatchPendingLoadEvents): Added; called from Document::implicitClose() to
2825         ensure that all pending Load events for link elements have been dispatched before we fire the Load event
2826         for the window.
2827         (WebCore::HTMLStyleElement::dispatchPendingEvent): Added; called by EventSender.
2828         (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources): Added.
2829         * html/HTMLStyleElement.h:
2830         (WebCore):
2831         (HTMLStyleElement):
2832
2833 2012-02-24  Adam Roben  <aroben@apple.com>
2834
2835         Mac build fix after r108698
2836
2837         * page/scrolling/mac/ScrollingCoordinatorMac.mm: Added missing #import.
2838
2839 2012-02-24  Csaba Osztrogonác  <ossy@webkit.org>
2840
2841         Unreviewed speculative buildfix after r108785 for ENABLE(SVG) && !ENABLE(XSLT) case.
2842
2843         * loader/cache/CachedResourceLoader.cpp:
2844         (WebCore::CachedResourceLoader::canRequest):
2845
2846 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
2847
2848         Web Inspector: Do not show scripts panel navigator automatically more than once to the same user.
2849         https://bugs.webkit.org/show_bug.cgi?id=79489
2850
2851         Reviewed by Pavel Feldman.
2852
2853         * inspector/front-end/ScriptsPanel.js:
2854
2855 2012-02-24  Philippe Normand  <pnormand@igalia.com>
2856
2857         Fix GTK WebAudio build for WebKitGTK 1.7.90.
2858
2859         Patch by Priit Laes <plaes@plaes.org> on 2012-02-24
2860         Rubber-stamped by Philippe Normand.
2861
2862         * GNUmakefile.list.am: Add AudioBufferCallback.h and
2863         DenormalDisabler.h to the list of files so they get disted in the
2864         tarballs.
2865
2866 2012-02-24  Yury Semikhatsky  <yurys@chromium.org>
2867
2868         Web Inspector: show all counters on one graph
2869         https://bugs.webkit.org/show_bug.cgi?id=79484
2870
2871         Now it is possible to hide any counter. All graphs share the same area.
2872         Current values are displayed above that area.
2873
2874         Reviewed by Pavel Feldman.
2875
2876         * English.lproj/localizedStrings.js:
2877         * inspector/front-end/MemoryStatistics.js:
2878         (WebInspector.MemoryStatistics.getDocumentCount):
2879         (WebInspector.MemoryStatistics.getNodeCount):
2880         (WebInspector.MemoryStatistics.getListenerCount):
2881         (WebInspector.MemoryStatistics):
2882         (WebInspector.SwatchCheckbox):
2883         (WebInspector.SwatchCheckbox.prototype.get checked):
2884         (WebInspector.SwatchCheckbox.prototype.set checked):
2885         (WebInspector.SwatchCheckbox.prototype._toggleCheckbox):
2886         (WebInspector.CounterUI):
2887         (WebInspector.CounterUI.prototype._toggleCounterGraph):
2888         (WebInspector.CounterUI.prototype.setRange):
2889         (WebInspector.CounterUI.prototype.updateCurrentValue):
2890         (WebInspector.CounterUI.prototype.clearCurrentValueAndMarker):
2891         (WebInspector.CounterUI.prototype.get visible):
2892         (WebInspector.CounterUI.prototype.saveImageUnderMarker):
2893         (WebInspector.CounterUI.prototype.restoreImageUnderMarker):
2894         (WebInspector.CounterUI.prototype.discardImageUnderMarker):
2895         (WebInspector.MemoryStatistics.prototype._updateSize):
2896         (WebInspector.MemoryStatistics.prototype._draw):
2897         (WebInspector.MemoryStatistics.prototype._onMouseOut):
2898         (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
2899         (WebInspector.MemoryStatistics.prototype._highlightCurrentPositionOnGraphs):
2900         (WebInspector.MemoryStatistics.prototype._drawGraph):
2901         (WebInspector.MemoryStatistics.prototype._clear):
2902         * inspector/front-end/timelinePanel.css:
2903         (.memory-counter-sidebar-info):
2904         (.memory-counter-sidebar-info .swatch):
2905         (.memory-counter-sidebar-info .title):
2906         (.memory-counter-value):
2907         (#counter-values-bar):
2908
2909 2012-02-24  Pavel Feldman  <pfeldman@google.com>
2910
2911         Web Inspector: map Ctrl/Cmd +/- to zoom in hosted mode.
2912         https://bugs.webkit.org/show_bug.cgi?id=79475
2913
2914         (In remote front-end mode, default zoom actions are working.)
2915
2916         Reviewed by Yury Semikhatsky.
2917
2918         * inspector/InspectorFrontendHost.cpp:
2919         (WebCore::InspectorFrontendHost::setZoomFactor):
2920         (WebCore):
2921         * inspector/InspectorFrontendHost.h:
2922         (InspectorFrontendHost):
2923         * inspector/InspectorFrontendHost.idl:
2924         * inspector/front-end/InspectorFrontendHostStub.js:
2925         (.WebInspector.InspectorFrontendHostStub):
2926         (.WebInspector.InspectorFrontendHostStub.prototype.loadResourceSynchronously):
2927         (.WebInspector.InspectorFrontendHostStub.prototype.setZoomFactor):
2928         * inspector/front-end/Settings.js:
2929         (WebInspector.Settings):
2930         * inspector/front-end/inspector.js:
2931         (WebInspector._initializeCapability):
2932         (WebInspector._zoomIn):
2933         (WebInspector._zoomOut):
2934         (WebInspector._resetZoom):
2935         (WebInspector._requestZoom.set InspectorFrontendHost):
2936         (WebInspector._requestZoom):
2937         (WebInspector._doLoadedDoneWithCapabilities.get if):
2938         (WebInspector.documentKeyDown):
2939
2940 2012-02-24  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
2941
2942         Refactor EventHandler::handleGestureEvent.
2943         https://bugs.webkit.org/show_bug.cgi?id=79476
2944
2945         Reviewed by Kenneth Rohde Christiansen.
2946
2947         No new tests. No behavior change.
2948
2949         * page/EventHandler.cpp:
2950         (WebCore::EventHandler::handleGestureEvent):
2951         (WebCore::EventHandler::handleGestureTap):
2952         (WebCore::EventHandler::handleGestureScrollUpdate):
2953         * page/EventHandler.h:
2954
2955 2012-02-24  Zoltan Horvath  <zoltan@webkit.org>
2956
2957         [Qt] Allow to use WebCore imagedecoders
2958         https://bugs.webkit.org/show_bug.cgi?id=32410
2959
2960         Add ENABLE(QT_IMAGE_DECODER) guards around Qt imagedecoders and set it to default.
2961         By passing ENABLE_QT_IMAGE_DECODER=0 define to the build system, WebKit will build
2962         with WebCore's imagedecoders.
2963
2964         I added NO_RETURN attribute and PLATFORM(QT) conditionals to 2 functions of PNG and
2965         JPEG decoders to avoid compiler warnings because in Qt-port we treat warning as errors (-Werror).
2966
2967         I'm continuing the refactoring of this area and try to use Qt imagedecoders only in
2968         cases when WebCore doesn't support the image format.
2969
2970         Reviewed by Simon Hausmann.
2971
2972         No behavior change, no need new tests.
2973
2974         * Target.pri:
2975         * WebCore.pri:
2976         * platform/MIMETypeRegistry.cpp:
2977         (WebCore::initializeSupportedImageMIMETypes):
2978         (WebCore::initializeSupportedImageMIMETypesForEncoding):
2979         * platform/image-decoders/ImageDecoder.h:
2980         (WebCore::ImageFrame::getAddr):
2981         (ImageFrame):
2982         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
2983         NO_RETURN has been added to a function to avoid warning message.
2984         * platform/image-decoders/png/PNGImageDecoder.cpp:
2985         NO_RETURN has been added to a function to avoid warning message.
2986         (WebCore):
2987         * platform/image-decoders/qt/ImageFrameQt.cpp:
2988         (WebCore):
2989         (WebCore::ImageFrame::asNewNativeImage):
2990
2991 2012-02-24  Lynn Neir <lynn.neir@skype.net>
2992
2993         [Windows, WinCairo] Handle indeterminate checkbox state
2994         https://bugs.webkit.org/show_bug.cgi?id=79288
2995
2996         Reviewed by Adam Roben.
2997
2998         Tested by fast/forms/indeterminate.html
2999
3000         * rendering/RenderThemeWin.cpp: Add code to check for indeterminate
3001           state in CheckBox.
3002
3003 2012-02-24  Simon Hausmann  <simon.hausmann@nokia.com>
3004
3005         [Qt] Font related problem with newer Qt5
3006         https://bugs.webkit.org/show_bug.cgi?id=79402
3007
3008         Reviewed by Kenneth Rohde Christiansen.
3009
3010         Apply the descent += 1 workaround needed to produce correct metrics only for Qt 4,
3011         because the behaviour has been corrected in Qt 5.
3012
3013         * platform/graphics/qt/SimpleFontDataQt.cpp:
3014         (WebCore::SimpleFontData::platformInit):
3015
3016 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3017
3018         Move XML-related APIs from DOMWindow.idl to DOMWindowXML.idl
3019         https://bugs.webkit.org/show_bug.cgi?id=79434
3020
3021         Reviewed by Adam Barth.
3022
3023         For WebKit modularization, this patch moves XML-related APIs
3024         from DOMWindow.idl to DOMWIndowXML.idl.
3025
3026         No tests. No change in behavior.
3027
3028         * xml/DOMWindowXML.idl: Added.
3029         * page/DOMWindow.idl:
3030
3031         * CMakeLists.txt: Added "DOMWindowXML.idl".
3032         * DerivedSources.make: Ditto.
3033         * DerivedSources.pri: Ditto.
3034         * GNUmakefile.list.am: Ditto.
3035         * WebCore.gypi: Ditto.
3036         * WebCore.xcodeproj/project.pbxproj: Ditto.
3037
3038 2012-02-24  Renata Hodovan  <reni@webkit.org>
3039
3040         External <use> xlink:href references do not work
3041         https://bugs.webkit.org/show_bug.cgi?id=12499
3042
3043         Reviewed by Nikolas Zimmermann.
3044
3045         Support external references on <use> by introducing CachedSVGDocument.
3046         CachedSVGDocument is a CachedResource specialized for SVGDocuments.
3047         This CachedSVGDocument will be stored for every use element with external reference.
3048         This first patch only contains the new classes to test whether it works on every platform.
3049         So they aren't used anywhere and just a follow-up patch will bind them into the caching system.
3050
3051         No new tests - no change in functionality.
3052
3053         * CMakeLists.txt:
3054         * GNUmakefile.list.am:
3055         * Target.pri:
3056         * WebCore.gypi:
3057         * WebCore.vcproj/WebCore.vcproj:
3058         * WebCore.xcodeproj/project.pbxproj:
3059         * loader/cache/CachedResource.cpp:
3060         (WebCore::defaultPriorityForResourceType):
3061         (WebCore::cachedResourceTypeToTargetType):
3062         * loader/cache/CachedResource.h:
3063         * loader/cache/CachedResourceClient.h:
3064         (CachedResourceClient):
3065         * loader/cache/CachedResourceLoader.cpp:
3066         (WebCore::createResource):
3067         (WebCore::CachedResourceLoader::checkInsecureContent):
3068         (WebCore::CachedResourceLoader::canRequest):
3069         * loader/cache/CachedSVGDocument.cpp: Added.
3070         (WebCore):
3071         (WebCore::CachedSVGDocument::CachedSVGDocument):
3072         (WebCore::CachedSVGDocument::~CachedSVGDocument):
3073         (WebCore::CachedSVGDocument::setEncoding):
3074         (WebCore::CachedSVGDocument::encoding):
3075         (WebCore::CachedSVGDocument::data):
3076         * loader/cache/CachedSVGDocument.h: Added.
3077         (WebCore):
3078         (CachedSVGDocument):
3079         (WebCore::CachedSVGDocument::document):
3080         (WebCore::CachedSVGDocument::schedule):
3081         (CachedSVGDocumentClient):
3082         (WebCore::CachedSVGDocumentClient::~CachedSVGDocumentClient):
3083         (WebCore::CachedSVGDocumentClient::expectedType):
3084         (WebCore::CachedSVGDocumentClient::resourceClientType):
3085
3086 2012-02-24  Alexis Menard  <alexis.menard@openbossa.org>
3087
3088         Little optimization in CSSParser::parseShorthand.
3089         https://bugs.webkit.org/show_bug.cgi?id=79356
3090
3091         Reviewed by Tony Chang.
3092
3093         Remove one loop by initializing array values at declaration time.
3094         Also early return when the number of properties parsed are equals
3095         with longhands count of the shorthand. It happens to be very often
3096         the case (e.g. border). Instruments shows an improvement from 19ms
3097         to 17ms on the time spent in this function for the css-parser-yui
3098         benchmark.
3099
3100         No new tests : refactor, exisiting ones should cover.
3101
3102         * css/CSSParser.cpp:
3103         (WebCore::CSSParser::parseShorthand):
3104
3105 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3106
3107         Move HTML-related APIs from DOMWindow.idl to DOMWindowHTML.idl
3108         https://bugs.webkit.org/show_bug.cgi?id=79436
3109
3110         Reviewed by Adam Barth.
3111
3112         For WebKit modularization, this patch moves HTML-related APIs
3113         from DOMWindow.idl to DOMWindowHTML.idl.
3114
3115         No tests. No change in behavior.
3116
3117         * html/DOMWindowHTML.idl:
3118         * page/DOMWindow.idl:
3119
3120 2012-02-24  Jochen Eisinger  <jochen@chromium.org>
3121
3122         [v8] when a named item on document goes out of scope, actually remove it
3123         https://bugs.webkit.org/show_bug.cgi?id=79409
3124
3125         Reviewed by Adam Barth.
3126
3127         The original change already included the code, but it led to some
3128         problems, so it was reverted in http://trac.webkit.org/changeset/63845.
3129         However, not removing the items leaks a considerable amount of memory,
3130         so I'm adding the code back. The bug that led to the revert was that
3131         the accessor was removed unconditionally. I'm now only removing it,
3132         when the last item with that name is removed.
3133
3134         Test: fast/dom/HTMLDocument/named-item.html
3135
3136         * bindings/v8/V8DOMWindowShell.cpp:
3137         (WebCore::V8DOMWindowShell::namedItemRemoved):
3138
3139 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3140
3141         Move Worker-related APIs from DOMWindow.idl to DOMWindowWorker.idl
3142         https://bugs.webkit.org/show_bug.cgi?id=79442
3143
3144         Reviewed by Adam Barth.
3145
3146         For WebKit modularization, this patch moves Worker-related APIs
3147         from DOMWindow.idl to DOMWindowWorker.idl.
3148
3149         No tests. No change in behavior.
3150
3151         * workers/DOMWindowWorker.idl: Added.
3152         * page/DOMWindow.idl:
3153
3154         * CMakeLists.txt:
3155         * DerivedSources.make:
3156         * DerivedSources.pri:
3157         * GNUmakefile.list.am:
3158         * WebCore.gypi:
3159
3160 2012-02-24  Robin Cao  <robin.cao@torchmobile.com.cn>
3161
3162         [BlackBerry] Upstream helper classes for skia
3163         https://bugs.webkit.org/show_bug.cgi?id=79216
3164
3165         Reviewed by Antonio Gomes.
3166
3167         Initial upstreaming, no new tests.
3168
3169         * platform/graphics/blackberry/skia/ImageBufferData.h: Added.
3170         (WebCore):
3171         (ImageBufferData):
3172         * platform/graphics/blackberry/skia/PlatformSupport.cpp: Added.
3173         (WebCore):
3174         (WebCore::setFontRenderStyleDefaults):
3175         (WebCore::PlatformSupport::getRenderStyleForStrike):
3176         (WebCore::PlatformSupport::getFontFamilyForCharacters):
3177         * platform/graphics/blackberry/skia/PlatformSupport.h: Added.
3178         (WebCore):
3179         (PlatformSupport):
3180         (FontFamily):
3181
3182 2012-02-24  Robin Cao  <robin.cao@torchmobile.com.cn>
3183
3184         [BlackBerry] Upstream ImageBlackBerry in platform/graphics/blackberry
3185         https://bugs.webkit.org/show_bug.cgi?id=79212
3186
3187         Reviewed by Antonio Gomes.
3188
3189         Initial upstreaming, no new tests.
3190
3191         * PlatformBlackBerry.cmake:
3192         * platform/graphics/blackberry/ImageBlackBerry.cpp: Added.
3193         (WebCore):
3194         (WebCore::Image::loadPlatformResource):
3195
3196 2012-02-24  Leo Yang  <leo.yang@torchmobile.com.cn>
3197
3198         [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntSize.h
3199         https://bugs.webkit.org/show_bug.cgi?id=79430
3200
3201         Reviewed by Antonio Gomes.
3202
3203         Add conversion convenience between WebCore::IntSize and BlackBerry::Platform::IntSize.
3204
3205         The porting can't be built yet, no new tests.
3206
3207         * platform/graphics/IntSize.h:
3208         (Platform):
3209         (IntSize):
3210
3211 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
3212
3213         SpellCheckRequest needs to know the context where the spellcheck happened.
3214         https://bugs.webkit.org/show_bug.cgi?id=79320
3215
3216         Reviewed by Hajime Morita.
3217
3218         WebKit clients should be able to get the context how the spellcheck happended.
3219         For example, WebKit clients may want to change the behavior by a spellcheck request is
3220         invoked in typing or in pasting.
3221
3222         This patch added an enum in SpellCheckRequest so that WebKit clients can understand the context.
3223
3224         * editing/Editor.cpp:
3225         (WebCore::Editor::replaceSelectionWithFragment):
3226         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
3227         * editing/SpellChecker.cpp:
3228         (WebCore::SpellCheckRequest::SpellCheckRequest):
3229         (WebCore::SpellCheckRequest::create):
3230         (WebCore::SpellChecker::invokeRequest):
3231         * editing/SpellChecker.h:
3232         (SpellCheckRequest):
3233         (WebCore::SpellCheckRequest::textCheckingRequest):
3234         (WebCore::SpellCheckRequest::processType):
3235         * loader/EmptyClients.h:
3236         (WebCore::EmptyTextCheckerClient::requestCheckingOfString):
3237         * platform/text/TextCheckerClient.h:
3238         (WebCore):
3239         (TextCheckerClient):
3240         * platform/text/TextChecking.h:
3241         (TextCheckingRequest):
3242         (WebCore::TextCheckingRequest::TextCheckingRequest):
3243         (WebCore::TextCheckingRequest::setSequence):
3244         (WebCore::TextCheckingRequest::sequence):
3245         (WebCore::TextCheckingRequest::text):
3246         (WebCore::TextCheckingRequest::mask):
3247         (WebCore::TextCheckingRequest::processType):
3248         (WebCore):
3249
3250 2012-02-24  Hayato Ito  <hayato@chromium.org>
3251
3252         Make Node::showTreeForThis (and Node::showTreeForThisAcrossFrame) dump multiple shadow roots.
3253         https://bugs.webkit.org/show_bug.cgi?id=79351
3254
3255         Reviewed by Dimitri Glazkov.
3256
3257         No new tests since these utility functions are only available in debug build.
3258         I manually tested in GDB session.
3259
3260         * dom/Node.cpp:
3261         (WebCore::oldestShadowRootFor):
3262         (WebCore::traverseTreeAndMark):
3263         (WebCore::parentOrHostOrFrameOwner):
3264         (WebCore::showSubTreeAcrossFrame):
3265         * dom/ShadowRoot.h:
3266         (WebCore::ShadowRoot::youngerShadowRoot):
3267         (WebCore::ShadowRoot::olderShadowRoot):
3268         (WebCore::toShadowRoot):
3269         (WebCore):
3270
3271 2012-02-24  Pavel Feldman  <pfeldman@chromium.org>
3272
3273         Not reviewed: follow up to inspector's r108331, using more general condition.
3274
3275         * inspector/front-end/JavaScriptSourceFrame.js:
3276         (WebInspector.JavaScriptSourceFrame.prototype._getPopoverAnchor):
3277
3278 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3279
3280         Move WebGL APIs from DOMWindow.idl to DOMWindowWebGL.idl
3281         https://bugs.webkit.org/show_bug.cgi?id=79432
3282
3283         Reviewed by Adam Barth.
3284
3285         For WebKit modularization, this patch moves WebGL-related APIs
3286         from DOMWindow.idl to DOMWindowWebGL.idl.
3287
3288         No tests. No change in behavior.
3289
3290         * html/canvas/DOMWindowWebGL.idl: Added.
3291         * page/DOMWindow.idl:
3292
3293         * DerivedSources.make: Added DOMWindowWebGL.idl.
3294         * DerivedSources.pri: Ditto.
3295         * GNUmakefile.list.am: Ditto.
3296         * WebCore.gypi: Ditto.
3297         * WebCore.xcodeproj/project.pbxproj: Ditto.
3298
3299 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
3300
3301         Web Inspector: [Regression] network worker tests crash on qt.
3302         https://bugs.webkit.org/show_bug.cgi?id=79263
3303
3304         Reviewed by Pavel Feldman.
3305
3306         * inspector/InspectorPageAgent.cpp:
3307         (WebCore::InspectorPageAgent::createDecoder):
3308         (WebCore::InspectorPageAgent::cachedResourceContent):
3309
3310 2012-02-24  Andreas Kling  <awesomekling@apple.com>
3311
3312         Miscellaneous CSSParser dodging in presentation attribute parsing.
3313         <http://webkit.org/b/79468>
3314
3315         Reviewed by Antti Koivisto.
3316
3317         - Bypass CSSParser when adding constant values to attribute styles.
3318         - Added fast paths for the valid HTMLTablePartElement align values.
3319
3320         * html/HTMLEmbedElement.cpp:
3321         (WebCore::HTMLEmbedElement::collectStyleForAttribute):
3322         * html/HTMLHRElement.cpp:
3323         (WebCore::HTMLHRElement::collectStyleForAttribute):
3324         * html/HTMLIFrameElement.cpp:
3325         (WebCore::HTMLIFrameElement::collectStyleForAttribute):
3326         * html/HTMLTableElement.cpp:
3327         (WebCore::HTMLTableElement::collectStyleForAttribute):
3328         * html/HTMLTablePartElement.cpp:
3329         (WebCore::HTMLTablePartElement::collectStyleForAttribute):
3330
3331 2012-02-24  Dana Jansens  <danakj@chromium.org>
3332
3333         [chromium] Avoid culling work for fully-non-opaque tiles, and add tracing for draw culling
3334         https://bugs.webkit.org/show_bug.cgi?id=79183
3335
3336         Reviewed by James Robinson.
3337
3338         Addresses performance issues with draw culling by avoiding the work
3339         of mapRect and other function calls when the quad has no opaque area.
3340         And adds a TRACE_EVENT to watch the time spent in draw culling.
3341
3342         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
3343         (WebCore::CCLayerTreeHostImpl::optimizeRenderPasses):
3344         * platform/graphics/chromium/cc/CCQuadCuller.cpp:
3345         (WebCore::CCQuadCuller::cullOccludedQuads):
3346
3347 2012-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
3348
3349         Web Inspector: Scripts panel navigator overlay should be shown automatically only one time.
3350         https://bugs.webkit.org/show_bug.cgi?id=79467
3351
3352         Reviewed by Pavel Feldman.
3353
3354         * inspector/front-end/ScriptsPanel.js:
3355         (WebInspector.ScriptsPanel.prototype._hideNavigatorOverlay):
3356         (WebInspector.ScriptsPanel.prototype._navigatorOverlayWillHide):
3357
3358 2012-02-23  MORITA Hajime  <morrita@google.com>
3359
3360         Adding a ShadowRoot to image-backed element causes a crash
3361         https://bugs.webkit.org/show_bug.cgi?id=78878
3362
3363         Reviewed by Dimitri Glazkov.
3364
3365         The crash happened because NodeRenderingContext tried to append a
3366         child to a renderer regardless one isn't capable of holding any
3367         children if it appears in the shadow attaching phase. RenderImage
3368         is one of such renderer classes which aren't capable.
3369
3370         NodeRenderingContext decide whether the contextual node as a child
3371         can create its renderer based on RenderObject::canHaveChildren()
3372         and Node::childShouldCreateRenderer(). But the responsibility
3373         between these two methods are getting confused. which results this
3374         unfortuante crash path.
3375
3376         This change re-aligns the responsibility:
3377
3378         - Now canHaveChildren() purely declares the ability of the
3379           renderer. If the renderer is capable of having children, it
3380           return true regardless of HTML semantics.
3381
3382         - On the other hand, childShouldCreateRenderer() cares about the
3383           semantics. If the element doesn't allow children to be rendered,
3384           this returns false.
3385
3386         - Note that these decision on elements are contextual. Each element
3387           needs to know which role it is playing in the tree composition
3388           algorithm of Shadow DOM. That's why the method parameter is changed
3389           from Node* to NodeRenderingContext.
3390
3391         - Fixed updateFirstLetter() which relied on this confused assumption.
3392           This change introduces RenderDeprecatedFlexibleBox::buttonText()
3393           to refine the relying assumption.
3394
3395         With this change, some decision points are moved from a renderer to an
3396         element. Following renderers no longer stop reject having children:
3397
3398         - RenderButton, RenderListBox, RenderMenuList, RenderMeter,
3399           RenderProgress, RenderTextControl.
3400
3401         Corresponding element for such a render (HTMLProgressElement of
3402         RenderProgress for exaple) now cares about that.
3403
3404         Reviewed by Dimitri Glazkov.
3405
3406         Tests: fast/dom/shadow/shadow-on-image-expected.html
3407                fast/dom/shadow/shadow-on-image.html
3408
3409         * dom/Element.cpp:
3410         (WebCore::Element::childShouldCreateRenderer):
3411         * dom/Element.h:
3412         (Element):
3413         * dom/Node.h:
3414         (WebCore::Node::childShouldCreateRenderer):
3415         * dom/NodeRenderingContext.cpp:
3416         (WebCore::NodeRenderingContext::shouldCreateRenderer):
3417         * dom/NodeRenderingContext.h:
3418         (NodeRenderingContext):
3419         (WebCore::NodeRenderingContext::isOnEncapsulationBoundary):
3420         (WebCore):
3421         * html/HTMLDetailsElement.cpp:
3422         (WebCore::HTMLDetailsElement::childShouldCreateRenderer):
3423         * html/HTMLDetailsElement.h:
3424         (HTMLDetailsElement):
3425         * html/HTMLMediaElement.cpp:
3426         (WebCore):
3427         (WebCore::HTMLMediaElement::childShouldCreateRenderer):
3428         * html/HTMLMediaElement.h:
3429         (HTMLMediaElement):
3430         * html/HTMLMeterElement.cpp:
3431         (WebCore::HTMLMeterElement::childShouldCreateRenderer):
3432         (WebCore):
3433         * html/HTMLMeterElement.h:
3434         (HTMLMeterElement):
3435         * html/HTMLProgressElement.cpp:
3436         (WebCore::HTMLProgressElement::childShouldCreateRenderer):
3437         (WebCore):
3438         * html/HTMLProgressElement.h:
3439         (HTMLProgressElement):
3440         * html/HTMLSelectElement.cpp:
3441         (WebCore::HTMLSelectElement::childShouldCreateRenderer):
3442         (WebCore):
3443         * html/HTMLSelectElement.h:
3444         (HTMLSelectElement):
3445         * html/HTMLSummaryElement.cpp:
3446         (WebCore::HTMLSummaryElement::childShouldCreateRenderer):
3447         (WebCore):
3448         * html/HTMLSummaryElement.h:
3449         (HTMLSummaryElement):
3450         * html/HTMLTextFormControlElement.cpp:
3451         (WebCore::HTMLTextFormControlElement::childShouldCreateRenderer):
3452         (WebCore):
3453         * html/HTMLTextFormControlElement.h:
3454         (HTMLTextFormControlElement):
3455         * rendering/RenderBlock.cpp:
3456         (WebCore::RenderBlock::updateFirstLetter):
3457         * rendering/RenderButton.cpp:
3458         * rendering/RenderButton.h:
3459         (RenderButton):
3460         * rendering/RenderDeprecatedFlexibleBox.h:
3461         (WebCore::RenderDeprecatedFlexibleBox::buttonText):
3462         * rendering/RenderListBox.h:
3463         (RenderListBox):
3464         * rendering/RenderMedia.h:
3465         (WebCore::RenderMedia::canHaveChildren):
3466         * rendering/RenderMenuList.h:
3467         (RenderMenuList):
3468         (WebCore::RenderMenuList::hasControlClip):
3469         * rendering/RenderMeter.h:
3470         * rendering/RenderProgress.h:
3471         * rendering/RenderTextControl.h:
3472         * rendering/svg/RenderSVGRoot.h:
3473         (WebCore::RenderSVGRoot::canHaveChildren):
3474         * svg/SVGAElement.cpp:
3475         (WebCore::SVGAElement::childShouldCreateRenderer):
3476         * svg/SVGAElement.h:
3477         (SVGAElement):
3478         * svg/SVGAltGlyphElement.cpp:
3479         (WebCore::SVGAltGlyphElement::childShouldCreateRenderer):
3480         * svg/SVGAltGlyphElement.h:
3481         (SVGAltGlyphElement):
3482         * svg/SVGDocument.cpp:
3483         (WebCore::SVGDocument::childShouldCreateRenderer):
3484         * svg/SVGDocument.h:
3485         (SVGDocument):
3486         * svg/SVGElement.cpp:
3487         (WebCore::SVGElement::childShouldCreateRenderer):
3488         * svg/SVGElement.h:
3489         (SVGElement):
3490         * svg/SVGForeignObjectElement.cpp:
3491         (WebCore::SVGForeignObjectElement::childShouldCreateRenderer):
3492         * svg/SVGForeignObjectElement.h:
3493         (SVGForeignObjectElement):
3494         * svg/SVGSwitchElement.cpp:
3495         (WebCore::SVGSwitchElement::childShouldCreateRenderer):
3496         * svg/SVGSwitchElement.h:
3497         (SVGSwitchElement):
3498         * svg/SVGTRefElement.cpp:
3499         (WebCore::SVGTRefElement::childShouldCreateRenderer):
3500         * svg/SVGTRefElement.h:
3501         (SVGTRefElement):
3502         * svg/SVGTSpanElement.cpp:
3503         (WebCore::SVGTSpanElement::childShouldCreateRenderer):
3504         * svg/SVGTSpanElement.h:
3505         (SVGTSpanElement):
3506         * svg/SVGTextElement.cpp:
3507         (WebCore::SVGTextElement::childShouldCreateRenderer):
3508         * svg/SVGTextElement.h:
3509         (SVGTextElement):
3510         * svg/SVGTextPathElement.cpp:
3511         (WebCore::SVGTextPathElement::childShouldCreateRenderer):
3512         * svg/SVGTextPathElement.h:
3513
3514 2012-02-24  Kentaro Hara  <haraken@chromium.org>
3515