1 2014-01-21 Commit Queue <commit-queue@webkit.org>
3 Unreviewed, rolling out r162452.
4 http://trac.webkit.org/changeset/162452
5 https://bugs.webkit.org/show_bug.cgi?id=127366
7 broke a few tests on all Mac WebKit1 bots (Requested by
11 * page/FocusController.cpp:
12 (WebCore::FocusController::FocusController):
13 (WebCore::FocusController::setFocused):
14 (WebCore::FocusController::setActive):
15 (WebCore::FocusController::setContentIsVisible):
16 * page/FocusController.h:
17 (WebCore::FocusController::isActive):
18 (WebCore::FocusController::isFocused):
20 (WebCore::Page::Page):
21 (WebCore::Page::setIsInWindow):
22 (WebCore::Page::setIsVisuallyIdle):
23 (WebCore::Page::setIsVisible):
24 (WebCore::Page::visibilityState):
25 (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
27 (WebCore::Page::isVisible):
28 (WebCore::Page::isInWindow):
30 2014-01-21 Chris Fleizach <cfleizach@apple.com>
32 AX: Mac: Expose the visible text of a password field to AX
33 https://bugs.webkit.org/show_bug.cgi?id=127353
35 Reviewed by Brent Fulgham.
37 The Mac platform should now expose the rendered value of password fields through AX.
39 Test: accessibility/password-field-value.html
41 * accessibility/AccessibilityRenderObject.cpp:
42 (WebCore::AccessibilityRenderObject::textLength):
43 (WebCore::AccessibilityRenderObject::passwordFieldValue):
45 2014-01-21 Robert Sipka <sipka@inf.u-szeged.hu>
47 Support SSL error handling in case of synchronous job.
48 https://bugs.webkit.org/show_bug.cgi?id=125301
50 Reviewed by Brent Fulgham.
52 Set ssl error informations for the users.
54 * platform/network/curl/ResourceHandleManager.cpp:
55 (WebCore::ResourceHandleManager::dispatchSynchronousJob):
57 2014-01-21 Simon Fraser <simon.fraser@apple.com>
59 Export systemTotalMemory() and systemMemoryLevel() for MobileSafari
60 https://bugs.webkit.org/show_bug.cgi?id=127360
62 Reviewed by Andy Estes.
64 MobileSafari inappropriately calls these WebCore functions directly,
69 2014-01-21 Simon Fraser <simon.fraser@apple.com>
71 Clean up PLATFORM(IOS) code related to the custom fixed position layout rect
72 https://bugs.webkit.org/show_bug.cgi?id=127362
74 Reviewed by Dave Hyatt.
76 Various platforms customize the rect used to layout position:fixed elements,
77 and each modified RenderBox::availableLogicalHeight/WidthUsing() in different
80 Clean this up by adding RenderView::clientLogicalWidth/HeightForFixedPosition(),
81 and moving the platform hacks into it.
83 * rendering/RenderBox.cpp:
84 (WebCore::RenderBox::availableLogicalHeightUsing):
85 (WebCore::RenderBox::containingBlockLogicalWidthForPositioned):
86 (WebCore::RenderBox::containingBlockLogicalHeightForPositioned):
87 * rendering/RenderView.cpp:
88 (WebCore::RenderView::clientLogicalWidthForFixedPosition):
89 (WebCore::RenderView::clientLogicalHeightForFixedPosition):
90 * rendering/RenderView.h:
92 2014-01-21 Tamas Gergely <tgergely.u-szeged@partner.samsung.com>
94 ASSERT(time.isFinite()) in SVGSMILElement::createInstanceTimesFromSyncbase
95 <https://webkit.org/b/108184>
97 Reviewed by Philip Rogers.
99 In the case a SMILElement timing had a syncbase dependency on an indefinite value
100 the assert were raised. The assert has been removed and a check has been added
101 instead that prevents the addition of indefinite times to the time list.
103 Test: svg/animations/smil-syncbase-self-dependency.svg
105 * svg/animation/SVGSMILElement.cpp:
106 (WebCore::SVGSMILElement::createInstanceTimesFromSyncbase):
109 2014-01-21 Tim Horton <timothy_horton@apple.com>
111 Address late review naming comments after r162453.
113 * WebCore.xcodeproj/project.pbxproj:
114 * platform/graphics/ca/mac/PlatformCALayerMac.mm:
115 * platform/graphics/mac/CALayerWebAdditions.h: Removed.
116 * platform/graphics/mac/CALayerWebAdditions.mm: Removed.
117 * platform/graphics/mac/WebCoreCALayerExtras.h: Added.
118 * platform/graphics/mac/WebCoreCALayerExtras.mm: Added.
119 (-[CALayer web_disableAllActions]):
121 2014-01-21 Tim Horton <timothy_horton@apple.com>
123 Keep CALayer implicit animation disabling code in a single place
124 https://bugs.webkit.org/show_bug.cgi?id=127355
126 Reviewed by Simon Fraser.
128 * WebCore.xcodeproj/project.pbxproj:
129 Add CALayerWebAdditions.{h,mm}.
131 * platform/graphics/ca/mac/PlatformCALayerMac.mm:
132 (PlatformCALayerMac::commonInit):
133 Remove nullActionsDictionary() and use [CALayer(WebAdditions) web_disableAllActions] instead.
135 * platform/graphics/mac/CALayerWebAdditions.h: Added.
136 * platform/graphics/mac/CALayerWebAdditions.mm: Added.
137 (-[CALayer web_disableAllActions]):
138 Added. Disable all implicit actions on the layer.
140 2014-01-21 Gavin Barraclough <barraclough@apple.com>
142 Change Page, FocusController to use ViewState
143 https://bugs.webkit.org/show_bug.cgi?id=126533
145 Reviewed by Tim Horton.
147 These classes currently maintain a set of separate fields to represent the view state;
148 combine these into a single field, and allow WebPage to send the combined update rather
149 than individual changes.
151 Maintain existing interface for WebKit1 clients.
154 - Added WebCore::setViewState, removed WebCore::setIsVisuallyIdle.
155 * page/FocusController.cpp:
156 (WebCore::FocusController::FocusController):
157 - Initialize combined m_viewState.
158 (WebCore::FocusController::setFocused):
159 - Calls setViewState.
160 (WebCore::FocusController::setFocusedInternal):
161 - setFocused -> setFocusedInternal.
162 (WebCore::FocusController::setViewState):
163 - Added, update all ViewState flags.
164 (WebCore::FocusController::setActive):
165 - Calls setViewState.
166 (WebCore::FocusController::setActiveInternal):
167 - setActive -> setActiveInternal.
168 (WebCore::FocusController::setContentIsVisible):
169 - Calls setViewState.
170 (WebCore::FocusController::setContentIsVisibleInternal):
171 - setContentIsVisible -> setContentIsVisibleInternal.
172 * page/FocusController.h:
173 (WebCore::FocusController::isActive):
174 (WebCore::FocusController::isFocused):
175 (WebCore::FocusController::contentIsVisible):
176 - Implemented in terms of ViewState.
178 (WebCore::Page::Page):
179 - Initialize using PageInitialViewState.
180 (WebCore::Page::setIsInWindow):
181 - Calls setViewState.
182 (WebCore::Page::setIsInWindowInternal):
183 - setIsInWindow -> setIsInWindowInternal.
184 (WebCore::Page::setIsVisuallyIdleInternal):
185 - setIsVisuallyIdle -> setIsVisuallyIdleInternal.
186 (WebCore::Page::setViewState):
187 - Added, update all ViewState flags, including FocusController.
188 (WebCore::Page::setIsVisible):
189 - Calls setViewState.
190 (WebCore::Page::setIsVisibleInternal):
191 - setIsVisible -> setIsVisibleInternal.
192 (WebCore::Page::visibilityState):
193 - m_isVisible -> isVisible()
194 (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged):
195 - m_isVisible -> isVisible()
197 (WebCore::Page::isVisible):
198 (WebCore::Page::isInWindow):
199 - Implemented in terms of ViewState.
200 (WebCore::Page::scriptedAnimationsSuspended):
201 - Combined member fields into ViewState::Flags.
203 2014-01-21 Lauro Neto <lauro.neto@openbossa.org>
205 Remove PLATFORM(NIX) from WebCore
206 https://bugs.webkit.org/show_bug.cgi?id=127299
208 Reviewed by Anders Carlsson.
210 * editing/Editor.cpp:
211 (WebCore::Editor::cut):
212 (WebCore::Editor::copy):
213 (WebCore::Editor::copyImage):
215 * html/HTMLCanvasElement.h:
216 * loader/EmptyClients.h:
217 * loader/FrameLoader.cpp:
218 (WebCore::FrameLoader::defaultObjectContentType):
219 * page/ChromeClient.h:
220 * page/DragController.cpp:
221 (WebCore::DragController::startDrag):
223 * platform/DragData.h:
224 * platform/DragImage.h:
225 * platform/FileSystem.h:
226 * platform/LocalizedStrings.h:
228 * platform/audio/FFTFrame.h:
229 * platform/audio/HRTFElevation.cpp:
230 * platform/cairo/WidgetBackingStore.h:
231 * platform/graphics/ANGLEWebKitBridge.h:
232 * platform/graphics/FontPlatformData.h:
233 * platform/graphics/GLContext.cpp:
234 (WebCore::GLContext::createContextForWindow):
235 * platform/graphics/GLContext.h:
236 * platform/graphics/GraphicsContext3D.h:
237 * platform/graphics/GraphicsContext3DPrivate.cpp:
238 (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
239 * platform/graphics/OpenGLESShims.h:
240 * platform/graphics/OpenGLShims.cpp:
241 (WebCore::getProcAddress):
242 * platform/graphics/OpenGLShims.h:
243 * platform/graphics/PlatformLayer.h:
244 * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
245 * platform/graphics/opengl/Extensions3DOpenGL.cpp:
246 (WebCore::Extensions3DOpenGL::createVertexArrayOES):
247 (WebCore::Extensions3DOpenGL::deleteVertexArrayOES):
248 (WebCore::Extensions3DOpenGL::isVertexArrayOES):
249 (WebCore::Extensions3DOpenGL::bindVertexArrayOES):
250 (WebCore::Extensions3DOpenGL::supportsExtension):
251 * platform/graphics/opengl/Extensions3DOpenGL.h:
252 * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
253 * platform/graphics/opengl/Extensions3DOpenGLES.h:
254 * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
255 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
256 (WebCore::GraphicsContext3D::reshape):
257 * platform/graphics/opengl/TemporaryOpenGLSetting.cpp:
258 * platform/graphics/texmap/TextureMapper.h:
259 * platform/network/ResourceHandle.h:
260 * plugins/PluginPackage.cpp:
261 * plugins/PluginView.cpp:
262 (WebCore::PluginView::PluginView):
263 * plugins/PluginView.h:
264 * plugins/PluginViewNone.cpp:
265 * rendering/SimpleLineLayout.cpp:
266 (WebCore::SimpleLineLayout::canUseFor):
268 2014-01-21 Eric Carlson <eric.carlson@apple.com>
270 Add ‎ ‏ and to WebVTT parser
271 https://bugs.webkit.org/show_bug.cgi?id=85112
273 Reviewed by Jer Noble.
275 No new tests, track-webvtt-tc022-entities.html was updated to test this.
277 * html/track/WebVTTTokenizer.cpp:
278 (WebCore::WebVTTTokenizer::nextToken): Support RLM, LRM, and NBSP entities.
280 2014-01-21 Commit Queue <commit-queue@webkit.org>
282 Unreviewed, rolling out r162354.
283 http://trac.webkit.org/changeset/162354
284 https://bugs.webkit.org/show_bug.cgi?id=127354
286 Appears to have broken accessibility in a non-trivial way
287 (Requested by ap on #webkit).
289 * platform/ScrollView.cpp:
290 (WebCore::ScrollView::updateScrollbars):
292 2014-01-21 Commit Queue <commit-queue@webkit.org>
294 Unreviewed, rolling out r162445.
295 http://trac.webkit.org/changeset/162445
296 https://bugs.webkit.org/show_bug.cgi?id=127351
298 It broke the 32 bit GTK build (Requested by Ossy on #webkit).
300 * rendering/style/StyleRareInheritedData.cpp:
302 2014-01-21 László Langó <llango.u-szeged@partner.samsung.com>
304 Wrong struct size when CSS_IMAGE_ORIENTATION and CSS3_TEXT_DECORATION are enabled.
305 https://bugs.webkit.org/show_bug.cgi?id=127346
309 Reviewed by Csaba Osztrogonác.
311 * rendering/style/StyleRareInheritedData.cpp:
313 2014-01-21 Antti Koivisto <antti@apple.com>
315 Delay initial layer flush during loading on all platforms
316 https://bugs.webkit.org/show_bug.cgi?id=127347
318 Reviewed by Andreas Kling.
320 To reduce unnecessary repaints enable the same behaviour as iOS already has.
322 * rendering/RenderLayerCompositor.cpp:
323 (WebCore::RenderLayerCompositor::RenderLayerCompositor):
325 Set the initial state of m_layerFlushThrottlingEnabled correctly.
327 (WebCore::RenderLayerCompositor::scheduleLayerFlush):
328 (WebCore::RenderLayerCompositor::startInitialLayerFlushTimerIfNeeded):
329 * rendering/RenderLayerCompositor.h:
331 Enable initial layer flush delay on all platforms.
333 2014-01-21 Mihai Tica <mitica@adobe.com>
335 If you set a tiled cross-faded-image or a tiled gradient as
336 a background layer, -webkit-background-blend-mode doesn't work.
337 The problem consists in the blendMode parameter not being set
338 for these specific drawing paths.
340 https://bugs.webkit.org/show_bug.cgi?id=126888
341 Reviewed by Dirk Schulze.
343 Test: css3/compositing/background-blend-mode-tiled-layers.html
345 * platform/graphics/CrossfadeGeneratedImage.cpp:
346 (WebCore::CrossfadeGeneratedImage::drawPattern): Add the blendMode parameter and pass it to ImageBuffer::drawPattern.
347 * platform/graphics/GradientImage.cpp:
348 (WebCore::GradientImage::drawPattern): Add the blendMode parameter and pass it to ImageBuffer::drawPattern.
349 * platform/graphics/ImageBuffer.h: Add a BlendMode parameter to the drawPattern method.
350 * platform/graphics/cairo/ImageBufferCairo.cpp:
351 (WebCore::ImageBuffer::drawPattern): Add the default BlendMode parameter to the method declaration.
352 * platform/graphics/cg/ImageBufferCG.cpp:
353 (WebCore::ImageBuffer::drawPattern): Add and use the blendMode parameter for all the code paths.
354 * platform/graphics/wince/ImageBufferWinCE.cpp:
355 (WebCore::BufferedImage::drawPattern): Add the default BlendMode parameter to the method declaration.
357 2014-01-21 Gurpreet Kaur <k.gurpreet@samsung.com>
359 The WebCore.vcxproj.filters doesnot apply
360 https://bugs.webkit.org/show_bug.cgi?id=127338
362 Reviewed by Csaba Osztrogonác.
364 * WebCore.vcxproj/WebCore.vcxproj.filters:
365 Modified the WebCore.vcxproj.filters so that it is applied when loading
366 WebCore.vcxproj file.
368 2014-01-21 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
370 Fix SVG animations which set rx or ry attributes
371 https://bugs.webkit.org/show_bug.cgi?id=127337
373 Reviewed by Dirk Schulze.
375 Test: svg/stroke/animated-non-scaling-rxry.html
377 Merged from Blink: https://src.chromium.org/viewvc/blink?revision=152376&view=revision
379 * rendering/svg/RenderSVGRect.cpp:
380 (WebCore::RenderSVGRect::updateShapeFromElement):
381 * rendering/svg/SVGPathData.cpp:
382 (WebCore::updatePathFromRectElement):
384 2014-01-21 Krzysztof Czech <k.czech@samsung.com>
386 [ATK] Expose aria-flowto through ATK_RELATION_FLOWS_TO
387 https://bugs.webkit.org/show_bug.cgi?id=127291
389 Reviewed by Mario Sanchez Prada.
391 Test: accessibility/aria-flowto.html
393 Expose aria-flowto through ATK_RELATION_FLOWS_TO according to
394 http://www.w3.org/TR/wai-aria-implementation/#mapping_state-property
396 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
397 (setAtkRelationSetFromCoreObject):
399 2014-01-20 Ryuan Choi <ryuan.choi@samsung.com>
401 [CMAKE] Remove Nix from CMake scripts
402 https://bugs.webkit.org/show_bug.cgi?id=127264
404 Reviewed by Anders Carlsson.
408 2014-01-20 Anders Carlsson <andersca@apple.com>
410 Remove an unused PageGroup function
411 https://bugs.webkit.org/show_bug.cgi?id=127327
413 Reviewed by Andreas Kling.
416 * page/PageGroup.cpp:
419 2014-01-20 Anders Carlsson <andersca@apple.com>
421 Move user style sheet handling to UserContentController
422 https://bugs.webkit.org/show_bug.cgi?id=127322
423 <rdar://problem/15861296>
425 Reviewed by Andreas Kling.
427 * dom/DocumentStyleSheetCollection.cpp:
428 (WebCore::DocumentStyleSheetCollection::updateInjectedStyleSheetCache):
429 * page/PageGroup.cpp:
430 (WebCore::PageGroup::addUserStyleSheetToWorld):
431 (WebCore::PageGroup::removeUserStyleSheetFromWorld):
432 (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
433 (WebCore::PageGroup::removeAllUserContent):
435 * page/UserContentController.cpp:
436 (WebCore::UserContentController::addUserStyleSheet):
437 (WebCore::UserContentController::removeUserStyleSheet):
438 (WebCore::UserContentController::removeUserStyleSheets):
439 (WebCore::UserContentController::removeAllUserContent):
440 (WebCore::UserContentController::invalidateInjectedStyleSheetCacheInAllFrames):
441 * page/UserContentController.h:
442 (WebCore::UserContentController::userStyleSheets):
444 2014-01-20 Benjamin Poulain <benjamin@webkit.org>
446 Add a nicer way to iterate over all the attributes of an element
447 https://bugs.webkit.org/show_bug.cgi?id=127266
449 Reviewed by Geoffrey Garen.
451 When using Element::attributeAt() in a loop, the compiler had to generate two kinds of
453 -If the element data is unique, the length and data comes from the attribute Vector.
454 -If the element data is shared, the data comes from the tail of elementData itself.
456 The choice was done for every access, which caused the assembly to be a little
458 This patch unify the data access by doing everything as a array pointer with offset (getting
459 that data from Vector when necessary).
461 To make it easier to do the right thing, a new iterator was added so that range-based loops
462 can replace all the faulty cases.
464 * css/SelectorChecker.cpp:
465 (WebCore::anyAttributeMatches):
466 * css/SelectorChecker.h:
467 (WebCore::SelectorChecker::checkExactAttribute):
468 * dom/DatasetDOMStringMap.cpp:
469 (WebCore::DatasetDOMStringMap::getNames):
470 (WebCore::DatasetDOMStringMap::item):
471 (WebCore::DatasetDOMStringMap::contains):
473 (WebCore::Element::normalizeAttributes):
474 (WebCore::Element::detachAllAttrNodesFromElement):
475 (WebCore::Element::cloneAttributesFromElement):
477 (WebCore::Element::attributesIterator):
478 * dom/ElementData.cpp:
479 (WebCore::ElementData::isEquivalent):
480 (WebCore::ElementData::findAttributeIndexByNameSlowCase):
482 (WebCore::AttributeConstIterator::AttributeConstIterator):
483 (WebCore::AttributeConstIterator::operator*):
484 (WebCore::AttributeConstIterator::operator->):
485 (WebCore::AttributeConstIterator::operator++):
486 (WebCore::AttributeConstIterator::operator==):
487 (WebCore::AttributeConstIterator::operator!=):
488 (WebCore::AttributeIteratorAccessor::AttributeIteratorAccessor):
489 (WebCore::AttributeIteratorAccessor::begin):
490 (WebCore::AttributeIteratorAccessor::end):
491 (WebCore::ElementData::attributesIterator):
493 (WebCore::Node::isDefaultNamespace):
494 (WebCore::Node::lookupNamespaceURI):
495 (WebCore::Node::lookupNamespacePrefix):
496 (WebCore::Node::compareDocumentPosition):
497 * dom/StyledElement.cpp:
498 (WebCore::StyledElement::makePresentationAttributeCacheKey):
499 (WebCore::StyledElement::rebuildPresentationAttributeStyle):
500 * editing/MarkupAccumulator.cpp:
501 (WebCore::MarkupAccumulator::appendElement):
502 * editing/markup.cpp:
503 (WebCore::completeURLs):
504 (WebCore::StyledMarkupAccumulator::appendElement):
505 * html/HTMLEmbedElement.cpp:
506 (WebCore::HTMLEmbedElement::parametersForPlugin):
507 * html/HTMLObjectElement.cpp:
508 (WebCore::HTMLObjectElement::parametersForPlugin):
509 * inspector/DOMPatchSupport.cpp:
510 (WebCore::DOMPatchSupport::innerPatchNode):
511 (WebCore::DOMPatchSupport::createDigest):
512 * inspector/InspectorDOMAgent.cpp:
513 (WebCore::InspectorDOMAgent::setAttributesAsText):
514 (WebCore::InspectorDOMAgent::buildArrayForElementAttributes):
515 * inspector/InspectorNodeFinder.cpp:
516 (WebCore::InspectorNodeFinder::matchesElement):
517 * page/PageSerializer.cpp:
518 (WebCore::isCharsetSpecifyingNode):
519 * xml/XPathNodeSet.cpp:
520 (WebCore::XPath::NodeSet::traversalSort):
522 (WebCore::XPath::Step::nodesInAxis):
523 * xml/parser/XMLDocumentParserLibxml2.cpp:
524 (WebCore::XMLDocumentParser::XMLDocumentParser):
526 2014-01-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
528 Do refactor in collectGradientAttributes() and renderStyleForLengthResolve()
529 https://bugs.webkit.org/show_bug.cgi?id=126869
531 Reviewed by Dirk Schulze.
533 Some SVG functions have done a first iteration by using a boolean flag. This is
534 one of poor implementations. This patch fix it by extracting a logic into a new method.
535 Additionally it would be good to use do-while() loop instead of using while() in
536 renderStyleForLengthResolving() because a first condition is always true.
538 Merge r165358 from blink.
540 * svg/SVGLengthContext.cpp:
541 (WebCore::renderStyleForLengthResolving):
542 * svg/SVGLinearGradientElement.cpp:
543 (WebCore::setGradientAttributes):
544 (WebCore::SVGLinearGradientElement::collectGradientAttributes):
545 * svg/SVGRadialGradientElement.cpp:
546 (WebCore::setGradientAttributes):
547 (WebCore::SVGRadialGradientElement::collectGradientAttributes):
549 2014-01-20 Anders Carlsson <andersca@apple.com>
551 UserContentController should keep track of user scripts
552 https://bugs.webkit.org/show_bug.cgi?id=127317
553 <rdar://problem/15861296>
555 Reviewed by Andreas Kling.
557 Move handling of user scripts from PageGroup to UserContentController.
560 (WebCore::Frame::injectUserScripts):
561 * page/PageGroup.cpp:
562 (WebCore::PageGroup::addUserScriptToWorld):
563 (WebCore::PageGroup::removeUserScriptFromWorld):
564 (WebCore::PageGroup::removeUserScriptsFromWorld):
565 (WebCore::PageGroup::removeAllUserContent):
567 * page/UserContentController.cpp:
568 (WebCore::UserContentController::addUserScript):
569 (WebCore::UserContentController::removeUserScript):
570 (WebCore::UserContentController::removeUserScripts):
571 (WebCore::UserContentController::removeAllUserContent):
572 * page/UserContentController.h:
573 (WebCore::UserContentController::userScripts):
575 2014-01-20 Anders Carlsson <andersca@apple.com>
577 Give each page a UserContentController
578 https://bugs.webkit.org/show_bug.cgi?id=127315
579 <rdar://problem/15861296>
581 Reviewed by Andreas Kling.
583 Add a UserContentController object to PageGroup and have the page group set it on any
584 pages that are added to the page group.
586 This is another step towards moving handling of user content away from PageGroup and make it
587 possible for each page to have different user content.
590 (WebCore::Page::~Page):
591 (WebCore::Page::setUserContentController):
593 (WebCore::Page::userContentController):
594 * page/PageGroup.cpp:
595 (WebCore::PageGroup::PageGroup):
596 (WebCore::PageGroup::addPage):
597 (WebCore::PageGroup::removePage):
599 * page/UserContentController.cpp:
600 (WebCore::UserContentController::addPage):
601 (WebCore::UserContentController::removePage):
602 * page/UserContentController.h:
604 2014-01-20 Jeremy Jones <jeremyj@apple.com>
606 Add AVKit fullscreen video interface.
607 https://bugs.webkit.org/show_bug.cgi?id=126818
609 Reviewed by Eric Carlson.
611 No new tests, no observable change in functionality.
614 * WebCore.xcodeproj/project.pbxproj:
615 * html/HTMLMediaElement.cpp:
616 (WebCore::HTMLMediaElement::parseAttribute):
617 * html/HTMLMediaElement.h:
618 Add ability for fullscreen to borrow the AVPlayerLayer.
621 (WebCore::Settings::setMediaPlaybackFullscreenAVKit):
622 (WebCore::Settings::mediaPlaybackFullscreenAVKit):
623 Add a disabled setting.
624 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
625 (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen):
626 Enabled fullscreen for iOS.
627 * platform/ios/WebVideoFullscreenControllerAVKit.h: Added.
628 * platform/ios/WebVideoFullscreenControllerAVKit.mm: Added.
629 (-[WebAVPlayerController init]):
630 (-[WebAVPlayerController dealloc]):
631 (-[WebAVPlayerController forwardingTargetForSelector:]):
632 (-[WebAVPlayerController shouldDismissForDone]):
633 (-[WebAVPlayerController play:]):
634 (-[WebAVPlayerController pause:]):
635 (-[WebAVPlayerController togglePlayback:]):
636 (-[WebAVPlayerController isPlaying]):
637 (-[WebAVPlayerController setPlaying:]):
638 (+[WebAVPlayerController keyPathsForValuesAffectingPlaying]):
639 (-[WebAVPlayerController seekToTime:]):
640 (-[WebAVPlayerController updateTimingWithCurrentTime:]):
641 (-[WebAVPlayerController effectiveRate]):
642 (-[WebAVPlayerController setMediaElement:]):
643 (-[WebAVPlayerController handleEvent:]):
644 (-[WebVideoFullscreenController init]):
645 (-[WebVideoFullscreenController dealloc]):
646 (-[WebVideoFullscreenController setMediaElement:]):
647 (-[WebVideoFullscreenController mediaElement]):
648 (-[WebVideoFullscreenController enterFullscreen:]):
649 (-[WebVideoFullscreenController exitFullscreen]):
650 Add WebAVPlayerController for HTMLMediaElememt to interface with AVPlayerViewController.
652 2014-01-20 Zan Dobersek <zdobersek@igalia.com>
654 Replace uses of std::forward<T>(), std::unique_ptr<T>::clear() that landed in r162368
655 https://bugs.webkit.org/show_bug.cgi?id=127306
657 Reviewed by Darin Adler.
659 Address the post-landing reviews of the r162368 commit that moved WebAudio source code to using std::unique_ptr.
660 std::move() should be used instead of std::forward<T>() in HRTFKernel::create().
661 Instead of calling std::unique_ptr<T>::reset(), nullptr should be assigned to that smart pointer to reset it.
663 * Modules/webaudio/ConvolverNode.cpp:
664 (WebCore::ConvolverNode::uninitialize):
665 * Modules/webaudio/DynamicsCompressorNode.cpp:
666 (WebCore::DynamicsCompressorNode::uninitialize):
667 * Modules/webaudio/MediaElementAudioSourceNode.cpp:
668 (WebCore::MediaElementAudioSourceNode::setFormat):
669 * Modules/webaudio/PannerNode.cpp:
670 (WebCore::PannerNode::uninitialize):
671 * platform/audio/AudioChannel.h:
672 (WebCore::AudioChannel::set):
673 * platform/audio/HRTFDatabaseLoader.cpp:
674 (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
675 * platform/audio/HRTFKernel.h:
676 (WebCore::HRTFKernel::create):
678 2014-01-20 Joseph Pecoraro <pecoraro@apple.com>
680 Modernize WebCore/inspector with nullptr
681 https://bugs.webkit.org/show_bug.cgi?id=127303
683 Reviewed by Anders Carlsson.
685 Ran clang-modernize -use-nullptr over WebCore/inspector.
687 * inspector/ConsoleMessage.cpp:
688 (WebCore::ConsoleMessage::ConsoleMessage):
689 * inspector/ConsoleMessage.h:
690 * inspector/ContentSearchUtils.cpp:
691 (WebCore::ContentSearchUtils::findMagicComment):
692 * inspector/DOMEditor.cpp:
693 (WebCore::DOMEditor::SetOuterHTMLAction::SetOuterHTMLAction):
694 * inspector/DOMPatchSupport.cpp:
695 (WebCore::DOMPatchSupport::patchDocument):
696 (WebCore::DOMPatchSupport::patchNode):
697 (WebCore::DOMPatchSupport::diff):
698 (WebCore::DOMPatchSupport::innerPatchChildren):
699 * inspector/InspectorApplicationCacheAgent.cpp:
700 (WebCore::InspectorApplicationCacheAgent::willDestroyFrontendAndBackend):
701 (WebCore::InspectorApplicationCacheAgent::assertFrameWithDocumentLoader):
702 * inspector/InspectorCanvasAgent.cpp:
703 (WebCore::InspectorCanvasAgent::disable):
704 (WebCore::InspectorCanvasAgent::notifyRenderingContextWasWrapped):
705 (WebCore::InspectorCanvasAgent::frameNavigated):
706 * inspector/InspectorConsoleAgent.cpp:
707 (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
708 (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
709 (WebCore::InspectorConsoleAgent::clearMessages):
710 (WebCore::InspectorConsoleAgent::didFinishXHRLoading):
711 (WebCore::InspectorConsoleAgent::didReceiveResponse):
712 (WebCore::InspectorConsoleAgent::didFailLoading):
713 * inspector/InspectorConsoleAgent.h:
714 * inspector/InspectorController.cpp:
715 (WebCore::InspectorController::inspectedPageDestroyed):
716 * inspector/InspectorDOMDebuggerAgent.cpp:
717 (WebCore::InspectorDOMDebuggerAgent::disable):
718 (WebCore::InspectorDOMDebuggerAgent::discardAgent):
719 * inspector/InspectorDOMStorageAgent.cpp:
720 (WebCore::InspectorDOMStorageAgent::~InspectorDOMStorageAgent):
721 (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
722 (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
723 (WebCore::InspectorDOMStorageAgent::findStorageArea):
724 * inspector/InspectorDatabaseAgent.cpp:
725 (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
726 (WebCore::InspectorDatabaseAgent::findByFileName):
727 (WebCore::InspectorDatabaseAgent::databaseForId):
728 * inspector/InspectorDebuggerAgent.cpp:
729 (WebCore::InspectorDebuggerAgent::addMessageToConsole):
730 (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
731 (WebCore::InspectorDebuggerAgent::didParseSource):
732 (WebCore::InspectorDebuggerAgent::didContinue):
733 (WebCore::InspectorDebuggerAgent::clearBreakDetails):
734 * inspector/InspectorFrontendHost.cpp:
735 (WebCore::FrontendMenuProvider::disconnect):
736 (WebCore::InspectorFrontendHost::InspectorFrontendHost):
737 (WebCore::InspectorFrontendHost::disconnectClient):
738 * inspector/InspectorHeapProfilerAgent.cpp:
739 (WebCore::InspectorHeapProfilerAgent::~InspectorHeapProfilerAgent):
740 * inspector/InspectorIndexedDBAgent.cpp:
741 (WebCore::assertDocument):
742 (WebCore::assertIDBFactory):
743 (WebCore::InspectorIndexedDBAgent::requestData):
744 * inspector/InspectorInstrumentation.cpp:
745 (WebCore::frameForScriptExecutionContext):
746 (WebCore::InspectorInstrumentation::willDispatchEventOnWindowImpl):
747 (WebCore::InspectorInstrumentation::didReceiveResourceResponseButCanceledImpl):
748 (WebCore::InspectorInstrumentation::consoleAgentEnabled):
749 (WebCore::InspectorInstrumentation::unregisterInstrumentingAgents):
750 (WebCore::InspectorInstrumentation::retrieveTimelineAgent):
751 (WebCore::InspectorInstrumentation::instrumentingAgentsForPage):
752 (WebCore::InspectorInstrumentation::instrumentingAgentsForWorkerGlobalScope):
753 (WebCore::InspectorInstrumentation::instrumentingAgentsForNonDocumentContext):
754 * inspector/InspectorInstrumentation.h:
755 (WebCore::InspectorInstrumentation::instrumentingAgentsForContext):
756 (WebCore::InspectorInstrumentation::instrumentingAgentsForFrame):
757 (WebCore::InspectorInstrumentation::instrumentingAgentsForDocument):
758 * inspector/InspectorLayerTreeAgent.cpp:
759 (WebCore::InspectorLayerTreeAgent::disable):
760 * inspector/InspectorNodeFinder.cpp:
761 (WebCore::InspectorNodeFinder::searchUsingXPath):
762 * inspector/InspectorOverlay.cpp:
763 (WebCore::buildObjectForElementInfo):
764 * inspector/InspectorPageAgent.cpp:
765 (WebCore::InspectorPageAgent::cachedResourceContent):
766 (WebCore::InspectorPageAgent::sharedBufferContent):
767 (WebCore::InspectorPageAgent::disable):
768 (WebCore::InspectorPageAgent::frameForId):
769 (WebCore::InspectorPageAgent::findFrameWithSecurityOrigin):
770 * inspector/InspectorProfilerAgent.cpp:
771 (WebCore::InspectorProfilerAgent::~InspectorProfilerAgent):
772 * inspector/InspectorProfilerAgent.h:
773 * inspector/InspectorResourceAgent.cpp:
774 (WebCore::buildObjectForResourceResponse):
775 (WebCore::InspectorResourceAgent::willSendRequest):
776 (WebCore::InspectorResourceAgent::didReceiveResponse):
777 (WebCore::InspectorResourceAgent::didFinishLoading):
778 (WebCore::InspectorResourceAgent::didFailLoading):
779 (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache):
780 (WebCore::InspectorResourceAgent::disable):
781 * inspector/InspectorRuntimeAgent.cpp:
782 (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
783 * inspector/InspectorStyleSheet.cpp:
784 (ParsedStyleSheet::ruleSourceDataAt):
785 (WebCore::buildSourceRangeObject):
786 (WebCore::asCSSRuleList):
787 (WebCore::fillMediaListChain):
788 (WebCore::InspectorStyle::setPropertyText):
789 (WebCore::InspectorStyle::populateAllProperties):
790 (WebCore::InspectorStyle::extractSourceData):
791 (WebCore::InspectorStyle::newLineAndWhitespaceDelimiters):
792 (WebCore::InspectorStyleSheet::addRule):
793 (WebCore::InspectorStyleSheet::ruleForId):
794 (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
795 (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
796 (WebCore::InspectorStyleSheet::buildObjectForRule):
797 (WebCore::InspectorStyleSheet::styleForId):
798 (WebCore::InspectorStyleSheet::inspectorStyleForId):
799 (WebCore::InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle):
800 * inspector/InspectorStyleSheet.h:
801 (WebCore::InspectorCSSId::asProtocolValue):
802 * inspector/InspectorTimelineAgent.cpp:
803 (WebCore::InspectorTimelineAgent::stop):
804 (WebCore::InspectorTimelineAgent::willComposite):
805 (WebCore::InspectorTimelineAgent::page):
806 * inspector/InspectorWorkerAgent.cpp:
807 (WebCore::InspectorWorkerAgent::~InspectorWorkerAgent):
808 * inspector/InstrumentingAgents.cpp:
809 (WebCore::InstrumentingAgents::InstrumentingAgents):
810 (WebCore::InstrumentingAgents::reset):
811 * inspector/NetworkResourcesData.cpp:
812 (WebCore::NetworkResourcesData::ResourceData::ResourceData):
813 (WebCore::NetworkResourcesData::xhrReplayData):
814 (WebCore::NetworkResourcesData::removeCachedResource):
815 (WebCore::NetworkResourcesData::resourceDataForRequestId):
816 * inspector/PageConsoleAgent.cpp:
817 (WebCore::PageConsoleAgent::~PageConsoleAgent):
818 * inspector/PageDebuggerAgent.cpp:
819 (WebCore::PageDebuggerAgent::disable):
820 * inspector/PageRuntimeAgent.cpp:
821 (WebCore::PageRuntimeAgent::~PageRuntimeAgent):
822 (WebCore::PageRuntimeAgent::didCreateMainWorldContext):
823 (WebCore::PageRuntimeAgent::reportExecutionContextCreation):
824 * inspector/ScriptArguments.cpp:
825 (WebCore::ScriptArguments::globalState):
826 * inspector/WorkerRuntimeAgent.cpp:
827 (WebCore::WorkerRuntimeAgent::~WorkerRuntimeAgent):
829 2014-01-20 Anders Carlsson <andersca@apple.com>
831 Add empty UserContentController class
832 https://bugs.webkit.org/show_bug.cgi?id=127300
833 <rdar://problem/15861296>
835 Reviewed by Dan Bernstein.
837 This is the first step towards moving handling of user scripts and style sheets from
838 the page group to a separate objects and ultimately make them be settable per page instead of per page group.
841 * GNUmakefile.list.am:
842 * WebCore.vcxproj/WebCore.vcxproj:
843 * WebCore.vcxproj/WebCore.vcxproj.filters:
844 * WebCore.xcodeproj/project.pbxproj:
845 * page/UserContentController.cpp: Added.
846 (WebCore::UserContentController::create):
847 (WebCore::UserContentController::UserContentController):
848 (WebCore::UserContentController::~UserContentController):
849 * page/UserContentController.h: Added.
851 2014-01-20 Joseph Pecoraro <pecoraro@apple.com>
853 Run clang-modernize and let it add a bunch of missing overrides in WebCore/inspector
854 https://bugs.webkit.org/show_bug.cgi?id=127206
856 Reviewed by Anders Carlsson.
858 Let clang-modernize add overrides.
860 * inspector/DOMEditor.cpp:
861 * inspector/InspectorApplicationCacheAgent.h:
862 * inspector/InspectorCSSAgent.h:
863 * inspector/InspectorCanvasAgent.h:
864 * inspector/InspectorConsoleAgent.h:
865 * inspector/InspectorDOMAgent.h:
866 * inspector/InspectorDOMDebuggerAgent.h:
867 * inspector/InspectorDOMStorageAgent.h:
868 * inspector/InspectorDatabaseAgent.cpp:
869 * inspector/InspectorDatabaseAgent.h:
870 * inspector/InspectorDebuggerAgent.h:
871 * inspector/InspectorFrontendHost.cpp:
872 * inspector/InspectorHeapProfilerAgent.cpp:
873 (WebCore::InspectorHeapProfilerAgent::getHeapSnapshot):
874 (WebCore::InspectorHeapProfilerAgent::takeHeapSnapshot):
875 * inspector/InspectorHeapProfilerAgent.h:
876 * inspector/InspectorHistory.cpp:
877 * inspector/InspectorIndexedDBAgent.cpp:
878 * inspector/InspectorIndexedDBAgent.h:
879 * inspector/InspectorInputAgent.h:
880 * inspector/InspectorLayerTreeAgent.h:
881 * inspector/InspectorMemoryAgent.h:
882 * inspector/InspectorPageAgent.h:
883 * inspector/InspectorProfilerAgent.cpp:
884 * inspector/InspectorProfilerAgent.h:
885 * inspector/InspectorResourceAgent.h:
886 * inspector/InspectorRuntimeAgent.h:
887 * inspector/InspectorStyleSheet.h:
888 * inspector/InspectorTimelineAgent.h:
889 * inspector/InspectorWorkerAgent.cpp:
890 * inspector/InspectorWorkerAgent.h:
891 * inspector/PageConsoleAgent.h:
892 * inspector/PageDebuggerAgent.h:
893 * inspector/PageRuntimeAgent.h:
894 * inspector/WorkerConsoleAgent.h:
895 * inspector/WorkerDebuggerAgent.cpp:
896 * inspector/WorkerInspectorController.cpp:
897 * inspector/WorkerRuntimeAgent.h:
899 2014-01-20 Zan Dobersek <zdobersek@igalia.com>
901 Move WebAudio source code to std::unique_ptr
902 https://bugs.webkit.org/show_bug.cgi?id=127274
904 Reviewed by Eric Carlson.
906 Move from using OwnPtr and PassOwnPtr to using std::unique_ptr and move semantics
907 in the WebAudio module and the WebAudio code in the platform layer.
909 * Modules/webaudio/AsyncAudioDecoder.cpp:
910 * Modules/webaudio/AsyncAudioDecoder.h:
911 * Modules/webaudio/AudioBasicInspectorNode.cpp:
912 (WebCore::AudioBasicInspectorNode::AudioBasicInspectorNode):
913 * Modules/webaudio/AudioBasicProcessorNode.cpp:
914 (WebCore::AudioBasicProcessorNode::AudioBasicProcessorNode):
915 * Modules/webaudio/AudioBasicProcessorNode.h:
916 * Modules/webaudio/AudioBufferSourceNode.cpp:
917 (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
918 * Modules/webaudio/AudioContext.cpp:
919 * Modules/webaudio/AudioContext.h:
920 * Modules/webaudio/AudioDestinationNode.cpp:
921 (WebCore::AudioDestinationNode::AudioDestinationNode):
922 * Modules/webaudio/AudioNode.cpp:
923 (WebCore::AudioNode::addInput):
924 (WebCore::AudioNode::addOutput):
925 (WebCore::AudioNode::checkNumberOfChannelsForInput):
926 * Modules/webaudio/AudioNode.h:
927 * Modules/webaudio/BiquadFilterNode.cpp:
928 (WebCore::BiquadFilterNode::BiquadFilterNode):
929 * Modules/webaudio/BiquadProcessor.cpp:
930 (WebCore::BiquadProcessor::createKernel):
931 (WebCore::BiquadProcessor::getFrequencyResponse):
932 * Modules/webaudio/BiquadProcessor.h:
933 * Modules/webaudio/ChannelMergerNode.cpp:
934 (WebCore::ChannelMergerNode::ChannelMergerNode):
935 * Modules/webaudio/ChannelSplitterNode.cpp:
936 (WebCore::ChannelSplitterNode::ChannelSplitterNode):
937 * Modules/webaudio/ConvolverNode.cpp:
938 (WebCore::ConvolverNode::ConvolverNode):
939 (WebCore::ConvolverNode::uninitialize):
940 (WebCore::ConvolverNode::setBuffer):
941 * Modules/webaudio/ConvolverNode.h:
942 * Modules/webaudio/DefaultAudioDestinationNode.h:
943 * Modules/webaudio/DelayNode.cpp:
944 (WebCore::DelayNode::DelayNode):
945 * Modules/webaudio/DelayProcessor.cpp:
946 (WebCore::DelayProcessor::createKernel):
947 * Modules/webaudio/DelayProcessor.h:
948 * Modules/webaudio/DynamicsCompressorNode.cpp:
949 (WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
950 (WebCore::DynamicsCompressorNode::initialize):
951 (WebCore::DynamicsCompressorNode::uninitialize):
952 * Modules/webaudio/DynamicsCompressorNode.h:
953 * Modules/webaudio/GainNode.cpp:
954 (WebCore::GainNode::GainNode):
955 * Modules/webaudio/MediaElementAudioSourceNode.cpp:
956 (WebCore::MediaElementAudioSourceNode::MediaElementAudioSourceNode):
957 (WebCore::MediaElementAudioSourceNode::setFormat):
958 * Modules/webaudio/MediaElementAudioSourceNode.h:
959 * Modules/webaudio/MediaStreamAudioDestinationNode.h:
960 * Modules/webaudio/MediaStreamAudioSource.cpp:
961 * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
962 (WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
963 * Modules/webaudio/MediaStreamAudioSourceNode.h:
964 * Modules/webaudio/OscillatorNode.cpp:
965 (WebCore::OscillatorNode::OscillatorNode):
966 * Modules/webaudio/PannerNode.cpp:
967 (WebCore::PannerNode::PannerNode):
968 (WebCore::PannerNode::uninitialize):
969 (WebCore::PannerNode::setPanningModel):
970 * Modules/webaudio/PannerNode.h:
971 * Modules/webaudio/PeriodicWave.cpp:
972 (WebCore::PeriodicWave::createBandLimitedTables):
973 * Modules/webaudio/PeriodicWave.h:
974 * Modules/webaudio/RealtimeAnalyser.cpp:
975 (WebCore::RealtimeAnalyser::RealtimeAnalyser):
976 (WebCore::RealtimeAnalyser::setFftSize):
977 * Modules/webaudio/RealtimeAnalyser.h:
978 * Modules/webaudio/ScriptProcessorNode.cpp:
979 (WebCore::ScriptProcessorNode::ScriptProcessorNode):
980 * Modules/webaudio/WaveShaperDSPKernel.cpp:
981 (WebCore::WaveShaperDSPKernel::lazyInitializeOversampling):
982 * Modules/webaudio/WaveShaperDSPKernel.h:
983 * Modules/webaudio/WaveShaperNode.cpp:
984 (WebCore::WaveShaperNode::WaveShaperNode):
985 * Modules/webaudio/WaveShaperProcessor.cpp:
986 (WebCore::WaveShaperProcessor::createKernel):
987 * Modules/webaudio/WaveShaperProcessor.h:
988 * platform/audio/AudioBus.cpp:
989 (WebCore::AudioBus::AudioBus):
990 (WebCore::AudioBus::copyWithGainFrom):
991 * platform/audio/AudioBus.h:
992 * platform/audio/AudioChannel.cpp:
993 * platform/audio/AudioChannel.h:
994 (WebCore::AudioChannel::AudioChannel):
995 (WebCore::AudioChannel::set):
996 * platform/audio/AudioDSPKernelProcessor.h:
997 * platform/audio/AudioDestination.h:
998 * platform/audio/AudioResampler.cpp:
999 (WebCore::AudioResampler::AudioResampler):
1000 (WebCore::AudioResampler::configureChannels):
1001 * platform/audio/AudioResampler.h:
1002 * platform/audio/AudioSession.h:
1003 * platform/audio/DynamicsCompressor.cpp:
1004 (WebCore::DynamicsCompressor::setNumberOfChannels):
1005 * platform/audio/DynamicsCompressor.h:
1006 * platform/audio/DynamicsCompressorKernel.cpp:
1007 (WebCore::DynamicsCompressorKernel::setNumberOfChannels):
1008 * platform/audio/DynamicsCompressorKernel.h:
1009 * platform/audio/FFTFrame.cpp:
1010 (WebCore::FFTFrame::createInterpolatedFrame):
1011 * platform/audio/FFTFrame.h:
1012 * platform/audio/HRTFDatabase.cpp:
1013 (WebCore::HRTFDatabase::HRTFDatabase):
1014 * platform/audio/HRTFDatabase.h:
1015 * platform/audio/HRTFDatabaseLoader.cpp:
1016 (WebCore::HRTFDatabaseLoader::~HRTFDatabaseLoader):
1017 (WebCore::HRTFDatabaseLoader::load):
1018 * platform/audio/HRTFDatabaseLoader.h:
1019 * platform/audio/HRTFElevation.cpp:
1020 (WebCore::HRTFElevation::createForSubject):
1021 (WebCore::HRTFElevation::createByInterpolatingSlices):
1022 * platform/audio/HRTFElevation.h:
1023 (WebCore::HRTFElevation::HRTFElevation):
1024 * platform/audio/HRTFKernel.cpp:
1025 (WebCore::HRTFKernel::HRTFKernel):
1026 (WebCore::HRTFKernel::createImpulseResponse):
1027 (WebCore::HRTFKernel::createInterpolatedKernel):
1028 * platform/audio/HRTFKernel.h:
1029 (WebCore::HRTFKernel::create):
1030 (WebCore::HRTFKernel::HRTFKernel):
1031 * platform/audio/MultiChannelResampler.cpp:
1032 (WebCore::MultiChannelResampler::MultiChannelResampler):
1033 * platform/audio/MultiChannelResampler.h:
1034 * platform/audio/Panner.cpp:
1035 (WebCore::Panner::create):
1036 * platform/audio/Panner.h:
1037 * platform/audio/Reverb.cpp:
1038 (WebCore::Reverb::initialize):
1039 * platform/audio/Reverb.h:
1040 * platform/audio/ReverbConvolver.h:
1041 * platform/audio/ReverbConvolverStage.cpp:
1042 (WebCore::ReverbConvolverStage::ReverbConvolverStage):
1043 * platform/audio/ReverbConvolverStage.h:
1044 * platform/audio/gstreamer/AudioDestinationGStreamer.cpp:
1045 (WebCore::AudioDestination::create):
1046 * platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:
1047 * platform/audio/ios/AudioDestinationIOS.cpp:
1048 (WebCore::AudioDestination::create):
1049 * platform/audio/ios/AudioSessionIOS.mm:
1050 (WebCore::AudioSession::AudioSession):
1051 * platform/audio/mac/AudioDestinationMac.cpp:
1052 (WebCore::AudioDestination::create):
1053 * platform/audio/mac/AudioDestinationMac.h:
1054 * platform/audio/mac/AudioSessionMac.cpp:
1055 (WebCore::AudioSession::AudioSession):
1057 2014-01-20 Morten Stenshorne <mstensho@opera.com>
1059 Region based multicol: support explicit column breaks
1060 https://bugs.webkit.org/show_bug.cgi?id=123993
1062 Reviewed by David Hyatt.
1064 Merely supporting insertion of explicit (forced) column breaks in
1065 the region based multicol implementation is really simple: just
1066 hook up with what the CSS regions code is already doing.
1068 However, there is one complication: column balancing. In order to
1069 balance columns as nicely as possible when there are explicit
1070 breaks, we need to figure out between which explicit breaks the
1071 implicit breaks will occur (if there's room for any at all).
1073 Tests: fast/multicol/newmulticol/break-after.html
1074 fast/multicol/newmulticol/break-before.html
1075 fast/multicol/newmulticol/breaks-2-columns-3-no-balancing.html
1076 fast/multicol/newmulticol/breaks-2-columns-3.html
1077 fast/multicol/newmulticol/breaks-3-columns-3.html
1078 fast/multicol/newmulticol/fixed-height-fill-balance-2.html
1080 * rendering/RenderBlockFlow.cpp:
1081 (WebCore::RenderBlockFlow::applyBeforeBreak):
1082 (WebCore::RenderBlockFlow::applyAfterBreak): Use the already
1083 existing region breaking code when inserting breaks in region
1085 * rendering/RenderFlowThread.h:
1086 * rendering/RenderMultiColumnBlock.cpp:
1087 (WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock):
1088 (WebCore::RenderMultiColumnBlock::relayoutForPagination): Avoid
1089 re-balancing if the multicol's contents were not laid out. Apart
1090 from being good for performance, this is now necessary because of
1091 how explicit breaks are implemented.
1092 (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild):
1093 Detect if the contents are going to be laid out, or skipped, so
1094 that we can tell if we need to (re-)balance the columns
1096 * rendering/RenderMultiColumnBlock.h:
1097 * rendering/RenderMultiColumnFlowThread.cpp:
1098 (WebCore::RenderMultiColumnFlowThread::addForcedRegionBreak):
1099 Locate the appropriate multi-column set and call its
1101 * rendering/RenderMultiColumnFlowThread.h:
1102 * rendering/RenderMultiColumnSet.cpp:
1103 (WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
1104 (WebCore::RenderMultiColumnSet::findRunWithTallestColumns):
1105 (WebCore::RenderMultiColumnSet::distributeImplicitBreaks): Figure
1106 out how many implicit breaks each single "content run" should
1107 contain. The taller the content run, the more implicit breaks.
1108 (WebCore::RenderMultiColumnSet::calculateBalancedHeight): This is
1109 now a const method that only does half of what the old
1110 calculateBalancedHeight() did. The rest (such as actually storing
1111 the new column height) is done by recalculateBalancedHeight().
1112 (WebCore::RenderMultiColumnSet::clearForcedBreaks): Needs to be
1113 called between each layout pass, to clear the list of "content
1115 (WebCore::RenderMultiColumnSet::addForcedBreak): Only useful when
1116 columns are to be balanced. It receives explicit (forced) breaks
1117 and stores them as "content runs". When layout is done, we'll go
1118 through the list of content runs, and see where implicit breaks
1119 should be inserted (if there's room for any). The goal is to
1120 insert implicit breaks in such a way that the final columns become
1121 as short as possible.
1122 (WebCore::RenderMultiColumnSet::recalculateBalancedHeight):
1123 Calculates and sets a new balanced column height. This used to be
1124 done directly in calculateBalancedHeight(), but that method is now
1125 const and it now only calculates the new height and returns it.
1126 (WebCore::RenderMultiColumnSet::prepareForLayout):
1127 * rendering/RenderMultiColumnSet.h: Remove old data members
1128 intended for forced breaks (they were unused), and introduce a
1129 "content run" vector instead. A new content run is triggered by an
1130 explicit break. This is only used when column balancing is
1131 enabled. When not balanced, RenderMultiColumnSet doesn't need to
1132 do anything when explicit breaks are inserted.
1134 2014-01-20 Eric Carlson <eric.carlson@apple.com>
1136 Allow MediaSessionManager to restrict 'preload' behavior
1137 https://bugs.webkit.org/show_bug.cgi?id=127297
1139 Reviewed by Jer Noble.
1141 Tests: media/video-restricted-no-preload-auto.html
1142 media/video-restricted-no-preload-metadata.html
1144 * html/HTMLMediaElement.cpp:
1145 (WebCore::HTMLMediaElement::parseAttribute): Apply restrictions to preload attribute before
1146 passing to media engine.
1147 (WebCore::HTMLMediaElement::loadResource): Ditto.
1149 * html/HTMLMediaSession.cpp:
1150 (WebCore::HTMLMediaSession::effectivePreloadForElement): New, limit preload according to restrictions.
1151 * html/HTMLMediaSession.h:
1153 * platform/audio/MediaSessionManager.h:
1154 * platform/audio/ios/MediaSessionManagerIOS.mm:
1155 (WebCore::MediaSessionManageriOS::resetRestrictions): Limit preload to metadata only. Drive-by
1156 static deviceClass initialization cleanup.
1158 * testing/Internals.cpp:
1159 (WebCore::Internals::setMediaSessionRestrictions): Support MetadataPreloadingNotPermitted and
1160 AutoPreloadingNotPermitted.
1162 2014-01-20 Andreas Kling <akling@apple.com>
1164 Let RenderImage construct its RenderImageResource.
1165 <https://webkit.org/b/127290>
1167 Everyone who creates a RenderImage immediately follows up with
1168 creating a RenderImageResource and assigning it to the image.
1170 Let the RenderImage constructor do this instead, and make the
1171 imageResource() accessors return references. This exposed a
1172 number of unnecessary null checks.
1174 Also modernized the touched code with std::unique_ptr.
1176 Reviewed by Antti Koivisto.
1178 * html/HTMLImageElement.cpp:
1179 (WebCore::HTMLImageElement::createElementRenderer):
1180 (WebCore::HTMLImageElement::didAttachRenderers):
1181 * html/HTMLPlugInImageElement.cpp:
1182 (WebCore::HTMLPlugInImageElement::createElementRenderer):
1183 * html/HTMLVideoElement.cpp:
1184 (WebCore::HTMLVideoElement::didAttachRenderers):
1185 (WebCore::HTMLVideoElement::parseAttribute):
1186 * html/ImageInputType.cpp:
1187 (WebCore::ImageInputType::createInputRenderer):
1188 (WebCore::ImageInputType::attach):
1189 * loader/ImageLoader.cpp:
1190 (WebCore::ImageLoader::renderImageResource):
1191 * rendering/RenderElement.cpp:
1192 (WebCore::RenderElement::createFor):
1193 * rendering/RenderImage.cpp:
1194 (WebCore::RenderImage::RenderImage):
1195 (WebCore::RenderImage::~RenderImage):
1196 (WebCore::RenderImage::styleDidChange):
1197 (WebCore::RenderImage::imageChanged):
1198 (WebCore::RenderImage::updateIntrinsicSizeIfNeeded):
1199 (WebCore::RenderImage::updateInnerContentRect):
1200 (WebCore::RenderImage::imageDimensionsChanged):
1201 (WebCore::RenderImage::notifyFinished):
1202 (WebCore::RenderImage::paintReplaced):
1203 (WebCore::RenderImage::paintIntoRect):
1204 (WebCore::RenderImage::foregroundIsKnownToBeOpaqueInRect):
1205 (WebCore::RenderImage::minimumReplacedHeight):
1206 (WebCore::RenderImage::computeIntrinsicRatioInformation):
1207 (WebCore::RenderImage::embeddedContentBox):
1208 * rendering/RenderImage.h:
1209 (WebCore::RenderImage::imageResource):
1210 (WebCore::RenderImage::cachedImage):
1211 * rendering/RenderImageResource.h:
1212 * rendering/RenderImageResourceStyleImage.h:
1213 * rendering/RenderMedia.cpp:
1214 (WebCore::RenderMedia::RenderMedia):
1215 * rendering/RenderSnapshottedPlugIn.cpp:
1216 (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
1217 * rendering/RenderSnapshottedPlugIn.h:
1218 * rendering/RenderVideo.cpp:
1219 (WebCore::RenderVideo::calculateIntrinsicSize):
1220 * rendering/style/ContentData.cpp:
1221 (WebCore::ImageContentData::createContentRenderer):
1222 * rendering/svg/RenderSVGImage.cpp:
1223 (WebCore::RenderSVGImage::RenderSVGImage):
1224 (WebCore::RenderSVGImage::~RenderSVGImage):
1225 (WebCore::RenderSVGImage::updateImageViewport):
1226 (WebCore::RenderSVGImage::paint):
1227 (WebCore::RenderSVGImage::paintForeground):
1228 * rendering/svg/RenderSVGImage.h:
1229 * svg/SVGImageElement.cpp:
1230 (WebCore::SVGImageElement::didAttachRenderers):
1232 2014-01-20 Antti Koivisto <antti@apple.com>
1234 Update overlay scrollbars in single pass
1235 https://bugs.webkit.org/show_bug.cgi?id=127289
1237 Reviewed by Anders Carlsson.
1239 * platform/ScrollView.cpp:
1240 (WebCore::ScrollView::updateScrollbars):
1242 Multi-pass scrollbar resolution is only needed for traditional scrollbars. Overlay scrollbars don't affect layout.
1244 2014-01-20 Jochen Eisinger <jochen@chromium.org>
1246 Never send a non-http(s) referrer header even with a referrer policy
1247 https://bugs.webkit.org/show_bug.cgi?id=127172
1249 Reviewed by Alexey Proskuryakov.
1251 This mirrors the code SecurityPolicy::shouldHideReferrer which is used
1252 for ReferrerPolicyDefault.
1254 No new tests, only affects an embedder that registers other schemes,
1257 * page/SecurityPolicy.cpp:
1258 (WebCore::SecurityPolicy::generateReferrerHeader):
1260 2014-01-20 Mihai Tica <mitica@adobe.com>
1262 [CSS Background Blending] Background layer with -webkit-cross-fade doesn't blend
1263 when having -webkit-background-blending applied. Turns out the problem was
1264 the blending parameter not being passed to WebCore::CrossfadeGeneratedImage::draw
1266 https://bugs.webkit.org/show_bug.cgi?id=126887
1268 Reviewed by Dirk Schulze.
1270 Test: css3/compositing/background-blend-mode-crossfade-image.html
1272 * platform/graphics/CrossfadeGeneratedImage.cpp:
1273 (WebCore::CrossfadeGeneratedImage::draw): set blendMode on context.
1275 2013-11-22 Sergio Villar Senin <svillar@igalia.com>
1277 Null-pointer dereference in WebCore::CSSValue::isPrimitiveValue
1278 https://bugs.webkit.org/show_bug.cgi?id=124769
1280 Reviewed by Andreas Kling.
1282 Test: fast/gradients/crash-on-no-position-separator.html
1284 The function parseFillPosition() may not return valid values for
1285 centerX and centerY if the input data is malformed. We need to
1286 check that we get a valid pair of positions before checking that
1287 they're actually valid primitive values in the assertions.
1289 * css/CSSParser.cpp:
1290 (WebCore::CSSParser::parseRadialGradient):
1292 2014-01-20 Mihai Tica <mitica@adobe.com>
1294 Background-blend-mode doesn't work for an element with an
1295 SVG image as background and border-style or padding set.
1296 The problem consisted in the drawing path using the default
1297 blending parameter at all times.
1298 https://bugs.webkit.org/show_bug.cgi?id=118894
1300 Reviewed by Dirk Schulze.
1302 Test: css3/compositing/background-blend-mode-data-uri-svg-image.html
1304 * svg/graphics/SVGImage.cpp:
1305 (WebCore::SVGImage::drawPatternForContainer): Pass blendMode to Image::drawPattern.
1306 * svg/graphics/SVGImage.h: Add a blendMode parameter to drawPatternForContainer.
1307 * svg/graphics/SVGImageForContainer.cpp:
1308 (WebCore::SVGImageForContainer::drawPattern): Pass blendMode to drawPatternForContainer call.
1310 2014-01-20 Zalan Bujtas <zalan@apple.com>
1312 Subpixel layout: setSimpleLineLayoutEnabled() produces different layout when line position has CSS px fractions.
1313 https://bugs.webkit.org/show_bug.cgi?id=126892
1315 Reviewed by Antti Koivisto.
1317 SimpleLineLayout needs to copy normal linebox layout's subpixel rounding strategy to produce
1320 Covered by existing tests.
1322 * rendering/SimpleLineLayoutFunctions.cpp:
1323 (WebCore::SimpleLineLayout::paintFlow):
1325 2014-01-20 Gurpreet Kaur <k.gurpreet@samsung.com>
1327 Col width is not honored when dynamically updated and it would make table narrower
1328 https://bugs.webkit.org/show_bug.cgi?id=104711
1330 Reviewed by Antti Koivisto.
1332 Increasing the table width by increasing the colgroup width
1333 was working but decreasing the table width by decreasing the
1334 colgroup width is not working.
1336 Test: fast/dom/HTMLTableColElement/resize-table-width-using-col-width.html
1338 * rendering/RenderTableCol.cpp:
1339 (WebCore::RenderTableCol::styleDidChange):
1340 When colgroup width is defined table cell should adjust according to
1341 that. On decreasing colgroup width the cells maxPreferredLogicalWidth
1342 was still set to the earlier value. Setting the
1343 setPreferredLogicalWidthsDirty to true so that cells pref width is
1346 2014-01-20 Edit Balint <edbalint@inf.u-szeged.hu>
1348 [CoordinatedGraphics] Segmentation fault at CoordinatedGraphicsScene::clearImageBackingContents
1350 https://bugs.webkit.org/show_bug.cgi?id=125776
1352 Reviewed by Csaba Osztrogonác.
1354 Unexpected behavior occurs in some test cases which leads to segmentation fault.
1356 * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
1357 (WebCore::CompositingCoordinator::removeImageBacking):
1359 2014-01-20 Morten Stenshorne <mstensho@opera.com>
1361 Region based multicol: tall line causes taller multicol container than necessary
1362 https://bugs.webkit.org/show_bug.cgi?id=122550
1364 Detect and report all column breaks, also when there's no pagination strut involved.
1366 This may end up becoming the overall smallest space shortage in some cases,
1367 so we need to report it, to avoid column height over-stretching.
1369 Reviewed by David Hyatt.
1371 Test: fast/multicol/newmulticol/balance10.html
1373 * rendering/RenderBlockFlow.cpp:
1374 (WebCore::RenderBlockFlow::adjustLinePositionForPagination):
1376 2014-01-19 Carlos Garcia Campos <cgarcia@igalia.com>
1378 [GLIB] GVariant floating references are not correctly handled by GRefPtr
1379 https://bugs.webkit.org/show_bug.cgi?id=127246
1381 Reviewed by Martin Robinson.
1383 Do not adopt GVariant floating references, they will be converted
1384 to a full reference by GRefPtr.
1386 * platform/gtk/PasteboardHelper.cpp:
1387 (WebCore::PasteboardHelper::fillSelectionData):
1388 (WebCore::PasteboardHelper::fillDataObjectFromDropData):
1390 2014-01-19 Jinwoo Song <jinwoo7.song@samsung.com>
1392 Use unsigned type for the size of CSSParserValueList
1393 https://bugs.webkit.org/show_bug.cgi?id=127211
1395 Reviewed by Andreas Kling.
1397 * css/CSSParser.cpp: Changed variable type from int to unsigned.
1398 (WebCore::CSSParser::parseValue):
1400 2014-01-19 Jaehun Lim <ljaehun.lim@samsung.com>
1402 Unreviewed build fix after r162293
1406 [ 13%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o
1407 /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp: In member function ‘void WebCore::HTMLTreeBuilder::processStartTagForInTable(WebCore::AtomicHTMLToken*)’:
1408 /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: error: no match for ‘operator!’ in ‘!(WebCore::HTMLTreeBuilder::InsertionMode)12’
1409 /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: candidate is:
1410 /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: operator!(bool) <built-in>
1411 /source/WebKit/Source/WebCore/html/parser/HTMLTreeBuilder.cpp:1037:40: note: no known conversion for argument 1 from ‘WebCore::HTMLTreeBuilder::InsertionMode’ to ‘bool’
1412 make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/html/parser/HTMLTreeBuilder.cpp.o] Error 1
1413 make[1]: *** [Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
1414 make: *** [all] Error 2
1416 * html/parser/HTMLTreeBuilder.cpp:
1417 (WebCore::HTMLTreeBuilder::processStartTagForInTable): Fix ASSERT.
1419 2014-01-19 Anders Carlsson <andersca@apple.com>
1421 Stop using MutexTryLocker in WebCore
1422 https://bugs.webkit.org/show_bug.cgi?id=127254
1424 Reviewed by Andreas Kling.
1426 Instead use std::mutex and std::unique_lock with the std::try_to_lock constructor.
1428 * Modules/webaudio/AudioBufferSourceNode.cpp:
1429 (WebCore::AudioBufferSourceNode::process):
1430 (WebCore::AudioBufferSourceNode::setBuffer):
1431 * Modules/webaudio/AudioBufferSourceNode.h:
1432 * Modules/webaudio/AudioParamTimeline.cpp:
1433 (WebCore::AudioParamTimeline::insertEvent):
1434 (WebCore::AudioParamTimeline::cancelScheduledValues):
1435 (WebCore::AudioParamTimeline::valueForContextTime):
1436 (WebCore::AudioParamTimeline::valuesForTimeRange):
1437 (WebCore::AudioParamTimeline::valuesForTimeRangeImpl):
1438 * Modules/webaudio/AudioParamTimeline.h:
1439 * Modules/webaudio/ConvolverNode.cpp:
1440 (WebCore::ConvolverNode::process):
1441 (WebCore::ConvolverNode::reset):
1442 (WebCore::ConvolverNode::setBuffer):
1443 * Modules/webaudio/ConvolverNode.h:
1444 * Modules/webaudio/MediaElementAudioSourceNode.cpp:
1445 (WebCore::MediaElementAudioSourceNode::setFormat):
1446 (WebCore::MediaElementAudioSourceNode::process):
1447 (WebCore::MediaElementAudioSourceNode::lock):
1448 (WebCore::MediaElementAudioSourceNode::unlock):
1449 * Modules/webaudio/MediaElementAudioSourceNode.h:
1450 * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
1451 (WebCore::MediaStreamAudioSourceNode::setFormat):
1452 (WebCore::MediaStreamAudioSourceNode::process):
1453 * Modules/webaudio/MediaStreamAudioSourceNode.h:
1454 * Modules/webaudio/OscillatorNode.cpp:
1455 (WebCore::OscillatorNode::process):
1456 (WebCore::OscillatorNode::setPeriodicWave):
1457 * Modules/webaudio/OscillatorNode.h:
1458 * Modules/webaudio/PannerNode.cpp:
1459 (WebCore::PannerNode::process):
1460 (WebCore::PannerNode::setPanningModel):
1461 * Modules/webaudio/PannerNode.h:
1462 * Modules/webaudio/WaveShaperProcessor.cpp:
1463 (WebCore::WaveShaperProcessor::setCurve):
1464 (WebCore::WaveShaperProcessor::setOversample):
1465 (WebCore::WaveShaperProcessor::process):
1466 * Modules/webaudio/WaveShaperProcessor.h:
1468 2014-01-19 Alberto Garcia <berto@igalia.com>
1470 Does not build with SVG disabled
1471 https://bugs.webkit.org/show_bug.cgi?id=127248
1473 Reviewed by Sam Weinig.
1475 Add missing #if ENABLE(SVG) guard.
1477 * dom/ElementData.h:
1479 2014-01-19 Anders Carlsson <andersca@apple.com>
1481 Use a strong enum for HTMLTreeBuilder::InsertionMode
1482 https://bugs.webkit.org/show_bug.cgi?id=127252
1484 Reviewed by Antti Koivisto.
1486 * html/parser/HTMLTreeBuilder.cpp:
1487 (WebCore::HTMLTreeBuilder::HTMLTreeBuilder):
1488 (WebCore::HTMLTreeBuilder::constructTree):
1489 (WebCore::HTMLTreeBuilder::processDoctypeToken):
1490 (WebCore::HTMLTreeBuilder::processStartTagForInBody):
1491 (WebCore::HTMLTreeBuilder::processTemplateStartTag):
1492 (WebCore::HTMLTreeBuilder::processColgroupEndTagForInColumnGroup):
1493 (WebCore::HTMLTreeBuilder::closeTheCell):
1494 (WebCore::HTMLTreeBuilder::processStartTagForInTable):
1495 (WebCore::HTMLTreeBuilder::processStartTag):
1496 (WebCore::HTMLTreeBuilder::processBodyEndTagForInBody):
1497 (WebCore::HTMLTreeBuilder::resetInsertionModeAppropriately):
1498 (WebCore::HTMLTreeBuilder::processEndTagForInTableBody):
1499 (WebCore::HTMLTreeBuilder::processEndTagForInRow):
1500 (WebCore::HTMLTreeBuilder::processEndTagForInCell):
1501 (WebCore::HTMLTreeBuilder::processCaptionEndTagForInCaption):
1502 (WebCore::HTMLTreeBuilder::processTrEndTagForInRow):
1503 (WebCore::HTMLTreeBuilder::processEndTag):
1504 (WebCore::HTMLTreeBuilder::processComment):
1505 (WebCore::HTMLTreeBuilder::processCharacterBuffer):
1506 (WebCore::HTMLTreeBuilder::processEndOfFile):
1507 (WebCore::HTMLTreeBuilder::defaultForInitial):
1508 (WebCore::HTMLTreeBuilder::defaultForBeforeHTML):
1509 (WebCore::HTMLTreeBuilder::processStartTagForInHead):
1510 (WebCore::HTMLTreeBuilder::processGenericRCDATAStartTag):
1511 (WebCore::HTMLTreeBuilder::processGenericRawTextStartTag):
1512 (WebCore::HTMLTreeBuilder::processScriptStartTag):
1513 * html/parser/HTMLTreeBuilder.h:
1515 2014-01-19 Anders Carlsson <andersca@apple.com>
1517 Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading primitives
1518 https://bugs.webkit.org/show_bug.cgi?id=127251
1520 Reviewed by Antti Koivisto.
1522 Also add a condition to the loaderRunLoop() function to protect against spurious wake-ups.
1524 * platform/ios/wak/WebCoreThreadRun.cpp:
1525 * platform/network/cf/LoaderRunLoopCF.cpp:
1526 (WebCore::loaderRunLoopMutex):
1527 (WebCore::loaderRunLoopConditionVariable):
1528 (WebCore::runLoaderThread):
1529 (WebCore::loaderRunLoop):
1531 2014-01-19 Anders Carlsson <andersca@apple.com>
1533 Modernize ReverbConvolver
1534 https://bugs.webkit.org/show_bug.cgi?id=127250
1536 Reviewed by Andreas Kling.
1538 Use std::unique_ptr instead of OwnPtr and the STL threading primitives instead of the WTF ones.
1540 * platform/audio/ReverbConvolver.cpp:
1541 (WebCore::ReverbConvolver::ReverbConvolver):
1542 (WebCore::ReverbConvolver::~ReverbConvolver):
1543 (WebCore::ReverbConvolver::backgroundThreadEntry):
1544 (WebCore::ReverbConvolver::process):
1545 * platform/audio/ReverbConvolver.h:
1547 2014-01-18 Andy Estes <aestes@apple.com>
1549 [iOS] Rename GestureEventIOS.{cpp,h} to GestureEvent.{cpp,h} to fix the build
1551 InFilesCompiler.pm assumes that <interface name>.h exists for each
1552 interface it processes. We renamed GestureEvent.h to GestureEventIOS.h
1553 but kept the interface named GestureEvent, so a non-existant file was
1554 being referenced by InFilesCompiler.pm (this was hard to detect since
1555 GestureEvent.h still existed in the SDK due to not having submitted
1556 WebKitAdditions recently).
1558 Since we cannot rename the GestureEvent interface, and since there is
1559 no conflicting GestureEvent in open source, we can just rename
1560 GestureEventIOS.{cpp,h} back to GestureEvent.{cpp,h}.
1562 * dom/ios/TouchEvents.cpp: Updated to include GestureEvent.cpp.
1564 2014-01-18 Alexey Proskuryakov <ap@apple.com>
1566 Memory leak in JSSubtleCrypto::wrapKey
1567 https://bugs.webkit.org/show_bug.cgi?id=127241
1569 Reviewed by Sam Weinig.
1571 * bindings/js/JSSubtleCryptoCustom.cpp: (WebCore::JSSubtleCrypto::wrapKey):
1572 Delete algorithmPtr and parametersPtr that aren't smart pointers because of lambdas.
1574 2014-01-18 Andy Estes <aestes@apple.com>
1576 Fix the iOS Production build.
1578 * Configurations/WebCore.xcconfig:
1580 2014-01-18 Alberto Garcia <berto@igalia.com>
1582 [CodeGeneratorJS] Sort output of StructureFlags and function parameters
1584 https://bugs.webkit.org/show_bug.cgi?id=127226
1586 Reviewed by Alexey Proskuryakov.
1588 The order of the keys in a hash is undefined and subject to change
1589 between different Perl versions, so we have to sort them to make
1590 sure that the output is always the same.
1592 * bindings/scripts/CodeGeneratorJS.pm:
1594 (GenerateParametersCheckExpression):
1595 * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
1596 * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
1597 * bindings/scripts/test/JS/JSTestEventConstructor.h:
1598 * bindings/scripts/test/JS/JSTestEventTarget.h:
1599 * bindings/scripts/test/JS/JSTestException.h:
1600 * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
1601 * bindings/scripts/test/JS/JSTestInterface.h:
1602 * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
1603 * bindings/scripts/test/JS/JSTestNamedConstructor.h:
1604 * bindings/scripts/test/JS/JSTestNode.h:
1605 * bindings/scripts/test/JS/JSTestObj.cpp:
1606 (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
1607 * bindings/scripts/test/JS/JSTestObj.h:
1608 * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
1609 * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
1610 * bindings/scripts/test/JS/JSTestTypedefs.h:
1611 * bindings/scripts/test/JS/JSattribute.h:
1612 * bindings/scripts/test/JS/JSreadonly.h:
1614 2014-01-18 Anders Carlsson <andersca@apple.com>
1616 Replace a couple of uses of WTF::Function with std::function
1617 https://bugs.webkit.org/show_bug.cgi?id=127218
1619 Reviewed by Andreas Kling.
1622 * page/scrolling/ScrollingThread.cpp:
1623 (WebCore::ScrollingThread::dispatch):
1624 (WebCore::ScrollingThread::dispatchBarrier):
1625 (WebCore::ScrollingThread::shared):
1626 (WebCore::ScrollingThread::createThreadIfNeeded):
1627 (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
1628 * page/scrolling/ScrollingThread.h:
1629 * page/scrolling/mac/ScrollingThreadMac.mm:
1630 (WebCore::ScrollingThread::initializeRunLoop):
1632 2014-01-18 Anders Carlsson <andersca@apple.com>
1634 Modernize HTML parser code
1635 https://bugs.webkit.org/show_bug.cgi?id=127236
1637 Reviewed by Andreas Kling.
1639 * html/parser/AtomicHTMLToken.h:
1640 * html/parser/CSSPreloadScanner.cpp:
1641 (WebCore::CSSPreloadScanner::emitRule):
1642 * html/parser/HTMLDocumentParser.cpp:
1643 (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1644 (WebCore::HTMLDocumentParser::detach):
1645 (WebCore::HTMLDocumentParser::stopParsing):
1646 (WebCore::HTMLDocumentParser::pumpTokenizer):
1647 (WebCore::HTMLDocumentParser::insert):
1648 (WebCore::HTMLDocumentParser::append):
1649 (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
1650 * html/parser/HTMLDocumentParser.h:
1651 * html/parser/HTMLElementStack.cpp:
1652 (WebCore::HTMLElementStack::ElementRecord::ElementRecord):
1653 (WebCore::HTMLElementStack::insertAbove):
1654 (WebCore::HTMLElementStack::pushCommon):
1655 * html/parser/HTMLElementStack.h:
1656 (WebCore::HTMLElementStack::ElementRecord::releaseNext):
1657 (WebCore::HTMLElementStack::ElementRecord::setNext):
1658 * html/parser/HTMLMetaCharsetParser.cpp:
1659 (WebCore::HTMLMetaCharsetParser::HTMLMetaCharsetParser):
1660 * html/parser/HTMLMetaCharsetParser.h:
1661 * html/parser/HTMLParserScheduler.h:
1662 * html/parser/HTMLPreloadScanner.cpp:
1663 (WebCore::TokenPreloadScanner::StartTagScanner::createPreloadRequest):
1664 (WebCore::TokenPreloadScanner::scan):
1665 (WebCore::HTMLPreloadScanner::HTMLPreloadScanner):
1666 * html/parser/HTMLPreloadScanner.h:
1667 * html/parser/HTMLResourcePreloader.cpp:
1668 (WebCore::HTMLResourcePreloader::takeAndPreload):
1669 (WebCore::HTMLResourcePreloader::preload):
1670 * html/parser/HTMLResourcePreloader.h:
1671 (WebCore::PreloadRequest::PreloadRequest):
1672 * html/parser/HTMLScriptRunner.h:
1673 * html/parser/HTMLToken.h:
1674 (WebCore::HTMLToken::beginDOCTYPE):
1675 (WebCore::HTMLToken::releaseDoctypeData):
1676 * html/parser/HTMLTokenizer.h:
1677 * html/parser/HTMLTreeBuilder.h:
1678 * html/parser/HTMLViewSourceParser.cpp:
1679 (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
1680 * html/parser/HTMLViewSourceParser.h:
1681 * html/parser/XSSAuditor.cpp:
1682 (WebCore::XSSAuditor::init):
1683 (WebCore::XSSAuditor::filterToken):
1684 * html/parser/XSSAuditor.h:
1685 * html/parser/XSSAuditorDelegate.h:
1686 (WebCore::XSSInfo::XSSInfo):
1687 * loader/TextResourceDecoder.cpp:
1688 (WebCore::TextResourceDecoder::checkForHeadCharset):
1689 (WebCore::TextResourceDecoder::checkForMetaCharset):
1690 * loader/TextResourceDecoder.h:
1692 2014-01-18 Benjamin Poulain <benjamin@webkit.org>
1694 Make ElementData JIT friendly
1695 https://bugs.webkit.org/show_bug.cgi?id=127209
1697 Reviewed by Geoffrey Garen.
1699 The offsets of ElementData's flags were not accessible by the JIT. This patch
1700 refactor ElementData to use explicit flags so that they can be used from
1701 the code generators.
1704 (WebCore::Element::synchronizeAllAttributes):
1705 (WebCore::Element::synchronizeAttribute):
1706 (WebCore::Element::attributeChanged):
1707 (WebCore::Element::removeAttribute):
1708 * dom/ElementData.cpp:
1709 (WebCore::ElementData::destroy):
1710 (WebCore::ElementData::ElementData):
1711 (WebCore::ShareableElementData::ShareableElementData):
1712 (WebCore::ShareableElementData::~ShareableElementData):
1713 (WebCore::ElementData::arraySizeAndFlagsFromOther):
1714 * dom/ElementData.h:
1715 (WebCore::ElementData::hasName):
1716 (WebCore::ElementData::isUnique):
1717 (WebCore::ElementData::updateFlag):
1718 (WebCore::ElementData::arraySize):
1719 (WebCore::ElementData::setHasNameAttribute):
1720 (WebCore::ElementData::styleAttributeIsDirty):
1721 (WebCore::ElementData::setStyleAttributeIsDirty):
1722 (WebCore::ElementData::presentationAttributeStyleIsDirty):
1723 (WebCore::ElementData::setPresentationAttributeStyleIsDirty):
1724 (WebCore::ElementData::animatedSVGAttributesAreDirty):
1725 (WebCore::ElementData::setAnimatedSVGAttributesAreDirty):
1726 (WebCore::ElementData::length):
1727 (WebCore::ElementData::attributeBase):
1728 (WebCore::ElementData::presentationAttributeStyle):
1729 * dom/StyledElement.cpp:
1730 (WebCore::StyledElement::synchronizeStyleAttributeInternal):
1731 (WebCore::StyledElement::attributeChanged):
1732 (WebCore::StyledElement::styleAttributeChanged):
1733 (WebCore::StyledElement::inlineStyleChanged):
1734 (WebCore::StyledElement::rebuildPresentationAttributeStyle):
1735 * dom/StyledElement.h:
1736 (WebCore::StyledElement::invalidateStyleAttribute):
1737 (WebCore::StyledElement::presentationAttributeStyle):
1738 * svg/SVGElement.cpp:
1739 (WebCore::SVGElement::synchronizeAnimatedSVGAttribute):
1741 (WebCore::SVGElement::invalidateSVGAttributes):
1743 2014-01-18 Zalan Bujtas <zalan@apple.com>
1745 Subpixel layout: IntRect::infiniteRect() overflows when subpixel layout is enabled.
1746 https://bugs.webkit.org/show_bug.cgi?id=126899
1748 Reviewed by Tim Horton.
1750 Use LayoutUnits when setting the infinite values on IntRect::infiniteRect() to ensure
1751 it won't overflow later when the IntRect gets converted to LayoutRect.
1753 Covered by existing tests.
1755 * platform/graphics/IntRect.h:
1756 (WebCore::IntRect::infiniteRect):
1758 2014-01-18 Anders Carlsson <andersca@apple.com>
1760 Remove support for the viewsource attribute
1761 https://bugs.webkit.org/show_bug.cgi?id=127232
1763 Reviewed by Andreas Kling.
1765 The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
1766 its own syntax highlighting) and not audited.
1768 This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
1769 patch will remove the code as well.
1771 * html/HTMLFrameElementBase.cpp:
1772 (WebCore::HTMLFrameElementBase::parseAttribute):
1774 2014-01-18 Anders Carlsson <andersca@apple.com>
1776 XMLTreeViewer shouldn't use the view source mode
1777 https://bugs.webkit.org/show_bug.cgi?id=127229
1779 Reviewed by Andreas Kling.
1781 Add the relevant styles from view-source.css to XMLViewer.css.
1783 * xml/XMLTreeViewer.cpp:
1784 (WebCore::XMLTreeViewer::transformDocumentToTreeView):
1785 * xml/XMLViewer.css:
1796 2014-01-18 Andreas Kling <akling@apple.com>
1798 Remove unused "touchDragDropEnabled" setting.
1799 <https://webkit.org/b/127227>
1801 Reviewed by Sam Weinig.
1805 2014-01-18 Brian Burg <bburg@apple.com>
1807 Web Inspector: Page should use std::unique_ptr for InspectorController
1808 https://bugs.webkit.org/show_bug.cgi?id=127068
1810 Reviewed by Joseph Pecoraro.
1812 Make Page and WorkerGlobalScope keep a std::unique_ptr to InspectorController
1813 and WorkerInspectorController. Store page references and return controller
1814 references where possible.
1816 Convert call sites to use an InspectorController reference.
1817 Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
1818 Convert InspectorOverlay to keep Page references.
1821 * bindings/js/JSDOMWindowBase.cpp:
1822 (WebCore::JSDOMWindowBase::supportsProfiling):
1823 (WebCore::JSDOMWindowBase::supportsRichSourceInfo):
1825 (WebCore::Node::inspect):
1826 * inspector/InspectorController.cpp:
1827 (WebCore::InspectorController::InspectorController):
1828 (WebCore::InspectorController::inspectedPageDestroyed):
1829 (WebCore::InspectorController::setInspectorFrontendClient):
1830 (WebCore::InspectorController::hasInspectorFrontendClient):
1831 (WebCore::InspectorController::connectFrontend):
1832 (WebCore::InspectorController::disconnectFrontend):
1833 (WebCore::InspectorController::inspectedPage):
1834 (WebCore::InspectorController::developerExtrasEnabled):
1835 * inspector/InspectorController.h:
1836 * inspector/InspectorFrontendClientLocal.cpp:
1837 (WebCore::InspectorFrontendClientLocal::canAttachWindow):
1838 (WebCore::InspectorFrontendClientLocal::changeAttachedWindowHeight):
1839 (WebCore::InspectorFrontendClientLocal::changeAttachedWindowWidth):
1840 (WebCore::InspectorFrontendClientLocal::openInNewTab):
1841 (WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
1842 * inspector/InspectorOverlay.cpp:
1843 (WebCore::InspectorOverlay::InspectorOverlay):
1844 (WebCore::InspectorOverlay::getHighlight):
1845 (WebCore::InspectorOverlay::highlightQuad):
1846 (WebCore::InspectorOverlay::update):
1847 (WebCore::InspectorOverlay::buildObjectForHighlightedNode):
1848 (WebCore::InspectorOverlay::drawQuadHighlight):
1849 (WebCore::InspectorOverlay::overlayPage):
1850 (WebCore::InspectorOverlay::reset):
1851 * inspector/InspectorOverlay.h:
1852 * inspector/InstrumentingAgents.cpp:
1853 (WebCore::instrumentationForPage): remove null checks.
1854 (WebCore::instrumentationForWorkerGlobalScope): remove null checks.
1855 * inspector/WorkerInspectorController.cpp:
1856 (WebCore::WorkerInspectorController::WorkerInspectorController):
1857 (WebCore::WorkerInspectorController::connectFrontend):
1858 (WebCore::WorkerInspectorController::disconnectFrontend):
1859 * inspector/WorkerInspectorController.h:
1860 * loader/FrameLoader.cpp:
1861 (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
1862 (WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):
1863 * page/ContextMenuController.cpp:
1864 (WebCore::ContextMenuController::showContextMenu):
1865 (WebCore::ContextMenuController::contextMenuItemSelected):
1866 (WebCore::ContextMenuController::populate):
1867 (WebCore::ContextMenuController::addInspectElementItem):
1868 * page/FrameView.cpp:
1869 (WebCore::FrameView::sendResizeEventIfNeeded):
1871 (WebCore::Page::Page):
1873 (WebCore::Page::inspectorController):
1874 * page/PageDebuggable.cpp:
1875 (WebCore::PageDebuggable::hasLocalDebugger):
1876 (WebCore::PageDebuggable::parentProcessIdentifier):
1877 (WebCore::PageDebuggable::connect):
1878 (WebCore::PageDebuggable::disconnect):
1879 (WebCore::PageDebuggable::dispatchMessageFromRemoteFrontend):
1880 (WebCore::PageDebuggable::setIndicating):
1881 * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
1882 (WebCore::CompositingCoordinator::syncDisplayState):
1883 * testing/Internals.cpp:
1884 (WebCore::Internals::resetToConsistentState):
1885 (WebCore::Internals::inspectorHighlightRects):
1886 (WebCore::Internals::inspectorHighlightObject):
1887 (WebCore::Internals::emitInspectorDidBeginFrame):
1888 (WebCore::Internals::emitInspectorDidCancelFrame):
1889 (WebCore::Internals::openDummyInspectorFrontend):
1890 (WebCore::Internals::closeDummyInspectorFrontend):
1891 (WebCore::Internals::setInspectorResourcesDataSizeLimits):
1892 (WebCore::Internals::setJavaScriptProfilingEnabled):
1893 * workers/WorkerGlobalScope.cpp:
1894 (WebCore::WorkerGlobalScope::WorkerGlobalScope):
1895 * workers/WorkerGlobalScope.h: remove clearInspector().
1896 (WebCore::WorkerGlobalScope::workerInspectorController):
1897 * workers/WorkerMessagingProxy.cpp:
1898 (WebCore::connectToWorkerGlobalScopeInspectorTask):
1899 (WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
1900 (WebCore::dispatchOnInspectorBackendTask):
1901 * workers/WorkerThread.cpp:
1902 (WebCore::WorkerThreadShutdownFinishTask::performTask):
1904 2014-01-18 Anders Carlsson <andersca@apple.com>
1906 Remove ENABLE_THREADED_HTML_PARSER defines everywhere
1907 https://bugs.webkit.org/show_bug.cgi?id=127225
1909 Reviewed by Andreas Kling.
1911 This concludes the removal of over 8.8 million lines of threaded parser code.
1913 * Configurations/FeatureDefines.xcconfig:
1915 2014-01-18 Anders Carlsson <andersca@apple.com>
1917 Remove the remaining threaded parser code
1918 https://bugs.webkit.org/show_bug.cgi?id=127224
1920 Reviewed by Andreas Kling.
1923 (WebCore::Document::decrementActiveParserCount):
1924 * html/parser/AtomicHTMLToken.h:
1925 * html/parser/HTMLDocumentParser.cpp:
1926 (WebCore::HTMLDocumentParser::HTMLDocumentParser):
1927 (WebCore::HTMLDocumentParser::detach):
1928 (WebCore::HTMLDocumentParser::stopParsing):
1929 (WebCore::HTMLDocumentParser::prepareToStopParsing):
1930 (WebCore::HTMLDocumentParser::resumeParsingAfterYield):
1931 (WebCore::HTMLDocumentParser::forcePlaintextForTextDocument):
1932 (WebCore::HTMLDocumentParser::insert):
1933 (WebCore::HTMLDocumentParser::append):
1934 (WebCore::HTMLDocumentParser::end):
1935 (WebCore::HTMLDocumentParser::finish):
1936 (WebCore::HTMLDocumentParser::textPosition):
1937 (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
1938 * html/parser/HTMLDocumentParser.h:
1939 * html/parser/HTMLParserIdioms.cpp:
1940 * html/parser/HTMLParserIdioms.h:
1941 * html/parser/HTMLTokenizer.cpp:
1942 * html/parser/HTMLTokenizer.h:
1943 * loader/DocumentLoader.cpp:
1944 (WebCore::DocumentLoader::isLoading):
1945 (WebCore::DocumentLoader::checkLoadComplete):
1948 2014-01-18 Anders Carlsson <andersca@apple.com>
1950 Remove threaded parser code from the preload scanners
1951 https://bugs.webkit.org/show_bug.cgi?id=127222
1953 Reviewed by Andreas Kling.
1955 * html/parser/CSSPreloadScanner.cpp:
1956 (WebCore::CSSPreloadScanner::CSSPreloadScanner):
1959 (WebCore::CSSPreloadScanner::scan):
1960 Move scanCommon here and simplify the code.
1962 * html/parser/CSSPreloadScanner.h:
1965 * html/parser/HTMLPreloadScanner.cpp:
1966 (WebCore::TokenPreloadScanner::tagIdFor):
1967 TagId is a strong enum now, update enum values.
1969 (WebCore::TokenPreloadScanner::initiatorFor):
1972 (WebCore::TokenPreloadScanner::StartTagScanner::processAttributes):
1975 (WebCore::TokenPreloadScanner::StartTagScanner::match):
1978 (WebCore::TokenPreloadScanner::StartTagScanner::processAttribute):
1979 TagId is a strong enum now, update enum values.
1981 (WebCore::TokenPreloadScanner::StartTagScanner::charset):
1984 (WebCore::TokenPreloadScanner::StartTagScanner::resourceType):
1987 (WebCore::TokenPreloadScanner::StartTagScanner::shouldPreload):
1990 (WebCore::TokenPreloadScanner::scan):
1991 Merge scan and scanCommon.
1993 * html/parser/HTMLPreloadScanner.h:
1995 2014-01-18 Lauro Neto <lauro.neto@openbossa.org>
1997 Remove Nix files from WebCore
1998 https://bugs.webkit.org/show_bug.cgi?id=127176
2000 Reviewed by Anders Carlsson.
2002 * PlatformNix.cmake: Removed.
2003 * css/mediaControlsNix.css: Removed.
2004 * css/mediaControlsNixFullscreen.css: Removed.
2005 * editing/nix/EditorNix.cpp: Removed.
2006 * page/nix/EventHandlerNix.cpp: Removed.
2007 * platform/audio/nix/AudioBusNix.cpp: Removed.
2008 * platform/audio/nix/AudioDestinationNix.cpp: Removed.
2009 * platform/audio/nix/AudioDestinationNix.h: Removed.
2010 * platform/audio/nix/FFTFrameNix.cpp: Removed.
2011 * platform/graphics/nix/IconNix.cpp: Removed.
2012 * platform/graphics/nix/ImageNix.cpp: Removed.
2013 * platform/nix/CursorNix.cpp: Removed.
2014 * platform/nix/DragDataNix.cpp: Removed.
2015 * platform/nix/DragImageNix.cpp: Removed.
2016 * platform/nix/ErrorsNix.cpp: Removed.
2017 * platform/nix/ErrorsNix.h: Removed.
2018 * platform/nix/FileSystemNix.cpp: Removed.
2019 * platform/nix/GamepadsNix.cpp: Removed.
2020 * platform/nix/LanguageNix.cpp: Removed.
2021 * platform/nix/LocalizedStringsNix.cpp: Removed.
2022 * platform/nix/MIMETypeRegistryNix.cpp: Removed.
2023 * platform/nix/NixKeyboardUtilities.cpp: Removed.
2024 * platform/nix/NixKeyboardUtilities.h: Removed.
2025 * platform/nix/PasteboardNix.cpp: Removed.
2026 * platform/nix/PlatformKeyboardEventNix.cpp: Removed.
2027 * platform/nix/PlatformScreenNix.cpp: Removed.
2028 * platform/nix/RenderThemeNix.cpp: Removed.
2029 * platform/nix/RenderThemeNix.h: Removed.
2030 * platform/nix/ScrollbarThemeNix.cpp: Removed.
2031 * platform/nix/ScrollbarThemeNix.h: Removed.
2032 * platform/nix/SharedTimerNix.cpp: Removed.
2033 * platform/nix/SoundNix.cpp: Removed.
2034 * platform/nix/TemporaryLinkStubs.cpp: Removed.
2035 * platform/nix/WidgetNix.cpp: Removed.
2036 * platform/nix/support/MultiChannelPCMData.cpp: Removed.
2037 * platform/text/nix/TextBreakIteratorInternalICUNix.cpp: Removed.
2039 2014-01-18 Anders Carlsson <andersca@apple.com>
2041 Remove DocumentParser::pinToMainThread() and related code
2042 https://bugs.webkit.org/show_bug.cgi?id=127221
2044 Reviewed by Andreas Kling.
2047 (WebCore::Document::setContent):
2048 * dom/DocumentParser.h:
2049 * html/parser/HTMLDocumentParser.cpp:
2050 (WebCore::HTMLDocumentParser::HTMLDocumentParser):
2051 * html/parser/HTMLDocumentParser.h:
2052 * html/parser/HTMLParserOptions.cpp:
2053 (WebCore::HTMLParserOptions::HTMLParserOptions):
2054 * html/parser/HTMLParserOptions.h:
2055 * html/parser/HTMLTreeBuilder.cpp:
2056 (WebCore::HTMLTreeBuilder::processEndTag):
2057 * loader/DocumentWriter.cpp:
2058 (WebCore::DocumentWriter::replaceDocument):
2060 2014-01-18 Anders Carlsson <andersca@apple.com>
2062 Remove HTMLParserThread
2063 https://bugs.webkit.org/show_bug.cgi?id=127220
2065 Reviewed by Andreas Kling.
2068 * GNUmakefile.list.am:
2069 * WebCore.vcxproj/WebCore.vcxproj:
2070 * WebCore.vcxproj/WebCore.vcxproj.filters:
2071 * WebCore.xcodeproj/project.pbxproj:
2072 * html/parser/HTMLDocumentParser.cpp:
2073 * html/parser/HTMLParserThread.cpp: Removed.
2074 * html/parser/HTMLParserThread.h: Removed.
2076 2014-01-17 Andreas Kling <akling@apple.com>
2078 GC soon after responding to fake memory pressure.
2079 <https://webkit.org/b/127210>
2081 Ask JSC to garbage collect "soon" after handling the fake memory
2082 pressure signal on Mac. This seems to stabilize the post-pressure
2083 numbers on Membuster3 a bit on my laptop. The difference is mostly
2084 made up of JSC::CodeBlock objects.
2086 Reviewed by Geoffrey Garen.
2088 * platform/mac/MemoryPressureHandlerMac.mm:
2089 (WebCore::MemoryPressureHandler::install):
2091 2014-01-18 Anders Carlsson <andersca@apple.com>
2093 Remove files only used by the threaded HTML parser
2094 https://bugs.webkit.org/show_bug.cgi?id=127219
2095 <rdar://problem/13331277>
2097 Reviewed by Andreas Kling.
2100 * GNUmakefile.list.am:
2101 * WebCore.vcxproj/WebCore.vcxproj:
2102 * WebCore.vcxproj/WebCore.vcxproj.filters:
2103 * WebCore.xcodeproj/project.pbxproj:
2104 * html/parser/AtomicHTMLToken.h:
2105 * html/parser/BackgroundHTMLInputStream.cpp: Removed.
2106 * html/parser/BackgroundHTMLInputStream.h: Removed.
2107 * html/parser/BackgroundHTMLParser.cpp: Removed.
2108 * html/parser/BackgroundHTMLParser.h: Removed.
2109 * html/parser/CompactHTMLToken.cpp: Removed.
2110 * html/parser/CompactHTMLToken.h: Removed.
2111 * html/parser/HTMLDocumentParser.cpp:
2112 * html/parser/HTMLDocumentParser.h:
2113 * html/parser/HTMLIdentifier.cpp: Removed.
2114 * html/parser/HTMLIdentifier.h: Removed.
2115 * html/parser/HTMLParserIdioms.h:
2116 * html/parser/HTMLPreloadScanner.h:
2117 * html/parser/HTMLTreeBuilderSimulator.cpp: Removed.
2118 * html/parser/HTMLTreeBuilderSimulator.h: Removed.
2120 2014-01-17 Andreas Kling <akling@apple.com>
2122 Micro-optimize RenderBoxModelObject::computedCSSPadding().
2123 <https://webkit.org/b/127208>
2125 Make computedCSSPadding() take the Length as a const reference
2126 to avoid creating a temporary copy. This was showing up (0.2%)
2129 Reviewed by Anders Carlsson.
2131 * rendering/RenderBoxModelObject.h:
2132 * rendering/RenderBoxModelObject.cpp:
2133 (WebCore::RenderBoxModelObject::computedCSSPadding):
2135 2014-01-17 Anders Carlsson <andersca@apple.com>
2137 Add a callOnMainThreadAndWait variant in SocketStreamHandle
2138 https://bugs.webkit.org/show_bug.cgi?id=127180
2140 Reviewed by Geoffrey Garen.
2142 WTF::callOnMainThreadAndWait was only used inside SocketStreamHandleCFNet.cpp,
2143 so add an improved version there which is implemented in terms of callOnMainThread and
2144 with the bonus of handling spurious wake-ups correctly (the old version didn't).
2146 * platform/network/cf/SocketStreamHandle.h:
2147 * platform/network/cf/SocketStreamHandleCFNet.cpp:
2148 (WebCore::callOnMainThreadAndWait):
2149 (WebCore::SocketStreamHandle::pacExecutionCallback):
2150 (WebCore::SocketStreamHandle::readStreamCallback):
2151 (WebCore::SocketStreamHandle::writeStreamCallback):
2153 2014-01-17 Anders Carlsson <andersca@apple.com>
2155 Clean up PageCache classes
2156 https://bugs.webkit.org/show_bug.cgi?id=127202
2158 Reviewed by Andreas Kling.
2161 * history/CachedFrame.cpp:
2162 (WebCore::CachedFrameBase::~CachedFrameBase):
2163 (WebCore::CachedFrame::CachedFrame):
2164 (WebCore::CachedFrame::clear):
2165 (WebCore::CachedFrame::setCachedFramePlatformData):
2166 * history/CachedFrame.h:
2167 * history/CachedPage.cpp:
2168 (WebCore::CachedPage::CachedPage):
2169 * history/CachedPage.h:
2170 * history/HistoryItem.h:
2171 (WebCore::HistoryItem::isInPageCache):
2172 * history/PageCache.cpp:
2173 (WebCore::PageCache::add):
2174 (WebCore::PageCache::take):
2175 (WebCore::PageCache::remove):
2176 * history/PageCache.h:
2177 * loader/FrameLoader.cpp:
2178 (WebCore::FrameLoader::commitProvisionalLoad):
2179 * loader/HistoryController.cpp:
2180 (WebCore::HistoryController::invalidateCurrentItemCachedPage):
2182 2014-01-17 Andy Estes <aestes@apple.com>
2184 Work around a preprocessor warning in mediaControlsApple.js
2185 https://bugs.webkit.org/show_bug.cgi?id=127204
2187 Reviewed by Dan Bernstein.
2189 * Modules/mediacontrols/mediaControlsApple.js: Changed '' to String().
2191 2014-01-17 Daniel Bates <dabates@apple.com>
2193 Fix the iOS build after <http://trac.webkit.org/changeset/162184>
2194 (https://bugs.webkit.org/show_bug.cgi?id=126856)
2196 Remove symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(unsigned short const*, int).
2197 Add symbol for WebCore::NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(WTF::StringView).
2201 2014-01-17 Andreas Kling <akling@apple.com>
2203 Remove unused TOUCH_ADJUSTMENT code.
2204 <https://webkit.org/b/127181>
2206 There are no ports using the ENABLE(TOUCH_ADJUSTMENT) feature
2207 anymore, so nuke it from orbit.
2209 Reviewed by Anders Carlsson.
2211 * page/EventHandler.cpp:
2212 * page/EventHandler.h:
2214 * page/TouchAdjustment.cpp: Removed.
2215 * page/TouchAdjustment.h: Removed.
2216 * testing/Internals.cpp:
2217 * testing/Internals.h:
2218 * testing/Internals.idl:
2220 2014-01-17 Beth Dakin <bdakin@apple.com>
2222 Need a way to test the tile cache with margins enabled
2223 https://bugs.webkit.org/show_bug.cgi?id=127194
2225 <rdar://problem/15571327>
2227 Reviewed by Tim Horton.
2229 This patch adds a new function to InternalSettings that will allow layout tests to
2230 flip the setting Settings::setBackgroundShouldExtendBeyondPage(). This patch also
2231 makes changing that setting take effect immediately.
2233 To make this setting dynamic, we can no longer generate the Setting function, so
2234 we have to export the symbol manually.
2237 This new function on FrameView will call into RenderLayerBacking to add or remove
2239 * page/FrameView.cpp:
2240 (WebCore::FrameView::setBackgroundExtendsBeyondPage):
2243 Again, we’re no longer using the boiler-plate generated Setting functions, so now
2244 we can call into FrameView to make the background extend.
2245 * page/Settings.cpp:
2246 (WebCore::Settings::Settings):
2247 (WebCore::Settings::setBackgroundShouldExtendBeyondPage):
2249 (WebCore::Settings::backgroundShouldExtendBeyondPage):
2252 Whenever tile margins are set, call setNeedsRevalidateTiles() to make the change
2254 * platform/graphics/ca/mac/TileController.mm:
2255 (WebCore::TileController::setTileMargins):
2257 Move the call to TiledBacking::setTileMargins() into a helper function so that the
2258 same code can be used for FrameView.
2259 * rendering/RenderLayerBacking.cpp:
2260 (WebCore::RenderLayerBacking::RenderLayerBacking):
2261 (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
2262 * rendering/RenderLayerBacking.h:
2264 New InternalSetting.
2265 * testing/InternalSettings.cpp:
2266 (WebCore::InternalSettings::setBackgroundShouldExtendBeyondPage):
2267 * testing/InternalSettings.h:
2268 * testing/InternalSettings.idl:
2270 2014-01-17 Anders Carlsson <andersca@apple.com>
2272 Remove another unused FrameLoaderClient callback
2273 https://bugs.webkit.org/show_bug.cgi?id=127192
2275 Reviewed by Dan Bernstein.
2277 FrameLoaderClient::dispatchDocumentElementAvailable() was only used by the Chromium port, so remove it.
2279 * html/ImageDocument.cpp:
2280 (WebCore::ImageDocument::createDocumentStructure):
2281 * html/MediaDocument.cpp:
2282 (WebCore::MediaDocumentParser::createDocumentStructure):
2283 * html/PluginDocument.cpp:
2284 (WebCore::PluginDocumentParser::createDocumentStructure):
2285 * html/parser/HTMLConstructionSite.cpp:
2286 (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
2287 * loader/EmptyClients.h:
2288 * loader/FrameLoader.cpp:
2289 * loader/FrameLoader.h:
2290 * loader/FrameLoaderClient.h:
2291 * xml/parser/XMLDocumentParserLibxml2.cpp:
2292 (WebCore::XMLDocumentParser::startElementNs):
2294 2014-01-17 Anders Carlsson <andersca@apple.com>
2296 Remove FrameLoaderClient::didPerformFirstNavigation()
2297 https://bugs.webkit.org/show_bug.cgi?id=127191
2299 Reviewed by Dan Bernstein.
2301 * loader/EmptyClients.h:
2302 * loader/FrameLoader.cpp:
2303 (WebCore::FrameLoader::FrameLoader):
2304 * loader/FrameLoader.h:
2305 * loader/FrameLoaderClient.h:
2306 * loader/HistoryController.cpp:
2307 (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
2309 2014-01-17 Anders Carlsson <andersca@apple.com>
2311 Move didPerformFirstNavigation() logic to -[WebView _didCommitLoadForFrame:]
2312 https://bugs.webkit.org/show_bug.cgi?id=127189
2314 Reviewed by Dan Bernstein.
2316 * loader/FrameLoaderClient.h:
2317 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2318 Add an empty implementation of didPerformFirstNavigation() to make it easier to remove it from subclasses.
2320 2014-01-17 Eric Carlson <eric.carlson@apple.com>
2322 [iOS] HTMLMediaSession should set AudioSession category
2323 https://bugs.webkit.org/show_bug.cgi?id=127137
2325 Reviewed by Sam Weinig.
2327 * html/HTMLMediaSession.cpp:
2328 (WebCore::initializeAudioSession): New, set the audio session to "media" on iOS.
2329 (WebCore::HTMLMediaSession::HTMLMediaSession): Call initializeAudioSession.
2331 2014-01-17 Daniel Bates <dabates@apple.com>
2333 Fix the iOS build after <http://trac.webkit.org/changeset/162178>
2334 (https://bugs.webkit.org/show_bug.cgi?id=127147)
2336 Declare WebMediaSessionHelper outside of namespace WebCore to resolve error that
2337 "Objective-C declarations may only appear in global scope".
2339 * platform/audio/ios/MediaSessionManagerIOS.mm:
2341 2014-01-17 Bem Jones-Bey <bjonesbe@adobe.com>
2343 [CSS Shapes] Stacked floats with shape-outside should allow inline content to interact with the non-outermost float
2344 https://bugs.webkit.org/show_bug.cgi?id=122576
2346 Reviewed by David Hyatt.
2348 Make inline content interact with stacked floats with shape-outside
2349 per the spec. This means that content can interact with floats on the
2350 line that are not the outermost float.
2352 This refactors ComputeFloatOffsetAdapter into a superclass and two
2353 subclasses: one adaptor for determining the offset for float layout,
2354 and one for determining the offset for inline layout.
2356 The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has
2357 been updated to handle stacked floats with shape-outside properly and
2358 has been considerably simplified in the process. It was previously
2359 doing a whole bunch of unnecessary work.
2361 Tests: fast/shapes/shape-outside-floats/shape-outside-floats-stacked-000.html
2362 fast/shapes/shape-outside-floats/shape-outside-floats-stacked-001.html
2363 fast/shapes/shape-outside-floats/shape-outside-floats-stacked-002.html
2365 * rendering/FloatingObjects.cpp:
2366 (WebCore::ComputeFloatOffsetAdapter::~ComputeFloatOffsetAdapter):
2367 (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::ComputeFloatOffsetForFloatLayoutAdapter):
2368 (WebCore::ComputeFloatOffsetForFloatLayoutAdapter::~ComputeFloatOffsetForFloatLayoutAdapter):
2369 (WebCore::ComputeFloatOffsetForLineLayoutAdapter::ComputeFloatOffsetForLineLayoutAdapter):
2370 (WebCore::ComputeFloatOffsetForLineLayoutAdapter::~ComputeFloatOffsetForLineLayoutAdapter):
2371 (WebCore::FloatingObjects::logicalLeftOffsetForPositioningFloat):
2372 (WebCore::FloatingObjects::logicalRightOffsetForPositioningFloat):
2373 (WebCore::FloatingObjects::logicalLeftOffset):
2374 (WebCore::FloatingObjects::logicalRightOffset):
2375 (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
2376 (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
2377 (WebCore::ComputeFloatOffsetForFloatLayoutAdapter<FloatTypeValue>::heightRemaining):
2378 (WebCore::shapeInfoForFloat):
2379 (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatLeft>::updateOffsetIfNeeded):
2380 (WebCore::ComputeFloatOffsetForLineLayoutAdapter<FloatingObject::FloatRight>::updateOffsetIfNeeded):
2381 * rendering/line/LineWidth.cpp:
2382 (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
2383 * rendering/shapes/ShapeOutsideInfo.cpp:
2384 (WebCore::ShapeOutsideInfo::updateDeltasForContainingBlockLine):
2385 * rendering/shapes/ShapeOutsideInfo.h:
2387 2014-01-17 Zoltan Horvath <zoltan@webkit.org>
2389 [CSS3] Add rendering support for -webkit-text-align-last
2390 https://bugs.webkit.org/show_bug.cgi?id=99584
2392 Reviewed by David Hyatt.
2394 Add support for the text-align-last CSS3 property, according to the latest specification:
2395 http://dev.w3.org/csswg/css-text-3/#text-align-last-property
2397 Tests: fast/css3-text/css3-text-align-last/text-align-last-with-text-align-justify.html
2398 fast/css3-text/css3-text-align-last/text-align-last-with-text-align-non-justify.html
2400 * rendering/RenderBlockLineLayout.cpp:
2401 (WebCore::RenderBlockFlow::textAlignmentForLine):
2402 * rendering/style/RenderStyle.cpp:
2403 (WebCore::RenderStyle::changeRequiresLayout):
2405 2014-01-17 Daniel Bates <dabates@apple.com>
2407 Fix the iOS build after <http://trac.webkit.org/changeset/162208>
2408 (https://bugs.webkit.org/show_bug.cgi?id=127139)
2410 __MAC_OS_X_VERSION_MIN_REQUIRED isn't defined when building for iOS. Instead, explicitly
2411 check that we're not PLATFORM(IOS) to avoid defining the enum value CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain.
2413 * platform/network/cf/CookieJarCFNet.cpp:
2415 2014-01-17 Bear Travis <betravis@adobe.com>
2417 [CSS Shapes] Basic shapes' computed position should be a horizontal and vertical offset
2418 https://bugs.webkit.org/show_bug.cgi?id=127010
2420 Reviewed by Rob Buis.
2422 This patch updates the computed position values used for blending to be a horizontal
2423 left offset and a vertical top offset. When positions include a center, bottom, or
2424 right position offset, it is converted to the appropriate top/left coordinate as
2425 a calc expression. Serialized values still use the original bottom/right directions
2426 when present, and also omit the top/left keywords where possible.
2428 Updated parsing and animation tests.
2430 * css/BasicShapeFunctions.cpp:
2431 (WebCore::valueForCenterCoordinate): Use the simplified BasicShapeCenterCoordinate,
2432 which includes an offset and whether the direction is from the top/left or bottom/right.
2433 (WebCore::valueForBasicShape): Ditto.
2434 (WebCore::convertToCenterCoordinate): Ditto.
2435 (WebCore::basicShapeForValue): Ditto.
2436 (WebCore::floatValueForCenterCoordinate): Ditto.
2437 * page/animation/CSSPropertyAnimation.cpp:
2438 (WebCore::blendFunc): Remove the RenderBox parameter, which is no longer needed.
2439 * rendering/style/BasicShapes.cpp:
2440 (WebCore::BasicShapeCenterCoordinate::updateComputedLength): Calculate the computed
2441 position offset for this center coordinate.
2442 (WebCore::BasicShapeRectangle::blend): Remove the RenderBox parameter.
2443 (WebCore::DeprecatedBasicShapeCircle::blend): Ditto.
2444 (WebCore::BasicShapeCircle::blend): Ditto.
2445 (WebCore::DeprecatedBasicShapeEllipse::blend): Ditto.
2446 (WebCore::BasicShapeEllipse::blend): Ditto.
2447 (WebCore::BasicShapePolygon::blend): Ditto.
2448 (WebCore::BasicShapeInsetRectangle::blend): Ditto.
2449 (WebCore::BasicShapeInset::blend): Ditto.
2450 * rendering/style/BasicShapes.h:
2451 (WebCore::BasicShapeCenterCoordinate::BasicShapeCenterCoordinate): Simplify
2452 BasicShapeCenterCoordinate to contain an offset and a direction. Also add a
2453 computed length, which is an offset from the top/left direction.
2454 (WebCore::BasicShapeCenterCoordinate::direction):
2455 (WebCore::BasicShapeCenterCoordinate::computedLength):
2456 (WebCore::BasicShapeCenterCoordinate::blend):
2458 2014-01-17 Alexey Proskuryakov <ap@apple.com>
2460 More non-Mac build fix.
2462 * platform/network/cf/CookieJarCFNet.cpp:
2464 2014-01-16 Myles C. Maxfield <mmaxfield@apple.com>
2466 Unprefix text-emphasis CSS properties
2467 https://bugs.webkit.org/show_bug.cgi?id=127160
2469 Reviewed by Sam Weinig.
2471 Add synonym CSS properties. We don't want to delete the old ones because
2472 we've shipped with them included.
2474 Test: fast/css3-text/css3-text-decoration/text-decoration-unprefix.html
2476 * css/CSSPropertyNames.in:
2478 2014-01-17 Alberto Garcia <berto@igalia.com>
2480 [GTK] WebKitGtk/testcopyandpaste fails in debug builds
2481 https://bugs.webkit.org/show_bug.cgi?id=127173
2483 Reviewed by Carlos Garcia Campos.
2485 Remove duplicate "PasteGlobalSelection" entry.
2487 * editing/EditorCommand.cpp:
2488 (WebCore::createCommandMap):
2490 2014-01-14 Andreas Kling <akling@apple.com>
2492 Pack ResourceRequest harder.
2493 <https://webkit.org/b/126982>
2495 Re-arrange the members of ResourceRequest to reduce padding,
2496 shrinking it by 8 bytes.
2498 Reviewed by Anders Carlsson.
2500 * platform/network/ResourceRequestBase.h:
2501 (WebCore::ResourceRequestBase::ResourceRequestBase):
2503 2014-01-17 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
2505 Remove workaround for compilers not supporting deleted functions
2506 https://bugs.webkit.org/show_bug.cgi?id=127166
2508 Reviewed by Andreas Kling.
2510 * bindings/js/JSLazyEventListener.h:
2511 * dom/ContainerNode.h:
2514 * rendering/InlineFlowBox.h:
2515 * rendering/InlineTextBox.h:
2516 * rendering/RenderButton.h:
2517 * rendering/RenderCombineText.h:
2518 * rendering/RenderElement.h:
2519 * rendering/RenderFieldset.h:
2520 * rendering/RenderFileUploadControl.h:
2521 * rendering/RenderFrame.h:
2522 * rendering/RenderFrameBase.h:
2523 * rendering/RenderFrameSet.h:
2524 * rendering/RenderHTMLCanvas.h:
2525 * rendering/RenderIFrame.h:
2526 * rendering/RenderLineBreak.h:
2527 * rendering/RenderListBox.h:
2528 * rendering/RenderListMarker.h:
2529 * rendering/RenderMedia.h:
2530 * rendering/RenderMenuList.h:
2531 * rendering/RenderSnapshottedPlugIn.h:
2532 * rendering/RenderTableCell.h:
2533 * rendering/RenderTableRow.h:
2534 * rendering/RenderTableSection.h:
2535 * rendering/RenderText.h:
2536 * rendering/RenderTextControl.h:
2537 * rendering/RenderTextControlMultiLine.h:
2538 * rendering/RenderTextControlSingleLine.h:
2539 * rendering/RenderVideo.h:
2540 * rendering/RenderWidget.h:
2541 * rendering/svg/RenderSVGBlock.h:
2542 * rendering/svg/RenderSVGForeignObject.h:
2543 * rendering/svg/RenderSVGImage.h:
2544 * rendering/svg/RenderSVGInline.h:
2545 * rendering/svg/RenderSVGRect.h:
2546 * rendering/svg/RenderSVGResourceClipper.h:
2547 * rendering/svg/RenderSVGResourceFilter.h:
2548 * rendering/svg/RenderSVGResourceFilterPrimitive.h:
2549 * rendering/svg/RenderSVGResourceGradient.h:
2550 * rendering/svg/RenderSVGResourceLinearGradient.h:
2551 * rendering/svg/RenderSVGResourceMarker.h:
2552 * rendering/svg/RenderSVGResourceMasker.h:
2553 * rendering/svg/RenderSVGResourcePattern.h:
2554 * rendering/svg/RenderSVGResourceRadialGradient.h:
2555 * rendering/svg/RenderSVGRoot.h:
2556 * rendering/svg/RenderSVGShape.h:
2557 * rendering/svg/RenderSVGTSpan.h:
2558 * rendering/svg/RenderSVGText.h:
2559 * rendering/svg/RenderSVGTextPath.h:
2560 * rendering/svg/RenderSVGTransformableContainer.h:
2561 * rendering/svg/RenderSVGViewportContainer.h:
2564 2014-01-17 Zan Dobersek <zdobersek@igalia.com>
2566 [ATK] Modernize the for loops in ATK AX code
2567 https://bugs.webkit.org/show_bug.cgi?id=127120
2569 Reviewed by Mario Sanchez Prada.
2571 Update the for loops to be range-based in ATK accessibility code.
2572 This work is complementary to r161979.
2574 * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
2575 (webkitAccessibleHypertextGetLink):
2576 * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
2577 (webkitAccessibleTableGetColumnHeader):
2578 (webkitAccessibleTableGetRowHeader):
2579 * accessibility/atk/WebKitAccessibleUtil.cpp:
2580 (accessibilityTitle):
2581 (accessibilityDescription):
2582 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
2583 (getNChildrenForTable):
2585 (getIndexInParentForCellInRow):
2587 2014-01-17 Zan Dobersek <zdobersek@igalia.com>
2589 [Soup] Remove unnecessary using-directives for the std namespace
2590 https://bugs.webkit.org/show_bug.cgi?id=127122
2592 Reviewed by Martin Robinson.
2594 * platform/network/soup/ResourceRequestSoup.cpp: Remove the unnecessary using-directive for the std namespace
2595 as no symbols from that namespace are in use in this implementation file.
2596 * platform/network/soup/ResourceResponseSoup.cpp: Ditto.
2598 2014-01-16 Tim Horton <timothy_horton@apple.com>
2600 On iOS, zooming in with a TileController-backed main frame makes hundreds of tiles
2601 https://bugs.webkit.org/show_bug.cgi?id=126531
2602 <rdar://problem/15745862>
2604 Reviewed by Anders Carlsson.
2606 * platform/graphics/ca/mac/TileController.h:
2607 * platform/graphics/ca/mac/TileController.mm:
2608 (WebCore::TileController::tilesWouldChangeForVisibleRect):
2609 (WebCore::TileController::scaledExposedRect):
2610 (WebCore::TileController::computeTileCoverageRect):
2611 (WebCore::TileController::revalidateTiles):
2612 (WebCore::TileController::updateTileCoverageMap):
2613 Scale the FrameView-space exposedRect into document space, to match the visibleRect.
2615 Flipping on WKView's clipsToExposedRect now works correctly even in Safari
2616 or MiniBrowser with zooming.
2618 2014-01-15 Sam Weinig <sam@webkit.org>
2620 TextBreakIterator's should support Latin-1 for all iterator types (Part 3)
2621 https://bugs.webkit.org/show_bug.cgi?id=126856
2623 Reviewed by Ryosuke Niwa.
2625 Change all the TextBreakIterator creation functions to take StringViews. Remove a few
2626 now unnecessary up-conversions to UTF-16 in the process.
2628 * dom/CharacterData.cpp:
2629 * editing/TextCheckingHelper.cpp:
2630 * editing/VisibleUnits.cpp:
2631 * platform/graphics/StringTruncator.cpp:
2632 * platform/graphics/mac/ComplexTextController.cpp:
2633 * platform/text/TextBoundaries.cpp:
2634 * platform/text/TextBreakIterator.cpp:
2635 * platform/text/TextBreakIterator.h:
2636 * rendering/RenderText.cpp:
2638 2014-01-16 Anders Carlsson <andersca@apple.com>
2640 Run clang-modernize and let it add a bunch of missing overrides.
2642 Rubber-stamped by Sam Weinig.
2644 * dom/BeforeLoadEvent.h:
2645 * dom/ClassNodeList.h:
2647 * dom/CompositionEvent.h:
2648 * dom/DecodedDataDocumentParser.h:
2649 * dom/DeviceMotionEvent.h:
2650 * dom/DeviceOrientationEvent.h:
2651 * dom/DocumentMarker.cpp:
2652 * dom/DocumentType.h:
2653 * dom/EntityReference.h:
2655 * dom/HashChangeEvent.h:
2656 * dom/MessageEvent.h:
2658 * dom/MouseRelatedEvent.h:
2659 * dom/MutationEvent.h:
2660 * dom/NameNodeList.h:
2662 * dom/OverflowEvent.h:
2663 * dom/PendingScript.h:
2664 * dom/PopStateEvent.h:
2665 * dom/ProcessingInstruction.h:
2666 * dom/ScriptElement.h:
2667 * dom/ScriptExecutionContext.cpp:
2668 * dom/ScriptableDocumentParser.h:
2669 * dom/ScriptedAnimationController.h:
2670 * dom/StringCallback.cpp:
2672 * html/FTPDirectoryDocument.h:
2673 * html/FileInputType.cpp:
2674 * html/HTMLAppletElement.h:
2675 * html/HTMLBRElement.h:
2676 * html/HTMLBaseElement.h:
2677 * html/HTMLBodyElement.h:
2678 * html/HTMLButtonElement.h:
2679 * html/HTMLDocument.h:
2680 * html/HTMLEmbedElement.h:
2681 * html/HTMLFormControlsCollection.h:
2682 * html/HTMLFrameElement.h:
2683 * html/HTMLFrameSetElement.h:
2684 * html/HTMLHRElement.h:
2685 * html/HTMLIFrameElement.h:
2686 * html/HTMLKeygenElement.cpp:
2687 * html/HTMLKeygenElement.h:
2688 * html/HTMLLinkElement.h:
2689 * html/HTMLMarqueeElement.h:
2690 * html/HTMLObjectElement.h:
2691 * html/HTMLOutputElement.h:
2692 * html/HTMLParamElement.h:
2693 * html/HTMLScriptElement.h:
2694 * html/HTMLStyleElement.h:
2695 * html/HTMLSummaryElement.h:
2696 * html/HTMLTrackElement.h:
2697 * html/HTMLViewSourceDocument.h:
2698 * html/ImageDocument.cpp:
2699 * html/ImageDocument.h:
2700 * html/MediaDocument.cpp:
2701 * html/MediaDocument.h:
2702 * html/MediaKeyEvent.h:
2703 * html/PluginDocument.cpp:
2704 * html/RadioNodeList.h:
2705 * html/TextDocument.h:
2706 * html/canvas/EXTDrawBuffers.h:
2707 * html/canvas/EXTTextureFilterAnisotropic.h:
2708 * html/canvas/OESElementIndexUint.h:
2709 * html/canvas/OESStandardDerivatives.h:
2710 * html/canvas/OESTextureFloat.h:
2711 * html/canvas/OESTextureFloatLinear.h:
2712 * html/canvas/OESTextureHalfFloat.h:
2713 * html/canvas/OESTextureHalfFloatLinear.h:
2714 * html/canvas/OESVertexArrayObject.h:
2715 * html/canvas/WebGLBuffer.h:
2716 * html/canvas/WebGLCompressedTextureATC.h:
2717 * html/canvas/WebGLCompressedTexturePVRTC.h:
2718 * html/canvas/WebGLCompressedTextureS3TC.h:
2719 * html/canvas/WebGLContextEvent.h:
2720 * html/canvas/WebGLContextObject.h:
2721 * html/canvas/WebGLDebugRendererInfo.h:
2722 * html/canvas/WebGLDebugShaders.h:
2723 * html/canvas/WebGLDepthTexture.h:
2724 * html/canvas/WebGLFramebuffer.cpp:
2725 * html/canvas/WebGLFramebuffer.h:
2726 * html/canvas/WebGLLoseContext.h:
2727 * html/canvas/WebGLProgram.h:
2728 * html/canvas/WebGLRenderbuffer.h:
2729 * html/canvas/WebGLRenderingContext.cpp:
2730 * html/canvas/WebGLRenderingContext.h:
2731 * html/canvas/WebGLShader.h:
2732 * html/canvas/WebGLSharedObject.h:
2733 * html/canvas/WebGLTexture.h:
2734 * html/canvas/WebGLVertexArrayObjectOES.h:
2735 * html/parser/HTMLDocumentParser.h:
2736 * html/parser/HTMLViewSourceParser.h:
2737 * html/shadow/DetailsMarkerControl.h:
2738 * html/shadow/MediaControls.h:
2739 * html/shadow/MediaControlsApple.h:
2740 * html/shadow/MeterShadowElement.h:
2741 * html/shadow/ProgressShadowElement.h:
2742 * html/shadow/SliderThumbElement.h:
2743 * html/track/LoadableTextTrack.h:
2744 * html/track/TrackEvent.h:
2745 * svg/SVGAElement.h:
2746 * svg/SVGAnimateColorElement.h:
2747 * svg/SVGAnimateElement.h:
2748 * svg/SVGAnimateMotionElement.h:
2749 * svg/SVGAnimateTransformElement.h:
2750 * svg/SVGAnimationElement.h:
2751 * svg/SVGCircleElement.h:
2752 * svg/SVGClipPathElement.h:
2753 * svg/SVGComponentTransferFunctionElement.h:
2754 * svg/SVGCursorElement.h:
2755 * svg/SVGDefsElement.h:
2756 * svg/SVGDescElement.h:
2757 * svg/SVGEllipseElement.h:
2758 * svg/SVGFEBlendElement.h:
2759 * svg/SVGFEColorMatrixElement.h:
2760 * svg/SVGFEComponentTransferElement.h:
2761 * svg/SVGFECompositeElement.h:
2762 * svg/SVGFEConvolveMatrixElement.h:
2763 * svg/SVGFEDiffuseLightingElement.h:
2764 * svg/SVGFEDisplacementMapElement.h:
2765 * svg/SVGFEDistantLightElement.h:
2766 * svg/SVGFEDropShadowElement.h:
2767 * svg/SVGFEFloodElement.h:
2768 * svg/SVGFEGaussianBlurElement.h:
2769 * svg/SVGFEImageElement.h:
2770 * svg/SVGFELightElement.h:
2771 * svg/SVGFEMergeElement.h:
2772 * svg/SVGFEMergeNodeElement.h:
2773 * svg/SVGFEMorphologyElement.h:
2774 * svg/SVGFEOffsetElement.h:
2775 * svg/SVGFEPointLightElement.h:
2776 * svg/SVGFESpecularLightingElement.h:
2777 * svg/SVGFESpotLightElement.h:
2778 * svg/SVGFETileElement.h:
2779 * svg/SVGFETurbulenceElement.h:
2780 * svg/SVGFilterElement.h:
2781 * svg/SVGFilterPrimitiveStandardAttributes.h:
2782 * svg/SVGFontData.h:
2783 * svg/SVGForeignObjectElement.h:
2784 * svg/SVGGlyphElement.h:
2785 * svg/SVGGlyphRefElement.h:
2786 * svg/SVGGradientElement.h:
2787 * svg/SVGHKernElement.h:
2788 * svg/SVGImageElement.h:
2789 * svg/SVGImageLoader.h:
2790 * svg/SVGLineElement.h:
2791 * svg/SVGLinearGradientElement.h:
2792 * svg/SVGMPathElement.h:
2793 * svg/SVGMarkerElement.h:
2794 * svg/SVGMaskElement.h:
2795 * svg/SVGMissingGlyphElement.h:
2796 * svg/SVGPathBuilder.h:
2797 * svg/SVGPathByteStreamBuilder.h:
2798 * svg/SVGPathByteStreamSource.h:
2799 * svg/SVGPathElement.h:
2800 * svg/SVGPathSegArcAbs.h:
2801 * svg/SVGPathSegArcRel.h:
2802 * svg/SVGPathSegClosePath.h:
2803 * svg/SVGPathSegCurvetoCubicAbs.h:
2804 * svg/SVGPathSegCurvetoCubicRel.h:
2805 * svg/SVGPathSegCurvetoCubicSmoothAbs.h:
2806 * svg/SVGPathSegCurvetoCubicSmoothRel.h:
2807 * svg/SVGPathSegCurvetoQuadraticAbs.h:
2808 * svg/SVGPathSegCurvetoQuadraticRel.h:
2809 * svg/SVGPathSegCurvetoQuadraticSmoothAbs.h:
2810 * svg/SVGPathSegCurvetoQuadraticSmoothRel.h:
2811 * svg/SVGPathSegLinetoAbs.h:
2812 * svg/SVGPathSegLinetoHorizontalAbs.h:
2813 * svg/SVGPathSegLinetoHorizontalRel.h:
2814 * svg/SVGPathSegLinetoRel.h:
2815 * svg/SVGPathSegLinetoVerticalAbs.h:
2816 * svg/SVGPathSegLinetoVerticalRel.h:
2817 * svg/SVGPathSegListBuilder.h:
2818 * svg/SVGPathSegListSource.h:
2819 * svg/SVGPathSegMovetoAbs.h:
2820 * svg/SVGPathSegMovetoRel.h:
2821 * svg/SVGPathStringSource.h:
2822 * svg/SVGPathTraversalStateBuilder.h:
2823 * svg/SVGPatternElement.h:
2824 * svg/SVGPolyElement.h:
2825 * svg/SVGRadialGradientElement.h:
2826 * svg/SVGRectElement.h:
2827 * svg/SVGSVGElement.h:
2828 * svg/SVGScriptElement.h:
2829 * svg/SVGStopElement.h:
2830 * svg/SVGStyleElement.h:
2831 * svg/SVGSwitchElement.h:
2832 * svg/SVGSymbolElement.h:
2833 * svg/SVGTRefElement.h:
2834 * svg/SVGTSpanElement.h:
2835 * svg/SVGTextContentElement.h:
2836 * svg/SVGTextElement.h:
2837 * svg/SVGTextPathElement.h:
2838 * svg/SVGTextPositioningElement.h:
2839 * svg/SVGTitleElement.h:
2840 * svg/SVGUseElement.h:
2841 * svg/SVGVKernElement.h:
2842 * svg/SVGViewElement.h:
2843 * svg/SVGZoomEvent.h:
2844 * svg/animation/SVGSMILElement.cpp:
2845 * svg/animation/SVGSMILElement.h:
2846 * svg/graphics/SVGImageChromeClient.h:
2847 * svg/graphics/filters/SVGFEImage.h:
2848 * svg/graphics/filters/SVGFilter.h:
2849 * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
2850 * svg/properties/SVGAnimatedPathSegListPropertyTearOff.h:
2851 * svg/properties/SVGPathSegListPropertyTearOff.h:
2853 2014-01-16 Jer Noble <jer.noble@apple.com>
2855 REGRESSION(r162145): media/video-controls-visible-audio-only.html fails
2856 https://bugs.webkit.org/show_bug.cgi?id=127147
2858 Reviewed by Eric Carlson.
2860 Reset the MediaSessionManager's restrictions to their default values before
2863 Add a new virtual method "resetRestrictions()" so that each port-specific
2864 MediaSessionManager can reset the restrictions to their default values.
2865 Call this from Internals::resetToConsistentState() so that tests which change
2866 the restrictions don't affect later tests.
2868 * platform/audio/MediaSessionManager.cpp:
2869 (WebCore::MediaSessionManager::MediaSessionManager):
2870 (WebCore::MediaSessionManager::resetRestrictions):
2871 * platform/audio/MediaSessionManager.h:
2872 (WebCore::MediaSessionManager::~MediaSessionManager):
2873 * platform/audio/ios/MediaSessionManagerIOS.h:
2874 * platform/audio/ios/MediaSessionManagerIOS.mm:
2875 (WebCore::MediaSessionManageriOS::resetRestrictions):
2876 * testing/Internals.cpp:
2877 (WebCore::Internals::resetToConsistentState):
2879 2014-01-16 Alex Christensen <achristensen@webkit.org>
2881 Compile fix for WinCairo after r162138.
2882 https://bugs.webkit.org/show_bug.cgi?id=127140
2884 Reviewed by Beth Dakin.
2886 * page/FrameView.cpp:
2887 (WebCore::FrameView::extendedBackgroundRect):
2888 Use unscaledDocumentRect for extendedBackgroundRect without accelerated compositing.
2890 2014-01-16 Brady Eidson <beidson@apple.com>
2892 IDB: delete object store support
2893 <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
2895 Reviewed by Alexey Proskuryakov.
2897 * Modules/indexeddb/IDBTransactionBackendOperations.h:
2898 (WebCore::DeleteObjectStoreOperation::transaction):
2900 2014-01-16 Alexey Proskuryakov <ap@apple.com>
2902 More non-Mac build fix.
2904 * platform/network/cf/CookieJarCFNet.cpp:
2905 (WebCore::copyCookiesForURLWithFirstPartyURL):
2907 2014-01-16 Alexey Proskuryakov <ap@apple.com>
2911 * platform/network/cf/CookieJarCFNet.cpp: Remove a spurious semicolon.
2913 2014-01-16 Andy Estes <aestes@apple.com>
2915 Another iOS build fix.
2917 * platform/audio/ios/MediaSessionManagerIOS.mm:
2918 (WebCore::m_objcObserver):
2920 2014-01-16 Alexey Proskuryakov <ap@apple.com>
2922 [Mac] [iOS] Add support for CFHTTPCookieStorageAcceptPolicyExclusivelyFromMainDocumentDomain
2923 https://bugs.webkit.org/show_bug.cgi?id=127139
2925 Reviewed by Brady Eidson.
2927 * platform/ios/WebCoreSystemInterfaceIOS.mm:
2928 * platform/mac/WebCoreSystemInterface.h:
2929 * platform/mac/WebCoreSystemInterface.mm:
2930 Pass first party URL down, because reading cookies depends on it when this policy
2933 * platform/network/cf/CookieJarCFNet.cpp:
2934 (WebCore::copyCookiesForURLWithFirstPartyURL):
2935 (WebCore::cookiesForDOM):
2936 (WebCore::cookieRequestHeaderFieldValue):
2937 (WebCore::cookiesEnabled):
2938 (WebCore::getRawCookies):
2939 Use a new CFNetwork API that takes first party URL.
2941 * platform/network/mac/CookieJarMac.mm:
2942 (WebCore::cookiesForDOM):
2943 (WebCore::cookieRequestHeaderFieldValue):
2944 (WebCore::cookiesEnabled):
2945 (WebCore::getRawCookies):
2946 (WebCore::deleteCookie):
2947 Pass first party URL (and null in deleteCookie, as there is none).
2949 * platform/network/mac/ResourceHandleMac.mm:
2950 (WebCore::ResourceHandle::platformLoadResourceSynchronously):
2951 Removed a call to shouldRelaxThirdPartyCookiePolicy(), which no longer exists
2954 2014-01-16 Andy Estes <aestes@apple.com>
2956 Fix the iOS build after r162150.
2958 * platform/graphics/cg/GraphicsContextCG.cpp:
2959 (WebCore::GraphicsContext::platformInit):
2961 2014-01-16 Dean Jackson <dino@apple.com>
2963 glReadPixels should use UNSIGNED_BYTE on iOS
2964 https://bugs.webkit.org/show_bug.cgi?id=127148
2966 Reviewed by Benjamin Poulain.
2968 We were incorrectly mapping GL_UNSIGNED_INT_8_8_8_8_REV to
2969 GL_RGBA on iOS. It's only used in glReadPixels, so should
2970 be GL_UNSIGNED_BYTE.
2972 This is covered by lots of tests in the Khronos test suite,
2973 that now pass on iOS.
2975 * platform/graphics/ios/GraphicsContext3DIOS.h:
2977 2014-01-16 Anders Carlsson <andersca@apple.com>
2979 Change all uses of FINAL to final now that all our compilers support it
2980 https://bugs.webkit.org/show_bug.cgi?id=127142
2982 Reviewed by Benjamin Poulain.
2984 * Modules/encryptedmedia/MediaKeySession.h:
2985 * Modules/indexeddb/IDBCursorBackendOperations.h:
2986 * Modules/indexeddb/IDBDatabase.h:
2987 * Modules/indexeddb/IDBDatabaseCallbacksImpl.h:
2988 * Modules/indexeddb/IDBRequest.h:
2989 * Modules/indexeddb/IDBTransaction.h:
2990 * Modules/indexeddb/IDBTransactionBackendOperations.h:
2991 * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
2992 * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2993 * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
2994 * Modules/mediasource/MediaSource.h:
2995 * Modules/mediasource/MediaSourceRegistry.h:
2996 * Modules/mediasource/SourceBuffer.h:
2997 * Modules/mediasource/SourceBufferList.h:
2998 * Modules/mediastream/AudioStreamTrack.h:
2999 * Modules/mediastream/MediaStream.h:
3000 * Modules/mediastream/MediaStreamRegistry.h:
3001 * Modules/mediastream/MediaStreamTrack.h:
3002 * Modules/mediastream/RTCDTMFSender.h:
3003 * Modules/mediastream/RTCDataChannel.h:
3004 * Modules/mediastream/RTCPeerConnection.h:
3005 * Modules/mediastream/UserMediaRequest.h:
3006 * Modules/mediastream/VideoStreamTrack.h:
3007 * Modules/notifications/Notification.h:
3008 * Modules/speech/SpeechSynthesisUtterance.h:
3009 * Modules/webaudio/AudioContext.h:
3010 * Modules/webaudio/AudioNode.h:
3011 * Modules/websockets/WebSocket.h:
3012 * accessibility/AccessibilityList.h:
3013 * accessibility/AccessibilityListBoxOption.h:
3014 * accessibility/AccessibilityNodeObject.h:
3015 * accessibility/AccessibilitySearchFieldButtons.h:
3016 * accessibility/AccessibilitySlider.h:
3017 * bindings/js/JSCryptoAlgorithmBuilder.h:
3018 * bindings/js/JSCryptoKeySerializationJWK.h:
3019 * bindings/js/JSDOMGlobalObjectTask.cpp:
3020 * bindings/js/JSDOMGlobalObjectTask.h:
3021 * bindings/js/JSLazyEventListener.h:
3022 * bindings/js/ScriptDebugServer.h:
3023 * bindings/js/WorkerScriptDebugServer.h:
3024 * crypto/algorithms/CryptoAlgorithmAES_CBC.h:
3025 * crypto/algorithms/CryptoAlgorithmAES_KW.h:
3026 * crypto/algorithms/CryptoAlgorithmHMAC.h:
3027 * crypto/algorithms/CryptoAlgorithmRSAES_PKCS1_v1_5.h:
3028 * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h:
3029 * crypto/algorithms/CryptoAlgorithmRSA_OAEP.h:
3030 * crypto/algorithms/CryptoAlgorithmSHA1.h:
3031 * crypto/algorithms/CryptoAlgorithmSHA224.h:
3032 * crypto/algorithms/CryptoAlgorithmSHA256.h:
3033 * crypto/algorithms/CryptoAlgorithmSHA384.h:
3034 * crypto/algorithms/CryptoAlgorithmSHA512.h:
3035 * crypto/keys/CryptoKeyAES.h:
3036 * crypto/keys/CryptoKeyDataOctetSequence.h:
3037 * crypto/keys/CryptoKeyDataRSAComponents.h:
3038 * crypto/keys/CryptoKeyHMAC.h:
3039 * crypto/keys/CryptoKeyRSA.h:
3040 * crypto/keys/CryptoKeySerializationRaw.h:
3041 * crypto/parameters/CryptoAlgorithmAesCbcParams.h:
3042 * crypto/parameters/CryptoAlgorithmAesKeyGenParams.h:
3043 * crypto/parameters/CryptoAlgorithmHmacKeyParams.h:
3044 * crypto/parameters/CryptoAlgorithmHmacParams.h:
3045 * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h:
3046 * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
3047 * crypto/parameters/CryptoAlgorithmRsaOaepParams.h:
3048 * crypto/parameters/CryptoAlgorithmRsaSsaParams.h:
3049 * css/CSSCanvasValue.h:
3050 * css/CSSFontSelector.h:
3051 * css/CSSStyleSheet.h:
3053 * dom/BeforeUnloadEvent.h:
3054 * dom/CDATASection.h:
3055 * dom/CharacterData.h:
3056 * dom/ChildNodeList.h:
3057 * dom/Clipboard.cpp:
3059 * dom/DatasetDOMStringMap.h:
3061 * dom/DocumentEventQueue.cpp:
3062 * dom/DocumentEventQueue.h:
3063 * dom/DocumentType.h:
3065 * dom/EntityReference.h:
3066 * dom/EventContext.h:
3067 * dom/EventTarget.h:
3069 * dom/LiveNodeList.h:
3070 * dom/MessagePort.h:
3074 * dom/ProcessingInstruction.h:
3075 * dom/PseudoElement.h:
3077 * dom/StaticNodeList.h:
3078 * dom/StyledElement.h:
3079 * dom/TemplateContentDocumentFragment.h:
3081 * dom/WebKitNamedFlow.h:
3082 * editing/ios/EditorIOS.mm:
3083 * editing/mac/EditorMac.mm:
3084 * editing/markup.cpp:
3086 * fileapi/FileReader.h:
3088 * html/DOMSettableTokenList.h:
3089 * html/FTPDirectoryDocument.cpp:
3090 * html/FormAssociatedElement.cpp:
3091 * html/FormAssociatedElement.h:
3092 * html/HTMLAllCollection.h:
3093 * html/HTMLAnchorElement.h:
3094 * html/HTMLAppletElement.h:
3095 * html/HTMLAreaElement.h:
3096 * html/HTMLAudioElement.h:
3097 * html/HTMLBDIElement.h:
3098 * html/HTMLBRElement.h:
3099 * html/HTMLBaseElement.h:
3100 * html/HTMLBaseFontElement.h:
3101 * html/HTMLBodyElement.h:
3102 * html/HTMLButtonElement.h:
3103 * html/HTMLCanvasElement.h:
3104 * html/HTMLDListElement.h:
3105 * html/HTMLDataListElement.h:
3106 * html/HTMLDetailsElement.h:
3107 * html/HTMLDirectoryElement.h:
3108 * html/HTMLDocument.h:
3109 * html/HTMLElement.h:
3110 * html/HTMLEmbedElement.h:
3111 * html/HTMLFieldSetElement.h:
3112 * html/HTMLFontElement.h:
3113 * html/HTMLFormControlElement.h:
3114 * html/HTMLFormElement.h:
3115 * html/HTMLFrameElement.h:
3116 * html/HTMLFrameSetElement.h:
3117 * html/HTMLHRElement.h:
3118 * html/HTMLHeadElement.h:
3119 * html/HTMLHeadingElement.h:
3120 * html/HTMLHtmlElement.h:
3121 * html/HTMLIFrameElement.h:
3122 * html/HTMLImageElement.h:
3123 * html/HTMLInputElement.h:
3124 * html/HTMLKeygenElement.cpp:
3125 * html/HTMLKeygenElement.h:
3126 * html/HTMLLIElement.h:
3127 * html/HTMLLabelElement.h:
3128 * html/HTMLLegendElement.h:
3129 * html/HTMLLinkElement.h:
3130 * html/HTMLMapElement.h:
3131 * html/HTMLMarqueeElement.h:
3132 * html/HTMLMenuElement.h:
3133 * html/HTMLMetaElement.h:
3134 * html/HTMLMeterElement.h:
3135 * html/HTMLModElement.h:
3136 * html/HTMLNameCollection.h:
3137 * html/HTMLOListElement.h:
3138 * html/HTMLObjectElement.h:
3139 * html/HTMLOptGroupElement.h:
3140 * html/HTMLOptionElement.h:
3141 * html/HTMLOptionsCollection.h:
3142 * html/HTMLOutputElement.h:
3143 * html/HTMLParagraphElement.h:
3144 * html/HTMLParamElement.h:
3145 * html/HTMLPlugInElement.h:
3146 * html/HTMLPreElement.h:
3147 * html/HTMLProgressElement.h:
3148 * html/HTMLQuoteElement.h:
3149 * html/HTMLScriptElement.h:
3150 * html/HTMLSelectElement.h:
3151 * html/HTMLSourceElement.h:
3152 * html/HTMLStyleElement.h:
3153 * html/HTMLSummaryElement.h:
3154 * html/HTMLTableCaptionElement.h:
3155 * html/HTMLTableCellElement.h:
3156 * html/HTMLTableColElement.h:
3157 * html/HTMLTableElement.h:
3158 * html/HTMLTableRowElement.h:
3159 * html/HTMLTableRowsCollection.h:
3160 * html/HTMLTableSectionElement.h:
3161 * html/HTMLTemplateElement.h:
3162 * html/HTMLTextAreaElement.h:
3163 * html/HTMLTextFormControlElement.h:
3164 * html/HTMLTitleElement.h:
3165 * html/HTMLTrackElement.h:
3166 * html/HTMLUListElement.h:
3167 * html/HTMLUnknownElement.h:
3168 * html/HTMLVideoElement.h:
3169 * html/HTMLViewSourceDocument.h:
3170 * html/ImageDocument.cpp:
3171 * html/ImageDocument.h:
3172 * html/LabelableElement.h:
3173 * html/LabelsNodeList.h:
3174 * html/MediaController.h:
3175 * html/MediaDocument.cpp:
3176 * html/MediaDocument.h:
3177 * html/MediaFragmentURIParser.h:
3178 * html/PluginDocument.cpp:
3179 * html/PluginDocument.h:
3180 * html/RangeInputType.h:
3181 * html/TextDocument.h:
3182 * html/parser/TextDocumentParser.h:
3183 * html/parser/TextViewSourceParser.h:
3184 * html/shadow/DetailsMarkerControl.h:
3185 * html/shadow/MediaControlElementTypes.h:
3186 * html/shadow/MediaControlElements.h:
3187 * html/shadow/MeterShadowElement.h:
3188 * html/shadow/ProgressShadowElement.h:
3189 * html/shadow/SliderThumbElement.h:
3190 * html/shadow/SpinButtonElement.h:
3191 * html/shadow/TextControlInnerElements.h:
3192 * html/shadow/YouTubeEmbedShadowElement.h:
3193 * html/track/TextTrack.h:
3194 * html/track/TextTrackCue.h:
3195 * html/track/TextTrackCueGeneric.cpp:
3196 * html/track/TextTrackCueGeneric.h:
3197 * html/track/TrackListBase.h:
3198 * html/track/WebVTTElement.h:
3199 * inspector/CommandLineAPIModule.h:
3200 * inspector/InjectedScriptCanvasModule.h:
3201 * inspector/InspectorConsoleAgent.cpp:
3202 * inspector/InspectorController.h:
3203 * inspector/InspectorDebuggerAgent.h:
3204 * inspector/PageConsoleAgent.cpp:
3205 * inspector/PageInjectedScriptHost.h:
3206 * inspector/PageInjectedScriptManager.h:
3207 * inspector/WorkerInspectorController.h:
3208 * loader/SinkDocument.cpp:
3209 * loader/SinkDocument.h:
3210 * loader/appcache/DOMApplicationCache.h:
3211 * loader/cache/CachedCSSStyleSheet.h:
3212 * loader/cache/CachedFont.h:
3213 * loader/cache/CachedRawResource.h:
3214 * loader/cache/CachedSVGDocument.h:
3215 * loader/cache/CachedScript.h:
3216 * loader/cache/CachedShader.h:
3217 * loader/cache/CachedTextTrack.h:
3218 * loader/cache/CachedXSLStyleSheet.h:
3219 * loader/icon/IconLoader.h:
3220 * mathml/MathMLSelectElement.h:
3223 * page/EventSource.h:
3227 * page/PageDebuggable.h:
3228 * page/PageSerializer.cpp:
3229 * page/Performance.h:
3230 * page/SuspendableTimer.h:
3231 * page/animation/KeyframeAnimation.h:
3232 * page/scrolling/ScrollingStateFixedNode.h:
3233 * page/scrolling/ScrollingStateScrollingNode.h:
3234 * page/scrolling/ScrollingStateStickyNode.h:
3235 * platform/ClockGeneric.h:
3236 * platform/efl/ScrollbarThemeEfl.h:
3237 * platform/graphics/BitmapImage.h:
3238 * platform/graphics/CrossfadeGeneratedImage.h:
3239 * platform/graphics/GradientImage.h:
3240 * platform/graphics/SimpleFontData.h:
3241 * platform/graphics/avfoundation/objc/AudioTrackPrivateMediaSourceAVFObjC.h:
3242 * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
3243 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
3244 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
3245 * platform/graphics/avfoundation/objc/VideoTrackPrivateAVFObjC.h:
3246 * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
3247 * platform/graphics/ca/mac/PlatformCALayerMac.h:
3248 * platform/graphics/ca/win/PlatformCALayerWin.h:
3249 * platform/graphics/cg/PDFDocumentImage.h:
3250 * platform/graphics/gstreamer/AudioTrackPrivateGStreamer.h:
3251 * platform/graphics/gstreamer/MediaSourceGStreamer.h:
3252 * platform/graphics/gstreamer/SourceBufferPrivateGStreamer.h:
3253 * platform/graphics/gstreamer/VideoTrackPrivateGStreamer.h:
3254 * platform/ios/WebSafeGCActivityCallbackIOS.h:
3255 * platform/ios/WebSafeIncrementalSweeperIOS.h:
3256 * platform/mac/PlatformClockCA.h:
3257 * platform/mac/PlatformClockCM.h:
3258 * platform/mac/ScrollAnimatorMac.h:
3259 * platform/mediastream/MediaStreamTrackPrivate.h:
3260 * platform/mediastream/mac/MediaStreamCenterMac.h:
3261 * platform/mock/MockMediaStreamCenter.h:
3262 * platform/mock/RTCDataChannelHandlerMock.h:
3263 * platform/mock/RTCPeerConnectionHandlerMock.h:
3264 * platform/mock/mediasource/MockBox.h:
3265 * platform/mock/mediasource/MockMediaSourcePrivate.h:
3266 * platform/mock/mediasource/MockSourceBufferPrivate.cpp:
3267 * platform/network/cf/ResourceHandleCFURLConnectionDelegateWithOperationQueue.h:
3268 * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.h:
3269 * platform/text/LocaleNone.cpp:
3270 * platform/text/PlatformLocale.cpp:
3271 * rendering/EllipsisBox.h:
3272 * rendering/FilterEffectRenderer.h:
3273 * rendering/InlineElementBox.h:
3274 * rendering/InlineFlowBox.h:
3275 * rendering/InlineTextBox.h:
3276 * rendering/RenderBlock.h:
3277 * rendering/RenderBlockFlow.h:
3278 * rendering/RenderBox.cpp:
3279 (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
3280 (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
3281 * rendering/RenderBox.h:
3282 * rendering/RenderButton.h:
3283 * rendering/RenderCombineText.h:
3284 * rendering/RenderCounter.h:
3285 * rendering/RenderDeprecatedFlexibleBox.h:
3286 * rendering/RenderDetailsMarker.h:
3287 * rendering/RenderElement.h:
3288 * rendering/RenderEmbeddedObject.h:
3289 * rendering/RenderFieldset.h:
3290 * rendering/RenderFileUploadControl.h:
3291 * rendering/RenderFlexibleBox.h:
3292 * rendering/RenderFlowThread.h:
3293 * rendering/RenderFrame.h:
3294 * rendering/RenderFrameSet.h:
3295 * rendering/RenderFullScreen.cpp:
3296 * rendering/RenderFullScreen.h:
3297 * rendering/RenderGrid.h:
3298 * rendering/RenderHTMLCanvas.h:
3299 * rendering/RenderIFrame.h:
3300 * rendering/RenderImage.h:
3301 * rendering/RenderInline.h:
3302 * rendering/RenderLayer.h:
3303 * rendering/RenderLayerFilterInfo.h:
3304 * rendering/RenderLineBreak.h:
3305 * rendering/RenderListBox.h:
3306 * rendering/RenderListItem.h:
3307 * rendering/RenderListMarker.h:
3308 * rendering/RenderMedia.h:
3309 * rendering/RenderMediaControlElements.h:
3310 * rendering/RenderMenuList.h:
3311 * rendering/RenderMeter.h:
3312 * rendering/RenderMultiColumnBlock.h:
3313 * rendering/RenderMultiColumnFlowThread.h:
3314 * rendering/RenderMultiColumnSet.h:
3315 * rendering/RenderNamedFlowFragment.h:
3316 * rendering/RenderNamedFlowThread.h:
3317 * rendering/RenderProgress.h:
3318 * rendering/RenderQuote.h:
3319 * rendering/RenderRegion.h:
3320 * rendering/RenderRegionSet.h:
3321 * rendering/RenderReplaced.h:
3322 * rendering/RenderReplica.h:
3323 * rendering/RenderRuby.h:
3324 * rendering/RenderRubyBase.h:
3325 * rendering/RenderRubyRun.h:
3326 * rendering/RenderRubyText.h:
3327 * rendering/RenderScrollbar.h:
3328 * rendering/RenderScrollbarPart.h:
3329 * rendering/RenderSearchField.h:
3330 * rendering/RenderSlider.h:
3331 * rendering/RenderSnapshottedPlugIn.h:
3332 * rendering/RenderTable.h:
3333 * rendering/RenderTableCaption.h:
3334 * rendering/RenderTableCell.h:
3335 * rendering/RenderTableCol.h:
3336 * rendering/RenderTableRow.h:
3337 * rendering/RenderTableSection.h:
3338 * rendering/RenderText.h:
3339 * rendering/RenderTextControl.h:
3340 * rendering/RenderTextControlMultiLine.h:
3341 * rendering/RenderTextControlSingleLine.h:
3342 * rendering/RenderTextFragment.h:
3343 * rendering/RenderTextTrackCue.h:
3344 * rendering/RenderVideo.h:
3345 * rendering/RenderView.h:
3346 * rendering/RenderWidget.h:
3347 * rendering/RootInlineBox.h:
3348 * rendering/TrailingFloatsRootInlineBox.h:
3349 * rendering/mathml/RenderMathMLBlock.h:
3350 * rendering/mathml/RenderMathMLFenced.h:
3351 * rendering/mathml/RenderMathMLFraction.h:
3352 * rendering/mathml/RenderMathMLMath.h:
3353 * rendering/mathml/RenderMathMLOperator.h:
3354 * rendering/mathml/RenderMathMLRoot.h:
3355 * rendering/mathml/RenderMathMLRow.h:
3356 * rendering/mathml/RenderMathMLScripts.h:
3357 * rendering/mathml/RenderMathMLSpace.h:
3358 * rendering/mathml/RenderMathMLSquareRoot.h:
3359 * rendering/shapes/ShapeInsideInfo.h:
3360 * rendering/shapes/ShapeOutsideInfo.h:
3361 * rendering/style/ContentData.h:
3362 * rendering/style/StyleCachedImage.h:
3363 * rendering/style/StyleCachedImageSet.h:
3364 * rendering/style/StyleGeneratedImage.h:
3365 * rendering/svg/RenderSVGBlock.h:
3366 * rendering/svg/RenderSVGContainer.h:
3367 * rendering/svg/RenderSVGEllipse.h:
3368 * rendering/svg/RenderSVGForeignObject.h:
3369 * rendering/svg/RenderSVGGradientStop.h:
3370 * rendering/svg/RenderSVGHiddenContainer.h:
3371 * rendering/svg/RenderSVGImage.h:
3372 * rendering/svg/RenderSVGInline.h:
3373 * rendering/svg/RenderSVGInlineText.h:
3374 * rendering/svg/RenderSVGModelObject.h:
3375 * rendering/svg/RenderSVGPath.h:
3376 * rendering/svg/RenderSVGRect.h:
3377 * rendering/svg/RenderSVGResourceClipper.h:
3378 * rendering/svg/RenderSVGResourceContainer.h:
3379 * rendering/svg/RenderSVGResourceFilter.h:
3380 * rendering/svg/RenderSVGResourceFilterPrimitive.h:
3381 * rendering/svg/RenderSVGResourceGradient.h:
3382 * rendering/svg/RenderSVGResourceLinearGradient.h:
3383 * rendering/svg/RenderSVGResourceMarker.h:
3384 * rendering/svg/RenderSVGResourceMasker.h:
3385 * rendering/svg/RenderSVGResourcePattern.h:
3386 * rendering/svg/RenderSVGResourceRadialGradient.h:
3387 * rendering/svg/RenderSVGRoot.h:
3388 * rendering/svg/RenderSVGShape.cpp:
3389 * rendering/svg/RenderSVGShape.h:
3390 * rendering/svg/RenderSVGTSpan.h:
3391 * rendering/svg/RenderSVGText.h:
3392 * rendering/svg/RenderSVGTextPath.h:
3393 * rendering/svg/RenderSVGTransformableContainer.h:
3394 * rendering/svg/RenderSVGViewportContainer.h:
3395 * rendering/svg/SVGInlineFlowBox.h:
3396 * rendering/svg/SVGInlineTextBox.h:
3397 * rendering/svg/SVGRootInlineBox.h:
3398 * rendering/svg/SVGTextRunRenderingContext.h:
3399 * svg/SVGAElement.h:
3400 * svg/SVGAltGlyphDefElement.h:
3401 * svg/SVGAltGlyphElement.h:
3402 * svg/SVGAltGlyphItemElement.h:
3403 * svg/SVGAnimateColorElement.h:
3404 * svg/SVGAnimateMotionElement.h:
3405 * svg/SVGAnimateTransformElement.h:
3406 * svg/SVGAnimatedAngle.h:
3407 * svg/SVGAnimatedBoolean.h:
3408 * svg/SVGAnimatedColor.h:
3409 * svg/SVGAnimatedEnumeration.h:
3410 * svg/SVGAnimatedInteger.h:
3411 * svg/SVGAnimatedIntegerOptionalInteger.h:
3412 * svg/SVGAnimatedLength.h:
3413 * svg/SVGAnimatedLengthList.h:
3414 * svg/SVGAnimatedNumber.h:
3415 * svg/SVGAnimatedNumberList.h:
3416 * svg/SVGAnimatedNumberOptionalNumber.h:
3417 * svg/SVGAnimatedPath.h:
3418 * svg/SVGAnimatedPointList.h:
3419 * svg/SVGAnimatedPreserveAspectRatio.h:
3420 * svg/SVGAnimatedRect.h:
3421 * svg/SVGAnimatedString.h:
3422 * svg/SVGAnimatedTransformList.h:
3423 * svg/SVGCircleElement.h:
3424 * svg/SVGClipPathElement.h:
3425 * svg/SVGCursorElement.h:
3426 * svg/SVGDefsElement.h:
3427 * svg/SVGDescElement.h:
3428 * svg/SVGDocument.h:
3430 * svg/SVGEllipseElement.h:
3431 * svg/SVGFEBlendElement.h:
3432 * svg/SVGFEColorMatrixElement.h:
3433 * svg/SVGFEComponentTransferElement.h:
3434 * svg/SVGFECompositeElement.h:
3435 * svg/SVGFEConvolveMatrixElement.h:
3436 * svg/SVGFEDiffuseLightingElement.h:
3437 * svg/SVGFEDisplacementMapElement.h:
3438 * svg/SVGFEDistantLightElement.h:
3439 * svg/SVGFEDropShadowElement.h:
3440 * svg/SVGFEFloodElement.h:
3441 * svg/SVGFEFuncAElement.h:
3442 * svg/SVGFEFuncBElement.h:
3443 * svg/SVGFEFuncGElement.h:
3444 * svg/SVGFEFuncRElement.h:
3445 * svg/SVGFEGaussianBlurElement.h:
3446 * svg/SVGFEImageElement.h:
3447 * svg/SVGFEMergeElement.h:
3448 * svg/SVGFEMergeNodeElement.h:
3449 * svg/SVGFEMorphologyElement.h:
3450 * svg/SVGFEOffsetElement.h:
3451 * svg/SVGFEPointLightElement.h:
3452 * svg/SVGFESpecularLightingElement.h:
3453 * svg/SVGFESpotLightElement.h:
3454 * svg/SVGFETileElement.h:
3455 * svg/SVGFETurbulenceElement.h:
3456 * svg/SVGFilterElement.h:
3457 * svg/SVGFontElement.h:
3458 * svg/SVGFontFaceElement.h:
3459 * svg/SVGFontFaceFormatElement.h:
3460 * svg/SVGFontFaceNameElement.h:
3461 * svg/SVGFontFaceSrcElement.h:
3462 * svg/SVGFontFaceUriElement.h:
3463 * svg/SVGForeignObjectElement.h:
3464 * svg/SVGGElement.h:
3465 * svg/SVGGlyphElement.h:
3466 * svg/SVGGlyphRefElement.h:
3467 * svg/SVGHKernElement.h:
3468 * svg/SVGImageElement.h:
3469 * svg/SVGLineElement.h:
3470 * svg/SVGLinearGradientElement.h:
3471 * svg/SVGMPathElement.h:
3472 * svg/SVGMarkerElement.h:
3473 * svg/SVGMaskElement.h:
3474 * svg/SVGMetadataElement.h:
3475 * svg/SVGMissingGlyphElement.h:
3476 * svg/SVGPathElement.h:
3477 * svg/SVGPathStringBuilder.h:
3478 * svg/SVGPatternElement.h:
3479 * svg/SVGPolygonElement.h:
3480 * svg/SVGPolylineElement.h:
3481 * svg/SVGRadialGradientElement.h:
3482 * svg/SVGRectElement.h:
3483 * svg/SVGSVGElement.h:
3484 * svg/SVGScriptElement.h:
3485 * svg/SVGSetElement.h:
3486 * svg/SVGStopElement.h:
3487 * svg/SVGStyleElement.h:
3488 * svg/SVGSwitchElement.h:
3489 * svg/SVGSymbolElement.h:
3490 * svg/SVGTRefElement.h:
3491 * svg/SVGTSpanElement.h:
3492 * svg/SVGTextContentElement.h:
3493 * svg/SVGTextElement.h:
3494 * svg/SVGTextPathElement.h: