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