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