[iOS] HTMLMediaSession should set AudioSession category
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-01-17  Eric Carlson  <eric.carlson@apple.com>
2
3         [iOS] HTMLMediaSession should set AudioSession category
4         https://bugs.webkit.org/show_bug.cgi?id=127137
5
6         Reviewed by Sam Weinig.
7
8         * html/HTMLMediaSession.cpp:
9         (WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
10         (WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.
11
12 2014-01-17  Daniel Bates  <dabates@apple.com>
13
14         Fix the iOS build after <http://trac.webkit.org/changeset/162178>
15         (https://bugs.webkit.org/show_bug.cgi?id=127147)
16
17         Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
18         "Objective-C declarations may only appear in global scope".
19
20         * platform/audio/ios/MediaSessionManagerIOS.mm:
21
22 2014-01-17  Bem Jones-Bey  <bjonesbe@adobe.com>
23
24         [CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
25         https://bugs.webkit.org/show_bug.cgi?id=122576
26
27         Reviewed by David Hyatt.
28
29         Make inline content interact with stacked floats with shape-outside
30         per the spec. This means that content can interact with floats on the
31         line that are not the outermost float.
32
33         This refactors ComputeFloatOffsetAdapter into a superclass and two
34         subclasses: one adaptor for determining the offset for float layout,
35         and one for determining the offset for inline layout.
36
37         The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
38         been updated to handle stacked floats with shape-outside properly and
39         has been considerably simplified in the process. It was previously
40         doing a whole bunch of unnecessary work.
41
42         Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
43                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
44                fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html
45
46         * rendering/FloatingObjects.cpp:
47         (WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
48         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
49         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
50         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
51         (WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
52         (WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
53         (WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
54         (WebCore::FloatingObjects::logicalLeftOffset):
55         (WebCore::FloatingObjects::logicalRightOffset):
56         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
57         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
58         (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
59         (WebCore::shapeInfoForFloat):
60         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
61         (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
62         * rendering/line/LineWidth.cpp:
63         (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
64         * rendering/shapes/ShapeOutsideInfo.cpp:
65         (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
66         * rendering/shapes/ShapeOutsideInfo.h:
67
68 2014-01-17  Zoltan Horvath  <zoltan@webkit.org>
69
70         [CSS3] Add rendering support for -webkit-text-align-last
71         https://bugs.webkit.org/show_bug.cgi?id=99584
72
73         Reviewed by David Hyatt.
74
75         Add support for the text-align-last CSS3 property, according to the latest specification:
76         http://dev.w3.org/csswg/css-text-3/#text-align-last-property
77
78         Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
79                fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html
80
81         * rendering/RenderBlockLineLayout.cpp:
82         (WebCore::RenderBlockFlow::textAlignmentForLine):
83         * rendering/style/RenderStyle.cpp:
84         (WebCore::RenderStyle::changeRequiresLayout):
85
86 2014-01-17  Daniel Bates  <dabates@apple.com>
87
88         Fix the iOS build after <http://trac.webkit.org/changeset/162208>
89         (https://bugs.webkit.org/show_bug.cgi?id=127139)
90
91         __MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
92         check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.
93
94         * platform/network/cf/CookieJarCFNet.cpp:
95
96 2014-01-17  Bear Travis  <betravis@adobe.com>
97
98         [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
99         https://bugs.webkit.org/show_bug.cgi?id=127010
100
101         Reviewed by Rob Buis.
102
103         This patch updates the computed position values used for blending to be a horizontal
104         left offset and a vertical top offset. When positions include a center, bottom, or
105         right position offset, it is converted to the appropriate top/left coordinate as
106         a calc expression. Serialized values still use the original bottom/right directions
107         when present, and also omit the top/left keywords where possible.
108
109         Updated parsing and animation tests.
110
111         * css/BasicShapeFunctions.cpp:
112         (WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
113         which includes an offset and whether the direction is from the top/left or bottom/right.
114         (WebCore::valueForBasicShape): Ditto.
115         (WebCore::convertToCenterCoordinate): Ditto.
116         (WebCore::basicShapeForValue): Ditto.
117         (WebCore::floatValueForCenterCoordinate): Ditto.
118         * page/animation/CSSPropertyAnimation.cpp:
119         (WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
120         * rendering/style/BasicShapes.cpp:
121         (WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
122         position offset for this center coordinate.
123         (WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
124         (WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
125         (WebCore::BasicShapeCircle::blend): Ditto.
126         (WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
127         (WebCore::BasicShapeEllipse::blend): Ditto.
128         (WebCore::BasicShapePolygon::blend): Ditto.
129         (WebCore::BasicShapeInsetRectangle::blend): Ditto.
130         (WebCore::BasicShapeInset::blend): Ditto.
131         * rendering/style/BasicShapes.h:
132         (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
133         BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
134         computed length, which is an offset from the top/left direction.
135         (WebCore::BasicShapeCenterCoordinate::direction):
136         (WebCore::BasicShapeCenterCoordinate::computedLength):
137         (WebCore::BasicShapeCenterCoordinate::blend):
138
139 2014-01-17  Alexey Proskuryakov  <ap@apple.com>
140
141         More non-Mac build fix.
142
143         * platform/network/cf/CookieJarCFNet.cpp:
144
145 2014-01-16  Myles C. Maxfield  <mmaxfield@apple.com>
146
147         Unprefix text-emphasis CSS properties
148         https://bugs.webkit.org/show_bug.cgi?id=127160
149
150         Reviewed by Sam Weinig.
151
152         Add synonym CSS properties. We don't want to delete the old ones because
153         we've shipped with them included.
154
155         Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
156
157         * css/CSSPropertyNames.in:
158
159 2014-01-17  Alberto Garcia  <berto@igalia.com>
160
161         [GTK] WebKitGtk/testcopyandpaste fails in debug builds
162         https://bugs.webkit.org/show_bug.cgi?id=127173
163
164         Reviewed by Carlos Garcia Campos.
165
166         Remove duplicate "PasteGlobalSelection" entry.
167
168         * editing/EditorCommand.cpp:
169         (WebCore::createCommandMap):
170
171 2014-01-14  Andreas Kling  <akling@apple.com>
172
173         Pack ResourceRequest harder.
174         <https://webkit.org/b/126982>
175
176         Re-arrange the members of ResourceRequest to reduce padding,
177         shrinking it by 8 bytes.
178
179         Reviewed by Anders Carlsson.
180
181         * platform/network/ResourceRequestBase.h:
182         (WebCore::ResourceRequestBase::ResourceRequestBase):
183
184 2014-01-17  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
185
186         Remove workaround for compilers not supporting deleted functions
187         https://bugs.webkit.org/show_bug.cgi?id=127166
188
189         Reviewed by Andreas Kling.
190
191         * bindings/js/JSLazyEventListener.h:
192         * dom/ContainerNode.h:
193         * dom/Document.h:
194         * dom/Element.h:
195         * rendering/InlineFlowBox.h:
196         * rendering/InlineTextBox.h:
197         * rendering/RenderButton.h:
198         * rendering/RenderCombineText.h:
199         * rendering/RenderElement.h:
200         * rendering/RenderFieldset.h:
201         * rendering/RenderFileUploadControl.h:
202         * rendering/RenderFrame.h:
203         * rendering/RenderFrameBase.h:
204         * rendering/RenderFrameSet.h:
205         * rendering/RenderHTMLCanvas.h:
206         * rendering/RenderIFrame.h:
207         * rendering/RenderLineBreak.h:
208         * rendering/RenderListBox.h:
209         * rendering/RenderListMarker.h:
210         * rendering/RenderMedia.h:
211         * rendering/RenderMenuList.h:
212         * rendering/RenderSnapshottedPlugIn.h:
213         * rendering/RenderTableCell.h:
214         * rendering/RenderTableRow.h:
215         * rendering/RenderTableSection.h:
216         * rendering/RenderText.h:
217         * rendering/RenderTextControl.h:
218         * rendering/RenderTextControlMultiLine.h:
219         * rendering/RenderTextControlSingleLine.h:
220         * rendering/RenderVideo.h:
221         * rendering/RenderWidget.h:
222         * rendering/svg/RenderSVGBlock.h:
223         * rendering/svg/RenderSVGForeignObject.h:
224         * rendering/svg/RenderSVGImage.h:
225         * rendering/svg/RenderSVGInline.h:
226         * rendering/svg/RenderSVGRect.h:
227         * rendering/svg/RenderSVGResourceClipper.h:
228         * rendering/svg/RenderSVGResourceFilter.h:
229         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
230         * rendering/svg/RenderSVGResourceGradient.h:
231         * rendering/svg/RenderSVGResourceLinearGradient.h:
232         * rendering/svg/RenderSVGResourceMarker.h:
233         * rendering/svg/RenderSVGResourceMasker.h:
234         * rendering/svg/RenderSVGResourcePattern.h:
235         * rendering/svg/RenderSVGResourceRadialGradient.h:
236         * rendering/svg/RenderSVGRoot.h:
237         * rendering/svg/RenderSVGShape.h:
238         * rendering/svg/RenderSVGTSpan.h:
239         * rendering/svg/RenderSVGText.h:
240         * rendering/svg/RenderSVGTextPath.h:
241         * rendering/svg/RenderSVGTransformableContainer.h:
242         * rendering/svg/RenderSVGViewportContainer.h:
243         * xml/XPathValue.h:
244
245 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
246
247         [ATK] Modernize the for loops in ATK AX code
248         https://bugs.webkit.org/show_bug.cgi?id=127120
249
250         Reviewed by Mario Sanchez Prada.
251
252         Update the for loops to be range-based in ATK accessibility code.
253         This work is complementary to r161979.
254
255         * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
256         (webkitAccessibleHypertextGetLink):
257         * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
258         (webkitAccessibleTableGetColumnHeader):
259         (webkitAccessibleTableGetRowHeader):
260         * accessibility/atk/WebKitAccessibleUtil.cpp:
261         (accessibilityTitle):
262         (accessibilityDescription):
263         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
264         (getNChildrenForTable):
265         (getChildForTable):
266         (getIndexInParentForCellInRow):
267
268 2014-01-17  Zan Dobersek  <zdobersek@igalia.com>
269
270         [Soup] Remove unnecessary using-directives for the std namespace
271         https://bugs.webkit.org/show_bug.cgi?id=127122
272
273         Reviewed by Martin Robinson.
274
275         * platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
276         as no symbols from that namespace are in use in this implementation file.
277         * platform/network/soup/ResourceResponseSoup.cpp: Ditto.
278
279 2014-01-16  Tim Horton  <timothy_horton@apple.com>
280
281         On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
282         https://bugs.webkit.org/show_bug.cgi?id=126531
283         <rdar://problem/15745862>
284
285         Reviewed by Anders Carlsson.
286
287         * platform/graphics/ca/mac/TileController.h:
288         * platform/graphics/ca/mac/TileController.mm:
289         (WebCore::TileController::tilesWouldChangeForVisibleRect):
290         (WebCore::TileController::scaledExposedRect):
291         (WebCore::TileController::computeTileCoverageRect):
292         (WebCore::TileController::revalidateTiles):
293         (WebCore::TileController::updateTileCoverageMap):
294         Scale the FrameView-space exposedRect into document space, to match the visibleRect.
295
296         Flipping on WKView's clipsToExposedRect now works correctly even in Safari
297         or MiniBrowser with zooming.
298
299 2014-01-15  Sam Weinig  <sam@webkit.org>
300
301         TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
302         https://bugs.webkit.org/show_bug.cgi?id=126856
303
304         Reviewed by Ryosuke Niwa.
305
306         Change all the TextBreakIterator creation functions to take StringViews. Remove a few
307         now unnecessary up-conversions to UTF-16 in the process.
308
309         * dom/CharacterData.cpp:
310         * editing/TextCheckingHelper.cpp:
311         * editing/VisibleUnits.cpp:
312         * platform/graphics/StringTruncator.cpp:
313         * platform/graphics/mac/ComplexTextController.cpp:
314         * platform/text/TextBoundaries.cpp:
315         * platform/text/TextBreakIterator.cpp:
316         * platform/text/TextBreakIterator.h:
317         * rendering/RenderText.cpp:
318
319 2014-01-16  Anders Carlsson  <andersca@apple.com>
320
321         Run clang-modernize and let it add a bunch of missing overrides.
322
323         Rubber-stamped by Sam Weinig.
324
325         * dom/BeforeLoadEvent.h:
326         * dom/ClassNodeList.h:
327         * dom/Comment.h:
328         * dom/CompositionEvent.h:
329         * dom/DecodedDataDocumentParser.h:
330         * dom/DeviceMotionEvent.h:
331         * dom/DeviceOrientationEvent.h:
332         * dom/DocumentMarker.cpp:
333         * dom/DocumentType.h:
334         * dom/EntityReference.h:
335         * dom/FocusEvent.h:
336         * dom/HashChangeEvent.h:
337         * dom/MessageEvent.h:
338         * dom/MouseEvent.h:
339         * dom/MouseRelatedEvent.h:
340         * dom/MutationEvent.h:
341         * dom/NameNodeList.h:
342         * dom/Notation.h:
343         * dom/OverflowEvent.h:
344         * dom/PendingScript.h:
345         * dom/PopStateEvent.h:
346         * dom/ProcessingInstruction.h:
347         * dom/ScriptElement.h:
348         * dom/ScriptExecutionContext.cpp:
349         * dom/ScriptableDocumentParser.h:
350         * dom/ScriptedAnimationController.h:
351         * dom/StringCallback.cpp:
352         * dom/WheelEvent.h:
353         * html/FTPDirectoryDocument.h:
354         * html/FileInputType.cpp:
355         * html/HTMLAppletElement.h:
356         * html/HTMLBRElement.h:
357         * html/HTMLBaseElement.h:
358         * html/HTMLBodyElement.h:
359         * html/HTMLButtonElement.h:
360         * html/HTMLDocument.h:
361         * html/HTMLEmbedElement.h:
362         * html/HTMLFormControlsCollection.h:
363         * html/HTMLFrameElement.h:
364         * html/HTMLFrameSetElement.h:
365         * html/HTMLHRElement.h:
366         * html/HTMLIFrameElement.h:
367         * html/HTMLKeygenElement.cpp:
368         * html/HTMLKeygenElement.h:
369         * html/HTMLLinkElement.h:
370         * html/HTMLMarqueeElement.h:
371         * html/HTMLObjectElement.h:
372         * html/HTMLOutputElement.h:
373         * html/HTMLParamElement.h:
374         * html/HTMLScriptElement.h:
375         * html/HTMLStyleElement.h:
376         * html/HTMLSummaryElement.h:
377         * html/HTMLTrackElement.h:
378         * html/HTMLViewSourceDocument.h:
379         * html/ImageDocument.cpp:
380         * html/ImageDocument.h:
381         * html/MediaDocument.cpp:
382         * html/MediaDocument.h:
383         * html/MediaKeyEvent.h:
384         * html/PluginDocument.cpp:
385         * html/RadioNodeList.h:
386         * html/TextDocument.h:
387         * html/canvas/EXTDrawBuffers.h:
388         * html/canvas/EXTTextureFilterAnisotropic.h:
389         * html/canvas/OESElementIndexUint.h:
390         * html/canvas/OESStandardDerivatives.h:
391         * html/canvas/OESTextureFloat.h:
392         * html/canvas/OESTextureFloatLinear.h:
393         * html/canvas/OESTextureHalfFloat.h:
394         * html/canvas/OESTextureHalfFloatLinear.h:
395         * html/canvas/OESVertexArrayObject.h:
396         * html/canvas/WebGLBuffer.h:
397         * html/canvas/WebGLCompressedTextureATC.h:
398         * html/canvas/WebGLCompressedTexturePVRTC.h:
399         * html/canvas/WebGLCompressedTextureS3TC.h:
400         * html/canvas/WebGLContextEvent.h:
401         * html/canvas/WebGLContextObject.h:
402         * html/canvas/WebGLDebugRendererInfo.h:
403         * html/canvas/WebGLDebugShaders.h:
404         * html/canvas/WebGLDepthTexture.h:
405         * html/canvas/WebGLFramebuffer.cpp:
406         * html/canvas/WebGLFramebuffer.h:
407         * html/canvas/WebGLLoseContext.h:
408         * html/canvas/WebGLProgram.h:
409         * html/canvas/WebGLRenderbuffer.h:
410         * html/canvas/WebGLRenderingContext.cpp:
411         * html/canvas/WebGLRenderingContext.h:
412         * html/canvas/WebGLShader.h:
413         * html/canvas/WebGLSharedObject.h:
414         * html/canvas/WebGLTexture.h:
415         * html/canvas/WebGLVertexArrayObjectOES.h:
416         * html/parser/HTMLDocumentParser.h:
417         * html/parser/HTMLViewSourceParser.h:
418         * html/shadow/DetailsMarkerControl.h:
419         * html/shadow/MediaControls.h:
420         * html/shadow/MediaControlsApple.h:
421         * html/shadow/MeterShadowElement.h:
422         * html/shadow/ProgressShadowElement.h:
423         * html/shadow/SliderThumbElement.h:
424         * html/track/LoadableTextTrack.h:
425         * html/track/TrackEvent.h:
426         * svg/SVGAElement.h:
427         * svg/SVGAnimateColorElement.h:
428         * svg/SVGAnimateElement.h:
429         * svg/SVGAnimateMotionElement.h:
430         * svg/SVGAnimateTransformElement.h:
431         * svg/SVGAnimationElement.h:
432         * svg/SVGCircleElement.h:
433         * svg/SVGClipPathElement.h:
434         * svg/SVGComponentTransferFunctionElement.h:
435         * svg/SVGCursorElement.h:
436         * svg/SVGDefsElement.h:
437         * svg/SVGDescElement.h:
438         * svg/SVGEllipseElement.h:
439         * svg/SVGFEBlendElement.h:
440         * svg/SVGFEColorMatrixElement.h:
441         * svg/SVGFEComponentTransferElement.h:
442         * svg/SVGFECompositeElement.h:
443         * svg/SVGFEConvolveMatrixElement.h:
444         * svg/SVGFEDiffuseLightingElement.h:
445         * svg/SVGFEDisplacementMapElement.h:
446         * svg/SVGFEDistantLightElement.h:
447         * svg/SVGFEDropShadowElement.h:
448         * svg/SVGFEFloodElement.h:
449         * svg/SVGFEGaussianBlurElement.h:
450         * svg/SVGFEImageElement.h:
451         * svg/SVGFELightElement.h:
452         * svg/SVGFEMergeElement.h:
453         * svg/SVGFEMergeNodeElement.h:
454         * svg/SVGFEMorphologyElement.h:
455         * svg/SVGFEOffsetElement.h:
456         * svg/SVGFEPointLightElement.h:
457         * svg/SVGFESpecularLightingElement.h:
458         * svg/SVGFESpotLightElement.h:
459         * svg/SVGFETileElement.h:
460         * svg/SVGFETurbulenceElement.h:
461         * svg/SVGFilterElement.h:
462         * svg/SVGFilterPrimitiveStandardAttributes.h:
463         * svg/SVGFontData.h:
464         * svg/SVGForeignObjectElement.h:
465         * svg/SVGGlyphElement.h:
466         * svg/SVGGlyphRefElement.h:
467         * svg/SVGGradientElement.h:
468         * svg/SVGHKernElement.h:
469         * svg/SVGImageElement.h:
470         * svg/SVGImageLoader.h:
471         * svg/SVGLineElement.h:
472         * svg/SVGLinearGradientElement.h:
473         * svg/SVGMPathElement.h:
474         * svg/SVGMarkerElement.h:
475         * svg/SVGMaskElement.h:
476         * svg/SVGMissingGlyphElement.h:
477         * svg/SVGPathBuilder.h:
478         * svg/SVGPathByteStreamBuilder.h:
479         * svg/SVGPathByteStreamSource.h:
480         * svg/SVGPathElement.h:
481         * svg/SVGPathSegArcAbs.h:
482         * svg/SVGPathSegArcRel.h:
483         * svg/SVGPathSegClosePath.h:
484         * svg/SVGPathSegCurvetoCubicAbs.h:
485         * svg/SVGPathSegCurvetoCubicRel.h:
486         * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
487         * svg/SVGPathSegCurvetoCubicSmoothRel.h:
488         * svg/SVGPathSegCurvetoQuadraticAbs.h:
489         * svg/SVGPathSegCurvetoQuadraticRel.h:
490         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
491         * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
492         * svg/SVGPathSegLinetoAbs.h:
493         * svg/SVGPathSegLinetoHorizontalAbs.h:
494         * svg/SVGPathSegLinetoHorizontalRel.h:
495         * svg/SVGPathSegLinetoRel.h:
496         * svg/SVGPathSegLinetoVerticalAbs.h:
497         * svg/SVGPathSegLinetoVerticalRel.h:
498         * svg/SVGPathSegListBuilder.h:
499         * svg/SVGPathSegListSource.h:
500         * svg/SVGPathSegMovetoAbs.h:
501         * svg/SVGPathSegMovetoRel.h:
502         * svg/SVGPathStringSource.h:
503         * svg/SVGPathTraversalStateBuilder.h:
504         * svg/SVGPatternElement.h:
505         * svg/SVGPolyElement.h:
506         * svg/SVGRadialGradientElement.h:
507         * svg/SVGRectElement.h:
508         * svg/SVGSVGElement.h:
509         * svg/SVGScriptElement.h:
510         * svg/SVGStopElement.h:
511         * svg/SVGStyleElement.h:
512         * svg/SVGSwitchElement.h:
513         * svg/SVGSymbolElement.h:
514         * svg/SVGTRefElement.h:
515         * svg/SVGTSpanElement.h:
516         * svg/SVGTextContentElement.h:
517         * svg/SVGTextElement.h:
518         * svg/SVGTextPathElement.h:
519         * svg/SVGTextPositioningElement.h:
520         * svg/SVGTitleElement.h:
521         * svg/SVGUseElement.h:
522         * svg/SVGVKernElement.h:
523         * svg/SVGViewElement.h:
524         * svg/SVGZoomEvent.h:
525         * svg/animation/SVGSMILElement.cpp:
526         * svg/animation/SVGSMILElement.h:
527         * svg/graphics/SVGImageChromeClient.h:
528         * svg/graphics/filters/SVGFEImage.h:
529         * svg/graphics/filters/SVGFilter.h:
530         * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
531         * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
532         * svg/properties/SVGPathSegListPropertyTearOff.h:
533
534 2014-01-16  Jer Noble  <jer.noble@apple.com>
535
536         REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
537         https://bugs.webkit.org/show_bug.cgi?id=127147
538
539         Reviewed by Eric Carlson.
540
541         Reset the MediaSessionManager's restrictions to their default values before
542         each run.
543
544         Add a new virtual method "resetRestrictions()" so that each port-specific
545         MediaSessionManager can reset the restrictions to their default values.
546         Call this from Internals::resetToConsistentState() so that tests which change
547         the restrictions don't affect later tests.
548
549         * platform/audio/MediaSessionManager.cpp:
550         (WebCore::MediaSessionManager::MediaSessionManager):
551         (WebCore::MediaSessionManager::resetRestrictions):
552         * platform/audio/MediaSessionManager.h:
553         (WebCore::MediaSessionManager::~MediaSessionManager):
554         * platform/audio/ios/MediaSessionManagerIOS.h:
555         * platform/audio/ios/MediaSessionManagerIOS.mm:
556         (WebCore::MediaSessionManageriOS::resetRestrictions):
557         * testing/Internals.cpp:
558         (WebCore::Internals::resetToConsistentState):
559
560 2014-01-16  Alex Christensen  <achristensen@webkit.org>
561
562         Compile fix for WinCairo after r162138.
563         https://bugs.webkit.org/show_bug.cgi?id=127140
564
565         Reviewed by Beth Dakin.
566
567         * page/FrameView.cpp:
568         (WebCore::FrameView::extendedBackgroundRect):
569         Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.
570
571 2014-01-16  Brady Eidson  <beidson@apple.com>
572
573         IDB: delete object store support
574         <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
575
576         Reviewed by Alexey Proskuryakov.
577
578         * Modules/indexeddb/IDBTransactionBackendOperations.h:
579         (WebCore::DeleteObjectStoreOperation::transaction):
580
581 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
582
583         More non-Mac build fix.
584
585         * platform/network/cf/CookieJarCFNet.cpp:
586         (WebCore::copyCookiesForURLWithFirstPartyURL):
587
588 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
589
590         Build fix.
591
592         * platform/network/cf/CookieJarCFNet.cpp: Remove a spurious semicolon.
593
594 2014-01-16  Andy Estes  <aestes@apple.com>
595
596         Another iOS build fix.
597
598         * platform/audio/ios/MediaSessionManagerIOS.mm:
599         (WebCore::m_objcObserver):
600
601 2014-01-16  Alexey Proskuryakov  <ap@apple.com>
602
603         [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
604         https://bugs.webkit.org/show_bug.cgi?id=127139
605
606         Reviewed by Brady Eidson.
607
608         * platform/ios/WebCoreSystemInterfaceIOS.mm:
609         * platform/mac/WebCoreSystemInterface.h:
610         * platform/mac/WebCoreSystemInterface.mm:
611         Pass first party URL down, because reading cookies depends on it when this policy
612         in in action.
613
614         * platform/network/cf/CookieJarCFNet.cpp:
615         (WebCore::copyCookiesForURLWithFirstPartyURL):
616         (WebCore::cookiesForDOM):
617         (WebCore::cookieRequestHeaderFieldValue):
618         (WebCore::cookiesEnabled):
619         (WebCore::getRawCookies):
620         Use a new CFNetwork API that takes first party URL.
621
622         * platform/network/mac/CookieJarMac.mm:
623         (WebCore::cookiesForDOM):
624         (WebCore::cookieRequestHeaderFieldValue):
625         (WebCore::cookiesEnabled):
626         (WebCore::getRawCookies):
627         (WebCore::deleteCookie):
628         Pass first party URL (and null in deleteCookie, as there is none).
629
630         * platform/network/mac/ResourceHandleMac.mm:
631         (WebCore::ResourceHandle::platformLoadResourceSynchronously):
632         Removed a call to shouldRelaxThirdPartyCookiePolicy(), which no longer exists
633         in trunk.
634
635 2014-01-16  Andy Estes  <aestes@apple.com>
636
637         Fix the iOS build after r162150.
638
639         * platform/graphics/cg/GraphicsContextCG.cpp:
640         (WebCore::GraphicsContext::platformInit):
641
642 2014-01-16  Dean Jackson  <dino@apple.com>
643
644         glReadPixels should use UNSIGNED_BYTE on iOS
645         https://bugs.webkit.org/show_bug.cgi?id=127148
646
647         Reviewed by Benjamin Poulain.
648
649         We were incorrectly mapping GL_UNSIGNED_INT_8_8_8_8_REV to
650         GL_RGBA on iOS. It's only used in glReadPixels, so should
651         be GL_UNSIGNED_BYTE.
652
653         This is covered by lots of tests in the Khronos test suite,
654         that now pass on iOS.
655
656         * platform/graphics/ios/GraphicsContext3DIOS.h:
657
658 2014-01-16  Anders Carlsson  <andersca@apple.com>
659
660         Change all uses of FINAL to final now that all our compilers support it
661         https://bugs.webkit.org/show_bug.cgi?id=127142
662
663         Reviewed by Benjamin Poulain.
664
665         * Modules/encryptedmedia/MediaKeySession.h:
666         * Modules/indexeddb/IDBCursorBackendOperations.h:
667         * Modules/indexeddb/IDBDatabase.h:
668         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
669         * Modules/indexeddb/IDBRequest.h:
670         * Modules/indexeddb/IDBTransaction.h:
671         * Modules/indexeddb/IDBTransactionBackendOperations.h:
672         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
673         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
674         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
675         * Modules/mediasource/MediaSource.h:
676         * Modules/mediasource/MediaSourceRegistry.h:
677         * Modules/mediasource/SourceBuffer.h:
678         * Modules/mediasource/SourceBufferList.h:
679         * Modules/mediastream/AudioStreamTrack.h:
680         * Modules/mediastream/MediaStream.h:
681         * Modules/mediastream/MediaStreamRegistry.h:
682         * Modules/mediastream/MediaStreamTrack.h:
683         * Modules/mediastream/RTCDTMFSender.h:
684         * Modules/mediastream/RTCDataChannel.h:
685         * Modules/mediastream/RTCPeerConnection.h:
686         * Modules/mediastream/UserMediaRequest.h:
687         * Modules/mediastream/VideoStreamTrack.h:
688         * Modules/notifications/Notification.h:
689         * Modules/speech/SpeechSynthesisUtterance.h:
690         * Modules/webaudio/AudioContext.h:
691         * Modules/webaudio/AudioNode.h:
692         * Modules/websockets/WebSocket.h:
693         * accessibility/AccessibilityList.h:
694         * accessibility/AccessibilityListBoxOption.h:
695         * accessibility/AccessibilityNodeObject.h:
696         * accessibility/AccessibilitySearchFieldButtons.h:
697         * accessibility/AccessibilitySlider.h:
698         * bindings/js/JSCryptoAlgorithmBuilder.h:
699         * bindings/js/JSCryptoKeySerializationJWK.h:
700         * bindings/js/JSDOMGlobalObjectTask.cpp:
701         * bindings/js/JSDOMGlobalObjectTask.h:
702         * bindings/js/JSLazyEventListener.h:
703         * bindings/js/ScriptDebugServer.h:
704         * bindings/js/WorkerScriptDebugServer.h:
705         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
706         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
707         * crypto/algorithms/CryptoAlgorithmHMAC.h:
708         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
709         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
710         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
711         * crypto/algorithms/CryptoAlgorithmSHA1.h:
712         * crypto/algorithms/CryptoAlgorithmSHA224.h:
713         * crypto/algorithms/CryptoAlgorithmSHA256.h:
714         * crypto/algorithms/CryptoAlgorithmSHA384.h:
715         * crypto/algorithms/CryptoAlgorithmSHA512.h:
716         * crypto/keys/CryptoKeyAES.h:
717         * crypto/keys/CryptoKeyDataOctetSequence.h:
718         * crypto/keys/CryptoKeyDataRSAComponents.h:
719         * crypto/keys/CryptoKeyHMAC.h:
720         * crypto/keys/CryptoKeyRSA.h:
721         * crypto/keys/CryptoKeySerializationRaw.h:
722         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
723         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
724         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
725         * crypto/parameters/CryptoAlgorithmHmacParams.h:
726         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
727         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
728         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
729         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
730         * css/CSSCanvasValue.h:
731         * css/CSSFontSelector.h:
732         * css/CSSStyleSheet.h:
733         * dom/Attr.h:
734         * dom/BeforeUnloadEvent.h:
735         * dom/CDATASection.h:
736         * dom/CharacterData.h:
737         * dom/ChildNodeList.h:
738         * dom/Clipboard.cpp:
739         * dom/Comment.h:
740         * dom/DatasetDOMStringMap.h:
741         * dom/Document.h:
742         * dom/DocumentEventQueue.cpp:
743         * dom/DocumentEventQueue.h:
744         * dom/DocumentType.h:
745         * dom/Element.h:
746         * dom/EntityReference.h:
747         * dom/EventContext.h:
748         * dom/EventTarget.h:
749         * dom/FocusEvent.h:
750         * dom/LiveNodeList.h:
751         * dom/MessagePort.h:
752         * dom/MouseEvent.h:
753         * dom/Node.h:
754         * dom/Notation.h:
755         * dom/ProcessingInstruction.h:
756         * dom/PseudoElement.h:
757         * dom/ShadowRoot.h:
758         * dom/StaticNodeList.h:
759         * dom/StyledElement.h:
760         * dom/TemplateContentDocumentFragment.h:
761         * dom/Text.h:
762         * dom/WebKitNamedFlow.h:
763         * editing/ios/EditorIOS.mm:
764         * editing/mac/EditorMac.mm:
765         * editing/markup.cpp:
766         * fileapi/Blob.cpp:
767         * fileapi/FileReader.h:
768         * html/ClassList.h:
769         * html/DOMSettableTokenList.h:
770         * html/FTPDirectoryDocument.cpp:
771         * html/FormAssociatedElement.cpp:
772         * html/FormAssociatedElement.h:
773         * html/HTMLAllCollection.h:
774         * html/HTMLAnchorElement.h:
775         * html/HTMLAppletElement.h:
776         * html/HTMLAreaElement.h:
777         * html/HTMLAudioElement.h:
778         * html/HTMLBDIElement.h:
779         * html/HTMLBRElement.h:
780         * html/HTMLBaseElement.h:
781         * html/HTMLBaseFontElement.h:
782         * html/HTMLBodyElement.h:
783         * html/HTMLButtonElement.h:
784         * html/HTMLCanvasElement.h:
785         * html/HTMLDListElement.h:
786         * html/HTMLDataListElement.h:
787         * html/HTMLDetailsElement.h:
788         * html/HTMLDirectoryElement.h:
789         * html/HTMLDocument.h:
790         * html/HTMLElement.h:
791         * html/HTMLEmbedElement.h:
792         * html/HTMLFieldSetElement.h:
793         * html/HTMLFontElement.h:
794         * html/HTMLFormControlElement.h:
795         * html/HTMLFormElement.h:
796         * html/HTMLFrameElement.h:
797         * html/HTMLFrameSetElement.h:
798         * html/HTMLHRElement.h:
799         * html/HTMLHeadElement.h:
800         * html/HTMLHeadingElement.h:
801         * html/HTMLHtmlElement.h:
802         * html/HTMLIFrameElement.h:
803         * html/HTMLImageElement.h:
804         * html/HTMLInputElement.h:
805         * html/HTMLKeygenElement.cpp:
806         * html/HTMLKeygenElement.h:
807         * html/HTMLLIElement.h:
808         * html/HTMLLabelElement.h:
809         * html/HTMLLegendElement.h:
810         * html/HTMLLinkElement.h:
811         * html/HTMLMapElement.h:
812         * html/HTMLMarqueeElement.h:
813         * html/HTMLMenuElement.h:
814         * html/HTMLMetaElement.h:
815         * html/HTMLMeterElement.h:
816         * html/HTMLModElement.h:
817         * html/HTMLNameCollection.h:
818         * html/HTMLOListElement.h:
819         * html/HTMLObjectElement.h:
820         * html/HTMLOptGroupElement.h:
821         * html/HTMLOptionElement.h:
822         * html/HTMLOptionsCollection.h:
823         * html/HTMLOutputElement.h:
824         * html/HTMLParagraphElement.h:
825         * html/HTMLParamElement.h:
826         * html/HTMLPlugInElement.h:
827         * html/HTMLPreElement.h:
828         * html/HTMLProgressElement.h:
829         * html/HTMLQuoteElement.h:
830         * html/HTMLScriptElement.h:
831         * html/HTMLSelectElement.h:
832         * html/HTMLSourceElement.h:
833         * html/HTMLStyleElement.h:
834         * html/HTMLSummaryElement.h:
835         * html/HTMLTableCaptionElement.h:
836         * html/HTMLTableCellElement.h:
837         * html/HTMLTableColElement.h:
838         * html/HTMLTableElement.h:
839         * html/HTMLTableRowElement.h:
840         * html/HTMLTableRowsCollection.h:
841         * html/HTMLTableSectionElement.h:
842         * html/HTMLTemplateElement.h:
843         * html/HTMLTextAreaElement.h:
844         * html/HTMLTextFormControlElement.h:
845         * html/HTMLTitleElement.h:
846         * html/HTMLTrackElement.h:
847         * html/HTMLUListElement.h:
848         * html/HTMLUnknownElement.h:
849         * html/HTMLVideoElement.h:
850         * html/HTMLViewSourceDocument.h:
851         * html/ImageDocument.cpp:
852         * html/ImageDocument.h:
853         * html/LabelableElement.h:
854         * html/LabelsNodeList.h:
855         * html/MediaController.h:
856         * html/MediaDocument.cpp:
857         * html/MediaDocument.h:
858         * html/MediaFragmentURIParser.h:
859         * html/PluginDocument.cpp:
860         * html/PluginDocument.h:
861         * html/RangeInputType.h:
862         * html/TextDocument.h:
863         * html/parser/TextDocumentParser.h:
864         * html/parser/TextViewSourceParser.h:
865         * html/shadow/DetailsMarkerControl.h:
866         * html/shadow/MediaControlElementTypes.h:
867         * html/shadow/MediaControlElements.h:
868         * html/shadow/MeterShadowElement.h:
869         * html/shadow/ProgressShadowElement.h:
870         * html/shadow/SliderThumbElement.h:
871         * html/shadow/SpinButtonElement.h:
872         * html/shadow/TextControlInnerElements.h:
873         * html/shadow/YouTubeEmbedShadowElement.h:
874         * html/track/TextTrack.h:
875         * html/track/TextTrackCue.h:
876         * html/track/TextTrackCueGeneric.cpp:
877         * html/track/TextTrackCueGeneric.h:
878         * html/track/TrackListBase.h:
879         * html/track/WebVTTElement.h:
880         * inspector/CommandLineAPIModule.h:
881         * inspector/InjectedScriptCanvasModule.h:
882         * inspector/InspectorConsoleAgent.cpp:
883         * inspector/InspectorController.h:
884         * inspector/InspectorDebuggerAgent.h:
885         * inspector/PageConsoleAgent.cpp:
886         * inspector/PageInjectedScriptHost.h:
887         * inspector/PageInjectedScriptManager.h:
888         * inspector/WorkerInspectorController.h:
889         * loader/SinkDocument.cpp:
890         * loader/SinkDocument.h:
891         * loader/appcache/DOMApplicationCache.h:
892         * loader/cache/CachedCSSStyleSheet.h:
893         * loader/cache/CachedFont.h:
894         * loader/cache/CachedRawResource.h:
895         * loader/cache/CachedSVGDocument.h:
896         * loader/cache/CachedScript.h:
897         * loader/cache/CachedShader.h:
898         * loader/cache/CachedTextTrack.h:
899         * loader/cache/CachedXSLStyleSheet.h:
900         * loader/icon/IconLoader.h:
901         * mathml/MathMLSelectElement.h:
902         * page/DOMTimer.h:
903         * page/DOMWindow.h:
904         * page/EventSource.h:
905         * page/Frame.h:
906         * page/FrameView.h:
907         * page/MainFrame.h:
908         * page/PageDebuggable.h:
909         * page/PageSerializer.cpp:
910         * page/Performance.h:
911         * page/SuspendableTimer.h:
912         * page/animation/KeyframeAnimation.h:
913         * page/scrolling/ScrollingStateFixedNode.h:
914         * page/scrolling/ScrollingStateScrollingNode.h:
915         * page/scrolling/ScrollingStateStickyNode.h:
916         * platform/ClockGeneric.h:
917         * platform/efl/ScrollbarThemeEfl.h:
918         * platform/graphics/BitmapImage.h:
919         * platform/graphics/CrossfadeGeneratedImage.h:
920         * platform/graphics/GradientImage.h:
921         * platform/graphics/SimpleFontData.h:
922         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
923         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
924         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
925         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
926         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
927         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
928         * platform/graphics/ca/mac/PlatformCALayerMac.h:
929         * platform/graphics/ca/win/PlatformCALayerWin.h:
930         * platform/graphics/cg/PDFDocumentImage.h:
931         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
932         * platform/graphics/gstreamer/MediaSourceGStreamer.h:
933         * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
934         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
935         * platform/ios/WebSafeGCActivityCallbackIOS.h:
936         * platform/ios/WebSafeIncrementalSweeperIOS.h:
937         * platform/mac/PlatformClockCA.h:
938         * platform/mac/PlatformClockCM.h:
939         * platform/mac/ScrollAnimatorMac.h:
940         * platform/mediastream/MediaStreamTrackPrivate.h:
941         * platform/mediastream/mac/MediaStreamCenterMac.h:
942         * platform/mock/MockMediaStreamCenter.h:
943         * platform/mock/RTCDataChannelHandlerMock.h:
944         * platform/mock/RTCPeerConnectionHandlerMock.h:
945         * platform/mock/mediasource/MockBox.h:
946         * platform/mock/mediasource/MockMediaSourcePrivate.h:
947         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
948         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
949         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
950         * platform/text/LocaleNone.cpp:
951         * platform/text/PlatformLocale.cpp:
952         * rendering/EllipsisBox.h:
953         * rendering/FilterEffectRenderer.h:
954         * rendering/InlineElementBox.h:
955         * rendering/InlineFlowBox.h:
956         * rendering/InlineTextBox.h:
957         * rendering/RenderBlock.h:
958         * rendering/RenderBlockFlow.h:
959         * rendering/RenderBox.cpp:
960         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
961         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
962         * rendering/RenderBox.h:
963         * rendering/RenderButton.h:
964         * rendering/RenderCombineText.h:
965         * rendering/RenderCounter.h:
966         * rendering/RenderDeprecatedFlexibleBox.h:
967         * rendering/RenderDetailsMarker.h:
968         * rendering/RenderElement.h:
969         * rendering/RenderEmbeddedObject.h:
970         * rendering/RenderFieldset.h:
971         * rendering/RenderFileUploadControl.h:
972         * rendering/RenderFlexibleBox.h:
973         * rendering/RenderFlowThread.h:
974         * rendering/RenderFrame.h:
975         * rendering/RenderFrameSet.h:
976         * rendering/RenderFullScreen.cpp:
977         * rendering/RenderFullScreen.h:
978         * rendering/RenderGrid.h:
979         * rendering/RenderHTMLCanvas.h:
980         * rendering/RenderIFrame.h:
981         * rendering/RenderImage.h:
982         * rendering/RenderInline.h:
983         * rendering/RenderLayer.h:
984         * rendering/RenderLayerFilterInfo.h:
985         * rendering/RenderLineBreak.h:
986         * rendering/RenderListBox.h:
987         * rendering/RenderListItem.h:
988         * rendering/RenderListMarker.h:
989         * rendering/RenderMedia.h:
990         * rendering/RenderMediaControlElements.h:
991         * rendering/RenderMenuList.h:
992         * rendering/RenderMeter.h:
993         * rendering/RenderMultiColumnBlock.h:
994         * rendering/RenderMultiColumnFlowThread.h:
995         * rendering/RenderMultiColumnSet.h:
996         * rendering/RenderNamedFlowFragment.h:
997         * rendering/RenderNamedFlowThread.h:
998         * rendering/RenderProgress.h:
999         * rendering/RenderQuote.h:
1000         * rendering/RenderRegion.h:
1001         * rendering/RenderRegionSet.h:
1002         * rendering/RenderReplaced.h:
1003         * rendering/RenderReplica.h:
1004         * rendering/RenderRuby.h:
1005         * rendering/RenderRubyBase.h:
1006         * rendering/RenderRubyRun.h:
1007         * rendering/RenderRubyText.h:
1008         * rendering/RenderScrollbar.h:
1009         * rendering/RenderScrollbarPart.h:
1010         * rendering/RenderSearchField.h:
1011         * rendering/RenderSlider.h:
1012         * rendering/RenderSnapshottedPlugIn.h:
1013         * rendering/RenderTable.h:
1014         * rendering/RenderTableCaption.h:
1015         * rendering/RenderTableCell.h:
1016         * rendering/RenderTableCol.h:
1017         * rendering/RenderTableRow.h:
1018         * rendering/RenderTableSection.h:
1019         * rendering/RenderText.h:
1020         * rendering/RenderTextControl.h:
1021         * rendering/RenderTextControlMultiLine.h:
1022         * rendering/RenderTextControlSingleLine.h:
1023         * rendering/RenderTextFragment.h:
1024         * rendering/RenderTextTrackCue.h:
1025         * rendering/RenderVideo.h:
1026         * rendering/RenderView.h:
1027         * rendering/RenderWidget.h:
1028         * rendering/RootInlineBox.h:
1029         * rendering/TrailingFloatsRootInlineBox.h:
1030         * rendering/mathml/RenderMathMLBlock.h:
1031         * rendering/mathml/RenderMathMLFenced.h:
1032         * rendering/mathml/RenderMathMLFraction.h:
1033         * rendering/mathml/RenderMathMLMath.h:
1034         * rendering/mathml/RenderMathMLOperator.h:
1035         * rendering/mathml/RenderMathMLRoot.h:
1036         * rendering/mathml/RenderMathMLRow.h:
1037         * rendering/mathml/RenderMathMLScripts.h:
1038         * rendering/mathml/RenderMathMLSpace.h:
1039         * rendering/mathml/RenderMathMLSquareRoot.h:
1040         * rendering/shapes/ShapeInsideInfo.h:
1041         * rendering/shapes/ShapeOutsideInfo.h:
1042         * rendering/style/ContentData.h:
1043         * rendering/style/StyleCachedImage.h:
1044         * rendering/style/StyleCachedImageSet.h:
1045         * rendering/style/StyleGeneratedImage.h:
1046         * rendering/svg/RenderSVGBlock.h:
1047         * rendering/svg/RenderSVGContainer.h:
1048         * rendering/svg/RenderSVGEllipse.h:
1049         * rendering/svg/RenderSVGForeignObject.h:
1050         * rendering/svg/RenderSVGGradientStop.h:
1051         * rendering/svg/RenderSVGHiddenContainer.h:
1052         * rendering/svg/RenderSVGImage.h:
1053         * rendering/svg/RenderSVGInline.h:
1054         * rendering/svg/RenderSVGInlineText.h:
1055         * rendering/svg/RenderSVGModelObject.h:
1056         * rendering/svg/RenderSVGPath.h:
1057         * rendering/svg/RenderSVGRect.h:
1058         * rendering/svg/RenderSVGResourceClipper.h:
1059         * rendering/svg/RenderSVGResourceContainer.h:
1060         * rendering/svg/RenderSVGResourceFilter.h:
1061         * rendering/svg/RenderSVGResourceFilterPrimitive.h:
1062         * rendering/svg/RenderSVGResourceGradient.h:
1063         * rendering/svg/RenderSVGResourceLinearGradient.h:
1064         * rendering/svg/RenderSVGResourceMarker.h:
1065         * rendering/svg/RenderSVGResourceMasker.h:
1066         * rendering/svg/RenderSVGResourcePattern.h:
1067         * rendering/svg/RenderSVGResourceRadialGradient.h:
1068         * rendering/svg/RenderSVGRoot.h:
1069         * rendering/svg/RenderSVGShape.cpp:
1070         * rendering/svg/RenderSVGShape.h:
1071         * rendering/svg/RenderSVGTSpan.h:
1072         * rendering/svg/RenderSVGText.h:
1073         * rendering/svg/RenderSVGTextPath.h:
1074         * rendering/svg/RenderSVGTransformableContainer.h:
1075         * rendering/svg/RenderSVGViewportContainer.h:
1076         * rendering/svg/SVGInlineFlowBox.h:
1077         * rendering/svg/SVGInlineTextBox.h:
1078         * rendering/svg/SVGRootInlineBox.h:
1079         * rendering/svg/SVGTextRunRenderingContext.h:
1080         * svg/SVGAElement.h:
1081         * svg/SVGAltGlyphDefElement.h:
1082         * svg/SVGAltGlyphElement.h:
1083         * svg/SVGAltGlyphItemElement.h:
1084         * svg/SVGAnimateColorElement.h:
1085         * svg/SVGAnimateMotionElement.h:
1086         * svg/SVGAnimateTransformElement.h:
1087         * svg/SVGAnimatedAngle.h:
1088         * svg/SVGAnimatedBoolean.h:
1089         * svg/SVGAnimatedColor.h:
1090         * svg/SVGAnimatedEnumeration.h:
1091         * svg/SVGAnimatedInteger.h:
1092         * svg/SVGAnimatedIntegerOptionalInteger.h:
1093         * svg/SVGAnimatedLength.h:
1094         * svg/SVGAnimatedLengthList.h:
1095         * svg/SVGAnimatedNumber.h:
1096         * svg/SVGAnimatedNumberList.h:
1097         * svg/SVGAnimatedNumberOptionalNumber.h:
1098         * svg/SVGAnimatedPath.h:
1099         * svg/SVGAnimatedPointList.h:
1100         * svg/SVGAnimatedPreserveAspectRatio.h:
1101         * svg/SVGAnimatedRect.h:
1102         * svg/SVGAnimatedString.h:
1103         * svg/SVGAnimatedTransformList.h:
1104         * svg/SVGCircleElement.h:
1105         * svg/SVGClipPathElement.h:
1106         * svg/SVGCursorElement.h:
1107         * svg/SVGDefsElement.h:
1108         * svg/SVGDescElement.h:
1109         * svg/SVGDocument.h:
1110         * svg/SVGElement.h:
1111         * svg/SVGEllipseElement.h:
1112         * svg/SVGFEBlendElement.h:
1113         * svg/SVGFEColorMatrixElement.h:
1114         * svg/SVGFEComponentTransferElement.h:
1115         * svg/SVGFECompositeElement.h:
1116         * svg/SVGFEConvolveMatrixElement.h:
1117         * svg/SVGFEDiffuseLightingElement.h:
1118         * svg/SVGFEDisplacementMapElement.h:
1119         * svg/SVGFEDistantLightElement.h:
1120         * svg/SVGFEDropShadowElement.h:
1121         * svg/SVGFEFloodElement.h:
1122         * svg/SVGFEFuncAElement.h:
1123         * svg/SVGFEFuncBElement.h:
1124         * svg/SVGFEFuncGElement.h:
1125         * svg/SVGFEFuncRElement.h:
1126         * svg/SVGFEGaussianBlurElement.h:
1127         * svg/SVGFEImageElement.h:
1128         * svg/SVGFEMergeElement.h:
1129         * svg/SVGFEMergeNodeElement.h:
1130         * svg/SVGFEMorphologyElement.h:
1131         * svg/SVGFEOffsetElement.h:
1132         * svg/SVGFEPointLightElement.h:
1133         * svg/SVGFESpecularLightingElement.h:
1134         * svg/SVGFESpotLightElement.h:
1135         * svg/SVGFETileElement.h:
1136         * svg/SVGFETurbulenceElement.h:
1137         * svg/SVGFilterElement.h:
1138         * svg/SVGFontElement.h:
1139         * svg/SVGFontFaceElement.h:
1140         * svg/SVGFontFaceFormatElement.h:
1141         * svg/SVGFontFaceNameElement.h:
1142         * svg/SVGFontFaceSrcElement.h:
1143         * svg/SVGFontFaceUriElement.h:
1144         * svg/SVGForeignObjectElement.h:
1145         * svg/SVGGElement.h:
1146         * svg/SVGGlyphElement.h:
1147         * svg/SVGGlyphRefElement.h:
1148         * svg/SVGHKernElement.h:
1149         * svg/SVGImageElement.h:
1150         * svg/SVGLineElement.h:
1151         * svg/SVGLinearGradientElement.h:
1152         * svg/SVGMPathElement.h:
1153         * svg/SVGMarkerElement.h:
1154         * svg/SVGMaskElement.h:
1155         * svg/SVGMetadataElement.h:
1156         * svg/SVGMissingGlyphElement.h:
1157         * svg/SVGPathElement.h:
1158         * svg/SVGPathStringBuilder.h:
1159         * svg/SVGPatternElement.h:
1160         * svg/SVGPolygonElement.h:
1161         * svg/SVGPolylineElement.h:
1162         * svg/SVGRadialGradientElement.h:
1163         * svg/SVGRectElement.h:
1164         * svg/SVGSVGElement.h:
1165         * svg/SVGScriptElement.h:
1166         * svg/SVGSetElement.h:
1167         * svg/SVGStopElement.h:
1168         * svg/SVGStyleElement.h:
1169         * svg/SVGSwitchElement.h:
1170         * svg/SVGSymbolElement.h:
1171         * svg/SVGTRefElement.h:
1172         * svg/SVGTSpanElement.h:
1173         * svg/SVGTextContentElement.h:
1174         * svg/SVGTextElement.h:
1175         * svg/SVGTextPathElement.h:
1176         * svg/SVGTitleElement.h:
1177         * svg/SVGUnknownElement.h:
1178         * svg/SVGUseElement.h:
1179         * svg/SVGVKernElement.h:
1180         * svg/SVGViewElement.h:
1181         * svg/animation/SVGSMILElement.h:
1182         * svg/graphics/SVGImage.h:
1183         * svg/graphics/SVGImageForContainer.h:
1184         * svg/graphics/filters/SVGFilter.h:
1185         * workers/AbstractWorker.h:
1186         * workers/SharedWorker.h:
1187         * workers/Worker.h:
1188         * workers/WorkerEventQueue.cpp:
1189         * workers/WorkerEventQueue.h:
1190         * workers/WorkerGlobalScope.h:
1191         * xml/XMLHttpRequest.h:
1192         * xml/XMLHttpRequestUpload.h:
1193         * xml/XPathFunctions.cpp:
1194         * xml/XPathPath.h:
1195         * xml/XPathPredicate.h:
1196         * xml/XSLStyleSheet.h:
1197
1198 2014-01-15  Myles C. Maxfield  <mmaxfield@apple.com>
1199
1200         Draw all underline segments in a particular run in the same call
1201         https://bugs.webkit.org/show_bug.cgi?id=127082
1202
1203         Reviewed by Simon Fraser.
1204
1205         Instead of running CGContextFillRect() in a loop, we can instead call CGContextFillRects()
1206
1207         In my tests, this seems to have about 0.5% speedup.
1208
1209         This patch creates some redundant code, but I think that refactoring would make the code
1210         much less readable. I also am hesitant to make drawLineForText call drawLinesForText because
1211         of the overhead of the vector that would be needed.
1212
1213         As there is no behavior change, no new tests are necessary
1214
1215         * platform/graphics/GraphicsContext.h:
1216         * platform/graphics/cairo/GraphicsContextCairo.cpp:
1217         (WebCore::GraphicsContext::drawLinesForText):
1218         * platform/graphics/cg/GraphicsContextCG.cpp:
1219         (WebCore::GraphicsContext::platformInit):
1220         * platform/graphics/wince/GraphicsContextWinCE.cpp:
1221         (WebCore::GraphicsContext::drawLinesForText):
1222         * rendering/InlineTextBox.cpp:
1223         (WebCore::drawSkipInkUnderline):
1224
1225 2014-01-16  Brady Eidson  <beidson@apple.com>
1226
1227         Use KeyedCoding as a persistent storage mechanism for blobs
1228         https://bugs.webkit.org/show_bug.cgi?id=127012
1229
1230         Reviewed by Anders Carlsson.
1231
1232         Add basic KeyedDecoder interface that is the inverse of KeyedEncoder:
1233         * platform/KeyedCoding.h:
1234         (WebCore::KeyedDecoder::decodeVerifiedEnum):
1235         (WebCore::KeyedDecoder::decodeObject):
1236         (WebCore::KeyedDecoder::decodeObjects):
1237
1238         Use KeyedEncoder/Decoder to encode/decode IDBKeyPath:
1239         * Modules/indexeddb/IDBKeyPath.cpp:
1240         (WebCore::IDBKeyPath::encode):
1241         (WebCore::IDBKeyPath::decode):
1242         * Modules/indexeddb/IDBKeyPath.h:
1243
1244         * WebCore.exp.in:
1245
1246 2014-01-16  Eric Carlson  <eric.carlson@apple.com>
1247
1248         Allow MediaSessionManager to restrict inline <video> playback
1249         https://bugs.webkit.org/show_bug.cgi?id=127113
1250
1251         Reviewed by Jer Noble.
1252
1253         Test: media/video-fullscreeen-only-playback.html
1254
1255         * html/HTMLMediaElement.cpp:
1256         (WebCore::HTMLMediaElement::updatePlayState): Drive-by change to not tell the media session that
1257             playback is starting if the media player is already playing. Enter fullscreen if the media
1258             session says it is required.
1259
1260         * html/HTMLMediaSession.cpp:
1261         (WebCore::HTMLMediaSession::clientWillBeginPlayback): Make it const.
1262         (WebCore::HTMLMediaSession::requiresFullscreenForVideoPlayback): New, see if the specified
1263             media element must be played in fullscreen based on the media session settings, document
1264             settings, and attributes.
1265         * html/HTMLMediaSession.h:
1266
1267         * platform/audio/MediaSession.h: pauseSession shouldn't be virtual.
1268
1269         * platform/audio/MediaSessionManager.cpp:
1270         (WebCore::MediaSessionManager::sessionWillBeginPlayback): Return immediately if ConcurrentPlaybackNotPermitted
1271             is not set.
1272         (WebCore::MediaSessionManager::sessionRestrictsInlineVideoPlayback): New.
1273         * platform/audio/MediaSessionManager.h:
1274
1275         * platform/audio/ios/MediaSessionManagerIOS.mm:
1276         (WebCore::MediaSessionManageriOS::MediaSessionManageriOS): Set InlineVideoPlaybackRestricted if
1277             running on an iPhone or iPod class device.
1278
1279         * testing/Internals.cpp:
1280         (WebCore::Internals::setMediaSessionRestrictions): Support InlineVideoPlaybackRestricted.
1281
1282 2014-01-16  Roger Fong  <roger_fong@apple.com>
1283
1284         Add support for handling WebGL load policies.
1285         https://bugs.webkit.org/show_bug.cgi?id=126935
1286         <rdar://problem/15790448>.
1287
1288         Reviewed by Timothy Horton.
1289
1290         Rename webGLPolicyForSite to webGLPolicyForURL.
1291
1292         * html/HTMLCanvasElement.cpp:
1293         (WebCore::HTMLCanvasElement::getContext):
1294         * loader/FrameLoaderClient.h:
1295         (WebCore::FrameLoaderClient::webGLPolicyForURL):
1296
1297 2014-01-16  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1298
1299         Guarding HTMLMediaSession with ENABLE(VIDEO)
1300         https://bugs.webkit.org/show_bug.cgi?id=127126
1301
1302         Reviewed by Eric Carlson.
1303
1304         No new tests needed.
1305
1306         * html/HTMLMediaSession.cpp:
1307         * html/HTMLMediaSession.h:
1308
1309 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
1310
1311         Remove workaround for compilers not supporting explicit override control
1312         https://bugs.webkit.org/show_bug.cgi?id=127111
1313
1314         Reviewed by Anders Carlsson.
1315
1316         Now all compilers support explicit override control, this workaround can be removed.
1317
1318         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
1319         * Modules/encryptedmedia/CDMPrivateAVFoundation.h:
1320         * Modules/encryptedmedia/CDMPrivateAVFoundation.mm:
1321         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
1322         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
1323         * Modules/encryptedmedia/MediaKeySession.h:
1324         * Modules/encryptedmedia/MediaKeys.h:
1325         * Modules/geolocation/Geolocation.h:
1326         * Modules/indexeddb/DOMWindowIndexedDatabase.h:
1327         * Modules/indexeddb/IDBCursorBackendOperations.h:
1328         * Modules/indexeddb/IDBCursorWithValue.h:
1329         * Modules/indexeddb/IDBDatabase.h:
1330         * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
1331         * Modules/indexeddb/IDBOpenDBRequest.h:
1332         * Modules/indexeddb/IDBRequest.h:
1333         * Modules/indexeddb/IDBTransaction.h:
1334         * Modules/indexeddb/IDBTransactionBackendOperations.h:
1335         * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
1336         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
1337         * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
1338         * Modules/indieui/UIRequestEvent.h:
1339         * Modules/mediasource/MediaSource.h:
1340         * Modules/mediasource/MediaSourceRegistry.h:
1341         * Modules/mediasource/SourceBuffer.h:
1342         * Modules/mediasource/SourceBufferList.h:
1343         * Modules/mediastream/AudioStreamTrack.h:
1344         * Modules/mediastream/MediaConstraintsImpl.h:
1345         * Modules/mediastream/MediaStream.h:
1346         * Modules/mediastream/MediaStreamRegistry.h:
1347         * Modules/mediastream/MediaStreamTrack.h:
1348         * Modules/mediastream/MediaStreamTrackEvent.h:
1349         * Modules/mediastream/MediaStreamTrackSourcesRequest.h:
1350         * Modules/mediastream/RTCDTMFSender.h:
1351         * Modules/mediastream/RTCDataChannel.h:
1352         * Modules/mediastream/RTCPeerConnection.h:
1353         * Modules/mediastream/RTCSessionDescriptionRequestImpl.h:
1354         * Modules/mediastream/RTCStatsRequestImpl.h:
1355         * Modules/mediastream/RTCStatsResponse.h:
1356         * Modules/mediastream/RTCVoidRequestImpl.h:
1357         * Modules/mediastream/UserMediaRequest.h:
1358         * Modules/mediastream/VideoStreamTrack.h:
1359         * Modules/networkinfo/NetworkInfoConnection.h:
1360         * Modules/notifications/DOMWindowNotifications.h:
1361         * Modules/notifications/Notification.h:
1362         * Modules/notifications/NotificationCenter.h:
1363         * Modules/plugins/QuickTimePluginReplacement.h:
1364         * Modules/speech/SpeechRecognition.h:
1365         * Modules/speech/SpeechRecognitionError.h:
1366         * Modules/speech/SpeechRecognitionEvent.h:
1367         * Modules/speech/SpeechSynthesis.h:
1368         * Modules/speech/SpeechSynthesisUtterance.h:
1369         * Modules/webaudio/AnalyserNode.h:
1370         * Modules/webaudio/AudioBasicInspectorNode.h:
1371         * Modules/webaudio/AudioBasicProcessorNode.h:
1372         * Modules/webaudio/AudioBufferSourceNode.h:
1373         * Modules/webaudio/AudioContext.h:
1374         * Modules/webaudio/AudioDestinationNode.h:
1375         * Modules/webaudio/AudioNode.h:
1376         * Modules/webaudio/AudioNodeInput.h:
1377         * Modules/webaudio/AudioParam.h:
1378         * Modules/webaudio/AudioProcessingEvent.h:
1379         * Modules/webaudio/BiquadDSPKernel.h:
1380         * Modules/webaudio/BiquadProcessor.h:
1381         * Modules/webaudio/ChannelMergerNode.h:
1382         * Modules/webaudio/ChannelSplitterNode.h:
1383         * Modules/webaudio/ConvolverNode.h:
1384         * Modules/webaudio/DefaultAudioDestinationNode.h:
1385         * Modules/webaudio/DelayDSPKernel.h:
1386         * Modules/webaudio/DelayProcessor.h:
1387         * Modules/webaudio/DynamicsCompressorNode.h:
1388         * Modules/webaudio/GainNode.h:
1389         * Modules/webaudio/MediaElementAudioSourceNode.h:
1390         * Modules/webaudio/MediaStreamAudioDestinationNode.h:
1391         * Modules/webaudio/MediaStreamAudioSourceNode.h:
1392         * Modules/webaudio/OfflineAudioCompletionEvent.h:
1393         * Modules/webaudio/OfflineAudioDestinationNode.h:
1394         * Modules/webaudio/OscillatorNode.h:
1395         * Modules/webaudio/PannerNode.h:
1396         * Modules/webaudio/ScriptProcessorNode.h:
1397         * Modules/webaudio/WaveShaperDSPKernel.h:
1398         * Modules/webaudio/WaveShaperProcessor.h:
1399         * Modules/webdatabase/DatabaseTask.h:
1400         * Modules/webdatabase/SQLTransaction.h:
1401         * Modules/webdatabase/SQLTransactionBackend.h:
1402         * Modules/websockets/CloseEvent.h:
1403         * Modules/websockets/WebSocket.h:
1404         * Modules/websockets/WebSocketChannel.h:
1405         * Modules/websockets/WebSocketDeflateFramer.cpp:
1406         * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
1407         * Modules/websockets/WorkerThreadableWebSocketChannel.h:
1408         * accessibility/AccessibilityARIAGrid.h:
1409         * accessibility/AccessibilityARIAGridCell.h:
1410         * accessibility/AccessibilityARIAGridRow.h:
1411         * accessibility/AccessibilityImageMapLink.h:
1412         * accessibility/AccessibilityList.h:
1413         * accessibility/AccessibilityListBox.h:
1414         * accessibility/AccessibilityListBoxOption.h:
1415         * accessibility/AccessibilityMediaControls.h:
1416         * accessibility/AccessibilityMenuList.h:
1417         * accessibility/AccessibilityMenuListOption.h:
1418         * accessibility/AccessibilityMenuListPopup.h:
1419         * accessibility/AccessibilityMockObject.h:
1420         * accessibility/AccessibilityNodeObject.h:
1421         * accessibility/AccessibilityProgressIndicator.h:
1422         * accessibility/AccessibilityRenderObject.h:
1423         * accessibility/AccessibilitySVGRoot.h:
1424         * accessibility/AccessibilityScrollView.h:
1425         * accessibility/AccessibilityScrollbar.h:
1426         * accessibility/AccessibilitySearchFieldButtons.h:
1427         * accessibility/AccessibilitySlider.h:
1428         * accessibility/AccessibilitySpinButton.h:
1429         * accessibility/AccessibilityTable.h:
1430         * accessibility/AccessibilityTableCell.h:
1431         * accessibility/AccessibilityTableColumn.h:
1432         * accessibility/AccessibilityTableHeaderContainer.h:
1433         * accessibility/AccessibilityTableRow.h:
1434         * bindings/js/JSCryptoAlgorithmBuilder.h:
1435         * bindings/js/JSCryptoKeySerializationJWK.h:
1436         * bindings/js/JSDOMGlobalObjectTask.h:
1437         * bindings/js/JSEventListener.h:
1438         * bindings/js/JSLazyEventListener.h:
1439         * bindings/js/JSMutationCallback.h:
1440         * bindings/js/PageScriptDebugServer.h:
1441         * bindings/js/ScriptDebugServer.h:
1442         * bindings/js/WebCoreTypedArrayController.h:
1443         * bindings/js/WorkerScriptDebugServer.h:
1444         * bridge/c/c_class.h:
1445         * bridge/c/c_instance.h:
1446         * bridge/c/c_runtime.h:
1447         * bridge/runtime_root.h:
1448         * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
1449         * crypto/algorithms/CryptoAlgorithmAES_KW.h:
1450         * crypto/algorithms/CryptoAlgorithmHMAC.h:
1451         * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
1452         * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
1453         * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
1454         * crypto/algorithms/CryptoAlgorithmSHA1.h:
1455         * crypto/algorithms/CryptoAlgorithmSHA224.h:
1456         * crypto/algorithms/CryptoAlgorithmSHA256.h:
1457         * crypto/algorithms/CryptoAlgorithmSHA384.h:
1458         * crypto/algorithms/CryptoAlgorithmSHA512.h:
1459         * crypto/keys/CryptoKeyAES.h:
1460         * crypto/keys/CryptoKeyHMAC.h:
1461         * crypto/keys/CryptoKeyRSA.h:
1462         * crypto/keys/CryptoKeySerializationRaw.h:
1463         * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
1464         * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
1465         * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
1466         * crypto/parameters/CryptoAlgorithmHmacParams.h:
1467         * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
1468         * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
1469         * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
1470         * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
1471         * css/CSSBasicShapes.h:
1472         * css/CSSCanvasValue.h:
1473         * css/CSSCharsetRule.h:
1474         * css/CSSComputedStyleDeclaration.h:
1475         * css/CSSCrossfadeValue.h:
1476         * css/CSSFilterImageValue.h:
1477         * css/CSSFontFaceRule.h:
1478         * css/CSSFontSelector.h:
1479         * css/CSSGroupingRule.h:
1480         * css/CSSHostRule.h:
1481         * css/CSSImportRule.h:
1482         * css/CSSMediaRule.h:
1483         * css/CSSPageRule.h:
1484         * css/CSSStyleRule.h:
1485         * css/CSSStyleSheet.h:
1486         * css/CSSSupportsRule.h:
1487         * css/CSSUnknownRule.h:
1488         * css/FontLoader.cpp:
1489         * css/FontLoader.h:
1490         * css/PropertySetCSSStyleDeclaration.h:
1491         * css/WebKitCSSFilterRule.h:
1492         * css/WebKitCSSKeyframeRule.h:
1493         * css/WebKitCSSKeyframesRule.h:
1494         * css/WebKitCSSRegionRule.h:
1495         * css/WebKitCSSViewportRule.h:
1496         * dom/Attr.h:
1497         * dom/BeforeTextInsertedEvent.h:
1498         * dom/BeforeUnloadEvent.h:
1499         * dom/CDATASection.h:
1500         * dom/CharacterData.h:
1501         * dom/ChildNodeList.h:
1502         * dom/Clipboard.cpp:
1503         * dom/ClipboardEvent.h:
1504         * dom/ContainerNode.h:
1505         * dom/DOMImplementation.cpp:
1506         * dom/DatasetDOMStringMap.h:
1507         * dom/DeviceMotionController.h:
1508         * dom/DeviceOrientationController.h:
1509         * dom/Document.h:
1510         * dom/DocumentEventQueue.cpp:
1511         * dom/DocumentEventQueue.h:
1512         * dom/DocumentFragment.h:
1513         * dom/Element.h:
1514         * dom/ErrorEvent.h:
1515         * dom/EventContext.h:
1516         * dom/EventTarget.h:
1517         * dom/FocusEvent.h:
1518         * dom/KeyboardEvent.h:
1519         * dom/LiveNodeList.h:
1520         * dom/MessagePort.h:
1521         * dom/MouseEvent.h:
1522         * dom/MutationRecord.cpp:
1523         * dom/Node.h:
1524         * dom/PageTransitionEvent.h:
1525         * dom/ProcessingInstruction.h:
1526         * dom/ProgressEvent.h:
1527         * dom/PseudoElement.h:
1528         * dom/ScriptExecutionContext.h:
1529         * dom/ShadowRoot.h:
1530         * dom/StaticNodeList.h:
1531         * dom/StyledElement.h:
1532         * dom/TagNodeList.h:
1533         * dom/TemplateContentDocumentFragment.h:
1534         * dom/Text.h:
1535         * dom/TextEvent.h:
1536         * dom/TouchEvent.h:
1537         * dom/TransitionEvent.h:
1538         * dom/UIEvent.h:
1539         * dom/WebKitAnimationEvent.h:
1540         * dom/WebKitNamedFlow.h:
1541         * dom/WebKitTransitionEvent.h:
1542         * editing/AppendNodeCommand.h:
1543         * editing/ApplyBlockElementCommand.h:
1544         * editing/ApplyStyleCommand.h:
1545         * editing/BreakBlockquoteCommand.h:
1546         * editing/CompositeEditCommand.h:
1547         * editing/DeleteButton.h:
1548         * editing/DeleteFromTextNodeCommand.h:
1549         * editing/EditCommand.h:
1550         * editing/InsertIntoTextNodeCommand.h:
1551         * editing/InsertNodeBeforeCommand.h:
1552         * editing/InsertTextCommand.h:
1553         * editing/MergeIdenticalElementsCommand.h:
1554         * editing/RemoveCSSPropertyCommand.h:
1555         * editing/RemoveNodeCommand.h:
1556         * editing/ReplaceNodeWithSpanCommand.h:
1557         * editing/SetNodeAttributeCommand.h:
1558         * editing/SetSelectionCommand.h:
1559         * editing/SpellChecker.h:
1560         * editing/SpellingCorrectionCommand.cpp:
1561         * editing/SpellingCorrectionCommand.h:
1562         * editing/SplitElementCommand.h:
1563         * editing/SplitTextNodeCommand.h:
1564         * editing/WrapContentsInDummySpanCommand.h:
1565         * editing/ios/EditorIOS.mm:
1566         * editing/markup.cpp:
1567         * fileapi/Blob.cpp:
1568         * fileapi/Blob.h:
1569         * fileapi/File.h:
1570         * fileapi/FileReader.h:
1571         * fileapi/FileThreadTask.h:
1572         * history/BackForwardList.h:
1573         * html/BaseButtonInputType.h:
1574         * html/BaseCheckableInputType.h:
1575         * html/BaseChooserOnlyDateAndTimeInputType.h:
1576         * html/BaseClickableWithKeyInputType.h:
1577         * html/BaseDateAndTimeInputType.h:
1578         * html/BaseTextInputType.h:
1579         * html/ButtonInputType.h:
1580         * html/CheckboxInputType.h:
1581         * html/ClassList.h:
1582         * html/ColorInputType.h:
1583         * html/DOMSettableTokenList.h:
1584         * html/DateInputType.h:
1585         * html/DateTimeInputType.h:
1586         * html/DateTimeLocalInputType.h:
1587         * html/EmailInputType.h:
1588         * html/FTPDirectoryDocument.cpp:
1589         * html/FileInputType.h:
1590         * html/FormAssociatedElement.cpp:
1591         * html/FormAssociatedElement.h:
1592         * html/HTMLAnchorElement.h:
1593         * html/HTMLAppletElement.h:
1594         * html/HTMLAreaElement.h:
1595         * html/HTMLBRElement.h:
1596         * html/HTMLBaseElement.h:
1597         * html/HTMLBodyElement.h:
1598         * html/HTMLButtonElement.h:
1599         * html/HTMLCanvasElement.h:
1600         * html/HTMLDetailsElement.cpp:
1601         * html/HTMLDetailsElement.h:
1602         * html/HTMLDivElement.h:
1603         * html/HTMLDocument.h:
1604         * html/HTMLElement.h:
1605         * html/HTMLEmbedElement.h:
1606         * html/HTMLFieldSetElement.h:
1607         * html/HTMLFontElement.h:
1608         * html/HTMLFormControlElement.h:
1609         * html/HTMLFormControlElementWithState.h:
1610         * html/HTMLFormControlsCollection.h:
1611         * html/HTMLFormElement.h:
1612         * html/HTMLFrameElement.h:
1613         * html/HTMLFrameElementBase.h:
1614         * html/HTMLFrameOwnerElement.h:
1615         * html/HTMLFrameSetElement.h:
1616         * html/HTMLHRElement.h:
1617         * html/HTMLHtmlElement.h:
1618         * html/HTMLIFrameElement.h:
1619         * html/HTMLImageElement.h:
1620         * html/HTMLImageLoader.h:
1621         * html/HTMLInputElement.cpp:
1622         * html/HTMLInputElement.h:
1623         * html/HTMLKeygenElement.h:
1624         * html/HTMLLIElement.h:
1625         * html/HTMLLabelElement.h:
1626         * html/HTMLLegendElement.h:
1627         * html/HTMLLinkElement.h:
1628         * html/HTMLMapElement.h:
1629         * html/HTMLMarqueeElement.h:
1630         * html/HTMLMediaElement.h:
1631         * html/HTMLMediaSession.h:
1632         * html/HTMLMediaSource.h:
1633         * html/HTMLMetaElement.h:
1634         * html/HTMLMeterElement.h:
1635         * html/HTMLModElement.h:
1636         * html/HTMLOListElement.h:
1637         * html/HTMLObjectElement.h:
1638         * html/HTMLOptGroupElement.h:
1639         * html/HTMLOptionElement.h:
1640         * html/HTMLOutputElement.h:
1641         * html/HTMLParagraphElement.h:
1642         * html/HTMLParamElement.h:
1643         * html/HTMLPlugInElement.h:
1644         * html/HTMLPlugInImageElement.h:
1645         * html/HTMLPreElement.h:
1646         * html/HTMLProgressElement.h:
1647         * html/HTMLQuoteElement.h:
1648         * html/HTMLScriptElement.h:
1649         * html/HTMLSelectElement.h:
1650         * html/HTMLSourceElement.h:
1651         * html/HTMLStyleElement.h:
1652         * html/HTMLSummaryElement.h:
1653         * html/HTMLTableCaptionElement.h:
1654         * html/HTMLTableCellElement.h:
1655         * html/HTMLTableColElement.h:
1656         * html/HTMLTableElement.h:
1657         * html/HTMLTablePartElement.h:
1658         * html/HTMLTableRowsCollection.h:
1659         * html/HTMLTableSectionElement.h:
1660         * html/HTMLTemplateElement.h:
1661         * html/HTMLTextAreaElement.h:
1662         * html/HTMLTextFormControlElement.h:
1663         * html/HTMLTitleElement.h:
1664         * html/HTMLTrackElement.h:
1665         * html/HTMLUListElement.h:
1666         * html/HTMLUnknownElement.h:
1667         * html/HTMLVideoElement.h:
1668         * html/HiddenInputType.h:
1669         * html/ImageDocument.cpp:
1670         * html/ImageInputType.h:
1671         * html/LabelableElement.h:
1672         * html/LabelsNodeList.h:
1673         * html/MediaController.h:
1674         * html/MonthInputType.h:
1675         * html/NumberInputType.h:
1676         * html/PasswordInputType.h:
1677         * html/PluginDocument.h:
1678         * html/RadioInputType.h:
1679         * html/RangeInputType.h:
1680         * html/ResetInputType.h:
1681         * html/SearchInputType.h:
1682         * html/SubmitInputType.h:
1683         * html/TelephoneInputType.h:
1684         * html/TextFieldInputType.h:
1685         * html/TextInputType.h:
1686         * html/TimeInputType.h:
1687         * html/URLInputType.h:
1688         * html/WeekInputType.h:
1689         * html/canvas/CanvasRenderingContext2D.cpp:
1690         * html/canvas/CanvasRenderingContext2D.h:
1691         * html/canvas/WebGLRenderingContext.h:
1692         * html/parser/HTMLDocumentParser.h:
1693         * html/parser/TextDocumentParser.h:
1694         * html/shadow/DetailsMarkerControl.h:
1695         * html/shadow/InsertionPoint.h:
1696         * html/shadow/MediaControlElementTypes.h:
1697         * html/shadow/MediaControlElements.h:
1698         * html/shadow/MediaControls.h:
1699         * html/shadow/MediaControlsApple.h:
1700         * html/shadow/MediaControlsGtk.h:
1701         * html/shadow/MeterShadowElement.h:
1702         * html/shadow/ProgressShadowElement.h:
1703         * html/shadow/SliderThumbElement.cpp:
1704         * html/shadow/SliderThumbElement.h:
1705         * html/shadow/SpinButtonElement.h:
1706         * html/shadow/TextControlInnerElements.h:
1707         * html/shadow/YouTubeEmbedShadowElement.h:
1708         * html/track/AudioTrack.h:
1709         * html/track/AudioTrackList.h:
1710         * html/track/InbandGenericTextTrack.h:
1711         * html/track/InbandTextTrack.h:
1712         * html/track/InbandWebVTTTextTrack.h:
1713         * html/track/LoadableTextTrack.h:
1714         * html/track/TextTrack.h:
1715         * html/track/TextTrackCue.h:
1716         * html/track/TextTrackCueGeneric.cpp:
1717         * html/track/TextTrackCueGeneric.h:
1718         * html/track/TextTrackList.h:
1719         * html/track/TrackListBase.h:
1720         * html/track/VideoTrack.h:
1721         * html/track/VideoTrackList.h:
1722         * html/track/WebVTTElement.h:
1723         * inspector/CommandLineAPIModule.h:
1724         * inspector/InjectedScriptCanvasModule.h:
1725         * inspector/InspectorApplicationCacheAgent.h:
1726         * inspector/InspectorCSSAgent.h:
1727         * inspector/InspectorCanvasAgent.h:
1728         * inspector/InspectorConsoleAgent.cpp:
1729         * inspector/InspectorConsoleAgent.h:
1730         * inspector/InspectorController.h:
1731         * inspector/InspectorDOMAgent.h:
1732         * inspector/InspectorDOMDebuggerAgent.h:
1733         * inspector/InspectorDOMStorageAgent.h:
1734         * inspector/InspectorDatabaseAgent.h:
1735         * inspector/InspectorDebuggerAgent.h:
1736         * inspector/InspectorHeapProfilerAgent.h:
1737         * inspector/InspectorIndexedDBAgent.cpp:
1738         * inspector/InspectorIndexedDBAgent.h:
1739         * inspector/InspectorInputAgent.h:
1740         * inspector/InspectorLayerTreeAgent.h:
1741         * inspector/InspectorMemoryAgent.h:
1742         * inspector/InspectorPageAgent.h:
1743         * inspector/InspectorProfilerAgent.h:
1744         * inspector/InspectorResourceAgent.h:
1745         * inspector/InspectorTimelineAgent.h:
1746         * inspector/InspectorWorkerAgent.h:
1747         * inspector/PageConsoleAgent.cpp:
1748         * inspector/PageConsoleAgent.h:
1749         * inspector/PageInjectedScriptHost.h:
1750         * inspector/PageInjectedScriptManager.h:
1751         * inspector/PageRuntimeAgent.h:
1752         * inspector/WorkerConsoleAgent.h:
1753         * inspector/WorkerDebuggerAgent.h:
1754         * inspector/WorkerInspectorController.h:
1755         * inspector/WorkerRuntimeAgent.h:
1756         * loader/DocumentLoader.h:
1757         * loader/EmptyClients.h:
1758         * loader/FrameNetworkingContext.h:
1759         * loader/ImageLoader.h:
1760         * loader/NavigationScheduler.cpp:
1761         * loader/NetscapePlugInStreamLoader.h:
1762         * loader/PingLoader.h:
1763         * loader/ResourceLoader.h:
1764         * loader/SubresourceLoader.h:
1765         * loader/WorkerThreadableLoader.h:
1766         * loader/appcache/ApplicationCacheGroup.cpp:
1767         * loader/appcache/ApplicationCacheGroup.h:
1768         * loader/appcache/DOMApplicationCache.h:
1769         * loader/archive/cf/LegacyWebArchive.h:
1770         * loader/cache/CachedCSSStyleSheet.h:
1771         * loader/cache/CachedFont.h:
1772         * loader/cache/CachedFontClient.h:
1773         * loader/cache/CachedImage.h:
1774         * loader/cache/CachedImageClient.h:
1775         * loader/cache/CachedRawResource.h:
1776         * loader/cache/CachedRawResourceClient.h:
1777         * loader/cache/CachedSVGDocument.h:
1778         * loader/cache/CachedSVGDocumentClient.h:
1779         * loader/cache/CachedScript.h:
1780         * loader/cache/CachedShader.h:
1781         * loader/cache/CachedStyleSheetClient.h:
1782         * loader/cache/CachedTextTrack.h:
1783         * loader/cache/CachedXSLStyleSheet.h:
1784         * loader/icon/IconLoader.h:
1785         * mathml/MathMLElement.h:
1786         * mathml/MathMLInlineContainerElement.h:
1787         * mathml/MathMLMathElement.h:
1788         * mathml/MathMLSelectElement.h:
1789         * mathml/MathMLTextElement.h:
1790         * page/CaptionUserPreferencesMediaAF.h:
1791         * page/Chrome.h:
1792         * page/DOMTimer.h:
1793         * page/DOMWindow.h:
1794         * page/DOMWindowExtension.h:
1795         * page/EventSource.h:
1796         * page/Frame.h:
1797         * page/FrameView.h:
1798         * page/PageDebuggable.h:
1799         * page/PageSerializer.cpp:
1800         * page/Performance.h:
1801         * page/SuspendableTimer.h:
1802         * page/animation/ImplicitAnimation.h:
1803         * page/animation/KeyframeAnimation.h:
1804         * page/scrolling/AsyncScrollingCoordinator.h:
1805         * page/scrolling/ScrollingConstraints.h:
1806         * page/scrolling/ScrollingStateFixedNode.h:
1807         * page/scrolling/ScrollingStateScrollingNode.h:
1808         * page/scrolling/ScrollingStateStickyNode.h:
1809         * page/scrolling/ScrollingTreeScrollingNode.h:
1810         * page/scrolling/ThreadedScrollingTree.h:
1811         * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
1812         * page/scrolling/ios/ScrollingCoordinatorIOS.h:
1813         * page/scrolling/ios/ScrollingTreeIOS.h:
1814         * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h:
1815         * page/scrolling/mac/ScrollingCoordinatorMac.h:
1816         * page/scrolling/mac/ScrollingTreeFixedNode.h:
1817         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
1818         * page/scrolling/mac/ScrollingTreeStickyNode.h:
1819         * pdf/ios/PDFDocument.cpp:
1820         * pdf/ios/PDFDocument.h:
1821         * platform/CalculationValue.h:
1822         * platform/ClockGeneric.h:
1823         * platform/MainThreadTask.h:
1824         * platform/PODIntervalTree.h:
1825         * platform/PODRedBlackTree.h:
1826         * platform/RefCountedSupplement.h:
1827         * platform/ScrollView.h:
1828         * platform/Scrollbar.h:
1829         * platform/Timer.h:
1830         * platform/animation/TimingFunction.h:
1831         * platform/audio/AudioDSPKernelProcessor.h:
1832         * platform/audio/EqualPowerPanner.h:
1833         * platform/audio/HRTFPanner.h:
1834         * platform/audio/ios/AudioDestinationIOS.h:
1835         * platform/audio/mac/AudioDestinationMac.h:
1836         * platform/audio/nix/AudioDestinationNix.h:
1837         * platform/efl/RenderThemeEfl.h:
1838         * platform/efl/ScrollbarEfl.h:
1839         * platform/efl/ScrollbarThemeEfl.h:
1840         * platform/graphics/AudioTrackPrivate.h:
1841         * platform/graphics/BitmapImage.h:
1842         * platform/graphics/CrossfadeGeneratedImage.h:
1843         * platform/graphics/FloatPolygon.h:
1844         * platform/graphics/GeneratedImage.h:
1845         * platform/graphics/GradientImage.h:
1846         * platform/graphics/GraphicsLayer.h:
1847         * platform/graphics/InbandTextTrackPrivate.h:
1848         * platform/graphics/MediaPlayer.cpp:
1849         * platform/graphics/SimpleFontData.h:
1850         * platform/graphics/VideoTrackPrivate.h:
1851         * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
1852         * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
1853         * platform/graphics/avfoundation/VideoTrackPrivateAVF.h:
1854         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateAVCF.h:
1855         * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h:
1856         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.h:
1857         * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
1858         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.h:
1859         * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h:
1860         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
1861         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
1862         * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
1863         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
1864         * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
1865         * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
1866         * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
1867         * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.h:
1868         * platform/graphics/ca/GraphicsLayerCA.h:
1869         * platform/graphics/ca/mac/PlatformCALayerMac.h:
1870         * platform/graphics/ca/mac/TileController.h:
1871         * platform/graphics/ca/win/LegacyCACFLayerTreeHost.h:
1872         * platform/graphics/ca/win/PlatformCALayerWin.h:
1873         * platform/graphics/ca/win/WKCACFViewLayerTreeHost.h:
1874         * platform/graphics/cg/PDFDocumentImage.h:
1875         * platform/graphics/efl/GraphicsContext3DPrivate.h:
1876         * platform/graphics/egl/GLContextFromCurrentEGL.h:
1877         * platform/graphics/filters/DistantLightSource.h:
1878         * platform/graphics/filters/FEComposite.h:
1879         * platform/graphics/filters/FEDisplacementMap.h:
1880         * platform/graphics/filters/FEFlood.h:
1881         * platform/graphics/filters/FilterOperation.h:
1882         * platform/graphics/filters/PointLightSource.h:
1883         * platform/graphics/filters/SpotLightSource.h:
1884         * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
1885         * platform/graphics/gstreamer/InbandMetadataTextTrackPrivateGStreamer.h:
1886         * platform/graphics/gstreamer/InbandTextTrackPrivateGStreamer.h:
1887         * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
1888         * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h:
1889         * platform/graphics/ios/MediaPlayerPrivateIOS.h:
1890         * platform/graphics/ios/TextTrackRepresentationIOS.h:
1891         * platform/graphics/surfaces/GLTransportSurface.h:
1892         * platform/graphics/surfaces/egl/EGLContext.h:
1893         * platform/graphics/surfaces/egl/EGLSurface.h:
1894         * platform/graphics/surfaces/egl/EGLXSurface.h:
1895         * platform/graphics/surfaces/glx/GLXContext.h:
1896         * platform/graphics/surfaces/glx/GLXSurface.h:
1897         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
1898         * platform/graphics/texmap/TextureMapperGL.h:
1899         * platform/graphics/texmap/TextureMapperImageBuffer.h:
1900         * platform/graphics/texmap/TextureMapperLayer.h:
1901         * platform/graphics/texmap/TextureMapperTiledBackingStore.h:
1902         * platform/graphics/texmap/coordinated/CompositingCoordinator.h:
1903         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
1904         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h:
1905         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
1906         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
1907         * platform/graphics/texmap/coordinated/CoordinatedTile.h:
1908         * platform/graphics/texmap/coordinated/UpdateAtlas.cpp:
1909         * platform/gtk/RenderThemeGtk.h:
1910         * platform/ios/DeviceMotionClientIOS.h:
1911         * platform/ios/DeviceOrientationClientIOS.h:
1912         * platform/ios/ScrollAnimatorIOS.h:
1913         * platform/ios/ScrollbarThemeIOS.h:
1914         * platform/ios/WebSafeGCActivityCallbackIOS.h:
1915         * platform/ios/WebSafeIncrementalSweeperIOS.h:
1916         * platform/mac/PlatformClockCA.h:
1917         * platform/mac/PlatformClockCM.h:
1918         * platform/mac/ScrollAnimatorMac.h:
1919         * platform/mac/ScrollbarThemeMac.h:
1920         * platform/mediastream/MediaStreamTrackPrivate.h:
1921         * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
1922         * platform/mediastream/mac/AVAudioCaptureSource.h:
1923         * platform/mediastream/mac/AVMediaCaptureSource.h:
1924         * platform/mediastream/mac/AVVideoCaptureSource.h:
1925         * platform/mediastream/mac/MediaStreamCenterMac.h:
1926         * platform/mock/DeviceMotionClientMock.h:
1927         * platform/mock/DeviceOrientationClientMock.h:
1928         * platform/mock/MockMediaStreamCenter.h:
1929         * platform/mock/RTCDataChannelHandlerMock.h:
1930         * platform/mock/RTCNotifiersMock.h:
1931         * platform/mock/RTCPeerConnectionHandlerMock.h:
1932         * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
1933         * platform/mock/mediasource/MockMediaSourcePrivate.h:
1934         * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
1935         * platform/mock/mediasource/MockSourceBufferPrivate.h:
1936         * platform/network/BlobRegistryImpl.h:
1937         * platform/network/BlobResourceHandle.cpp:
1938         * platform/network/BlobResourceHandle.h:
1939         * platform/network/ResourceHandle.h:
1940         * platform/network/SynchronousLoaderClient.h:
1941         * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
1942         * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
1943         * platform/nix/RenderThemeNix.h:
1944         * platform/nix/ScrollbarThemeNix.h:
1945         * platform/text/LocaleICU.h:
1946         * platform/text/LocaleNone.cpp:
1947         * platform/text/PlatformLocale.cpp:
1948         * platform/text/mac/LocaleMac.h:
1949         * platform/text/win/LocaleWin.h:
1950         * platform/win/PopupMenuWin.h:
1951         * plugins/PluginView.h:
1952         * rendering/AutoTableLayout.h:
1953         * rendering/ClipPathOperation.h:
1954         * rendering/EllipsisBox.h:
1955         * rendering/FilterEffectRenderer.h:
1956         * rendering/FixedTableLayout.h:
1957         * rendering/InlineElementBox.h:
1958         * rendering/InlineFlowBox.h:
1959         * rendering/InlineTextBox.h:
1960         * rendering/RenderBlock.h:
1961         * rendering/RenderBlockFlow.h:
1962         * rendering/RenderBox.h:
1963         * rendering/RenderBoxModelObject.h:
1964         * rendering/RenderButton.h:
1965         * rendering/RenderCombineText.h:
1966         * rendering/RenderCounter.h:
1967         * rendering/RenderDeprecatedFlexibleBox.h:
1968         * rendering/RenderDetailsMarker.h:
1969         * rendering/RenderElement.h:
1970         * rendering/RenderEmbeddedObject.h:
1971         * rendering/RenderFieldset.h:
1972         * rendering/RenderFileUploadControl.h:
1973         * rendering/RenderFlexibleBox.h:
1974         * rendering/RenderFlowThread.h:
1975         * rendering/RenderFrame.h:
1976         * rendering/RenderFrameSet.h:
1977         * rendering/RenderFullScreen.h:
1978         * rendering/RenderGrid.h:
1979         * rendering/RenderHTMLCanvas.h:
1980         * rendering/RenderIFrame.h:
1981         * rendering/RenderImage.h:
1982         * rendering/RenderImageResourceStyleImage.h:
1983         * rendering/RenderInline.h:
1984         * rendering/RenderLayer.h:
1985         * rendering/RenderLayerBacking.h:
1986         * rendering/RenderLayerCompositor.h:
1987         * rendering/RenderLayerFilterInfo.h:
1988         * rendering/RenderLayerModelObject.h:
1989         * rendering/RenderLineBreak.h:
1990         * rendering/RenderListBox.h:
1991         * rendering/RenderListItem.h:
1992         * rendering/RenderListMarker.h:
1993         * rendering/RenderMedia.h:
1994         * rendering/RenderMenuList.h:
1995         * rendering/RenderMeter.h:
1996         * rendering/RenderMultiColumnBlock.h:
1997         * rendering/RenderMultiColumnFlowThread.h:
1998         * rendering/RenderMultiColumnSet.h:
1999         * rendering/RenderNamedFlowFragment.h:
2000         * rendering/RenderNamedFlowThread.h:
2001         * rendering/RenderObject.h:
2002         * rendering/RenderProgress.h:
2003         * rendering/RenderQuote.h:
2004         * rendering/RenderRegion.h:
2005         * rendering/RenderRegionSet.h:
2006         * rendering/RenderReplaced.h:
2007         * rendering/RenderReplica.h:
2008         * rendering/RenderRuby.h:
2009         * rendering/RenderRubyRun.h:
2010         * rendering/RenderRubyText.h:
2011         * rendering/RenderScrollbar.h:
2012         * rendering/RenderScrollbarPart.h:
2013         * rendering/RenderScrollbarTheme.h:
2014         * rendering/RenderSearchField.h:
2015         * rendering/RenderSlider.h:
2016         * rendering/RenderSnapshottedPlugIn.h:
2017         * rendering/RenderTable.h:
2018         * rendering/RenderTableCaption.h:
2019         * rendering/RenderTableCell.h:
2020         * rendering/RenderTableCol.h:
2021         * rendering/RenderTableRow.h:
2022         * rendering/RenderTableSection.h:
2023         * rendering/RenderText.h:
2024         * rendering/RenderTextControl.h:
2025         * rendering/RenderTextControlMultiLine.h:
2026         * rendering/RenderTextControlSingleLine.h:
2027         * rendering/RenderTextFragment.h:
2028         * rendering/RenderTextTrackCue.h:
2029         * rendering/RenderThemeIOS.h:
2030         * rendering/RenderThemeMac.h:
2031         * rendering/RenderThemeSafari.h:
2032         * rendering/RenderThemeWin.h:
2033         * rendering/RenderVideo.h:
2034         * rendering/RenderView.h:
2035         * rendering/RenderWidget.h:
2036         * rendering/RootInlineBox.h:
2037         * rendering/mathml/RenderMathMLBlock.h:
2038         * rendering/mathml/RenderMathMLFenced.h:
2039         * rendering/mathml/RenderMathMLFraction.h:
2040         * rendering/mathml/RenderMathMLMath.h:
2041         * rendering/mathml/RenderMathMLOperator.h:
2042         * rendering/mathml/RenderMathMLRoot.h:
2043         * rendering/mathml/RenderMathMLRow.h:
2044         * rendering/mathml/RenderMathMLScripts.h:
2045         * rendering/mathml/RenderMathMLSpace.h:
2046         * rendering/mathml/RenderMathMLSquareRoot.h:
2047         * rendering/mathml/RenderMathMLUnderOver.h:
2048         * rendering/shapes/BoxShape.h:
2049         * rendering/shapes/PolygonShape.h:
2050         * rendering/shapes/RasterShape.h:
2051         * rendering/shapes/RectangleShape.h:
2052         * rendering/shapes/ShapeInsideInfo.h:
2053         * rendering/shapes/ShapeOutsideInfo.h:
2054         * rendering/style/BasicShapes.h:
2055         * rendering/style/ContentData.h:
2056         * rendering/style/StyleCachedImage.h:
2057         * rendering/style/StyleCachedImageSet.h:
2058         * rendering/style/StyleGeneratedImage.h:
2059         * rendering/style/StylePendingImage.h:
2060         * rendering/svg/RenderSVGBlock.h:
2061         * rendering/svg/RenderSVGContainer.h:
2062         * rendering/svg/RenderSVGForeignObject.h:
2063         * rendering/svg/RenderSVGGradientStop.h:
2064         * rendering/svg/RenderSVGHiddenContainer.h:
2065         * rendering/svg/RenderSVGImage.h:
2066         * rendering/svg/RenderSVGInline.h:
2067         * rendering/svg/RenderSVGInlineText.h:
2068         * rendering/svg/RenderSVGModelObject.h:
2069         * rendering/svg/RenderSVGPath.h:
2070         * rendering/svg/RenderSVGResourceClipper.h:
2071         * rendering/svg/RenderSVGResourceContainer.h:
2072         * rendering/svg/RenderSVGResourceFilter.h:
2073         * rendering/svg/RenderSVGResourceGradient.h:
2074         * rendering/svg/RenderSVGResourceLinearGradient.h:
2075         * rendering/svg/RenderSVGResourceMarker.h:
2076         * rendering/svg/RenderSVGResourceMasker.h:
2077         * rendering/svg/RenderSVGResourcePattern.h:
2078         * rendering/svg/RenderSVGResourceRadialGradient.h:
2079         * rendering/svg/RenderSVGResourceSolidColor.h:
2080         * rendering/svg/RenderSVGRoot.h:
2081         * rendering/svg/RenderSVGShape.cpp:
2082         * rendering/svg/RenderSVGShape.h:
2083         * rendering/svg/RenderSVGText.h:
2084         * rendering/svg/RenderSVGTextPath.h:
2085         * rendering/svg/RenderSVGViewportContainer.h:
2086         * rendering/svg/SVGInlineFlowBox.h:
2087         * rendering/svg/SVGInlineTextBox.h:
2088         * rendering/svg/SVGRootInlineBox.h:
2089         * rendering/svg/SVGTextRunRenderingContext.h:
2090         * storage/StorageAreaImpl.h:
2091         * storage/StorageNamespaceImpl.h:
2092         * svg/SVGAElement.h:
2093         * svg/SVGAltGlyphDefElement.h:
2094         * svg/SVGAltGlyphElement.h:
2095         * svg/SVGAltGlyphItemElement.h:
2096         * svg/SVGAnimateElement.h:
2097         * svg/SVGAnimateMotionElement.h:
2098         * svg/SVGAnimateTransformElement.h:
2099         * svg/SVGAnimatedAngle.h:
2100         * svg/SVGAnimatedBoolean.h:
2101         * svg/SVGAnimatedColor.h:
2102         * svg/SVGAnimatedEnumeration.h:
2103         * svg/SVGAnimatedInteger.h:
2104         * svg/SVGAnimatedIntegerOptionalInteger.h:
2105         * svg/SVGAnimatedLength.h:
2106         * svg/SVGAnimatedLengthList.h:
2107         * svg/SVGAnimatedNumber.h:
2108         * svg/SVGAnimatedNumberList.h:
2109         * svg/SVGAnimatedNumberOptionalNumber.h:
2110         * svg/SVGAnimatedPath.h:
2111         * svg/SVGAnimatedPointList.h:
2112         * svg/SVGAnimatedPreserveAspectRatio.h:
2113         * svg/SVGAnimatedRect.h:
2114         * svg/SVGAnimatedString.h:
2115         * svg/SVGAnimatedTransformList.h:
2116         * svg/SVGAnimationElement.h:
2117         * svg/SVGCircleElement.h:
2118         * svg/SVGClipPathElement.h:
2119         * svg/SVGComponentTransferFunctionElement.h:
2120         * svg/SVGCursorElement.h:
2121         * svg/SVGDefsElement.h:
2122         * svg/SVGDocument.h:
2123         * svg/SVGElement.h:
2124         * svg/SVGElementInstance.h:
2125         * svg/SVGEllipseElement.h:
2126         * svg/SVGFEBlendElement.h:
2127         * svg/SVGFEColorMatrixElement.h:
2128         * svg/SVGFEComponentTransferElement.h:
2129         * svg/SVGFECompositeElement.h:
2130         * svg/SVGFEConvolveMatrixElement.h:
2131         * svg/SVGFEDiffuseLightingElement.h:
2132         * svg/SVGFEDisplacementMapElement.h:
2133         * svg/SVGFEDropShadowElement.h:
2134         * svg/SVGFEGaussianBlurElement.h:
2135         * svg/SVGFEImageElement.h:
2136         * svg/SVGFELightElement.h:
2137         * svg/SVGFEMergeNodeElement.h:
2138         * svg/SVGFEMorphologyElement.h:
2139         * svg/SVGFEOffsetElement.h:
2140         * svg/SVGFESpecularLightingElement.h:
2141         * svg/SVGFETileElement.h:
2142         * svg/SVGFETurbulenceElement.h:
2143         * svg/SVGFilterElement.h:
2144         * svg/SVGFilterPrimitiveStandardAttributes.h:
2145         * svg/SVGFontElement.h:
2146         * svg/SVGFontFaceElement.h:
2147         * svg/SVGFontFaceFormatElement.h:
2148         * svg/SVGFontFaceNameElement.h:
2149         * svg/SVGFontFaceSrcElement.h:
2150         * svg/SVGFontFaceUriElement.h:
2151         * svg/SVGForeignObjectElement.h:
2152         * svg/SVGGElement.h:
2153         * svg/SVGGlyphElement.h:
2154         * svg/SVGGlyphRefElement.h:
2155         * svg/SVGGradientElement.h:
2156         * svg/SVGGraphicsElement.h:
2157         * svg/SVGHKernElement.h:
2158         * svg/SVGImageElement.h:
2159         * svg/SVGLineElement.h:
2160         * svg/SVGLinearGradientElement.h:
2161         * svg/SVGMPathElement.h:
2162         * svg/SVGMarkerElement.h:
2163         * svg/SVGMaskElement.h:
2164         * svg/SVGMetadataElement.h:
2165         * svg/SVGPathElement.h:
2166         * svg/SVGPathStringBuilder.h:
2167         * svg/SVGPatternElement.h:
2168         * svg/SVGPolyElement.h:
2169         * svg/SVGRadialGradientElement.h:
2170         * svg/SVGRectElement.h:
2171         * svg/SVGSVGElement.h:
2172         * svg/SVGScriptElement.h:
2173         * svg/SVGSetElement.h:
2174         * svg/SVGStopElement.h:
2175         * svg/SVGStyleElement.h:
2176         * svg/SVGSwitchElement.h:
2177         * svg/SVGSymbolElement.h:
2178         * svg/SVGTRefElement.cpp:
2179         * svg/SVGTRefElement.h:
2180         * svg/SVGTSpanElement.h:
2181         * svg/SVGTextContentElement.h:
2182         * svg/SVGTextElement.h:
2183         * svg/SVGTextPathElement.h:
2184         * svg/SVGTextPositioningElement.h:
2185         * svg/SVGTitleElement.h:
2186         * svg/SVGTransformable.h:
2187         * svg/SVGUnknownElement.h:
2188         * svg/SVGUseElement.h:
2189         * svg/SVGVKernElement.h:
2190         * svg/SVGViewElement.h:
2191         * svg/animation/SVGSMILElement.h:
2192         * svg/graphics/SVGImage.h:
2193         * svg/graphics/SVGImageForContainer.h:
2194         * svg/graphics/filters/SVGFilter.h:
2195         * svg/properties/SVGAnimatedListPropertyTearOff.h:
2196         * svg/properties/SVGAnimatedTransformListPropertyTearOff.h:
2197         * svg/properties/SVGListPropertyTearOff.h:
2198         * svg/properties/SVGPathSegListPropertyTearOff.h:
2199         * svg/properties/SVGPropertyTearOff.h:
2200         * testing/InternalSettings.cpp:
2201         * testing/Internals.cpp:
2202         * testing/MockCDM.cpp:
2203         * testing/MockCDM.h:
2204         * workers/AbstractWorker.h:
2205         * workers/DedicatedWorkerGlobalScope.h:
2206         * workers/DedicatedWorkerThread.h:
2207         * workers/SharedWorker.h:
2208         * workers/SharedWorkerGlobalScope.h:
2209         * workers/SharedWorkerThread.h:
2210         * workers/Worker.h:
2211         * workers/WorkerEventQueue.cpp:
2212         * workers/WorkerEventQueue.h:
2213         * workers/WorkerGlobalScope.h:
2214         * workers/WorkerMessagingProxy.h:
2215         * workers/WorkerObjectProxy.h:
2216         * workers/WorkerScriptLoader.h:
2217         * workers/WorkerThread.cpp:
2218         * xml/XMLHttpRequest.h:
2219         * xml/XMLHttpRequestUpload.h:
2220         * xml/XPathFunctions.cpp:
2221         * xml/XPathPath.h:
2222         * xml/XPathPredicate.h:
2223         * xml/XSLStyleSheet.h:
2224
2225 2014-01-16  Beth Dakin  <bdakin@apple.com>
2226
2227         Speculative Win Cairo build fix.
2228
2229         These need to be inside an ifdef.
2230         * page/FrameView.cpp:
2231         (WebCore::FrameView::hasExtendedBackground):
2232         (WebCore::FrameView::extendedBackgroundRect):
2233
2234 2014-01-07  Myles C. Maxfield  <mmaxfield@apple.com>
2235
2236         text-emphasis-position CSS property doesn't recognize 'left' and 'right'
2237         https://bugs.webkit.org/show_bug.cgi?id=126611
2238
2239         Reviewed by Simon Fraser.
2240
2241         This patch allows the text-emphasis-position to accept the "left" and
2242         "right" CSS values. In horizontal writing modes, these values no not
2243         change behavior. In vertical writing modes, however, these values specify
2244         which side to place the emphasis mark. Similarly, in vertical writing
2245         modes, the "above" and "below" values should not change behavior.
2246
2247         However, in order to keep existing behavior, if neither "left" nor "right"
2248         is specified, we should draw as if the appropriate value were
2249         specified ("over" -> "right" and "under" -> "left"). Note that this
2250         will have to be updated when we implement the
2251         "text-orientation: sideways-left" CSS property.
2252
2253         Tests: fast/text/emphasis-horizontal-left-right.html
2254                fast/text/emphasis-vertical-over-right.html
2255                fast/text/emphasis-vertical-over-under.html
2256
2257         * css/CSSComputedStyleDeclaration.cpp:
2258         (WebCore::renderEmphasisPositionFlagsToCSSValue):
2259         (WebCore::ComputedStyleExtractor::propertyValue):
2260         * css/CSSParser.cpp:
2261         (WebCore::isValidKeywordPropertyAndValue):
2262         (WebCore::isKeywordPropertyID):
2263         (WebCore::CSSParser::parseValue):
2264         (WebCore::CSSParser::parseTextEmphasisPosition):
2265         * css/CSSParser.h:
2266         * css/CSSPrimitiveValueMappings.h:
2267         * css/DeprecatedStyleBuilder.cpp:
2268         (WebCore::valueToEmphasisPosition):
2269         (WebCore::ApplyPropertyTextEmphasisPosition::applyValue):
2270         (WebCore::ApplyPropertyTextEmphasisPosition::createHandler):
2271         (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
2272         * rendering/InlineFlowBox.cpp:
2273         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
2274         (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
2275         (WebCore::InlineFlowBox::computeOverAnnotationAdjustment):
2276         (WebCore::InlineFlowBox::computeUnderAnnotationAdjustment):
2277         * rendering/InlineTextBox.cpp:
2278         (WebCore::InlineTextBox::emphasisMarkExistsAndIsAbove):
2279         (WebCore::InlineTextBox::paint):
2280         * rendering/InlineTextBox.h:
2281         * rendering/style/RenderStyle.h:
2282         * rendering/style/RenderStyleConstants.h:
2283         * rendering/style/StyleRareInheritedData.cpp:
2284         (WebCore::StyleRareInheritedData::StyleRareInheritedData):
2285         * rendering/style/StyleRareInheritedData.h:
2286
2287 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
2288
2289         AX: WebKit is not firing AXMenuOpenedNotification
2290         https://bugs.webkit.org/show_bug.cgi?id=126993
2291
2292         Reviewed by Mario Sanchez Prada.
2293
2294         To monitor for menu open notifications, we need to know which children are added to
2295         the render tree, so the childrenChanged() method has been updated to allow for that.
2296         Once we know the new child, we can then check what kind of role it has.
2297
2298         I also found a flakiness issue with DRT where posting a notification back to DRT
2299         would sometimes cause a new notification to be queued, which would then be lost when the
2300         queue was cleared. This was fixed by copying the notifications to post before iterating them.
2301
2302         Test: platform/mac/accessibility/aria-menu-open-notification.html
2303
2304         * accessibility/AXObjectCache.cpp:
2305         (WebCore::AXObjectCache::checkForOpenMenu):
2306         (WebCore::AXObjectCache::childrenChanged):
2307         (WebCore::AXObjectCache::notificationPostTimerFired):
2308         * accessibility/AXObjectCache.h:
2309         (WebCore::AXObjectCache::childrenChanged):
2310         * accessibility/AccessibilityNodeObject.h:
2311         * accessibility/mac/AXObjectCacheMac.mm:
2312         (WebCore::AXObjectCache::postPlatformNotification):
2313         * rendering/RenderElement.cpp:
2314         (WebCore::RenderElement::insertChildInternal):
2315         (WebCore::RenderElement::styleWillChange):
2316
2317 2014-01-16  Chris Fleizach  <cfleizach@apple.com>
2318
2319         AX: WebKit is not firing AXMenuItemSelectedNotification
2320         https://bugs.webkit.org/show_bug.cgi?id=127081
2321
2322         Reviewed by Mario Sanchez Prada.
2323
2324         Monitor for when a menu item either gains focus() or has aria-selected set,
2325         in which case, we need to fire a specific notification.
2326
2327         Test: platform/mac/accessibility/aria-menu-item-selected-notification.html
2328
2329         * accessibility/AXObjectCache.cpp:
2330         (WebCore::nodeHasRole):
2331             This method was declared in the header, but never implemented, leading to compilation issues.
2332         (WebCore::AXObjectCache::handleMenuItemSelected):
2333         (WebCore::AXObjectCache::handleFocusedUIElementChanged):
2334             Allow the core class to handle focus changes first, then pass off to platform
2335         (WebCore::AXObjectCache::selectedChildrenChanged):
2336         * accessibility/AXObjectCache.h:
2337         * accessibility/ios/AXObjectCacheIOS.mm:
2338         (WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
2339         * accessibility/mac/AXObjectCacheMac.mm:
2340         (WebCore::AXObjectCache::postPlatformNotification):
2341         (WebCore::AXObjectCache::platformHandleFocusedUIElementChanged):
2342         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
2343         (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):
2344             Allow menu items to expose a description attribute.
2345
2346 2014-01-16  Andy Estes  <aestes@apple.com>
2347
2348         [iOS] Fix build issues with exported headers
2349
2350         * Configurations/WebCore.xcconfig: Allowed UIKit to link against
2351         WebCore.
2352         * page/ios/WebEventRegion.h: Removed ENABLE(TOUCH_EVENTS), which are
2353         always enabled on iOS.
2354
2355 2014-01-16  Dirk Schulze  <krit@webkit.org>
2356
2357         Rename functions in SVGDocumentExtension
2358         https://bugs.webkit.org/show_bug.cgi?id=127046
2359
2360         Reviewed by Sam Weinig.
2361
2362         Change some function names in SVGDocumentExtension
2363         to make them more descriptive.
2364
2365         Simple refactoring. No new tests.
2366
2367         * rendering/svg/RenderSVGResourceContainer.cpp:
2368         (WebCore::RenderSVGResourceContainer::registerResource):
2369         * svg/SVGDocumentExtensions.cpp:
2370         (WebCore::SVGDocumentExtensions::addPendingResource):
2371         (WebCore::SVGDocumentExtensions::isIdOfPendingResource):
2372         (WebCore::SVGDocumentExtensions::isElementWithPendingResources):
2373         (WebCore::SVGDocumentExtensions::isPendingResource):
2374         (WebCore::SVGDocumentExtensions::clearHasPendingResourcesIfPossible):
2375         (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
2376         (WebCore::SVGDocumentExtensions::removePendingResource):
2377         (WebCore::SVGDocumentExtensions::removePendingResourceForRemoval):
2378         (WebCore::SVGDocumentExtensions::markPendingResourcesForRemoval):
2379         (WebCore::SVGDocumentExtensions::removeElementFromPendingResourcesForRemovalMap): The name is not great but a bit more descriptive.
2380         * svg/SVGDocumentExtensions.h:
2381         * svg/SVGElement.cpp:
2382         (WebCore::SVGElement::buildPendingResourcesIfNeeded):
2383         * svg/SVGMPathElement.cpp:
2384         (WebCore::SVGMPathElement::buildPendingResource):
2385         * svg/SVGTextPathElement.cpp:
2386         (WebCore::SVGTextPathElement::buildPendingResource):
2387         * svg/animation/SVGSMILElement.cpp:
2388         (WebCore::SVGSMILElement::buildPendingResource):
2389
2390 2014-01-15  Carlos Garcia Campos  <cgarcia@igalia.com>
2391
2392         [GTK][EFL][NIX] Do not use PrintContext, Frame and DocumentLoader in Errors
2393         https://bugs.webkit.org/show_bug.cgi?id=127047
2394
2395         Reviewed by Martin Robinson.
2396
2397         Using PrintContext, Frame and DocumentLoader in platform is a
2398         layering violation.
2399         Change printing error methods to receive a failing URL instead of
2400         receiving a PrintContext that was used only to get the failing
2401         URL.
2402
2403         * platform/efl/ErrorsEfl.cpp:
2404         (WebCore::printError):
2405         (WebCore::printerNotFoundError):
2406         (WebCore::invalidPageRangeToPrint):
2407         * platform/efl/ErrorsEfl.h:
2408         * platform/gtk/ErrorsGtk.cpp:
2409         (WebCore::printError):
2410         (WebCore::printerNotFoundError):
2411         (WebCore::invalidPageRangeToPrint):
2412         * platform/gtk/ErrorsGtk.h:
2413         * platform/nix/ErrorsNix.cpp:
2414         (WebCore::printError):
2415         (WebCore::printerNotFoundError):
2416         (WebCore::invalidPageRangeToPrint):
2417         * platform/nix/ErrorsNix.h:
2418
2419 2014-01-15  Mihnea Ovidenie  <mihnea@adobe.com>
2420
2421         [CSS Regions] Enable accelerated compositing for fixed elements in named flows
2422         https://bugs.webkit.org/show_bug.cgi?id=125144
2423
2424         Reviewed by David Hyatt.
2425
2426         Add support for compositing for fixed positioned element that are collected
2427         inside a named flow. Prior to this patch, the fixed positioned elements were
2428         positioned and sized properly but only in the non-compositing scenario.
2429
2430         Tests: compositing/regions/abs-in-named-flow-from-fixed-in-named-flow.html
2431                compositing/regions/fixed-in-diff-named-flows-zIndex.html
2432                compositing/regions/fixed-in-named-flow-clip-descendant.html
2433                compositing/regions/fixed-in-named-flow-from-abs-in-named-flow.html
2434                compositing/regions/fixed-in-named-flow-from-outflow.html
2435                compositing/regions/fixed-in-named-flow-got-transformed-parent.html
2436                compositing/regions/fixed-in-named-flow-lost-transformed-parent.html
2437                compositing/regions/fixed-in-named-flow-overlap-composited.html
2438                compositing/regions/fixed-in-named-flow-position-changed.html
2439                compositing/regions/fixed-in-named-flow-transformed-parent.html
2440                compositing/regions/fixed-in-named-flow-zIndex.html
2441                compositing/regions/fixed-in-named-flow.html
2442                compositing/regions/fixed-transformed-in-named-flow.html
2443
2444         * rendering/RenderFlowThread.cpp:
2445         (WebCore::RenderFlowThread::regionForCompositedLayer):
2446         * rendering/RenderLayerCompositor.cpp:
2447         (WebCore::RenderLayerCompositor::computeCompositingRequirementsForNamedFlowFixed):
2448         (WebCore::RenderLayerCompositor::computeCompositingRequirements):
2449         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTreeForNamedFlowFixed):
2450         (WebCore::RenderLayerCompositor::rebuildCompositingLayerTree):
2451         (WebCore::RenderLayerCompositor::updateLayerTreeGeometry):
2452         (WebCore::RenderLayerCompositor::requiresCompositingForPosition):
2453         * rendering/RenderLayerCompositor.h:
2454         * rendering/RenderNamedFlowFragment.h:
2455         * rendering/RenderNamedFlowThread.h:
2456
2457 2014-01-15  Benjamin Poulain  <bpoulain@apple.com>
2458
2459         Fix the iOS build after r162114
2460
2461         Unreviewed.
2462
2463         * WebCore.exp.in: Move the symbol to the right section and add the missing symbols for iOS.
2464
2465 2014-01-15  Mihai Maerean  <mmaerean@adobe.com>
2466
2467         [CSS Regions] Fix painting when the composited region has overflow:hidden
2468         https://bugs.webkit.org/show_bug.cgi?id=124887
2469
2470         Reviewed by Alexandru Chiculita.
2471
2472         When the layer of the region is composited, the region receives a GraphicsLayer of its own
2473         so the clipping coordinates (caused by overflow:hidden) must be relative to the
2474         GraphicsLayer coordinates in which the region gets painted.
2475
2476         Also, while the painting is done relative to the location of the region's content box, the
2477         clipping is bound to the padding box of the region.
2478
2479         Tests: compositing/regions/paint-inside-composited-region-overflow-hidden-versus-div.html
2480                compositing/regions/paint-inside-composited-region-overflow-hidden-versus-region.html
2481
2482         * rendering/RenderLayer.cpp:
2483         (WebCore::RenderLayer::paintFlowThreadIfRegion):
2484
2485 2014-01-15  Benjamin Poulain  <bpoulain@apple.com>
2486
2487         Move user agent code to WebCore and unify some code between OS X and iOS
2488         https://bugs.webkit.org/show_bug.cgi?id=127080
2489
2490         Reviewed by Sam Weinig.
2491
2492         Move the duplicated code from WebView and WebPageProxy to two files
2493         in WebCore: UserAgentMac and UserAgentIOS.
2494
2495         * Configurations/WebCore.xcconfig:
2496         * WebCore.exp.in:
2497         * WebCore.xcodeproj/project.pbxproj:
2498         * page/ios/UserAgentIOS.mm: Added.
2499         (WebCore::platformSystemRootDirectory):
2500         (WebCore::osMarketingVersion):
2501         (WebCore::standardUserAgentWithApplicationName):
2502         * page/mac/UserAgent.h: Added.
2503         * page/mac/UserAgentMac.mm: Added.
2504         (WebCore::systemMarketingVersionForUserAgentString):
2505         (WebCore::standardUserAgentWithApplicationName):
2506         * platform/ios/WebCoreSystemInterfaceIOS.h:
2507         * platform/ios/WebCoreSystemInterfaceIOS.mm:
2508
2509 2014-01-15  Sam Weinig  <sam@webkit.org>
2510
2511         Fix windows build.
2512
2513         * platform/text/TextAllInOne.cpp:
2514
2515 2014-01-15  Joseph Pecoraro  <pecoraro@apple.com>
2516
2517         [iOS] Clean up REMOTE_INSPECTOR code in OpenSource after the iOS merge
2518         https://bugs.webkit.org/show_bug.cgi?id=127069
2519
2520         Reviewed by Timothy Hatcher.
2521
2522         * WebCore.exp.in:
2523
2524 2014-01-15  Sam Weinig  <sam@webkit.org>
2525
2526         TextBreakIterator's should support Latin-1 for all iterator types (Part 2)
2527         https://bugs.webkit.org/show_bug.cgi?id=126856
2528
2529         Reviewed by Ryosuke Niwa.
2530
2531         Move the contents of TextBreakIteratorICU.cpp to TextBreakIterator.cpp and remove TextBreakIteratorICU.cpp.
2532
2533         * CMakeLists.txt:
2534         * GNUmakefile.list.am:
2535         * PlatformGTK.cmake:
2536         * WebCore.vcxproj/WebCore.vcxproj:
2537         * WebCore.vcxproj/WebCore.vcxproj.filters:
2538         * WebCore.xcodeproj/project.pbxproj:
2539         * platform/text/TextBreakIterator.cpp:
2540         * platform/text/TextBreakIteratorICU.cpp: Removed.
2541
2542 2014-01-15  Eric Carlson  <eric.carlson@apple.com>
2543
2544         MediaSessionManager shouldn't use std::map
2545         https://bugs.webkit.org/show_bug.cgi?id=127003
2546
2547         Reviewed by Sam Weinig.
2548
2549         No new tests, no functional change.
2550
2551         Use an array instead of std::map.
2552         * platform/audio/MediaSessionManager.cpp:
2553         (WebCore::MediaSessionManager::MediaSessionManager):
2554         (WebCore::MediaSessionManager::addRestriction):
2555         (WebCore::MediaSessionManager::removeRestriction):
2556         (WebCore::MediaSessionManager::restrictions):
2557         (WebCore::MediaSessionManager::sessionWillBeginPlayback):
2558         * platform/audio/MediaSessionManager.h:
2559
2560 2014-01-15  Gavin Barraclough  <barraclough@apple.com>
2561
2562         Change Page, FocusController to use ViewState
2563         https://bugs.webkit.org/show_bug.cgi?id=126533
2564
2565         Unreviewed rollout, this caused a regression.
2566
2567         * WebCore.exp.in:
2568         * page/FocusController.cpp:
2569         (WebCore::FocusController::FocusController):
2570         (WebCore::FocusController::setFocused):
2571         (WebCore::FocusController::setActive):
2572         (WebCore::FocusController::setContentIsVisible):
2573         * page/FocusController.h:
2574         (WebCore::FocusController::isActive):
2575         (WebCore::FocusController::isFocused):
2576         * page/Page.cpp:
2577         (WebCore::Page::Page):
2578         (WebCore::Page::setIsInWindow):
2579         (WebCore::Page::setIsVisuallyIdle):
2580         (WebCore::Page::setIsVisible):
2581         (WebCore::Page::visibilityState):
2582         (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
2583         * page/Page.h:
2584         (WebCore::Page::isVisible):
2585         (WebCore::Page::isInWindow):
2586
2587 2014-01-15  Brent Fulgham  <bfulgham@apple.com>
2588
2589         [WebGL] Resizing and entering/exiting full screen draws garbage
2590         https://bugs.webkit.org/show_bug.cgi?id=127077
2591
2592         Reviewed by Dean Jackson.
2593
2594         * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
2595         (WebCore::GraphicsContext3D::reshapeFBOs): Simplified logic regarding FBO switching.
2596         (WebCore::GraphicsContext3D::resolveMultisamplingIfNecessary): Make sure a few things
2597         are turned off that might affect blitting data from one FBO to another.
2598         * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
2599         (WebCore::GraphicsContext3D::prepareTexture): Actually turn dithering off!
2600         (WebCore::GraphicsContext3D::reshape): Mark the context as dirty when resizing so that
2601         the GL view is redrawn during resizing events.
2602
2603 2014-01-15  Roger Fong  <roger_fong@apple.com>
2604
2605         Remove unnecessary call to webGLContextCreated
2606         https://bugs.webkit.org/show_bug.cgi?id=127000
2607
2608         Reviewed by Brent Fulgham.
2609
2610         Note that the functionality of webGLContextCreated will be handled by webGLPolicyForSite now.
2611
2612         Tests: Unskipping tests skipped in r162002.
2613
2614         * html/HTMLCanvasElement.cpp: Remove webGLContextCreated call.
2615         (WebCore::HTMLCanvasElement::getContext):
2616         * loader/FrameLoaderClient.h:
2617         Have the returned load policy default to WebGLAllow so as to not break clients that don't implement the method.
2618         (WebCore::FrameLoaderClient::webGLPolicyForSite):
2619         webGLPolicyForSite is now assuming the role of webGLContextCreated as well, pass in the whole site URL instead of just the host.
2620         * page/ChromeClient.h: Remove webGLContextCreated method.
2621         (WebCore::ChromeClient::decrementActivePageCount):
2622
2623 2014-01-15  Beth Dakin  <bdakin@apple.com>
2624
2625         Repeating background images should continue into margin tiles
2626         https://bugs.webkit.org/show_bug.cgi?id=127021
2627         -and corresponding-
2628         <rdar://problem/15571300>
2629
2630         Reviewed by Simon Fraser.
2631
2632         This patch makes repeating background images continue into margin tiles. 
2633
2634         RenderObject::repaintRectangle() now takes an addition bool parameter which 
2635         indicates whether or not the repaint rect should be clipped to the layer size.
2636         * WebCore.exp.in:
2637
2638         These new functions on FrameView provide a way for code in the render tree to know 
2639         if the TiledBacking has a margin. tiledBacking() is now const. It should have 
2640         always been const, and it needs to be const to make these new functions const.
2641         * page/FrameView.cpp:
2642         (WebCore::FrameView::tiledBacking):
2643         (WebCore::FrameView::hasExtendedBackground):
2644         (WebCore::FrameView::extendedBackgroundRect):
2645         * page/FrameView.h:
2646         * platform/ScrollableArea.h:
2647         (WebCore::ScrollableArea::tiledBacking):
2648
2649         If we’re painting the root background and it is an extended background, we need to 
2650         inflate the repaint rect to span the extended background. 
2651         * rendering/RenderBox.cpp:
2652         (WebCore::RenderBox::repaintLayerRectsForImage):
2653
2654         To get the phase right on repeated background images on a page with margin tiles, 
2655         we need to make sure we factor the size of the margin tiles into the left and top 
2656         values that we use when calculating background image geometry.
2657         * rendering/RenderBoxModelObject.cpp:
2658         (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):
2659
2660         setBackingNeedsRepaintInRect() now takes GraphicsLayer::ShouldClipToLayer as a 
2661         parameter, just like setBackingNeedsRepaint(). 
2662         * rendering/RenderLayer.cpp:
2663         (WebCore::RenderLayer::calculateClipRects):
2664
2665         setContentsNeedDisplayInRect() also takes a GraphicsLayer::ShouldClipToLayer now, 
2666         and it passes that information down to the GraphicsLayer.
2667         * rendering/RenderLayer.h:
2668         * rendering/RenderLayerBacking.cpp:
2669         (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect):
2670         * rendering/RenderLayerBacking.h:
2671
2672         These two RenderObject functions now take an optional bool parameter which 
2673         indicates whether or not the rect should be clipped to the layer size. They use a 
2674         bool instead of the GraphicsLayer enum in order to avoid including GraphicsLayer.h 
2675         from within RenderObject.h. This seems like a simpler solution than adding a new 
2676         stand-alone file for this very simple enum.
2677         * rendering/RenderObject.cpp:
2678         (WebCore::RenderObject::repaintUsingContainer):
2679         (WebCore::RenderObject::repaintRectangle):
2680         * rendering/RenderObject.h:
2681
2682         RenderView::backgroundRect needs to return the extendedBackgroundRect when it had 
2683         one.
2684         * rendering/RenderView.cpp:
2685         (WebCore::RenderView::backgroundRect):
2686
2687 2014-01-15  Brian Burg  <bburg@apple.com>
2688
2689         Web Inspector: capture probe samples on the backend
2690         https://bugs.webkit.org/show_bug.cgi?id=126668
2691
2692         Reviewed by Joseph Pecoraro.
2693
2694         Test: inspector-protocol/debugger/setProbe-multiple-actions.html
2695
2696         Add the probe breakpoint action type. A probe action
2697         evaluates an expression on the script call frame, and
2698         the result is aggregated on a per-probe basis. Each
2699         evaluated expression result is called a probe sample.
2700
2701         * bindings/js/ScriptDebugServer.cpp:
2702         (WebCore::ScriptDebugServer::evaluateBreakpointAction): Teach
2703         the debug server to evaluate a probe.
2704
2705         (WebCore::ScriptDebugServer::dispatchDidSampleProbe): Added.
2706         (WebCore::ScriptDebugServer::handleBreakpointHit): Increment a hit count.
2707         (WebCore::ScriptDebugServer::getActionsForBreakpoint):
2708         * bindings/js/ScriptDebugServer.h:
2709         * inspector/InspectorDebuggerAgent.cpp:
2710         (WebCore::objectGroupForBreakpointAction): Added. Create an object
2711         group for each breakpoint action. Currently only probes make objects.
2712         (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
2713         (WebCore::InspectorDebuggerAgent::disable):
2714         (WebCore::InspectorDebuggerAgent::enable): Remove stale comment.
2715         (WebCore::breakpointActionTypeForString): Add new case.
2716         (WebCore::InspectorDebuggerAgent::breakpointActionsFromProtocol): Make
2717         this a member function instead of a static function, so it can increment
2718         the breakpoint action identifier counter.
2719         (WebCore::InspectorDebuggerAgent::setBreakpointByUrl): Propagate the
2720         assigned breakpoint action identifiers.
2721         (WebCore::InspectorDebuggerAgent::setBreakpoint): Propagate the
2722         assigned breakpoint action identifiers.
2723         (WebCore::InspectorDebuggerAgent::removeBreakpoint): Release object
2724         groups for any actions that were associated with the removed breakpoint.
2725         (WebCore::InspectorDebuggerAgent::didSampleProbe): Added.
2726         (WebCore::InspectorDebuggerAgent::clearResolvedBreakpointState): Renamed from clear().
2727         (WebCore::InspectorDebuggerAgent::didClearGlobalObject): Renamed from reset().
2728         * inspector/InspectorDebuggerAgent.h:
2729         * inspector/PageDebuggerAgent.cpp:
2730         (WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
2731         * inspector/ScriptBreakpoint.h:
2732         (WebCore::ScriptBreakpointAction::ScriptBreakpointAction): Add identifier member.
2733         * inspector/ScriptDebugListener.h:
2734
2735 2014-01-15  Brent Fulgham  <bfulgham@apple.com>
2736
2737         [WebGL] Validation function for compressed formats incorrect
2738         https://bugs.webkit.org/show_bug.cgi?id=127023
2739
2740         Reviewed by Dean Jackson.
2741
2742         No new tests. Covered by existing WebGL compressed texture tests.
2743
2744         * html/canvas/WebGLRenderingContext.cpp:
2745         (WebCore::WebGLRenderingContext::validateCompressedTexFuncData): Revise to match specifications.
2746
2747 2014-01-15  Andreas Kling  <akling@apple.com>
2748
2749         Remove the CSS selector profiler.
2750         <https://webkit.org/b/127039>
2751
2752         The selector profiler was painting a mostly fictional picture of what
2753         selectors we were spending time on. It never really grokked the fast
2754         path selectors, nor did it understand recent additions like the extra
2755         cascading pass or the selector JIT.
2756
2757         Somewhat ironically, this may end up making some selectors run faster
2758         since it removes a number of brances in hot code.
2759
2760         Reviewed by Sam Weinig.
2761
2762         * css/ElementRuleCollector.cpp:
2763         (WebCore::ElementRuleCollector::collectMatchingRulesForList):
2764         * css/ElementRuleCollector.h:
2765         * inspector/InspectorCSSAgent.cpp:
2766         (WebCore::InspectorCSSAgent::willDestroyFrontendAndBackend):
2767         * inspector/InspectorCSSAgent.h:
2768         * inspector/InspectorInstrumentation.cpp:
2769         * inspector/InspectorInstrumentation.h:
2770         * inspector/protocol/CSS.json:
2771
2772 2014-01-15  Frédéric Wang  <fred.wang@free.fr>
2773
2774         [SVG] Accept HTML and MathML namespaces as valid requiredExtensions
2775         https://bugs.webkit.org/show_bug.cgi?id=88188
2776
2777         Reviewed by Chris Fleizach.
2778
2779         When HTML and MathML are used as foreign objects of an SVG image, it is
2780         important for Web authors to be able to specify a fallback content for
2781         SVG-only readers or browsers without MathML support. We rely on the
2782         requiredExtensions for that purpose and we use the XHTML/MathML
2783         namespaces as suggested in SVG Tiny 1.2 and implemented in Gecko.
2784
2785         Tests: svg/custom/conditional-processing-1.svg
2786                svg/custom/conditional-processing-2.html
2787                svg/dom/SVGTests.html
2788
2789         * svg/SVGSwitchElement.cpp: Remove an incorrect FIXME comment and replace it with a reference to bug 74749.
2790         (WebCore::SVGSwitchElement::childShouldCreateRenderer):
2791         * svg/SVGTests.cpp: Check if the list of required extensions contains only the XHTML/MathML namespaces.
2792         (WebCore::SVGTests::hasExtension):
2793         (WebCore::SVGTests::isValid):
2794
2795 2014-01-15  Commit Queue  <commit-queue@webkit.org>
2796
2797         Unreviewed, rolling out r162066.
2798         http://trac.webkit.org/changeset/162066
2799         https://bugs.webkit.org/show_bug.cgi?id=127056
2800
2801         The added test still fails on some bots (Requested by ap on
2802         #webkit).
2803
2804         * svg/graphics/SVGImage.cpp:
2805         (WebCore::SVGImage::drawPatternForContainer):
2806         * svg/graphics/SVGImage.h:
2807         * svg/graphics/SVGImageForContainer.cpp:
2808         (WebCore::SVGImageForContainer::drawPattern):
2809
2810 2014-01-15  David Kilzer  <ddkilzer@apple.com>
2811
2812         [iOS] Fix intialization order of ResourceResponse constructor
2813
2814         Fixes the following build failure:
2815
2816             WebCore/platform/network/mac/ResourceResponseMac.mm:83:7: error: field 'm_nsResponse' will be initialized after field 'm_initLevel' [-Werror,-Wreorder]
2817                 , m_nsResponse(nsResponse)
2818                   ^
2819
2820         * platform/network/mac/ResourceResponseMac.mm:
2821         (WebCore::ResourceResponse::ResourceResponse): Reorder member
2822         initializers to match the order that they are defined in the
2823         header.
2824
2825 2014-01-15  Roger Fong  <roger_fong@apple.com>
2826
2827         Unreviewed. Comment out part of r162036 which broke WebGL on many ports.
2828
2829         * html/HTMLCanvasElement.cpp:
2830         (WebCore::HTMLCanvasElement::getContext):
2831
2832 2014-01-15  Zoltan Horvath  <zoltan@webkit.org>
2833
2834         WordMeasurement is a struct, not a class
2835         https://bugs.webkit.org/show_bug.cgi?id=125373
2836
2837         Reviewed by Anders Carlsson.
2838
2839         Change class to struct, because there is no reason for WordMeasurement to be a class.
2840
2841         No new tests, no behavior change.
2842
2843         * rendering/RenderBlockFlow.h:
2844         * rendering/line/BreakingContextInlineHeaders.h:
2845
2846 2014-01-15  Mihai Tica  <mitica@adobe.com>
2847
2848         Reapplying:
2849         Background-blend-mode doesn't work for an element with an
2850         SVG image as background and border-style or padding set.
2851         The problem consisted in the drawing path using the default
2852         blending parameter at all times.
2853         https://bugs.webkit.org/show_bug.cgi?id=118894
2854
2855         Reviewed by Dirk Schulze.
2856
2857         Test: css3/compositing/background-blend-mode-data-uri-svg-image.html
2858
2859         * svg/graphics/SVGImage.cpp:
2860         (WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
2861         * svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
2862         * svg/graphics/SVGImageForContainer.cpp:
2863         (WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.
2864
2865 2014-01-15  Andrei Bucur  <abucur@adobe.com>
2866
2867         [CSS Regions] Hit-testing goes through clipped layer in fast/regions/overflow-first-and-last-regions-in-container-hidden.html
2868         https://bugs.webkit.org/show_bug.cgi?id=126886
2869
2870         Reviewed by Mihnea Ovidenie.
2871
2872         Currently, when hit testing a location inside a flow thread we ignore the clipping rectangle of
2873         the region. This leads to false positives when the location is over the clipped out content of a
2874         flow thread. The patch verifies that the location is inside the clipping rectangle of the region before
2875         forwarding the hit test verification to the flow thread layer.
2876
2877         Test: fast/regions/hover-and-js-in-visual-overflow-hidden.html
2878
2879         * rendering/RenderLayer.cpp:
2880         (WebCore::RenderLayer::hitTestFlowThreadIfRegion):
2881
2882 2014-01-15  Antti Koivisto  <antti@apple.com>
2883
2884         Suspend resource requests during computedStyle
2885         https://bugs.webkit.org/show_bug.cgi?id=127034
2886
2887         Reviewed by Andreas Kling.
2888
2889         We have some cases where getting computed style leads to crashes in loadPendingImages. 
2890         This is probably caused by load callbacks resulting in re-entering WebKit and killing the StyleResolver.
2891         
2892         As a speculative fix suspend resource loads (and so callbacks) when getting the computed style.
2893         We do similar suspension during style recalc for the same reason.
2894
2895         * dom/Document.cpp:
2896         (WebCore::Document::styleForElementIgnoringPendingStylesheets):
2897         * loader/ResourceLoadScheduler.h:
2898         (WebCore::ResourceLoadScheduler::Suspender::Suspender):
2899         (WebCore::ResourceLoadScheduler::Suspender::~Suspender):
2900
2901 2014-01-15  László Langó  <llango.u-szeged@partner.samsung.com>
2902
2903         DocumentFragment should be constructable.
2904         https://bugs.webkit.org/show_bug.cgi?id=115641
2905
2906         Reviewed by Ryosuke Niwa.
2907
2908         http://www.w3.org/TR/2013/WD-dom-20131107/#interface-documentfragment
2909         This allows us to do `new DocumentFragment` instead of
2910         `document.createDocumentFragment()`.
2911
2912         Backported from Blink: https://chromium.googlesource.com/chromium/blink/+/86855c44a5a127716840fb377281b1c428e5eb2d%5E%21
2913
2914         Test: fast/dom/DocumentFragment/document-fragment-constructor.html
2915
2916         * dom/DocumentFragment.cpp:
2917         (WebCore::DocumentFragment::create):
2918         * dom/DocumentFragment.h:
2919         * dom/DocumentFragment.idl:
2920
2921 2014-01-14  ChangSeok Oh  <changseok.oh@collabora.com>
2922
2923         Unreviewed build fix after r161980.
2924
2925         CachedResourcesLoader.h should not belong to the CSS_SHADERS flag since it is used
2926         out of the flag so it causes a compile failure when svg and css shaders are concurrently disabled.
2927
2928         * css/StyleResolver.cpp:
2929
2930 2014-01-14  Andreas Kling  <akling@apple.com>
2931
2932         Pack ResourceResponse harder.
2933         <https://webkit.org/b/127005>
2934
2935         Re-arrange the members of ResourceResponse to reduce padding,
2936         shrinking it by 8 bytes.
2937
2938         This nudges CachedResource and CachedImage into smaller size
2939         classes, yielding a ~700 kB progression on Membuster3.
2940
2941         Reviewed by Anders Carlsson.
2942
2943         * platform/network/ResourceResponseBase.cpp:
2944         (WebCore::ResourceResponseBase::ResourceResponseBase):
2945         * platform/network/ResourceResponseBase.h:
2946         * platform/network/cf/ResourceResponse.h:
2947         (WebCore::ResourceResponse::ResourceResponse):
2948
2949 2014-01-14  Dirk Schulze  <krit@webkit.org>
2950
2951         Remove unnecessary WebkitCSSSVGDocumentValue
2952         https://bugs.webkit.org/show_bug.cgi?id=126997
2953
2954         Reviewed by Andreas Kling.
2955
2956         Removing redundant code path. WebkitCSSSVGDocumentValue
2957         can be expressed by a CSSPrimitiveValue.
2958
2959         No new tests.
2960
2961         * CMakeLists.txt:
2962         * GNUmakefile.list.am:
2963         * WebCore.order:
2964         * WebCore.vcxproj/WebCore.vcxproj:
2965         * WebCore.vcxproj/WebCore.vcxproj.filters:
2966         * WebCore.xcodeproj/project.pbxproj:
2967         * css/CSSParser.cpp:
2968         (WebCore::CSSParser::parseFilter):
2969         * css/CSSValue.cpp:
2970         (WebCore::CSSValue::equals):
2971         (WebCore::CSSValue::cssText):
2972         (WebCore::CSSValue::destroy):
2973         * css/CSSValue.h:
2974         * css/StyleResolver.cpp:
2975         (WebCore::StyleResolver::createFilterOperations):
2976         * css/StyleResolver.h:
2977         * css/WebKitCSSSVGDocumentValue.cpp: Removed.
2978         * css/WebKitCSSSVGDocumentValue.h: Removed.
2979         * css/CSSComputedStyleDeclaration.cpp:
2980         (WebCore::ComputedStyleExtractor::valueForFilter):
2981         * css/WebKitCSSFilterValue.cpp:
2982         (WebCore::WebKitCSSFilterValue::customCSSText):
2983
2984 2014-01-14  Mihnea Ovidenie  <mihnea@adobe.com>
2985
2986         [CSSRegions] Incorrect repaint of fixed element with transformed parent
2987         https://bugs.webkit.org/show_bug.cgi?id=125756
2988
2989         Reviewed by Simon Fraser.
2990
2991         When collecting the layers for fixed positioned elements with named flow
2992         as a containing block, use layers collection at named flow layer level
2993         instead of relying on the positioned elements collection.
2994
2995         With this approach, there are situations with nested named flows laid out in
2996         auto-height regions and thus assuming 2 step layouts, in which is enough to lay
2997         out the inner named flow once instead of twice with a performance gain.
2998         In such situations, the layers lists for the inner named flow are not yet updated
2999         when collectFixedPositionedLayers is called to paint the fixed positioned layers.
3000         Therefore I called updateLayerListsIfNeeded for all named flows layers, via the flow thread controller, before inspecting the named flow layers to avoid hitting the assertions when
3001         accessing the named flows layers lists.
3002
3003         Tests: fast/regions/repaint/fixed-in-named-flow-cb-changed.html
3004                fast/regions/repaint/fixed-in-named-flow-cb-changed2.html
3005
3006         * rendering/FlowThreadController.cpp:
3007         (WebCore::FlowThreadController::updateNamedFlowsLayerListsIfNeeded):
3008         (WebCore::FlowThreadController::collectFixedPositionedLayers):
3009         * rendering/FlowThreadController.h:
3010         * rendering/RenderLayer.cpp:
3011         (WebCore::RenderLayer::paintFixedLayersInNamedFlows):
3012
3013 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3014
3015         Unreviewed test fix.
3016
3017         * html/canvas/WebGLRenderingContext.cpp:
3018         (WebCore::WebGLRenderingContext::validateCompressedTexDimensions): Emit
3019         error state expected by Khronos test suite.
3020
3021 2014-01-14  Brady Eidson  <beidson@apple.com>
3022
3023         IDB: create object store support
3024         <rdar://problem/15779639> and https://bugs.webkit.org/show_bug.cgi?id=127011
3025
3026         Reviewed by Anders Carlsson.
3027
3028         Split the 3 objects declared in IDBDatabaseMetadata into their own header files:
3029         * Modules/indexeddb/IDBDatabaseMetadata.h:
3030         * Modules/indexeddb/IDBIndexMetadata.h:
3031         (WebCore::IDBIndexMetadata::IDBIndexMetadata):
3032         * Modules/indexeddb/IDBObjectStoreMetadata.h:
3033         (WebCore::IDBObjectStoreMetadata::IDBObjectStoreMetadata):
3034
3035         Add cross thread copying for IDBDatabaseMetadata:
3036         * platform/CrossThreadCopier.cpp:
3037         (WebCore::IDBIndexMetadata>::copy):
3038         (WebCore::IDBObjectStoreMetadata>::copy):
3039         * platform/CrossThreadCopier.h:
3040
3041         * WebCore.exp.in:
3042         * WebCore.xcodeproj/project.pbxproj:
3043
3044 2014-01-14  Joseph Pecoraro  <pecoraro@apple.com>
3045
3046         [iOS] Crash in NavigatorBase::vendor loading apple.com
3047         https://bugs.webkit.org/show_bug.cgi?id=127028
3048
3049         Reviewed by Daniel Bates.
3050
3051         Export function pointers to be filled in with WebKitSystemInterface functions.
3052
3053         * WebCore.exp.in:
3054
3055 2014-01-14  Jeffrey Pfau  <jpfau@apple.com>
3056
3057         Build fix after r162034
3058
3059         Rubber-stamped by Benjamin Poulain.
3060
3061         * WebCore.exp.in:
3062
3063 2014-01-14  Timothy Hatcher  <timothy@apple.com>
3064
3065         Web Inspector: Resource finish time is sometimes earlier than response received time.
3066
3067         https://bugs.webkit.org/show_bug.cgi?id=127027
3068
3069         Reviewed by Joseph Pecoraro.
3070
3071         * inspector/InspectorResourceAgent.cpp:
3072         (WebCore::InspectorResourceAgent::didFinishLoading): Use currentTime() and not the
3073         passed in finishTime.
3074
3075 2014-01-14  Anders Carlsson  <andersca@apple.com>
3076
3077         Follow up build fix attempt.
3078
3079         * WebCore.exp.in:
3080
3081 2014-01-14  Roger Fong  <roger_fong@apple.com>
3082
3083         Add support for handling WebGL load policies.
3084         https://bugs.webkit.org/show_bug.cgi?id=126935
3085         <rdar://problem/15790448>.
3086
3087         Reviewed by Brent Fulgham.
3088
3089         * WebCore.xcodeproj/project.pbxproj: Copy over HTMLCanvasElement.h to the private headers directory.
3090         * html/HTMLCanvasElement.cpp: Show the policy dialog and retrieve policies as necessary.
3091         (WebCore::HTMLCanvasElement::getContext): Make sure that WebGL is allowed on the site.
3092                                                   If it isn't, be sure to notify the frame loader client that
3093                                                   the site is trying to create a WebGL context.
3094         * loader/FrameLoaderClient.h:
3095         (WebCore::FrameLoaderClient::webGLPolicyForHost): Used to get the WebGL load policy for a site.
3096         * loader/FrameLoaderTypes.h:
3097         * page/ChromeClient.h:
3098         (WebCore::ChromeClient::webGLContextCreated): Called when a site is creating a WebGL context.
3099
3100 2014-01-14  Anders Carlsson  <andersca@apple.com>
3101
3102         Create separate progress tracker clients
3103         https://bugs.webkit.org/show_bug.cgi?id=127025
3104
3105         Reviewed by Sam Weinig.
3106
3107         * loader/ProgressTracker.cpp:
3108         (WebCore::ProgressTracker::~ProgressTracker):
3109         * loader/ProgressTrackerClient.h:
3110
3111 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3112
3113         [WebGL] WebGLRenderingContext::validateCompressedTexDimensions improperly calculates values
3114         https://bugs.webkit.org/show_bug.cgi?id=126926
3115
3116         Reviewed by Dean Jackson.
3117
3118         Test coverage in fast/canvas/webgl/webgl-compressed-texture-size-limit.html
3119
3120         * html/canvas/WebGLRenderingContext.cpp:
3121         (WebCore::WebGLRenderingContext::compressedTexImage2D): Pass target to
3122         validation function.
3123         (WebCore::WebGLRenderingContext::validateCompressedTexDimensions): Revise
3124         calculation to also confirm size is in bounds.
3125         (WebCore::WebGLRenderingContext::validateCompressedTexSubDimensions): Pass
3126        target to validation function.
3127         * html/canvas/WebGLRenderingContext.h: Modify signature.
3128
3129 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3130
3131         On iOS, we never want to make scrollbar layers
3132         https://bugs.webkit.org/show_bug.cgi?id=127024
3133         <rdar://problem/15745768>
3134
3135         Reviewed by Dean Jackson.
3136
3137         On platforms that delegate scrolling, don't try to make layers
3138         for scrollbars.
3139         
3140         This fixes a crash in RenderLayerCompositor::updateOverflowControlsLayers()
3141         where m_overflowControlsHostLayer is null.
3142
3143         * rendering/RenderLayerCompositor.cpp:
3144         (WebCore::RenderLayerCompositor::shouldCompositeOverflowControls):
3145
3146 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3147
3148         Avoid PLATFORM() macros in exported headers.
3149
3150         * platform/ios/WebEvent.h:
3151
3152 2014-01-14  Daniel Bates  <dabates@apple.com>
3153
3154         [iOS] Build fix for 32-bit simulator and device
3155
3156         CGFloat is defined to be float, double for 32-bit, and 64-bit devices respectively.
3157         Because WebCore::createCGColorWithDeviceWhite() takes CGFloat arguments we need to
3158         list both the float and double-variants of this symbol in WebCore.exp.in. Currently
3159         we only list the version whose arguments are of type double.
3160
3161         * WebCore.exp.in:
3162
3163 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3164
3165         Clean up exports and headers for iOS.
3166         
3167         Don't use ENABLE() macro in an exported header.
3168
3169         * platform/ios/wak/WAKResponder.h:
3170
3171 2014-01-14  Daniel Bates  <dabates@apple.com>
3172
3173         [iOS] Move symbol __ZN7WebCore34registerQLPreviewConverterIfNeededEP5NSURLP8NSStringP6NSData to
3174         section USE(QUICK_LOOK)
3175
3176         * WebCore.exp.in:
3177
3178 2014-01-14  Anders Carlsson  <andersca@apple.com>
3179
3180         Clean up DNSResolveQueue
3181         https://bugs.webkit.org/show_bug.cgi?id=127007
3182
3183         Reviewed by Geoffrey Garen.
3184
3185         Move the shared() getter out of line and make it use NeverDestroyed.
3186         Add a Timer member variable instead of inheriting from TimerBase. 
3187         Use std::atomic<int> for the m_requestsInFlight member variable.
3188
3189         * platform/network/DNSResolveQueue.cpp:
3190         (WebCore::DNSResolveQueue::shared):
3191         (WebCore::DNSResolveQueue::DNSResolveQueue):
3192         (WebCore::DNSResolveQueue::add):
3193         (WebCore::DNSResolveQueue::timerFired):
3194         * platform/network/DNSResolveQueue.h:
3195         (WebCore::DNSResolveQueue::decrementRequestCount):
3196
3197 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3198
3199         Two more exports for iOS.
3200
3201         * WebCore.exp.in:
3202
3203 2014-01-14  Csaba Osztrogonác  <ossy@webkit.org>
3204
3205         One more buildfix after r161999.
3206
3207         * Modules/webaudio/MediaStreamAudioSource.h:
3208
3209 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3210
3211         Export __ZN7WebCore11FileChooser16chooseMediaFilesERKN3WTF6VectorINS1_6StringELm0ENS1_15CrashOnOverflowEEERKS3_PNS_4IconE
3212         to fix WK1 iOS linking.
3213
3214         * WebCore.exp.in:
3215
3216 2014-01-14  Simon Fraser  <simon.fraser@apple.com>
3217
3218         iOS build fixing: export required by iOS WebKit1.
3219
3220         * WebCore.exp.in:
3221
3222 2014-01-14  Commit Queue  <commit-queue@webkit.org>
3223
3224         Unreviewed, rolling out r162000.
3225         http://trac.webkit.org/changeset/162000
3226         https://bugs.webkit.org/show_bug.cgi?id=127009
3227
3228         API versioning is wrong (Requested by rfong on #webkit).
3229
3230         * WebCore.xcodeproj/project.pbxproj:
3231         * html/HTMLCanvasElement.cpp:
3232         (WebCore::HTMLCanvasElement::getContext):
3233         * loader/FrameLoaderClient.h:
3234         * loader/FrameLoaderTypes.h:
3235         * page/ChromeClient.h:
3236
3237 2014-01-14  Bear Travis  <betravis@adobe.com>
3238
3239         [CSS Shapes] Move CSSPrimitiveValue <-> LayoutBox Conversion to CSSPrimitiveValueMappings
3240         https://bugs.webkit.org/show_bug.cgi?id=126719
3241
3242         Reviewed by Dirk Schulze.
3243
3244         The standard location for conversions to/from CSSPrimitiveValues is CSSPrimitiveValueMappings.
3245         This patch moves the conversion for LayoutBoxes from BasicShapeFunctions to
3246         CSSPrimitiveValueMappings.h.
3247
3248         Refactoring, no new tests.
3249
3250         * css/BasicShapeFunctions.cpp:
3251         (WebCore::valueForBasicShape):
3252         (WebCore::basicShapeForValue):
3253         * css/CSSComputedStyleDeclaration.cpp:
3254         (WebCore::ComputedStyleExtractor::propertyValue):
3255         * css/CSSPrimitiveValueMappings.h:
3256         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
3257         (WebCore::CSSPrimitiveValue::operator LayoutBox):
3258         * css/DeprecatedStyleBuilder.cpp:
3259         (WebCore::ApplyPropertyClipPath::applyValue):
3260         (WebCore::ApplyPropertyShape::applyValue):
3261
3262 2014-01-09  Roger Fong  <roger_fong@apple.com>
3263
3264         Add support for handling WebGL load policies.
3265         https://bugs.webkit.org/show_bug.cgi?id=126935
3266         <rdar://problem/15790448>.
3267
3268         Reviewed by Brent Fulgham.
3269
3270         * WebCore.xcodeproj/project.pbxproj: Copy over HTMLCanvasElement.h to the private headers directory.
3271         * html/HTMLCanvasElement.cpp: Show the policy dialog and retrieve policies as necessary.
3272         (WebCore::HTMLCanvasElement::getContext): Make sure that WebGL is allowed on the site.
3273                                                   If it isn't, be sure to notify the frame loader client that
3274                                                   the site is trying to create a WebGL context.
3275         * loader/FrameLoaderClient.h:
3276         (WebCore::FrameLoaderClient::webGLPolicyForHost): Used to get the WebGL load policy for a site.
3277         * loader/FrameLoaderTypes.h:
3278         * page/ChromeClient.h:
3279         (WebCore::ChromeClient::webGLContextCreated): Called when a site is creating a WebGL context.
3280
3281 2014-01-14  Anders Carlsson  <andersca@apple.com>
3282
3283         Get rid of ThreadRestrictionVerifier
3284         https://bugs.webkit.org/show_bug.cgi?id=127004
3285
3286         Reviewed by Sam Weinig.
3287
3288         Remove now unneeded calls.
3289
3290         * loader/icon/IconDatabase.cpp:
3291         (WebCore::IconDatabase::defaultIcon):
3292         (WebCore::IconDatabase::setIconDataForIconURL):
3293         (WebCore::IconDatabase::getOrCreateIconRecord):
3294         (WebCore::IconDatabase::readFromDatabase):
3295
3296 2014-01-14  Daniel Bates  <dabates@apple.com>
3297
3298         [iOS] Directly allocate NSMutableDictionary in QLPreviewConverterDictionary() and QLContentDictionary()
3299         https://bugs.webkit.org/show_bug.cgi?id=126999
3300         <rdar://problem/15810305>
3301
3302         Reviewed by Joseph Pecoraro.
3303
3304         Fixes an issue where we may crash when subsequently accessing WebCore::QLPreviewConverterDictionary()
3305         or WebCore::QLContentDictionary(). Currently neither of these functions retain'ed the NSMutable dictionary
3306         returned by [NSMutableDictionary dictionary]. Instead, we should allocate and initialize NSMutableDictionary
3307         directly to ensure that the dictionary is retained.
3308
3309         * platform/network/ios/QuickLook.mm:
3310         (QLPreviewConverterDictionary):
3311         (QLContentDictionary):
3312
3313 2014-01-14  Brent Fulgham  <bfulgham@apple.com>
3314
3315         [WebGL] Invalid range checking in WebGLRenderingContext::validateTexFuncLevel
3316         https://bugs.webkit.org/show_bug.cgi?id=126925
3317
3318         Reviewed by Dean Jackson.
3319
3320         Added fast/canvas/webgl/webgl-compressed-texture-size-limit.html.
3321
3322         * html/canvas/WebGLRenderingContext.cpp:
3323         (WebCore::WebGLRenderingContext::validateTexFuncLevel): Avoid off-by-one error
3324
3325 2014-01-14  Mark Rowe  <mrowe@apple.com>
3326
3327         WebCore icon database appears to leak sudden termination assertions
3328         <https://webkit.org/b/126971> / <rdar://problem/15808797>
3329
3330         Introduce an RAII wrapper around disableSuddenTermination / enableSuddenTermination
3331         and adopt it in IconDatabase to address the incorrect management of sudden termination.
3332
3333         IconDatabase now owns up to two SuddenTerminationDisabler objects. One ensures that
3334         sudden termination is disabled while we're waiting on the sync timer to fire. The second
3335         ensures that sudden termination is disabled while we're waiting on the sync thread to
3336         process any pending work.
3337
3338         Reviewed by Alexey Proskuryakov.
3339
3340         * loader/icon/IconDatabase.cpp:
3341         (WebCore::IconDatabase::IconDatabase):
3342         (WebCore::IconDatabase::wakeSyncThread): Disable sudden termination until the sync thread
3343         has finished this unit of work.
3344         (WebCore::IconDatabase::scheduleOrDeferSyncTimer): Disable sudden termination until the
3345         sync timer has fired.
3346         (WebCore::IconDatabase::syncTimerFired): Clear the member variable to reenable sudden termination.
3347         (WebCore::IconDatabase::syncThreadMainLoop): Taken ownership of the SuddenTerminationDisabler
3348         instance when we start processing a unit of work. Discard the object when our work is complete.
3349         * loader/icon/IconDatabase.h:
3350         * platform/SuddenTermination.h:
3351         (WebCore::SuddenTerminationDisabler::SuddenTerminationDisabler): Disable sudden termination when created.
3352         (WebCore::SuddenTerminationDisabler::~SuddenTerminationDisabler): Enable it when destroyed.
3353
3354 2014-01-14  Joseph Pecoraro  <pecoraro@apple.com>
3355
3356         Web Inspector: For Remote Inspection link WebProcess's to their parent UIProcess
3357         https://bugs.webkit.org/show_bug.cgi?id=126995
3358
3359         Reviewed by Timothy Hatcher.
3360
3361         * inspector/InspectorClient.h:
3362         (WebCore::InspectorClient::parentProcessIdentifier):
3363         Client method intended for WebKit2 so a WebProcess can link to its UIProcess.
3364
3365         * page/PageDebuggable.h:
3366         * page/PageDebuggable.cpp:
3367         (WebCore::PageDebuggable::parentProcessIdentifier):
3368         Provide parent process identifier if there is one.
3369
3370 2014-01-14  Tim Horton  <timothy_horton@apple.com>
3371
3372         iOS WebKit2 build fixes, part 2
3373
3374         * WebCore.exp.in:
3375         Export some more symbols.
3376
3377 2014-01-14  Brian J. Burg  <burg@cs.washington.edu>
3378
3379         Add ENABLE(WEB_REPLAY) feature flag to the build system
3380         https://bugs.webkit.org/show_bug.cgi?id=126949
3381
3382         Reviewed by Joseph Pecoraro.
3383
3384         * Configurations/FeatureDefines.xcconfig:
3385
3386 2014-01-10  Jer Noble  <jer.noble@apple.com>
3387
3388         Crash in WebCore::MediaSourcePrivateAVFObjC::hasAudio const + 13
3389         https://bugs.webkit.org/show_bug.cgi?id=126768
3390
3391         Reviewed by Eric Carlson.
3392
3393         Null-check m_mediaSourcePrivate before calling.
3394
3395         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
3396         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::hasVideo):
3397         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::hasAudio):
3398         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekInternal):
3399
3400 2014-01-14  Piotr Grad  <p.grad@samsung.com>
3401
3402         [GStreamer] Playback rate is not set when pipeline is not ready.
3403         https://bugs.webkit.org/show_bug.cgi?id=126692
3404
3405         Reviewed by Philippe Normand.
3406
3407         No new tests. Covered by existing tests.
3408
3409         Added new method updatePlaybackRate which is called when playback rate change is possible.
3410         Added m_lastPlaybackRate in order to retrieve last correct playback rate and notify upper
3411         layers about that setting playback rate failed.
3412
3413         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
3414         (WebCore::MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer):
3415         (WebCore::MediaPlayerPrivateGStreamer::updatePlaybackRate):
3416         (WebCore::MediaPlayerPrivateGStreamer::setRate):
3417         (WebCore::MediaPlayerPrivateGStreamer::updateStates):
3418         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
3419
3420 2014-01-14  Commit Queue  <commit-queue@webkit.org>
3421
3422         Unreviewed, rolling out r161978.
3423         http://trac.webkit.org/changeset/161978
3424         https://bugs.webkit.org/show_bug.cgi?id=126992
3425
3426         Test case causes crash on some hardware (Requested by bfulgham
3427         on #webkit).
3428
3429         * html/canvas/WebGLRenderingContext.cpp:
3430         (WebCore::WebGLRenderingContext::validateTexFuncLevel):
3431
3432 2014-01-14  Commit Queue  <commit-queue@webkit.org>
3433
3434         Unreviewed, rolling out r161964 and r161965.
3435         http://trac.webkit.org/changeset/161964
3436         http://trac.webkit.org/changeset/161965
3437         https://bugs.webkit.org/show_bug.cgi?id=126988
3438
3439         Tests do not pass on the bots because of slight color
3440         differences. The tests should be redone with squared results
3441         and blending that leads to stable colors. (Requested by krit_
3442         on #webkit).
3443
3444         * platform/graphics/CrossfadeGeneratedImage.cpp:
3445         (WebCore::CrossfadeGeneratedImage::draw):
3446         * svg/graphics/SVGImage.cpp:
3447         (WebCore::SVGImage::drawPatternForContainer):
3448         * svg/graphics/SVGImage.h:
3449         * svg/graphics/SVGImageForContainer.cpp:
3450         (WebCore::SVGImageForContainer::drawPattern):
3451
3452 2014-01-14  Hans Muller  <hmuller@adobe.com>
3453
3454         [CSS Shapes] Shape images are now <image> types, not just URIs
3455         https://bugs.webkit.org/show_bug.cgi?id=125224
3456
3457         Reviewed by Andreas Kling.
3458
3459         Added support for image-set valued shapes. Added an optional ResourceLoaderOptions
3460         parameter to CSSImageSetValue::cachedImageSet() to enable CORS-enabled fetch of
3461         image-set images. This change is based on a similar patch for ordinary shape image values:
3462         https://bugs.webkit.org/show_bug.cgi?id=123114.
3463
3464         Tests: fast/shapes/shape-inside/shape-inside-image-set.html
3465                fast/shapes/shape-outside-floats/shape-outside-image-set.html
3466
3467         * css/CSSImageSetValue.cpp:
3468         (WebCore::CSSImageSetValue::cachedImageSet):
3469         * css/CSSImageSetValue.h:
3470         * css/CSSParser.cpp:
3471         (WebCore::CSSParser::parseShapeProperty):
3472         * css/DeprecatedStyleBuilder.cpp:
3473         (WebCore::ApplyPropertyShape::applyValue):
3474         * css/StyleResolver.cpp:
3475         (WebCore::StyleResolver::loadPendingImage):
3476         (WebCore::StyleResolver::loadPendingShapeImage):
3477         * css/StyleResolver.h:
3478         * rendering/shapes/Shape.cpp:
3479         (WebCore::Shape::createShape):