Remove duplicate entry from WebCore Xcode project
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2013-02-04  David Kilzer  <ddkilzer@apple.com>
2
3         Remove duplicate entry from WebCore Xcode project
4
5             $ uniq Source/WebCore/WebCore.xcodeproj/project.pbxproj | diff -u - Source/WebCore/WebCore.xcodeproj/project.pbxproj | patch -p0 -R
6             patching file Source/WebCore/WebCore.xcodeproj/project.pbxproj
7
8         * WebCore.xcodeproj/project.pbxproj: Remove duplicate.
9
10 2013-02-04  David Kilzer  <ddkilzer@apple.com>
11
12         Sort WebCore Xcode project file
13
14         * WebCore.xcodeproj/project.pbxproj:
15
16 2013-02-04  Dan Carney  <dcarney@google.com>
17
18         [v8] disable ascii check once latin-1 is enabled in v8
19         https://bugs.webkit.org/show_bug.cgi?id=108805
20
21         Reviewed by Kentaro Hara.
22
23         No new tests. No change in functionality.
24
25         * bindings/v8/V8ValueCache.cpp:
26         (WebCore::makeExternalString):
27
28 2013-02-04  Pavel Feldman  <pfeldman@chromium.org>
29
30         Web Inspector: make tabbed pane header a relayout boundary.
31         https://bugs.webkit.org/show_bug.cgi?id=108650
32
33         Reviewed by Alexander Pavlov.
34
35         Otherwise, its measure width routine causes total reflow.
36
37         * inspector/front-end/tabbedPane.css:
38         (.tabbed-pane-header):
39
40 2013-02-04  Hayato Ito  <hayato@chromium.org>
41
42         Split InspectorCSSOMWrappers out from StyleResolver.h into its own file.
43         https://bugs.webkit.org/show_bug.cgi?id=108797
44
45         Reviewed by Hajime Morita.
46
47         This is a following patch after r141373. Now we can have
48         InspectorCSSOMWrappers in its own file since CSSDefaultStyleSheets
49         was factored out from StyleResolver.cpp in r141733.
50
51         WebCore/inspector/ directory is used for basic inspector
52         functionalities. Therefore, I've put
53         InspectorCSSOMWrappers.{h,cpp} in WebCore/css/ rather than
54         WebCore/inspector/.
55
56         No new tests, refactoring only.
57
58         * CMakeLists.txt:
59         * GNUmakefile.list.am:
60         * Target.pri:
61         * WebCore.gypi:
62         * WebCore.xcodeproj/project.pbxproj:
63         * css/CSSAllInOne.cpp:
64         * css/InspectorCSSOMWrappers.cpp: Added.
65         (WebCore):
66         (WebCore::InspectorCSSOMWrappers::collectFromStyleSheetIfNeeded):
67         (WebCore::InspectorCSSOMWrappers::collect):
68         (WebCore::InspectorCSSOMWrappers::collectFromStyleSheetContents):
69         (WebCore::InspectorCSSOMWrappers::collectFromStyleSheets):
70         (WebCore::InspectorCSSOMWrappers::collectFromDocumentStyleSheetCollection):
71         (WebCore::InspectorCSSOMWrappers::getWrapperForRuleInSheets):
72         (WebCore::InspectorCSSOMWrappers::reportMemoryUsage):
73         * css/InspectorCSSOMWrappers.h: Added.
74         (WebCore):
75         (InspectorCSSOMWrappers):
76         * css/StyleResolver.cpp:
77         * css/StyleResolver.h:
78
79 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
80
81         [Soup] Wrap SoupSession by NetworkStorageSession
82         https://bugs.webkit.org/show_bug.cgi?id=108615
83
84         Reviewed by Alexey Proskuryakov.
85
86         Implement NetworkStorageSession for ports using soup. It has been
87         separated from NetworkingContext, so now we have a default storage
88         session, which is the same as before but now wrapped with NetworkStorageSession,
89         and it can be overridden by the networking context.
90
91         No change in behavior so no new tests.
92
93         * CMakeLists.txt:
94         * GNUmakefile.list.am:
95         * PlatformBlackBerry.cmake:
96         * PlatformEfl.cmake:
97         * loader/CookieJar.cpp:
98         (WebCore):
99         Now we also get the storage session from the networking context
100         and not the other way.
101
102         * platform/network/NetworkStorageSession.h:
103         (NetworkStorageSession):
104         (WebCore::NetworkStorageSession::setSoupSession):
105         (WebCore::NetworkStorageSession::soupSession):
106         Hold a SoupSession pointer for ports using soup. Added a setter because it is
107         necessary for API's that allow it to be specified per page, like EFL WK1.
108
109         * platform/network/NetworkingContext.h:
110         (NetworkingContext):
111         * platform/network/soup/CookieJarSoup.cpp:
112         (WebCore::cookieJarForSession):
113         * platform/network/soup/NetworkStorageSessionSoup.cpp: Copied from Source/WebKit2/WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp.
114         (WebCore::NetworkStorageSession::NetworkStorageSession):
115         (WebCore::NetworkStorageSession::defaultStorageSession):
116         (WebCore::NetworkStorageSession::createDefaultSession):
117         (WebCore::NetworkStorageSession::createPrivateBrowsingSession):
118         (WebCore::NetworkStorageSession::switchToNewTestingSession):
119         * platform/network/soup/ResourceHandleSoup.cpp:
120         (WebCore::sessionFromContext):
121
122         * CMakeLists.txt:
123         * GNUmakefile.list.am:
124         * PlatformBlackBerry.cmake:
125         * PlatformEfl.cmake:
126         * loader/CookieJar.cpp:
127         (WebCore):
128         * platform/network/NetworkStorageSession.h:
129         (NetworkStorageSession):
130         (WebCore::NetworkStorageSession::setSoupSession):
131         (WebCore::NetworkStorageSession::soupSession):
132         * platform/network/NetworkingContext.h:
133         (NetworkingContext):
134         * platform/network/soup/CookieJarSoup.cpp:
135         (WebCore::cookieJarForSession):
136         * platform/network/soup/ResourceHandleSoup.cpp:
137         (WebCore::sessionFromContext):
138
139 2013-02-04  Andrey Lushnikov  <lushnikov@chromium.org>
140
141         Web Inspector: source location in statusbar has few bugs in it
142         https://bugs.webkit.org/show_bug.cgi?id=108748
143
144         Reviewed by Vsevolod Vlasov.
145
146         Call super method statusBarItems in SnippetJavaScriptSourceFrame class
147         and merge its results. Fix css styles for source location in statusbar
148         and rename its css class into a less confusing name.
149
150         No new test: no change in behaviour.
151
152         * inspector/front-end/SnippetJavaScriptSourceFrame.js:
153         (WebInspector.SnippetJavaScriptSourceFrame.prototype.statusBarItems):
154         * inspector/front-end/SourceFrame.js:
155         (WebInspector.SourceFrame):
156         * inspector/front-end/inspector.css:
157         (.source-frame-cursor-position):
158
159 2013-02-04  Mike West  <mkwst@chromium.org>
160
161         Cleanup: Normalize usage of ExceptionCode in ContainerNode::checkXxxChild()
162         https://bugs.webkit.org/show_bug.cgi?id=108766
163
164         Reviewed by Kentaro Hara.
165
166         This patch refactors checkAddChild and checkReplaceChild to remove the
167         creation of an extra ExceptionCode that's not necessary for the
168         desired behavior, and to bring the ExceptionCode usage into line with
169         the rest of WebKit (this was the only case where ExceptionCode was
170         assigned inside an 'if' statement's condition).
171
172         After this patch, 'ec' will always be assigned a value, even if the
173         result of 'checkAcceptChild' is 0. This would only change behavior if
174         'ec' was non-zero coming into the function, and 'checkAcceptChild'
175         returned 0. Since every callsite is either directly after an explicit
176         zeroing of 'ec', or after an 'if (ec)' clause, that case should never
177         appear. This patch, therefore, shouldn't visibly change WebKit's
178         behavior.
179
180         * dom/ContainerNode.cpp:
181         (WebCore::checkAddChild):
182         (WebCore::checkReplaceChild):
183
184 2013-02-03  David Kilzer  <ddkilzer@apple.com>
185
186         Upstream ENABLE_PDFKIT_PLUGIN settting
187         <http://webkit.org/b/108792>
188
189         Reviewed by Tim Horton.
190
191         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
192         on iOS since PDFKit is a Mac-only framework.
193
194 2013-02-03  Takashi Sakamoto  <tasak@google.com>
195
196         Split per-resolve logic out from StyleResolver.
197         https://bugs.webkit.org/show_bug.cgi?id=96421
198
199         Reviewed by Eric Seidel.
200
201         Implemented class StyleResolver::State and added m_state to
202         StyleResolver. All member variables used for per-resolve logic are
203         moved into the state class.
204
205         No new tests, because just refactoring.
206
207         * css/SVGCSSStyleSelector.cpp:
208         (WebCore::StyleResolver::applySVGProperty):
209         * css/StyleResolver.cpp:
210         (WebCore):
211         (WebCore::StyleResolver::StyleResolver):
212         (WebCore::StyleResolver::collectMatchingRules):
213         (WebCore::StyleResolver::collectMatchingRulesForRegion):
214         (WebCore::StyleResolver::sortAndTransferMatchedRules):
215         (WebCore::StyleResolver::matchScopedAuthorRules):
216         (WebCore::StyleResolver::styleSharingCandidateMatchesHostRules):
217         (WebCore::StyleResolver::matchHostRules):
218         (WebCore::StyleResolver::matchAuthorRules):
219         (WebCore::StyleResolver::matchUserRules):
220         (WebCore::StyleResolver::matchUARules):
221         (WebCore::StyleResolver::collectMatchingRulesForList):
222         (WebCore::StyleResolver::sortMatchedRules):
223         (WebCore::StyleResolver::matchAllRules):
224         (WebCore::StyleResolver::initElement):
225         (WebCore::StyleResolver::initForStyleResolve):
226         (WebCore::StyleResolver::styleSharingCandidateMatchesRuleSet):
227         (WebCore::StyleResolver::canShareStyleWithControl):
228         (WebCore::StyleResolver::sharingCandidateHasIdenticalStyleAffectingAttributes):
229         (WebCore::StyleResolver::canShareStyleWithElement):
230         (WebCore::StyleResolver::locateSharedStyle):
231         (WebCore::StyleResolver::styleForElement):
232         (WebCore::StyleResolver::styleForKeyframe):
233         (WebCore::StyleResolver::pseudoStyleForElement):
234         (WebCore::StyleResolver::styleForPage):
235         (WebCore::StyleResolver::defaultStyleForElement):
236         (WebCore::StyleResolver::adjustRenderStyle):
237         (WebCore::StyleResolver::updateFont):
238         (WebCore::StyleResolver::cacheBorderAndBackground):
239         (WebCore::StyleResolver::pseudoStyleRulesForElement):
240         (WebCore::StyleResolver::ruleMatches):
241         (WebCore::StyleResolver::checkRegionSelector):
242         (WebCore::StyleResolver::applyProperties):
243         (WebCore::StyleResolver::applyMatchedProperties):
244         (WebCore::StyleResolver::isLeftPage):
245         (WebCore::StyleResolver::applyPropertyToStyle):
246         (WebCore::StyleResolver::useSVGZoomRules):
247         (WebCore::createGridTrackBreadth):
248         (WebCore::createGridTrackMinMax):
249         (WebCore::createGridTrackGroup):
250         (WebCore::createGridTrackList):
251         (WebCore::StyleResolver::resolveVariables):
252         (WebCore::StyleResolver::applyProperty):
253         (WebCore::StyleResolver::cachedOrPendingFromValue):
254         (WebCore::StyleResolver::generatedOrPendingFromValue):
255         (WebCore::StyleResolver::setOrPendingFromValue):
256         (WebCore::StyleResolver::cursorOrPendingFromValue):
257         (WebCore::StyleResolver::checkForTextSizeAdjust):
258         (WebCore::StyleResolver::initializeFontStyle):
259         (WebCore::StyleResolver::setFontSize):
260         (WebCore::StyleResolver::colorFromPrimitiveValue):
261         (WebCore::StyleResolver::loadPendingSVGDocuments):
262         (WebCore::StyleResolver::cachedOrPendingStyleShaderFromValue):
263         (WebCore::StyleResolver::loadPendingShaders):
264         (WebCore::StyleResolver::parseCustomFilterTransformParameter):
265         (WebCore::StyleResolver::createFilterOperations):
266         (WebCore::StyleResolver::loadPendingImage):
267         (WebCore::StyleResolver::loadPendingImages):
268         (WebCore::StyleResolver::reportMemoryUsage):
269         * css/StyleResolver.h:
270         (WebCore::StyleResolver::style):
271         (WebCore::StyleResolver::parentStyle):
272         (WebCore::StyleResolver::rootElementStyle):
273         (WebCore::StyleResolver::element):
274         (WebCore::StyleResolver::setFontDescription):
275         (WebCore::StyleResolver::setZoom):
276         (WebCore::StyleResolver::setEffectiveZoom):
277         (WebCore::StyleResolver::setTextSizeAdjust):
278         (WebCore::StyleResolver::setWritingMode):
279         (WebCore::StyleResolver::setTextOrientation):
280         (WebCore::StyleResolver::hasParentNode):
281         (WebCore::StyleResolver::addMatchedRule):
282         (StyleResolver):
283         (State):
284         (WebCore::StyleResolver::State::State):
285         (WebCore::StyleResolver::applyPropertyToRegularStyle):
286         (WebCore::StyleResolver::applyPropertyToVisitedLinkStyle):
287         Added "m_state." to access member variables used for per-resolve logic.
288
289 2013-02-03  Kent Tamura  <tkent@chromium.org>
290
291         Support setLangAttributeAwareFormControlUIEnabled on Chromium Windows XP
292         https://bugs.webkit.org/show_bug.cgi?id=108791
293
294         Reviewed by Kentaro Hara.
295
296         We didn't support setLangAttributeAwareFormControlUIEnabled(true) on
297         Chromium Windows XP because of lack of LocaleNameToLCID API. This change
298         add manual mapping from locale names to LCIDs for Windows XP.
299
300         No new tests. This doesn't make any behavior changes in products, and
301         this improves some test results.
302
303         * platform/text/win/LocaleWin.cpp:
304         (WebCore): Define NameToLCIDMap.
305         (WebCore::removeLastComponent):
306         Remove the last component separated with '-'.
307         (WebCore::ensureNameToLCIDMap):
308         Add locale names used in layout tests.
309         (WebCore::convertLocaleNameToLCID):
310         Find an appropriate LCID longest matching with the specified locale name.
311         (WebCore::LCIDFromLocale):
312         Use convertLocaleNameToLCID if LocaleNameToLCID is not available.
313
314 2013-02-03  Kent Tamura  <tkent@chromium.org>
315
316         Add FocusDirection argument to HTMLTextFormControlElement::handleFocusEvent
317         https://bugs.webkit.org/show_bug.cgi?id=108775
318
319         Reviewed by Hajime Morita.
320
321         We'd like to add a FocusDirection argument to
322         HTMLTextFormControlElement::handleFocusEvent in order to fix Bug
323         108447. This is a preparation for it.
324
325         We need to add FocusDirection arguments to some focus-related functions
326         to pass it correctly when TAB or Shift+TAB is pressed.
327
328         No new tests. This doesn't make any behavior changes.
329
330         * html/HTMLTextFormControlElement.cpp:
331         (WebCore::HTMLTextFormControlElement::dispatchFocusEvent):
332         To pass the FocusDirection argument to handleFocusEvent, we need to add
333         it to dispatchFocusEvent too.
334         * html/HTMLTextFormControlElement.h:
335         (HTMLTextFormControlElement):
336         Add FocusDirection arugment to dispatchFocusEvent.
337         (WebCore::HTMLTextFormControlElement::handleFocusEvent):
338         Add FocusDirection argument.
339
340         * dom/Node.cpp:
341         (WebCore::Node::dispatchFocusEvent): Add FocusDirection argument.
342         * dom/Node.h:
343         (Node): Ditto.
344
345         * dom/Document.cpp:
346         (WebCore::Document::setFocusedNode): Add FocusDirection argument in
347         order to pass it to Node::dispatchFocusEvent.
348         * dom/Document.h:
349         (Document): Ditto.
350
351         * page/FocusController.cpp:
352         (WebCore::dispatchEventsOnWindowAndFocusedNode):
353         Adjust Node::dispatchFocusEvent argument.
354         (WebCore::FocusController::advanceFocusInDocumentOrder):
355         Pass FocusDirectio to Element::focus.
356         (WebCore::FocusController::setFocusedNode):
357         Add FocusDirection argument in order to pass it to Document::setFocusedNode.
358         (WebCore::FocusController::advanceFocusDirectionallyInContainer):
359         Pass FocusDirectio to Element::focus.
360         * page/FocusController.h:
361         (FocusController): Add FocusDirection argument to setFocusedNode.
362
363         * dom/Element.cpp:
364         (WebCore::Element::focus):
365         Add FocusDirection argument to pass it to FocusController::setFocusedNode.
366         * dom/Element.h:
367         (Element): Ditto.
368
369         * WebCore.exp.in:
370         Update FocusController::setFocusedNode and Document::setFocusedNode.
371
372         * html/HTMLLabelElement.cpp:
373         (WebCore::HTMLLabelElement::focus): Adjust FocusDirection argument.
374         * html/HTMLLabelElement.h:
375         (HTMLLabelElement): Ditto.
376         * html/HTMLLegendElement.cpp:
377         (WebCore::HTMLLegendElement::focus): Ditto.
378         * html/HTMLLegendElement.h:
379         (HTMLLegendElement): Ditto.
380         * html/HTMLSelectElement.cpp:
381         (WebCore::HTMLSelectElement::dispatchFocusEvent): Ditto.
382         * html/HTMLSelectElement.h:
383         (HTMLSelectElement): Ditto.
384
385         * html/HTMLInputElement.cpp:
386         (WebCore::HTMLInputElement::defaultFocus):
387         Add FocusDirection argument in order to pass it from
388         HTMLInputElement::focus() to HTMLTextFormControlElement::focus().
389         (WebCore::HTMLInputElement::focus):
390         Pass the FocusDirection argument to InputType::focus. See above.
391         (WebCore::HTMLInputElement::handleFocusEvent):
392         Adjust FocusDirection argument.
393         * html/HTMLInputElement.h:
394         (HTMLInputElement):
395         * html/InputType.cpp:
396         (WebCore::InputType::focus): Add FocusDirection argument.
397         * html/InputType.h:
398         (InputType): Ditto.
399
400         * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
401         (WebCore::BaseMultipleFieldsDateAndTimeInputType::focus):
402         Add FocusDirection argument to follow InputType.
403         * html/BaseMultipleFieldsDateAndTimeInputType.h:
404         (BaseMultipleFieldsDateAndTimeInputType): Ditto.
405
406 2013-02-03  Kassy Coan  <kassycoan@chromium.org>
407
408         Adds usage instrumentation for indexedDB
409         Includes new header file in project files
410
411         https://bugs.webkit.org/show_bug.cgi?id=107772
412
413         Reviewed by Tony Chang.
414
415         Currently untestable. Has zero effect apart from histogramming.
416
417         * GNUmakefile.list.am:
418         * Modules/indexeddb/IDBDatabase.cpp:
419         (WebCore::IDBDatabase::createObjectStore):
420         (WebCore::IDBDatabase::deleteObjectStore):
421         (WebCore::IDBDatabase::transaction):
422         * Modules/indexeddb/IDBFactory.cpp:
423         (WebCore::IDBFactory::openInternal):
424         (WebCore::IDBFactory::deleteDatabase):
425         * Modules/indexeddb/IDBHistograms.h: Added.
426         (WebCore):
427         * Target.pri:
428         * WebCore.gypi:
429         * WebCore.vcproj/WebCore.vcproj:
430         * WebCore.xcodeproj/project.pbxproj:
431
432 2013-02-03  Hayato Ito  <hayato@chromium.org>
433
434         Split default style-sheet statics out from StyleResolver into its own class
435         https://bugs.webkit.org/show_bug.cgi?id=107780
436
437         Reviewed by Dimitri Glazkov.
438
439         Factored static variables and logic about default style sheets out from StyleResolver into its own class
440         CSSDefaultStyleSheets. This is a following patch after r141373.
441
442         No new tests, refactoring only.
443
444         * CMakeLists.txt:
445         * GNUmakefile.list.am:
446         * Target.pri:
447         * WebCore.gypi:
448         * WebCore.xcodeproj/project.pbxproj:
449         * css/CSSAllInOne.cpp:
450         * css/CSSDefaultStyleSheets.cpp: Added.
451         (WebCore):
452         (WebCore::elementCanUseSimpleDefaultStyle):
453         (WebCore::screenEval):
454         (WebCore::printEval):
455         (WebCore::parseUASheet):
456         (WebCore::CSSDefaultStyleSheets::initDefaultStyle):
457         (WebCore::CSSDefaultStyleSheets::loadFullDefaultStyle):
458         (WebCore::CSSDefaultStyleSheets::loadSimpleDefaultStyle):
459         (WebCore::CSSDefaultStyleSheets::viewSourceStyle):
460         (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
461         * css/CSSDefaultStyleSheets.h: Added.
462         (WebCore):
463         (CSSDefaultStyleSheets):
464         * css/StyleResolver.cpp:
465         (WebCore):
466         (WebCore::StyleResolver::StyleResolver):
467         (WebCore::StyleResolver::matchUARules):
468         (WebCore::StyleResolver::styleForElement):
469         (WebCore::StyleResolver::styleForPage):
470         (WebCore::InspectorCSSOMWrappers::getWrapperForRuleInSheets):
471         (WebCore::StyleResolver::collectFeatures):
472         (WebCore::StyleResolver::reportMemoryUsage):
473
474 2013-02-03  Kentaro Hara  <haraken@chromium.org>
475
476         [V8] Simplify CodeGeneratorV8.pm by using InheritsExtendedAttribute("EventTarget")
477         https://bugs.webkit.org/show_bug.cgi?id=108441
478
479         Reviewed by Adam Barth.
480
481         A complicated condition in GetInternalFields() can be simplified
482         by using InheritsExtendedAttribute("EventTarget").
483
484         No tests. No change in behavior.
485
486         * bindings/scripts/CodeGeneratorV8.pm:
487         (GetInternalFields):
488         * dom/EventTarget.idl: Added [EventTarget] which should have been added.
489         * svg/SVGElementInstance.idl: Ditto.
490
491 2013-02-03  Gustavo Noronha Silva  <gns@gnome.org>
492
493         [Soup] Do not use local variables for the client
494         https://bugs.webkit.org/show_bug.cgi?id=108714
495
496         Reviewed by Martin Robinson.
497
498         Covered by existing tests, refactoring code only.
499
500         We have had problems in the past with the client being destroyed or
501         changed inside a method or function, and we ended up with a stale
502         pointer, leading to crashes. This refactoring is an effort to minimize
503         the possibility of hitting that same issue in the future.
504
505         * platform/network/soup/ResourceHandleSoup.cpp:
506         (WebCore::redirectSkipCallback): no longer use a local variable to hold
507         the client.
508         (WebCore::wroteBodyDataCallback): ditto.
509         (WebCore::nextMultipartResponsePartCallback): ditto.
510         (WebCore::sendRequestCallback): ditto.
511         (WebCore::closeCallback): ditto.
512         (WebCore::readCallback): ditto.
513
514 2013-02-03  Kentaro Hara  <haraken@chromium.org>
515
516         [V8] Pass an Isolate to HasInstance() (part 1)
517         https://bugs.webkit.org/show_bug.cgi?id=108617
518
519         Reviewed by Adam Barth.
520
521         This is one of efforts to pass an Isolate to GetTemplate().
522
523         No tests. No change in behavior.
524
525         * bindings/scripts/CodeGeneratorV8.pm:
526         (JSValueToNative):
527         * bindings/scripts/test/V8/V8Float64Array.cpp:
528         (WebCore::Float64ArrayV8Internal::fooCallback):
529         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
530         (WebCore::TestActiveDOMObjectV8Internal::excitingFunctionCallback):
531         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
532         (WebCore::TestEventTargetV8Internal::dispatchEventCallback):
533         * bindings/scripts/test/V8/V8TestInterface.cpp:
534         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
535         (WebCore::TestInterfaceV8Internal::supplementalMethod2Callback):
536         * bindings/scripts/test/V8/V8TestObj.cpp:
537         (WebCore::TestObjV8Internal::testObjAttrAttrSetter):
538         (WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
539         (WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
540         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
541         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
542         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
543         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
544         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
545         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
546         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
547         (WebCore::TestObjV8Internal::mutablePointAttrSetter):
548         (WebCore::TestObjV8Internal::immutablePointAttrSetter):
549         (WebCore::TestObjV8Internal::voidMethodWithArgsCallback):
550         (WebCore::TestObjV8Internal::longMethodWithArgsCallback):
551         (WebCore::TestObjV8Internal::objMethodWithArgsCallback):
552         (WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsCallback):
553         (WebCore::TestObjV8Internal::overloadedMethod1Callback):
554         (WebCore::TestObjV8Internal::overloadedMethod2Callback):
555         (WebCore::TestObjV8Internal::overloadedMethod8Callback):
556         (WebCore::TestObjV8Internal::convert1Callback):
557         (WebCore::TestObjV8Internal::convert2Callback):
558         (WebCore::TestObjV8Internal::convert4Callback):
559         (WebCore::TestObjV8Internal::convert5Callback):
560         (WebCore::TestObjV8Internal::variadicNodeMethodCallback):
561         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
562         (WebCore::V8TestOverloadedConstructors::constructor1Callback):
563         (WebCore::V8TestOverloadedConstructors::constructor2Callback):
564         (WebCore::V8TestOverloadedConstructors::constructor3Callback):
565         * bindings/v8/Dictionary.cpp:
566         (WebCore::Dictionary::get):
567         * bindings/v8/ScriptProfiler.cpp:
568         (WebCore::ScriptProfiler::visitNodeWrappers):
569         * bindings/v8/SerializedScriptValue.cpp:
570         (WebCore::SerializedScriptValue::SerializedScriptValue):
571         (WebCore::SerializedScriptValue::deserialize):
572         * bindings/v8/V8Binding.cpp:
573         (WebCore::toDOMStringList):
574         (WebCore::toXPathNSResolver):
575         * bindings/v8/V8Binding.h:
576         (WebCore):
577         * bindings/v8/V8Collection.cpp:
578         (WebCore::toOptionsCollectionSetter):
579         * bindings/v8/V8GCController.cpp:
580         (WebCore::WrapperVisitor::WrapperVisitor):
581         (WrapperVisitor):
582         (WebCore::V8GCController::majorGCPrologue):
583         * bindings/v8/V8NPObject.cpp:
584         (WebCore::npObjectInvokeImpl):
585         * bindings/v8/V8Utilities.cpp:
586         (WebCore::extractTransferables):
587         * bindings/v8/custom/V8DocumentCustom.cpp:
588         (WebCore::V8Document::evaluateCallback):
589
590 2013-02-03  Joanmarie Diggs  <jdiggs@igalia.com>
591
592         [GTK] Make distcheck fails
593         https://bugs.webkit.org/show_bug.cgi?id=108756
594
595         Reviewed by Kentaro Hara.
596
597         * GNUmakefile.list.am: Remove header files which no longer exist;
598         correct one which got added incorrectly.
599
600 2013-02-03  Kentaro Hara  <haraken@chromium.org>
601
602         [V8] Pass an Isolate to HasInstance() (part 3)
603         https://bugs.webkit.org/show_bug.cgi?id=108622
604
605         Reviewed by Adam Barth.
606
607         This is one of efforts to pass an Isolate to GetTemplate().
608
609         No tests. No change in behavior.
610
611         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
612         (WebCore::V8InjectedScriptHost::isHTMLAllCollectionCallback):
613         (WebCore::V8InjectedScriptHost::typeCallback):
614         (WebCore::V8InjectedScriptHost::getEventListenersCallback):
615         * bindings/v8/custom/V8NodeCustom.cpp:
616         (WebCore::V8Node::insertBeforeCallback):
617         (WebCore::V8Node::replaceChildCallback):
618         (WebCore::V8Node::removeChildCallback):
619         (WebCore::V8Node::appendChildCallback):
620         * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
621         (WebCore::toWebGLUniformLocation):
622         (WebCore::V8WebGLRenderingContext::getAttachedShadersCallback):
623         (WebCore::V8WebGLRenderingContext::getProgramParameterCallback):
624         (WebCore::V8WebGLRenderingContext::getShaderParameterCallback):
625         (WebCore::V8WebGLRenderingContext::getUniformCallback):
626         (WebCore::vertexAttribAndUniformHelperf):
627         (WebCore::uniformHelperi):
628         (WebCore::uniformMatrixHelper):
629         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
630         (WebCore::isDocumentType):
631         (WebCore::V8XMLHttpRequest::sendCallback):
632
633 2013-02-03  Kentaro Hara  <haraken@chromium.org>
634
635         [V8] Pass an Isolate to HasInstance() (part 2)
636         https://bugs.webkit.org/show_bug.cgi?id=108620
637
638         Reviewed by Adam Barth.
639
640         This is one of efforts to pass an Isolate to GetTemplate().
641
642         No tests. No change in behavior.
643
644         * bindings/v8/custom/V8ArrayBufferViewCustom.h:
645         (WebCore::constructWebGLArray):
646         (WebCore::setWebGLArrayHelper):
647         * bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
648         (WebCore::V8AudioBufferSourceNode::bufferAccessorSetter):
649         * bindings/v8/custom/V8BlobCustom.cpp:
650         (WebCore::V8Blob::constructorCallbackCustom):
651         * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
652         (WebCore::toCanvasStyle):
653         (WebCore::V8CanvasRenderingContext2D::strokeStyleAccessorSetter):
654         * bindings/v8/custom/V8ClipboardCustom.cpp:
655         (WebCore::V8Clipboard::setDragImageCallback):
656         * bindings/v8/custom/V8CryptoCustom.cpp:
657         (WebCore::V8Crypto::getRandomValuesCallback):
658         * bindings/v8/custom/V8DOMFormDataCustom.cpp:
659         (WebCore::V8DOMFormData::constructorCallbackCustom):
660         (WebCore::V8DOMFormData::appendCallback):
661         * bindings/v8/custom/V8DataViewCustom.cpp:
662         (WebCore::V8DataView::constructorCallbackCustom):
663         * bindings/v8/custom/V8DocumentCustom.cpp:
664         (WebCore::V8Document::evaluateCallback):
665         * bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
666         (WebCore::V8HTMLMediaElement::controllerAccessorSetter):
667         * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
668         (WebCore::V8HTMLOptionsCollection::addCallback):
669         * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
670         (WebCore::removeElement):
671
672 2013-02-03  Mike West  <mkwst@chromium.org>
673
674         Cleanup: 'ExceptionCode& ec', not 'ExceptionCode &ec'.
675         https://bugs.webkit.org/show_bug.cgi?id=108769
676
677         Reviewed by Eric Seidel.
678
679         Does what it says on the tin: reference parameters should read
680         'type& name', and this patch fixes the two occurances of 'type &name'
681         that cropped up for ExceptionCode.
682
683         Pure style change; no effect on behavior.
684
685         * html/HTMLOptionsCollection.cpp:
686         (WebCore::HTMLOptionsCollection::add):
687
688 2013-02-02  Jun Jiang  <jun.a.jiang@intel.com>
689
690         Optimize some operations for float type in texture format conversions of WebGL
691         https://bugs.webkit.org/show_bug.cgi?id=107526
692
693         Reviewed by Darin Adler.
694
695         Some small changes are made to optimize the operations for float type in the texture format conversion of WebGL to improve performance.
696
697         Already covered by current tests.
698
699         * platform/graphics/GraphicsContext3D.cpp:
700         (WebCore):
701
702 2013-02-02  Simon Fraser  <simon.fraser@apple.com>
703
704         Clean up the storage of dirty bits on nodes in the scrolling state tree
705         https://bugs.webkit.org/show_bug.cgi?id=108744
706
707         Reviewed by Sam Weinig.
708
709         ScrollingStateNode and its subclasses used different techniques for
710         tracking which properties changed. ScrollingStateNode tracked its layers
711         via a bool member and some layer-specific methods, but also had virtual
712         methods to allow subclasses to track properties via a bit mask.
713         
714         Clean this up by having the base class store the bit mask, and use
715         enums to specify bits for the various properties. All properties are thus
716         tracked in the same way. Bits are read and written through non-virtual member
717         functions on ScrollingStateNode. All bit checking is done via hasChangedProperty().
718
719         * page/scrolling/ScrollingStateFixedNode.cpp:
720         (WebCore::ScrollingStateFixedNode::ScrollingStateFixedNode): m_changedProperties is now on the base class.
721         (WebCore::ScrollingStateFixedNode::updateConstraints): Use setPropertyChanged()
722         * page/scrolling/ScrollingStateFixedNode.h: Remove overrides that are no longer needed.
723         * page/scrolling/ScrollingStateNode.cpp:
724         (WebCore::ScrollingStateNode::ScrollingStateNode): Initialize m_changedProperties,
725         m_scrollLayerDidChange no longer tracked separately.
726         (WebCore::ScrollingStateNode::cloneAndReset):
727         * page/scrolling/ScrollingStateNode.h:
728         (WebCore::ScrollingStateNode::hasChangedProperties):
729         (WebCore::ScrollingStateNode::hasChangedProperty): Tests the bit.
730         (WebCore::ScrollingStateNode::resetChangedProperties): Set all bits to 0.
731         (WebCore::ScrollingStateNode::setPropertyChanged): Set the bit.
732         (WebCore::ScrollingStateNode::changedProperties): Private to discourage incorrect usage
733         (changeProperties() & foo).
734         * page/scrolling/ScrollingStateScrollingNode.cpp:
735         (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode): Base class does the copying now.
736         (WebCore::ScrollingStateScrollingNode::setViewportRect): Use setPropertyChanged().
737         (WebCore::ScrollingStateScrollingNode::setContentsSize): Ditto.
738         (WebCore::ScrollingStateScrollingNode::setFrameScaleFactor): Etc.
739         (WebCore::ScrollingStateScrollingNode::setNonFastScrollableRegion):
740         (WebCore::ScrollingStateScrollingNode::setWheelEventHandlerCount):
741         (WebCore::ScrollingStateScrollingNode::setShouldUpdateScrollLayerPositionOnMainThread):
742         (WebCore::ScrollingStateScrollingNode::setHorizontalScrollElasticity):
743         (WebCore::ScrollingStateScrollingNode::setVerticalScrollElasticity):
744         (WebCore::ScrollingStateScrollingNode::setHasEnabledHorizontalScrollbar):
745         (WebCore::ScrollingStateScrollingNode::setHasEnabledVerticalScrollbar):
746         (WebCore::ScrollingStateScrollingNode::setHorizontalScrollbarMode):
747         (WebCore::ScrollingStateScrollingNode::setVerticalScrollbarMode):
748         (WebCore::ScrollingStateScrollingNode::setRequestedScrollPosition):
749         (WebCore::ScrollingStateScrollingNode::setScrollOrigin):
750         * page/scrolling/ScrollingStateScrollingNode.h:
751         (ScrollingStateScrollingNode):
752         * page/scrolling/ScrollingStateStickyNode.cpp:
753         (WebCore::ScrollingStateStickyNode::ScrollingStateStickyNode):
754         (WebCore::ScrollingStateStickyNode::updateConstraints):
755         * page/scrolling/ScrollingStateStickyNode.h:
756         * page/scrolling/ScrollingTree.cpp:
757         (WebCore::ScrollingTree::commitNewTreeState):
758         * page/scrolling/ScrollingTreeScrollingNode.cpp:
759         (WebCore::ScrollingTreeScrollingNode::update):
760         * page/scrolling/mac/ScrollingStateNodeMac.mm:
761         (WebCore::ScrollingStateNode::setScrollLayer):
762         * page/scrolling/mac/ScrollingStateScrollingNodeMac.mm:
763         (WebCore::ScrollingStateScrollingNode::setCounterScrollingLayer):
764         * page/scrolling/mac/ScrollingTreeFixedNode.mm:
765         (WebCore::ScrollingTreeFixedNode::update):
766         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
767         (WebCore::ScrollingTreeScrollingNodeMac::update):
768         * page/scrolling/mac/ScrollingTreeStickyNode.mm:
769         (WebCore::ScrollingTreeStickyNode::update):
770
771 2013-02-02  Simon Fraser  <simon.fraser@apple.com>
772
773         Fixed and sticky nodes have no nodeID set
774         https://bugs.webkit.org/show_bug.cgi?id=108734
775
776         Reviewed by Sam Weinig.
777         
778         Push ScrollingNodeIDs onto scrolling nodes at construction time, and thereafter
779         treat them as readonly. Previously, only the root scrolling node would have a node ID.
780         
781         Node IDs aren't actually used by the scrolling tree yet, but are useful for debugging.
782
783         Not testable since we only dump the scrolling state tree, not the scrolling
784         node tree in tests.
785
786         * page/scrolling/ScrollingTree.cpp:
787         (WebCore::ScrollingTree::ScrollingTree): No longer create the root node here;
788         we can only create it when we know what its ID will be.
789         (WebCore::ScrollingTree::updateTreeFromStateNode): Create the root node if
790         necessary. Pass node IDs into create methods.
791         * page/scrolling/ScrollingTreeNode.cpp:
792         (WebCore::ScrollingTreeNode::ScrollingTreeNode):
793         * page/scrolling/ScrollingTreeNode.h:
794         * page/scrolling/ScrollingTreeScrollingNode.cpp:
795         (WebCore::ScrollingTreeScrollingNode::ScrollingTreeScrollingNode):
796         * page/scrolling/ScrollingTreeScrollingNode.h:
797         * page/scrolling/mac/ScrollingTreeFixedNode.h:
798         * page/scrolling/mac/ScrollingTreeFixedNode.mm:
799         (WebCore::ScrollingTreeFixedNode::create):
800         (WebCore::ScrollingTreeFixedNode::ScrollingTreeFixedNode):
801         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
802         * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
803         (WebCore::ScrollingTreeScrollingNode::create):
804         (WebCore::ScrollingTreeScrollingNodeMac::ScrollingTreeScrollingNodeMac):
805         * page/scrolling/mac/ScrollingTreeStickyNode.h:
806         * page/scrolling/mac/ScrollingTreeStickyNode.mm:
807         (WebCore::ScrollingTreeStickyNode::create):
808         (WebCore::ScrollingTreeStickyNode::ScrollingTreeStickyNode):
809
810 2013-02-02  Takashi Sakamoto  <tasak@google.com>
811
812         Making -webkit-image-set() the first value of background property causes crash.
813         https://bugs.webkit.org/show_bug.cgi?id=108409
814
815         Reviewed by Beth Dakin.
816
817         CSSParser::addFillValue should use lval->isBaseValueList() instead
818         of lval->isValueList(). If lval is -webkit-image-set, rval is appended
819         to -webkit-image-set.
820
821         Test: fast/css/image-set-value-crash-in-fillImageSet.html
822
823         * css/CSSParser.cpp:
824         (WebCore::CSSParser::addFillValue):
825         If lval is not a value list, lval is initialized by using
826         CSSValueList::createCommaSeparated(). So we have to check whether
827         lval is created by CSSValueList::createCommaSeparated() or not.
828
829 2013-02-02  David Kilzer  <ddkilzer@apple.com>
830
831         Upstream iOS FeatureDefines
832         <http://webkit.org/b/108753>
833
834         Reviewed by Anders Carlsson.
835
836         * Configurations/FeatureDefines.xcconfig:
837         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
838         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
839         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
840           PLATFORM_NAME variant to reduce future merge conflicts. 
841
842 2013-02-02  Philippe Normand  <pnormand@igalia.com>
843
844         [GStreamer] Media tests fix after r141695.
845
846         Rubber-stamped by Martin Robinson.
847
848         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
849         (WebCore::MediaPlayerPrivateGStreamer::setPlaybinURL): Remove
850         both fragment and query string for file:// uris before loading.
851
852 2013-02-02  Patrick Gansterer  <paroga@webkit.org>
853
854         Build fix for WinCE after r141637.
855
856         * platform/graphics/wince/ImageBufferWinCE.cpp:
857
858 2013-02-01  Philippe Normand  <pnormand@igalia.com>
859
860         [GStreamer] webkitwebsrc is exposed to application-side
861         https://bugs.webkit.org/show_bug.cgi?id=108088
862
863         Reviewed by Martin Robinson.
864
865         Switch the webkitwebsrc to handle webkit+http(s) uris so it is now
866         explicit that this element is meant to be used preferrably inside
867         WebKit. This change is internal to the player.
868
869         No new tests, covered by existing http/tests/media tests.
870
871         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
872         (WebCore::MediaPlayerPrivateGStreamer::setPlaybinURL):
873         (WebCore):
874         (WebCore::MediaPlayerPrivateGStreamer::load):
875         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
876         (MediaPlayerPrivateGStreamer):
877         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
878         (webKitWebSrcGetProtocols):
879         (webKitWebSrcSetUri):
880
881 2013-02-02  Simon Hausmann  <simon.hausmann@digia.com>
882
883         Unreviewed trivial prospective build fix for A17n disabled
884         configurations.
885
886         The dummy computed object attriute cache control functions need to be defined
887         as being member functions of AXObjectCache, because that's where they are
888         declared.
889
890         * accessibility/AXObjectCache.h:
891         (WebCore::AXObjectCache::startCachingComputedObjectAttributesUntilTreeMutates):
892         (WebCore::AXObjectCache::stopCachingComputedObjectAttributes):
893
894 2013-02-02  Antoine Quint  <graouts@apple.com>
895
896         Creating a WebInspector.ContextMenu without an event crashes WebCore when calling .show()
897         https://bugs.webkit.org/show_bug.cgi?id=108636
898
899         Reviewed by Pavel Feldman.
900
901         Return early if InspectorFrontendHost::showContextMenu() is called without an event and
902         assert in ContextMenuController::createContextMenu() in case no event was provided.
903
904         * inspector/InspectorFrontendHost.cpp:
905         (WebCore::InspectorFrontendHost::showContextMenu):
906         * page/ContextMenuController.cpp:
907         (WebCore::ContextMenuController::createContextMenu):
908
909 2013-02-02  Jonathan Feldstein  <jfeldstein@rim.com>
910
911         [BlackBerry] Improper initialization of ANGLEResources
912         https://bugs.webkit.org/show_bug.cgi?id=101489
913
914         Reviewed by Antonio Gomes.
915
916         MaxDrawBuffers, OES_standard_derivatives, OES_EGL_image_external and ARB_texture_rectangle have already been initialized through ShBuiltInResources function and these fields do not need to be set again in GraphicsContext3dBlackBerry.cpp. In addition, the extension flags cannot be set to true without getExtension having been called (Khronos WebGL specs, section 5.14.14.). Thus these lines need to be removed.
917
918         * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
919         (WebCore::GraphicsContext3D::GraphicsContext3D):
920
921 2013-02-02  Vivek Galatage  <vivek.vg@samsung.com>
922
923         Web Inspector: Refactor InspectorDOMStorageAgent::getDOMStorageEntries to report the error messages
924         https://bugs.webkit.org/show_bug.cgi?id=108611
925
926         Reviewed by Pavel Feldman.
927
928         Added reporting of various error messages. Moved the modification of output
929         parameter at a later stage when there are no errors reported.
930
931         No new tests as code refactoring.
932
933         * inspector/InspectorDOMStorageAgent.cpp:
934         (WebCore::hadException):
935         (WebCore):
936         (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
937
938 2013-02-02  Andrey Lushnikov  <lushnikov@chromium.org>
939
940         Web Inspector: fix bug in highlighting single chars via highlightRange API of DTE
941         https://bugs.webkit.org/show_bug.cgi?id=108685
942
943         Reviewed by Pavel Feldman.
944
945         Use Math.min instead of Math.max in rangesForLine method.
946
947         Updated test: text-editor-highlight-api.html
948
949         * inspector/front-end/DefaultTextEditor.js:
950         (WebInspector.TextEditorMainPanel.RangeHighlightDescriptor.prototype.rangesForLine):
951
952 2013-02-02  Tony Gentilcore  <tonyg@chromium.org>
953
954         Continue making XSSAuditor thread safe: Remove unsafe AtomicString compares
955         https://bugs.webkit.org/show_bug.cgi?id=108557
956
957         Reviewed by Adam Barth.
958
959         Unfortunately HTMLNames comparisons will always be false on a non-main thread
960         with our current design, so we have to use some "threadSafeMatch" helpers written
961         for the HTMLBackgroundParser.
962
963         Also factor out threadSafeMatch() methods to HTMLParserIdioms.
964
965         No new tests because no new functionality.
966
967         * html/parser/BackgroundHTMLParser.cpp:
968         (WebCore):
969         * html/parser/HTMLParserIdioms.cpp:
970         (WebCore::threadSafeEqual):
971         (WebCore):
972         (WebCore::threadSafeMatch):
973         * html/parser/HTMLParserIdioms.h:
974         (WebCore):
975         * html/parser/XSSAuditor.cpp:
976         (WebCore::XSSAuditor::eraseAttributeIfInjected):
977
978 2013-02-01  James Simonsen  <simonjam@chromium.org>
979
980         Add didChangePriority() to ResourceHandle
981         https://bugs.webkit.org/show_bug.cgi?id=107995
982
983         Reviewed by Darin Fisher.
984
985         For PLT, it's important that preloads remain a lower priority than parser requested resources.
986         This can lead to a 5% improvement.
987
988         The plan is to use this plumbing to expose the desired behavior. This patch simply allows a
989         resource's priority to change and have it propagate to the network layer. An upcoming patch will
990         lower the priority of preloads and then increase the priority when the parser officially requests
991         it.
992
993         No new tests. No visible change, because priority doesn't change yet.
994
995         * loader/cache/CachedResource.cpp:
996         (WebCore):
997         (WebCore::CachedResource::setLoadPriority):
998         * loader/cache/CachedResourceLoader.cpp:
999         (WebCore::CachedResourceLoader::requestResource): Allow loads to modify priority.
1000         * loader/cache/CachedResourceRequest.h:
1001         (WebCore::CachedResourceRequest::setPriority): Notify when priority changes.
1002         * platform/network/ResourceHandle.cpp:
1003         (WebCore::ResourceHandle::didChangePriority): Added.
1004         (WebCore):
1005         * platform/network/ResourceHandle.h:
1006         (ResourceHandle):
1007         * platform/network/chromium/ResourceHandle.cpp:
1008         (WebCore::ResourceHandleInternal::didChangePriority):
1009         (WebCore):
1010         (WebCore::ResourceHandle::didChangePriority):
1011         * platform/network/chromium/ResourceHandleInternal.h:
1012         (ResourceHandleInternal):
1013
1014 2013-02-01  Roger Fong  <roger_fong@apple.com>
1015
1016         Unreviewed. Clean up WebCore VS2010 project.
1017
1018         * WebCore.vcxproj/WebCore.vcxproj:
1019         * WebCore.vcxproj/WebCore.vcxproj.filters:
1020         * WebCore.vcxproj/WebCoreCommon.props:
1021         * WebCore.vcxproj/WebCoreGenerated.make:
1022         * WebCore.vcxproj/WebCorePreLink.cmd: Removed.
1023         * WebCore.vcxproj/build-generated-files.sh:
1024
1025 2013-02-01  Sam Weinig  <sam@webkit.org>
1026
1027         Don't use deprecated method -[NSImage dissolveToPoint:fraction:]
1028         <rdar://problem/11723792>
1029         https://bugs.webkit.org/show_bug.cgi?id=108739
1030
1031         Reviewed by Anders Carlsson.
1032
1033         * platform/mac/DragImageMac.mm:
1034         (WebCore::dissolveDragImageToFraction):
1035         Remove use of deprecated NSImage methods and simplify a bit.
1036
1037 2013-02-01  Andrey Lushnikov  <lushnikov@chromium.org>
1038
1039         Web Inspector: fix "DOM Exception 8" when deleting lines containing decoration in DTE.
1040         https://bugs.webkit.org/show_bug.cgi?id=108689
1041
1042         Reviewed by Alexander Pavlov.
1043
1044         Add a check that decoration element is still added to the line before trying to delete it. This
1045         won't be true if the whole line is deleted in contentEditable,
1046         and this is the reason for the exception to be thrown.
1047
1048         No new tests.
1049
1050         * inspector/front-end/DefaultTextEditor.js:
1051         (WebInspector.TextEditorMainChunk.prototype.removeAllDecorations):
1052
1053 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1054
1055         Unreviewed, rolling out r141669.
1056         http://trac.webkit.org/changeset/141669
1057         https://bugs.webkit.org/show_bug.cgi?id=108728
1058
1059         Broke the windows build. (Requested by leviw on #webkit).
1060
1061         * rendering/RenderBoxModelObject.cpp:
1062         (WebCore::RenderBoxModelObject::computedCSSPaddingTop):
1063         (WebCore):
1064         (WebCore::RenderBoxModelObject::computedCSSPaddingBottom):
1065         (WebCore::RenderBoxModelObject::computedCSSPaddingLeft):
1066         (WebCore::RenderBoxModelObject::computedCSSPaddingRight):
1067         (WebCore::RenderBoxModelObject::computedCSSPaddingBefore):
1068         (WebCore::RenderBoxModelObject::computedCSSPaddingAfter):
1069         (WebCore::RenderBoxModelObject::computedCSSPaddingStart):
1070         (WebCore::RenderBoxModelObject::computedCSSPaddingEnd):
1071         * rendering/RenderBoxModelObject.h:
1072         (RenderBoxModelObject):
1073
1074 2013-02-01  Emil A Eklund  <eae@chromium.org>
1075
1076         Remove duplicate code in RenderBoxModelObject::computedCSSPadding*
1077         https://bugs.webkit.org/show_bug.cgi?id=108707
1078
1079         Reviewed by Levi Weintraub.
1080         
1081         The computedCSSPaddingTop/Bottom/... methods in
1082         RenderBoxModelObject all do pretty much exactly the same thing
1083         yet share no code.
1084         
1085         Break out shared code into computedCSSPadding method and have
1086         the top/bottom/left/right/... ones call it with the appropriate
1087         length value.
1088
1089         No new tests, no change in functionality.
1090
1091         * rendering/RenderBoxModelObject.cpp:
1092         (WebCore::RenderBoxModelObject::computedCSSPadding):
1093         * rendering/RenderBoxModelObject.h:
1094         (WebCore::RenderBoxModelObject::computedCSSPaddingTop):
1095         (WebCore::RenderBoxModelObject::computedCSSPaddingBottom):
1096         (WebCore::RenderBoxModelObject::computedCSSPaddingLeft):
1097         (WebCore::RenderBoxModelObject::computedCSSPaddingRight):
1098         (WebCore::RenderBoxModelObject::computedCSSPaddingBefore):
1099         (WebCore::RenderBoxModelObject::computedCSSPaddingAfter):
1100         (WebCore::RenderBoxModelObject::computedCSSPaddingStart):
1101         (WebCore::RenderBoxModelObject::computedCSSPaddingEnd):
1102         (RenderBoxModelObject):
1103
1104 2013-02-01  Mark Lam  <mark.lam@apple.com>
1105
1106         Replace ExceptionCode with DatabaseError in the openDatabase() code path.
1107         https://bugs.webkit.org/show_bug.cgi?id=108724.
1108
1109         Reviewed by Alexey Proskuryakov.
1110
1111         Also made DatabaseBackend::performOpenAndVerify() a little more
1112         straightforward and less repetitive.
1113
1114         No new tests.
1115
1116         * Modules/webdatabase/DOMWindowWebDatabase.cpp:
1117         (WebCore::DOMWindowWebDatabase::openDatabase):
1118         * Modules/webdatabase/Database.cpp:
1119         (WebCore::Database::openAndVerifyVersion):
1120         (WebCore::Database::performOpenAndVerify):
1121         * Modules/webdatabase/Database.h:
1122         (Database):
1123         * Modules/webdatabase/DatabaseBackend.cpp:
1124         (WebCore::DoneCreatingDatabaseOnExitCaller::DoneCreatingDatabaseOnExitCaller):
1125         (WebCore::DoneCreatingDatabaseOnExitCaller::~DoneCreatingDatabaseOnExitCaller):
1126         (DoneCreatingDatabaseOnExitCaller):
1127         (WebCore::DoneCreatingDatabaseOnExitCaller::openSucceeded):
1128         (WebCore::DatabaseBackend::performOpenAndVerify):
1129         * Modules/webdatabase/DatabaseBackend.h:
1130         * Modules/webdatabase/DatabaseManager.cpp:
1131         (WebCore::DatabaseManager::openDatabase):
1132         (WebCore::DatabaseManager::openDatabaseSync):
1133         * Modules/webdatabase/DatabaseManager.h:
1134         (DatabaseManager):
1135         * Modules/webdatabase/DatabaseSync.cpp:
1136         (WebCore::DatabaseSync::openAndVerifyVersion):
1137         * Modules/webdatabase/DatabaseSync.h:
1138         (DatabaseSync):
1139         * Modules/webdatabase/DatabaseTask.cpp:
1140         (WebCore::Database::DatabaseOpenTask::DatabaseOpenTask):
1141         (WebCore::Database::DatabaseOpenTask::doPerformTask):
1142         * Modules/webdatabase/DatabaseTask.h:
1143         (WebCore::Database::DatabaseOpenTask::create):
1144         (Database::DatabaseOpenTask):
1145         * Modules/webdatabase/WorkerContextWebDatabase.cpp:
1146         (WebCore::WorkerContextWebDatabase::openDatabase):
1147         (WebCore::WorkerContextWebDatabase::openDatabaseSync):
1148         * WebCore.gypi:
1149
1150 2013-02-01  Yongjun Zhang  <yongjun_zhang@apple.com>
1151
1152         Document is never released if an image's src attribute is changed to a url blocked by content-security-policy.
1153         https://bugs.webkit.org/show_bug.cgi?id=108545
1154
1155         If we just scheduled an error event due to an null newImage, we should not cancel it when newImage and oldImage
1156         is not the same.  Otherwise we will ref the sourceElement in updateHasPendingEvent (m_hasPendingErrorEvent is true)
1157         but never deref it since we already cancelled the error event.
1158
1159         Reviewed by Alexey Proskuryakov.
1160
1161         Test: fast/images/image-error-event-not-firing.html
1162
1163         * loader/ImageLoader.cpp:
1164         (WebCore::ImageLoader::updateFromElement): don't cancel error event if newImage is null, we want the
1165             error event to fire.
1166
1167 2013-02-01  Benjamin Poulain  <bpoulain@apple.com>
1168
1169         Clean the String->AtomicString conversion for AnimationController::pauseAnimationAtTime
1170         https://bugs.webkit.org/show_bug.cgi?id=108558
1171
1172         Reviewed by Dean Jackson.
1173
1174         This is a step torward killing the implicit conversion from String to AtomicString.
1175
1176         The animation name are AtomicString. The API is changed all the way to the callers
1177         to take an AtomicString. When needed, we use explicit conversion.
1178
1179         * WebCore.exp.in:
1180         * page/animation/AnimationController.cpp:
1181         (WebCore::AnimationControllerPrivate::pauseAnimationAtTime):
1182         (WebCore::AnimationController::pauseAnimationAtTime):
1183         * page/animation/AnimationController.h:
1184         (AnimationController):
1185         * page/animation/AnimationControllerPrivate.h:
1186         (AnimationControllerPrivate):
1187         * page/animation/CompositeAnimation.cpp:
1188         (WebCore::CompositeAnimation::pauseAnimationAtTime):
1189         We should not null check the name. Getting a null name from the HashMap would be
1190         an error from the tests, and the HashMap would never return a value anyway.
1191         * testing/Internals.cpp:
1192         (WebCore::Internals::pauseAnimationAtTimeOnPseudoElement):
1193
1194 2013-02-01  Dominic Mazzoni  <dmazzoni@google.com>
1195
1196         AX: memoize expensive computation during blocks where tree doesn't change
1197         https://bugs.webkit.org/show_bug.cgi?id=106497
1198
1199         Reviewed by Ryosuke Niwa.
1200
1201         Add a cache for computed attributes of AXObjects.
1202         The cache can be enabled at the start of a batch of
1203         read-only operations on the accessibility tree, and
1204         it's cleared automatically when the tree mutates.
1205         Currently accessibilityIsIgnored is cached, since it's
1206         frequently called and relatively expensive to compute.
1207
1208         No new tests.
1209
1210         * accessibility/AXObjectCache.cpp:
1211         (WebCore):
1212         (WebCore::AXComputedObjectAttributeCache::getIgnored):
1213         (WebCore::AXComputedObjectAttributeCache::setIgnored):
1214         (WebCore::AXObjectCache::postNotification):
1215         (WebCore::AXObjectCache::nodeTextChangeNotification):
1216         (WebCore::AXObjectCache::handleScrollbarUpdate):
1217         (WebCore::AXObjectCache::startCachingComputedObjectAttributesUntilTreeMutates):
1218         (WebCore::AXObjectCache::stopCachingComputedObjectAttributes):
1219         * accessibility/AXObjectCache.h:
1220         (AXComputedObjectAttributeCache):
1221         (WebCore::AXComputedObjectAttributeCache::create):
1222         (WebCore::AXComputedObjectAttributeCache::AXComputedObjectAttributeCache):
1223         (WebCore::AXComputedObjectAttributeCache::CachedAXObjectAttributes::CachedAXObjectAttributes):
1224         (CachedAXObjectAttributes):
1225         (WebCore):
1226         (WebCore::AXObjectCache::computedObjectAttributeCache):
1227         (AXObjectCache):
1228         (WebCore::AXComputedObjectAttributeCache::getIgnored):
1229         (WebCore::AXComputedObjectAttributeCache::setIgnored):
1230         (WebCore::startCachingComputedObjectAttributesUntilTreeMutates):
1231         (WebCore::stopCachingComputedObjectAttributes):
1232         * accessibility/AccessibilityObject.cpp:
1233         (WebCore::AccessibilityObject::findMatchingObjects):
1234         * accessibility/AccessibilityRenderObject.cpp:
1235         (WebCore):
1236         (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
1237         (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
1238         * accessibility/AccessibilityRenderObject.h:
1239         (AccessibilityRenderObject):
1240
1241 2013-02-01  Alexey Proskuryakov  <ap@apple.com>
1242
1243         Build fix.
1244
1245         * Modules/webdatabase/DatabaseBackend.cpp: (DoneCreatingDatabaseOnExitCaller):
1246         Don't fail because of an unused member variable in cross-plaform code path.
1247
1248 2013-02-01  Kevin Ellis  <kevers@chromium.org>
1249
1250         [chromium] Fat scrollbars on Windows in high-DPI mode.
1251         https://bugs.webkit.org/show_bug.cgi?id=108637
1252
1253         Updates mechanism for retrieving scrollbar metrics on the
1254         Windows port of Chromium.  Previously, GetSystemMetrics calls
1255         were used, which fetches prescaled sizes in pixel rather than
1256         logical units, resulting in a double scaling when a device
1257         scale factor is set.  With the patch, the size is retrieved
1258         from the theme engine in DIP.
1259
1260         Reviewed by Adam Barth.
1261
1262         No new tests.
1263
1264         * platform/chromium/ScrollbarThemeChromiumWin.cpp:
1265         (WebCore::ScrollbarThemeChromiumWin::scrollbarThickness):
1266         (WebCore::ScrollbarThemeChromiumWin::paintTrackPiece):
1267         * rendering/RenderThemeChromiumWin.cpp:
1268         (WebCore):
1269         (WebCore::menuListButtonWidth):
1270
1271 2013-02-01  Mark Lam  <mark.lam@apple.com>
1272
1273         Clean up calls to DatabaseTracker::add/removeOpenDatabase().
1274         https://bugs.webkit.org/show_bug.cgi?id=108431
1275
1276         Reviewed by Geoffrey Garen.
1277
1278         Also adapted the chromium port to work with this new code.
1279         Chromium parts reviewed by Michael Nordman and David Levin.
1280
1281         This is part of the webdatabase refactoring effort.
1282
1283         No new tests.
1284
1285         * Modules/webdatabase/AbstractDatabaseServer.h:
1286         (AbstractDatabaseServer):
1287         * Modules/webdatabase/Database.cpp:
1288         (WebCore::Database::openAndVerifyVersion):
1289         (WebCore::Database::close):
1290         * Modules/webdatabase/DatabaseBackend.cpp:
1291         (WebCore::DatabaseBackend::DatabaseBackend):
1292         (WebCore::DatabaseBackend::closeDatabase):
1293         (DoneCreatingDatabaseOnExitCaller):
1294         (WebCore::DoneCreatingDatabaseOnExitCaller::DoneCreatingDatabaseOnExitCaller):
1295         (WebCore::DoneCreatingDatabaseOnExitCaller::~DoneCreatingDatabaseOnExitCaller):
1296         (WebCore::DatabaseBackend::performOpenAndVerify):
1297         * Modules/webdatabase/DatabaseManager.cpp:
1298         (WebCore::DatabaseManager::openDatabase):
1299         (WebCore::DatabaseManager::openDatabaseSync):
1300         * Modules/webdatabase/DatabaseManager.h:
1301         (DatabaseManager):
1302         * Modules/webdatabase/DatabaseServer.cpp:
1303         * Modules/webdatabase/DatabaseServer.h:
1304         * Modules/webdatabase/DatabaseSync.cpp:
1305         (WebCore::DatabaseSync::~DatabaseSync):
1306         (WebCore::DatabaseSync::openAndVerifyVersion):
1307         (WebCore::DatabaseSync::closeImmediately):
1308         * Modules/webdatabase/DatabaseSync.h:
1309         (DatabaseSync):
1310         * Modules/webdatabase/DatabaseTracker.cpp:
1311         (WebCore::DatabaseTracker::doneCreatingDatabase):
1312         (WebCore::DatabaseTracker::addOpenDatabase):
1313         * Modules/webdatabase/DatabaseTracker.h:
1314         (DatabaseTracker):
1315         * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
1316         (WebCore::DatabaseTracker::addOpenDatabase):
1317         (WebCore::DatabaseTracker::prepareToOpenDatabase):
1318         (WebCore::DatabaseTracker::failedToOpenDatabase):
1319
1320 2013-02-01  Andrey Lushnikov  <lushnikov@chromium.org>
1321
1322         Web Inspector: remove extra padding around overlay highlight.
1323         https://bugs.webkit.org/show_bug.cgi?id=108679
1324
1325         Reviewed by Alexander Pavlov.
1326
1327         No new tests: no change in behaviour.
1328
1329         Remove extraWidth from overlay highlight spans.
1330
1331         * inspector/front-end/DefaultTextEditor.js:
1332         (WebInspector.TextEditorMainPanel.prototype._appendOverlayHighlight):
1333
1334 2013-02-01  Philip Rogers  <pdr@google.com>
1335
1336         Prevent skipped repaints for children of inner SVG elements
1337         https://bugs.webkit.org/show_bug.cgi?id=108429
1338
1339         Reviewed by Eric Seidel.
1340
1341         This patch fixes a bug caused by r108699 and r133786 where we would not repaint children
1342         of inner SVG elements because "m_didTransformToRootUpdate" was never reset on viewport
1343         containers. The stale m_didTransformToRootUpdate variable caused us to skip child repaints.
1344
1345         I verified that the Robohornet SVG benchmark performance gains in r133786 are not regressed
1346         with this patch.
1347
1348         Test: svg/repaint/svgsvgelement-repaint-children.html
1349
1350         * rendering/svg/RenderSVGViewportContainer.cpp:
1351         (WebCore::RenderSVGViewportContainer::calcViewport):
1352
1353             This can be removed because setNeedsTransformUpdate() will set m_needsTransformUpdate.
1354
1355         (WebCore::RenderSVGViewportContainer::calculateLocalTransform):
1356
1357             This change is straightforward and is similar to the equivalent assignment in
1358             RenderSVGTransformableContainer::calculateLocalTransform().
1359
1360 2013-02-01  Philip Rogers  <pdr@google.com>
1361
1362         Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
1363         https://bugs.webkit.org/show_bug.cgi?id=106966
1364
1365         Reviewed by Stephen White.
1366
1367         Previously, Image::currentFrameHasAlpha's default implementation returned false so SVG
1368         images always returned false for currentFrameHasAlpha. Additionally, currentFrameHasAlpha
1369         was treated as returning whether the frame had alpha when it would actually conservatively
1370         return true.
1371
1372         This patch renames hasAlpha and currentFrameHasAlpha to isKnownToBeOpaque and
1373         currentFrameIsKnownToBeOpaque, respectively. This rename better describes the actual
1374         functionality. This patch also makes Image::isKnownToBeOpaque a pure virtual function and
1375         correctly implements it for SVG images.
1376
1377         All users of isKnownToBeOpaque access SVG images using CachedImage::imageForRenderer which
1378         currently returns a cached bitmap image. Therefore, this patch will not affect existing
1379         functionality. A regression test has been added that will catch if this changes in the
1380         future (e.g., WK106159 which proposes not returning cached bitmaps). The now unnecessary
1381         isBitmapImage() calls have been removed in this patch.
1382
1383         image-box-shadow.html has been modified to test SVG images.
1384
1385         * css/CSSCrossfadeValue.cpp:
1386         (WebCore::subimageKnownToBeOpaque):
1387         (WebCore::CSSCrossfadeValue::knownToBeOpaque):
1388
1389             Mostly straightforward rename but note the logic has been slightly altered: AND -> OR.
1390
1391         * css/CSSCrossfadeValue.h:
1392         (CSSCrossfadeValue):
1393         * css/CSSGradientValue.cpp:
1394         (WebCore::CSSGradientValue::knownToBeOpaque):
1395         * css/CSSGradientValue.h:
1396         (CSSGradientValue):
1397         * css/CSSImageGeneratorValue.cpp:
1398         (WebCore::CSSImageGeneratorValue::knownToBeOpaque):
1399         * css/CSSImageGeneratorValue.h:
1400         (CSSImageGeneratorValue):
1401         * css/CSSImageValue.cpp:
1402         (WebCore::CSSImageValue::knownToBeOpaque):
1403         * css/CSSImageValue.h:
1404         (CSSImageValue):
1405         * loader/cache/CachedImage.cpp:
1406         (WebCore::CachedImage::currentFrameKnownToBeOpaque):
1407         * loader/cache/CachedImage.h:
1408         (CachedImage):
1409         * platform/graphics/BitmapImage.cpp:
1410         (WebCore::BitmapImage::currentFrameKnownToBeOpaque):
1411         * platform/graphics/BitmapImage.h:
1412         (BitmapImage):
1413         * platform/graphics/GeneratedImage.h:
1414         (GeneratedImage):
1415         * platform/graphics/Image.h:
1416
1417             Note: now a pure virtual function!
1418
1419         (Image):
1420         * platform/graphics/blackberry/LayerTiler.cpp:
1421         (WebCore::LayerTiler::updateTextureContentsIfNeeded):
1422
1423             Removed unnecessary isBitmapImage() checks.
1424
1425         * platform/graphics/cg/GraphicsContext3DCG.cpp:
1426         (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
1427
1428             Removed unnecessary isBitmapImage() checks.
1429
1430         * platform/graphics/cg/PDFDocumentImage.h:
1431         (PDFDocumentImage):
1432         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1433
1434             Removed unnecessary isBitmapImage() checks.
1435
1436         (WebCore::GraphicsLayerChromium::setContentsToImage):
1437         * platform/graphics/qt/StillImageQt.cpp:
1438         (WebCore::StillImage::currentFrameKnownToBeOpaque):
1439         * platform/graphics/qt/StillImageQt.h:
1440         (StillImage):
1441         * platform/graphics/skia/BitmapImageSingleFrameSkia.cpp:
1442         (WebCore::BitmapImageSingleFrameSkia::currentFrameKnownToBeOpaque):
1443         * platform/graphics/skia/BitmapImageSingleFrameSkia.h:
1444         (BitmapImageSingleFrameSkia):
1445         * platform/graphics/texmap/TextureMapperBackingStore.cpp:
1446         (WebCore::TextureMapperTile::updateContents):
1447         (WebCore::TextureMapperTiledBackingStore::updateContents):
1448         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:
1449         (WebCore::CoordinatedImageBacking::update):
1450         * rendering/RenderImage.cpp:
1451         (WebCore::RenderImage::backgroundIsObscured):
1452
1453             Removed unnecessary isBitmapImage() checks and slightly reworked the logic.
1454
1455         * rendering/style/FillLayer.cpp:
1456         (WebCore::FillLayer::hasOpaqueImage):
1457         * rendering/style/StyleCachedImage.cpp:
1458         (WebCore::StyleCachedImage::knownToBeOpaque):
1459         * rendering/style/StyleCachedImage.h:
1460         (StyleCachedImage):
1461         * rendering/style/StyleCachedImageSet.cpp:
1462         (WebCore::StyleCachedImageSet::knownToBeOpaque):
1463         * rendering/style/StyleCachedImageSet.h:
1464         (StyleCachedImageSet):
1465         * rendering/style/StyleGeneratedImage.cpp:
1466         (WebCore::StyleGeneratedImage::knownToBeOpaque):
1467         * rendering/style/StyleGeneratedImage.h:
1468         (StyleGeneratedImage):
1469         * rendering/style/StyleImage.h:
1470         (StyleImage):
1471         * rendering/style/StylePendingImage.h:
1472         (WebCore::StylePendingImage::knownToBeOpaque):
1473         * svg/graphics/SVGImage.h:
1474         (SVGImage):
1475
1476 2013-02-01  Brady Eidson  <beidson@apple.com>
1477
1478         Clean up WebArchive loading with the NetworkProcess
1479         <rdar://problem/12695840> and https://bugs.webkit.org/show_bug.cgi?id=108673
1480
1481         Reviewed by Alexey Proskuryakov.
1482
1483         No new tests (No change in WebCore behavior).
1484
1485         Remove a now unneeded function and add a needed export.
1486
1487         * WebCore.exp.in:
1488         * loader/ResourceLoadScheduler.cpp:
1489         * loader/ResourceLoadScheduler.h:
1490
1491 2013-02-01  Alok Priyadarshi  <alokp@chromium.org>
1492
1493         Print GraphicsLayer::m_contentsOpaque if non-default (true)
1494         https://bugs.webkit.org/show_bug.cgi?id=108354
1495
1496         Reviewed by Simon Fraser.
1497
1498         No new tests. This change facilitates testing of GraphicsLayer opaqueness.
1499
1500         * platform/graphics/GraphicsLayer.cpp:
1501         (WebCore::GraphicsLayer::dumpProperties):
1502
1503 2013-02-01  Tony Gentilcore  <tonyg@chromium.org>
1504
1505         Continue making XSSAuditor thread safe: Remove dependency on parser's Document URL
1506         https://bugs.webkit.org/show_bug.cgi?id=108655
1507
1508         Reviewed by Adam Barth.
1509
1510         No new tests because no new functionality.
1511
1512         * html/parser/XSSAuditor.cpp:
1513         (WebCore::XSSAuditor::XSSAuditor):
1514         (WebCore::XSSAuditor::init):
1515         (WebCore::XSSAuditor::isLikelySafeResource):
1516         * html/parser/XSSAuditor.h:
1517
1518 2013-02-01  Jer Noble  <jer.noble@apple.com>
1519
1520         REGRESSION (r141281): Navigating to this HTTP Live Streaming (application/vnd.apple.mpegurl) URL downloads a file instead of playing it in the browser
1521         https://bugs.webkit.org/show_bug.cgi?id=108674
1522         <rdar://problem/13133595>
1523
1524         Reviewed by Eric Carlson.
1525
1526         When passed a HashSet of available MIME types to fill out, QTKit was overwriting the contents, which were
1527         AVFoundation's supported types. Instead, it should be appending to the list of supported types.
1528
1529         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
1530         (WebCore::concatenateHashSets): Added static utility function.
1531         (WebCore::MediaPlayerPrivateQTKit::getSupportedTypes): Concatenate instead of overwriting the passed in MIME types.
1532
1533 2013-02-01  Beth Dakin  <bdakin@apple.com>
1534
1535         Another speculative windows build fix.
1536
1537         * platform/ScrollAnimator.h:
1538
1539 2013-01-31  Dirk Schulze  <krit@webkit.org>
1540
1541         [canvas] Add more constructors to Path
1542         https://bugs.webkit.org/show_bug.cgi?id=108587
1543
1544         Reviewed by Dean Jackson.
1545
1546         Add more constructors to Path object to make it possible
1547         to copy Path objects and parse SVG strings into a Path
1548         object that can be used on the canvas context afterwards.
1549
1550         Test: fast/canvas/canvas-path-constructors.html
1551
1552         * html/canvas/DOMPath.h: New constructors for Path.
1553         (WebCore::DOMPath::create):
1554         (WebCore::DOMPath::DOMPath):
1555         * html/canvas/DOMPath.idl: Ditto.
1556
1557 2013-02-01  Zan Dobersek  <zdobersek@igalia.com>
1558
1559         [GTK] Add WTFURL source files to the build
1560         https://bugs.webkit.org/show_bug.cgi?id=108215
1561
1562         Reviewed by Benjamin Poulain.
1563
1564         * platform/KURLWTFURL.cpp:
1565         (WebCore): Only use the stub implementation of the fileSystemPath method for the
1566         Apple ports, other ports should for now still rely on their platform-specific implementations.
1567
1568 2013-02-01  Mike West  <mkwst@chromium.org>
1569
1570         Remove call to SecurityOrigin::canAccessDatabase from IDB constructor.
1571         https://bugs.webkit.org/show_bug.cgi?id=108477
1572
1573         Reviewed by Adam Barth.
1574
1575         This change removes the 'SecurityOrigin::canAccessDatabase' check from
1576         the constructor for the 'indexedDB' property on both DOMWindow and
1577         WorkerContext. After the patch for http://wkbug.com/94171 this check
1578         is redundant, as all the entry points to IDB are now gated on access
1579         being granted.
1580
1581         As a side-effect, dropping the check in WorkerContextIndexedDatabase
1582         allows us to stop holding a pointer to the ScriptExecutionContext we're
1583         extending, which can only be a good thing.
1584
1585         The tests in storage/indexeddb should continue to pass.
1586
1587         * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
1588         (WebCore::DOMWindowIndexedDatabase::indexedDB):
1589             Drop the SecurityOrigin::canAccessDatabase check.
1590         * Modules/indexeddb/WorkerContextIndexedDatabase.cpp:
1591         (WebCore::WorkerContextIndexedDatabase::WorkerContextIndexedDatabase):
1592         (WebCore::WorkerContextIndexedDatabase::from):
1593             Drop the ScriptExecutionContext parameter from the class's
1594             constructor and callsites.
1595         (WebCore::WorkerContextIndexedDatabase::indexedDB):
1596             Drop the SecurityOrigin::canAccessDatabase check.
1597         * Modules/indexeddb/WorkerContextIndexedDatabase.h:
1598         (WorkerContextIndexedDatabase):
1599             Drop the stored pointer to ScriptExecutionContext, as we no longer
1600             need it in ::indexedDB.
1601
1602 2013-02-01  Beth Dakin  <bdakin@apple.com>
1603
1604         Speculative Windows build fix. 
1605
1606         * platform/ScrollAnimator.h:
1607         (WebCore):
1608
1609 2013-02-01  Ryosuke Niwa  <rniwa@webkit.org>
1610
1611         Smart link can erroneously move caret after an URL when typing immediately before it
1612         https://bugs.webkit.org/show_bug.cgi?id=92812
1613
1614         Reviewed by Enrica Casucci.
1615
1616         The bug was caused by smart link being triggered even when a user finished typing a word
1617         immediately before an URL. We already had a logic to avoid smart-linking an URL when the caret
1618         was after the URL but we were missing a check for when the caret is before the URL.
1619
1620         Fixed the bug by adding this check.
1621
1622         Test: editing/inserting/smart-link-when-caret-is-moved-before-URL.html
1623
1624         * editing/Editor.cpp:
1625         (WebCore::Editor::markAndReplaceFor):
1626
1627 2013-02-01  Roger Fong  <roger_fong@apple.com>
1628
1629         Unreviewed. Windows build fix. FloatSize.cpp was not included in the project.
1630
1631         * WebCore.vcproj/WebCore.vcproj:
1632
1633 2013-02-01  Julien Chaffraix  <jchaffraix@webkit.org>
1634
1635         [CSS Grid Layout] computePreferredLogicalWidths doesn't handle minmax tracks
1636         https://bugs.webkit.org/show_bug.cgi?id=108403
1637
1638         Reviewed by Ojan Vafai.
1639
1640         Test: fast/css-grid-layout/grid-preferred-logical-widths.html
1641
1642         The code before this change was only handling minmax() with 2 fixed widths.
1643         The new code was updated to remove this artificial limitation and we now
1644         support all combination of minmax().
1645
1646         * rendering/RenderGrid.cpp:
1647         (WebCore::RenderGrid::computePreferredLogicalWidths):
1648         Updated to use computePreferredTrackWidth..
1649
1650         (WebCore::RenderGrid::computePreferredTrackWidth):
1651         Added this helper function that implements the core of the preferred width
1652         computation.
1653
1654         * rendering/RenderGrid.h: Added computePreferredTrackWidth.
1655
1656 2013-02-01  Nate Chapin  <japhet@chromium.org>
1657
1658         Cached main resources report a zero identifer on 304s
1659         https://bugs.webkit.org/show_bug.cgi?id=108402
1660
1661         Reviewed by Adam Barth.
1662
1663         Test: http/tests/cache/iframe-304-crash.html
1664
1665         * loader/MainResourceLoader.cpp:
1666         (WebCore::MainResourceLoader::responseReceived): Throughout, check m_identifierForLoadWithoutResourceLoader
1667             instead of !loader() to determine whether MainResourceLoader needs to synthesize resource load callbacks.
1668         (WebCore::MainResourceLoader::dataReceived):
1669         (WebCore::MainResourceLoader::didFinishLoading):
1670
1671 2013-02-01  Nico Weber  <thakis@chromium.org>
1672
1673         [chromium] Build webkit with enable_web_intents set to 0.
1674         https://bugs.webkit.org/show_bug.cgi?id=108408
1675
1676         Reviewed by Tony Chang.
1677
1678         I'll then make chromium build fine with that, then switch
1679         enable_web_intents to 0, roll that into webkit, and then
1680         actually remove the code hidden behind this flag.
1681
1682         * bindings/v8/custom/V8IntentCustom.cpp:
1683
1684 2013-02-01  Pavel Feldman  <pfeldman@chromium.org>
1685
1686         Web Inspector: make console object state hint non-active
1687         https://bugs.webkit.org/show_bug.cgi?id=108642
1688
1689         Reviewed by Vsevolod Vlasov.
1690
1691         Otherwise it seems like an active element user could click.
1692
1693         * inspector/front-end/inspector.css:
1694         (.object-info-state-note):
1695
1696 2013-02-01  Rashmi Shyamasundar  <rashmi.s2@samsung.com>
1697
1698         Zero size gradient should paint nothing on canvas
1699         https://bugs.webkit.org/show_bug.cgi?id=102654
1700
1701         Reviewed by Dirk Schulze.
1702
1703         The functions fill(), fillText(), stroke(), strokeRect() and strokeText()
1704         should paint nothing on canvas when the canvas fillStyle/strokeStyle
1705         is set to a zero size gradient.
1706  
1707         Tests: fast/canvas/canvas-fill-zeroSizeGradient.html
1708                fast/canvas/canvas-fillRect-zeroSizeGradient.html
1709                fast/canvas/canvas-fillText-zeroSizeGradient.html
1710                fast/canvas/canvas-stroke-zeroSizeGradient.html
1711                fast/canvas/canvas-strokeRect-zeroSizeGradient.html
1712                fast/canvas/canvas-strokeText-zeroSizeGradient.html
1713
1714         * html/canvas/CanvasRenderingContext2D.cpp:
1715         (WebCore::CanvasRenderingContext2D::fill):
1716         (WebCore::CanvasRenderingContext2D::stroke):
1717         (WebCore::CanvasRenderingContext2D::strokeRect):
1718         (WebCore::CanvasRenderingContext2D::drawTextInternal):
1719
1720 2013-02-01  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
1721
1722         HRTFElevation segfault if a null AudioBus is returned by loadPlatformResource
1723         https://bugs.webkit.org/show_bug.cgi?id=108504
1724
1725         Reviewed by Kenneth Russell.
1726
1727         Fixed a segfault by checking if the returned AudioBus is null or not.
1728         If it is, we should early return in the same way it was being done already
1729         in HRTFElevation::calculateKernelsForAzimuthElevation();
1730
1731         No new tests, covered by existing tests.
1732
1733         * platform/audio/HRTFElevation.cpp:
1734         (WebCore::getConcatenatedImpulseResponsesForSubject):
1735
1736 2013-02-01  Beth Dakin  <bdakin@apple.com>
1737
1738         ScrollAnimatorMac should adopt contentAreaScrolledInDirection
1739         https://bugs.webkit.org/show_bug.cgi?id=108647
1740         -and corresponding-
1741         <rdar://problem/12434779>
1742
1743         Reviewed by Anders Carlsson.
1744
1745         This patch makes notifyContentAreaScrolled() and notifyPositionChanged() take a 
1746         FloatSize parameter that represents the scroll delta so that it can be passed 
1747         along to contentAreaScrolledInDirection:. 
1748
1749         Pass along the scroll delta.
1750         * platform/ScrollAnimator.cpp:
1751         (WebCore::ScrollAnimator::scroll):
1752         (WebCore::ScrollAnimator::scrollToOffsetWithoutAnimation):
1753
1754         The delta is not needed in this base-class implementation. It will only be needed 
1755         in the ScrollAnimatorMac override.
1756         (WebCore::ScrollAnimator::notifyPositionChanged):
1757         * platform/ScrollAnimator.h:
1758         (WebCore::ScrollAnimator::notifyContentAreaScrolled):
1759
1760         Pass along the delta.
1761         * platform/ScrollAnimatorNone.cpp:
1762         (WebCore::ScrollAnimatorNone::scrollToOffsetWithoutAnimation):
1763         (WebCore::ScrollAnimatorNone::animationTimerFired):
1764         * platform/ScrollableArea.cpp:
1765         (WebCore::ScrollableArea::scrollPositionChanged):
1766
1767         Add contentAreaScrolledInDirection: to the NSScrollerImpDetails.
1768         * platform/mac/NSScrollerImpDetails.h:
1769
1770         New member variable m_contentAreaScrolledTimerScrollDelta stores the current 
1771         scroll delta while we are waiting for m_sendContentAreaScrolledTimer to fire.
1772         * platform/mac/ScrollAnimatorMac.h:
1773
1774         We need this so that we can call just contentAreaScrolled if 
1775         contentAreaScrolledInDirection: is not available.
1776         * platform/mac/ScrollAnimatorMac.mm:
1777         (supportsContentAreaScrolledInDirection):
1778
1779         Pass along the delta.
1780         (WebCore::ScrollAnimatorMac::immediateScrollTo):
1781         (WebCore::ScrollAnimatorMac::notifyPositionChanged):
1782         (WebCore::ScrollAnimatorMac::mayBeginScrollGesture):
1783         (WebCore::ScrollAnimatorMac::notifyContentAreaScrolled):
1784         (WebCore::ScrollAnimatorMac::immediateScrollBy):
1785         (WebCore::ScrollAnimatorMac::sendContentAreaScrolledSoon):
1786
1787         If contentAreaScrolledInDirection: is available, call it with the delta, and then 
1788         reset our delta. Otherwise, still call contentAreaScrolled.
1789         (WebCore::ScrollAnimatorMac::sendContentAreaScrolledTimerFired):
1790
1791 2013-02-01  Pavel Feldman  <pfeldman@chromium.org>
1792
1793         Web Inspector: [file selector dialog] for mixed case queries, score uppercase letters only when assessing camelcase.
1794         https://bugs.webkit.org/show_bug.cgi?id=108639
1795
1796         Reviewed by Vsevolod Vlasov.
1797
1798         * inspector/front-end/FilteredItemSelectionDialog.js:
1799         (WebInspector.FilteredItemSelectionDialog.prototype._createScoringRegex):
1800
1801 2013-02-01  Robert Hogan  <robert@webkit.org>
1802
1803         Padding in a parent inline preceding an empty inline child should be counted towards width
1804         https://bugs.webkit.org/show_bug.cgi?id=108226
1805
1806         Reviewed by Levi Weintraub.
1807
1808         Add the border/padding/margin from an empty inline's parent inline if it is the first or last
1809         child of the inline. 
1810
1811         Tests: fast/inline/parent-inline-element-padding-contributes-width.html
1812                fast/inline/positioned-element-padding-contributes-width.html
1813
1814         * rendering/RenderBlockLineLayout.cpp:
1815         (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
1816
1817 2013-02-01  Tony Gentilcore  <tonyg@chromium.org>
1818
1819         Continue making XSSAuditor thread safe: Remove dependencies on m_parser from init()
1820         https://bugs.webkit.org/show_bug.cgi?id=108531
1821
1822         Reviewed by Adam Barth.
1823
1824         The threaded HTML parser will create and init() the XSSAuditor on the main thread, but filterToken() will be called on the background.
1825
1826         No new tests because no change in functionality.
1827
1828         * html/parser/HTMLDocumentParser.cpp:
1829         (WebCore::HTMLDocumentParser::pumpTokenizer):
1830         * html/parser/XSSAuditor.cpp:
1831         (WebCore::XSSAuditor::XSSAuditor):
1832         (WebCore::XSSAuditor::init):
1833         (WebCore::XSSAuditor::filterToken):
1834         * html/parser/XSSAuditor.h:
1835         (WebCore):
1836         (XSSAuditor):
1837
1838 2013-02-01  Brady Eidson  <beidson@apple.com>
1839
1840         Remove unnecessary parameter from DocumentLoader::scheduleArchiveLoad
1841         https://bugs.webkit.org/show_bug.cgi?id=108654
1842
1843         Reviewed by Alexey Proskuryakov.
1844
1845         No new tests (No behavior change.)
1846
1847         Remove the KURL parameter parameter from this method which, in practice,
1848         is always the same as the url of the ResourceRequest parameter.
1849
1850         * loader/DocumentLoader.cpp:
1851         (WebCore::DocumentLoader::scheduleArchiveLoad):
1852         * loader/DocumentLoader.h:
1853
1854         * loader/ResourceLoader.cpp:
1855         (WebCore::ResourceLoader::start):
1856
1857 2013-02-01  Pavel Feldman  <pfeldman@chromium.org>
1858
1859         Web Inspector: relax goto file matching again.
1860         https://bugs.webkit.org/show_bug.cgi?id=108346
1861
1862         Reviewed by Vsevolod Vlasov.
1863
1864         This change brings back behavior introduced in r116244.
1865
1866         * inspector/front-end/FilteredItemSelectionDialog.js:
1867         (WebInspector.FilteredItemSelectionDialog.prototype._createItemElement):
1868         (WebInspector.FilteredItemSelectionDialog.prototype._createSearchRegex):
1869         (WebInspector.FilteredItemSelectionDialog.prototype._createScoringRegex):
1870         (WebInspector.FilteredItemSelectionDialog.prototype._filterItems.compareFunction):
1871         (WebInspector.FilteredItemSelectionDialog.prototype._filterItems):
1872         (WebInspector.FilteredItemSelectionDialog.prototype._onMouseMove):
1873         (WebInspector.FilteredItemSelectionDialog.prototype.itemElement):
1874         (WebInspector.OpenResourceDialog):
1875         * inspector/front-end/utilities.js:
1876         (String.regexSpecialCharacters):
1877         (String.prototype.escapeForRegExp):
1878
1879 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
1880
1881         Web Inspector: Navigator should not create tree elements for uiSourceCodes unless neededm should populate folders on expand only.
1882         https://bugs.webkit.org/show_bug.cgi?id=108601
1883
1884         Reviewed by Pavel Feldman.
1885
1886         Tree elememnts for uiSourceCodes are not created until really needed anymore.
1887         They are now created when parent folder tree elememnts are expanded or when uiSourceCode is revealed in navigator.
1888
1889         * inspector/front-end/NavigatorView.js:
1890         (WebInspector.NavigatorView):
1891         (WebInspector.NavigatorView.prototype.addUISourceCode):
1892         (WebInspector.NavigatorView.prototype._getOrCreateScriptTreeElement):
1893         (WebInspector.NavigatorView.prototype._getScriptTreeElement):
1894         (WebInspector.NavigatorView.prototype._createScriptTreeElement):
1895         (WebInspector.NavigatorView.prototype._removeScriptTreeElement):
1896         (WebInspector.NavigatorView.prototype._updateScriptTitle):
1897         (WebInspector.NavigatorView.prototype.isScriptSourceAdded):
1898         (WebInspector.NavigatorView.prototype.revealUISourceCode):
1899         (WebInspector.NavigatorView.prototype.removeUISourceCode):
1900         (WebInspector.NavigatorView.prototype.reset):
1901         (WebInspector.NavigatorView.prototype.createFolderTreeElement):
1902         (WebInspector.NavigatorView.prototype._populateFolderTreeElement):
1903         (WebInspector.NavigatorView.prototype._addScriptTreeElement):
1904         (WebInspector.NavigatorView.prototype._adoptUISourceCode):
1905         (WebInspector.NavigatorFolderTreeElement):
1906         (WebInspector.NavigatorFolderTreeElement.prototype.onpopulate):
1907
1908 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
1909
1910         Web Inspector: TabbedEditorContainer.History performance optimization.
1911         https://bugs.webkit.org/show_bug.cgi?id=108581
1912
1913         Introduced history items indexing by url.
1914
1915         Reviewed by Pavel Feldman.
1916
1917         Covered by existing test.
1918
1919         * inspector/front-end/TabbedEditorContainer.js:
1920         (WebInspector.TabbedEditorContainer.History):
1921         (WebInspector.TabbedEditorContainer.History.prototype.index):
1922         (WebInspector.TabbedEditorContainer.History.prototype._rebuildItemIndex):
1923         (WebInspector.TabbedEditorContainer.History.prototype.update):
1924         (WebInspector.TabbedEditorContainer.History.prototype.remove):
1925
1926 2013-02-01  Geoffrey Garen  <ggaren@apple.com>
1927
1928         Added TriState to WTF and started using it in one place
1929         https://bugs.webkit.org/show_bug.cgi?id=108628
1930
1931         Reviewed by Beth Dakin.
1932
1933         * editing/EditingStyle.h:
1934         (WebCore): Moved TriState to WTF so it can be used in more places.
1935
1936 2013-02-01  Pavel Feldman  <pfeldman@chromium.org>
1937
1938         Web Inspector: Follow up to r141260: fixing renamed style.
1939         Not reviewed.
1940
1941         * inspector/front-end/FilteredItemSelectionDialog.js:
1942         (WebInspector.FilteredItemSelectionDialog.prototype._createItemElement):
1943         (WebInspector.FilteredItemSelectionDialog.prototype._onClick):
1944         (WebInspector.FilteredItemSelectionDialog.prototype._onMouseMove):
1945
1946 2013-02-01  Alexis Menard  <alexis@webkit.org>
1947
1948         Enable unprefixed CSS transitions by default.
1949         https://bugs.webkit.org/show_bug.cgi?id=108216
1950
1951         Reviewed by Dean Jackson.
1952
1953         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1954         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
1955         guard the unprefixing work for CSS Transforms and animations. Remove the
1956         various #ifdefs and conditional generations.
1957
1958         * Configurations/FeatureDefines.xcconfig:
1959         * DerivedSources.cpp:
1960         * GNUmakefile.features.am.in:
1961         * css/CSSPropertyNames.in:
1962         * dom/EventNames.in:
1963         * dom/TransitionEvent.cpp:
1964         * dom/TransitionEvent.h:
1965         * dom/TransitionEvent.idl:
1966         * page/DOMWindow.idl:
1967         * page/animation/AnimationController.cpp:
1968         (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
1969
1970 2013-02-01  Kentaro Hara  <haraken@chromium.org>
1971
1972         Unreviewed, rolling out r141548.
1973         http://trac.webkit.org/changeset/141548
1974         https://bugs.webkit.org/show_bug.cgi?id=108579
1975
1976         userscript-plugin-document.html is flaky
1977
1978         * bindings/v8/DOMDataStore.h:
1979         (WebCore::DOMDataStore::setWrapperInObject):
1980         * bindings/v8/V8GCController.cpp:
1981         (WebCore):
1982         (WebCore::gcTree):
1983         (WebCore::V8GCController::didCreateWrapperForNode):
1984         (WebCore::V8GCController::gcPrologue):
1985         (WebCore::V8GCController::minorGCPrologue):
1986         (WebCore::V8GCController::majorGCPrologue):
1987         * bindings/v8/V8GCController.h:
1988         (V8GCController):
1989
1990 2013-02-01  Andrey Adaikin  <aandrey@chromium.org>
1991
1992         Web Inspector: fix jscompiler warnings
1993         https://bugs.webkit.org/show_bug.cgi?id=108604
1994
1995         Reviewed by Pavel Feldman.
1996
1997         * inspector/front-end/ConsoleView.js:
1998         (WebInspector.ConsoleGroup.prototype.addMessage):
1999         * inspector/front-end/ContextMenu.js:
2000         (WebInspector.ContextSubMenuItem):
2001         * inspector/front-end/ImageView.js:
2002         (WebInspector.ImageView.prototype._copyImageURL):
2003         (WebInspector.ImageView.prototype._openInNewTab):
2004         * inspector/front-end/NetworkPanel.js:
2005         (WebInspector.NetworkLogView.prototype._clearBrowserCache):
2006         (WebInspector.NetworkLogView.prototype._clearBrowserCookies):
2007         * inspector/front-end/ResourcesPanel.js:
2008         (WebInspector.IDBDatabaseTreeElement.prototype._refreshIndexedDB):
2009         * inspector/front-end/ScriptsNavigator.js:
2010         (WebInspector.SnippetsNavigatorView.prototype._handleEvaluateSnippet):
2011         (WebInspector.SnippetsNavigatorView.prototype._handleRenameSnippet):
2012         (WebInspector.SnippetsNavigatorView.prototype._handleRemoveSnippet):
2013         (WebInspector.SnippetsNavigatorView.prototype._handleCreateSnippet):
2014         * inspector/front-end/Toolbar.js:
2015         (WebInspector.Toolbar.prototype._isDockedToBottom):
2016
2017 2013-02-01  Jae Hyun Park  <jae.park@company100.net>
2018
2019
2020         Coordinated Graphics : Sort Target.pri and class declarations in alphabetical order.
2021         https://bugs.webkit.org/show_bug.cgi?id=108590
2022
2023         Reviewed by Noam Rosenthal.
2024
2025         Sort CoordinatedGraphics files in Target.pri in alphabetical order.
2026
2027         No new tests. No change in behavior.
2028
2029         * Target.pri:
2030
2031 2013-02-01  Ilya Tikhonovsky  <loislo@chromium.org>
2032
2033         Web Inspector: Native Memory Instrumentation: provide edge names to class members in all WebCore instrumented classes.
2034         https://bugs.webkit.org/show_bug.cgi?id=107369
2035
2036         Reviewed by Yury Semikhatsky.
2037
2038         It is almost mechanical change generated by a script.
2039         Late I'll implement name to edge name consistency check in clang plugin.
2040
2041         * Modules/webaudio/AudioContext.cpp:
2042         (WebCore::AudioContext::reportMemoryUsage):
2043         * Modules/webaudio/AudioNode.cpp:
2044         (WebCore::AudioNode::reportMemoryUsage):
2045         * bindings/js/ScriptWrappable.h:
2046         (WebCore::ScriptWrappable::reportMemoryUsage):
2047         * bindings/v8/DOMDataStore.cpp:
2048         (WebCore::DOMDataStore::reportMemoryUsage):
2049         * bindings/v8/DOMWrapperMap.h:
2050         (WebCore::DOMWrapperMap::reportMemoryUsage):
2051         * bindings/v8/V8PerIsolateData.cpp:
2052         (WebCore::V8PerIsolateData::reportMemoryUsage):
2053         * bindings/v8/V8ValueCache.cpp:
2054         (WebCore::StringCache::reportMemoryUsage):
2055         * css/CSSBorderImageSliceValue.cpp:
2056         (WebCore::CSSBorderImageSliceValue::reportDescendantMemoryUsage):
2057         * css/CSSCalculationValue.cpp:
2058         * css/CSSCanvasValue.cpp:
2059         (WebCore::CSSCanvasValue::reportDescendantMemoryUsage):
2060         * css/CSSCharsetRule.cpp:
2061         (WebCore::CSSCharsetRule::reportMemoryUsage):
2062         * css/CSSComputedStyleDeclaration.cpp:
2063         (WebCore::CSSComputedStyleDeclaration::reportMemoryUsage):
2064         * css/CSSCrossfadeValue.cpp:
2065         (WebCore::CSSCrossfadeValue::reportDescendantMemoryUsage):
2066         * css/CSSCursorImageValue.cpp:
2067         (WebCore::CSSCursorImageValue::reportDescendantMemoryUsage):
2068         * css/CSSFontFaceRule.cpp:
2069         (WebCore::CSSFontFaceRule::reportMemoryUsage):
2070         * css/CSSFontFaceSrcValue.cpp:
2071         (WebCore::CSSFontFaceSrcValue::reportDescendantMemoryUsage):
2072         * css/CSSFunctionValue.cpp:
2073         (WebCore::CSSFunctionValue::reportDescendantMemoryUsage):
2074         * css/CSSGradientValue.cpp:
2075         (WebCore::CSSGradientColorStop::reportMemoryUsage):
2076         (WebCore::CSSGradientValue::reportBaseClassMemoryUsage):
2077         (WebCore::CSSLinearGradientValue::reportDescendantMemoryUsage):
2078         (WebCore::CSSRadialGradientValue::reportDescendantMemoryUsage):
2079         * css/CSSGroupingRule.cpp:
2080         (WebCore::CSSGroupingRule::reportMemoryUsage):
2081         * css/CSSImageGeneratorValue.cpp:
2082         (WebCore::CSSImageGeneratorValue::reportBaseClassMemoryUsage):
2083         * css/CSSImageSetValue.cpp:
2084         (WebCore::CSSImageSetValue::reportDescendantMemoryUsage):
2085         (WebCore::CSSImageSetValue::ImageWithScale::reportMemoryUsage):
2086         * css/CSSImageValue.cpp:
2087         (WebCore::CSSImageValue::reportDescendantMemoryUsage):
2088         * css/CSSImportRule.cpp:
2089         (WebCore::CSSImportRule::reportMemoryUsage):
2090         * css/CSSMediaRule.cpp:
2091         (WebCore::CSSMediaRule::reportMemoryUsage):
2092         * css/CSSPageRule.cpp:
2093         (WebCore::CSSPageRule::reportMemoryUsage):
2094         * css/CSSPrimitiveValue.cpp:
2095         (WebCore::CSSPrimitiveValue::reportDescendantMemoryUsage):
2096         * css/CSSProperty.cpp:
2097         (WebCore::CSSProperty::reportMemoryUsage):
2098         * css/CSSReflectValue.cpp:
2099         (WebCore::CSSReflectValue::reportDescendantMemoryUsage):
2100         * css/CSSRule.cpp:
2101         (WebCore::CSSRule::reportMemoryUsage):
2102         * css/CSSRuleList.cpp:
2103         (WebCore::StaticCSSRuleList::reportMemoryUsage):
2104         * css/CSSRuleList.h:
2105         * css/CSSSelectorList.cpp:
2106         (WebCore::CSSSelectorList::reportMemoryUsage):
2107         * css/CSSStyleRule.cpp:
2108         (WebCore::CSSStyleRule::reportMemoryUsage):
2109         * css/CSSStyleSheet.cpp:
2110         (WebCore::CSSStyleSheet::reportMemoryUsage):
2111         * css/CSSValue.cpp:
2112         (WebCore::TextCloneCSSValue::reportDescendantMemoryUsage):
2113         * css/CSSValueList.cpp:
2114         (WebCore::CSSValueList::reportDescendantMemoryUsage):
2115         * css/CSSVariableValue.h:
2116         (WebCore::CSSVariableValue::reportDescendantMemoryUsage):
2117         * css/FontFeatureValue.cpp:
2118         (WebCore::FontFeatureValue::reportDescendantMemoryUsage):
2119         * css/FontValue.cpp:
2120         (WebCore::FontValue::reportDescendantMemoryUsage):
2121         * css/MediaList.cpp:
2122         (WebCore::MediaQuerySet::reportMemoryUsage):
2123         (WebCore::MediaList::reportMemoryUsage):
2124         * css/MediaQuery.cpp:
2125         (WebCore::MediaQuery::reportMemoryUsage):
2126         * css/MediaQueryExp.cpp:
2127         (WebCore::MediaQueryExp::reportMemoryUsage):
2128         * css/PropertySetCSSStyleDeclaration.cpp:
2129         (WebCore::PropertySetCSSStyleDeclaration::reportMemoryUsage):
2130         (WebCore::StyleRuleCSSStyleDeclaration::reportMemoryUsage):
2131         (WebCore::InlineCSSStyleDeclaration::reportMemoryUsage):
2132         * css/RuleFeature.cpp:
2133         (WebCore::RuleFeatureSet::reportMemoryUsage):
2134         * css/RuleSet.cpp:
2135         (WebCore::RuleData::reportMemoryUsage):
2136         (WebCore::RuleSet::reportMemoryUsage):
2137         (WebCore::RuleSet::RuleSetSelectorPair::reportMemoryUsage):
2138         * css/ShadowValue.cpp:
2139         (WebCore::ShadowValue::reportDescendantMemoryUsage):
2140         * css/StylePropertySet.cpp:
2141         (WebCore::StylePropertySet::reportMemoryUsage):
2142         * css/StyleResolver.cpp:
2143         (WebCore::StyleResolver::MatchedProperties::reportMemoryUsage):
2144         (WebCore::StyleResolver::MatchedPropertiesCacheItem::reportMemoryUsage):
2145         (WebCore::MediaQueryResult::reportMemoryUsage):
2146         (WebCore::StyleResolver::reportMemoryUsage):
2147         * css/StyleRule.cpp:
2148         (WebCore::StyleRule::reportDescendantMemoryUsage):
2149         (WebCore::StyleRulePage::reportDescendantMemoryUsage):
2150         (WebCore::StyleRuleFontFace::reportDescendantMemoryUsage):
2151         (WebCore::StyleRuleGroup::reportDescendantMemoryUsage):
2152         (WebCore::StyleRuleMedia::reportDescendantMemoryUsage):
2153         (WebCore::StyleRuleRegion::reportDescendantMemoryUsage):
2154         (WebCore::StyleRuleViewport::reportDescendantMemoryUsage):
2155         * css/StyleRuleImport.cpp:
2156         (WebCore::StyleRuleImport::reportDescendantMemoryUsage):
2157         * css/StyleScopeResolver.cpp:
2158         (WebCore::StyleScopeResolver::reportMemoryUsage):
2159         * css/StyleSheetContents.cpp:
2160         (WebCore::StyleSheetContents::reportMemoryUsage):
2161         * css/WebKitCSSKeyframeRule.cpp:
2162         (WebCore::StyleKeyframe::reportMemoryUsage):
2163         (WebCore::WebKitCSSKeyframeRule::reportMemoryUsage):
2164         * css/WebKitCSSKeyframesRule.cpp:
2165         (WebCore::StyleRuleKeyframes::reportDescendantMemoryUsage):
2166         (WebCore::WebKitCSSKeyframesRule::reportMemoryUsage):
2167         * css/WebKitCSSSVGDocumentValue.cpp:
2168         (WebCore::WebKitCSSSVGDocumentValue::reportDescendantMemoryUsage):
2169         * css/WebKitCSSShaderValue.cpp:
2170         (WebCore::WebKitCSSShaderValue::reportDescendantMemoryUsage):
2171         * css/WebKitCSSViewportRule.cpp:
2172         (WebCore::WebKitCSSViewportRule::reportMemoryUsage):
2173         * dom/Attribute.h:
2174         (WebCore::Attribute::reportMemoryUsage):
2175         * dom/CharacterData.cpp:
2176         (WebCore::CharacterData::reportMemoryUsage):
2177         * dom/ContainerNode.cpp:
2178         (WebCore::ContainerNode::reportMemoryUsage):
2179         * dom/ContainerNode.h:
2180         (ContainerNode):
2181         * dom/Document.cpp:
2182         (WebCore::Document::reportMemoryUsage):
2183         * dom/DocumentEventQueue.cpp:
2184         (WebCore::DocumentEventQueue::reportMemoryUsage):
2185         * dom/DocumentOrderedMap.cpp:
2186         (WebCore::DocumentOrderedMap::reportMemoryUsage):
2187         * dom/DocumentStyleSheetCollection.cpp:
2188         (WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
2189         * dom/Element.cpp:
2190         (WebCore::Element::reportMemoryUsage):
2191         * dom/ElementAttributeData.cpp:
2192         (WebCore::ElementAttributeData::reportMemoryUsage):
2193         * dom/ElementRareData.cpp:
2194         (WebCore::ElementRareData::reportMemoryUsage):
2195         * dom/ElementShadow.cpp:
2196         (WebCore::ElementShadow::reportMemoryUsage):
2197         * dom/Event.cpp:
2198         (WebCore::Event::reportMemoryUsage):
2199         * dom/LiveNodeList.cpp:
2200         (WebCore::LiveNodeListBase::reportMemoryUsage):
2201         * dom/Node.cpp:
2202         (WebCore::Node::reportMemoryUsage):
2203         * dom/NodeRareData.cpp:
2204         (WebCore::NodeListsNodeData::reportMemoryUsage):
2205         (WebCore::NodeRareData::reportMemoryUsage):
2206         * dom/QualifiedName.cpp:
2207         (WebCore::QualifiedName::reportMemoryUsage):
2208         (WebCore::QualifiedName::QualifiedNameImpl::reportMemoryUsage):
2209         * dom/ScriptExecutionContext.cpp:
2210         (WebCore::ScriptExecutionContext::reportMemoryUsage):
2211         * dom/SecurityContext.cpp:
2212         (WebCore::SecurityContext::reportMemoryUsage):
2213         * dom/ShadowRoot.cpp:
2214         (WebCore::ShadowRoot::reportMemoryUsage):
2215         * dom/TreeScope.cpp:
2216         (WebCore::TreeScope::reportMemoryUsage):
2217         * html/HTMLCanvasElement.cpp:
2218         (WebCore::HTMLCanvasElement::reportMemoryUsage):
2219         * html/HTMLFormControlElement.cpp:
2220         (WebCore::HTMLFormControlElement::reportMemoryUsage):
2221         * html/HTMLImageElement.cpp:
2222         (WebCore::HTMLImageElement::reportMemoryUsage):
2223         * html/HTMLInputElement.cpp:
2224         (WebCore::HTMLInputElement::reportMemoryUsage):
2225         * html/HTMLMediaElement.cpp:
2226         (WebCore::HTMLMediaElement::reportMemoryUsage):
2227         * html/HTMLTextFormControlElement.cpp:
2228         (WebCore::HTMLTextFormControlElement::reportMemoryUsage):
2229         * inspector/HeapGraphSerializer.cpp:
2230         (WebCore::HeapGraphSerializer::HeapGraphSerializer):
2231         (WebCore::HeapGraphSerializer::reportNode):
2232         (WebCore::HeapGraphSerializer::reportMemoryUsage):
2233         * inspector/HeapGraphSerializer.h:
2234         (HeapGraphSerializer):
2235         * inspector/InspectorBaseAgent.cpp:
2236         (WebCore::InspectorBaseAgentInterface::reportMemoryUsage):
2237         * inspector/InspectorController.cpp:
2238         (WebCore::InspectorController::reportMemoryUsage):
2239         * inspector/InspectorDOMStorageAgent.cpp:
2240         (WebCore::InspectorDOMStorageAgent::reportMemoryUsage):
2241         * inspector/InspectorDOMStorageResource.cpp:
2242         (WebCore::InspectorDOMStorageResource::reportMemoryUsage):
2243         * inspector/InspectorDebuggerAgent.cpp:
2244         (WebCore::InspectorDebuggerAgent::reportMemoryUsage):
2245         (WebCore::ScriptDebugListener::Script::reportMemoryUsage):
2246         * inspector/InspectorMemoryAgent.cpp:
2247         (WebCore::InspectorMemoryAgent::reportMemoryUsage):
2248         * inspector/InspectorOverlay.cpp:
2249         (WebCore::InspectorOverlay::reportMemoryUsage):
2250         * inspector/InspectorProfilerAgent.cpp:
2251         (WebCore::InspectorProfilerAgent::reportMemoryUsage):
2252         * inspector/InspectorResourceAgent.cpp:
2253         (WebCore::InspectorResourceAgent::reportMemoryUsage):
2254         * inspector/MemoryInstrumentationImpl.cpp:
2255         (WebCore::MemoryInstrumentationClientImpl::reportMemoryUsage):
2256         (WebCore::MemoryInstrumentationImpl::reportMemoryUsage):
2257         * inspector/NetworkResourcesData.cpp:
2258         (WebCore::XHRReplayData::reportMemoryUsage):
2259         (WebCore::NetworkResourcesData::ResourceData::reportMemoryUsage):
2260         (WebCore::NetworkResourcesData::reportMemoryUsage):
2261         * loader/CachedMetadata.cpp:
2262         (WebCore::CachedMetadata::reportMemoryUsage):
2263         * loader/DocumentLoader.cpp:
2264         (WebCore::DocumentLoader::reportMemoryUsage):
2265         * loader/FrameLoader.cpp:
2266         (WebCore::FrameLoader::reportMemoryUsage):
2267         * loader/MainResourceLoader.cpp:
2268         (WebCore::MainResourceLoader::reportMemoryUsage):
2269         * loader/Prerenderer.cpp:
2270         (WebCore::Prerenderer::reportMemoryUsage):
2271         * loader/ResourceBuffer.cpp:
2272         (WebCore::ResourceBuffer::reportMemoryUsage):
2273         * loader/ResourceLoader.cpp:
2274         (WebCore::ResourceLoader::reportMemoryUsage):
2275         * loader/SubresourceLoader.cpp:
2276         (WebCore::SubresourceLoader::reportMemoryUsage):
2277         * loader/SubstituteData.cpp:
2278         (WebCore::SubstituteData::reportMemoryUsage):
2279         * loader/cache/CachedCSSStyleSheet.cpp:
2280         (WebCore::CachedCSSStyleSheet::reportMemoryUsage):
2281         * loader/cache/CachedFont.cpp:
2282         (WebCore::CachedFont::reportMemoryUsage):
2283         * loader/cache/CachedImage.cpp:
2284         (WebCore::CachedImage::reportMemoryUsage):
2285         * loader/cache/CachedResource.cpp:
2286         (WebCore::CachedResource::reportMemoryUsage):
2287         * loader/cache/CachedResourceHandle.cpp:
2288         (WebCore::CachedResourceHandleBase::reportMemoryUsage):
2289         * loader/cache/CachedResourceLoader.cpp:
2290         (WebCore::CachedResourceLoader::reportMemoryUsage):
2291         * loader/cache/CachedSVGDocument.cpp:
2292         (WebCore::CachedSVGDocument::reportMemoryUsage):
2293         * loader/cache/CachedScript.cpp:
2294         (WebCore::CachedScript::reportMemoryUsage):
2295         * loader/cache/CachedShader.cpp:
2296         (WebCore::CachedShader::reportMemoryUsage):
2297         * loader/cache/CachedXSLStyleSheet.cpp:
2298         (WebCore::CachedXSLStyleSheet::reportMemoryUsage):
2299         * loader/cache/MemoryCache.cpp:
2300         (WebCore::MemoryCache::reportMemoryUsage):
2301         * page/DOMTimer.cpp:
2302         (WebCore::DOMTimer::reportMemoryUsage):
2303         * page/Frame.cpp:
2304         (WebCore::Frame::reportMemoryUsage):
2305         * page/Page.cpp:
2306         (WebCore::Page::reportMemoryUsage):
2307         * platform/KURL.cpp:
2308         (WebCore::KURL::reportMemoryUsage):
2309         * platform/KURLGoogle.cpp:
2310         (WebCore::KURLGooglePrivate::reportMemoryUsage):
2311         * platform/KURLWTFURLImpl.h:
2312         (WebCore::KURLWTFURLImpl::reportMemoryUsage):
2313         * platform/ScrollableArea.cpp:
2314         (WebCore::ScrollableArea::reportMemoryUsage):
2315         * platform/SharedBuffer.cpp:
2316         (WebCore::SharedBuffer::reportMemoryUsage):
2317         * platform/audio/AudioArray.h:
2318         (WebCore::AudioArray::reportMemoryUsage):
2319         * platform/audio/FFTFrame.cpp:
2320         (WebCore::FFTFrame::reportMemoryUsage):
2321         * platform/audio/HRTFDatabase.cpp:
2322         (WebCore::HRTFDatabase::reportMemoryUsage):
2323         * platform/audio/HRTFDatabaseLoader.cpp:
2324         (WebCore::HRTFDatabaseLoader::reportMemoryUsage):
2325         * platform/audio/HRTFElevation.cpp:
2326         (WebCore::HRTFElevation::reportMemoryUsage):
2327         * platform/audio/HRTFKernel.cpp:
2328         (WebCore::HRTFKernel::reportMemoryUsage):
2329         * platform/audio/ffmpeg/FFTFrameFFMPEG.cpp:
2330         (reportMemoryUsage):
2331         * platform/graphics/BitmapImage.cpp:
2332         (WebCore::BitmapImage::reportMemoryUsage):
2333         (WebCore::FrameData::reportMemoryUsage):
2334         * platform/graphics/CrossfadeGeneratedImage.cpp:
2335         (WebCore::CrossfadeGeneratedImage::reportMemoryUsage):
2336         * platform/graphics/GeneratorGeneratedImage.cpp:
2337         (WebCore::GeneratorGeneratedImage::reportMemoryUsage):
2338         * platform/graphics/GraphicsLayer.cpp:
2339         (WebCore::GraphicsLayer::reportMemoryUsage):
2340         * platform/graphics/ImageBuffer.cpp:
2341         (WebCore::ImageBuffer::reportMemoryUsage):
2342         * platform/graphics/ImageSource.cpp:
2343         (WebCore::ImageSource::reportMemoryUsage):
2344         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
2345         (WebCore::GraphicsLayerChromium::reportMemoryUsage):
2346         * platform/graphics/skia/ImageBufferSkia.cpp:
2347         (WebCore::ImageBufferData::reportMemoryUsage):
2348         * platform/graphics/skia/MemoryInstrumentationSkia.cpp:
2349         (reportMemoryUsage):
2350         * platform/graphics/skia/NativeImageSkia.cpp:
2351         (WebCore::NativeImageSkia::reportMemoryUsage):
2352         * platform/image-decoders/ImageDecoder.cpp:
2353         (WebCore::ImageFrame::reportMemoryUsage):
2354         (WebCore):
2355         (WebCore::ImageDecoder::reportMemoryUsage):
2356         * platform/image-decoders/skia/ImageDecoderSkia.cpp:
2357         (WebCore::ImageFrame::reportMemoryUsage):
2358         * platform/network/FormData.cpp:
2359         (WebCore::FormData::reportMemoryUsage):
2360         (WebCore::FormDataElement::reportMemoryUsage):
2361         * platform/network/ResourceRequestBase.cpp:
2362         (WebCore::ResourceRequestBase::reportMemoryUsageBase):
2363         * platform/network/ResourceResponseBase.cpp:
2364         (WebCore::ResourceResponseBase::reportMemoryUsage):
2365         * platform/network/chromium/ResourceRequest.cpp:
2366         (WebCore::ResourceRequest::reportMemoryUsage):
2367         * rendering/InlineBox.cpp:
2368         (WebCore::InlineBox::reportMemoryUsage):
2369         * rendering/InlineFlowBox.cpp:
2370         (WebCore::InlineFlowBox::reportMemoryUsage):
2371         * rendering/InlineTextBox.cpp:
2372         (WebCore::InlineTextBox::reportMemoryUsage):
2373         * rendering/RenderBlock.cpp:
2374         (WebCore::RenderBlock::reportMemoryUsage):
2375         * rendering/RenderBox.cpp:
2376         (WebCore::RenderBox::reportMemoryUsage):
2377         * rendering/RenderFrameSet.cpp:
2378         (WebCore::RenderFrameSet::reportMemoryUsage):
2379         (WebCore::RenderFrameSet::GridAxis::reportMemoryUsage):
2380         * rendering/RenderInline.cpp:
2381         (WebCore::RenderInline::reportMemoryUsage):
2382         * rendering/RenderLayer.cpp:
2383         (WebCore::RenderLayer::reportMemoryUsage):
2384         * rendering/RenderLayerBacking.cpp:
2385         (WebCore::RenderLayerBacking::reportMemoryUsage):
2386         * rendering/RenderLayerCompositor.cpp:
2387         (WebCore::RenderLayerCompositor::reportMemoryUsage):
2388         * rendering/RenderListMarker.cpp:
2389         (WebCore::RenderListMarker::reportMemoryUsage):
2390         * rendering/RenderObject.cpp:
2391         (WebCore::RenderObject::reportMemoryUsage):
2392         * rendering/RenderTableCol.cpp:
2393         (WebCore::RenderTableCol::reportMemoryUsage):
2394         * rendering/RenderTableRow.cpp:
2395         (WebCore::RenderTableRow::reportMemoryUsage):
2396         * rendering/RenderTableSection.cpp:
2397         (WebCore::RenderTableSection::reportMemoryUsage):
2398         (WebCore::RenderTableSection::RowStruct::reportMemoryUsage):
2399         (WebCore::RenderTableSection::CellStruct::reportMemoryUsage):
2400         * rendering/RenderText.cpp:
2401         (WebCore::RenderText::reportMemoryUsage):
2402         * rendering/RenderView.cpp:
2403         (WebCore::RenderView::reportMemoryUsage):
2404         * rendering/style/DataRef.h:
2405         (WebCore::DataRef::reportMemoryUsage):
2406         * rendering/style/RenderStyle.cpp:
2407         (WebCore::RenderStyle::reportMemoryUsage):
2408         * rendering/style/StyleRareInheritedData.cpp:
2409         (WebCore::StyleRareInheritedData::reportMemoryUsage):
2410         * rendering/style/StyleRareNonInheritedData.cpp:
2411         (WebCore::StyleRareNonInheritedData::reportMemoryUsage):
2412         * svg/SVGPaint.cpp:
2413         (WebCore::SVGPaint::reportDescendantMemoryUsage):
2414         * svg/graphics/SVGImage.cpp:
2415         (WebCore::SVGImage::reportMemoryUsage):
2416         * xml/XMLHttpRequest.cpp:
2417         (WebCore::XMLHttpRequest::reportMemoryUsage):
2418
2419 2013-02-01  Philippe Normand  <pnormand@igalia.com>
2420
2421         [GTK][GStreamer] FullscreenVideoControllerGtk implementation
2422         https://bugs.webkit.org/show_bug.cgi?id=107398
2423
2424         Reviewed by Gustavo Noronha Silva.
2425
2426         NATIVE_FULLSCREEN_VIDEO support for the GTK port. The previous
2427         FullscreenVideoController implementation was refactored as a
2428         sub-class of FullscreenVideoControllerGStreamer and hooked in the
2429         MediaPlayerPrivateGStreamer backend.
2430
2431         * GNUmakefile.list.am:
2432         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
2433         (WebCore::MediaPlayerPrivateGStreamer::~MediaPlayerPrivateGStreamer):
2434         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
2435         * platform/graphics/gtk/FullscreenVideoControllerGtk.cpp: Renamed from Source/WebKit/gtk/WebCoreSupport/FullscreenVideoController.cpp.
2436         * platform/graphics/gtk/FullscreenVideoControllerGtk.h: Renamed from Source/WebKit/gtk/WebCoreSupport/FullscreenVideoController.h.
2437
2438 2013-02-01  Andrey Lushnikov  <lushnikov@chromium.org>
2439
2440         Web Inspector: fix cursor location in Source Frame
2441         https://bugs.webkit.org/show_bug.cgi?id=108592
2442
2443         Reviewed by Pavel Feldman.
2444
2445         Normalize range before computing amount of lines in
2446         _updateSourcePosition.
2447
2448         No new tests.
2449
2450         * inspector/front-end/SourceFrame.js:
2451         (WebInspector.SourceFrame.prototype._updateSourcePosition): Normalize text range.
2452         * inspector/front-end/inspector.css: Slightly bigger left padding for the text.
2453         (.source-frame-position):
2454
2455 2013-02-01  Kentaro Hara  <haraken@chromium.org>
2456
2457         Unreviewed build fix after r141553.
2458
2459         * bindings/scripts/CodeGeneratorV8.pm:
2460         (GenerateImplementation):
2461         * bindings/scripts/test/V8/V8Float64Array.cpp:
2462         (WebCore::V8Float64Array::HasInstance):
2463         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
2464         (WebCore::V8TestActiveDOMObject::HasInstance):
2465         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
2466         (WebCore::V8TestCustomNamedGetter::HasInstance):
2467         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
2468         (WebCore::V8TestEventConstructor::HasInstance):
2469         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
2470         (WebCore::V8TestEventTarget::HasInstance):
2471         * bindings/scripts/test/V8/V8TestException.cpp:
2472         (WebCore::V8TestException::HasInstance):
2473         * bindings/scripts/test/V8/V8TestInterface.cpp:
2474         (WebCore::V8TestInterface::HasInstance):
2475         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
2476         (WebCore::V8TestMediaQueryListListener::HasInstance):
2477         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
2478         (WebCore::V8TestNamedConstructor::HasInstance):
2479         * bindings/scripts/test/V8/V8TestNode.cpp:
2480         (WebCore::V8TestNode::HasInstance):
2481         * bindings/scripts/test/V8/V8TestObj.cpp:
2482         (WebCore::V8TestObj::HasInstance):
2483         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
2484         (WebCore::V8TestOverloadedConstructors::HasInstance):
2485         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
2486         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
2487
2488 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
2489
2490         Web Inspector: Sources panel navigator reveal and expand fixes.
2491         https://bugs.webkit.org/show_bug.cgi?id=108584
2492
2493         Reviewed by Pavel Feldman.
2494
2495         Navigator folders are not expanded by default anymore.
2496         Made domain folder expanded for inspected page main frame domain.
2497         UISourceCodes are now added to navigator before editor container
2498         so that they could be revealed if editor container decides to show them.
2499
2500         * inspector/front-end/NavigatorView.js:
2501         (WebInspector.BaseNavigatorTreeElement.prototype.onattach):
2502         (WebInspector.NavigatorFolderTreeElement.prototype.onattach):
2503         * inspector/front-end/ScriptsPanel.js:
2504         (WebInspector.ScriptsPanel.prototype._addUISourceCode):
2505
2506 2013-02-01  Andrey Adaikin  <aandrey@chromium.org>
2507
2508         Web Inspector: [Canvas] drop trace log in the backend when deleting profile in frontend
2509         https://bugs.webkit.org/show_bug.cgi?id=108591
2510
2511         Reviewed by Pavel Feldman.
2512
2513         Send a dropTraceLog command to the backend when deleting a profile header from the sidebar.
2514         Before we were sending the command only upon deleting an existing view of a profile, so we  would not
2515         sent the command if the view was not created or if a profile header was removed via context menu (the ondelete() method).
2516         Drive-by: fixed an odd formatting of property functions.
2517
2518         * inspector/front-end/CanvasProfileView.js:
2519         (WebInspector.CanvasProfileView.prototype.dispose):
2520         (WebInspector.CanvasProfileHeader.prototype.reset):
2521         * inspector/front-end/ProfilesPanel.js:
2522         (WebInspector.ProfileHeader.prototype.reset):
2523         (WebInspector.ProfileHeader.prototype.load):
2524         (WebInspector.ProfileHeader.prototype.canSaveToFile):
2525         (WebInspector.ProfileHeader.prototype.saveToFile):
2526         (WebInspector.ProfileHeader.prototype.loadFromFile):
2527         (WebInspector.ProfileHeader.prototype.fromFile):
2528         (WebInspector.ProfilesPanel):
2529         (WebInspector.ProfilesPanel.prototype._reset):
2530         (WebInspector.ProfilesPanel.prototype._removeProfileHeader):
2531
2532 2013-02-01  Chris Fleizach  <cfleizach@apple.com>
2533
2534         AX: when aria-activedescendant is used with a ComboBox role, focus should not be changed
2535         https://bugs.webkit.org/show_bug.cgi?id=108596
2536
2537         Reviewed by Ryosuke Niwa.
2538
2539         Normally, an aria-activedescendant change causes a focus change to be triggered.
2540         However, when used in conjunction with a combo box, this causes problems for screen readers.
2541         Namely, the user expects focus to remain in the text field so that the user can keep typing. 
2542         If focus moves to an item in the combobox list, it is not possible to keep typing.
2543
2544         The solution is to not trigger a focus change in this case and instead use a selected children change notification.
2545
2546         Test: platform/mac/accessibility/combobox-activedescendant-notifications.html
2547
2548         * accessibility/AccessibilityRenderObject.cpp:
2549         (WebCore::AccessibilityRenderObject::shouldNotifyActiveDescendant):
2550         (WebCore::AccessibilityRenderObject::shouldFocusActiveDescendant):
2551         (WebCore::AccessibilityRenderObject::handleActiveDescendantChanged):
2552         * accessibility/AccessibilityRenderObject.h:
2553         (AccessibilityRenderObject):
2554         * accessibility/mac/AXObjectCacheMac.mm:
2555         (WebCore::AXObjectCache::postPlatformNotification):
2556
2557 2013-02-01  Chris Fleizach  <cfleizach@apple.com>
2558
2559         [Mac] REGRESSION(r140974): accessibility/lists.html fails on Lion=
2560         https://bugs.webkit.org/show_bug.cgi?id=108291
2561
2562         Reviewed by Ryosuke Niwa.
2563
2564         This accounts for differences in what AppKit gives for accessibility role descriptions between platforms
2565         when the subrole is not recognized, and standardizes it for WebKit.
2566
2567         Unskip a failing Lion test
2568
2569         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
2570         (-[WebAccessibilityObjectWrapper roleDescription]):
2571
2572 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
2573
2574         Web Inspector: Replace localeCompare in NavigatorView with compareTo.
2575         https://bugs.webkit.org/show_bug.cgi?id=108585
2576
2577         Reviewed by Pavel Feldman.
2578
2579         Replaced String.prototype.localeCompare with String.prototype.compareTo
2580         in NavigatorView to improve performance.
2581
2582         * inspector/front-end/NavigatorView.js:
2583         (WebInspector.NavigatorTreeOutline._treeElementsCompare):
2584
2585 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
2586
2587         Web Inspector: File system pending requests list is not cleared after processing.
2588         https://bugs.webkit.org/show_bug.cgi?id=108573
2589
2590         Reviewed by Pavel Feldman.
2591
2592         * inspector/front-end/IsolatedFileSystemModel.js:
2593         (WebInspector.IsolatedFileSystemModel.prototype._processPendingFileSystemRequests):
2594
2595 2013-02-01  Tom Sepez  <tsepez@chromium.org>
2596
2597         Dubious cast from HTMLCollection to HTMLAllCollection
2598         https://bugs.webkit.org/show_bug.cgi?id=108538
2599
2600         Reviewed by Adam Barth.
2601
2602         Patch is tested by enabling V8 binding integrity on HTMLAllCollection and
2603         running the existing tests without introducing new crashes.
2604
2605         * dom/Document.cpp:
2606         (WebCore::Document::all):
2607         Pass correct type to template.
2608         
2609         * html/HTMLAllCollection.cpp:
2610         (WebCore::HTMLAllCollection::create):
2611         (WebCore::HTMLAllCollection::HTMLAllCollection):
2612         * html/HTMLAllCollection.h:
2613         (HTMLAllCollection):
2614         Make create() method arguments compatible with template above.
2615
2616         * html/HTMLAllCollection.idl:
2617         Enable binding integrity.
2618
2619 2013-02-01  Ken Kania  <kkania@chromium.org>
2620
2621         Web Inspector: Add support for handling modal dialogs
2622         https://bugs.webkit.org/show_bug.cgi?id=107883
2623
2624         Reviewed by Pavel Feldman.
2625
2626         Introduce support for being notified when a JavaScript modal dialog
2627         is opening and closing, as well as a new command for accepting or
2628         dismissing the dialog.
2629
2630         Test: inspector-protocol/page/willRunJavaScriptDialog.html
2631
2632         * inspector/Inspector.json:
2633         * inspector/InspectorClient.h:
2634         (WebCore::InspectorClient::handleJavaScriptDialog):
2635         (InspectorClient):
2636         * inspector/InspectorInstrumentation.cpp:
2637         (WebCore):
2638         (WebCore::InspectorInstrumentation::willRunJavaScriptDialogImpl):
2639         (WebCore::InspectorInstrumentation::didRunJavaScriptDialogImpl):
2640         * inspector/InspectorInstrumentation.h:
2641         (InspectorInstrumentation):
2642         (WebCore::InspectorInstrumentation::willRunJavaScriptDialog):
2643         (WebCore):
2644         (WebCore::InspectorInstrumentation::didRunJavaScriptDialog):
2645         * inspector/InspectorPageAgent.cpp:
2646         (WebCore::InspectorPageAgent::willRunJavaScriptDialog):
2647         (WebCore):
2648         (WebCore::InspectorPageAgent::didRunJavaScriptDialog):
2649         (WebCore::InspectorPageAgent::handleJavaScriptDialog):
2650         * inspector/InspectorPageAgent.h:
2651         * inspector/front-end/ResourceTreeModel.js:
2652         (WebInspector.PageDispatcher.prototype.frameStartedLoading):
2653         (WebInspector.PageDispatcher.prototype.frameStoppedLoading):
2654         (WebInspector.PageDispatcher.prototype.frameScheduledNavigation):
2655         (WebInspector.PageDispatcher.prototype.frameClearedScheduledNavigation):
2656         (WebInspector.PageDispatcher.prototype.javascriptDialogOpening):
2657         (WebInspector.PageDispatcher.prototype.javascriptDialogClosed):
2658         * page/Chrome.cpp:
2659         (WebCore::Chrome::runBeforeUnloadConfirmPanel):
2660         (WebCore::Chrome::runJavaScriptAlert):
2661         (WebCore::Chrome::runJavaScriptConfirm):
2662         (WebCore::Chrome::runJavaScriptPrompt):
2663
2664 2013-02-01  Dan Alcantara  <dfalcantara@chromium.org>
2665
2666         Touch disambiguation blacklist is not being queried properly
2667         https://bugs.webkit.org/show_bug.cgi?id=108222
2668
2669         Reviewed by Adam Barth.
2670
2671         TEST=WebFrameTest::DisambiguationPopupBlacklist
2672
2673         Fix the blacklist so that we check it for the right nodes.
2674         Add a chromium test to check that the blacklist is being built and used
2675         correctly.  Also update the other DisambiguationPopup tests to
2676         use the new page scale method.
2677
2678         * page/TouchDisambiguation.cpp:
2679         (WebCore::findGoodTouchTargets):
2680
2681 2013-01-31  Kentaro Hara  <haraken@chromium.org>
2682
2683         [V8] Add a temporary optional Isolate parameter to HasInstance()
2684         https://bugs.webkit.org/show_bug.cgi?id=108567
2685
2686         Reviewed by Adam Barth.
2687
2688         The optional Isolate parameter will be removed once all call sites have an Isolate.
2689         It will require several patches.
2690
2691         No tests. No change in behavior.
2692
2693         * bindings/scripts/CodeGeneratorV8.pm:
2694         (GenerateHeader):
2695         (GenerateNormalAttrSetter):
2696         (GenerateParametersCheckExpression):
2697         (GenerateParametersCheck):
2698         (GenerateImplementation):
2699         * bindings/scripts/test/V8/V8Float64Array.cpp:
2700         (WebCore::V8Float64Array::HasInstance):
2701         * bindings/scripts/test/V8/V8Float64Array.h:
2702         (V8Float64Array):
2703         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
2704         (WebCore::V8TestActiveDOMObject::HasInstance):
2705         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
2706         (V8TestActiveDOMObject):
2707         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
2708         (WebCore::V8TestCustomNamedGetter::HasInstance):
2709         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
2710         (V8TestCustomNamedGetter):
2711         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
2712         (WebCore::V8TestEventConstructor::HasInstance):
2713         * bindings/scripts/test/V8/V8TestEventConstructor.h:
2714         (V8TestEventConstructor):
2715         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
2716         (WebCore::V8TestEventTarget::HasInstance):
2717         * bindings/scripts/test/V8/V8TestEventTarget.h:
2718         (V8TestEventTarget):
2719         * bindings/scripts/test/V8/V8TestException.cpp:
2720         (WebCore::V8TestException::HasInstance):
2721         * bindings/scripts/test/V8/V8TestException.h:
2722         (V8TestException):
2723         * bindings/scripts/test/V8/V8TestInterface.cpp:
2724         (WebCore::V8TestInterface::HasInstance):
2725         * bindings/scripts/test/V8/V8TestInterface.h:
2726         (V8TestInterface):
2727         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
2728         (WebCore::V8TestMediaQueryListListener::HasInstance):
2729         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
2730         (V8TestMediaQueryListListener):
2731         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
2732         (WebCore::V8TestNamedConstructor::HasInstance):
2733         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
2734         (V8TestNamedConstructor):
2735         * bindings/scripts/test/V8/V8TestNode.cpp:
2736         (WebCore::V8TestNode::HasInstance):
2737         * bindings/scripts/test/V8/V8TestNode.h:
2738         (V8TestNode):
2739         * bindings/scripts/test/V8/V8TestObj.cpp:
2740         (WebCore::TestObjV8Internal::overloadedMethodCallback):
2741         (WebCore::TestObjV8Internal::variadicNodeMethodCallback):
2742         (WebCore::V8TestObj::HasInstance):
2743         * bindings/scripts/test/V8/V8TestObj.h:
2744         (V8TestObj):
2745         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
2746         (WebCore::V8TestOverloadedConstructors::constructorCallback):
2747         (WebCore::V8TestOverloadedConstructors::HasInstance):
2748         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
2749         (V8TestOverloadedConstructors):
2750         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
2751         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
2752         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
2753         (V8TestSerializedScriptValueInterface):
2754
2755 2013-02-01  Nils Barth  <nbarth@google.com>
2756
2757         [CPP,GObject,ObjC] Add 'static' skip to CodeGenerator{CPP,GObject,ObjC}.pm
2758         https://bugs.webkit.org/show_bug.cgi?id=108578
2759
2760         Reviewed by Kentaro Hara.
2761
2762         Since CPP/GObject/ObjC code generators (CodeGenerator{CPP,GObject,ObjC}.pm)
2763         do not support static attributes, add test to skip these.
2764         This lets us remove #if macro from static in test files and not need
2765         these in future.
2766
2767         Test: bindings/scripts/test/TestObj.idl (run-bindings-test)
2768         Test: bindings/scripts/test/TestSupplemental.idl (run-bindings-test)
2769
2770         * bindings/scripts/CodeGeneratorCPP.pm:
2771         (SkipAttribute):
2772         * bindings/scripts/CodeGeneratorGObject.pm:
2773         (SkipAttribute):
2774         * bindings/scripts/CodeGeneratorObjC.pm:
2775         (SkipAttribute):
2776         * bindings/scripts/test/TestObj.idl:
2777         * bindings/scripts/test/TestSupplemental.idl:
2778
2779 2013-02-01  Kentaro Hara  <haraken@chromium.org>
2780
2781         [V8] Remove V8GCController::m_edenNodes
2782         https://bugs.webkit.org/show_bug.cgi?id=108579
2783
2784         Reviewed by Adam Barth.
2785
2786         Currently V8GCController::m_edenNodes stores a list of nodes whose
2787         wrappers have been created since the latest GC. The reason why we
2788         needed m_edenNodes is that there was no way to know a list of wrappers
2789         in the new space of V8. By using m_edenNodes, we had been approximating
2790         'wrappers in the new space' by 'wrappers that have been created since
2791         the latest GC'.
2792
2793         Now V8 provides VisitHandlesForPartialDependence(), with which WebKit
2794         can know a list of wrappers in the new space. By using the API, we can
2795         remove V8GCController::m_edenNodes. The benefit is that (1) we no longer
2796         need to keep m_edenNodes and that (2) it enables more precise minor
2797         DOM GC (Remember that m_edenNodes was just an approximation).
2798
2799         Performance benchmark: https://bugs.webkit.org/attachment.cgi?id=185940
2800         The benchmark runs 300 iterations, each of which creates 100000 elements.
2801         The benchmark measures average, min, median, max and stdev of execution times
2802         of the 300 iterations. This will tell us the worst-case overhead of this change.
2803
2804         Before:
2805           mean=59.91ms, min=39ms, median=42ms, max=258ms, stdev=47.48ms
2806
2807         After:
2808           mean=58.75ms, min=35ms, median=41ms, max=250ms, stdev=47.32ms
2809
2810         As shown above, I couldn't observe any performance regression.
2811
2812         No tests. No change in behavior.
2813
2814         * bindings/v8/DOMDataStore.h:
2815         (WebCore::DOMDataStore::setWrapperInObject):
2816         * bindings/v8/V8GCController.cpp:
2817         (WebCore::gcTree):
2818         (WebCore):
2819         (MinorGCWrapperVisitor):
2820         (WebCore::MinorGCWrapperVisitor::notifyFinished):
2821         (WebCore::V8GCController::gcPrologue):
2822         (WebCore::V8GCController::minorGCPrologue):
2823         (WebCore::V8GCController::majorGCPrologue):
2824         * bindings/v8/V8GCController.h:
2825         (V8GCController):
2826
2827 2013-02-01  Vsevolod Vlasov  <vsevik@chromium.org>
2828
2829         Web Inspector: Use String.prototype.startsWith instead of String.prototype.indexOf when possible
2830         https://bugs.webkit.org/show_bug.cgi?id=108575
2831
2832         Reviewed by Yury Semikhatsky.
2833
2834         * inspector/front-end/FileMapping.js:
2835         (WebInspector.FileMapping.prototype._entryMatchesURL):
2836         (WebInspector.FileMapping.prototype.urlForURI):
2837         * inspector/front-end/FileSystemMapping.js:
2838         (get WebInspector.FileSystemMappingImpl.prototype.fileForURI):
2839         (get WebInspector.FileSystemMappingImpl.prototype.uriForPath):
2840
2841 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
2842
2843         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2844         https://bugs.webkit.org/show_bug.cgi?id=107737
2845
2846         Reviewed by Ryosuke Niwa.
2847
2848         Chromium has a bug where the IME composition did not get cancelled on JavaScript changes
2849         to the focused editing field. Most of other WebKit ports were already doing this check
2850         in their EditorClient::respondToChangedSelection. I took that logic and moved it to the
2851         Editor so every port and use the same code.
2852
2853         An existing test editing/input/setting-input-value-cancel-ime-composition.html covers this change.
2854         This test used to have an expectation to fail on Chromium and after this patch it will start passing.
2855
2856         * editing/Editor.cpp:
2857         (WebCore::Editor::cancelCompositionIfSelectionIsInvalid):
2858             Adding a call that can be used by any the port to cancel the composition if it's no longer valid.
2859         (WebCore):
2860         * editing/Editor.h:
2861         (Editor):
2862
2863 2013-01-31  Jae Hyun Park  <jae.park@company100.net>
2864
2865         Coordinated Graphics : Move CoordinatedGraphics related files to WebCore
2866         https://bugs.webkit.org/show_bug.cgi?id=108149
2867
2868         Reviewed by Noam Rosenthal.
2869
2870         This patch moves Coordinated Graphics related code to WebCore. To
2871         implement Threaded Coordinated Graphics, most of Coordianted Graphics
2872         code should be shared. Therefore, they should reside in WebCore instead of
2873         WebKit2.
2874
2875         When moving to WebCore, two renamings have been done.
2876
2877         1. Rename LayerTreeRenderer to CoordinatedGraphicsScene.
2878
2879         2. Rename WebCustomFilterProgram and WebCustomFilterOperation to
2880         CoordinatedCustomFilterProgram and CoordinatedCustomFilterOperation,
2881         respectively.
2882
2883         No new tests, covered by existing tests.
2884
2885         * CMakeLists.txt:
2886         * Target.pri:
2887         * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
2888         * platform/graphics/texmap/coordinated/AreaAllocator.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.cpp.
2889         * platform/graphics/texmap/coordinated/AreaAllocator.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/AreaAllocator.h.
2890         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp.
2891         * platform/graphics/texmap/coordinated/CoordinatedBackingStore.h: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedBackingStore.h.
2892         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterOperation.h: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/WebCustomFilterOperation.h.
2893         * platform/graphics/texmap/coordinated/CoordinatedCustomFilterProgram.h: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/WebCustomFilterProgram.h.
2894         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp.
2895         * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h.
2896         * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp.
2897         * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h: Renamed from Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h.
2898         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.cpp.
2899         * platform/graphics/texmap/coordinated/CoordinatedImageBacking.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedImageBacking.h.
2900         * platform/graphics/texmap/coordinated/CoordinatedLayerInfo.h: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedLayerInfo.h.
2901         * platform/graphics/texmap/coordinated/CoordinatedSurface.cpp: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedSurface.cpp.
2902         * platform/graphics/texmap/coordinated/CoordinatedSurface.h: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedSurface.h.
2903         * platform/graphics/texmap/coordinated/CoordinatedTile.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.cpp.
2904         * platform/graphics/texmap/coordinated/CoordinatedTile.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedTile.h.
2905         * platform/graphics/texmap/coordinated/SurfaceUpdateInfo.h: Renamed from Source/WebKit2/Shared/CoordinatedGraphics/SurfaceUpdateInfo.h.
2906         * platform/graphics/texmap/coordinated/UpdateAtlas.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp.
2907         * platform/graphics/texmap/coordinated/UpdateAtlas.h: Renamed from Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.h.
2908
2909 2013-01-31  Lamarque V. Souza  <Lamarque.Souza@basyskom.com>
2910
2911         [Qt] Add support for text decoration "wavy" style
2912         https://bugs.webkit.org/show_bug.cgi?id=93507
2913
2914         Reviewed by Simon Hausmann.
2915
2916         Add support for text decoration "wavy" style for Qt platform.
2917
2918         * platform/graphics/qt/GraphicsContextQt.cpp:
2919         (WebCore::toQPenStyle):
2920         Remove FIXME comments obsoleted by this patch.
2921         (WebCore::GraphicsContext::drawLine):
2922         Implement wavy style line tracer.
2923
2924 2013-01-31  Nils Barth  <nbarth@google.com>
2925
2926         [CPP,GObject,ObjC] Add 'enum' skip to CodeGenerator{CPP,GObject,ObjC}.pm
2927         https://bugs.webkit.org/show_bug.cgi?id=108565
2928
2929         Reviewed by Kentaro Hara.
2930
2931         Since legacy code generators (CodeGenerator{CPP,GObject,ObjC}.pm)
2932         do not support enumerations, add test to skip attributes of enum type.
2933         This lets us remove #if macro from enum in test file and not need
2934         these in future.
2935         Also minor associated code cleaning:
2936           auxiliary variable: $type = $attribute->signature->type.
2937
2938         Test: bindings/scripts/test/TestObj.idl (run-bindings-test)
2939
2940         * bindings/scripts/CodeGeneratorCPP.pm:
2941         (SkipAttribute):
2942         * bindings/scripts/CodeGeneratorGObject.pm:
2943         (SkipAttribute):
2944         * bindings/scripts/CodeGeneratorObjC.pm:
2945         (SkipAttribute):
2946         * bindings/scripts/test/TestObj.idl: remove #if macro
2947
2948 2013-01-31  Kent Tamura  <tkent@chromium.org>
2949
2950         Refactoring: Remove the default argument value for Node::setFocus
2951         https://bugs.webkit.org/show_bug.cgi?id=108554
2952
2953         Reviewed by Kentaro Hara.
2954
2955         There is no code to use the default argument.
2956         No new tests. Just a refactoring.
2957
2958         * dom/Node.h: Remove default argument value for setFocus.
2959         * dom/ContainerNode.h:
2960         (ContainerNode): Ditto.
2961         * html/HTMLAreaElement.h:
2962         (HTMLAreaElement): Add OVERRIDE to setFocus.
2963         * html/HTMLFrameElementBase.h:
2964         (HTMLFrameElementBase): Ditto.
2965
2966 2013-01-31  Victor Carbune  <vcarbune@chromium.org>
2967
2968         [Track] Closed Caption button shouldn't be visible if all the track resources have failed loading
2969         https://bugs.webkit.org/show_bug.cgi?id=106285
2970
2971         Reviewed by Eric Carlson.
2972
2973         Updated existing test cases.
2974
2975         * html/HTMLMediaElement.cpp:
2976         (WebCore::HTMLMediaElement::textTracksAreReady): Checked whether there are tracks not loaded
2977         when the algorithm began.
2978         (WebCore::HTMLMediaElement::textTrackReadyStateChanged): If the ready state changed to
2979         FailedToLoad the media controls should check whether there are other caption tracks
2980         and hide the button if not.
2981         (WebCore::HTMLMediaElement::didAddTrack): Added trigger to closedCaptionsTrackChanged.
2982         (WebCore::HTMLMediaElement::hasClosedCaptions): Updated check to skip tracks that
2983         failed to load.
2984         * html/shadow/MediaControls.cpp:
2985         (WebCore::MediaControls::reset): Used the newly added method.
2986         (WebCore::MediaControls::refreshClosedCaptionsButtonVisibility): Added container method for
2987         default behaviour for refreshing the visibility of the caption button.
2988         (WebCore::MediaControls::closedCaptionTracksChanged): Used the newly added method.
2989         (WebCore):
2990         * html/shadow/MediaControls.h:
2991         (MediaControls):
2992
2993         * html/HTMLMediaElement.cpp:
2994         (WebCore::HTMLMediaElement::textTracksAreReady):
2995         (WebCore::HTMLMediaElement::textTrackReadyStateChanged):
2996         (WebCore::HTMLMediaElement::setReadyState):
2997         (WebCore::HTMLMediaElement::didAddTrack):
2998         (WebCore::HTMLMediaElement::hasClosedCaptions):
2999         * html/shadow/MediaControls.cpp:
3000         (WebCore::MediaControls::reset):
3001         (WebCore::MediaControls::refreshClosedCaptionsButtonVisibility):
3002         (WebCore::MediaControls::closedCaptionTracksChanged):
3003         (WebCore):
3004         * html/shadow/MediaControls.h:
3005         (MediaControls):
3006
3007 2013-01-31  Dima Gorbik  <dgorbik@apple.com>
3008
3009         REGRESSION(r140231): media track layout tests crashing
3010         https://bugs.webkit.org/show_bug.cgi?id=107579
3011
3012         Reviewed by Eric Carlson.
3013
3014         We were using non-standard element names with HTMLElement, which made v8 try to cast
3015         WebVTTElements to HTMLUnknownElements which was not possible. Subclassing Element instead
3016         of HTMLElement, though this requires building HTMLElements from WebVTTElements for creating
3017         a DOM tree. The code has been refactored to move WebVTT node type to QuialifiedName mappings 
3018         inside the WebVTTElement class. All WebVTTElements in the shadow dom tree now are in the 
3019         namespace defined by 'NullAtom'. This prevents regular styles from being applied to <b>, <i>
3020         and similar tags. Those have to be styled separately without reusing existing QualifiedNames
3021         and their styles. https://bugs.webkit.org/show_bug.cgi?id=107214
3022
3023         Unskipping tests to cover this.
3024
3025         * css/SelectorChecker.cpp:
3026         (WebCore::SelectorChecker::checkOne):
3027         * css/StyleResolver.cpp:
3028         (WebCore::StyleResolver::collectMatchingRules):
3029         (WebCore::StyleResolver::canShareStyleWithElement):
3030         * html/track/TextTrackCue.cpp:
3031         (WebCore::TextTrackCue::copyWebVTTNodeToDOMTree):
3032         (WebCore::TextTrackCue::getCueAsHTML):
3033         (WebCore::TextTrackCue::createCueRenderingTree):
3034         (WebCore::TextTrackCue::markFutureAndPastNodes):
3035         * html/track/TextTrackCue.h:
3036         (WebCore::TextTrackCue::cueShadowPseudoId):
3037         * html/track/WebVTTElement.cpp:
3038         (WebCore::nodeTypeToTagName): get a QualifiedName to use in the shadow DOM tree.
3039         (WebCore::WebVTTElement::WebVTTElement):
3040         (WebCore::WebVTTElement::create):
3041         (WebCore::WebVTTElement::cloneElementWithoutAttributesAndChildren):
3042         (WebCore::WebVTTElement::createEquivalentHTMLElement): create an HTMLElement to use in the DOM tree.
3043         * html/track/WebVTTElement.h:
3044         (WebCore::WebVTTElement::setWebVTTNodeType):
3045         (WebCore::WebVTTElement::webVTTNodeType):
3046         (WebCore::WebVTTElement::isPastNode):
3047         (WebCore::WebVTTElement::setIsPastNode):
3048         (WebCore::WebVTTElement::voiceAttributeName):
3049         * html/track/WebVTTParser.cpp:
3050         (WebCore::tokenToNodeType): determine a WebVTT node type for the token.
3051         (WebCore::WebVTTParser::constructTreeFromToken):
3052
3053 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3054
3055         Unreviewed, rolling out r141479.
3056         http://trac.webkit.org/changeset/141479
3057         https://bugs.webkit.org/show_bug.cgi?id=108564
3058
3059         breaks chromium test (Requested by morrita on #webkit).
3060
3061         * editing/Editor.cpp:
3062         * editing/Editor.h:
3063         (Editor):
3064
3065 2013-01-31  Changhun Kang  <temoochin@company100.net>
3066
3067         Rename from parentOrHost* to parentOrShadowHost* in Node.h.
3068         https://bugs.webkit.org/show_bug.cgi?id=108308
3069
3070         Reviewed by Dimitri Glazkov.
3071
3072         No new tests. No change in behavior.
3073
3074 2013-01-31  Alec Flett  <alecflett@chromium.org>
3075
3076         IndexedDB: remove old transaction backend bootstrap code
3077         https://bugs.webkit.org/show_bug.cgi?id=103923
3078
3079         Reviewed by Dimitri Glazkov.
3080
3081         Finally remove all leftover code from the IndexedDB "giant
3082         async refactor of 2012." This includes removal of all
3083         IDBTransaction* interfaces that were shared between
3084         the frontend and backend and a few straggling methods
3085         like onUpgradeNeeded and onSuccess that were left from
3086         the last stage of refactoring.
3087
3088         * Modules/indexeddb/IDBCallbacks.h:
3089         * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
3090         * Modules/indexeddb/IDBDatabaseBackendImpl.h:
3091         (WebCore):
3092         (WebCore::IDBDatabaseBackendImpl::metadata):
3093         (IDBDatabaseBackendImpl):
3094         * Modules/indexeddb/IDBDatabaseBackendInterface.h:
3095         (WebCore):
3096         (IDBDatabaseBackendInterface):
3097         * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
3098         (WebCore):
3099         * Modules/indexeddb/IDBTransaction.h:
3100         (WebCore):
3101         (IDBTransaction):
3102         * Modules/indexeddb/IDBTransactionBackendImpl.h:
3103         (WebCore):
3104         (IDBTransactionBackendImpl):
3105         * Modules/indexeddb/IDBTransactionBackendInterface.h: Removed.
3106         * Modules/indexeddb/IDBTransactionCallbacks.h: Removed.
3107         * Modules/indexeddb/IDBTransactionCoordinator.h:
3108         (WebCore):
3109         * Target.pri:
3110         * WebCore.gypi:
3111         * WebCore.xcodeproj/project.pbxproj:
3112
3113 2013-01-31  Kentaro Hara  <haraken@chromium.org>
3114
3115         Unreviewed, rolling out r141502.
3116         http://trac.webkit.org/changeset/141502
3117         https://bugs.webkit.org/show_bug.cgi?id=108441
3118
3119         Hit assert in SVGElementInstance
3120
3121         * bindings/scripts/CodeGeneratorV8.pm:
3122         (GetInternalFields):
3123         * dom/EventTarget.idl:
3124         * svg/SVGElementInstance.idl:
3125
3126 2013-01-31  Ojan Vafai  <ojan@chromium.org>
3127
3128         Assert that computePreferredLogicalWidths never calls setNeedsLayout
3129         https://bugs.webkit.org/show_bug.cgi?id=108539
3130
3131         Reviewed by Tony Chang.
3132
3133         computePreferredLogicalWidths should only set m_minPreferredLogicalWidth
3134         and m_maxPreferredLogicalWidth. It shouldn't have other side-effects.
3135         This is take 2 after this was rolled out because it was missing the guards
3136         in RenderCounter/RenderQuote.
3137
3138         * rendering/RenderBox.cpp:
3139         (WebCore::RenderBox::minPreferredLogicalWidth):
3140         (WebCore::RenderBox::maxPreferredLogicalWidth):
3141         * rendering/RenderCounter.cpp:
3142         (WebCore::RenderCounter::computePreferredLogicalWidths):
3143         * rendering/RenderQuote.cpp:
3144         (WebCore::RenderQuote::computePreferredLogicalWidths):
3145         * rendering/mathml/RenderMathMLOperator.cpp:
3146         (WebCore::RenderMathMLOperator::computePreferredLogicalWidths):
3147         * rendering/mathml/RenderMathMLRoot.cpp:
3148         (WebCore::RenderMathMLRoot::computePreferredLogicalWidths):
3149         * rendering/mathml/RenderMathMLRow.cpp:
3150         (WebCore::RenderMathMLRow::computePreferredLogicalWidths):
3151
3152 2013-01-31  Abhishek Arya  <inferno@chromium.org>
3153
3154         Use ASSERT_WITH_SECURITY_IMPLICATION to catch bad casts in DOM
3155         https://bugs.webkit.org/show_bug.cgi?id=108490
3156  
3157         Reviewed by Eric Seidel.
3158
3159         * dom/ContainerNode.h:
3160         (WebCore::toContainerNode):
3161         * dom/Element.h:
3162         (WebCore::toElement):
3163         * dom/ShadowRoot.h:
3164         (WebCore::toShadowRoot):
3165         * dom/Text.h:
3166         (WebCore::toText):
3167         * html/HTMLElement.h:
3168         (HTMLElement):
3169         (WebCore::toHTMLElement):
3170         * html/HTMLFrameOwnerElement.h:
3171         (WebCore::toFrameOwnerElement):
3172         * html/HTMLMediaElement.cpp:
3173         (WebCore::HTMLMediaElement::hasMediaControls):
3174         * html/HTMLTemplateElement.cpp:
3175         (WebCore::toHTMLTemplateElement):
3176         * html/HTMLUnknownElement.h:
3177         (WebCore::toHTMLUnknownElement):
3178         * html/shadow/InsertionPoint.h:
3179         (WebCore::toInsertionPoint):
3180         * html/shadow/MediaControlElementTypes.cpp:
3181         (WebCore::mediaControlElementType):
3182         * html/shadow/MediaControls.h:
3183         (WebCore::toMediaControls):
3184         * html/shadow/SliderThumbElement.h:
3185         (WebCore::toSliderThumbElement):
3186         * html/shadow/TextControlInnerElements.h:
3187         (WebCore::toInputFieldSpeechButtonElement):
3188         * html/shadow/TextFieldDecorationElement.h:
3189         (WebCore::toTextFieldDecorationElement):
3190         * html/track/WebVTTElement.h:
3191         (WebCore::toWebVTTElement):
3192         * mathml/MathMLElement.h:
3193         (WebCore::toMathMLElement):
3194         * page/scrolling/ScrollingStateFixedNode.h:
3195         (WebCore::toScrollingStateFixedNode):
3196         * page/scrolling/ScrollingStateScrollingNode.h:
3197         (WebCore::toScrollingStateScrollingNode):
3198         * page/scrolling/ScrollingStateStickyNode.h:
3199         (WebCore::toScrollingStateStickyNode):
3200         * rendering/RenderLayer.cpp:
3201         (WebCore::RenderLayer::resize):
3202         * rendering/svg/SVGResources.cpp:
3203         (WebCore::registerPendingResource):
3204         (WebCore::SVGResources::buildCachedResources):
3205         * svg/SVGElement.h:
3206         (WebCore::toSVGElement):
3207         * svg/SVGStyledElement.h:
3208         (WebCore::toSVGStyledElement):
3209
3210 2013-01-31  Christopher Cameron  <ccameron@chromium.org>
3211
3212         Fix rubber-band effect on non-scrollable pages
3213         https://bugs.webkit.org/show_bug.cgi?id=107611
3214
3215         Reviewed by Antonio Gomes.
3216
3217         Handle a FrameView's wheel event even if it is not scrollable
3218         because Chrome relies on handling these wheel events for the
3219         over-scroll rubber-band effect.
3220  
3221         This had been removed in r138378
3222         [EFL][WK2] Never create WebCore scrollbars for EFL/WK2
3223         by kenneth@chromium.org
3224
3225         Tests: platform/chromium/rubberbanding/wheelevent-overhang-e.html
3226                platform/chromium/rubberbanding/wheelevent-overhang-n.html
3227                platform/chromium/rubberbanding/wheelevent-overhang-s.html
3228                platform/chromium/rubberbanding/wheelevent-overhang-w.html
3229
3230         * page/FrameView.cpp:
3231         (WebCore::FrameView::wheelEvent):
3232
3233 2013-01-31  Enrica Casucci  <enrica@apple.com>
3234
3235         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
3236         https://bugs.webkit.org/show_bug.cgi?id=108519.
3237
3238         Reviewed by Sam Weinig.
3239
3240         No new tests, no change in behavior.
3241
3242         There is no need to use AppKit types here.
3243         baseWritingDirectionForSelectionStart now returns WritingDirection and
3244         WebHTMLView toggleWritingDirection has been modified accordingly.
3245         
3246         * editing/Editor.h:
3247         * editing/mac/EditorMac.mm:
3248         (WebCore::Editor::baseWritingDirectionForSelectionStart):
3249
3250 2013-01-31  Kentaro Hara  <haraken@chromium.org>
3251
3252         [V8] Pass an Isolate to GetTemplate() in CodeGeneratorV8.pm
3253         https://bugs.webkit.org/show_bug.cgi?id=108445
3254
3255         Reviewed by Adam Barth.
3256
3257         No tests. No change in behavior.
3258
3259         * bindings/scripts/CodeGeneratorV8.pm:
3260         (GenerateDomainSafeFunctionGetter):
3261         (GenerateDomainSafeFunctionSetter):
3262         (GenerateNormalAttrGetter):
3263         (GenerateNamedConstructorCallback):
3264         (GenerateImplementation):
3265         * bindings/scripts/test/V8/V8Float64Array.cpp:
3266         (WebCore::ConfigureV8Float64ArrayTemplate):
3267         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
3268         (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
3269         (WebCore::TestActiveDOMObjectV8Internal::TestActiveDOMObjectDomainSafeFunctionSetter):
3270         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
3271         (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
3272         * bindings/scripts/test/V8/V8TestNode.cpp:
3273         (WebCore::ConfigureV8TestNodeTemplate):
3274
3275 2013-01-31  Kentaro Hara  <haraken@chromium.org>
3276
3277         [V8] Clean up Dictionary::get() by removing redundant FindInstanceInPrototypeChain()
3278         https://bugs.webkit.org/show_bug.cgi?id=108443
3279
3280         Reviewed by Adam Barth.
3281
3282         In Dictionary::get(), wrapper->FindInstanceInPrototypeChain(V8XXX::GetTemplate())
3283         is unnecessary for DOM wrappers other than DOMWindow. For wrappers other than
3284         DOMWindow, we can simply use V8XXX::HasInstance(wrapper).
3285
3286         Tests: fast/events/constructors/*
3287
3288         * bindings/v8/Dictionary.cpp:
3289         (WebCore::Dictionary::get):
3290
3291 2013-01-31  Julien Chaffraix  <jchaffraix@webkit.org>
3292
3293         [CSS Grid Layout] Support implicit rows and columns
3294         https://bugs.webkit.org/show_bug.cgi?id=103573
3295
3296         Reviewed by Ojan Vafai.
3297
3298         Tests: fast/css-grid-layout/implicit-columns-auto-resolution.html
3299                fast/css-grid-layout/implicit-rows-auto-resolution.html
3300
3301         This change makes us properly initialize our GridTrack vectors's size
3302         so that we can safely query any items during layout.
3303
3304         * rendering/RenderGrid.cpp:
3305         (WebCore::RenderGrid::gridTrackSize):
3306         Added this helper function to return the track size from the grid
3307         element's columns' / rows' definitions or the default value.
3308
3309         (WebCore::RenderGrid::maximumIndexInDirection):
3310         Added this helper function to get the maximum index in a direction
3311         taking grid item's implicit indexes into account.
3312
3313         (WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
3314         Changed the funtion to not append the new tracks as we are properly
3315         sized now.
3316
3317         (WebCore::RenderGrid::resolveContentBasedTrackSizingFunctions):
3318         (WebCore::RenderGrid::tracksAreWiderThanMinTrackBreadth):
3319         Updated these functions to use the new helper functions.
3320
3321         (WebCore::RenderGrid::layoutGridItems):
3322         Changed this function to size both vectors when initializing them.
3323         Also removed an unneeded bounds check as it shouldn't be needed anymore.
3324
3325         * rendering/RenderGrid.h:
3326         Added the new helper functions.
3327
3328         * rendering/style/GridTrackSize.h:
3329         (WebCore::GridTrackSize::GridTrackSize):
3330         Added a constructor taking a LengthType.
3331
3332 2013-01-31  Joanmarie Diggs  <jdiggs@igalia.com>
3333
3334         [GTK] fast/css/relative-positioned-block-crash.html is intermittently crashing
3335         https://bugs.webkit.org/show_bug.cgi?id=108200
3336
3337         Reviewed by Martin Robinson.
3338
3339         Getting the Position of a PseudoElement now triggers an assertion.
3340         This can occur when clicking on empty space in a render block.
3341         Looking to the unignored parent's node (and passing that accessible
3342         object on in a signal to Assistive Technologies) seems like the most
3343         reasonable thing to do here.
3344
3345         No new tests; instead skipping two tests that were crashing as a result.
3346
3347         * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
3348         (objectFocusedAndCaretOffsetUnignored):
3349
3350 2013-01-31  Kentaro Hara  <haraken@chromium.org>
3351
3352         [V8] Simplify CodeGeneratorV8.pm by using InheritsExtendedAttribute("EventTarget")
3353         https://bugs.webkit.org/show_bug.cgi?id=108441
3354
3355         Reviewed by Adam Barth.
3356
3357         A complicated condition in GetInternalFields() can be simplified
3358         by using InheritsExtendedAttribute("EventTarget").
3359
3360         No tests. No change in behavior.
3361
3362         * bindings/scripts/CodeGeneratorV8.pm:
3363         (GetInternalFields):
3364         * dom/EventTarget.idl: Added [EventTarget] which should have been added.
3365         * svg/SVGElementInstance.idl: Ditto.
3366
3367 2013-01-31  Youenn Fablet  <youennf@gmail.com>
3368
3369         Quadratic and bezier curves with coincident endpoints rendered incorrectly
3370         https://bugs.webkit.org/show_bug.cgi?id=105650
3371
3372         Reviewed by Kenneth Russell.
3373
3374         Tests: fast/canvas/canvas-bezier-same-endpoint.html
3375                fast/canvas/canvas-quadratic-same-endpoint.html
3376
3377         * html/canvas/CanvasPathMethods.cpp:
3378         (WebCore::CanvasPathMethods::quadraticCurveTo):
3379         (WebCore::CanvasPathMethods::bezierCurveTo):
3380
3381 2013-01-31  Mark Lam  <mark.lam@apple.com>
3382
3383         Abstraction for hiding enum class.
3384         https://bugs.webkit.org/show_bug.cgi?id=108533
3385
3386         Reviewed by Anders Carlsson.
3387
3388         No new tests.
3389
3390         * Modules/webdatabase/DatabaseError.h:
3391         (WebCore::ENUM_CLASS_BEGIN):
3392
3393 2013-01-31  Arnaud Renevier  <a.renevier@sisa.samsung.com>
3394
3395         [Gtk] drag and drop has black background without composition
3396         https://bugs.webkit.org/show_bug.cgi?id=108376
3397
3398         Reviewed by Martin Robinson.
3399
3400         Use gtk_drag_set_icon_surface (or gtk_drag_set_icon_pixbuf) when the
3401         screen is not composited. That way, drag window will be decomposited
3402         and rendered transparent with Xshape.
3403
3404         To determine which parts of the window must be transparent, gtk checks
3405         if a pixel is more than 50% opaque. With dissolveDragImageToFraction,
3406         all pixels are made 25% transparent. With antialiasing, opacity goes
3407         below the threshold for some pixels, which makes the resulting image
3408         messy. So, we need to skip dissolveDragImageToFraction when we use
3409         gtk_drag_set_icon_surface.
3410
3411         * platform/gtk/DragIcon.cpp:
3412         (WebCore::DragIcon::DragIcon):
3413         (WebCore::DragIcon::~DragIcon):
3414         (WebCore::DragIcon::setImage):
3415         (WebCore::DragIcon::useForDrag):
3416         * platform/gtk/DragIcon.h:
3417         (DragIcon):
3418         * platform/gtk/DragImageGtk.cpp:
3419         (WebCore::dissolveDragImageToFraction):
3420
3421 2013-01-31  Tony Gentilcore  <tonyg@chromium.org>
3422
3423         Begin to make XSSAuditor thread aware
3424         https://bugs.webkit.org/show_bug.cgi?id=108394
3425
3426         Reviewed by Adam Barth.
3427
3428         This patch moves the parts of filterToken() that depend on Frame, Document, etc. to a delegate class.
3429         The new didBlockScript delegate method is invoked with the resulting DidBlockScriptRequest which will
3430         be owned by the CompactHTMLToken in the threaded case.
3431
3432         This is just the first step as there is more to do to make XSSAuditor thread safe.
3433
3434         No new tests because covered by existing tests.
3435
3436         * CMakeLists.txt:
3437         * GNUmakefile.list.am:
3438         * Target.pri:
3439         * WebCore.gypi:
3440         * WebCore.vcproj/WebCore.vcproj:
3441         * WebCore.vcxproj/WebCore.vcxproj:
3442         * WebCore.vcxproj/WebCore.vcxproj.filters:
3443         * WebCore.xcodeproj/project.pbxproj:
3444         * html/parser/BackgroundHTMLParser.cpp:
3445         (WebCore::BackgroundHTMLParser::pumpTokenizer):
3446         * html/parser/HTMLDocumentParser.cpp:
3447         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
3448         (WebCore::HTMLDocumentParser::processTokensFromBackgroundParser):
3449         (WebCore::HTMLDocumentParser::pumpTokenizer):
3450         * html/parser/HTMLDocumentParser.h:
3451         (HTMLDocumentParser):
3452         * html/parser/XSSAuditor.cpp:
3453         (WebCore::XSSAuditor::filterToken):
3454         * html/parser/XSSAuditor.h:
3455         (WebCore):
3456         (XSSAuditor):
3457         * html/parser/XSSAuditorDelegate.cpp: Added.
3458         (WebCore):
3459         (WebCore::XSSAuditorDelegate::XSSAuditorDelegate):
3460         (WebCore::XSSAuditorDelegate::didBlockScript):
3461         * html/parser/XSSAuditorDelegate.h: Added.
3462         (WebCore):
3463         (DidBlockScriptRequest):
3464         (WebCore::DidBlockScriptRequest::create):
3465         (WebCore::DidBlockScriptRequest::DidBlockScriptRequest):
3466         (XSSAuditorDelegate):
3467
3468         * CMakeLists.txt:
3469         * GNUmakefile.list.am:
3470         * Target.pri:
3471         * WebCore.gypi:
3472         * WebCore.vcproj/WebCore.vcproj:
3473         * WebCore.vcxproj/WebCore.vcxproj:
3474         * WebCore.vcxproj/WebCore.vcxproj.filters:
3475         * WebCore.xcodeproj/project.pbxproj:
3476         * html/parser/BackgroundHTMLParser.cpp:
3477         (WebCore::BackgroundHTMLParser::pumpTokenizer):
3478         * html/parser/HTMLDocumentParser.cpp:
3479         (WebCore::HTMLDocumentParser::HTMLDocumentParser):
3480         (WebCore::HTMLDocumentParser::processParsedChunkFromBackgroundParser):
3481         (WebCore::HTMLDocumentParser::pumpTokenizer):