Add empty UserContentController class
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-01-20  Anders Carlsson  <andersca@apple.com>
2
3         Add empty UserContentController class
4         https://bugs.webkit.org/show_bug.cgi?id=127300
5         <rdar://problem/15861296>
6
7         Reviewed by Dan Bernstein.
8
9         This is the first step towards moving handling of user scripts and style sheets from
10         the page group to a separate objects and ultimately make them be settable per page instead of per page group.
11
12         * CMakeLists.txt:
13         * GNUmakefile.list.am:
14         * WebCore.vcxproj/WebCore.vcxproj:
15         * WebCore.vcxproj/WebCore.vcxproj.filters:
16         * WebCore.xcodeproj/project.pbxproj:
17         * page/UserContentController.cpp: Added.
18         (WebCore::UserContentController::create):
19         (WebCore::UserContentController::UserContentController):
20         (WebCore::UserContentController::~UserContentController):
21         * page/UserContentController.h: Added.
22
23 2014-01-20  Joseph Pecoraro  <pecoraro@apple.com>
24
25         Run clang-modernize and let it add a bunch of missing overrides in WebCore/inspector
26         https://bugs.webkit.org/show_bug.cgi?id=127206
27
28         Reviewed by Anders Carlsson.
29
30         Let clang-modernize add overrides.
31
32         * inspector/DOMEditor.cpp:
33         * inspector/InspectorApplicationCacheAgent.h:
34         * inspector/InspectorCSSAgent.h:
35         * inspector/InspectorCanvasAgent.h:
36         * inspector/InspectorConsoleAgent.h:
37         * inspector/InspectorDOMAgent.h:
38         * inspector/InspectorDOMDebuggerAgent.h:
39         * inspector/InspectorDOMStorageAgent.h:
40         * inspector/InspectorDatabaseAgent.cpp:
41         * inspector/InspectorDatabaseAgent.h:
42         * inspector/InspectorDebuggerAgent.h:
43         * inspector/InspectorFrontendHost.cpp:
44         * inspector/InspectorHeapProfilerAgent.cpp:
45         (WebCore::InspectorHeapProfilerAgent::getHeapSnapshot):
46         (WebCore::InspectorHeapProfilerAgent::takeHeapSnapshot):
47         * inspector/InspectorHeapProfilerAgent.h:
48         * inspector/InspectorHistory.cpp:
49         * inspector/InspectorIndexedDBAgent.cpp:
50         * inspector/InspectorIndexedDBAgent.h:
51         * inspector/InspectorInputAgent.h:
52         * inspector/InspectorLayerTreeAgent.h:
53         * inspector/InspectorMemoryAgent.h:
54         * inspector/InspectorPageAgent.h:
55         * inspector/InspectorProfilerAgent.cpp:
56         * inspector/InspectorProfilerAgent.h:
57         * inspector/InspectorResourceAgent.h:
58         * inspector/InspectorRuntimeAgent.h:
59         * inspector/InspectorStyleSheet.h:
60         * inspector/InspectorTimelineAgent.h:
61         * inspector/InspectorWorkerAgent.cpp:
62         * inspector/InspectorWorkerAgent.h:
63         * inspector/PageConsoleAgent.h:
64         * inspector/PageDebuggerAgent.h:
65         * inspector/PageRuntimeAgent.h:
66         * inspector/WorkerConsoleAgent.h:
67         * inspector/WorkerDebuggerAgent.cpp:
68         * inspector/WorkerInspectorController.cpp:
69         * inspector/WorkerRuntimeAgent.h:
70
71 2014-01-20  Zan Dobersek  <zdobersek@igalia.com>
72
73         Move WebAudio source code to std::unique_ptr
74         https://bugs.webkit.org/show_bug.cgi?id=127274
75
76         Reviewed by Eric Carlson.
77
78         Move from using OwnPtr and PassOwnPtr to using std::unique_ptr and move semantics
79         in the WebAudio module and the WebAudio code in the platform layer.
80
81         * Modules/webaudio/AsyncAudioDecoder.cpp:
82         * Modules/webaudio/AsyncAudioDecoder.h:
83         * Modules/webaudio/AudioBasicInspectorNode.cpp:
84         (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode):
85         * Modules/webaudio/AudioBasicProcessorNode.cpp:
86         (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode):
87         * Modules/webaudio/AudioBasicProcessorNode.h:
88         * Modules/webaudio/AudioBufferSourceNode.cpp:
89         (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
90         * Modules/webaudio/AudioContext.cpp:
91         * Modules/webaudio/AudioContext.h:
92         * Modules/webaudio/AudioDestinationNode.cpp:
93         (WebCore::AudioDestinationNode::AudioDestinationNode):
94         * Modules/webaudio/AudioNode.cpp:
95         (WebCore::AudioNode::addInput):
96         (WebCore::AudioNode::addOutput):
97         (WebCore::AudioNode::checkNumberOfChannelsForInput):
98         * Modules/webaudio/AudioNode.h:
99         * Modules/webaudio/BiquadFilterNode.cpp:
100         (WebCore::BiquadFilterNode::BiquadFilterNode):
101         * Modules/webaudio/BiquadProcessor.cpp:
102         (WebCore::BiquadProcessor::createKernel):
103         (WebCore::BiquadProcessor::getFrequencyResponse):
104         * Modules/webaudio/BiquadProcessor.h:
105         * Modules/webaudio/ChannelMergerNode.cpp:
106         (WebCore::ChannelMergerNode::ChannelMergerNode):
107         * Modules/webaudio/ChannelSplitterNode.cpp:
108         (WebCore::ChannelSplitterNode::ChannelSplitterNode):
109         * Modules/webaudio/ConvolverNode.cpp:
110         (WebCore::ConvolverNode::ConvolverNode):
111         (WebCore::ConvolverNode::uninitialize):
112         (WebCore::ConvolverNode::setBuffer):
113         * Modules/webaudio/ConvolverNode.h:
114         * Modules/webaudio/DefaultAudioDestinationNode.h:
115         * Modules/webaudio/DelayNode.cpp:
116         (WebCore::DelayNode::DelayNode):
117         * Modules/webaudio/DelayProcessor.cpp:
118         (WebCore::DelayProcessor::createKernel):
119         * Modules/webaudio/DelayProcessor.h:
120         * Modules/webaudio/DynamicsCompressorNode.cpp:
121         (WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
122         (WebCore::DynamicsCompressorNode::initialize):
123         (WebCore::DynamicsCompressorNode::uninitialize):
124         * Modules/webaudio/DynamicsCompressorNode.h:
125         * Modules/webaudio/GainNode.cpp:
126         (WebCore::GainNode::GainNode):
127         * Modules/webaudio/MediaElementAudioSourceNode.cpp:
128         (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
129         (WebCore::MediaElementAudioSourceNode::setFormat):
130         * Modules/webaudio/MediaElementAudioSourceNode.h:
131         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
132         * Modules/webaudio/MediaStreamAudioSource.cpp:
133         * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
134         (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
135         * Modules/webaudio/MediaStreamAudioSourceNode.h:
136         * Modules/webaudio/OscillatorNode.cpp:
137         (WebCore::OscillatorNode::OscillatorNode):
138         * Modules/webaudio/PannerNode.cpp:
139         (WebCore::PannerNode::PannerNode):
140         (WebCore::PannerNode::uninitialize):
141         (WebCore::PannerNode::setPanningModel):
142         * Modules/webaudio/PannerNode.h:
143         * Modules/webaudio/PeriodicWave.cpp:
144         (WebCore::PeriodicWave::createBandLimitedTables):
145         * Modules/webaudio/PeriodicWave.h:
146         * Modules/webaudio/RealtimeAnalyser.cpp:
147         (WebCore::RealtimeAnalyser::RealtimeAnalyser):
148         (WebCore::RealtimeAnalyser::setFftSize):
149         * Modules/webaudio/RealtimeAnalyser.h:
150         * Modules/webaudio/ScriptProcessorNode.cpp:
151         (WebCore::ScriptProcessorNode::ScriptProcessorNode):
152         * Modules/webaudio/WaveShaperDSPKernel.cpp:
153         (WebCore::WaveShaperDSPKernel::lazyInitializeOversampling):
154         * Modules/webaudio/WaveShaperDSPKernel.h:
155         * Modules/webaudio/WaveShaperNode.cpp:
156         (WebCore::WaveShaperNode::WaveShaperNode):
157         * Modules/webaudio/WaveShaperProcessor.cpp:
158         (WebCore::WaveShaperProcessor::createKernel):
159         * Modules/webaudio/WaveShaperProcessor.h:
160         * platform/audio/AudioBus.cpp:
161         (WebCore::AudioBus::AudioBus):
162         (WebCore::AudioBus::copyWithGainFrom):
163         * platform/audio/AudioBus.h:
164         * platform/audio/AudioChannel.cpp:
165         * platform/audio/AudioChannel.h:
166         (WebCore::AudioChannel::AudioChannel):
167         (WebCore::AudioChannel::set):
168         * platform/audio/AudioDSPKernelProcessor.h:
169         * platform/audio/AudioDestination.h:
170         * platform/audio/AudioResampler.cpp:
171         (WebCore::AudioResampler::AudioResampler):
172         (WebCore::AudioResampler::configureChannels):
173         * platform/audio/AudioResampler.h:
174         * platform/audio/AudioSession.h:
175         * platform/audio/DynamicsCompressor.cpp:
176         (WebCore::DynamicsCompressor::setNumberOfChannels):
177         * platform/audio/DynamicsCompressor.h:
178         * platform/audio/DynamicsCompressorKernel.cpp:
179         (WebCore::DynamicsCompressorKernel::setNumberOfChannels):
180         * platform/audio/DynamicsCompressorKernel.h:
181         * platform/audio/FFTFrame.cpp:
182         (WebCore::FFTFrame::createInterpolatedFrame):
183         * platform/audio/FFTFrame.h:
184         * platform/audio/HRTFDatabase.cpp:
185         (WebCore::HRTFDatabase::HRTFDatabase):
186         * platform/audio/HRTFDatabase.h:
187         * platform/audio/HRTFDatabaseLoader.cpp:
188         (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
189         (WebCore::HRTFDatabaseLoader::load):
190         * platform/audio/HRTFDatabaseLoader.h:
191         * platform/audio/HRTFElevation.cpp:
192         (WebCore::HRTFElevation::createForSubject):
193         (WebCore::HRTFElevation::createByInterpolatingSlices):
194         * platform/audio/HRTFElevation.h:
195         (WebCore::HRTFElevation::HRTFElevation):
196         * platform/audio/HRTFKernel.cpp:
197         (WebCore::HRTFKernel::HRTFKernel):
198         (WebCore::HRTFKernel::createImpulseResponse):
199         (WebCore::HRTFKernel::createInterpolatedKernel):
200         * platform/audio/HRTFKernel.h:
201         (WebCore::HRTFKernel::create):
202         (WebCore::HRTFKernel::HRTFKernel):
203         * platform/audio/MultiChannelResampler.cpp:
204         (WebCore::MultiChannelResampler::MultiChannelResampler):
205         * platform/audio/MultiChannelResampler.h:
206         * platform/audio/Panner.cpp:
207         (WebCore::Panner::create):
208         * platform/audio/Panner.h:
209         * platform/audio/Reverb.cpp:
210         (WebCore::Reverb::initialize):
211         * platform/audio/Reverb.h:
212         * platform/audio/ReverbConvolver.h:
213         * platform/audio/ReverbConvolverStage.cpp:
214         (WebCore::ReverbConvolverStage::ReverbConvolverStage):
215         * platform/audio/ReverbConvolverStage.h:
216         * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
217         (WebCore::AudioDestination::create):
218         * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
219         * platform/audio/ios/AudioDestinationIOS.cpp:
220         (WebCore::AudioDestination::create):
221         * platform/audio/ios/AudioSessionIOS.mm:
222         (WebCore::AudioSession::AudioSession):
223         * platform/audio/mac/AudioDestinationMac.cpp:
224         (WebCore::AudioDestination::create):
225         * platform/audio/mac/AudioDestinationMac.h:
226         * platform/audio/mac/AudioSessionMac.cpp:
227         (WebCore::AudioSession::AudioSession):
228
229 2014-01-20  Morten Stenshorne  <mstensho@opera.com>
230
231         Region based multicol: support explicit column breaks
232         https://bugs.webkit.org/show_bug.cgi?id=123993
233
234         Reviewed by David Hyatt.
235
236         Merely supporting insertion of explicit (forced) column breaks in
237         the region based multicol implementation is really simple: just
238         hook up with what the CSS regions code is already doing.
239
240         However, there is one complication: column balancing. In order to
241         balance columns as nicely as possible when there are explicit
242         breaks, we need to figure out between which explicit breaks the
243         implicit breaks will occur (if there's room for any at all).
244
245         Tests: fast/multicol/newmulticol/break-after.html
246                fast/multicol/newmulticol/break-before.html
247                fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html
248                fast/multicol/newmulticol/breaks-2-columns-3.html
249                fast/multicol/newmulticol/breaks-3-columns-3.html
250                fast/multicol/newmulticol/fixed-height-fill-balance-2.html
251
252         * rendering/RenderBlockFlow.cpp:
253         (WebCore::RenderBlockFlow::applyBeforeBreak):
254         (WebCore::RenderBlockFlow::applyAfterBreak): Use the already
255         existing region breaking code when inserting breaks in region
256         based multicol.
257         * rendering/RenderFlowThread.h:
258         * rendering/RenderMultiColumnBlock.cpp:
259         (WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
260         (WebCore::RenderMultiColumnBlock::relayoutForPagination): Avoid
261         re-balancing if the multicol's contents were not laid out. Apart
262         from being good for performance, this is now necessary because of
263         how explicit breaks are implemented.
264         (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild):
265         Detect if the contents are going to be laid out, or skipped, so
266         that we can tell if we need to (re-)balance the columns
267         afterwards.
268         * rendering/RenderMultiColumnBlock.h:
269         * rendering/RenderMultiColumnFlowThread.cpp:
270         (WebCore::RenderMultiColumnFlowThread::addForcedRegionBreak):
271         Locate the appropriate multi-column set and call its
272         addForcedBreak().
273         * rendering/RenderMultiColumnFlowThread.h:
274         * rendering/RenderMultiColumnSet.cpp:
275         (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
276         (WebCore::RenderMultiColumnSet::findRunWithTallestColumns):
277         (WebCore::RenderMultiColumnSet::distributeImplicitBreaks): Figure
278         out how many implicit breaks each single "content run" should
279         contain. The taller the content run, the more implicit breaks.
280         (WebCore::RenderMultiColumnSet::calculateBalancedHeight): This is
281         now a const method that only does half of what the old
282         calculateBalancedHeight() did. The rest (such as actually storing
283         the new column height) is done by recalculateBalancedHeight().
284         (WebCore::RenderMultiColumnSet::clearForcedBreaks): Needs to be
285         called between each layout pass, to clear the list of "content
286         runs".
287         (WebCore::RenderMultiColumnSet::addForcedBreak): Only useful when
288         columns are to be balanced. It receives explicit (forced) breaks
289         and stores them as "content runs". When layout is done, we'll go
290         through the list of content runs, and see where implicit breaks
291         should be inserted (if there's room for any). The goal is to
292         insert implicit breaks in such a way that the final columns become
293         as short as possible.
294         (WebCore::RenderMultiColumnSet::recalculateBalancedHeight):
295         Calculates and sets a new balanced column height. This used to be
296         done directly in calculateBalancedHeight(), but that method is now
297         const and it now only calculates the new height and returns it.
298         (WebCore::RenderMultiColumnSet::prepareForLayout):
299         * rendering/RenderMultiColumnSet.h: Remove old data members
300         intended for forced breaks (they were unused), and introduce a
301         "content run" vector instead. A new content run is triggered by an
302         explicit break. This is only used when column balancing is
303         enabled. When not balanced, RenderMultiColumnSet doesn't need to
304         do anything when explicit breaks are inserted.
305
306 2014-01-20  Eric Carlson  <eric.carlson@apple.com>
307
308         Allow MediaSessionManager to restrict 'preload' behavior
309         https://bugs.webkit.org/show_bug.cgi?id=127297
310
311         Reviewed by Jer Noble.
312
313         Tests: media/video-restricted-no-preload-auto.html
314                media/video-restricted-no-preload-metadata.html
315
316         * html/HTMLMediaElement.cpp:
317         (WebCore::HTMLMediaElement::parseAttribute): Apply restrictions to preload attribute before
318             passing to media engine.
319         (WebCore::HTMLMediaElement::loadResource): Ditto.
320
321         * html/HTMLMediaSession.cpp:
322         (WebCore::HTMLMediaSession::effectivePreloadForElement): New, limit preload according to restrictions.
323         * html/HTMLMediaSession.h:
324
325         * platform/audio/MediaSessionManager.h:
326         * platform/audio/ios/MediaSessionManagerIOS.mm:
327         (WebCore::MediaSessionManageriOS::resetRestrictions): Limit preload to metadata only. Drive-by
328             static deviceClass initialization cleanup.
329
330         * testing/Internals.cpp:
331         (WebCore::Internals::setMediaSessionRestrictions): Support MetadataPreloadingNotPermitted and
332             AutoPreloadingNotPermitted.
333
334 2014-01-20  Andreas Kling  <akling@apple.com>
335
336         Let RenderImage construct its RenderImageResource.
337         <https://webkit.org/b/127290>
338
339         Everyone who creates a RenderImage immediately follows up with
340         creating a RenderImageResource and assigning it to the image.
341
342         Let the RenderImage constructor do this instead, and make the
343         imageResource() accessors return references. This exposed a
344         number of unnecessary null checks.
345
346         Also modernized the touched code with std::unique_ptr.
347
348         Reviewed by Antti Koivisto.
349
350         * html/HTMLImageElement.cpp:
351         (WebCore::HTMLImageElement::createElementRenderer):
352         (WebCore::HTMLImageElement::didAttachRenderers):
353         * html/HTMLPlugInImageElement.cpp:
354         (WebCore::HTMLPlugInImageElement::createElementRenderer):
355         * html/HTMLVideoElement.cpp:
356         (WebCore::HTMLVideoElement::didAttachRenderers):
357         (WebCore::HTMLVideoElement::parseAttribute):
358         * html/ImageInputType.cpp:
359         (WebCore::ImageInputType::createInputRenderer):
360         (WebCore::ImageInputType::attach):
361         * loader/ImageLoader.cpp:
362         (WebCore::ImageLoader::renderImageResource):
363         * rendering/RenderElement.cpp:
364         (WebCore::RenderElement::createFor):
365         * rendering/RenderImage.cpp:
366         (WebCore::RenderImage::RenderImage):
367         (WebCore::RenderImage::~RenderImage):
368         (WebCore::RenderImage::styleDidChange):
369         (WebCore::RenderImage::imageChanged):
370         (WebCore::RenderImage::updateIntrinsicSizeIfNeeded):
371         (WebCore::RenderImage::updateInnerContentRect):
372         (WebCore::RenderImage::imageDimensionsChanged):
373         (WebCore::RenderImage::notifyFinished):
374         (WebCore::RenderImage::paintReplaced):
375         (WebCore::RenderImage::paintIntoRect):
376         (WebCore::RenderImage::foregroundIsKnownToBeOpaqueInRect):
377         (WebCore::RenderImage::minimumReplacedHeight):
378         (WebCore::RenderImage::computeIntrinsicRatioInformation):
379         (WebCore::RenderImage::embeddedContentBox):
380         * rendering/RenderImage.h:
381         (WebCore::RenderImage::imageResource):
382         (WebCore::RenderImage::cachedImage):
383         * rendering/RenderImageResource.h:
384         * rendering/RenderImageResourceStyleImage.h:
385         * rendering/RenderMedia.cpp:
386         (WebCore::RenderMedia::RenderMedia):
387         * rendering/RenderSnapshottedPlugIn.cpp:
388         (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
389         * rendering/RenderSnapshottedPlugIn.h:
390         * rendering/RenderVideo.cpp:
391         (WebCore::RenderVideo::calculateIntrinsicSize):
392         * rendering/style/ContentData.cpp:
393         (WebCore::ImageContentData::createContentRenderer):
394         * rendering/svg/RenderSVGImage.cpp:
395         (WebCore::RenderSVGImage::RenderSVGImage):
396         (WebCore::RenderSVGImage::~RenderSVGImage):
397         (WebCore::RenderSVGImage::updateImageViewport):
398         (WebCore::RenderSVGImage::paint):
399         (WebCore::RenderSVGImage::paintForeground):
400         * rendering/svg/RenderSVGImage.h:
401         * svg/SVGImageElement.cpp:
402         (WebCore::SVGImageElement::didAttachRenderers):
403
404 2014-01-20  Antti Koivisto  <antti@apple.com>
405
406         Update overlay scrollbars in single pass
407         https://bugs.webkit.org/show_bug.cgi?id=127289
408
409         Reviewed by Anders Carlsson.
410
411         * platform/ScrollView.cpp:
412         (WebCore::ScrollView::updateScrollbars):
413         
414             Multi-pass scrollbar resolution is only needed for traditional scrollbars. Overlay scrollbars don't affect layout.
415
416 2014-01-20  Jochen Eisinger  <jochen@chromium.org>
417
418         Never send a non-http(s) referrer header even with a referrer policy
419         https://bugs.webkit.org/show_bug.cgi?id=127172
420
421         Reviewed by Alexey Proskuryakov.
422
423         This mirrors the code SecurityPolicy::shouldHideReferrer which is used
424         for ReferrerPolicyDefault.
425
426         No new tests, only affects an embedder that registers other schemes,
427         e.g. chrome://
428
429         * page/SecurityPolicy.cpp:
430         (WebCore::SecurityPolicy::generateReferrerHeader):
431
432 2014-01-20  Mihai Tica  <mitica@adobe.com>
433
434         [CSS Background Blending] Background layer with -webkit-cross-fade doesn't blend
435         when having -webkit-background-blending applied. Turns out the problem was
436         the blending parameter not being passed to WebCore::CrossfadeGeneratedImage::draw
437
438         https://bugs.webkit.org/show_bug.cgi?id=126887
439
440         Reviewed by Dirk Schulze.
441
442         Test: css3/compositing/background-blend-mode-crossfade-image.html
443
444         * platform/graphics/CrossfadeGeneratedImage.cpp:
445         (WebCore::CrossfadeGeneratedImage::draw): set blendMode on context.
446
447 2013-11-22  Sergio Villar Senin  <svillar@igalia.com>
448
449         Null-pointer dereference in WebCore::CSSValue::isPrimitiveValue
450         https://bugs.webkit.org/show_bug.cgi?id=124769
451
452         Reviewed by Andreas Kling.
453
454         Test: fast/gradients/crash-on-no-position-separator.html
455
456         The function parseFillPosition() may not return valid values for
457         centerX and centerY if the input data is malformed. We need to
458         check that we get a valid pair of positions before checking that
459         they're actually valid primitive values in the assertions.
460
461         * css/CSSParser.cpp:
462         (WebCore::CSSParser::parseRadialGradient):
463
464 2014-01-20  Mihai Tica  <mitica@adobe.com>
465
466         Background-blend-mode doesn't work for an element with an
467         SVG image as background and border-style or padding set.
468         The problem consisted in the drawing path using the default
469         blending parameter at all times.
470         https://bugs.webkit.org/show_bug.cgi?id=118894
471
472         Reviewed by Dirk Schulze.
473
474         Test: css3/compositing/background-blend-mode-data-uri-svg-image.html
475
476         * svg/graphics/SVGImage.cpp:
477         (WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
478         * svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
479         * svg/graphics/SVGImageForContainer.cpp:
480         (WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.
481
482 2014-01-20  Zalan Bujtas  <zalan@apple.com>
483
484         Subpixel layout: setSimpleLineLayoutEnabled() produces different layout when line position has CSS px fractions.
485         https://bugs.webkit.org/show_bug.cgi?id=126892
486
487         Reviewed by Antti Koivisto.
488
489         SimpleLineLayout needs to copy normal linebox layout's subpixel rounding strategy to produce
490         the same layout.
491
492         Covered by existing tests.
493
494         * rendering/SimpleLineLayoutFunctions.cpp:
495         (WebCore::SimpleLineLayout::paintFlow):
496
497 2014-01-20  Gurpreet Kaur  <k.gurpreet@samsung.com>
498
499         Col width is not honored when dynamically updated and it would make table narrower
500         https://bugs.webkit.org/show_bug.cgi?id=104711
501
502         Reviewed by Antti Koivisto.
503
504         Increasing the table width by increasing the colgroup width
505         was working but decreasing the table width by decreasing the
506         colgroup width is not working.
507
508         Test: fast/dom/HTMLTableColElement/resize-table-width-using-col-width.html
509
510         * rendering/RenderTableCol.cpp:
511         (WebCore::RenderTableCol::styleDidChange):
512         When colgroup width is defined table cell should adjust according to
513         that. On decreasing colgroup width the cells maxPreferredLogicalWidth
514         was still set to the earlier value. Setting the
515         setPreferredLogicalWidthsDirty to true so that cells pref width is
516         calculated again.
517
518 2014-01-20  Edit Balint  <edbalint@inf.u-szeged.hu>
519
520         [CoordinatedGraphics] Segmentation fault at  CoordinatedGraphicsScene::clearImageBackingContents
521
522         https://bugs.webkit.org/show_bug.cgi?id=125776
523
524         Reviewed by Csaba Osztrogonác.
525
526         Unexpected behavior occurs in some test cases which leads to segmentation fault.
527
528         * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
529         (WebCore::CompositingCoordinator::removeImageBacking):
530
531 2014-01-20  Morten Stenshorne  <mstensho@opera.com>
532
533         Region based multicol: tall line causes taller multicol container than necessary
534         https://bugs.webkit.org/show_bug.cgi?id=122550
535
536         Detect and report all column breaks, also when there's no pagination strut involved.
537
538         This may end up becoming the overall smallest space shortage in some cases,
539         so we need to report it, to avoid column height over-stretching.
540
541         Reviewed by David Hyatt.
542
543         Test: fast/multicol/newmulticol/balance10.html
544
545         * rendering/RenderBlockFlow.cpp:
546         (WebCore::RenderBlockFlow::adjustLinePositionForPagination):
547
548 2014-01-19  Carlos Garcia Campos  <cgarcia@igalia.com>
549
550         [GLIB] GVariant floating references are not correctly handled by GRefPtr
551         https://bugs.webkit.org/show_bug.cgi?id=127246
552
553         Reviewed by Martin Robinson.
554
555         Do not adopt GVariant floating references, they will be converted
556         to a full reference by GRefPtr.
557
558         * platform/gtk/PasteboardHelper.cpp:
559         (WebCore::PasteboardHelper::fillSelectionData):
560         (WebCore::PasteboardHelper::fillDataObjectFromDropData):
561
562 2014-01-19  Jinwoo Song  <jinwoo7.song@samsung.com>
563
564         Use unsigned type for the size of CSSParserValueList
565         https://bugs.webkit.org/show_bug.cgi?id=127211
566
567         Reviewed by Andreas Kling.
568
569         * css/CSSParser.cpp: Changed variable type from int to unsigned.
570         (WebCore::CSSParser::parseValue):
571
572 2014-01-19  Jaehun Lim  <ljaehun.lim@samsung.com>
573
574         Unreviewed build fix after r162293
575
576         Fix debug build.
577
578         [ 13%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o
579         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp: In member function ‘void WebCore::HTMLTreeBuilder::processStartTagForInTable(WebCore::AtomicHTMLToken*)’:
580         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: error: no match for ‘operator!’ in ‘!(WebCore::HTMLTreeBuilder::InsertionMode)12’
581         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: candidate is:
582         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: operator!(bool) <built-in>
583         /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note:   no known conversion for argument 1 from ‘WebCore::HTMLTreeBuilder::InsertionMode’ to ‘bool’
584         make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o] Error 1
585         make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
586         make: *** [all] Error 2
587
588         * html/parser/HTMLTreeBuilder.cpp:
589         (WebCore::HTMLTreeBuilder::processStartTagForInTable): Fix ASSERT.
590
591 2014-01-19  Anders Carlsson  <andersca@apple.com>
592
593         Stop using MutexTryLocker in WebCore
594         https://bugs.webkit.org/show_bug.cgi?id=127254
595
596         Reviewed by Andreas Kling.
597
598         Instead use std::mutex and std::unique_lock with the std::try_to_lock constructor.
599
600         * Modules/webaudio/AudioBufferSourceNode.cpp:
601         (WebCore::AudioBufferSourceNode::process):
602         (WebCore::AudioBufferSourceNode::setBuffer):
603         * Modules/webaudio/AudioBufferSourceNode.h:
604         * Modules/webaudio/AudioParamTimeline.cpp:
605         (WebCore::AudioParamTimeline::insertEvent):
606         (WebCore::AudioParamTimeline::cancelScheduledValues):
607         (WebCore::AudioParamTimeline::valueForContextTime):
608         (WebCore::AudioParamTimeline::valuesForTimeRange):
609         (WebCore::AudioParamTimeline::valuesForTimeRangeImpl):
610         * Modules/webaudio/AudioParamTimeline.h:
611         * Modules/webaudio/ConvolverNode.cpp:
612         (WebCore::ConvolverNode::process):
613         (WebCore::ConvolverNode::reset):
614         (WebCore::ConvolverNode::setBuffer):
615         * Modules/webaudio/ConvolverNode.h:
616         * Modules/webaudio/MediaElementAudioSourceNode.cpp:
617         (WebCore::MediaElementAudioSourceNode::setFormat):
618         (WebCore::MediaElementAudioSourceNode::process):
619         (WebCore::MediaElementAudioSourceNode::lock):
620         (WebCore::MediaElementAudioSourceNode::unlock):
621         * Modules/webaudio/MediaElementAudioSourceNode.h:
622         * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
623         (WebCore::MediaStreamAudioSourceNode::setFormat):
624         (WebCore::MediaStreamAudioSourceNode::process):
625         * Modules/webaudio/MediaStreamAudioSourceNode.h:
626         * Modules/webaudio/OscillatorNode.cpp:
627         (WebCore::OscillatorNode::process):
628         (WebCore::OscillatorNode::setPeriodicWave):
629         * Modules/webaudio/OscillatorNode.h:
630         * Modules/webaudio/PannerNode.cpp:
631         (WebCore::PannerNode::process):
632         (WebCore::PannerNode::setPanningModel):
633         * Modules/webaudio/PannerNode.h:
634         * Modules/webaudio/WaveShaperProcessor.cpp:
635         (WebCore::WaveShaperProcessor::setCurve):
636         (WebCore::WaveShaperProcessor::setOversample):
637         (WebCore::WaveShaperProcessor::process):
638         * Modules/webaudio/WaveShaperProcessor.h:
639
640 2014-01-19  Alberto Garcia  <berto@igalia.com>
641
642         Does not build with SVG disabled
643         https://bugs.webkit.org/show_bug.cgi?id=127248
644
645         Reviewed by Sam Weinig.
646
647         Add missing #if ENABLE(SVG) guard.
648
649         * dom/ElementData.h:
650
651 2014-01-19  Anders Carlsson  <andersca@apple.com>
652
653         Use a strong enum for HTMLTreeBuilder::InsertionMode
654         https://bugs.webkit.org/show_bug.cgi?id=127252
655
656         Reviewed by Antti Koivisto.
657
658         * html/parser/HTMLTreeBuilder.cpp:
659         (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
660         (WebCore::HTMLTreeBuilder::constructTree):
661         (WebCore::HTMLTreeBuilder::processDoctypeToken):
662         (WebCore::HTMLTreeBuilder::processStartTagForInBody):
663         (WebCore::HTMLTreeBuilder::processTemplateStartTag):
664         (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
665         (WebCore::HTMLTreeBuilder::closeTheCell):
666         (WebCore::HTMLTreeBuilder::processStartTagForInTable):
667         (WebCore::HTMLTreeBuilder::processStartTag):
668         (WebCore::HTMLTreeBuilder::processBodyEndTagForInBody):
669         (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
670         (WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
671         (WebCore::HTMLTreeBuilder::processEndTagForInRow):
672         (WebCore::HTMLTreeBuilder::processEndTagForInCell):
673         (WebCore::HTMLTreeBuilder::processCaptionEndTagForInCaption):
674         (WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
675         (WebCore::HTMLTreeBuilder::processEndTag):
676         (WebCore::HTMLTreeBuilder::processComment):
677         (WebCore::HTMLTreeBuilder::processCharacterBuffer):
678         (WebCore::HTMLTreeBuilder::processEndOfFile):
679         (WebCore::HTMLTreeBuilder::defaultForInitial):
680         (WebCore::HTMLTreeBuilder::defaultForBeforeHTML):
681         (WebCore::HTMLTreeBuilder::processStartTagForInHead):
682         (WebCore::HTMLTreeBuilder::processGenericRCDATAStartTag):
683         (WebCore::HTMLTreeBuilder::processGenericRawTextStartTag):
684         (WebCore::HTMLTreeBuilder::processScriptStartTag):
685         * html/parser/HTMLTreeBuilder.h:
686
687 2014-01-19  Anders Carlsson  <andersca@apple.com>
688
689         Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading primitives
690         https://bugs.webkit.org/show_bug.cgi?id=127251
691
692         Reviewed by Antti Koivisto.
693
694         Also add a condition to the loaderRunLoop() function to protect against spurious wake-ups.
695
696         * platform/ios/wak/WebCoreThreadRun.cpp:
697         * platform/network/cf/LoaderRunLoopCF.cpp:
698         (WebCore::loaderRunLoopMutex):
699         (WebCore::loaderRunLoopConditionVariable):
700         (WebCore::runLoaderThread):
701         (WebCore::loaderRunLoop):
702
703 2014-01-19  Anders Carlsson  <andersca@apple.com>
704
705         Modernize ReverbConvolver
706         https://bugs.webkit.org/show_bug.cgi?id=127250
707
708         Reviewed by Andreas Kling.
709
710         Use std::unique_ptr instead of OwnPtr and the STL threading primitives instead of the WTF ones.
711
712         * platform/audio/ReverbConvolver.cpp:
713         (WebCore::ReverbConvolver::ReverbConvolver):
714         (WebCore::ReverbConvolver::~ReverbConvolver):
715         (WebCore::ReverbConvolver::backgroundThreadEntry):
716         (WebCore::ReverbConvolver::process):
717         * platform/audio/ReverbConvolver.h:
718
719 2014-01-18  Andy Estes  <aestes@apple.com>
720
721         [iOS] Rename GestureEventIOS.{cpp,h} to GestureEvent.{cpp,h} to fix the build
722
723         InFilesCompiler.pm assumes that <interface name>.h exists for each
724         interface it processes. We renamed GestureEvent.h to GestureEventIOS.h
725         but kept the interface named GestureEvent, so a non-existant file was
726         being referenced by InFilesCompiler.pm (this was hard to detect since
727         GestureEvent.h still existed in the SDK due to not having submitted
728         WebKitAdditions recently).
729
730         Since we cannot rename the GestureEvent interface, and since there is
731         no conflicting GestureEvent in open source, we can just rename
732         GestureEventIOS.{cpp,h} back to GestureEvent.{cpp,h}.
733
734         * dom/ios/TouchEvents.cpp: Updated to include GestureEvent.cpp.
735
736 2014-01-18  Alexey Proskuryakov  <ap@apple.com>
737
738         Memory leak in JSSubtleCrypto::wrapKey
739         https://bugs.webkit.org/show_bug.cgi?id=127241
740
741         Reviewed by Sam Weinig.
742
743         * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::wrapKey):
744         Delete algorithmPtr and parametersPtr that aren't smart pointers because of lambdas.
745
746 2014-01-18  Andy Estes  <aestes@apple.com>
747
748         Fix the iOS Production build.
749
750         * Configurations/WebCore.xcconfig:
751
752 2014-01-18  Alberto Garcia  <berto@igalia.com>
753
754         [CodeGeneratorJS] Sort output of StructureFlags and function parameters
755
756         https://bugs.webkit.org/show_bug.cgi?id=127226
757
758         Reviewed by Alexey Proskuryakov.
759
760         The order of the keys in a hash is undefined and subject to change
761         between different Perl versions, so we have to sort them to make
762         sure that the output is always the same.
763
764         * bindings/scripts/CodeGeneratorJS.pm:
765         (GenerateHeader):
766         (GenerateParametersCheckExpression):
767         * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
768         * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
769         * bindings/scripts/test/JS/JSTestEventConstructor.h:
770         * bindings/scripts/test/JS/JSTestEventTarget.h:
771         * bindings/scripts/test/JS/JSTestException.h:
772         * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
773         * bindings/scripts/test/JS/JSTestInterface.h:
774         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
775         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
776         * bindings/scripts/test/JS/JSTestNode.h:
777         * bindings/scripts/test/JS/JSTestObj.cpp:
778         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
779         * bindings/scripts/test/JS/JSTestObj.h:
780         * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
781         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
782         * bindings/scripts/test/JS/JSTestTypedefs.h:
783         * bindings/scripts/test/JS/JSattribute.h:
784         * bindings/scripts/test/JS/JSreadonly.h:
785
786 2014-01-18  Anders Carlsson  <andersca@apple.com>
787
788         Replace a couple of uses of WTF::Function with std::function
789         https://bugs.webkit.org/show_bug.cgi?id=127218
790
791         Reviewed by Andreas Kling.
792
793         * WebCore.exp.in:
794         * page/scrolling/ScrollingThread.cpp:
795         (WebCore::ScrollingThread::dispatch):
796         (WebCore::ScrollingThread::dispatchBarrier):
797         (WebCore::ScrollingThread::shared):
798         (WebCore::ScrollingThread::createThreadIfNeeded):
799         (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
800         * page/scrolling/ScrollingThread.h:
801         * page/scrolling/mac/ScrollingThreadMac.mm:
802         (WebCore::ScrollingThread::initializeRunLoop):
803
804 2014-01-18  Anders Carlsson  <andersca@apple.com>
805
806         Modernize HTML parser code
807         https://bugs.webkit.org/show_bug.cgi?id=127236
808
809         Reviewed by Andreas Kling.
810
811         * html/parser/AtomicHTMLToken.h:
812         * html/parser/CSSPreloadScanner.cpp:
813         (WebCore::CSSPreloadScanner::emitRule):
814         * html/parser/HTMLDocumentParser.cpp:
815         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
816         (WebCore::HTMLDocumentParser::detach):
817         (WebCore::HTMLDocumentParser::stopParsing):
818         (WebCore::HTMLDocumentParser::pumpTokenizer):
819         (WebCore::HTMLDocumentParser::insert):
820         (WebCore::HTMLDocumentParser::append):
821         (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
822         * html/parser/HTMLDocumentParser.h:
823         * html/parser/HTMLElementStack.cpp:
824         (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
825         (WebCore::HTMLElementStack::insertAbove):
826         (WebCore::HTMLElementStack::pushCommon):
827         * html/parser/HTMLElementStack.h:
828         (WebCore::HTMLElementStack::ElementRecord::releaseNext):
829         (WebCore::HTMLElementStack::ElementRecord::setNext):
830         * html/parser/HTMLMetaCharsetParser.cpp:
831         (WebCore::HTMLMetaCharsetParser::HTMLMetaCharsetParser):
832         * html/parser/HTMLMetaCharsetParser.h:
833         * html/parser/HTMLParserScheduler.h:
834         * html/parser/HTMLPreloadScanner.cpp:
835         (WebCore::TokenPreloadScanner::StartTagScanner::createPreloadRequest):
836         (WebCore::TokenPreloadScanner::scan):
837         (WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
838         * html/parser/HTMLPreloadScanner.h:
839         * html/parser/HTMLResourcePreloader.cpp:
840         (WebCore::HTMLResourcePreloader::takeAndPreload):
841         (WebCore::HTMLResourcePreloader::preload):
842         * html/parser/HTMLResourcePreloader.h:
843         (WebCore::PreloadRequest::PreloadRequest):
844         * html/parser/HTMLScriptRunner.h:
845         * html/parser/HTMLToken.h:
846         (WebCore::HTMLToken::beginDOCTYPE):
847         (WebCore::HTMLToken::releaseDoctypeData):
848         * html/parser/HTMLTokenizer.h:
849         * html/parser/HTMLTreeBuilder.h:
850         * html/parser/HTMLViewSourceParser.cpp:
851         (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
852         * html/parser/HTMLViewSourceParser.h:
853         * html/parser/XSSAuditor.cpp:
854         (WebCore::XSSAuditor::init):
855         (WebCore::XSSAuditor::filterToken):
856         * html/parser/XSSAuditor.h:
857         * html/parser/XSSAuditorDelegate.h:
858         (WebCore::XSSInfo::XSSInfo):
859         * loader/TextResourceDecoder.cpp:
860         (WebCore::TextResourceDecoder::checkForHeadCharset):
861         (WebCore::TextResourceDecoder::checkForMetaCharset):
862         * loader/TextResourceDecoder.h:
863
864 2014-01-18  Benjamin Poulain  <benjamin@webkit.org>
865
866         Make ElementData JIT friendly
867         https://bugs.webkit.org/show_bug.cgi?id=127209
868
869         Reviewed by Geoffrey Garen.
870
871         The offsets of ElementData's flags were not accessible by the JIT. This patch
872         refactor ElementData to use explicit flags so that they can be used from
873         the code generators.
874
875         * dom/Element.cpp:
876         (WebCore::Element::synchronizeAllAttributes):
877         (WebCore::Element::synchronizeAttribute):
878         (WebCore::Element::attributeChanged):
879         (WebCore::Element::removeAttribute):
880         * dom/ElementData.cpp:
881         (WebCore::ElementData::destroy):
882         (WebCore::ElementData::ElementData):
883         (WebCore::ShareableElementData::ShareableElementData):
884         (WebCore::ShareableElementData::~ShareableElementData):
885         (WebCore::ElementData::arraySizeAndFlagsFromOther):
886         * dom/ElementData.h:
887         (WebCore::ElementData::hasName):
888         (WebCore::ElementData::isUnique):
889         (WebCore::ElementData::updateFlag):
890         (WebCore::ElementData::arraySize):
891         (WebCore::ElementData::setHasNameAttribute):
892         (WebCore::ElementData::styleAttributeIsDirty):
893         (WebCore::ElementData::setStyleAttributeIsDirty):
894         (WebCore::ElementData::presentationAttributeStyleIsDirty):
895         (WebCore::ElementData::setPresentationAttributeStyleIsDirty):
896         (WebCore::ElementData::animatedSVGAttributesAreDirty):
897         (WebCore::ElementData::setAnimatedSVGAttributesAreDirty):
898         (WebCore::ElementData::length):
899         (WebCore::ElementData::attributeBase):
900         (WebCore::ElementData::presentationAttributeStyle):
901         * dom/StyledElement.cpp:
902         (WebCore::StyledElement::synchronizeStyleAttributeInternal):
903         (WebCore::StyledElement::attributeChanged):
904         (WebCore::StyledElement::styleAttributeChanged):
905         (WebCore::StyledElement::inlineStyleChanged):
906         (WebCore::StyledElement::rebuildPresentationAttributeStyle):
907         * dom/StyledElement.h:
908         (WebCore::StyledElement::invalidateStyleAttribute):
909         (WebCore::StyledElement::presentationAttributeStyle):
910         * svg/SVGElement.cpp:
911         (WebCore::SVGElement::synchronizeAnimatedSVGAttribute):
912         * svg/SVGElement.h:
913         (WebCore::SVGElement::invalidateSVGAttributes):
914
915 2014-01-18  Zalan Bujtas  <zalan@apple.com>
916
917         Subpixel layout: IntRect::infiniteRect() overflows when subpixel layout is enabled.
918         https://bugs.webkit.org/show_bug.cgi?id=126899
919
920         Reviewed by Tim Horton.
921
922         Use LayoutUnits when setting the infinite values on IntRect::infiniteRect() to ensure
923         it won't overflow later when the IntRect gets converted to LayoutRect.
924
925         Covered by existing tests.
926
927         * platform/graphics/IntRect.h:
928         (WebCore::IntRect::infiniteRect):
929
930 2014-01-18  Anders Carlsson  <andersca@apple.com>
931
932         Remove support for the viewsource attribute
933         https://bugs.webkit.org/show_bug.cgi?id=127232
934
935         Reviewed by Andreas Kling.
936
937         The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
938         its own syntax highlighting) and not audited.
939
940         This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
941         patch will remove the code as well.
942
943         * html/HTMLFrameElementBase.cpp:
944         (WebCore::HTMLFrameElementBase::parseAttribute):
945
946 2014-01-18  Anders Carlsson  <andersca@apple.com>
947
948         XMLTreeViewer shouldn't use the view source mode
949         https://bugs.webkit.org/show_bug.cgi?id=127229
950
951         Reviewed by Andreas Kling.
952
953         Add the relevant styles from view-source.css to XMLViewer.css.
954
955         * xml/XMLTreeViewer.cpp:
956         (WebCore::XMLTreeViewer::transformDocumentToTreeView):
957         * xml/XMLViewer.css:
958         (body):
959         (.comment):
960         (.tag):
961         (.attribute-name):
962         (.attribute-value):
963         * xml/XMLViewer.js:
964         (createComment):
965         (createTag):
966         (createAttribute):
967
968 2014-01-18  Andreas Kling  <akling@apple.com>
969
970         Remove unused "touchDragDropEnabled" setting.
971         <https://webkit.org/b/127227>
972
973         Reviewed by Sam Weinig.
974
975         * page/Settings.in:
976
977 2014-01-18  Brian Burg  <bburg@apple.com>
978
979         Web Inspector: Page should use std::unique_ptr for InspectorController
980         https://bugs.webkit.org/show_bug.cgi?id=127068
981
982         Reviewed by Joseph Pecoraro.
983
984         Make Page and WorkerGlobalScope keep a std::unique_ptr to InspectorController
985         and WorkerInspectorController. Store page references and return controller
986         references where possible.
987
988         Convert call sites to use an InspectorController reference.
989         Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
990         Convert InspectorOverlay to keep Page references.
991
992         * WebCore.exp.in:
993         * bindings/js/JSDOMWindowBase.cpp:
994         (WebCore::JSDOMWindowBase::supportsProfiling):
995         (WebCore::JSDOMWindowBase::supportsRichSourceInfo):
996         * dom/Node.cpp:
997         (WebCore::Node::inspect):
998         * inspector/InspectorController.cpp:
999         (WebCore::InspectorController::InspectorController):
1000         (WebCore::InspectorController::inspectedPageDestroyed):
1001         (WebCore::InspectorController::setInspectorFrontendClient):
1002         (WebCore::InspectorController::hasInspectorFrontendClient):
1003         (WebCore::InspectorController::connectFrontend):
1004         (WebCore::InspectorController::disconnectFrontend):
1005         (WebCore::InspectorController::inspectedPage):
1006         (WebCore::InspectorController::developerExtrasEnabled):
1007         * inspector/InspectorController.h:
1008         * inspector/InspectorFrontendClientLocal.cpp:
1009         (WebCore::InspectorFrontendClientLocal::canAttachWindow):
1010         (WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
1011         (WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
1012         (WebCore::InspectorFrontendClientLocal::openInNewTab):
1013         (WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
1014         * inspector/InspectorOverlay.cpp:
1015         (WebCore::InspectorOverlay::InspectorOverlay):
1016         (WebCore::InspectorOverlay::getHighlight):
1017         (WebCore::InspectorOverlay::highlightQuad):
1018         (WebCore::InspectorOverlay::update):
1019         (WebCore::InspectorOverlay::buildObjectForHighlightedNode):
1020         (WebCore::InspectorOverlay::drawQuadHighlight):
1021         (WebCore::InspectorOverlay::overlayPage):
1022         (WebCore::InspectorOverlay::reset):
1023         * inspector/InspectorOverlay.h:
1024         * inspector/InstrumentingAgents.cpp:
1025         (WebCore::instrumentationForPage): remove null checks.
1026         (WebCore::instrumentationForWorkerGlobalScope): remove null checks.
1027         * inspector/WorkerInspectorController.cpp:
1028         (WebCore::WorkerInspectorController::WorkerInspectorController):
1029         (WebCore::WorkerInspectorController::connectFrontend):
1030         (WebCore::WorkerInspectorController::disconnectFrontend):
1031         * inspector/WorkerInspectorController.h:
1032         * loader/FrameLoader.cpp:
1033         (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
1034         (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
1035         * page/ContextMenuController.cpp:
1036         (WebCore::ContextMenuController::showContextMenu):
1037         (WebCore::ContextMenuController::contextMenuItemSelected):
1038         (WebCore::ContextMenuController::populate):
1039         (WebCore::ContextMenuController::addInspectElementItem):
1040         * page/FrameView.cpp:
1041         (WebCore::FrameView::sendResizeEventIfNeeded):
1042         * page/Page.cpp:
1043         (WebCore::Page::Page):
1044         * page/Page.h:
1045         (WebCore::Page::inspectorController):
1046         * page/PageDebuggable.cpp:
1047         (WebCore::PageDebuggable::hasLocalDebugger):
1048         (WebCore::PageDebuggable::parentProcessIdentifier):
1049         (WebCore::PageDebuggable::connect):
1050         (WebCore::PageDebuggable::disconnect):
1051         (WebCore::PageDebuggable::dispatchMessageFromRemoteFrontend):
1052         (WebCore::PageDebuggable::setIndicating):
1053         * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
1054         (WebCore::CompositingCoordinator::syncDisplayState):
1055         * testing/Internals.cpp:
1056         (WebCore::Internals::resetToConsistentState):
1057         (WebCore::Internals::inspectorHighlightRects):
1058         (WebCore::Internals::inspectorHighlightObject):
1059         (WebCore::Internals::emitInspectorDidBeginFrame):
1060         (WebCore::Internals::emitInspectorDidCancelFrame):
1061         (WebCore::Internals::openDummyInspectorFrontend):
1062         (WebCore::Internals::closeDummyInspectorFrontend):
1063         (WebCore::Internals::setInspectorResourcesDataSizeLimits):
1064         (WebCore::Internals::setJavaScriptProfilingEnabled):
1065         * workers/WorkerGlobalScope.cpp:
1066         (WebCore::WorkerGlobalScope::WorkerGlobalScope):
1067         * workers/WorkerGlobalScope.h: remove clearInspector(). 
1068         (WebCore::WorkerGlobalScope::workerInspectorController):
1069         * workers/WorkerMessagingProxy.cpp:
1070         (WebCore::connectToWorkerGlobalScopeInspectorTask):
1071         (WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
1072         (WebCore::dispatchOnInspectorBackendTask):
1073         * workers/WorkerThread.cpp:
1074         (WebCore::WorkerThreadShutdownFinishTask::performTask):
1075
1076 2014-01-18  Anders Carlsson  <andersca@apple.com>
1077
1078         Remove ENABLE_THREADED_HTML_PARSER defines everywhere
1079         https://bugs.webkit.org/show_bug.cgi?id=127225
1080
1081         Reviewed by Andreas Kling.
1082
1083         This concludes the removal of over 8.8 million lines of threaded parser code.
1084
1085         * Configurations/FeatureDefines.xcconfig:
1086
1087 2014-01-18  Anders Carlsson  <andersca@apple.com>
1088
1089         Remove the remaining threaded parser code
1090         https://bugs.webkit.org/show_bug.cgi?id=127224
1091
1092         Reviewed by Andreas Kling.
1093
1094         * dom/Document.cpp:
1095         (WebCore::Document::decrementActiveParserCount):
1096         * html/parser/AtomicHTMLToken.h:
1097         * html/parser/HTMLDocumentParser.cpp:
1098         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1099         (WebCore::HTMLDocumentParser::detach):
1100         (WebCore::HTMLDocumentParser::stopParsing):
1101         (WebCore::HTMLDocumentParser::prepareToStopParsing):
1102         (WebCore::HTMLDocumentParser::resumeParsingAfterYield):
1103         (WebCore::HTMLDocumentParser::forcePlaintextForTextDocument):
1104         (WebCore::HTMLDocumentParser::insert):
1105         (WebCore::HTMLDocumentParser::append):
1106         (WebCore::HTMLDocumentParser::end):
1107         (WebCore::HTMLDocumentParser::finish):
1108         (WebCore::HTMLDocumentParser::textPosition):
1109         (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
1110         * html/parser/HTMLDocumentParser.h:
1111         * html/parser/HTMLParserIdioms.cpp:
1112         * html/parser/HTMLParserIdioms.h:
1113         * html/parser/HTMLTokenizer.cpp:
1114         * html/parser/HTMLTokenizer.h:
1115         * loader/DocumentLoader.cpp:
1116         (WebCore::DocumentLoader::isLoading):
1117         (WebCore::DocumentLoader::checkLoadComplete):
1118         * page/Settings.in:
1119
1120 2014-01-18  Anders Carlsson  <andersca@apple.com>
1121
1122         Remove threaded parser code from the preload scanners
1123         https://bugs.webkit.org/show_bug.cgi?id=127222
1124
1125         Reviewed by Andreas Kling.
1126
1127         * html/parser/CSSPreloadScanner.cpp:
1128         (WebCore::CSSPreloadScanner::CSSPreloadScanner):
1129         Use nullptr.
1130
1131         (WebCore::CSSPreloadScanner::scan):
1132         Move scanCommon here and simplify the code.
1133
1134         * html/parser/CSSPreloadScanner.h:
1135         Remove scanCommon.
1136
1137         * html/parser/HTMLPreloadScanner.cpp:
1138         (WebCore::TokenPreloadScanner::tagIdFor):
1139         TagId is a strong enum now, update enum values.
1140
1141         (WebCore::TokenPreloadScanner::initiatorFor):
1142         Ditto.
1143
1144         (WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
1145         Ditto.
1146
1147         (WebCore::TokenPreloadScanner::StartTagScanner::match):
1148         Indent this.
1149
1150         (WebCore::TokenPreloadScanner::StartTagScanner::processAttribute):
1151         TagId is a strong enum now, update enum values.
1152
1153         (WebCore::TokenPreloadScanner::StartTagScanner::charset):
1154         Ditto.
1155
1156         (WebCore::TokenPreloadScanner::StartTagScanner::resourceType):
1157         Ditto.
1158
1159         (WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload):
1160         Ditto.
1161
1162         (WebCore::TokenPreloadScanner::scan):
1163         Merge scan and scanCommon.
1164
1165         * html/parser/HTMLPreloadScanner.h:
1166
1167 2014-01-18  Lauro Neto  <lauro.neto@openbossa.org>
1168
1169         Remove Nix files from WebCore
1170         https://bugs.webkit.org/show_bug.cgi?id=127176
1171
1172         Reviewed by Anders Carlsson.
1173
1174         * PlatformNix.cmake: Removed.
1175         * css/mediaControlsNix.css: Removed.
1176         * css/mediaControlsNixFullscreen.css: Removed.
1177         * editing/nix/EditorNix.cpp: Removed.
1178         * page/nix/EventHandlerNix.cpp: Removed.
1179         * platform/audio/nix/AudioBusNix.cpp: Removed.
1180         * platform/audio/nix/AudioDestinationNix.cpp: Removed.
1181         * platform/audio/nix/AudioDestinationNix.h: Removed.
1182         * platform/audio/nix/FFTFrameNix.cpp: Removed.
1183         * platform/graphics/nix/IconNix.cpp: Removed.
1184         * platform/graphics/nix/ImageNix.cpp: Removed.
1185         * platform/nix/CursorNix.cpp: Removed.
1186         * platform/nix/DragDataNix.cpp: Removed.
1187         * platform/nix/DragImageNix.cpp: Removed.
1188         * platform/nix/ErrorsNix.cpp: Removed.
1189         * platform/nix/ErrorsNix.h: Removed.
1190         * platform/nix/FileSystemNix.cpp: Removed.
1191         * platform/nix/GamepadsNix.cpp: Removed.
1192         * platform/nix/LanguageNix.cpp: Removed.
1193         * platform/nix/LocalizedStringsNix.cpp: Removed.
1194         * platform/nix/MIMETypeRegistryNix.cpp: Removed.
1195         * platform/nix/NixKeyboardUtilities.cpp: Removed.
1196         * platform/nix/NixKeyboardUtilities.h: Removed.
1197         * platform/nix/PasteboardNix.cpp: Removed.
1198         * platform/nix/PlatformKeyboardEventNix.cpp: Removed.
1199         * platform/nix/PlatformScreenNix.cpp: Removed.
1200         * platform/nix/RenderThemeNix.cpp: Removed.
1201         * platform/nix/RenderThemeNix.h: Removed.
1202         * platform/nix/ScrollbarThemeNix.cpp: Removed.
1203         * platform/nix/ScrollbarThemeNix.h: Removed.
1204         * platform/nix/SharedTimerNix.cpp: Removed.
1205         * platform/nix/SoundNix.cpp: Removed.
1206         * platform/nix/TemporaryLinkStubs.cpp: Removed.
1207         * platform/nix/WidgetNix.cpp: Removed.
1208         * platform/nix/support/MultiChannelPCMData.cpp: Removed.
1209         * platform/text/nix/TextBreakIteratorInternalICUNix.cpp: Removed.
1210
1211 2014-01-18  Anders Carlsson  <andersca@apple.com>
1212
1213         Remove DocumentParser::pinToMainThread() and related code
1214         https://bugs.webkit.org/show_bug.cgi?id=127221
1215
1216         Reviewed by Andreas Kling.
1217
1218         * dom/Document.cpp:
1219         (WebCore::Document::setContent):
1220         * dom/DocumentParser.h:
1221         * html/parser/HTMLDocumentParser.cpp:
1222         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1223         * html/parser/HTMLDocumentParser.h:
1224         * html/parser/HTMLParserOptions.cpp:
1225         (WebCore::HTMLParserOptions::HTMLParserOptions):
1226         * html/parser/HTMLParserOptions.h:
1227         * html/parser/HTMLTreeBuilder.cpp:
1228         (WebCore::HTMLTreeBuilder::processEndTag):
1229         * loader/DocumentWriter.cpp:
1230         (WebCore::DocumentWriter::replaceDocument):
1231
1232 2014-01-18  Anders Carlsson  <andersca@apple.com>
1233
1234         Remove HTMLParserThread
1235         https://bugs.webkit.org/show_bug.cgi?id=127220
1236
1237         Reviewed by Andreas Kling.
1238
1239         * CMakeLists.txt:
1240         * GNUmakefile.list.am:
1241         * WebCore.vcxproj/WebCore.vcxproj:
1242         * WebCore.vcxproj/WebCore.vcxproj.filters:
1243         * WebCore.xcodeproj/project.pbxproj:
1244         * html/parser/HTMLDocumentParser.cpp:
1245         * html/parser/HTMLParserThread.cpp: Removed.
1246         * html/parser/HTMLParserThread.h: Removed.
1247
1248 2014-01-17  Andreas Kling  <akling@apple.com>
1249
1250         GC soon after responding to fake memory pressure.
1251         <https://webkit.org/b/127210>
1252
1253         Ask JSC to garbage collect "soon" after handling the fake memory
1254         pressure signal on Mac. This seems to stabilize the post-pressure
1255         numbers on Membuster3 a bit on my laptop. The difference is mostly
1256         made up of JSC::CodeBlock objects.
1257
1258         Reviewed by Geoffrey Garen.
1259
1260         * platform/mac/MemoryPressureHandlerMac.mm:
1261         (WebCore::MemoryPressureHandler::install):
1262
1263 2014-01-18  Anders Carlsson  <andersca@apple.com>
1264
1265         Remove files only used by the threaded HTML parser
1266         https://bugs.webkit.org/show_bug.cgi?id=127219
1267         <rdar://problem/13331277>
1268
1269         Reviewed by Andreas Kling.
1270
1271         * CMakeLists.txt:
1272         * GNUmakefile.list.am:
1273         * WebCore.vcxproj/WebCore.vcxproj:
1274         * WebCore.vcxproj/WebCore.vcxproj.filters:
1275         * WebCore.xcodeproj/project.pbxproj:
1276         * html/parser/AtomicHTMLToken.h:
1277         * html/parser/BackgroundHTMLInputStream.cpp: Removed.
1278         * html/parser/BackgroundHTMLInputStream.h: Removed.
1279         * html/parser/BackgroundHTMLParser.cpp: Removed.
1280         * html/parser/BackgroundHTMLParser.h: Removed.
1281         * html/parser/CompactHTMLToken.cpp: Removed.
1282         * html/parser/CompactHTMLToken.h: Removed.
1283         * html/parser/HTMLDocumentParser.cpp:
1284         * html/parser/HTMLDocumentParser.h:
1285         * html/parser/HTMLIdentifier.cpp: Removed.
1286         * html/parser/HTMLIdentifier.h: Removed.
1287         * html/parser/HTMLParserIdioms.h:
1288         * html/parser/HTMLPreloadScanner.h:
1289         * html/parser/HTMLTreeBuilderSimulator.cpp: Removed.
1290         * html/parser/HTMLTreeBuilderSimulator.h: Removed.
1291
1292 2014-01-17  Andreas Kling  <akling@apple.com>
1293
1294         Micro-optimize RenderBoxModelObject::computedCSSPadding().
1295         <https://webkit.org/b/127208>
1296
1297         Make computedCSSPadding() take the Length as a const reference
1298         to avoid creating a temporary copy. This was showing up (0.2%)
1299         on DoYouEvenBench.
1300
1301         Reviewed by Anders Carlsson.
1302
1303         * rendering/RenderBoxModelObject.h:
1304         * rendering/RenderBoxModelObject.cpp:
1305         (WebCore::RenderBoxModelObject::computedCSSPadding):
1306
1307 2014-01-17  Anders Carlsson  <andersca@apple.com>
1308
1309         Add a callOnMainThreadAndWait variant in SocketStreamHandle
1310         https://bugs.webkit.org/show_bug.cgi?id=127180
1311
1312         Reviewed by Geoffrey Garen.
1313
1314         WTF::callOnMainThreadAndWait was only used inside SocketStreamHandleCFNet.cpp, 
1315         so add an improved version there which is implemented in terms of callOnMainThread and
1316         with the bonus of handling spurious wake-ups correctly (the old version didn't).
1317
1318         * platform/network/cf/SocketStreamHandle.h:
1319         * platform/network/cf/SocketStreamHandleCFNet.cpp:
1320         (WebCore::callOnMainThreadAndWait):
1321         (WebCore::SocketStreamHandle::pacExecutionCallback):
1322         (WebCore::SocketStreamHandle::readStreamCallback):
1323         (WebCore::SocketStreamHandle::writeStreamCallback):
1324
1325 2014-01-17  Anders Carlsson  <andersca@apple.com>
1326
1327         Clean up PageCache classes
1328         https://bugs.webkit.org/show_bug.cgi?id=127202
1329
1330         Reviewed by Andreas Kling.
1331
1332         * WebCore.exp.in:
1333         * history/CachedFrame.cpp:
1334         (WebCore::CachedFrameBase::~CachedFrameBase):
1335         (WebCore::CachedFrame::CachedFrame):
1336         (WebCore::CachedFrame::clear):
1337         (WebCore::CachedFrame::setCachedFramePlatformData):
1338         * history/CachedFrame.h:
1339         * history/CachedPage.cpp:
1340         (WebCore::CachedPage::CachedPage):
1341         * history/CachedPage.h:
1342         * history/HistoryItem.h:
1343         (WebCore::HistoryItem::isInPageCache):
1344         * history/PageCache.cpp:
1345         (WebCore::PageCache::add):
1346         (WebCore::PageCache::take):
1347         (WebCore::PageCache::remove):
1348         * history/PageCache.h:
1349         * loader/FrameLoader.cpp:
1350         (WebCore::FrameLoader::commitProvisionalLoad):
1351         * loader/HistoryController.cpp:
1352         (WebCore::HistoryController::invalidateCurrentItemCachedPage):
1353
1354 2014-01-17  Andy Estes  <aestes@apple.com>
1355
1356         Work around a preprocessor warning in mediaControlsApple.js
1357         https://bugs.webkit.org/show_bug.cgi?id=127204
1358
1359         Reviewed by Dan Bernstein.
1360
1361         * Modules/mediacontrols/mediaControlsApple.js: Changed '' to String().
1362
1363 2014-01-17  Daniel Bates  <dabates@apple.com>
1364
1365         Fix the iOS build after <http://trac.webkit.org/changeset/162184>
1366         (https://bugs.webkit.org/show_bug.cgi?id=126856)
1367
1368         Remove symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(unsigned short const*, int).
1369         Add symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView).
1370
1371         * WebCore.exp.in:
1372
1373 2014-01-17  Andreas Kling  <akling@apple.com>
1374
1375         Remove unused TOUCH_ADJUSTMENT code.
1376         <https://webkit.org/b/127181>
1377
1378         There are no ports using the ENABLE(TOUCH_ADJUSTMENT) feature
1379         anymore, so nuke it from orbit.
1380
1381         Reviewed by Anders Carlsson.
1382
1383         * page/EventHandler.cpp:
1384         * page/EventHandler.h:
1385         * page/Settings.in:
1386         * page/TouchAdjustment.cpp: Removed.
1387         * page/TouchAdjustment.h: Removed.
1388         * testing/Internals.cpp:
1389         * testing/Internals.h:
1390         * testing/Internals.idl:
1391
1392 2014-01-17  Beth Dakin  <bdakin@apple.com>
1393
1394         Need a way to test the tile cache with margins enabled
1395         https://bugs.webkit.org/show_bug.cgi?id=127194
1396         -and corresponding-
1397         <rdar://problem/15571327>
1398
1399         Reviewed by Tim Horton.
1400
1401         This patch adds a new function to InternalSettings that will allow layout tests to 
1402         flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also         
1403         makes changing that setting take effect immediately. 
1404
1405         To make this setting dynamic, we can no longer generate the Setting function, so 
1406         we have to export the symbol manually.
1407         * WebCore.exp.in:
1408
1409         This new function on FrameView will call into RenderLayerBacking to add or remove 
1410         margins.
1411         * page/FrameView.cpp:
1412         (WebCore::FrameView::setBackgroundExtendsBeyondPage):
1413         * page/FrameView.h:
1414
1415         Again, we’re no longer using the boiler-plate generated Setting functions, so now 
1416         we can call into FrameView to make the background extend.
1417         * page/Settings.cpp:
1418         (WebCore::Settings::Settings):
1419         (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
1420         * page/Settings.h:
1421         (WebCore::Settings::backgroundShouldExtendBeyondPage):
1422         * page/Settings.in:
1423
1424         Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change 
1425         dynamic.
1426         * platform/graphics/ca/mac/TileController.mm:
1427         (WebCore::TileController::setTileMargins):
1428
1429         Move the call to TiledBacking::setTileMargins() into a helper function so that the 
1430         same code can be used for FrameView.
1431         * rendering/RenderLayerBacking.cpp:
1432         (WebCore::RenderLayerBacking::RenderLayerBacking):
1433         (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
1434         * rendering/RenderLayerBacking.h:
1435
1436         New InternalSetting.
1437         * testing/InternalSettings.cpp:
1438         (WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
1439         * testing/InternalSettings.h:
1440         * testing/InternalSettings.idl:
1441
1442 2014-01-17  Anders Carlsson  <andersca@apple.com>
1443
1444         Remove another unused FrameLoaderClient callback
1445         https://bugs.webkit.org/show_bug.cgi?id=127192
1446
1447         Reviewed by Dan Bernstein.
1448
1449         FrameLoaderClient::dispatchDocumentElementAvailable() was only used by the Chromium port, so remove it.
1450
1451         * html/ImageDocument.cpp:
1452         (WebCore::ImageDocument::createDocumentStructure):
1453         * html/MediaDocument.cpp:
1454         (WebCore::MediaDocumentParser::createDocumentStructure):
1455         * html/PluginDocument.cpp:
1456         (WebCore::PluginDocumentParser::createDocumentStructure):
1457         * html/parser/HTMLConstructionSite.cpp:
1458         (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
1459         * loader/EmptyClients.h:
1460         * loader/FrameLoader.cpp:
1461         * loader/FrameLoader.h:
1462         * loader/FrameLoaderClient.h:
1463         * xml/parser/XMLDocumentParserLibxml2.cpp:
1464         (WebCore::XMLDocumentParser::startElementNs):
1465
1466 2014-01-17  Anders Carlsson  <andersca@apple.com>
1467
1468         Remove FrameLoaderClient::didPerformFirstNavigation()
1469         https://bugs.webkit.org/show_bug.cgi?id=127191
1470
1471         Reviewed by Dan Bernstein.
1472
1473         * loader/EmptyClients.h:
1474         * loader/FrameLoader.cpp:
1475         (WebCore::FrameLoader::FrameLoader):
1476         * loader/FrameLoader.h:
1477         * loader/FrameLoaderClient.h:
1478         * loader/HistoryController.cpp:
1479         (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
1480
1481 2014-01-17  Anders Carlsson  <andersca@apple.com>
1482
1483         Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
1484         https://bugs.webkit.org/show_bug.cgi?id=127189
1485
1486         Reviewed by Dan Bernstein.
1487
1488         * loader/FrameLoaderClient.h:
1489         (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1490         Add an empty implementation of didPerformFirstNavigation() to make it easier to remove it from subclasses.
1491
1492 2014-01-17  Eric Carlson  <eric.carlson@apple.com>
1493
1494         [iOS] HTMLMediaSession should set AudioSession category
1495         https://bugs.webkit.org/show_bug.cgi?id=127137
1496
1497         Reviewed by Sam Weinig.
1498
1499         * html/HTMLMediaSession.cpp:
1500         (WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
1501         (WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.
1502
1503 2014-01-17  Daniel Bates  <dabates@apple.com>
1504
1505         Fix the iOS build after <http://trac.webkit.org/changeset/162178>
1506         (https://bugs.webkit.org/show_bug.cgi?id=127147)
1507
1508         Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
1509         "Objective-C declarations may only appear in global scope".
1510
1511         * platform/audio/ios/MediaSessionManagerIOS.mm:
1512
1513 2014-01-17  Bem Jones-Bey  <bjonesbe@adobe.com>
1514
1515         [CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
1516         https://bugs.webkit.org/show_bug.cgi?id=122576
1517
1518         Reviewed by David Hyatt.
1519
1520         Make inline content interact with stacked floats with shape-outside
1521         per the spec. This means that content can interact with floats on the
1522         line that are not the outermost float.
1523
1524         This refactors ComputeFloatOffsetAdapter into a superclass and two
1525         subclasses: one adaptor for determining the offset for float layout,
1526         and one for determining the offset for inline layout.
1527
1528         The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
1529         been updated to handle stacked floats with shape-outside properly and
1530         has been considerably simplified in the process. It was previously
1531         doing a whole bunch of unnecessary work.
1532
1533         Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
1534                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
1535                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html
1536
1537         * rendering/FloatingObjects.cpp:
1538         (WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
1539         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
1540         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
1541         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
1542         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
1543         (WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
1544         (WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
1545         (WebCore::FloatingObjects::logicalLeftOffset):
1546         (WebCore::FloatingObjects::logicalRightOffset):
1547         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
1548         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
1549         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
1550         (WebCore::shapeInfoForFloat):
1551         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
1552         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
1553         * rendering/line/LineWidth.cpp:
1554         (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
1555         * rendering/shapes/ShapeOutsideInfo.cpp:
1556         (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
1557         * rendering/shapes/ShapeOutsideInfo.h:
1558
1559 2014-01-17  Zoltan Horvath  <zoltan@webkit.org>
1560
1561         [CSS3] Add rendering support for -webkit-text-align-last
1562         https://bugs.webkit.org/show_bug.cgi?id=99584
1563
1564         Reviewed by David Hyatt.
1565
1566         Add support for the text-align-last CSS3 property, according to the latest specification:
1567         http://dev.w3.org/csswg/css-text-3/#text-align-last-property
1568
1569         Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
1570                fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html
1571
1572         * rendering/RenderBlockLineLayout.cpp:
1573         (WebCore::RenderBlockFlow::textAlignmentForLine):
1574         * rendering/style/RenderStyle.cpp:
1575         (WebCore::RenderStyle::changeRequiresLayout):
1576
1577 2014-01-17  Daniel Bates  <dabates@apple.com>
1578
1579         Fix the iOS build after <http://trac.webkit.org/changeset/162208>
1580         (https://bugs.webkit.org/show_bug.cgi?id=127139)
1581
1582         __MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
1583         check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.
1584
1585         * platform/network/cf/CookieJarCFNet.cpp:
1586
1587 2014-01-17  Bear Travis  <betravis@adobe.com>
1588
1589         [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
1590         https://bugs.webkit.org/show_bug.cgi?id=127010
1591
1592         Reviewed by Rob Buis.
1593
1594         This patch updates the computed position values used for blending to be a horizontal
1595         left offset and a vertical top offset. When positions include a center, bottom, or
1596         right position offset, it is converted to the appropriate top/left coordinate as
1597         a calc expression. Serialized values still use the original bottom/right directions
1598         when present, and also omit the top/left keywords where possible.
1599
1600         Updated parsing and animation tests.
1601
1602         * css/BasicShapeFunctions.cpp:
1603         (WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
1604         which includes an offset and whether the direction is from the top/left or bottom/right.
1605         (WebCore::valueForBasicShape): Ditto.
1606         (WebCore::convertToCenterCoordinate): Ditto.
1607         (WebCore::basicShapeForValue): Ditto.
1608         (WebCore::floatValueForCenterCoordinate): Ditto.
1609         * page/animation/CSSPropertyAnimation.cpp:
1610         (WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
1611         * rendering/style/BasicShapes.cpp:
1612         (WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
1613         position offset for this center coordinate.
1614         (WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
1615         (WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
1616         (WebCore::BasicShapeCircle::blend): Ditto.
1617         (WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
1618         (WebCore::BasicShapeEllipse::blend): Ditto.
1619         (WebCore::BasicShapePolygon::blend): Ditto.
1620         (WebCore::BasicShapeInsetRectangle::blend): Ditto.
1621         (WebCore::BasicShapeInset::blend): Ditto.
1622         * rendering/style/BasicShapes.h:
1623         (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
1624         BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
1625         computed length, which is an offset from the top/left direction.
1626         (WebCore::BasicShapeCenterCoordinate::direction):
1627         (WebCore::BasicShapeCenterCoordinate::computedLength):
1628         (WebCore::BasicShapeCenterCoordinate::blend):
1629
1630 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
1631
1632         More non-Mac build fix.
1633
1634         * platform/network/cf/CookieJarCFNet.cpp:
1635
1636 2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
1637
1638         Unprefix text-emphasis CSS properties
1639         https://bugs.webkit.org/show_bug.cgi?id=127160
1640
1641         Reviewed by Sam Weinig.
1642
1643         Add synonym CSS properties. We don't want to delete the old ones because
1644         we've shipped with them included.
1645
1646         Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
1647
1648         * css/CSSPropertyNames.in:
1649
1650 2014-01-17  Alberto Garcia  <berto@igalia.com>
1651
1652         [GTK] WebKitGtk/testcopyandpaste fails in debug builds
1653         https://bugs.webkit.org/show_bug.cgi?id=127173
1654
1655         Reviewed by Carlos Garcia Campos.
1656
1657         Remove duplicate "PasteGlobalSelection" entry.
1658
1659         * editing/EditorCommand.cpp:
1660         (WebCore::createCommandMap):
1661
1662 2014-01-14  Andreas Kling  <akling@apple.com>
1663
1664         Pack ResourceRequest harder.
1665         <https://webkit.org/b/126982>
1666
1667         Re-arrange the members of ResourceRequest to reduce padding,
1668         shrinking it by 8 bytes.
1669
1670         Reviewed by Anders Carlsson.
1671
1672         * platform/network/ResourceRequestBase.h:
1673         (WebCore::ResourceRequestBase::ResourceRequestBase):
1674
1675 2014-01-17  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1676
1677         Remove workaround for compilers not supporting deleted functions
1678         https://bugs.webkit.org/show_bug.cgi?id=127166
1679
1680         Reviewed by Andreas Kling.
1681
1682         * bindings/js/JSLazyEventListener.h:
1683         * dom/ContainerNode.h:
1684         * dom/Document.h:
1685         * dom/Element.h:
1686         * rendering/InlineFlowBox.h:
1687         * rendering/InlineTextBox.h:
1688         * rendering/RenderButton.h:
1689         * rendering/RenderCombineText.h:
1690         * rendering/RenderElement.h:
1691         * rendering/RenderFieldset.h:
1692         * rendering/RenderFileUploadControl.h:
1693         * rendering/RenderFrame.h:
1694         * rendering/RenderFrameBase.h:
1695         * rendering/RenderFrameSet.h:
1696         * rendering/RenderHTMLCanvas.h:
1697         * rendering/RenderIFrame.h:
1698         * rendering/RenderLineBreak.h:
1699         * rendering/RenderListBox.h:
1700         * rendering/RenderListMarker.h:
1701         * rendering/RenderMedia.h:
1702         * rendering/RenderMenuList.h:
1703         * rendering/RenderSnapshottedPlugIn.h:
1704         * rendering/RenderTableCell.h:
1705         * rendering/RenderTableRow.h:
1706         * rendering/RenderTableSection.h:
1707         * rendering/RenderText.h:
1708         * rendering/RenderTextControl.h:
1709         * rendering/RenderTextControlMultiLine.h:
1710         * rendering/RenderTextControlSingleLine.h:
1711         * rendering/RenderVideo.h:
1712         * rendering/RenderWidget.h:
1713         * rendering/svg/RenderSVGBlock.h:
1714         * rendering/svg/RenderSVGForeignObject.h:
1715         * rendering/svg/RenderSVGImage.h:
1716         * rendering/svg/RenderSVGInline.h:
1717         * rendering/svg/RenderSVGRect.h:
1718         * rendering/svg/RenderSVGResourceClipper.h:
1719         * rendering/svg/RenderSVGResourceFilter.h:
1720         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
1721         * rendering/svg/RenderSVGResourceGradient.h:
1722         * rendering/svg/RenderSVGResourceLinearGradient.h:
1723         * rendering/svg/RenderSVGResourceMarker.h:
1724         * rendering/svg/RenderSVGResourceMasker.h:
1725         * rendering/svg/RenderSVGResourcePattern.h:
1726         * rendering/svg/RenderSVGResourceRadialGradient.h:
1727         * rendering/svg/RenderSVGRoot.h:
1728         * rendering/svg/RenderSVGShape.h:
1729         * rendering/svg/RenderSVGTSpan.h:
1730         * rendering/svg/RenderSVGText.h:
1731         * rendering/svg/RenderSVGTextPath.h:
1732         * rendering/svg/RenderSVGTransformableContainer.h:
1733         * rendering/svg/RenderSVGViewportContainer.h:
1734         * xml/XPathValue.h:
1735
1736 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
1737
1738         [ATK] Modernize the for loops in ATK AX code
1739         https://bugs.webkit.org/show_bug.cgi?id=127120
1740
1741         Reviewed by Mario Sanchez Prada.
1742
1743         Update the for loops to be range-based in ATK accessibility code.
1744         This work is complementary to r161979.
1745
1746         * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
1747         (webkitAccessibleHypertextGetLink):
1748         * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
1749         (webkitAccessibleTableGetColumnHeader):
1750         (webkitAccessibleTableGetRowHeader):
1751         * accessibility/atk/WebKitAccessibleUtil.cpp:
1752         (accessibilityTitle):
1753         (accessibilityDescription):
1754         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
1755         (getNChildrenForTable):
1756         (getChildForTable):
1757         (getIndexInParentForCellInRow):
1758
1759 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
1760
1761         [Soup] Remove unnecessary using-directives for the std namespace
1762         https://bugs.webkit.org/show_bug.cgi?id=127122
1763
1764         Reviewed by Martin Robinson.
1765
1766         * platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
1767         as no symbols from that namespace are in use in this implementation file.
1768         * platform/network/soup/ResourceResponseSoup.cpp: Ditto.
1769
1770 2014-01-16  Tim Horton  <timothy_horton@apple.com>
1771
1772         On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
1773         https://bugs.webkit.org/show_bug.cgi?id=126531
1774         <rdar://problem/15745862>
1775
1776         Reviewed by Anders Carlsson.
1777
1778         * platform/graphics/ca/mac/TileController.h:
1779         * platform/graphics/ca/mac/TileController.mm:
1780         (WebCore::TileController::tilesWouldChangeForVisibleRect):
1781         (WebCore::TileController::scaledExposedRect):
1782         (WebCore::TileController::computeTileCoverageRect):
1783         (WebCore::TileController::revalidateTiles):
1784         (WebCore::TileController::updateTileCoverageMap):
1785         Scale the FrameView-space exposedRect into document space, to match the visibleRect.
1786
1787         Flipping on WKView's clipsToExposedRect now works correctly even in Safari
1788         or MiniBrowser with zooming.
1789
1790 2014-01-15  Sam Weinig  <sam@webkit.org>
1791
1792         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
1793         https://bugs.webkit.org/show_bug.cgi?id=126856
1794
1795         Reviewed by Ryosuke Niwa.
1796
1797         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
1798         now unnecessary up-conversions to UTF-16 in the process.
1799
1800         * dom/CharacterData.cpp:
1801         * editing/TextCheckingHelper.cpp:
1802         * editing/VisibleUnits.cpp:
1803         * platform/graphics/StringTruncator.cpp:
1804         * platform/graphics/mac/ComplexTextController.cpp:
1805         * platform/text/TextBoundaries.cpp:
1806         * platform/text/TextBreakIterator.cpp:
1807         * platform/text/TextBreakIterator.h:
1808         * rendering/RenderText.cpp:
1809
1810 2014-01-16  Anders Carlsson  <andersca@apple.com>
1811
1812         Run clang-modernize and let it add a bunch of missing overrides.
1813
1814         Rubber-stamped by Sam Weinig.
1815
1816         * dom/BeforeLoadEvent.h:
1817         * dom/ClassNodeList.h:
1818         * dom/Comment.h:
1819         * dom/CompositionEvent.h:
1820         * dom/DecodedDataDocumentParser.h:
1821         * dom/DeviceMotionEvent.h:
1822         * dom/DeviceOrientationEvent.h:
1823         * dom/DocumentMarker.cpp:
1824         * dom/DocumentType.h:
1825         * dom/EntityReference.h:
1826         * dom/FocusEvent.h:
1827         * dom/HashChangeEvent.h:
1828         * dom/MessageEvent.h:
1829         * dom/MouseEvent.h:
1830         * dom/MouseRelatedEvent.h:
1831         * dom/MutationEvent.h:
1832         * dom/NameNodeList.h:
1833         * dom/Notation.h:
1834         * dom/OverflowEvent.h:
1835         * dom/PendingScript.h:
1836         * dom/PopStateEvent.h:
1837         * dom/ProcessingInstruction.h:
1838         * dom/ScriptElement.h:
1839         * dom/ScriptExecutionContext.cpp:
1840         * dom/ScriptableDocumentParser.h:
1841         * dom/ScriptedAnimationController.h:
1842         * dom/StringCallback.cpp:
1843         * dom/WheelEvent.h:
1844         * html/FTPDirectoryDocument.h:
1845         * html/FileInputType.cpp:
1846         * html/HTMLAppletElement.h:
1847         * html/HTMLBRElement.h:
1848         * html/HTMLBaseElement.h:
1849         * html/HTMLBodyElement.h:
1850         * html/HTMLButtonElement.h:
1851         * html/HTMLDocument.h:
1852         * html/HTMLEmbedElement.h:
1853         * html/HTMLFormControlsCollection.h:
1854         * html/HTMLFrameElement.h:
1855         * html/HTMLFrameSetElement.h:
1856         * html/HTMLHRElement.h:
1857         * html/HTMLIFrameElement.h:
1858         * html/HTMLKeygenElement.cpp:
1859         * html/HTMLKeygenElement.h:
1860         * html/HTMLLinkElement.h:
1861         * html/HTMLMarqueeElement.h:
1862         * html/HTMLObjectElement.h:
1863         * html/HTMLOutputElement.h:
1864         * html/HTMLParamElement.h:
1865         * html/HTMLScriptElement.h:
1866         * html/HTMLStyleElement.h:
1867         * html/HTMLSummaryElement.h:
1868         * html/HTMLTrackElement.h:
1869         * html/HTMLViewSourceDocument.h:
1870         * html/ImageDocument.cpp:
1871         * html/ImageDocument.h:
1872         * html/MediaDocument.cpp:
1873         * html/MediaDocument.h:
1874         * html/MediaKeyEvent.h:
1875         * html/PluginDocument.cpp:
1876         * html/RadioNodeList.h:
1877         * html/TextDocument.h:
1878         * html/canvas/EXTDrawBuffers.h:
1879         * html/canvas/EXTTextureFilterAnisotropic.h:
1880         * html/canvas/OESElementIndexUint.h:
1881         * html/canvas/OESStandardDerivatives.h:
1882         * html/canvas/OESTextureFloat.h:
1883         * html/canvas/OESTextureFloatLinear.h:
1884         * html/canvas/OESTextureHalfFloat.h:
1885         * html/canvas/OESTextureHalfFloatLinear.h:
1886         * html/canvas/OESVertexArrayObject.h:
1887         * html/canvas/WebGLBuffer.h:
1888         * html/canvas/WebGLCompressedTextureATC.h:
1889         * html/canvas/WebGLCompressedTexturePVRTC.h:
1890         * html/canvas/WebGLCompressedTextureS3TC.h:
1891         * html/canvas/WebGLContextEvent.h:
1892         * html/canvas/WebGLContextObject.h:
1893         * html/canvas/WebGLDebugRendererInfo.h:
1894         * html/canvas/WebGLDebugShaders.h:
1895         * html/canvas/WebGLDepthTexture.h:
1896         * html/canvas/WebGLFramebuffer.cpp:
1897         * html/canvas/WebGLFramebuffer.h:
1898         * html/canvas/WebGLLoseContext.h:
1899         * html/canvas/WebGLProgram.h:
1900         * html/canvas/WebGLRenderbuffer.h:
1901         * html/canvas/WebGLRenderingContext.cpp:
1902         * html/canvas/WebGLRenderingContext.h:
1903         * html/canvas/WebGLShader.h:
1904         * html/canvas/WebGLSharedObject.h:
1905         * html/canvas/WebGLTexture.h:
1906         * html/canvas/WebGLVertexArrayObjectOES.h:
1907         * html/parser/HTMLDocumentParser.h:
1908         * html/parser/HTMLViewSourceParser.h:
1909         * html/shadow/DetailsMarkerControl.h:
1910         * html/shadow/MediaControls.h:
1911         * html/shadow/MediaControlsApple.h:
1912         * html/shadow/MeterShadowElement.h:
1913         * html/shadow/ProgressShadowElement.h:
1914         * html/shadow/SliderThumbElement.h:
1915         * html/track/LoadableTextTrack.h:
1916         * html/track/TrackEvent.h:
1917         * svg/SVGAElement.h:
1918         * svg/SVGAnimateColorElement.h:
1919         * svg/SVGAnimateElement.h:
1920         * svg/SVGAnimateMotionElement.h:
1921         * svg/SVGAnimateTransformElement.h:
1922         * svg/SVGAnimationElement.h:
1923         * svg/SVGCircleElement.h:
1924         * svg/SVGClipPathElement.h:
1925         * svg/SVGComponentTransferFunctionElement.h:
1926         * svg/SVGCursorElement.h:
1927         * svg/SVGDefsElement.h:
1928         * svg/SVGDescElement.h:
1929         * svg/SVGEllipseElement.h:
1930         * svg/SVGFEBlendElement.h:
1931         * svg/SVGFEColorMatrixElement.h:
1932         * svg/SVGFEComponentTransferElement.h:
1933         * svg/SVGFECompositeElement.h:
1934         * svg/SVGFEConvolveMatrixElement.h:
1935         * svg/SVGFEDiffuseLightingElement.h:
1936         * svg/SVGFEDisplacementMapElement.h:
1937         * svg/SVGFEDistantLightElement.h:
1938         * svg/SVGFEDropShadowElement.h:
1939         * svg/SVGFEFloodElement.h:
1940         * svg/SVGFEGaussianBlurElement.h:
1941         * svg/SVGFEImageElement.h:
1942         * svg/SVGFELightElement.h:
1943         * svg/SVGFEMergeElement.h:
1944         * svg/SVGFEMergeNodeElement.h:
1945         * svg/SVGFEMorphologyElement.h:
1946         * svg/SVGFEOffsetElement.h:
1947         * svg/SVGFEPointLightElement.h:
1948         * svg/SVGFESpecularLightingElement.h:
1949         * svg/SVGFESpotLightElement.h:
1950         * svg/SVGFETileElement.h:
1951         * svg/SVGFETurbulenceElement.h:
1952         * svg/SVGFilterElement.h:
1953         * svg/SVGFilterPrimitiveStandardAttributes.h:
1954         * svg/SVGFontData.h:
1955         * svg/SVGForeignObjectElement.h:
1956         * svg/SVGGlyphElement.h:
1957         * svg/SVGGlyphRefElement.h:
1958         * svg/SVGGradientElement.h:
1959         * svg/SVGHKernElement.h:
1960         * svg/SVGImageElement.h:
1961         * svg/SVGImageLoader.h:
1962         * svg/SVGLineElement.h:
1963         * svg/SVGLinearGradientElement.h:
1964         * svg/SVGMPathElement.h:
1965         * svg/SVGMarkerElement.h:
1966         * svg/SVGMaskElement.h:
1967         * svg/SVGMissingGlyphElement.h:
1968         * svg/SVGPathBuilder.h:
1969         * svg/SVGPathByteStreamBuilder.h:
1970         * svg/SVGPathByteStreamSource.h:
1971         * svg/SVGPathElement.h:
1972         * svg/SVGPathSegArcAbs.h:
1973         * svg/SVGPathSegArcRel.h:
1974         * svg/SVGPathSegClosePath.h:
1975         * svg/SVGPathSegCurvetoCubicAbs.h:
1976         * svg/SVGPathSegCurvetoCubicRel.h:
1977         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
1978         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
1979         * svg/SVGPathSegCurvetoQuadraticAbs.h:
1980         * svg/SVGPathSegCurvetoQuadraticRel.h:
1981         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
1982         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
1983         * svg/SVGPathSegLinetoAbs.h:
1984         * svg/SVGPathSegLinetoHorizontalAbs.h:
1985         * svg/SVGPathSegLinetoHorizontalRel.h:
1986         * svg/SVGPathSegLinetoRel.h:
1987         * svg/SVGPathSegLinetoVerticalAbs.h:
1988         * svg/SVGPathSegLinetoVerticalRel.h:
1989         * svg/SVGPathSegListBuilder.h:
1990         * svg/SVGPathSegListSource.h:
1991         * svg/SVGPathSegMovetoAbs.h:
1992         * svg/SVGPathSegMovetoRel.h:
1993         * svg/SVGPathStringSource.h:
1994         * svg/SVGPathTraversalStateBuilder.h:
1995         * svg/SVGPatternElement.h:
1996         * svg/SVGPolyElement.h:
1997         * svg/SVGRadialGradientElement.h:
1998         * svg/SVGRectElement.h:
1999         * svg/SVGSVGElement.h:
2000         * svg/SVGScriptElement.h:
2001         * svg/SVGStopElement.h:
2002         * svg/SVGStyleElement.h:
2003         * svg/SVGSwitchElement.h:
2004         * svg/SVGSymbolElement.h:
2005         * svg/SVGTRefElement.h:
2006         * svg/SVGTSpanElement.h:
2007         * svg/SVGTextContentElement.h:
2008         * svg/SVGTextElement.h:
2009         * svg/SVGTextPathElement.h:
2010         * svg/SVGTextPositioningElement.h:
2011         * svg/SVGTitleElement.h:
2012         * svg/SVGUseElement.h:
2013         * svg/SVGVKernElement.h:
2014         * svg/SVGViewElement.h:
2015         * svg/SVGZoomEvent.h:
2016         * svg/animation/SVGSMILElement.cpp:
2017         * svg/animation/SVGSMILElement.h:
2018         * svg/graphics/SVGImageChromeClient.h:
2019         * svg/graphics/filters/SVGFEImage.h:
2020         * svg/graphics/filters/SVGFilter.h:
2021         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
2022         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
2023         * svg/properties/SVGPathSegListPropertyTearOff.h:
2024
2025 2014-01-16  Jer Noble  <jer.noble@apple.com>
2026
2027         REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
2028         https://bugs.webkit.org/show_bug.cgi?id=127147
2029
2030         Reviewed by Eric Carlson.
2031
2032         Reset the MediaSessionManager's restrictions to their default values before
2033         each run.
2034
2035         Add a new virtual method "resetRestrictions()" so that each port-specific
2036         MediaSessionManager can reset the restrictions to their default values.
2037         Call this from Internals::resetToConsistentState() so that tests which change
2038         the restrictions don't affect later tests.
2039
2040         * platform/audio/MediaSessionManager.cpp:
2041         (WebCore::MediaSessionManager::MediaSessionManager):
2042         (WebCore::MediaSessionManager::resetRestrictions):
2043         * platform/audio/MediaSessionManager.h:
2044         (WebCore::MediaSessionManager::~MediaSessionManager):
2045         * platform/audio/ios/MediaSessionManagerIOS.h:
2046         * platform/audio/ios/MediaSessionManagerIOS.mm:
2047         (WebCore::MediaSessionManageriOS::resetRestrictions):
2048         * testing/Internals.cpp:
2049         (WebCore::Internals::resetToConsistentState):
2050
2051 2014-01-16  Alex Christensen  <achristensen@webkit.org>
2052
2053         Compile fix for WinCairo after r162138.
2054         https://bugs.webkit.org/show_bug.cgi?id=127140
2055
2056         Reviewed by Beth Dakin.
2057
2058         * page/FrameView.cpp:
2059         (WebCore::FrameView::extendedBackgroundRect):
2060         Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.
2061
2062 2014-01-16  Brady Eidson  <beidson@apple.com>
2063
2064         IDB: delete object store support
2065         <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
2066
2067         Reviewed by Alexey Proskuryakov.
2068
2069         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2070         (WebCore::DeleteObjectStoreOperation::transaction):
2071
2072 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2073
2074         More non-Mac build fix.
2075
2076         * platform/network/cf/CookieJarCFNet.cpp:
2077         (WebCore::copyCookiesForURLWithFirstPartyURL):
2078
2079 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2080
2081         Build fix.
2082
2083         * platform/network/cf/CookieJarCFNet.cpp: Remove a spurious semicolon.
2084
2085 2014-01-16  Andy Estes  <aestes@apple.com>
2086
2087         Another iOS build fix.
2088
2089         * platform/audio/ios/MediaSessionManagerIOS.mm:
2090         (WebCore::m_objcObserver):
2091
2092 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
2093
2094         [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
2095         https://bugs.webkit.org/show_bug.cgi?id=127139
2096
2097         Reviewed by Brady Eidson.
2098
2099         * platform/ios/WebCoreSystemInterfaceIOS.mm:
2100         * platform/mac/WebCoreSystemInterface.h:
2101         * platform/mac/WebCoreSystemInterface.mm:
2102         Pass first party URL down, because reading cookies depends on it when this policy
2103         in in action.
2104
2105         * platform/network/cf/CookieJarCFNet.cpp:
2106         (WebCore::copyCookiesForURLWithFirstPartyURL):
2107         (WebCore::cookiesForDOM):
2108         (WebCore::cookieRequestHeaderFieldValue):
2109         (WebCore::cookiesEnabled):
2110         (WebCore::getRawCookies):
2111         Use a new CFNetwork API that takes first party URL.
2112
2113         * platform/network/mac/CookieJarMac.mm:
2114         (WebCore::cookiesForDOM):
2115         (WebCore::cookieRequestHeaderFieldValue):
2116         (WebCore::cookiesEnabled):
2117         (WebCore::getRawCookies):
2118         (WebCore::deleteCookie):
2119         Pass first party URL (and null in deleteCookie, as there is none).
2120
2121         * platform/network/mac/ResourceHandleMac.mm:
2122         (WebCore::ResourceHandle::platformLoadResourceSynchronously):
2123         Removed a call to shouldRelaxThirdPartyCookiePolicy(), which no longer exists
2124         in trunk.
2125
2126 2014-01-16  Andy Estes  <aestes@apple.com>
2127
2128         Fix the iOS build after r162150.
2129
2130         * platform/graphics/cg/GraphicsContextCG.cpp:
2131         (WebCore::GraphicsContext::platformInit):
2132
2133 2014-01-16  Dean Jackson  <dino@apple.com>
2134
2135         glReadPixels should use UNSIGNED_BYTE on iOS
2136         https://bugs.webkit.org/show_bug.cgi?id=127148
2137
2138         Reviewed by Benjamin Poulain.
2139
2140         We were incorrectly mapping GL_UNSIGNED_INT_8_8_8_8_REV to
2141         GL_RGBA on iOS. It's only used in glReadPixels, so should
2142         be GL_UNSIGNED_BYTE.
2143
2144         This is covered by lots of tests in the Khronos test suite,
2145         that now pass on iOS.
2146
2147         * platform/graphics/ios/GraphicsContext3DIOS.h:
2148
2149 2014-01-16  Anders Carlsson  <andersca@apple.com>
2150
2151         Change all uses of FINAL to final now that all our compilers support it
2152         https://bugs.webkit.org/show_bug.cgi?id=127142
2153
2154         Reviewed by Benjamin Poulain.
2155
2156         * Modules/encryptedmedia/MediaKeySession.h:
2157         * Modules/indexeddb/IDBCursorBackendOperations.h:
2158         * Modules/indexeddb/IDBDatabase.h:
2159         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
2160         * Modules/indexeddb/IDBRequest.h:
2161         * Modules/indexeddb/IDBTransaction.h:
2162         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2163         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2164         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2165         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
2166         * Modules/mediasource/MediaSource.h:
2167         * Modules/mediasource/MediaSourceRegistry.h:
2168         * Modules/mediasource/SourceBuffer.h:
2169         * Modules/mediasource/SourceBufferList.h:
2170         * Modules/mediastream/AudioStreamTrack.h:
2171         * Modules/mediastream/MediaStream.h:
2172         * Modules/mediastream/MediaStreamRegistry.h:
2173         * Modules/mediastream/MediaStreamTrack.h:
2174         * Modules/mediastream/RTCDTMFSender.h:
2175         * Modules/mediastream/RTCDataChannel.h:
2176         * Modules/mediastream/RTCPeerConnection.h:
2177         * Modules/mediastream/UserMediaRequest.h:
2178         * Modules/mediastream/VideoStreamTrack.h:
2179         * Modules/notifications/Notification.h:
2180         * Modules/speech/SpeechSynthesisUtterance.h:
2181         * Modules/webaudio/AudioContext.h:
2182         * Modules/webaudio/AudioNode.h:
2183         * Modules/websockets/WebSocket.h:
2184         * accessibility/AccessibilityList.h:
2185         * accessibility/AccessibilityListBoxOption.h:
2186         * accessibility/AccessibilityNodeObject.h:
2187         * accessibility/AccessibilitySearchFieldButtons.h:
2188         * accessibility/AccessibilitySlider.h:
2189         * bindings/js/JSCryptoAlgorithmBuilder.h:
2190         * bindings/js/JSCryptoKeySerializationJWK.h:
2191         * bindings/js/JSDOMGlobalObjectTask.cpp:
2192         * bindings/js/JSDOMGlobalObjectTask.h:
2193         * bindings/js/JSLazyEventListener.h:
2194         * bindings/js/ScriptDebugServer.h:
2195         * bindings/js/WorkerScriptDebugServer.h:
2196         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
2197         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
2198         * crypto/algorithms/CryptoAlgorithmHMAC.h:
2199         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
2200         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
2201         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
2202         * crypto/algorithms/CryptoAlgorithmSHA1.h:
2203         * crypto/algorithms/CryptoAlgorithmSHA224.h:
2204         * crypto/algorithms/CryptoAlgorithmSHA256.h:
2205         * crypto/algorithms/CryptoAlgorithmSHA384.h:
2206         * crypto/algorithms/CryptoAlgorithmSHA512.h:
2207         * crypto/keys/CryptoKeyAES.h:
2208         * crypto/keys/CryptoKeyDataOctetSequence.h:
2209         * crypto/keys/CryptoKeyDataRSAComponents.h:
2210         * crypto/keys/CryptoKeyHMAC.h:
2211         * crypto/keys/CryptoKeyRSA.h:
2212         * crypto/keys/CryptoKeySerializationRaw.h:
2213         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
2214         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
2215         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
2216         * crypto/parameters/CryptoAlgorithmHmacParams.h:
2217         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
2218         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
2219         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
2220         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
2221         * css/CSSCanvasValue.h:
2222         * css/CSSFontSelector.h:
2223         * css/CSSStyleSheet.h:
2224         * dom/Attr.h:
2225         * dom/BeforeUnloadEvent.h:
2226         * dom/CDATASection.h:
2227         * dom/CharacterData.h:
2228         * dom/ChildNodeList.h:
2229         * dom/Clipboard.cpp:
2230         * dom/Comment.h:
2231         * dom/DatasetDOMStringMap.h:
2232         * dom/Document.h:
2233         * dom/DocumentEventQueue.cpp:
2234         * dom/DocumentEventQueue.h:
2235         * dom/DocumentType.h:
2236         * dom/Element.h:
2237         * dom/EntityReference.h:
2238         * dom/EventContext.h:
2239         * dom/EventTarget.h:
2240         * dom/FocusEvent.h:
2241         * dom/LiveNodeList.h:
2242         * dom/MessagePort.h:
2243         * dom/MouseEvent.h:
2244         * dom/Node.h:
2245         * dom/Notation.h:
2246         * dom/ProcessingInstruction.h:
2247         * dom/PseudoElement.h:
2248         * dom/ShadowRoot.h:
2249         * dom/StaticNodeList.h:
2250         * dom/StyledElement.h:
2251         * dom/TemplateContentDocumentFragment.h:
2252         * dom/Text.h:
2253         * dom/WebKitNamedFlow.h:
2254         * editing/ios/EditorIOS.mm:
2255         * editing/mac/EditorMac.mm:
2256         * editing/markup.cpp:
2257         * fileapi/Blob.cpp:
2258         * fileapi/FileReader.h:
2259         * html/ClassList.h:
2260         * html/DOMSettableTokenList.h:
2261         * html/FTPDirectoryDocument.cpp:
2262         * html/FormAssociatedElement.cpp:
2263         * html/FormAssociatedElement.h:
2264         * html/HTMLAllCollection.h:
2265         * html/HTMLAnchorElement.h:
2266         * html/HTMLAppletElement.h:
2267         * html/HTMLAreaElement.h:
2268         * html/HTMLAudioElement.h:
2269         * html/HTMLBDIElement.h:
2270         * html/HTMLBRElement.h:
2271         * html/HTMLBaseElement.h:
2272         * html/HTMLBaseFontElement.h:
2273         * html/HTMLBodyElement.h:
2274         * html/HTMLButtonElement.h:
2275         * html/HTMLCanvasElement.h:
2276         * html/HTMLDListElement.h:
2277         * html/HTMLDataListElement.h:
2278         * html/HTMLDetailsElement.h:
2279         * html/HTMLDirectoryElement.h:
2280         * html/HTMLDocument.h:
2281         * html/HTMLElement.h:
2282         * html/HTMLEmbedElement.h:
2283         * html/HTMLFieldSetElement.h:
2284         * html/HTMLFontElement.h:
2285         * html/HTMLFormControlElement.h:
2286         * html/HTMLFormElement.h:
2287         * html/HTMLFrameElement.h:
2288         * html/HTMLFrameSetElement.h:
2289         * html/HTMLHRElement.h:
2290         * html/HTMLHeadElement.h:
2291         * html/HTMLHeadingElement.h:
2292         * html/HTMLHtmlElement.h:
2293         * html/HTMLIFrameElement.h:
2294         * html/HTMLImageElement.h:
2295         * html/HTMLInputElement.h:
2296         * html/HTMLKeygenElement.cpp:
2297         * html/HTMLKeygenElement.h:
2298         * html/HTMLLIElement.h:
2299         * html/HTMLLabelElement.h:
2300         * html/HTMLLegendElement.h:
2301         * html/HTMLLinkElement.h:
2302         * html/HTMLMapElement.h:
2303         * html/HTMLMarqueeElement.h:
2304         * html/HTMLMenuElement.h:
2305         * html/HTMLMetaElement.h:
2306         * html/HTMLMeterElement.h:
2307         * html/HTMLModElement.h:
2308         * html/HTMLNameCollection.h:
2309         * html/HTMLOListElement.h:
2310         * html/HTMLObjectElement.h:
2311         * html/HTMLOptGroupElement.h:
2312         * html/HTMLOptionElement.h:
2313         * html/HTMLOptionsCollection.h:
2314         * html/HTMLOutputElement.h:
2315         * html/HTMLParagraphElement.h:
2316         * html/HTMLParamElement.h:
2317         * html/HTMLPlugInElement.h:
2318         * html/HTMLPreElement.h:
2319         * html/HTMLProgressElement.h:
2320         * html/HTMLQuoteElement.h:
2321         * html/HTMLScriptElement.h:
2322         * html/HTMLSelectElement.h:
2323         * html/HTMLSourceElement.h:
2324         * html/HTMLStyleElement.h:
2325         * html/HTMLSummaryElement.h:
2326         * html/HTMLTableCaptionElement.h:
2327         * html/HTMLTableCellElement.h:
2328         * html/HTMLTableColElement.h:
2329         * html/HTMLTableElement.h:
2330         * html/HTMLTableRowElement.h:
2331         * html/HTMLTableRowsCollection.h:
2332         * html/HTMLTableSectionElement.h:
2333         * html/HTMLTemplateElement.h:
2334         * html/HTMLTextAreaElement.h:
2335         * html/HTMLTextFormControlElement.h:
2336         * html/HTMLTitleElement.h:
2337         * html/HTMLTrackElement.h:
2338         * html/HTMLUListElement.h:
2339         * html/HTMLUnknownElement.h:
2340         * html/HTMLVideoElement.h:
2341         * html/HTMLViewSourceDocument.h:
2342         * html/ImageDocument.cpp:
2343         * html/ImageDocument.h:
2344         * html/LabelableElement.h:
2345         * html/LabelsNodeList.h:
2346         * html/MediaController.h:
2347         * html/MediaDocument.cpp:
2348         * html/MediaDocument.h:
2349         * html/MediaFragmentURIParser.h:
2350         * html/PluginDocument.cpp:
2351         * html/PluginDocument.h:
2352         * html/RangeInputType.h:
2353         * html/TextDocument.h:
2354         * html/parser/TextDocumentParser.h:
2355         * html/parser/TextViewSourceParser.h:
2356         * html/shadow/DetailsMarkerControl.h:
2357         * html/shadow/MediaControlElementTypes.h:
2358         * html/shadow/MediaControlElements.h:
2359         * html/shadow/MeterShadowElement.h:
2360         * html/shadow/ProgressShadowElement.h:
2361         * html/shadow/SliderThumbElement.h:
2362         * html/shadow/SpinButtonElement.h:
2363         * html/shadow/TextControlInnerElements.h:
2364         * html/shadow/YouTubeEmbedShadowElement.h:
2365         * html/track/TextTrack.h:
2366         * html/track/TextTrackCue.h:
2367         * html/track/TextTrackCueGeneric.cpp:
2368         * html/track/TextTrackCueGeneric.h:
2369         * html/track/TrackListBase.h:
2370         * html/track/WebVTTElement.h:
2371         * inspector/CommandLineAPIModule.h:
2372         * inspector/InjectedScriptCanvasModule.h:
2373         * inspector/InspectorConsoleAgent.cpp:
2374         * inspector/InspectorController.h:
2375         * inspector/InspectorDebuggerAgent.h:
2376         * inspector/PageConsoleAgent.cpp:
2377         * inspector/PageInjectedScriptHost.h:
2378         * inspector/PageInjectedScriptManager.h:
2379         * inspector/WorkerInspectorController.h:
2380         * loader/SinkDocument.cpp:
2381         * loader/SinkDocument.h:
2382         * loader/appcache/DOMApplicationCache.h:
2383         * loader/cache/CachedCSSStyleSheet.h:
2384         * loader/cache/CachedFont.h:
2385         * loader/cache/CachedRawResource.h:
2386         * loader/cache/CachedSVGDocument.h:
2387         * loader/cache/CachedScript.h:
2388         * loader/cache/CachedShader.h:
2389         * loader/cache/CachedTextTrack.h:
2390         * loader/cache/CachedXSLStyleSheet.h:
2391         * loader/icon/IconLoader.h:
2392         * mathml/MathMLSelectElement.h:
2393         * page/DOMTimer.h:
2394         * page/DOMWindow.h:
2395         * page/EventSource.h:
2396         * page/Frame.h:
2397         * page/FrameView.h:
2398         * page/MainFrame.h:
2399         * page/PageDebuggable.h:
2400         * page/PageSerializer.cpp:
2401         * page/Performance.h:
2402         * page/SuspendableTimer.h:
2403         * page/animation/KeyframeAnimation.h:
2404         * page/scrolling/ScrollingStateFixedNode.h:
2405         * page/scrolling/ScrollingStateScrollingNode.h:
2406         * page/scrolling/ScrollingStateStickyNode.h:
2407         * platform/ClockGeneric.h:
2408         * platform/efl/ScrollbarThemeEfl.h:
2409         * platform/graphics/BitmapImage.h:
2410         * platform/graphics/CrossfadeGeneratedImage.h:
2411         * platform/graphics/GradientImage.h:
2412         * platform/graphics/SimpleFontData.h:
2413         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
2414         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
2415         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
2416         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
2417         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
2418         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
2419         * platform/graphics/ca/mac/PlatformCALayerMac.h:
2420         * platform/graphics/ca/win/PlatformCALayerWin.h:
2421         * platform/graphics/cg/PDFDocumentImage.h:
2422         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
2423         * platform/graphics/gstreamer/MediaSourceGStreamer.h:
2424         * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
2425         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
2426         * platform/ios/WebSafeGCActivityCallbackIOS.h:
2427         * platform/ios/WebSafeIncrementalSweeperIOS.h:
2428         * platform/mac/PlatformClockCA.h:
2429         * platform/mac/PlatformClockCM.h:
2430         * platform/mac/ScrollAnimatorMac.h:
2431         * platform/mediastream/MediaStreamTrackPrivate.h:
2432         * platform/mediastream/mac/MediaStreamCenterMac.h:
2433         * platform/mock/MockMediaStreamCenter.h:
2434         * platform/mock/RTCDataChannelHandlerMock.h:
2435         * platform/mock/RTCPeerConnectionHandlerMock.h:
2436         * platform/mock/mediasource/MockBox.h:
2437         * platform/mock/mediasource/MockMediaSourcePrivate.h:
2438         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
2439         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
2440         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
2441         * platform/text/LocaleNone.cpp:
2442         * platform/text/PlatformLocale.cpp:
2443         * rendering/EllipsisBox.h:
2444         * rendering/FilterEffectRenderer.h:
2445         * rendering/InlineElementBox.h:
2446         * rendering/InlineFlowBox.h:
2447         * rendering/InlineTextBox.h:
2448         * rendering/RenderBlock.h:
2449         * rendering/RenderBlockFlow.h:
2450         * rendering/RenderBox.cpp:
2451         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
2452         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
2453         * rendering/RenderBox.h:
2454         * rendering/RenderButton.h:
2455         * rendering/RenderCombineText.h:
2456         * rendering/RenderCounter.h:
2457         * rendering/RenderDeprecatedFlexibleBox.h:
2458         * rendering/RenderDetailsMarker.h:
2459         * rendering/RenderElement.h:
2460         * rendering/RenderEmbeddedObject.h:
2461         * rendering/RenderFieldset.h:
2462         * rendering/RenderFileUploadControl.h:
2463         * rendering/RenderFlexibleBox.h:
2464         * rendering/RenderFlowThread.h:
2465         * rendering/RenderFrame.h:
2466         * rendering/RenderFrameSet.h:
2467         * rendering/RenderFullScreen.cpp:
2468         * rendering/RenderFullScreen.h:
2469         * rendering/RenderGrid.h:
2470         * rendering/RenderHTMLCanvas.h:
2471         * rendering/RenderIFrame.h:
2472         * rendering/RenderImage.h:
2473         * rendering/RenderInline.h:
2474         * rendering/RenderLayer.h:
2475         * rendering/RenderLayerFilterInfo.h:
2476         * rendering/RenderLineBreak.h:
2477         * rendering/RenderListBox.h:
2478         * rendering/RenderListItem.h:
2479         * rendering/RenderListMarker.h:
2480         * rendering/RenderMedia.h:
2481         * rendering/RenderMediaControlElements.h:
2482         * rendering/RenderMenuList.h:
2483         * rendering/RenderMeter.h:
2484         * rendering/RenderMultiColumnBlock.h:
2485         * rendering/RenderMultiColumnFlowThread.h:
2486         * rendering/RenderMultiColumnSet.h:
2487         * rendering/RenderNamedFlowFragment.h:
2488         * rendering/RenderNamedFlowThread.h:
2489         * rendering/RenderProgress.h:
2490         * rendering/RenderQuote.h:
2491         * rendering/RenderRegion.h:
2492         * rendering/RenderRegionSet.h:
2493         * rendering/RenderReplaced.h:
2494         * rendering/RenderReplica.h:
2495         * rendering/RenderRuby.h:
2496         * rendering/RenderRubyBase.h:
2497         * rendering/RenderRubyRun.h:
2498         * rendering/RenderRubyText.h:
2499         * rendering/RenderScrollbar.h:
2500         * rendering/RenderScrollbarPart.h:
2501         * rendering/RenderSearchField.h:
2502         * rendering/RenderSlider.h:
2503         * rendering/RenderSnapshottedPlugIn.h:
2504         * rendering/RenderTable.h:
2505         * rendering/RenderTableCaption.h:
2506         * rendering/RenderTableCell.h:
2507         * rendering/RenderTableCol.h:
2508         * rendering/RenderTableRow.h:
2509         * rendering/RenderTableSection.h:
2510         * rendering/RenderText.h:
2511         * rendering/RenderTextControl.h:
2512         * rendering/RenderTextControlMultiLine.h:
2513         * rendering/RenderTextControlSingleLine.h:
2514         * rendering/RenderTextFragment.h:
2515         * rendering/RenderTextTrackCue.h:
2516         * rendering/RenderVideo.h:
2517         * rendering/RenderView.h:
2518         * rendering/RenderWidget.h:
2519         * rendering/RootInlineBox.h:
2520         * rendering/TrailingFloatsRootInlineBox.h:
2521         * rendering/mathml/RenderMathMLBlock.h:
2522         * rendering/mathml/RenderMathMLFenced.h:
2523         * rendering/mathml/RenderMathMLFraction.h:
2524         * rendering/mathml/RenderMathMLMath.h:
2525         * rendering/mathml/RenderMathMLOperator.h:
2526         * rendering/mathml/RenderMathMLRoot.h:
2527         * rendering/mathml/RenderMathMLRow.h:
2528         * rendering/mathml/RenderMathMLScripts.h:
2529         * rendering/mathml/RenderMathMLSpace.h:
2530         * rendering/mathml/RenderMathMLSquareRoot.h:
2531         * rendering/shapes/ShapeInsideInfo.h:
2532         * rendering/shapes/ShapeOutsideInfo.h:
2533         * rendering/style/ContentData.h:
2534         * rendering/style/StyleCachedImage.h:
2535         * rendering/style/StyleCachedImageSet.h:
2536         * rendering/style/StyleGeneratedImage.h:
2537         * rendering/svg/RenderSVGBlock.h:
2538         * rendering/svg/RenderSVGContainer.h:
2539         * rendering/svg/RenderSVGEllipse.h:
2540         * rendering/svg/RenderSVGForeignObject.h:
2541         * rendering/svg/RenderSVGGradientStop.h:
2542         * rendering/svg/RenderSVGHiddenContainer.h:
2543         * rendering/svg/RenderSVGImage.h:
2544         * rendering/svg/RenderSVGInline.h:
2545         * rendering/svg/RenderSVGInlineText.h:
2546         * rendering/svg/RenderSVGModelObject.h:
2547         * rendering/svg/RenderSVGPath.h:
2548         * rendering/svg/RenderSVGRect.h:
2549         * rendering/svg/RenderSVGResourceClipper.h:
2550         * rendering/svg/RenderSVGResourceContainer.h:
2551         * rendering/svg/RenderSVGResourceFilter.h:
2552         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
2553         * rendering/svg/RenderSVGResourceGradient.h:
2554         * rendering/svg/RenderSVGResourceLinearGradient.h:
2555         * rendering/svg/RenderSVGResourceMarker.h:
2556         * rendering/svg/RenderSVGResourceMasker.h:
2557         * rendering/svg/RenderSVGResourcePattern.h:
2558         * rendering/svg/RenderSVGResourceRadialGradient.h:
2559         * rendering/svg/RenderSVGRoot.h:
2560         * rendering/svg/RenderSVGShape.cpp:
2561         * rendering/svg/RenderSVGShape.h:
2562         * rendering/svg/RenderSVGTSpan.h:
2563         * rendering/svg/RenderSVGText.h:
2564         * rendering/svg/RenderSVGTextPath.h:
2565         * rendering/svg/RenderSVGTransformableContainer.h:
2566         * rendering/svg/RenderSVGViewportContainer.h:
2567         * rendering/svg/SVGInlineFlowBox.h:
2568         * rendering/svg/SVGInlineTextBox.h:
2569         * rendering/svg/SVGRootInlineBox.h:
2570         * rendering/svg/SVGTextRunRenderingContext.h:
2571         * svg/SVGAElement.h:
2572         * svg/SVGAltGlyphDefElement.h:
2573         * svg/SVGAltGlyphElement.h:
2574         * svg/SVGAltGlyphItemElement.h:
2575         * svg/SVGAnimateColorElement.h:
2576         * svg/SVGAnimateMotionElement.h:
2577         * svg/SVGAnimateTransformElement.h:
2578         * svg/SVGAnimatedAngle.h:
2579         * svg/SVGAnimatedBoolean.h:
2580         * svg/SVGAnimatedColor.h:
2581         * svg/SVGAnimatedEnumeration.h:
2582         * svg/SVGAnimatedInteger.h:
2583         * svg/SVGAnimatedIntegerOptionalInteger.h:
2584         * svg/SVGAnimatedLength.h:
2585         * svg/SVGAnimatedLengthList.h:
2586         * svg/SVGAnimatedNumber.h:
2587         * svg/SVGAnimatedNumberList.h:
2588         * svg/SVGAnimatedNumberOptionalNumber.h:
2589         * svg/SVGAnimatedPath.h:
2590         * svg/SVGAnimatedPointList.h:
2591         * svg/SVGAnimatedPreserveAspectRatio.h:
2592         * svg/SVGAnimatedRect.h:
2593         * svg/SVGAnimatedString.h:
2594         * svg/SVGAnimatedTransformList.h:
2595         * svg/SVGCircleElement.h:
2596         * svg/SVGClipPathElement.h:
2597         * svg/SVGCursorElement.h:
2598         * svg/SVGDefsElement.h:
2599         * svg/SVGDescElement.h:
2600         * svg/SVGDocument.h:
2601         * svg/SVGElement.h:
2602         * svg/SVGEllipseElement.h:
2603         * svg/SVGFEBlendElement.h:
2604         * svg/SVGFEColorMatrixElement.h:
2605         * svg/SVGFEComponentTransferElement.h:
2606         * svg/SVGFECompositeElement.h:
2607         * svg/SVGFEConvolveMatrixElement.h:
2608         * svg/SVGFEDiffuseLightingElement.h:
2609         * svg/SVGFEDisplacementMapElement.h:
2610         * svg/SVGFEDistantLightElement.h:
2611         * svg/SVGFEDropShadowElement.h:
2612         * svg/SVGFEFloodElement.h:
2613         * svg/SVGFEFuncAElement.h:
2614         * svg/SVGFEFuncBElement.h:
2615         * svg/SVGFEFuncGElement.h:
2616         * svg/SVGFEFuncRElement.h:
2617         * svg/SVGFEGaussianBlurElement.h:
2618         * svg/SVGFEImageElement.h:
2619         * svg/SVGFEMergeElement.h:
2620         * svg/SVGFEMergeNodeElement.h:
2621         * svg/SVGFEMorphologyElement.h:
2622         * svg/SVGFEOffsetElement.h:
2623         * svg/SVGFEPointLightElement.h:
2624         * svg/SVGFESpecularLightingElement.h:
2625         * svg/SVGFESpotLightElement.h:
2626         * svg/SVGFETileElement.h:
2627         * svg/SVGFETurbulenceElement.h:
2628         * svg/SVGFilterElement.h:
2629         * svg/SVGFontElement.h:
2630         * svg/SVGFontFaceElement.h:
2631         * svg/SVGFontFaceFormatElement.h:
2632         * svg/SVGFontFaceNameElement.h:
2633         * svg/SVGFontFaceSrcElement.h:
2634         * svg/SVGFontFaceUriElement.h:
2635         * svg/SVGForeignObjectElement.h:
2636         * svg/SVGGElement.h:
2637         * svg/SVGGlyphElement.h:
2638         * svg/SVGGlyphRefElement.h:
2639         * svg/SVGHKernElement.h:
2640         * svg/SVGImageElement.h:
2641         * svg/SVGLineElement.h:
2642         * svg/SVGLinearGradientElement.h:
2643         * svg/SVGMPathElement.h:
2644         * svg/SVGMarkerElement.h:
2645         * svg/SVGMaskElement.h:
2646         * svg/SVGMetadataElement.h:
2647         * svg/SVGMissingGlyphElement.h:
2648         * svg/SVGPathElement.h:
2649         * svg/SVGPathStringBuilder.h:
2650         * svg/SVGPatternElement.h:
2651         * svg/SVGPolygonElement.h:
2652         * svg/SVGPolylineElement.h:
2653         * svg/SVGRadialGradientElement.h:
2654         * svg/SVGRectElement.h:
2655         * svg/SVGSVGElement.h:
2656         * svg/SVGScriptElement.h:
2657         * svg/SVGSetElement.h:
2658         * svg/SVGStopElement.h:
2659         * svg/SVGStyleElement.h:
2660         * svg/SVGSwitchElement.h:
2661         * svg/SVGSymbolElement.h:
2662         * svg/SVGTRefElement.h:
2663         * svg/SVGTSpanElement.h:
2664         * svg/SVGTextContentElement.h:
2665         * svg/SVGTextElement.h:
2666         * svg/SVGTextPathElement.h:
2667         * svg/SVGTitleElement.h:
2668         * svg/SVGUnknownElement.h:
2669         * svg/SVGUseElement.h:
2670         * svg/SVGVKernElement.h:
2671         * svg/SVGViewElement.h:
2672         * svg/animation/SVGSMILElement.h:
2673         * svg/graphics/SVGImage.h:
2674         * svg/graphics/SVGImageForContainer.h:
2675         * svg/graphics/filters/SVGFilter.h:
2676         * workers/AbstractWorker.h:
2677         * workers/SharedWorker.h:
2678         * workers/Worker.h:
2679         * workers/WorkerEventQueue.cpp:
2680         * workers/WorkerEventQueue.h:
2681         * workers/WorkerGlobalScope.h:
2682         * xml/XMLHttpRequest.h:
2683         * xml/XMLHttpRequestUpload.h:
2684         * xml/XPathFunctions.cpp:
2685         * xml/XPathPath.h:
2686         * xml/XPathPredicate.h:
2687         * xml/XSLStyleSheet.h:
2688
2689 2014-01-15  Myles C. Maxfield  <mmaxfield@apple.com>
2690
2691         Draw all underline segments in a particular run in the same call
2692         https://bugs.webkit.org/show_bug.cgi?id=127082
2693
2694         Reviewed by Simon Fraser.
2695
2696         Instead of running CGContextFillRect() in a loop, we can instead call CGContextFillRects()
2697
2698         In my tests, this seems to have about 0.5% speedup.
2699
2700         This patch creates some redundant code, but I think that refactoring would make the code
2701         much less readable. I also am hesitant to make drawLineForText call drawLinesForText because
2702         of the overhead of the vector that would be needed.
2703
2704         As there is no behavior change, no new tests are necessary
2705
2706         * platform/graphics/GraphicsContext.h:
2707         * platform/graphics/cairo/GraphicsContextCairo.cpp:
2708         (WebCore::GraphicsContext::drawLinesForText):
2709         * platform/graphics/cg/GraphicsContextCG.cpp:
2710         (WebCore::GraphicsContext::platformInit):
2711         * platform/graphics/wince/GraphicsContextWinCE.cpp:
2712         (WebCore::GraphicsContext::drawLinesForText):
2713         * rendering/InlineTextBox.cpp:
2714         (WebCore::drawSkipInkUnderline):
2715
2716 2014-01-16  Brady Eidson  <beidson@apple.com>
2717
2718         Use KeyedCoding as a persistent storage mechanism for blobs
2719         https://bugs.webkit.org/show_bug.cgi?id=127012
2720
2721         Reviewed by Anders Carlsson.
2722
2723         Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
2724         * platform/KeyedCoding.h:
2725         (WebCore::KeyedDecoder::decodeVerifiedEnum):
2726         (WebCore::KeyedDecoder::decodeObject):
2727         (WebCore::KeyedDecoder::decodeObjects):
2728
2729         Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
2730         * Modules/indexeddb/IDBKeyPath.cpp:
2731         (WebCore::IDBKeyPath::encode):
2732         (WebCore::IDBKeyPath::decode):
2733         * Modules/indexeddb/IDBKeyPath.h:
2734
2735         * WebCore.exp.in:
2736
2737 2014-01-16  Eric Carlson  <eric.carlson@apple.com>
2738
2739         Allow MediaSessionManager to restrict inline <video> playback
2740         https://bugs.webkit.org/show_bug.cgi?id=127113
2741
2742         Reviewed by Jer Noble.
2743
2744         Test: media/video-fullscreeen-only-playback.html
2745
2746         * html/HTMLMediaElement.cpp:
2747         (WebCore::HTMLMediaElement::updatePlayState): Drive-by change to not tell the media session that
2748             playback is starting if the media player is already playing. Enter fullscreen if the media
2749             session says it is required.
2750
2751         * html/HTMLMediaSession.cpp:
2752         (WebCore::HTMLMediaSession::clientWillBeginPlayback): Make it const.
2753         (WebCore::HTMLMediaSession::requiresFullscreenForVideoPlayback): New, see if the specified
2754             media element must be played in fullscreen based on the media session settings, document
2755             settings, and attributes.
2756         * html/HTMLMediaSession.h:
2757
2758         * platform/audio/MediaSession.h: pauseSession shouldn't be virtual.
2759
2760         * platform/audio/MediaSessionManager.cpp:
2761         (WebCore::MediaSessionManager::sessionWillBeginPlayback): Return immediately if ConcurrentPlaybackNotPermitted
2762             is not set.
2763         (WebCore::MediaSessionManager::sessionRestrictsInlineVideoPlayback): New.
2764         * platform/audio/MediaSessionManager.h:
2765
2766         * platform/audio/ios/MediaSessionManagerIOS.mm:
2767         (WebCore::MediaSessionManageriOS::MediaSessionManageriOS): Set InlineVideoPlaybackRestricted if
2768             running on an iPhone or iPod class device.
2769
2770         * testing/Internals.cpp:
2771         (WebCore::Internals::setMediaSessionRestrictions): Support InlineVideoPlaybackRestricted.
2772
2773 2014-01-16  Roger Fong  <roger_fong@apple.com>
2774
2775         Add support for handling WebGL load policies.
2776         https://bugs.webkit.org/show_bug.cgi?id=126935
2777         <rdar://problem/15790448>.
2778
2779         Reviewed by Timothy Horton.
2780
2781         Rename webGLPolicyForSite to webGLPolicyForURL.
2782
2783         * html/HTMLCanvasElement.cpp:
2784         (WebCore::HTMLCanvasElement::getContext):
2785         * loader/FrameLoaderClient.h:
2786         (WebCore::FrameLoaderClient::webGLPolicyForURL):
2787
2788 2014-01-16  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
2789
2790         Guarding HTMLMediaSession with ENABLE(VIDEO)
2791         https://bugs.webkit.org/show_bug.cgi?id=127126
2792
2793         Reviewed by Eric Carlson.
2794
2795         No new tests needed.
2796
2797         * html/HTMLMediaSession.cpp:
2798         * html/HTMLMediaSession.h:
2799
2800 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
2801
2802         Remove workaround for compilers not supporting explicit override control
2803         https://bugs.webkit.org/show_bug.cgi?id=127111
2804
2805         Reviewed by Anders Carlsson.
2806
2807         Now all compilers support explicit override control, this workaround can be removed.
2808
2809         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
2810         * Modules/encryptedmedia/CDMPrivateAVFoundation.h:
2811         * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
2812         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
2813         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
2814         * Modules/encryptedmedia/MediaKeySession.h:
2815         * Modules/encryptedmedia/MediaKeys.h:
2816         * Modules/geolocation/Geolocation.h:
2817         * Modules/indexeddb/DOMWindowIndexedDatabase.h:
2818         * Modules/indexeddb/IDBCursorBackendOperations.h:
2819         * Modules/indexeddb/IDBCursorWithValue.h:
2820         * Modules/indexeddb/IDBDatabase.h:
2821         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
2822         * Modules/indexeddb/IDBOpenDBRequest.h:
2823         * Modules/indexeddb/IDBRequest.h:
2824         * Modules/indexeddb/IDBTransaction.h:
2825         * Modules/indexeddb/IDBTransactionBackendOperations.h:
2826         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2827         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2828         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
2829         * Modules/indieui/UIRequestEvent.h:
2830         * Modules/mediasource/MediaSource.h:
2831         * Modules/mediasource/MediaSourceRegistry.h:
2832         * Modules/mediasource/SourceBuffer.h:
2833         * Modules/mediasource/SourceBufferList.h:
2834         * Modules/mediastream/AudioStreamTrack.h:
2835         * Modules/mediastream/MediaConstraintsImpl.h:
2836         * Modules/mediastream/MediaStream.h:
2837         * Modules/mediastream/MediaStreamRegistry.h:
2838         * Modules/mediastream/MediaStreamTrack.h:
2839         * Modules/mediastream/MediaStreamTrackEvent.h:
2840         * Modules/mediastream/MediaStreamTrackSourcesRequest.h:
2841         * Modules/mediastream/RTCDTMFSender.h:
2842         * Modules/mediastream/RTCDataChannel.h:
2843         * Modules/mediastream/RTCPeerConnection.h:
2844         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
2845         * Modules/mediastream/RTCStatsRequestImpl.h:
2846         * Modules/mediastream/RTCStatsResponse.h:
2847         * Modules/mediastream/RTCVoidRequestImpl.h:
2848         * Modules/mediastream/UserMediaRequest.h:
2849         * Modules/mediastream/VideoStreamTrack.h:
2850         * Modules/networkinfo/NetworkInfoConnection.h:
2851         * Modules/notifications/DOMWindowNotifications.h:
2852         * Modules/notifications/Notification.h:
2853         * Modules/notifications/NotificationCenter.h:
2854         * Modules/plugins/QuickTimePluginReplacement.h:
2855         * Modules/speech/SpeechRecognition.h:
2856         * Modules/speech/SpeechRecognitionError.h:
2857         * Modules/speech/SpeechRecognitionEvent.h:
2858         * Modules/speech/SpeechSynthesis.h:
2859         * Modules/speech/SpeechSynthesisUtterance.h:
2860         * Modules/webaudio/AnalyserNode.h:
2861         * Modules/webaudio/AudioBasicInspectorNode.h:
2862         * Modules/webaudio/AudioBasicProcessorNode.h:
2863         * Modules/webaudio/AudioBufferSourceNode.h:
2864         * Modules/webaudio/AudioContext.h:
2865         * Modules/webaudio/AudioDestinationNode.h:
2866         * Modules/webaudio/AudioNode.h:
2867         * Modules/webaudio/AudioNodeInput.h:
2868         * Modules/webaudio/AudioParam.h:
2869         * Modules/webaudio/AudioProcessingEvent.h:
2870         * Modules/webaudio/BiquadDSPKernel.h:
2871         * Modules/webaudio/BiquadProcessor.h:
2872         * Modules/webaudio/ChannelMergerNode.h:
2873         * Modules/webaudio/ChannelSplitterNode.h:
2874         * Modules/webaudio/ConvolverNode.h:
2875         * Modules/webaudio/DefaultAudioDestinationNode.h:
2876         * Modules/webaudio/DelayDSPKernel.h:
2877         * Modules/webaudio/DelayProcessor.h:
2878         * Modules/webaudio/DynamicsCompressorNode.h:
2879         * Modules/webaudio/GainNode.h:
2880         * Modules/webaudio/MediaElementAudioSourceNode.h:
2881         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
2882         * Modules/webaudio/MediaStreamAudioSourceNode.h:
2883         * Modules/webaudio/OfflineAudioCompletionEvent.h:
2884         * Modules/webaudio/OfflineAudioDestinationNode.h:
2885         * Modules/webaudio/OscillatorNode.h:
2886         * Modules/webaudio/PannerNode.h:
2887         * Modules/webaudio/ScriptProcessorNode.h:
2888         * Modules/webaudio/WaveShaperDSPKernel.h:
2889         * Modules/webaudio/WaveShaperProcessor.h:
2890         * Modules/webdatabase/DatabaseTask.h:
2891         * Modules/webdatabase/SQLTransaction.h:
2892         * Modules/webdatabase/SQLTransactionBackend.h:
2893         * Modules/websockets/CloseEvent.h:
2894         * Modules/websockets/WebSocket.h:
2895         * Modules/websockets/WebSocketChannel.h:
2896         * Modules/websockets/WebSocketDeflateFramer.cpp:
2897         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
2898         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
2899         * accessibility/AccessibilityARIAGrid.h:
2900         * accessibility/AccessibilityARIAGridCell.h:
2901         * accessibility/AccessibilityARIAGridRow.h:
2902         * accessibility/AccessibilityImageMapLink.h:
2903         * accessibility/AccessibilityList.h:
2904         * accessibility/AccessibilityListBox.h:
2905         * accessibility/AccessibilityListBoxOption.h:
2906         * accessibility/AccessibilityMediaControls.h:
2907         * accessibility/AccessibilityMenuList.h:
2908         * accessibility/AccessibilityMenuListOption.h:
2909         * accessibility/AccessibilityMenuListPopup.h:
2910         * accessibility/AccessibilityMockObject.h:
2911         * accessibility/AccessibilityNodeObject.h:
2912         * accessibility/AccessibilityProgressIndicator.h:
2913         * accessibility/AccessibilityRenderObject.h:
2914         * accessibility/AccessibilitySVGRoot.h:
2915         * accessibility/AccessibilityScrollView.h:
2916         * accessibility/AccessibilityScrollbar.h:
2917         * accessibility/AccessibilitySearchFieldButtons.h:
2918         * accessibility/AccessibilitySlider.h:
2919         * accessibility/AccessibilitySpinButton.h:
2920         * accessibility/AccessibilityTable.h:
2921         * accessibility/AccessibilityTableCell.h:
2922         * accessibility/AccessibilityTableColumn.h:
2923         * accessibility/AccessibilityTableHeaderContainer.h:
2924         * accessibility/AccessibilityTableRow.h:
2925         * bindings/js/JSCryptoAlgorithmBuilder.h:
2926         * bindings/js/JSCryptoKeySerializationJWK.h:
2927         * bindings/js/JSDOMGlobalObjectTask.h:
2928         * bindings/js/JSEventListener.h:
2929         * bindings/js/JSLazyEventListener.h:
2930         * bindings/js/JSMutationCallback.h:
2931         * bindings/js/PageScriptDebugServer.h:
2932         * bindings/js/ScriptDebugServer.h:
2933         * bindings/js/WebCoreTypedArrayController.h:
2934         * bindings/js/WorkerScriptDebugServer.h:
2935         * bridge/c/c_class.h:
2936         * bridge/c/c_instance.h:
2937         * bridge/c/c_runtime.h:
2938         * bridge/runtime_root.h:
2939         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
2940         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
2941         * crypto/algorithms/CryptoAlgorithmHMAC.h:
2942         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
2943         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
2944         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
2945         * crypto/algorithms/CryptoAlgorithmSHA1.h:
2946         * crypto/algorithms/CryptoAlgorithmSHA224.h:
2947         * crypto/algorithms/CryptoAlgorithmSHA256.h:
2948         * crypto/algorithms/CryptoAlgorithmSHA384.h:
2949         * crypto/algorithms/CryptoAlgorithmSHA512.h:
2950         * crypto/keys/CryptoKeyAES.h:
2951         * crypto/keys/CryptoKeyHMAC.h:
2952         * crypto/keys/CryptoKeyRSA.h:
2953         * crypto/keys/CryptoKeySerializationRaw.h:
2954         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
2955         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
2956         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
2957         * crypto/parameters/CryptoAlgorithmHmacParams.h:
2958         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
2959         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
2960         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
2961         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
2962         * css/CSSBasicShapes.h:
2963         * css/CSSCanvasValue.h:
2964         * css/CSSCharsetRule.h:
2965         * css/CSSComputedStyleDeclaration.h:
2966         * css/CSSCrossfadeValue.h:
2967         * css/CSSFilterImageValue.h:
2968         * css/CSSFontFaceRule.h:
2969         * css/CSSFontSelector.h:
2970         * css/CSSGroupingRule.h:
2971         * css/CSSHostRule.h:
2972         * css/CSSImportRule.h:
2973         * css/CSSMediaRule.h:
2974         * css/CSSPageRule.h:
2975         * css/CSSStyleRule.h:
2976         * css/CSSStyleSheet.h:
2977         * css/CSSSupportsRule.h:
2978         * css/CSSUnknownRule.h:
2979         * css/FontLoader.cpp:
2980         * css/FontLoader.h:
2981         * css/PropertySetCSSStyleDeclaration.h:
2982         * css/WebKitCSSFilterRule.h:
2983         * css/WebKitCSSKeyframeRule.h:
2984         * css/WebKitCSSKeyframesRule.h:
2985         * css/WebKitCSSRegionRule.h:
2986         * css/WebKitCSSViewportRule.h:
2987         * dom/Attr.h:
2988         * dom/BeforeTextInsertedEvent.h:
2989         * dom/BeforeUnloadEvent.h:
2990         * dom/CDATASection.h:
2991         * dom/CharacterData.h:
2992         * dom/ChildNodeList.h:
2993         * dom/Clipboard.cpp:
2994         * dom/ClipboardEvent.h:
2995         * dom/ContainerNode.h:
2996         * dom/DOMImplementation.cpp:
2997         * dom/DatasetDOMStringMap.h:
2998         * dom/DeviceMotionController.h:
2999         * dom/DeviceOrientationController.h:
3000         * dom/Document.h:
3001         * dom/DocumentEventQueue.cpp:
3002         * dom/DocumentEventQueue.h:
3003         * dom/DocumentFragment.h:
3004         * dom/Element.h:
3005         * dom/ErrorEvent.h:
3006         * dom/EventContext.h:
3007         * dom/EventTarget.h:
3008         * dom/FocusEvent.h:
3009         * dom/KeyboardEvent.h:
3010         * dom/LiveNodeList.h:
3011         * dom/MessagePort.h:
3012         * dom/MouseEvent.h:
3013         * dom/MutationRecord.cpp:
3014         * dom/Node.h:
3015         * dom/PageTransitionEvent.h:
3016         * dom/ProcessingInstruction.h:
3017         * dom/ProgressEvent.h:
3018         * dom/PseudoElement.h:
3019         * dom/ScriptExecutionContext.h:
3020         * dom/ShadowRoot.h:
3021         * dom/StaticNodeList.h:
3022         * dom/StyledElement.h:
3023         * dom/TagNodeList.h:
3024         * dom/TemplateContentDocumentFragment.h:
3025         * dom/Text.h:
3026         * dom/TextEvent.h:
3027         * dom/TouchEvent.h:
3028         * dom/TransitionEvent.h:
3029         * dom/UIEvent.h:
3030         * dom/WebKitAnimationEvent.h:
3031         * dom/WebKitNamedFlow.h:
3032         * dom/WebKitTransitionEvent.h:
3033         * editing/AppendNodeCommand.h:
3034         * editing/ApplyBlockElementCommand.h:
3035         * editing/ApplyStyleCommand.h:
3036         * editing/BreakBlockquoteCommand.h:
3037         * editing/CompositeEditCommand.h:
3038         * editing/DeleteButton.h:
3039         * editing/DeleteFromTextNodeCommand.h:
3040         * editing/EditCommand.h:
3041         * editing/InsertIntoTextNodeCommand.h:
3042         * editing/InsertNodeBeforeCommand.h:
3043         * editing/InsertTextCommand.h:
3044         * editing/MergeIdenticalElementsCommand.h:
3045         * editing/RemoveCSSPropertyCommand.h:
3046         * editing/RemoveNodeCommand.h:
3047         * editing/ReplaceNodeWithSpanCommand.h:
3048         * editing/SetNodeAttributeCommand.h:
3049         * editing/SetSelectionCommand.h:
3050         * editing/SpellChecker.h:
3051         * editing/SpellingCorrectionCommand.cpp:
3052         * editing/SpellingCorrectionCommand.h:
3053         * editing/SplitElementCommand.h:
3054         * editing/SplitTextNodeCommand.h:
3055         * editing/WrapContentsInDummySpanCommand.h:
3056         * editing/ios/EditorIOS.mm:
3057         * editing/markup.cpp:
3058         * fileapi/Blob.cpp:
3059         * fileapi/Blob.h:
3060         * fileapi/File.h:
3061         * fileapi/FileReader.h:
3062         * fileapi/FileThreadTask.h:
3063         * history/BackForwardList.h:
3064         * html/BaseButtonInputType.h:
3065         * html/BaseCheckableInputType.h:
3066         * html/BaseChooserOnlyDateAndTimeInputType.h:
3067         * html/BaseClickableWithKeyInputType.h:
3068         * html/BaseDateAndTimeInputType.h:
3069         * html/BaseTextInputType.h:
3070         * html/ButtonInputType.h:
3071         * html/CheckboxInputType.h:
3072         * html/ClassList.h:
3073         * html/ColorInputType.h:
3074         * html/DOMSettableTokenList.h:
3075         * html/DateInputType.h:
3076         * html/DateTimeInputType.h:
3077         * html/DateTimeLocalInputType.h:
3078         * html/EmailInputType.h:
3079         * html/FTPDirectoryDocument.cpp:
3080         * html/FileInputType.h:
3081         * html/FormAssociatedElement.cpp:
3082         * html/FormAssociatedElement.h:
3083         * html/HTMLAnchorElement.h:
3084         * html/HTMLAppletElement.h:
3085         * html/HTMLAreaElement.h:
3086         * html/HTMLBRElement.h:
3087         * html/HTMLBaseElement.h:
3088         * html/HTMLBodyElement.h:
3089         * html/HTMLButtonElement.h:
3090         * html/HTMLCanvasElement.h:
3091         * html/HTMLDetailsElement.cpp:
3092         * html/HTMLDetailsElement.h:
3093         * html/HTMLDivElement.h:
3094         * html/HTMLDocument.h:
3095         * html/HTMLElement.h:
3096         * html/HTMLEmbedElement.h:
3097         * html/HTMLFieldSetElement.h:
3098         * html/HTMLFontElement.h:
3099         * html/HTMLFormControlElement.h:
3100         * html/HTMLFormControlElementWithState.h:
3101         * html/HTMLFormControlsCollection.h:
3102         * html/HTMLFormElement.h:
3103         * html/HTMLFrameElement.h:
3104         * html/HTMLFrameElementBase.h:
3105         * html/HTMLFrameOwnerElement.h:
3106         * html/HTMLFrameSetElement.h:
3107         * html/HTMLHRElement.h:
3108         * html/HTMLHtmlElement.h:
3109         * html/HTMLIFrameElement.h:
3110         * html/HTMLImageElement.h:
3111         * html/HTMLImageLoader.h:
3112         * html/HTMLInputElement.cpp:
3113         * html/HTMLInputElement.h:
3114         * html/HTMLKeygenElement.h:
3115         * html/HTMLLIElement.h:
3116         * html/HTMLLabelElement.h:
3117         * html/HTMLLegendElement.h:
3118         * html/HTMLLinkElement.h:
3119         * html/HTMLMapElement.h:
3120         * html/HTMLMarqueeElement.h:
3121         * html/HTMLMediaElement.h:
3122         * html/HTMLMediaSession.h:
3123         * html/HTMLMediaSource.h:
3124         * html/HTMLMetaElement.h:
3125         * html/HTMLMeterElement.h:
3126         * html/HTMLModElement.h:
3127         * html/HTMLOListElement.h:
3128         * html/HTMLObjectElement.h:
3129         * html/HTMLOptGroupElement.h:
3130         * html/HTMLOptionElement.h:
3131         * html/HTMLOutputElement.h:
3132         * html/HTMLParagraphElement.h:
3133         * html/HTMLParamElement.h:
3134         * html/HTMLPlugInElement.h:
3135         * html/HTMLPlugInImageElement.h:
3136         * html/HTMLPreElement.h:
3137         * html/HTMLProgressElement.h:
3138         * html/HTMLQuoteElement.h:
3139         * html/HTMLScriptElement.h:
3140         * html/HTMLSelectElement.h:
3141         * html/HTMLSourceElement.h:
3142         * html/HTMLStyleElement.h:
3143         * html/HTMLSummaryElement.h:
3144         * html/HTMLTableCaptionElement.h:
3145         * html/HTMLTableCellElement.h:
3146         * html/HTMLTableColElement.h:
3147         * html/HTMLTableElement.h:
3148         * html/HTMLTablePartElement.h:
3149         * html/HTMLTableRowsCollection.h:
3150         * html/HTMLTableSectionElement.h:
3151         * html/HTMLTemplateElement.h:
3152         * html/HTMLTextAreaElement.h:
3153         * html/HTMLTextFormControlElement.h:
3154         * html/HTMLTitleElement.h:
3155         * html/HTMLTrackElement.h:
3156         * html/HTMLUListElement.h:
3157         * html/HTMLUnknownElement.h:
3158         * html/HTMLVideoElement.h:
3159         * html/HiddenInputType.h:
3160         * html/ImageDocument.cpp:
3161         * html/ImageInputType.h:
3162         * html/LabelableElement.h:
3163         * html/LabelsNodeList.h:
3164         * html/MediaController.h:
3165         * html/MonthInputType.h:
3166         * html/NumberInputType.h:
3167         * html/PasswordInputType.h:
3168         * html/PluginDocument.h:
3169         * html/RadioInputType.h:
3170         * html/RangeInputType.h:
3171         * html/ResetInputType.h:
3172         * html/SearchInputType.h:
3173         * html/SubmitInputType.h:
3174         * html/TelephoneInputType.h:
3175         * html/TextFieldInputType.h:
3176         * html/TextInputType.h:
3177         * html/TimeInputType.h:
3178         * html/URLInputType.h:
3179         * html/WeekInputType.h:
3180         * html/canvas/CanvasRenderingContext2D.cpp:
3181         * html/canvas/CanvasRenderingContext2D.h:
3182         * html/canvas/WebGLRenderingContext.h:
3183         * html/parser/HTMLDocumentParser.h:
3184         * html/parser/TextDocumentParser.h:
3185         * html/shadow/DetailsMarkerControl.h:
3186         * html/shadow/InsertionPoint.h:
3187         * html/shadow/MediaControlElementTypes.h:
3188         * html/shadow/MediaControlElements.h:
3189         * html/shadow/MediaControls.h:
3190         * html/shadow/MediaControlsApple.h:
3191         * html/shadow/MediaControlsGtk.h:
3192         * html/shadow/MeterShadowElement.h:
3193         * html/shadow/ProgressShadowElement.h:
3194         * html/shadow/SliderThumbElement.cpp:
3195         * html/shadow/SliderThumbElement.h:
3196         * html/shadow/SpinButtonElement.h:
3197         * html/shadow/TextControlInnerElements.h:
3198         * html/shadow/YouTubeEmbedShadowElement.h:
3199         * html/track/AudioTrack.h:
3200         * html/track/AudioTrackList.h:
3201         * html/track/InbandGenericTextTrack.h:
3202         * html/track/InbandTextTrack.h:
3203         * html/track/InbandWebVTTTextTrack.h:
3204         * html/track/LoadableTextTrack.h:
3205         * html/track/TextTrack.h:
3206         * html/track/TextTrackCue.h:
3207         * html/track/TextTrackCueGeneric.cpp:
3208         * html/track/TextTrackCueGeneric.h:
3209         * html/track/TextTrackList.h:
3210         * html/track/TrackListBase.h:
3211         * html/track/VideoTrack.h:
3212         * html/track/VideoTrackList.h:
3213         * html/track/WebVTTElement.h:
3214         * inspector/CommandLineAPIModule.h:
3215         * inspector/InjectedScriptCanvasModule.h:
3216         * inspector/InspectorApplicationCacheAgent.h:
3217         * inspector/InspectorCSSAgent.h:
3218         * inspector/InspectorCanvasAgent.h:
3219         * inspector/InspectorConsoleAgent.cpp:
3220         * inspector/InspectorConsoleAgent.h:
3221         * inspector/InspectorController.h:
3222         * inspector/InspectorDOMAgent.h:
3223         * inspector/InspectorDOMDebuggerAgent.h:
3224         * inspector/InspectorDOMStorageAgent.h:
3225         * inspector/InspectorDatabaseAgent.h:
3226         * inspector/InspectorDebuggerAgent.h:
3227         * inspector/InspectorHeapProfilerAgent.h:
3228         * inspector/InspectorIndexedDBAgent.cpp:
3229         * inspector/InspectorIndexedDBAgent.h:
3230         * inspector/InspectorInputAgent.h:
3231         * inspector/InspectorLayerTreeAgent.h:
3232         * inspector/InspectorMemoryAgent.h:
3233         * inspector/InspectorPageAgent.h:
3234         * inspector/InspectorProfilerAgent.h:
3235         * inspector/InspectorResourceAgent.h:
3236         * inspector/InspectorTimelineAgent.h:
3237         * inspector/InspectorWorkerAgent.h:
3238         * inspector/PageConsoleAgent.cpp:
3239         * inspector/PageConsoleAgent.h:
3240         * inspector/PageInjectedScriptHost.h:
3241         * inspector/PageInjectedScriptManager.h:
3242         * inspector/PageRuntimeAgent.h:
3243         * inspector/WorkerConsoleAgent.h:
3244         * inspector/WorkerDebuggerAgent.h:
3245         * inspector/WorkerInspectorController.h:
3246         * inspector/WorkerRuntimeAgent.h:
3247         * loader/DocumentLoader.h:
3248         * loader/EmptyClients.h:
3249         * loader/FrameNetworkingContext.h:
3250         * loader/ImageLoader.h:
3251         * loader/NavigationScheduler.cpp:
3252         * loader/NetscapePlugInStreamLoader.h:
3253         * loader/PingLoader.h:
3254         * loader/ResourceLoader.h:
3255         * loader/SubresourceLoader.h:
3256         * loader/WorkerThreadableLoader.h:
3257         * loader/appcache/ApplicationCacheGroup.cpp:
3258         * loader/appcache/ApplicationCacheGroup.h:
3259         * loader/appcache/DOMApplicationCache.h:
3260         * loader/archive/cf/LegacyWebArchive.h:
3261         * loader/cache/CachedCSSStyleSheet.h:
3262         * loader/cache/CachedFont.h:
3263         * loader/cache/CachedFontClient.h:
3264         * loader/cache/CachedImage.h:
3265         * loader/cache/CachedImageClient.h:
3266         * loader/cache/CachedRawResource.h:
3267         * loader/cache/CachedRawResourceClient.h:
3268         * loader/cache/CachedSVGDocument.h:
3269         * loader/cache/CachedSVGDocumentClient.h:
3270         * loader/cache/CachedScript.h:
3271         * loader/cache/CachedShader.h:
3272         * loader/cache/CachedStyleSheetClient.h:
3273         * loader/cache/CachedTextTrack.h:
3274         * loader/cache/CachedXSLStyleSheet.h:
3275         * loader/icon/IconLoader.h:
3276         * mathml/MathMLElement.h:
3277         * mathml/MathMLInlineContainerElement.h:
3278         * mathml/MathMLMathElement.h:
3279         * mathml/MathMLSelectElement.h:
3280         * mathml/MathMLTextElement.h:
3281         * page/CaptionUserPreferencesMediaAF.h:
3282         * page/Chrome.h:
3283         * page/DOMTimer.h:
3284         * page/DOMWindow.h:
3285         * page/DOMWindowExtension.h:
3286         * page/EventSource.h:
3287         * page/Frame.h:
3288         * page/FrameView.h:
3289         * page/PageDebuggable.h:
3290         * page/PageSerializer.cpp:
3291         * page/Performance.h:
3292         * page/SuspendableTimer.h:
3293         * page/animation/ImplicitAnimation.h:
3294         * page/animation/KeyframeAnimation.h:
3295         * page/scrolling/AsyncScrollingCoordinator.h:
3296         * page/scrolling/ScrollingConstraints.h:
3297         * page/scrolling/ScrollingStateFixedNode.h:
3298         * page/scrolling/ScrollingStateScrollingNode.h:
3299         * page/scrolling/ScrollingStateStickyNode.h:
3300         * page/scrolling/ScrollingTreeScrollingNode.h:
3301         * page/scrolling/ThreadedScrollingTree.h:
3302         * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
3303         * page/scrolling/ios/ScrollingCoordinatorIOS.h:
3304         * page/scrolling/ios/ScrollingTreeIOS.h:
3305         * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
3306         * page/scrolling/mac/ScrollingCoordinatorMac.h:
3307         * page/scrolling/mac/ScrollingTreeFixedNode.h:
3308         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
3309         * page/scrolling/mac/ScrollingTreeStickyNode.h:
3310         * pdf/ios/PDFDocument.cpp:
3311         * pdf/ios/PDFDocument.h:
3312         * platform/CalculationValue.h:
3313         * platform/ClockGeneric.h:
3314         * platform/MainThreadTask.h:
3315         * platform/PODIntervalTree.h:
3316         * platform/PODRedBlackTree.h:
3317         * platform/RefCountedSupplement.h:
3318         * platform/ScrollView.h:
3319         * platform/Scrollbar.h:
3320         * platform/Timer.h:
3321         * platform/animation/TimingFunction.h:
3322         * platform/audio/AudioDSPKernelProcessor.h:
3323         * platform/audio/EqualPowerPanner.h:
3324         * platform/audio/HRTFPanner.h:
3325         * platform/audio/ios/AudioDestinationIOS.h:
3326         * platform/audio/mac/AudioDestinationMac.h:
3327         * platform/audio/nix/AudioDestinationNix.h:
3328         * platform/efl/RenderThemeEfl.h:
3329         * platform/efl/ScrollbarEfl.h:
3330         * platform/efl/ScrollbarThemeEfl.h:
3331         * platform/graphics/AudioTrackPrivate.h:
3332         * platform/graphics/BitmapImage.h:
3333         * platform/graphics/CrossfadeGeneratedImage.h:
3334         * platform/graphics/FloatPolygon.h:
3335         * platform/graphics/GeneratedImage.h:
3336         * platform/graphics/GradientImage.h:
3337         * platform/graphics/GraphicsLayer.h:
3338         * platform/graphics/InbandTextTrackPrivate.h:
3339         * platform/graphics/MediaPlayer.cpp:
3340         * platform/graphics/SimpleFontData.h:
3341         * platform/graphics/VideoTrackPrivate.h:
3342         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
3343         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
3344         * platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
3345         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
3346         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
3347         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
3348         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
3349         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
3350         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
3351         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
3352         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
3353         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
3354         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
3355         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
3356         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
3357         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
3358         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
3359         * platform/graphics/ca/GraphicsLayerCA.h:
3360         * platform/graphics/ca/mac/PlatformCALayerMac.h:
3361         * platform/graphics/ca/mac/TileController.h:
3362         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
3363         * platform/graphics/ca/win/PlatformCALayerWin.h:
3364         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
3365         * platform/graphics/cg/PDFDocumentImage.h:
3366         * platform/graphics/efl/GraphicsContext3DPrivate.h:
3367         * platform/graphics/egl/GLContextFromCurrentEGL.h:
3368         * platform/graphics/filters/DistantLightSource.h:
3369         * platform/graphics/filters/FEComposite.h:
3370         * platform/graphics/filters/FEDisplacementMap.h:
3371         * platform/graphics/filters/FEFlood.h:
3372         * platform/graphics/filters/FilterOperation.h:
3373         * platform/graphics/filters/PointLightSource.h:
3374         * platform/graphics/filters/SpotLightSource.h:
3375         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
3376         * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
3377         * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
3378         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
3379         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
3380         * platform/graphics/ios/MediaPlayerPrivateIOS.h:
3381         * platform/graphics/ios/TextTrackRepresentationIOS.h:
3382         * platform/graphics/surfaces/GLTransportSurface.h:
3383         * platform/graphics/surfaces/egl/EGLContext.h:
3384         * platform/graphics/surfaces/egl/EGLSurface.h:
3385         * platform/graphics/surfaces/egl/EGLXSurface.h:
3386         * platform/graphics/surfaces/glx/GLXContext.h:
3387         * platform/graphics/surfaces/glx/GLXSurface.h:
3388         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
3389         * platform/graphics/texmap/TextureMapperGL.h:
3390         * platform/graphics/texmap/TextureMapperImageBuffer.h:
3391         * platform/graphics/texmap/TextureMapperLayer.h:
3392         * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
3393         * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
3394         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
3395         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h:
3396         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
3397         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
3398         * platform/graphics/texmap/coordinated/CoordinatedTile.h:
3399         * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
3400         * platform/gtk/RenderThemeGtk.h:
3401         * platform/ios/DeviceMotionClientIOS.h:
3402         * platform/ios/DeviceOrientationClientIOS.h:
3403         * platform/ios/ScrollAnimatorIOS.h:
3404         * platform/ios/ScrollbarThemeIOS.h:
3405         * platform/ios/WebSafeGCActivityCallbackIOS.h:
3406         * platform/ios/WebSafeIncrementalSweeperIOS.h:
3407         * platform/mac/PlatformClockCA.h:
3408         * platform/mac/PlatformClockCM.h:
3409         * platform/mac/ScrollAnimatorMac.h:
3410         * platform/mac/ScrollbarThemeMac.h:
3411         * platform/mediastream/MediaStreamTrackPrivate.h:
3412         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
3413         * platform/mediastream/mac/AVAudioCaptureSource.h:
3414         * platform/mediastream/mac/AVMediaCaptureSource.h:
3415         * platform/mediastream/mac/AVVideoCaptureSource.h:
3416         * platform/mediastream/mac/MediaStreamCenterMac.h:
3417         * platform/mock/DeviceMotionClientMock.h:
3418         * platform/mock/DeviceOrientationClientMock.h:
3419         * platform/mock/MockMediaStreamCenter.h:
3420         * platform/mock/RTCDataChannelHandlerMock.h:
3421         * platform/mock/RTCNotifiersMock.h:
3422         * platform/mock/RTCPeerConnectionHandlerMock.h:
3423         * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
3424         * platform/mock/mediasource/MockMediaSourcePrivate.h:
3425         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
3426         * platform/mock/mediasource/MockSourceBufferPrivate.h:
3427         * platform/network/BlobRegistryImpl.h:
3428         * platform/network/BlobResourceHandle.cpp:
3429         * platform/network/BlobResourceHandle.h:
3430         * platform/network/ResourceHandle.h:
3431         * platform/network/SynchronousLoaderClient.h:
3432         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
3433         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
3434         * platform/nix/RenderThemeNix.h:
3435         * platform/nix/ScrollbarThemeNix.h:
3436         * platform/text/LocaleICU.h:
3437         * platform/text/LocaleNone.cpp:
3438         * platform/text/PlatformLocale.cpp:
3439         * platform/text/mac/LocaleMac.h:
3440         * platform/text/win/LocaleWin.h:
3441         * platform/win/PopupMenuWin.h:
3442         * plugins/PluginView.h:
3443         * rendering/AutoTableLayout.h:
3444         * rendering/ClipPathOperation.h:
3445         * rendering/EllipsisBox.h:
3446         * rendering/FilterEffectRenderer.h:
3447         * rendering/FixedTableLayout.h:
3448         * rendering/InlineElementBox.h:
3449         * rendering/InlineFlowBox.h:
3450         * rendering/InlineTextBox.h:
3451         * rendering/RenderBlock.h:
3452         * rendering/RenderBlockFlow.h:
3453         * rendering/RenderBox.h:
3454         * rendering/RenderBoxModelObject.h:
3455         * rendering/RenderButton.h:
3456         * rendering/RenderCombineText.h:
3457         * rendering/RenderCounter.h:
3458         * rendering/RenderDeprecatedFlexibleBox.h:
3459         * rendering/RenderDetailsMarker.h:
3460         * rendering/RenderElement.h:
3461         * rendering/RenderEmbeddedObject.h:
3462         * rendering/RenderFieldset.h:
3463         * rendering/RenderFileUploadControl.h:
3464         * rendering/RenderFlexibleBox.h:
3465         * rendering/RenderFlowThread.h:
3466         * rendering/RenderFrame.h:
3467         * rendering/RenderFrameSet.h:
3468         * rendering/RenderFullScreen.h:
3469         * rendering/RenderGrid.h:
3470         * rendering/RenderHTMLCanvas.h:
3471         * rendering/RenderIFrame.h:
3472         * rendering/RenderImage.h:
3473         * rendering/RenderImageResourceStyleImage.h:
3474         * rendering/RenderInline.h:
3475         * rendering/RenderLayer.h:
3476         * rendering/RenderLayerBacking.h:
3477         * rendering/RenderLayerCompositor.h:
3478         * rendering/RenderLayerFilterInfo.h:
3479         * rendering/RenderLayerModelObject.h:
3480         * rendering/RenderLineBreak.h:
3481         * rendering/RenderListBox.h:
3482         * rendering/RenderListItem.h:
3483         * rendering/RenderListMark