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