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