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