2011-11-23 Yury Semikhatsky <yurys@chromium.org>
[WebKit.git] / Source / WebCore / ChangeLog
1 2011-11-23  Yury Semikhatsky  <yurys@chromium.org>
2
3         Unreviewed. Build fix. Added missing ENABLE(WORKERS) guards.
4
5         * inspector/WorkerConsoleAgent.cpp:
6         * inspector/WorkerConsoleAgent.h:
7         * inspector/WorkerRuntimeAgent.cpp:
8         * inspector/WorkerRuntimeAgent.h:
9
10 2011-11-23  Philippe Normand  <pnormand@igalia.com>
11
12         [GStreamer] improper usage of gst_object_ref_sink
13         https://bugs.webkit.org/show_bug.cgi?id=73014
14
15         Reviewed by Martin Robinson.
16
17         No new tests. Existing tests cover this already.
18
19         * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
20         (WTF::adoptGRef): Ensure this is called with non-floating GstObjects.
21         (WTF::GstElement): Replace gst_object_ref_sink with
22         gst_object_ref+gst_object_sink like advised in the GstObject documentation.
23         (WTF::GstPad): Ditto.
24         * platform/graphics/gstreamer/GRefPtrGStreamer.h:
25
26 2011-11-23  Yury Semikhatsky  <yurys@chromium.org>
27
28         Web Inspector: split console agent into worker and page console agents
29         https://bugs.webkit.org/show_bug.cgi?id=73019
30
31         InspectorConsoleAgent now has two descendants: WorkerConsoleAgent and PageConsoleAgent
32         which encapsulate functionality specific for the type of inspected instance.
33
34         Reviewed by Pavel Feldman.
35
36         * CMakeLists.txt:
37         * GNUmakefile.list.am:
38         * Target.pri:
39         * WebCore.gypi:
40         * WebCore.vcproj/WebCore.vcproj:
41         * WebCore.xcodeproj/project.pbxproj:
42         * inspector/InspectorConsoleAgent.cpp:
43         (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
44         (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
45         (WebCore::InspectorConsoleAgent::clearMessages):
46         (WebCore::InspectorConsoleAgent::addMessageToConsole):
47         (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
48         (WebCore::InspectorConsoleAgent::didReceiveResponse):
49         (WebCore::InspectorConsoleAgent::didFailLoading):
50         (WebCore::InspectorConsoleAgent::addConsoleMessage):
51         * inspector/InspectorConsoleAgent.h:
52         * inspector/InspectorController.cpp:
53         (WebCore::InspectorController::InspectorController):
54         * inspector/InspectorStyleTextEditor.cpp:
55         * inspector/InspectorStyleTextEditor.h:
56         * inspector/PageConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.cpp.
57         (WebCore::PageConsoleAgent::PageConsoleAgent):
58         (WebCore::PageConsoleAgent::~PageConsoleAgent):
59         (WebCore::PageConsoleAgent::clearMessages):
60         (WebCore::PageConsoleAgent::addInspectedNode):
61         (WebCore::PageConsoleAgent::developerExtrasEnabled):
62         * inspector/PageConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
63         * inspector/PageDebuggerAgent.cpp:
64         * inspector/PageDebuggerAgent.h:
65         * inspector/PageRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
66         (WebCore::PageRuntimeAgent::PageRuntimeAgent): PageRuntimeAgent was moved into its own file.
67         (WebCore::PageRuntimeAgent::~PageRuntimeAgent):
68         (WebCore::PageRuntimeAgent::scriptStateForFrameId):
69         (WebCore::PageRuntimeAgent::getDefaultInspectedState):
70         * inspector/PageRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
71         * inspector/WorkerConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
72         (WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
73         (WebCore::WorkerConsoleAgent::~WorkerConsoleAgent):
74         (WebCore::WorkerConsoleAgent::addInspectedNode):
75         (WebCore::WorkerConsoleAgent::developerExtrasEnabled):
76         * inspector/WorkerConsoleAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
77         * inspector/WorkerDebuggerAgent.cpp:
78         * inspector/WorkerDebuggerAgent.h:
79         * inspector/WorkerInspectorController.cpp:
80         (WebCore::WorkerInspectorController::WorkerInspectorController):
81         * inspector/WorkerInspectorController.h:
82         * inspector/WorkerRuntimeAgent.cpp: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
83         (WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent): WorkerRuntimeAgent was moved into its own file.
84         (WebCore::WorkerRuntimeAgent::~WorkerRuntimeAgent):
85         (WebCore::WorkerRuntimeAgent::scriptStateForFrameId):
86         (WebCore::WorkerRuntimeAgent::getDefaultInspectedState):
87         * inspector/WorkerRuntimeAgent.h: Copied from Source/WebCore/inspector/PageDebuggerAgent.h.
88
89 2011-11-23  Alexander Pavlov  <apavlov@chromium.org>
90
91         Web Inspector: warning icon for unrecognized style rule should have tooltip
92         https://bugs.webkit.org/show_bug.cgi?id=50638
93
94         Reviewed by Yury Semikhatsky.
95
96         * English.lproj/localizedStrings.js: Add new tooltip strings.
97         * inspector/front-end/CSSCompletions.js:
98         (WebInspector.CSSCompletions.prototype.keySet): Added.
99         * inspector/front-end/StylesSidebarPane.js: Create a separate IMG element for an exclamation mark.
100         * inspector/front-end/elementsPanel.css:
101         (.styles-section .properties li.not-parsed-ok img.exclamation-mark):
102
103 2011-11-23  Halton Huo  <halton.huo@intel.com>
104
105         [EFL] Add zlib depend when freetype is used.
106         https://bugs.webkit.org/show_bug.cgi?id=66365
107
108         Unreviewed build fix.
109
110         When freetype is enabled, uncompress() function is used by
111         WOFFFileFormat.cpp. Since zlib is not required by freetype, we need to
112         add libz as dependency for fix linking issue.
113
114         No new test because this change is only to fix linking issue.
115
116         * PlatformEfl.cmake: add ZLIB as dependency when using freetype
117
118 2011-11-23  Mihnea Ovidenie  <mihnea@adobe.com>
119
120         CSS Exclusions: parse the shorthand "wrap" property
121         https://bugs.webkit.org/show_bug.cgi?id=71905
122
123         Reviewed by Dean Jackson.
124
125         Test: fast/exclusions/wrap-parsing.html
126
127         * css/CSSComputedStyleDeclaration.cpp:
128         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
129         * css/CSSMutableStyleDeclaration.cpp:
130         (WebCore::CSSMutableStyleDeclaration::getPropertyValue):
131         * css/CSSParser.cpp:
132         (WebCore::CSSParser::parseValue):
133         * css/CSSProperty.cpp:
134         (WebCore::CSSProperty::isInheritedProperty):
135         * css/CSSPropertyLonghand.cpp:
136         (WebCore::initShorthandMap):
137         * css/CSSPropertyNames.in:
138         * css/CSSStyleApplyProperty.cpp:
139         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
140         * css/CSSStyleSelector.cpp:
141         (WebCore::CSSStyleSelector::applyProperty):
142
143 2011-11-23  Alexandru Chiculita  <achicu@adobe.com>
144
145         [CSS Filters] WebKit crashes when changing the filter
146         https://bugs.webkit.org/show_bug.cgi?id=72723
147
148         Reviewed by Simon Fraser.
149
150         There are three things fixed with this patch:
151         1. The list of effects wasn't cleared when the FilterOperations were changed.
152         2. The sourceImage was going to be 0, because the m_sourceGraphicBuffer.release()
153         was also clearing the reference to m_sourceGraphicBuffer. Next time the build() method
154         was called m_graphicsBufferAttached was set to false, but the m_sourceGraphicBuffer was
155         not regenerated, because the size was not invalidated.
156         3. maxEffectRects were not updated when a new list of effects was built.
157          
158         Test: css3/filters/crash-filter-change.html
159
160         * rendering/FilterEffectRenderer.cpp:
161         (WebCore::FilterEffectRenderer::build):
162         (WebCore::FilterEffectRenderer::prepare):
163         * rendering/FilterEffectRenderer.h:
164         (WebCore::FilterEffectRenderer::setSourceImageRect):
165
166 2011-11-23  Elliot Poger  <epoger@google.com>
167
168         [Skia] fix duplicate symbol __ZN7WebCore11BitmapImage16initPlatformDataEv error
169         https://bugs.webkit.org/show_bug.cgi?id=72954
170
171         Reviewed by Adam Barth.
172
173         * WebCore.gyp/WebCore.gyp:
174
175 2011-11-18  Pavel Podivilov  <podivilov@chromium.org>
176
177         Web Inspector: add integration test for compiler source maps.
178         https://bugs.webkit.org/show_bug.cgi?id=72730
179
180         Reviewed by Pavel Feldman.
181
182         Test: http/tests/inspector/compiler-source-mapping-debug.html
183
184         * inspector/front-end/DebuggerPresentationModel.js:
185         (WebInspector.DebuggerPresentationModel.prototype._bindScriptToRawSourceCode):
186         (WebInspector.DebuggerPresentationModel.prototype.setCompilerSourceMapping):
187         (WebInspector.DebuggerPresentationModel.prototype.evaluateInSelectedCallFrame):
188         (WebInspector.DebuggerPresentationModel.prototype.get executionLineLocation):
189         (WebInspector.DebuggerPresentationModel.DefaultLinkifierFormatter.prototype.formatRawSourceCodeAnchor):
190         (WebInspector.DebuggerPresentationModel.Linkifier.prototype.linkifyLocation):
191         (WebInspector.DebuggerPresentationModel.Linkifier.prototype._updateAnchor):
192
193 2011-11-23  Martin Robinson  <mrobinson@igalia.com>
194
195         Build fix for GTK+.
196
197         * platform/graphics/gtk/DrawingBufferGtk.cpp:
198         (WebCore::DrawingBuffer::DrawingBuffer): Update signature and ASSERT
199         for the GTK+ port.
200
201 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
202
203         Remove notifyChange from the public interface of CSSMutableStyleDeclaration
204         https://bugs.webkit.org/show_bug.cgi?id=72660
205
206         Reviewed by Ojan Vafai.
207
208         No tests needed. This is only a refactor.
209
210         * css/CSSMutableStyleDeclaration.cpp:
211         (WebCore::CSSMutableStyleDeclaration::CSSMutableStyleDeclaration):
212         (WebCore::CSSMutableStyleDeclaration::addParsedProperty):
213         * css/CSSMutableStyleDeclaration.h:
214         (WebCore::CSSMutableStyleDeclaration::setProperty):
215         (WebCore::CSSMutableStyleDeclaration::removeProperty):
216         (WebCore::CSSMutableStyleDeclaration::removePropertiesInSet):
217         * css/CSSStyleSelector.cpp:
218         (WebCore::leftToRightDeclaration):
219         (WebCore::rightToLeftDeclaration):
220         * editing/ApplyStyleCommand.cpp:
221         (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
222         * html/HTMLElement.cpp:
223         (WebCore::HTMLElement::setContentEditable):
224
225 2011-11-23  Scott Graham  <scottmg@chromium.org>
226
227         Adding gamepad support
228         https://bugs.webkit.org/show_bug.cgi?id=69451
229
230         Reviewed by Darin Fisher.
231
232         Plumb gamepad data access through platform.
233
234         Test: gamepad/gamepad-polling-access.html
235
236         * WebCore.gypi:
237         * page/Navigator.cpp:
238         (WebCore::Navigator::webkitGamepads):
239         * page/Navigator.h:
240         * platform/Gamepads.h: Added.
241         * platform/chromium/GamepadsChromium.cpp: Added.
242         (WebCore::sampleGamepads):
243         * platform/chromium/PlatformSupport.h:
244
245 2011-11-23  Dmitry Lomov  <dslomov@google.com>
246
247         Get rid of WebCore dependencies from TypedArray implementation types
248         https://bugs.webkit.org/show_bug.cgi?id=72783
249
250         Reviewed by David Levin.
251
252         Remove WebCore specific logic for neutering Typed Array implementations.
253
254         * bindings/scripts/CodeGeneratorJS.pm:
255         (GenerateImplementation):
256         * bindings/scripts/CodeGeneratorV8.pm:
257         * html/canvas/ArrayBuffer.cpp:
258         (WTF::ArrayBuffer::transfer):
259         * html/canvas/ArrayBuffer.h:
260         * html/canvas/ArrayBufferView.cpp:
261         (WTF::ArrayBufferView::neuter):
262         * html/canvas/ArrayBufferView.h:
263         * html/canvas/DataView.cpp:
264         (WebCore::DataView::neuter):
265         * html/canvas/DataView.h:
266         * html/canvas/Float32Array.h:
267         * html/canvas/Float64Array.h:
268         * html/canvas/Int16Array.h:
269         * html/canvas/Int32Array.h:
270         * html/canvas/Int8Array.h:
271         * html/canvas/Uint16Array.h:
272         * html/canvas/Uint32Array.h:
273         * html/canvas/Uint8Array.h:
274
275 2011-11-23  Raul Hudea  <rhudea@adobe.com>
276
277         First step towards http://webkit.org/b/70025
278
279         Allow -webkit-transform to be have effect to SVG elements.
280         Currently, the CSS transform takes precedence over the SVG transform attribute
281
282         Allow SVG elements to be transformed using webkit-transform
283         https://bugs.webkit.org/show_bug.cgi?id=71309
284
285         Reviewed by Nikolas Zimmermann.
286
287         Tests: svg/clip-path/clip-path-css-transform-1.svg
288                svg/clip-path/clip-path-css-transform-2.svg
289                svg/custom/clip-path-with-css-transform-1.svg
290                svg/custom/clip-path-with-css-transform-2.svg
291                svg/custom/pointer-events-image-css-transform.svg
292                svg/custom/pointer-events-text-css-transform.svg
293                svg/dom/css-transforms.xhtml
294                svg/dynamic-updates/SVG-dynamic-css-transform.html
295                svg/dynamic-updates/SVGClipPathElement-css-transform-influences-hitTesting.html
296                svg/transforms/svg-css-transforms-clip-path.xhtml
297                svg/transforms/svg-css-transforms.xhtml
298
299         * manual-tests/svg-animation-css-transform.html: Added.
300         * manual-tests/svg-css-animate-compound.html: Added.
301         * manual-tests/svg-css-transition-compound.html: Added.
302         * rendering/svg/RenderSVGModelObject.cpp:
303         (WebCore::RenderSVGModelObject::styleWillChange):
304
305         Set the updateTransform flag on SVG elements whenever a CSS transform is present on the style
306
307         * svg/SVGStyledTransformableElement.cpp:
308         (WebCore::SVGStyledTransformableElement::animatedLocalTransform):
309
310         Use the RenderStyle's transform (if it exists) over the SVG's transform
311
312         * svg/SVGTextElement.cpp:
313         (WebCore::SVGTextElement::animatedLocalTransform):
314
315         Use the RenderStyle's transform (if it exists) over the SVG's transform
316
317 2011-11-23  Rafael Weinstein  <rafaelw@chromium.org>
318
319         [MutationObservers] Cleanup duplicated code in Element & CharacterData
320         https://bugs.webkit.org/show_bug.cgi?id=72986
321
322         Reviewed by Ojan Vafai.
323
324         This patch creates a MutationObserverInterestGroup which represents the set
325         of MutationObservers which should receive all mutations of a given type generated
326         from a specific node.
327
328         No tests needed. This patch is only a refactor.
329
330         * dom/CharacterData.cpp:
331         (WebCore::CharacterData::dispatchModifiedEvent):
332         * dom/ChildListMutationScope.cpp:
333         (WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::ChildListMutationAccumulator):
334         (WebCore::MutationAccumulationRouter::ChildListMutationAccumulator::enqueueMutationRecord):
335         (WebCore::MutationAccumulationRouter::MutationAccumulationRouter::incrementScopingLevel):
336         * dom/Element.cpp:
337         (WebCore::enqueueAttributesMutationRecord):
338         * dom/WebKitMutationObserver.cpp:
339         (WebCore::MutationObserverInterestGroup::createForChildListMutation):
340         (WebCore::MutationObserverInterestGroup::createForCharacterDataMutation):
341         (WebCore::MutationObserverInterestGroup::createForAttributesMutation):
342         (WebCore::MutationObserverInterestGroup::MutationObserverInterestGroup):
343         (WebCore::MutationObserverInterestGroup::isOldValueRequested):
344         (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
345         * dom/WebKitMutationObserver.h:
346         (WebCore::MutationObserverInterestGroup::isEmpty):
347         (WebCore::MutationObserverInterestGroup::hasOldValue):
348
349 2011-11-23  Marc-Andre Decoste  <mad@chromium.org>
350
351         [chromium] HDC leak in Uniscribe Helper
352         https://bugs.webkit.org/show_bug.cgi?id=68598
353
354         Reviewed by Darin Fisher.
355
356         For some reason the Script functions on Windows sometimes return
357         E_PENDING even with a non-NULL DC, so we must handle that case.
358         Also, we should not use the screen DC to select font since this
359         refreshes the whole desktop, so I added a cached compatible DC.
360
361         Note that this doesn't reproduce with WebKit alone, it only reproduces
362         within Chrome, so we can't write a WebKit test for it. A chromium
363         browser test will be added once this change gets rolled in the
364         chromium DEPS file.
365
366         * platform/graphics/chromium/UniscribeHelper.cpp:
367         (WebCore::UniscribeHelper::shape):
368         (WebCore::UniscribeHelper::EnsureCachedDCCreated):
369         (WebCore::UniscribeHelper::fillShapes):
370         * platform/graphics/chromium/UniscribeHelper.h:
371
372 2011-11-23  Anna Cavender  <annacc@chromium.org>
373
374         Move readyState from TextTrack to HTMLTrackElement
375         https://bugs.webkit.org/show_bug.cgi?id=72553
376
377         Reviewed by Eric Carlson.
378
379         * html/HTMLTrackElement.cpp:
380         (WebCore::HTMLTrackElement::HTMLTrackElement):
381             Set initial readyState to NONE.
382         (WebCore::HTMLTrackElement::didCompleteLoad):
383             Set readyState based on load completed status.
384         (WebCore::HTMLTrackElement::setReadyState):
385             This replaces textTrackReadyStateChanged() because only LoadableTextTrack
386             needs to notify HTMLTrackElement of readyState changes (i.e.
387             textTrackReadyStateChanged() is no longer required of TextTrackClient).
388         * html/HTMLTrackElement.h:
389             ReadyState enum and m_readyState member variable moved from TextTrack.
390         (WebCore::HTMLTrackElement::readyState):
391             New: readyState() getter.
392         * html/HTMLTrackElement.idl:
393             Add readyState attribute and associated constants.
394
395         * html/LoadableTextTrack.cpp:
396         (WebCore::LoadableTextTrack::loadTimerFired): Set readyState on HTMLTrackElement.
397         (WebCore::LoadableTextTrack::cueLoadingStarted): Ditto.
398         (WebCore::LoadableTextTrack::cueLoadingCompleted): Move code to set readyState
399             to HTMLTrackElement (it can set it based on loading status).
400
401         * html/TextTrack.cpp: Remove readyState from TextTrack.
402         (WebCore::TextTrack::TextTrack): Ditto.
403         * html/TextTrack.h: Ditto.
404         * html/TextTrack.idl: Ditto.
405
406 2011-11-23  Raphael Kubo da Costa  <kubo@profusion.mobi>
407
408         [CMake] Move the top-level logic to the top-level directory.
409         https://bugs.webkit.org/show_bug.cgi?id=72685
410
411         Reviewed by Brent Fulgham.
412
413         No new tests, this is a buildsystem changes.
414
415         * CMakeLists.txt: Adjust the Source/ directory.
416         * PlatformBlackBerry.cmake: Ditto.
417
418 2011-11-23  Mihnea Ovidenie  <mihnea@adobe.com>
419
420         CSS Exclusions: update the name of the shape CSS properties
421         https://bugs.webkit.org/show_bug.cgi?id=71898
422         Instead of a single wrap-shape property, we have wrap-shape-inside and wrap-shape-outside.
423
424         Reviewed by Dean Jackson.
425
426         Tests: fast/exclusions/parsing-wrap-shape-inside.html
427                fast/exclusions/parsing-wrap-shape-outside.html
428
429         * css/CSSComputedStyleDeclaration.cpp:
430         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
431         * css/CSSParser.cpp:
432         (WebCore::CSSParser::parseValue):
433         (WebCore::CSSParser::parseWrapShape):
434         * css/CSSParser.h:
435         * css/CSSProperty.cpp:
436         (WebCore::CSSProperty::isInheritedProperty):
437         * css/CSSPropertyNames.in:
438         * css/CSSStyleSelector.cpp:
439         (WebCore::CSSStyleSelector::applyProperty):
440         * rendering/style/RenderStyle.cpp:
441         (WebCore::RenderStyle::diff):
442         * rendering/style/RenderStyle.h:
443         (WebCore::InheritedFlags::setWrapShapeInside):
444         (WebCore::InheritedFlags::wrapShapeInside):
445         (WebCore::InheritedFlags::setWrapShapeOutside):
446         (WebCore::InheritedFlags::wrapShapeOutside):
447         (WebCore::InheritedFlags::initialWrapShapeInside):
448         (WebCore::InheritedFlags::initialWrapShapeOutside):
449         * rendering/style/StyleRareNonInheritedData.cpp:
450         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
451         (WebCore::StyleRareNonInheritedData::operator==):
452         * rendering/style/StyleRareNonInheritedData.h:
453
454 2011-11-23  Andrey Kosyakov  <caseq@chromium.org>
455
456         Web Inspector: [Extensions API] avoid exception in initExtensions() if elements panel is not present
457         https://bugs.webkit.org/show_bug.cgi?id=73007
458
459         Reviewed by Yury Semikhatsky.
460
461         * inspector/front-end/ExtensionServer.js:
462
463 2011-11-23  Brian Salomon  <bsalomon@google.com>
464
465         Use new name for pixel config field of GrTextureDesc
466         https://bugs.webkit.org/show_bug.cgi?id=72543
467
468         Reviewed by Stephen White.
469
470         Tested by every canvas2d layout test.
471
472         * platform/graphics/skia/ImageBufferSkia.cpp:
473         (WebCore::createAcceleratedCanvas):
474
475 2011-11-23  Emil A Eklund  <eae@chromium.org>
476
477         Change remaining scrollTop/Left/Width/Height methods back to int
478         https://bugs.webkit.org/show_bug.cgi?id=72771
479
480         Reviewed by Eric Seidel.
481
482         Change remaining scrollTop/Left/Width/Height, setScrollLeft/Top and
483         verticalScrollbarWidth, horizontalScrollbarHeight methods back to int as
484         scrolling will remain int based to line up with device pixels.
485
486         No new tests.
487
488         * rendering/RenderBox.cpp:
489         (WebCore::RenderBox::scrollWidth):
490         (WebCore::RenderBox::scrollHeight):
491         (WebCore::RenderBox::scrollLeft):
492         (WebCore::RenderBox::scrollTop):
493         (WebCore::RenderBox::setScrollLeft):
494         (WebCore::RenderBox::setScrollTop):
495         (WebCore::RenderBox::verticalScrollbarWidth):
496         (WebCore::RenderBox::horizontalScrollbarHeight):
497         * rendering/RenderBox.h:
498         (WebCore::RenderBox::scrollbarLogicalHeight):
499         * rendering/RenderListBox.cpp:
500         (WebCore::RenderListBox::verticalScrollbarWidth):
501         (WebCore::RenderListBox::scrollHeight):
502         (WebCore::RenderListBox::scrollLeft):
503         (WebCore::RenderListBox::setScrollLeft):
504         (WebCore::RenderListBox::scrollTop):
505         (WebCore::RenderListBox::setScrollTop):
506         * rendering/RenderListBox.h:
507         * rendering/RenderTextControlSingleLine.cpp:
508         (WebCore::RenderTextControlSingleLine::scrollWidth):
509         (WebCore::RenderTextControlSingleLine::scrollHeight):
510         (WebCore::RenderTextControlSingleLine::scrollLeft):
511         (WebCore::RenderTextControlSingleLine::scrollTop):
512         (WebCore::RenderTextControlSingleLine::setScrollLeft):
513         (WebCore::RenderTextControlSingleLine::setScrollTop):
514         * rendering/RenderTextControlSingleLine.h:
515
516 2011-11-22  Kenneth Russell  <kbr@google.com>
517
518         [chromium] Support Core Animation plugins in compositor
519         https://bugs.webkit.org/show_bug.cgi?id=72921
520
521         Reviewed by Stephen White.
522
523         Added support to PluginLayerChromium and CCPluginLayerImpl for
524         using an IOSurface as the backing store for a plugin. Added minimal
525         ARB_texture_rectangle support to Extensions3D.h and a Chromium-
526         specific extension for binding an IOSurface to a texture.
527
528         These changes themselves do not have any effect. A follow-on
529         Chromium CL will make the switch to this new code path.
530
531         Tested manually both with and without the Chromium side changes;
532         Chromium's DumpRenderTree port does not support Core Animation
533         plugins. Ran video and Stage3D in Flash, and Unity 3D content, to
534         verify.
535
536         * platform/graphics/Extensions3D.h:
537         * platform/graphics/chromium/Extensions3DChromium.h:
538         * platform/graphics/chromium/LayerRendererChromium.cpp:
539         (WebCore::LayerRendererChromium::initialize):
540         (WebCore::LayerRendererChromium::pluginLayerTexRectProgram):
541         (WebCore::LayerRendererChromium::pluginLayerTexRectProgramFlip):
542         * platform/graphics/chromium/LayerRendererChromium.h:
543         * platform/graphics/chromium/PluginLayerChromium.cpp:
544         (WebCore::PluginLayerChromium::PluginLayerChromium):
545         (WebCore::PluginLayerChromium::setIOSurfaceProperties):
546         (WebCore::PluginLayerChromium::getIOSurfaceId):
547         (WebCore::PluginLayerChromium::pushPropertiesTo):
548         * platform/graphics/chromium/PluginLayerChromium.h:
549         * platform/graphics/chromium/ShaderChromium.cpp:
550         (WebCore::FragmentShaderRGBATexRectFlipAlpha::getShaderString):
551         (WebCore::FragmentShaderRGBATexRectAlpha::getShaderString):
552         * platform/graphics/chromium/ShaderChromium.h:
553         * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
554         (PluginProgramBinding::TexStretchPluginProgramBinding::set):
555         (PluginProgramBinding::TexTransformPluginProgramBinding::set):
556         (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
557         (WebCore::CCPluginLayerImpl::~CCPluginLayerImpl):
558         (WebCore::CCPluginLayerImpl::draw):
559         (WebCore::CCPluginLayerImpl::setIOSurfaceProperties):
560         (WebCore::CCPluginLayerImpl::cleanupResources):
561         * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
562
563 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
564
565         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
566         https://bugs.webkit.org/show_bug.cgi?id=72056
567
568         Reviewed by Tony Chang.
569
570         Add a buffer parameter when retrieving the clipboard sequence number and fix several call
571         sites that incorrectly assume use of the standard buffer in pastes.
572
573         * platform/chromium/ChromiumDataObject.cpp:
574         (WebCore::ChromiumDataObject::types):
575         (WebCore::ChromiumDataObject::getData):
576         (WebCore::ChromiumDataObject::containsFilenames):
577         * platform/chromium/ChromiumDataObject.h:
578         * platform/chromium/ClipboardChromium.cpp:
579         (WebCore::ClipboardChromium::ClipboardChromium):
580         (WebCore::ClipboardChromium::getData):
581         (WebCore::ClipboardChromium::platformClipboardChanged):
582         * platform/chromium/ClipboardUtilitiesChromium.cpp:
583         (WebCore::currentPasteboardBuffer):
584         * platform/chromium/ClipboardUtilitiesChromium.h:
585         * platform/chromium/DataTransferItemChromium.cpp:
586         (WebCore::DataTransferItemChromium::getAsString):
587         * platform/chromium/PlatformSupport.h:
588
589 2011-11-22  Andrey Kosyakov  <caseq@chromium.org>
590
591         Layout Test inspector/extensions/extensions-events.html is timing out
592         https://bugs.webkit.org/show_bug.cgi?id=72966
593
594         Reviewed by Pavel Feldman.
595
596         - always bind to {add,remove}EventListener() of event target, not WebInspector.Object
597
598         * inspector/front-end/ExtensionServer.js:
599         (WebInspector.ExtensionServer.prototype._registerAutosubscriptionHandler):
600
601 2011-11-22  Adam Klein  <adamk@chromium.org>
602
603         Move splitView.css (added in r100991) to the correct target.
604
605         * WebCore.gypi:
606
607 2011-11-22  Andreas Kling  <kling@webkit.org>
608
609         CSSProperty: Remove unnecessary operator overloads.
610         <http://webkit.org/b/72953>
611
612         Reviewed by Antti Koivisto.
613
614         * css/CSSProperty.cpp:
615         * css/CSSProperty.h:
616
617             Remove operator= and operator== from CSSProperty. They were neither
618             implemented correctly nor used anywhere.
619
620 2011-11-22  Andreas Kling  <kling@webkit.org>
621
622         CSSStyleDeclaration: Kill FIXME in setProperty().
623         <http://webkit.org/b/72958>
624
625         Reviewed by Antonio Gomes.
626
627         Remove FIXME about possibly throwing an exception when setProperty()
628         is called with an invalid property name. CSSOM specifies that the
629         method should simply return in this case.
630
631         Spec: http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-setproperty
632
633         * css/CSSStyleDeclaration.cpp:
634         (WebCore::CSSStyleDeclaration::setProperty):
635
636 2011-11-22  Shinya Kawanaka  <shinyak@google.com>
637
638         Spellcheck should be able to run asynchronously.
639         https://bugs.webkit.org/show_bug.cgi?id=71991
640
641         Reviewed by Hajime Morita.
642
643         Run asynchronous spell checker if both asynchronous flag and unified text checker flag are ON.
644
645         When multiple asynchronous spellchecking are requested, only the first request will be processed.
646
647         Test: editing/spelling/spellcheck-async.html
648
649         * editing/Editor.cpp:
650         (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
651           Uses asynchronous spell checker if asynchronous flag is ON.
652
653 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
654
655         Web Inspector: [SuggestBox] Grayed prompt displayed with non-collapsed selection in place
656         https://bugs.webkit.org/show_bug.cgi?id=72951
657
658         Reviewed by Pavel Feldman.
659
660         * inspector/front-end/TextPrompt.js:
661         (WebInspector.TextPrompt.prototype.complete):
662
663 2011-11-22  Pavel Feldman  <pfeldman@google.com>
664
665         Not reviewed: fix inspector front-end compilation.
666
667         * inspector/front-end/externs.js:
668         (WebInspector.showPanel):
669
670 2011-11-22  Adam Bergkvist  <adam.bergkvist@ericsson.com>
671
672         Add WebCore platform interface needed by updated MediaStream API design
673         https://bugs.webkit.org/show_bug.cgi?id=70895
674
675         Reviewed by Adam Barth.
676
677         This is one in a series of patches that update the MediaStream feature
678         to use WebCore platform interfaces.
679
680         Tests will be provided by http://webkit.org/b/56587
681
682         * GNUmakefile.list.am:
683         * WebCore.gypi:
684         * mediastream/LocalMediaStream.cpp:
685         (WebCore::LocalMediaStream::stopTimerFired):
686         * mediastream/MediaStream.h:
687         * mediastream/MediaStreamTrack.cpp:
688         (WebCore::MediaStreamTrack::setEnabled):
689         * mediastream/PeerConnection.cpp:
690         (WebCore::PeerConnection::didRemoveRemoteStream):
691         * mediastream/UserMediaRequest.cpp:
692         (WebCore::UserMediaRequest::start):
693         * mediastream/UserMediaRequest.h:
694         * platform/mediastream/MediaStreamCenter.cpp: Added.
695         (WebCore::MediaStreamCenter::instance):
696         (WebCore::MediaStreamCenter::endLocalMediaStream):
697         (WebCore::MediaStreamCenter::MediaStreamCenter):
698         (WebCore::MediaStreamCenter::~MediaStreamCenter):
699         (WebCore::MediaStreamCenter::queryMediaStreamSources):
700         (WebCore::MediaStreamCenter::didSetMediaStreamTrackEnabled):
701         (WebCore::MediaStreamCenter::didStopLocalMediaStream):
702         * platform/mediastream/MediaStreamCenter.h: Added.
703         (WebCore::MediaStreamSourcesQueryClient::~MediaStreamSourcesQueryClient):
704         * platform/mediastream/MediaStreamDescriptor.h:
705         (WebCore::MediaStreamDescriptorOwner::~MediaStreamDescriptorOwner):
706         (WebCore::MediaStreamDescriptor::owner):
707         (WebCore::MediaStreamDescriptor::setOwner):
708
709 2011-11-22  Pavel Feldman  <pfeldman@google.com>
710
711         Web Inspector: remove Inspector::bringToFront from the protocol.
712         https://bugs.webkit.org/show_bug.cgi?id=72937
713
714         Inspector::bringToFront protocol method is currently used on the backend
715         in order to reveal the front-end window. We should do that by means of
716         the inspector client interface instead.
717
718         Reviewed by Yury Semikhatsky.
719
720         * inspector/Inspector.json:
721         * inspector/InspectorClient.h:
722         * inspector/InspectorController.cpp:
723         (WebCore::InspectorController::show):
724         * loader/EmptyClients.h:
725         (WebCore::EmptyInspectorClient::bringFrontendToFront):
726
727 2011-11-21  Andrey Kosyakov  <caseq@chromium.org>
728
729         Web Inspector: [Extensions API][refactoring] remove dependencies on the ExtensionsServer from most of the insepctor
730         https://bugs.webkit.org/show_bug.cgi?id=72899
731
732         Reviewed by Pavel Feldman.
733
734         * inspector/front-end/ElementsPanel.js:
735         (WebInspector.ElementsPanel.prototype._selectedNodeChanged):
736         * inspector/front-end/ExtensionServer.js:
737         (WebInspector.ExtensionServer.prototype._notifyResourceContentCommitted):
738         (WebInspector.ExtensionServer.prototype._notifyElementsSelectionChanged):
739         * inspector/front-end/Resource.js:
740         (WebInspector.Resource.prototype.addRevision):
741         * inspector/front-end/externs.js:
742
743 2011-11-22  Zoltan Horvath  <zoltan@webkit.org>
744
745         [Qt] Build fix for MHTML support
746
747         * Target.pri: Add missing includepath.
748
749 2011-11-22  Vsevolod Vlasov  <vsevik@chromium.org>
750
751         Web Inspector: Extract SplitView from Panel.createSidebar() method and reuse in Elements and Scripts panels.
752         https://bugs.webkit.org/show_bug.cgi?id=72920
753
754         Reviewed by Pavel Feldman.
755
756         * WebCore.gypi:
757         * WebCore.vcproj/WebCore.vcproj:
758         * inspector/compile-front-end.sh:
759         * inspector/front-end/ApplicationCacheModel.js:
760         * inspector/front-end/AuditsPanel.js:
761         (WebInspector.AuditsPanel):
762         * inspector/front-end/ElementsPanel.js:
763         (WebInspector.ElementsPanel):
764         (WebInspector.ElementsPanel.prototype.wasShown):
765         (WebInspector.ElementsPanel.prototype.sidebarResized):
766         (WebInspector.ElementsPanel.prototype.toggleSearchingForNode):
767         * inspector/front-end/NetworkPanel.js:
768         (WebInspector.NetworkPanel.prototype.wasShown):
769         (WebInspector.NetworkPanel.prototype._showResource):
770         (WebInspector.NetworkPanel.prototype._closeVisibleResource):
771         (WebInspector.NetworkPanel.prototype._toggleGridMode):
772         (WebInspector.NetworkPanel.prototype._toggleViewingResourceMode):
773         * inspector/front-end/Panel.js:
774         (WebInspector.Panel.prototype.wasShown):
775         (WebInspector.Panel.prototype.createSplitView):
776         (WebInspector.Panel.prototype.createSplitViewWithSidebarTree):
777         (WebInspector.Panel.prototype.sidebarResized):
778         * inspector/front-end/ProfilesPanel.js:
779         (WebInspector.ProfilesPanel.prototype._reset):
780         (WebInspector.ProfilesPanel.prototype.sidebarResized):
781         * inspector/front-end/ResourcesPanel.js:
782         (WebInspector.ResourcesPanel.prototype.sidebarResized):
783         * inspector/front-end/ScriptsPanel.js:
784         (WebInspector.ScriptsPanel.prototype.wasShown):
785         (WebInspector.ScriptsPanel.prototype.sidebarResized):
786         * inspector/front-end/SplitView.js: Added.
787         (WebInspector.SplitView):
788         * inspector/front-end/TimelineOverviewPane.js:
789         (WebInspector.TimelineOverviewPane.prototype.sidebarResized):
790         * inspector/front-end/TimelinePanel.js:
791         (WebInspector.TimelinePanel):
792         (WebInspector.TimelinePanel.prototype.sidebarResized):
793         (WebInspector.TimelinePanel.prototype._refreshRecords):
794         * inspector/front-end/WebKit.qrc:
795         * inspector/front-end/auditsPanel.css:
796         * inspector/front-end/elementsPanel.css:
797         * inspector/front-end/inspector.css:
798         (.sidebar):
799         * inspector/front-end/inspector.html:
800         * inspector/front-end/networkLogView.css:
801         * inspector/front-end/networkPanel.css:
802         (#network-views):
803         * inspector/front-end/profilesPanel.css:
804         (#profile-views):
805         * inspector/front-end/resourcesPanel.css:
806         * inspector/front-end/scriptsPanel.css:
807         (#scripts-split-view):
808         * inspector/front-end/splitView.css: Added.
809         * inspector/front-end/timelinePanel.css:
810         (.timeline .sidebar):
811         (.timeline-sidebar-background):
812         (#resources-container-content):
813
814 2011-11-22  Sheriff Bot  <webkit.review.bot@gmail.com>
815
816         Unreviewed, rolling out r100988.
817         http://trac.webkit.org/changeset/100988
818         https://bugs.webkit.org/show_bug.cgi?id=72941
819
820         "Broke pixel tests on Chromium-Linux" (Requested by kbalazs on
821         #webkit).
822
823         * platform/graphics/filters/FEConvolveMatrix.cpp:
824         (WebCore::FEConvolveMatrix::platformApplySoftware):
825         * platform/graphics/filters/FEConvolveMatrix.h:
826         * platform/graphics/filters/FEGaussianBlur.cpp:
827         (WebCore::FEGaussianBlur::platformApply):
828         * platform/graphics/filters/FEGaussianBlur.h:
829         * platform/graphics/filters/FELighting.cpp:
830         (WebCore::FELighting::platformApplyGeneric):
831         * platform/graphics/filters/FELighting.h:
832         * platform/graphics/filters/FEMorphology.cpp:
833         (WebCore::FEMorphology::platformApply):
834         * platform/graphics/filters/FEMorphology.h:
835         * platform/graphics/filters/FETurbulence.cpp:
836         (WebCore::FETurbulence::platformApplySoftware):
837         * platform/graphics/filters/FETurbulence.h:
838         * platform/graphics/filters/arm/FELightingNEON.cpp:
839         * platform/graphics/filters/arm/FELightingNEON.h:
840         (WebCore::FELighting::platformApplyNeon):
841
842 2011-11-21  Balazs Kelemen  <kbalazs@webkit.org>
843
844         Enable ParallelJobs by default
845         https://bugs.webkit.org/show_bug.cgi?id=70032
846
847         Reviewed by Zoltan Herczeg.
848
849         Covered by existing tests.
850
851         According to measurements on Mac and Linux it is a
852         considerable speedup for SVG on multicore.
853
854         Remove the ENABLE(PARALLEL_JOBS) guard. Fix the Windows build
855         by qualifying ParallelJobs with the WTF namespace (otherwise
856         MSVC believes it belongs to WebCore which is likely a compiler bug).
857
858         * platform/graphics/filters/FEConvolveMatrix.cpp:
859         (WebCore::FEConvolveMatrix::setInteriorPixelsWorker):
860         (WebCore::FEConvolveMatrix::platformApplySoftware):
861         * platform/graphics/filters/FEConvolveMatrix.h:
862         * platform/graphics/filters/FEGaussianBlur.cpp:
863         (WebCore::FEGaussianBlur::platformApplyWorker):
864         (WebCore::FEGaussianBlur::platformApply):
865         * platform/graphics/filters/FEGaussianBlur.h:
866         * platform/graphics/filters/FELighting.cpp:
867         (WebCore::FELighting::platformApplyGenericWorker):
868         (WebCore::FELighting::platformApplyGeneric):
869         * platform/graphics/filters/FELighting.h:
870         * platform/graphics/filters/FEMorphology.cpp:
871         (WebCore::FEMorphology::platformApplyWorker):
872         (WebCore::FEMorphology::platformApply):
873         * platform/graphics/filters/FEMorphology.h:
874         * platform/graphics/filters/FETurbulence.cpp:
875         (WebCore::FETurbulence::fillRegionWorker):
876         (WebCore::FETurbulence::platformApplySoftware):
877         * platform/graphics/filters/FETurbulence.h:
878         * platform/graphics/filters/arm/FELightingNEON.cpp:
879         (WebCore::FELighting::platformApplyNeonWorker):
880         * platform/graphics/filters/arm/FELightingNEON.h:
881         (WebCore::FELighting::platformApplyNeon):
882
883 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
884
885         Web Inspector: [protocol] actual JSON messages do not conform to Inspector.json in CSS
886         https://bugs.webkit.org/show_bug.cgi?id=72733
887
888         Reviewed by Pavel Feldman.
889
890         * inspector/Inspector.json:
891         * inspector/InspectorCSSAgent.cpp:
892         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
893         * inspector/InspectorCSSAgent.h:
894         * inspector/InspectorStyleSheet.cpp:
895         (WebCore::InspectorStyle::buildArrayForComputedStyle):
896         * inspector/InspectorStyleSheet.h:
897         * inspector/front-end/CSSStyleModel.js:
898         (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
899         (WebInspector.CSSStyleDeclaration.parseComputedStylePayload):
900
901 2011-11-22  Pavel Feldman  <pfeldman@google.com>
902
903         Web Inspector: strip unused InspectorController methods.
904         https://bugs.webkit.org/show_bug.cgi?id=72886
905
906         This is a follow up to the https://bugs.webkit.org/show_bug.cgi?id=63009.
907         I am now able to remove following InspectorController methods:
908         ::startUserInitiatedProfiling,
909         ::isRecordingUserInitiatedProfile,
910         ::stopUserInitiatedProfiling,
911         ::showAndEnableDebugger,
912         ::debuggerEnabled,
913         ::disableDebugger,
914         ::startTimelineProfiler,
915         ::stopTimelineProfiler,
916         ::timelineProfilerEnabled,
917         ::showConsole.
918
919         Reviewed by Yury Semikhatsky.
920
921         * WebCore.exp.in:
922         * WebCore.order:
923         * inspector/Inspector.json:
924         * inspector/InspectorAgent.cpp:
925         (WebCore::InspectorAgent::setFrontend):
926         * inspector/InspectorAgent.h:
927         * inspector/InspectorController.cpp:
928         (WebCore::InspectorController::InspectorController):
929         (WebCore::InspectorController::connectFrontend):
930         * inspector/InspectorController.h:
931         * inspector/InspectorDebuggerAgent.cpp:
932         (WebCore::InspectorDebuggerAgent::enable):
933         (WebCore::InspectorDebuggerAgent::disable):
934         * inspector/InspectorDebuggerAgent.h:
935         * inspector/InspectorInstrumentation.cpp:
936         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
937         * inspector/InspectorProfilerAgent.cpp:
938         (WebCore::InspectorProfilerAgent::resetState):
939         (WebCore::InspectorProfilerAgent::clearFrontend):
940         (WebCore::InspectorProfilerAgent::restore):
941         (WebCore::InspectorProfilerAgent::start):
942         (WebCore::InspectorProfilerAgent::stop):
943         * inspector/InspectorProfilerAgent.h:
944         * inspector/InspectorTimelineAgent.cpp:
945         (WebCore::InspectorTimelineAgent::start):
946         (WebCore::InspectorTimelineAgent::stop):
947         * inspector/InspectorTimelineAgent.h:
948         * inspector/front-end/DebuggerModel.js:
949         (WebInspector.DebuggerModel.prototype.enableDebugger):
950         (WebInspector.DebuggerModel.prototype.disableDebugger):
951         * inspector/front-end/TimelineManager.js:
952         (WebInspector.TimelineManager.prototype.start):
953         (WebInspector.TimelineManager.prototype.stop):
954         (WebInspector.TimelineManager.prototype._started):
955         (WebInspector.TimelineManager.prototype._stopped):
956         * inspector/front-end/inspector.js:
957
958 2011-11-17  Nat Duca  <nduca@chromium.org>
959
960         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
961         https://bugs.webkit.org/show_bug.cgi?id=72688
962
963         This allows CCInputFilter and CCLayerTreeHostImpl to
964         perform requestAnimationFrame-style animations. The bulk of
965         work here is to make the scheduler recover gracefully when you
966         call setNeedsRedraw inside scheduledActionDraw.
967
968         Reviewed by James Robinson.
969
970         * WebCore.gypi:
971         * platform/graphics/chromium/cc/CCInputHandler.h:
972         (WebCore::CCInputHandlerTarget::CCInputHandlerTarget):
973         (WebCore::CCInputHandlerTarget::~CCInputHandlerTarget):
974         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
975         (WebCore::CCLayerTreeHostImpl::currentTimeMs):
976         (WebCore::CCLayerTreeHostImpl::setNeedsRedraw):
977         * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
978         * platform/graphics/chromium/cc/CCScheduler.cpp:
979         (WebCore::CCScheduler::CCScheduler):
980         (WebCore::CCScheduler::setVisible):
981         (WebCore::CCScheduler::setNeedsRedraw):
982         (WebCore::CCScheduler::beginFrame):
983         (WebCore::CCScheduler::processScheduledActions):
984         * platform/graphics/chromium/cc/CCScheduler.h:
985         * platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
986         (WebCore::CCSchedulerStateMachine::CCSchedulerStateMachine):
987         (WebCore::CCSchedulerStateMachine::nextAction):
988         (WebCore::CCSchedulerStateMachine::updateState):
989         (WebCore::CCSchedulerStateMachine::setInsideVSync):
990         (WebCore::CCSchedulerStateMachine::setOutsideVSync):
991         * platform/graphics/chromium/cc/CCSchedulerStateMachine.h:
992         * platform/graphics/chromium/cc/CCScrollController.h: Removed.
993         * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
994         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
995         (WebCore::CCThreadProxy::scheduledActionDrawAndSwap):
996
997 2011-11-22  Alexander Pavlov  <apavlov@chromium.org>
998
999         Web Inspector: Design of the autocomplete suggest
1000         https://bugs.webkit.org/show_bug.cgi?id=72798
1001
1002         Reviewed by Pavel Feldman.
1003
1004         Implemented a combination of grayed text for the first/only completion and hid
1005         the suggest box for a single suggestion (the grayed text is displayed instead.)
1006         Drive-by fix for the "trailing spaces in the prompt" issue
1007         (got regressed when the suggest box was introduced for the first time.)
1008
1009         * inspector/front-end/ConsoleView.js:
1010         (WebInspector.ConsoleView): Fix the "trailing spaces" issue
1011         * inspector/front-end/TextPrompt.js:
1012         (WebInspector.TextPrompt):
1013         (WebInspector.TextPrompt.prototype.renderAsBlock): Fix the "trailing spaces" issue
1014         (WebInspector.TextPrompt.prototype._attachInternal):
1015         (WebInspector.TextPrompt.prototype.acceptAutoComplete):
1016         (WebInspector.TextPrompt.prototype._completionsReady):
1017         (WebInspector.TextPrompt.prototype.applySuggestion):
1018         (WebInspector.TextPrompt.prototype.acceptSuggestion):
1019         (WebInspector.TextPrompt.SuggestBox.prototype._completionsReady):
1020
1021 2011-11-21  David Barr  <davidbarr@chromium.org>
1022
1023         REGRESSION(r98542): Chromium: CSS text is rendered on page
1024         https://bugs.webkit.org/show_bug.cgi?id=71703
1025
1026         Reviewed by Dimitri Glazkov.
1027
1028         Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
1029
1030         Test: fast/css/style-tag-display-none.html
1031
1032         * css/CSSStyleSelector.cpp:
1033         (WebCore::CSSStyleSelector::matchUARules):
1034
1035 2011-11-21  Rob Brackett  <rob@robbrackett.com>
1036         
1037         If an event listener is a function, it should be called and not checked for handleEvent.
1038         This also covers callbacks, which follow the same spec but are implemented separately.
1039         https://bugs.webkit.org/show_bug.cgi?id=62518
1040
1041         Reviewed by Sam Weinig.
1042
1043         Tests: fast/events/dispatch-to-function-with-handle-event.html
1044                fast/js/callback-function-with-handle-event.html
1045
1046         * bindings/js/JSCallbackData.cpp:
1047         (WebCore::JSCallbackData::invokeCallback):
1048         * bindings/js/JSEventListener.cpp:
1049         (WebCore::JSEventListener::handleEvent):
1050
1051 2011-11-21  Rakesh KN  <rakesh.kn@motorola.com>
1052
1053         Need support for dirname attribute
1054         https://bugs.webkit.org/show_bug.cgi?id=65542
1055
1056         Reviewed by Eric Seidel.
1057
1058         Implemented 'dirname' form attribute.
1059
1060         Tests: fast/forms/form-dirname-attribute.html
1061                fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html
1062                fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html
1063                fast/forms/submit-form-with-dirname-attribute.html
1064
1065         * html/HTMLAttributeNames.in:
1066         Added "dirname" attribute.
1067         * html/HTMLInputElement.idl:
1068         Add "dirName" property to HTMLInputElement interface.
1069         * html/HTMLTextAreaElement.cpp:
1070         (WebCore::HTMLTextAreaElement::appendFormData):
1071         Append dirname form data.
1072         * html/HTMLTextAreaElement.idl:
1073         Add "dirName" property to HTMLTextAreaElement interface.
1074         * html/HTMLTextFormControlElement.cpp:
1075         (WebCore::parentHTMLElement):
1076         Helper function which returns only HTML parent element.
1077         (WebCore::HTMLTextFormControlElement::directionForFormData):
1078         Helper function for finding directionality of the Element.
1079         * html/HTMLTextFormControlElement.h:
1080         Helper function for finding directionality of the Element.
1081         * html/TextFieldInputType.cpp:
1082         (WebCore::TextFieldInputType::appendFormData):
1083         Append dirname form data.
1084         * html/TextFieldInputType.h:
1085         Append dirname form data.
1086
1087 2011-11-21  Joshua Bell  <jsbell@chromium.org>
1088
1089         IndexedDB: Close database connections, abort transactions, and terminate requests on stop()
1090         https://bugs.webkit.org/show_bug.cgi?id=72066
1091
1092         Reviewed by Tony Chang.
1093
1094         No new tests; addresses race conditions on document navigate/script context stop.
1095
1096         * dom/DocumentEventQueue.cpp:
1097         (WebCore::DocumentEventQueue::enqueueEvent):
1098         * dom/DocumentEventQueue.h:
1099         * dom/EventQueue.h:
1100         * storage/IDBDatabase.cpp:
1101         (WebCore::IDBDatabase::IDBDatabase):
1102         (WebCore::IDBDatabase::~IDBDatabase):
1103         (WebCore::IDBDatabase::transaction):
1104         (WebCore::IDBDatabase::close):
1105         (WebCore::IDBDatabase::onVersionChange):
1106         (WebCore::IDBDatabase::enqueueEvent):
1107         (WebCore::IDBDatabase::stop):
1108         * storage/IDBDatabase.h:
1109         * storage/IDBFactory.cpp:
1110         (WebCore::IDBFactory::IDBFactory):
1111         (WebCore::IDBFactory::getDatabaseNames):
1112         (WebCore::IDBFactory::open):
1113         (WebCore::IDBFactory::deleteDatabase):
1114         * storage/IDBFactory.h:
1115         * storage/IDBObjectStore.cpp:
1116         (WebCore::IDBObjectStore::IDBObjectStore):
1117         (WebCore::IDBObjectStore::name):
1118         (WebCore::IDBObjectStore::keyPath):
1119         (WebCore::IDBObjectStore::indexNames):
1120         (WebCore::IDBObjectStore::get):
1121         (WebCore::IDBObjectStore::add):
1122         (WebCore::IDBObjectStore::put):
1123         (WebCore::IDBObjectStore::deleteFunction):
1124         (WebCore::IDBObjectStore::clear):
1125         (WebCore::IDBObjectStore::createIndex):
1126         (WebCore::IDBObjectStore::index):
1127         (WebCore::IDBObjectStore::deleteIndex):
1128         (WebCore::IDBObjectStore::openCursor):
1129         * storage/IDBObjectStore.h:
1130         * storage/IDBRequest.cpp:
1131         (WebCore::IDBRequest::IDBRequest):
1132         (WebCore::IDBRequest::abort):
1133         (WebCore::IDBRequest::onSuccess):
1134         (WebCore::IDBRequest::onSuccessWithContinuation):
1135         (WebCore::IDBRequest::stop):
1136         (WebCore::IDBRequest::dispatchEvent):
1137         (WebCore::IDBRequest::enqueueEvent):
1138         * storage/IDBRequest.h:
1139         * storage/IDBTransaction.cpp:
1140         (WebCore::IDBTransaction::IDBTransaction):
1141         (WebCore::IDBTransaction::abort):
1142         (WebCore::IDBTransaction::onAbort):
1143         (WebCore::IDBTransaction::onComplete):
1144         (WebCore::IDBTransaction::dispatchEvent):
1145         (WebCore::IDBTransaction::stop):
1146         (WebCore::IDBTransaction::enqueueEvent):
1147         * storage/IDBTransaction.h:
1148         * storage/IDBTransactionBackendImpl.cpp:
1149         (WebCore::IDBTransactionBackendImpl::abort):
1150         (WebCore::IDBTransactionBackendImpl::commit):
1151         * workers/WorkerEventQueue.cpp:
1152         (WebCore::WorkerEventQueue::enqueueEvent):
1153         * workers/WorkerEventQueue.h:
1154
1155 2011-11-21  James Robinson  <jamesr@chromium.org>
1156
1157         [chromium] Avoid pushing dirty tiles to the impl layer
1158         https://bugs.webkit.org/show_bug.cgi?id=72765
1159
1160         Reviewed by Kenneth Russell.
1161
1162         If a tile has invalidations at pushPropertiesTo, then we know the contents of that tile are no longer valid even
1163         if they still have valid backing textures. This avoids pushing that texture to the impl side so it is not
1164         displayed to the user. The texture is still kept around (managed by the TextureManager) so that when we later do
1165         decide to update the contents for that tile we can use partial results if they are still valid.
1166
1167         Covered by new unit test in TiledLayerChromiumTest.cpp
1168
1169         * platform/graphics/chromium/TiledLayerChromium.cpp:
1170         (WebCore::UpdatableTile::isDirty):
1171         (WebCore::TiledLayerChromium::updateTileSizeAndTilingOption):
1172         (WebCore::TiledLayerChromium::setTileSize):
1173         (WebCore::TiledLayerChromium::setLayerTreeHost):
1174         (WebCore::TiledLayerChromium::createTiler):
1175         (WebCore::TiledLayerChromium::updateCompositorResources):
1176         (WebCore::TiledLayerChromium::pushPropertiesTo):
1177         * platform/graphics/chromium/TiledLayerChromium.h:
1178         (WebCore::TiledLayerChromium::setTextureFormat):
1179         * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
1180         (WebCore::CCTiledLayerImpl::hasTileAt):
1181         (WebCore::CCTiledLayerImpl::drawTiles):
1182         * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
1183
1184 2011-11-21  Simon Hausmann  <simon.hausmann@nokia.com>
1185
1186         [Qt] Speed up debug builds.
1187         https://bugs.webkit.org/show_bug.cgi?id=72882
1188
1189         Reviewed by Tor Arne Vestbø.
1190
1191         * Target.pri: Make BUILDING_WebCore available earlier, so it can be
1192         used by the build system.
1193
1194 2011-11-17  Robert Hogan  <robert@webkit.org>
1195
1196         CSS 2.1 failure: empty-inline-003.htm fails
1197         https://bugs.webkit.org/show_bug.cgi?id=72638
1198
1199         Reviewed by Ryosuke Niwa.
1200
1201         Empty inline elements need to share their inline height with siblings.
1202
1203         * rendering/RenderBlockLineLayout.cpp:
1204         (WebCore::inlineFlowRequiresLineBox): In strict mode, add a LineBox for an empty element if it is
1205         going to affect the line-height.
1206         (WebCore::requiresLineBox): Pass LineInfo to inlineFlowRequiresLineBox
1207         (WebCore::RenderBlock::LineBreaker::nextLineBreak): Pass LineInfo to inlineFlowRequiresLineBox
1208
1209 2011-11-21  Adrienne Walker  <enne@google.com>
1210
1211         [chromium] Remove incorrect render surface layer list asserts from compositor
1212         https://bugs.webkit.org/show_bug.cgi?id=72744
1213
1214         Reviewed by James Robinson.
1215
1216         These asserts are incorrect, because it's valid for the default render
1217         surface to be created but to have a root layer that doesn't draw. It
1218         won't get added to the single render surface and it'll have an empty
1219         layer list.
1220
1221         Test: compositor_unittests
1222
1223         * platform/graphics/chromium/LayerRendererChromium.cpp:
1224         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
1225         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
1226         (WebCore::CCLayerTreeHost::paintLayerContents):
1227         (WebCore::CCLayerTreeHost::updateCompositorResources):
1228
1229 2011-11-21  Andreas Kling  <kling@webkit.org>
1230
1231         StyleSheet: Move completeURL() to CSSStyleSheet.
1232         <http://webkit.org/b/72888>
1233
1234         Reviewed by Antti Koivisto.
1235
1236         Since completeURL() is only used on CSSStyleSheets, move it there (and make
1237         it non-virtual) to make StyleSheet a little leaner.
1238
1239         * css/CSSStyleSheet.cpp:
1240         (WebCore::CSSStyleSheet::completeURL):
1241         * css/CSSStyleSheet.h:
1242         * css/StyleSheet.cpp:
1243         * css/StyleSheet.h:
1244
1245 2011-11-21  Robin Dunn  <robin@alldunn.com>
1246
1247         [wx] Fix image translation calculations.
1248         https://bugs.webkit.org/show_bug.cgi?id=72892
1249
1250         Reviewed by Kevin Ollivier.
1251
1252         * platform/graphics/wx/ImageWx.cpp:
1253         (WebCore::Image::drawPattern):
1254
1255 2011-11-21  Scott Graham  <scottmg@chromium.org>
1256
1257         copyright comment style to C from C++ for gamepad module
1258         https://bugs.webkit.org/show_bug.cgi?id=72894
1259
1260         Reviewed by Sam Weinig.
1261
1262         Just changes comment format, no code/test changes.
1263
1264         * Modules/gamepad/Gamepad.cpp:
1265         * Modules/gamepad/Gamepad.h:
1266         * Modules/gamepad/Gamepad.idl:
1267         * Modules/gamepad/GamepadList.cpp:
1268         * Modules/gamepad/GamepadList.h:
1269         * Modules/gamepad/GamepadList.idl:
1270
1271 2011-11-21  Andreas Kling  <kling@webkit.org>
1272
1273         JSC/CSSOM: Merge root() for style declaration objects.
1274         <http://webkit.org/b/72881>
1275
1276         Reviewed by Antti Koivisto.
1277
1278         Fold root(CSSMutableStyleDeclaration*) into root(CSSStyleDeclaration*),
1279         removing a duplicated chunk and making it a little easier on the eyes.
1280
1281         * bindings/js/JSDOMBinding.h:
1282         (WebCore::root):
1283
1284 2011-11-21  Igor Oliveira  <igor.oliveira@openbossa.org>
1285
1286         [WK2][Qt] Move Accelerated Composite animations to UIProcess
1287         https://bugs.webkit.org/show_bug.cgi?id=72753
1288         
1289         Add helper method to synchronize animations in TextureMapper.
1290
1291         Reviewed by Noam Rosenthal.
1292
1293         * platform/graphics/texmap/TextureMapperNode.cpp:
1294         (WebCore::TextureMapperNode::syncAnimationsRecursively):
1295         * platform/graphics/texmap/TextureMapperNode.h:
1296
1297 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1298
1299         Unreviewed, rolling out r100913.
1300         http://trac.webkit.org/changeset/100913
1301         https://bugs.webkit.org/show_bug.cgi?id=72885
1302
1303         "Break Windows build" (Requested by kbalazs on #webkit).
1304
1305         * platform/graphics/filters/FEConvolveMatrix.cpp:
1306         (WebCore::FEConvolveMatrix::platformApplySoftware):
1307         * platform/graphics/filters/FEConvolveMatrix.h:
1308         * platform/graphics/filters/FEGaussianBlur.cpp:
1309         (WebCore::FEGaussianBlur::platformApply):
1310         * platform/graphics/filters/FEGaussianBlur.h:
1311         * platform/graphics/filters/FELighting.cpp:
1312         (WebCore::FELighting::platformApplyGeneric):
1313         * platform/graphics/filters/FELighting.h:
1314         * platform/graphics/filters/FEMorphology.cpp:
1315         (WebCore::FEMorphology::platformApply):
1316         * platform/graphics/filters/FEMorphology.h:
1317         * platform/graphics/filters/FETurbulence.cpp:
1318         (WebCore::FETurbulence::platformApplySoftware):
1319         * platform/graphics/filters/FETurbulence.h:
1320         * platform/graphics/filters/arm/FELightingNEON.cpp:
1321         * platform/graphics/filters/arm/FELightingNEON.h:
1322         (WebCore::FELighting::platformApplyNeon):
1323
1324 2011-11-21  Balazs Kelemen  <kbalazs@webkit.org>
1325
1326         Enable ParallelJobs by default
1327         https://bugs.webkit.org/show_bug.cgi?id=70032
1328
1329         Reviewed by Zoltan Herczeg.
1330
1331         Covered by existing tests.
1332
1333         According to measurements on Mac and Linux it is a
1334         considerable speedup for SVG on multicore.
1335
1336         Remove the ENABLE(PARALLEL_JOBS) guard. Fix the Windows build
1337         by qualifying ParallelJobs with the WTF namespace (otherwise
1338         MSVC believes it belongs to WebCore which is likely a compiler bug).
1339
1340         * platform/graphics/filters/FEConvolveMatrix.cpp:
1341         (WebCore::FEConvolveMatrix::setInteriorPixelsWorker):
1342         (WebCore::FEConvolveMatrix::platformApplySoftware):
1343         * platform/graphics/filters/FEConvolveMatrix.h:
1344         * platform/graphics/filters/FEGaussianBlur.cpp:
1345         (WebCore::FEGaussianBlur::platformApplyWorker):
1346         (WebCore::FEGaussianBlur::platformApply):
1347         * platform/graphics/filters/FEGaussianBlur.h:
1348         * platform/graphics/filters/FELighting.cpp:
1349         (WebCore::FELighting::platformApplyGenericWorker):
1350         (WebCore::FELighting::platformApplyGeneric):
1351         * platform/graphics/filters/FELighting.h:
1352         * platform/graphics/filters/FEMorphology.cpp:
1353         (WebCore::FEMorphology::platformApplyWorker):
1354         (WebCore::FEMorphology::platformApply):
1355         * platform/graphics/filters/FEMorphology.h:
1356         * platform/graphics/filters/FETurbulence.cpp:
1357         (WebCore::FETurbulence::fillRegionWorker):
1358         (WebCore::FETurbulence::platformApplySoftware):
1359         * platform/graphics/filters/FETurbulence.h:
1360         * platform/graphics/filters/arm/FELightingNEON.cpp:
1361         (WebCore::FELighting::platformApplyNeonWorker):
1362         * platform/graphics/filters/arm/FELightingNEON.h:
1363         (WebCore::FELighting::platformApplyNeon):
1364
1365 2011-11-21  Antti Koivisto  <antti@apple.com>
1366
1367         Remove CSSStyleSelector::m_additionalAttributeStyleDecls field
1368         https://bugs.webkit.org/show_bug.cgi?id=72876
1369
1370         Reviewed by Andreas Kling.
1371
1372         There is no reason for this temporary to be a field.
1373
1374         * css/CSSStyleSelector.cpp:
1375         (WebCore::CSSStyleSelector::matchAllRules):
1376         * css/CSSStyleSelector.h:
1377
1378 2011-11-21  Pavel Feldman  <pfeldman@google.com>
1379
1380         Web Inspector: [REGRESSION] Assertion failed in ScriptsPanel.js
1381         https://bugs.webkit.org/show_bug.cgi?id=72877
1382
1383         Reviewed by Yury Semikhatsky.
1384
1385         * inspector/front-end/ScriptsPanel.js:
1386
1387 2011-11-18  Pavel Feldman  <pfeldman@google.com>
1388
1389         Web Inspector: get rid of Panel::reset in the front-end.
1390         https://bugs.webkit.org/show_bug.cgi?id=72587
1391
1392         I'm slowly getting rid of the Inspector protocol domain. It currently
1393         contains methods that did not find their home in the meaningful domains.
1394         This change removes reset protocol method.
1395
1396         Reviewed by Yury Semikhatsky.
1397
1398         * inspector/Inspector.json:
1399         * inspector/InspectorAgent.cpp:
1400         (WebCore::InspectorAgent::didCommitLoad):
1401         * inspector/InspectorDebuggerAgent.cpp:
1402         (WebCore::InspectorDebuggerAgent::didClearMainFrameWindowObject):
1403         * inspector/InspectorDebuggerAgent.h:
1404         * inspector/InspectorInstrumentation.cpp:
1405         (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
1406         (WebCore::InspectorInstrumentation::didCommitLoadImpl):
1407         * inspector/front-end/ApplicationCacheModel.js:
1408         (WebInspector.ApplicationCacheModel.prototype._frameNavigated):
1409         (WebInspector.ApplicationCacheModel.prototype._frameDetached):
1410         * inspector/front-end/DebuggerModel.js:
1411         (WebInspector.DebuggerModel.prototype._globalObjectCleared):
1412         (WebInspector.DebuggerDispatcher.prototype.globalObjectCleared):
1413         * inspector/front-end/DebuggerPresentationModel.js:
1414         (WebInspector.DebuggerPresentationModel):
1415         (WebInspector.DebuggerPresentationModel.prototype._debuggerReset):
1416         * inspector/front-end/ExtensionServer.js:
1417         (WebInspector.ExtensionServer):
1418         (WebInspector.ExtensionServer.prototype._mainFrameNavigated):
1419         * inspector/front-end/JavaScriptContextManager.js:
1420         (WebInspector.JavaScriptContextManager.prototype._frameDetached):
1421         (WebInspector.FrameEvaluationContext.prototype.get frameId):
1422         * inspector/front-end/NetworkLog.js:
1423         (WebInspector.NetworkLog):
1424         (WebInspector.NetworkLog.prototype._mainFrameNavigated):
1425         * inspector/front-end/NetworkPanel.js:
1426         (WebInspector.NetworkLogView):
1427         (WebInspector.NetworkLogView.prototype._mainFrameNavigated):
1428         * inspector/front-end/ResourceTreeModel.js:
1429         (WebInspector.ResourceTreeModel.prototype._frameNavigated):
1430         (WebInspector.ResourceTreeModel.prototype._frameDetached):
1431         (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
1432         * inspector/front-end/ResourcesPanel.js:
1433         (WebInspector.ResourcesPanel.prototype._reset):
1434         (WebInspector.ResourcesPanel.prototype._frameDetached):
1435         * inspector/front-end/ScriptsPanel.js:
1436         (WebInspector.ScriptsPanel.prototype._debuggerWasDisabled):
1437         (WebInspector.ScriptsPanel.prototype._reset):
1438         * inspector/front-end/WorkerManager.js:
1439         (WebInspector.WorkerManager):
1440         (WebInspector.WorkerManager.prototype._mainFrameNavigated):
1441         * inspector/front-end/inspector.js:
1442
1443 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
1444
1445         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
1446         https://bugs.webkit.org/show_bug.cgi?id=62985
1447
1448         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
1449         methods for plumbing the menu action handlers through the WebKit and WebCore.
1450         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
1451         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
1452         WebKit/win and WebKit2 to follow.
1453
1454         Reviewed by Yury Semikhatsky.
1455
1456         * WebCore.exp.in:
1457         * WebCore.gypi:
1458         * WebCore.vcproj/WebCore.vcproj:
1459         * inspector/InspectorFrontendClientLocal.cpp:
1460         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
1461         (WebCore::InspectorFrontendClientLocal::frontendLoaded):
1462         (WebCore::InspectorFrontendClientLocal::setAttachedWindow):
1463         (WebCore::InspectorFrontendClientLocal::isDebuggingEnabled):
1464         (WebCore::InspectorFrontendClientLocal::setDebuggingEnabled):
1465         (WebCore::InspectorFrontendClientLocal::isJavaScriptProfilingEnabled):
1466         (WebCore::InspectorFrontendClientLocal::setJavaScriptProfilingEnabled):
1467         (WebCore::InspectorFrontendClientLocal::isTimelineProfilingEnabled):
1468         (WebCore::InspectorFrontendClientLocal::setTimelineProfilingEnabled):
1469         (WebCore::InspectorFrontendClientLocal::isProfilingJavaScript):
1470         (WebCore::InspectorFrontendClientLocal::startProfilingJavaScript):
1471         (WebCore::InspectorFrontendClientLocal::stopProfilingJavaScript):
1472         (WebCore::InspectorFrontendClientLocal::evaluateAsBoolean):
1473         (WebCore::InspectorFrontendClientLocal::evaluateOnLoad):
1474         * inspector/InspectorFrontendClientLocal.h:
1475         * inspector/front-end/InspectorFrontendAPI.js: Added.
1476         (InspectorFrontendAPI.isDebuggingEnabled):
1477         (InspectorFrontendAPI.setDebuggingEnabled):
1478         (InspectorFrontendAPI.isJavaScriptProfilingEnabled):
1479         (InspectorFrontendAPI.setJavaScriptProfilingEnabled):
1480         (InspectorFrontendAPI.isTimelineProfilingEnabled):
1481         (InspectorFrontendAPI.setTimelineProfilingEnabled):
1482         (InspectorFrontendAPI.isProfilingJavaScript):
1483         (InspectorFrontendAPI.startProfilingJavaScript):
1484         (InspectorFrontendAPI.stopProfilingJavaScript):
1485         (InspectorFrontendAPI.setAttachedWindow):
1486         * inspector/front-end/ProfileView.js:
1487         (WebInspector.CPUProfileType):
1488         (WebInspector.CPUProfileType.prototype.isRecordingProfile):
1489         (WebInspector.CPUProfileType.prototype.startRecordingProfile):
1490         (WebInspector.CPUProfileType.prototype.stopRecordingProfile):
1491         * inspector/front-end/ProfilesPanel.js:
1492         (WebInspector.ProfilesPanel.prototype.get profilerEnabled):
1493         (WebInspector.ProfilesPanel.prototype.enableProfiler):
1494         (WebInspector.ProfilesPanel.prototype.disableProfiler):
1495         * inspector/front-end/ScriptsPanel.js:
1496         (WebInspector.ScriptsPanel):
1497         (WebInspector.ScriptsPanel.prototype.get debuggingEnabled):
1498         (WebInspector.ScriptsPanel.prototype.enableDebugging):
1499         (WebInspector.ScriptsPanel.prototype.disableDebugging):
1500         (WebInspector.ScriptsPanel.prototype.toggleDebugging):
1501         * inspector/front-end/TimelinePanel.js:
1502         (WebInspector.TimelinePanel.prototype._memoryOverviewItemSelected):
1503         (WebInspector.TimelinePanel.prototype.setTimelineProfilingEnabled):
1504         (WebInspector.TimelinePanel.prototype.get timelineProfilingEnabled):
1505         * inspector/front-end/WebKit.qrc:
1506         * inspector/front-end/inspector.html:
1507         * inspector/front-end/inspector.js:
1508
1509 2011-11-18  Alexander Pavlov  <apavlov@chromium.org>
1510
1511         Web Inspector: [Protocol] Retain a single universal method for loading a required combination of element styles
1512         https://bugs.webkit.org/show_bug.cgi?id=72701
1513
1514         Reviewed by Pavel Feldman.
1515
1516         * inspector/Inspector.json:
1517         * inspector/InspectorCSSAgent.cpp:
1518         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
1519         (WebCore::InspectorCSSAgent::getInlineStylesForNode):
1520         (WebCore::InspectorCSSAgent::getComputedStyleForNode):
1521         * inspector/InspectorCSSAgent.h:
1522         * inspector/front-end/AuditRules.js:
1523         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
1524         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles.inlineCallback):
1525         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles.matchedCallback):
1526         (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
1527         * inspector/front-end/CSSStyleModel.js:
1528         (WebInspector.CSSStyleModel.prototype.getMatchedStylesAsync):
1529         (WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
1530         (WebInspector.CSSStyleModel.prototype.getInlineStylesAsync):
1531         * inspector/front-end/MetricsSidebarPane.js:
1532         (WebInspector.MetricsSidebarPane.prototype._innerUpdate):
1533         * inspector/front-end/StylesSidebarPane.js:
1534         (WebInspector.StylesSidebarPane.prototype.get forcedPseudoClasses):
1535         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate):
1536         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate.inlineCallback):
1537         (WebInspector.StylesSidebarPane.prototype._executeRebuildUpdate.computedCallback):
1538         (WebInspector.StylesSidebarPane.prototype._innerUpdate):
1539
1540 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1541
1542         Unreviewed, rolling out r100856.
1543         http://trac.webkit.org/changeset/100856
1544         https://bugs.webkit.org/show_bug.cgi?id=72867
1545
1546         New test fast/css/style-tag-display-none.html fails on
1547         Chromium (Requested by steveblock on #webkit).
1548
1549         * css/CSSStyleSelector.cpp:
1550         (WebCore::CSSStyleSelector::matchUARules):
1551
1552 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
1553
1554         Implement Meta referrer
1555         https://bugs.webkit.org/show_bug.cgi?id=72674
1556
1557         Reviewed by Adam Barth.
1558
1559         http://wiki.whatwg.org/wiki/Meta_referrer
1560
1561         Tests: http/tests/security/referrer-policy-always.html
1562                http/tests/security/referrer-policy-default.html
1563                http/tests/security/referrer-policy-https-always.html
1564                http/tests/security/referrer-policy-https-default.html
1565                http/tests/security/referrer-policy-https-never.html
1566                http/tests/security/referrer-policy-https-origin.html
1567                http/tests/security/referrer-policy-never.html
1568                http/tests/security/referrer-policy-origin.html
1569                http/tests/security/referrer-policy-redirect.html
1570                http/tests/security/referrer-policy-rel-noreferrer.html
1571
1572         * WebCore.exp.in: updated
1573         * dom/Document.cpp:
1574         (WebCore::Document::Document):
1575         (WebCore::Document::processReferrerPolicy):
1576         * dom/Document.h:
1577         (WebCore::Document::referrerPolicy):
1578         * html/HTMLAnchorElement.cpp:
1579         (WebCore::HTMLAnchorElement::handleClick):
1580         * html/HTMLMetaElement.cpp:
1581         (WebCore::HTMLMetaElement::process):
1582         * loader/FrameLoader.cpp:
1583         (WebCore::FrameLoader::loadFrameRequest):
1584         (WebCore::FrameLoader::loadResourceSynchronously):
1585         * loader/PingLoader.cpp:
1586         (WebCore::PingLoader::loadImage):
1587         (WebCore::PingLoader::sendPing):
1588         (WebCore::PingLoader::reportContentSecurityPolicyViolation):
1589         * loader/SubframeLoader.cpp:
1590         (WebCore::SubframeLoader::loadSubframe):
1591         * loader/SubresourceLoader.cpp:
1592         (WebCore::SubresourceLoader::create):
1593         * page/SecurityPolicy.cpp:
1594         (WebCore::SecurityPolicy::generateReferrerHeader):
1595         * page/SecurityPolicy.h:
1596
1597 2011-11-21  Vsevolod Vlasov  <vsevik@chromium.org>
1598
1599         Web Inspector: ApplicationCache view should show navigator.onLine indicator.
1600         https://bugs.webkit.org/show_bug.cgi?id=72618
1601
1602         Reviewed by Pavel Feldman.
1603
1604         * inspector/InspectorApplicationCacheAgent.cpp:
1605         (WebCore::InspectorApplicationCacheAgent::enable):
1606         * inspector/front-end/ApplicationCacheItemsView.js:
1607         (WebInspector.ApplicationCacheItemsView):
1608         (WebInspector.ApplicationCacheItemsView.prototype.wasShown):
1609         * inspector/front-end/ApplicationCacheModel.js:
1610         (WebInspector.ApplicationCacheModel):
1611         (WebInspector.ApplicationCacheModel.prototype.get onLine):
1612         (WebInspector.ApplicationCacheModel.prototype._networkStateUpdated):
1613         * inspector/front-end/ResourcesPanel.js:
1614         (WebInspector.ResourcesPanel.prototype.showApplicationCache):
1615         (WebInspector.ResourcesPanel.prototype._applicationCacheNetworkStateChanged):
1616
1617 2011-11-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1618
1619         Unreviewed. Fix make distcheck build.
1620
1621         * GNUmakefile.list.am:
1622
1623 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
1624
1625         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
1626         https://bugs.webkit.org/show_bug.cgi?id=72479
1627
1628         Reviewed by Chris Fleizach.
1629
1630         Test: accessibility/multiselect-list-reports-active-option.html
1631
1632         * accessibility/AccessibilityListBoxOption.cpp:
1633         (WebCore::AccessibilityListBoxOption::isSelectedOptionActive):
1634         * accessibility/AccessibilityListBoxOption.h:
1635         * accessibility/AccessibilityObject.h:
1636         (WebCore::AccessibilityObject::isSelectedOptionActive):
1637
1638 2011-11-21  Yuta Kitamura  <yutak@chromium.org>
1639
1640         [Qt] WebSocket close tests are failing
1641         https://bugs.webkit.org/show_bug.cgi?id=72865
1642
1643         Reviewed by Simon Hausmann.
1644
1645         * platform/network/qt/SocketStreamHandleQt.cpp:
1646         (WebCore::SocketStreamHandlePrivate::close):
1647         Emit didCloseSocketStream() callback even before the connection is established.
1648         Call m_socket->abort() to prevent "connected" signal from firing.
1649
1650 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
1651
1652         Refactoring: SpellChecker::requestCheckingFor should take Range instead of Node.
1653         https://bugs.webkit.org/show_bug.cgi?id=72847
1654
1655         Reviewed by Hajime Morita.
1656
1657         Covered by existing test.
1658
1659         * editing/Editor.cpp:
1660         (WebCore::Editor::replaceSelectionWithFragment):
1661           Passes Range to requestCheckingFor instead of Node.
1662         * editing/SpellChecker.cpp:
1663           Changed argument type from Node to Range.
1664           The corresponding changes are also done in dependent methods.
1665         (WebCore::SpellChecker::initRequest):
1666         (WebCore::SpellChecker::clearRequest):
1667         (WebCore::SpellChecker::canCheckAsynchronously):
1668         (WebCore::SpellChecker::isBusy):
1669         (WebCore::SpellChecker::isValid):
1670         (WebCore::SpellChecker::isCheckable):
1671         (WebCore::SpellChecker::requestCheckingFor):
1672           Changed argument type from Node to Range.
1673         (WebCore::SpellChecker::doRequestCheckingFor):
1674         (WebCore::SpellChecker::didCheck):
1675         * editing/SpellChecker.h:
1676
1677 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
1678
1679         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
1680         https://bugs.webkit.org/show_bug.cgi?id=72844
1681
1682         Respects bold and italic properties that is given by fontconfig.
1683
1684         Reviewed by Darin Fisher.
1685
1686         * platform/graphics/chromium/FontCacheLinux.cpp:
1687         (WebCore::FontCache::getFontDataForCharacters): Removed #if and old logic.
1688
1689 2011-11-20  Noel Gordon  <noel.gordon@gmail.com>
1690
1691         [chromium] Remove qt/QtMobileWebStyle from the gyp projects
1692         https://bugs.webkit.org/show_bug.cgi?id=72843
1693
1694         Reviewed by Antonio Gomes.
1695
1696         platform/qt/QtMobileWebStyle.{h,cpp} were removed in r100123
1697
1698         * WebCore.gypi: remove platform/qt/QtMobileWebStyle.{h,cpp}
1699
1700 2011-11-20  Kentaro Hara  <haraken@chromium.org>
1701
1702         Unreviewed. Rebaselined run-bindings-tests results.
1703
1704         * bindings/scripts/test/CPP/WebDOMFloat64Array.cpp:
1705         (WebDOMFloat64Array::WebDOMFloat64Array):
1706         (WebDOMFloat64Array::impl):
1707         (toWebCore):
1708         (toWebKit):
1709         * bindings/scripts/test/CPP/WebDOMFloat64Array.h:
1710
1711 2011-11-20  Adam Barth  <abarth@webkit.org>
1712
1713         REGRESSION(r100691): Safari error pages and Growl notifications fail to load stylesheets
1714         https://bugs.webkit.org/show_bug.cgi?id=72836
1715
1716         Reviewed by Sam Weinig.
1717
1718         This patch removes a (minor) security mitigation.  Previously, we tried
1719         sequester "directory listings" into unique origins to make it more
1720         difficult for an attacker to crawl the user's local file system.
1721         Unfortunately, this mitigation doesn't really buy us much security
1722         because if the attacker has access to local files, we've probably lost
1723         anyway.
1724
1725         The larger problem, however, is that this condition is overly
1726         complicated and has broken in sublte ways several times in its
1727         (relatively short) lifetime.  In the cases reported in this bug, we see
1728         that this check affects error pages in Safari and Growl notifications,
1729         even those have nothing to do with directory listings.
1730
1731         If we have our heart set on this directory listing mitigation, we'll
1732         need a more robust way of triggering the behavior than examining URLs
1733         and guess whether they contain directory listings.  For example, if we
1734         implement Allow-From or Access-Control-Deny-Origin, then the embedder
1735         can supply those policies along with the directory listings.  Those
1736         seem like much better solutions than the in-engine hack this patch
1737         removes.
1738
1739         * page/SecurityOrigin.cpp:
1740         (WebCore::shouldTreatAsUniqueOrigin):
1741
1742 2011-10-17  Antonio Gomes  <agomes@rim.com>
1743
1744         Pass a Frame* parameter in EditorClient::respondToChangedSelection
1745         https://bugs.webkit.org/show_bug.cgi?id=70248
1746
1747         Reviewed by Ryosuke Niwa.
1748
1749         Most of the port specific implementations of EditorClient::respondToChangedSelection
1750         (like EditorClient{Qt,Gtk,etc}) are wrongly relying on FocusController::focusedOrMainFrame
1751         method to get the Frame where the selection is happening on.
1752         It is not right, since a selection can be easily triggered in an inner
1753         frame that is not focused.
1754
1755         No new tests since it is a hard thing to test without
1756         to hook into editor client in layout tests. We could
1757         change the "Dumped Delegate" messages, but it would
1758         require a rebasile of +1200 for a minor change.
1759
1760         * editing/Editor.cpp: Pass the Frame on where the selection is changing to the client.
1761         (WebCore::Editor::respondToChangedSelection): Ditto.
1762         (WebCore::Editor::changeSelectionAfterCommand): Ditto.
1763         (WebCore::EmptyEditorClient::respondToChangedSelection):
1764         * page/EditorClient.h:  Pass Frame* to indicate where the selection is happening.
1765         * loader/EmptyClients.h: Changed signature as per base class change.
1766
1767 2011-11-17  Mark Rowe  <mrowe@apple.com>
1768
1769         <http://webkit.org/b/72646> Disable deprecation warnings around code where we cannot easily
1770         switch away from the deprecated APIs.
1771
1772         Reviewed by Sam Weinig.
1773
1774         * platform/mac/WebCoreNSStringExtras.mm:
1775         * platform/network/cf/SocketStreamHandleCFNet.cpp:
1776         (WebCore::SocketStreamHandle::reportErrorToClient):
1777
1778 2011-11-19  Kevin Ollivier  <kevino@theolliviers.com>
1779
1780         [wx] C++ bindings build fix for move of array classes to WTF.
1781         
1782         * bindings/scripts/CodeGeneratorCPP.pm:
1783         (GetCPPTypeGetter):
1784         (GetNamespaceForClass):
1785         (GenerateHeader):
1786         (GenerateImplementation):
1787
1788 2011-11-19  Scott Graham  <scottmg@chromium.org>
1789
1790         Move gamepad to Modules/ (+ some cleanup)
1791         https://bugs.webkit.org/show_bug.cgi?id=72785
1792
1793         Reviewed by Adam Barth.
1794
1795         Move main files from page/ to Modules/gamepad/. #include guard the
1796         gamepad header inclusions in Navigator.cpp to avoid including for
1797         ports that do not enable GAMEPAD.
1798
1799         * Modules/gamepad/Gamepad.cpp: Renamed from Source/WebCore/page/Gamepad.cpp.
1800         (WebCore::Gamepad::Gamepad):
1801         (WebCore::Gamepad::axes):
1802         (WebCore::Gamepad::buttons):
1803         (WebCore::Gamepad::~Gamepad):
1804         * Modules/gamepad/Gamepad.h: Renamed from Source/WebCore/page/Gamepad.h.
1805         * Modules/gamepad/Gamepad.idl: Renamed from Source/WebCore/page/Gamepad.idl.
1806         * Modules/gamepad/GamepadList.cpp: Renamed from Source/WebCore/page/GamepadList.cpp.
1807         (WebCore::GamepadList::~GamepadList):
1808         (WebCore::GamepadList::set):
1809         (WebCore::GamepadList::length):
1810         (WebCore::GamepadList::item):
1811         * Modules/gamepad/GamepadList.h: Renamed from Source/WebCore/page/GamepadList.h.
1812         (WebCore::GamepadList::create):
1813         (WebCore::GamepadList::GamepadList):
1814         * Modules/gamepad/GamepadList.idl: Renamed from Source/WebCore/page/GamepadList.idl.
1815         * WebCore.gyp/WebCore.gyp:
1816         * WebCore.gypi:
1817         * page/Navigator.cpp:
1818
1819 2011-11-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1820
1821         Unreviewed, rolling out r100834.
1822         http://trac.webkit.org/changeset/100834
1823         https://bugs.webkit.org/show_bug.cgi?id=72806
1824
1825         this patch makes Qt run-webkit-test exit before finishing
1826         (Requested by igoroliveira on #webkit).
1827
1828         * platform/graphics/texmap/TextureMapperNode.cpp:
1829         * platform/graphics/texmap/TextureMapperNode.h:
1830
1831 2011-11-19  Huang Dongsung  <luxtella@company100.net>
1832
1833         Remove WebCore/ForwardingHeaders/runtime/JSObjectWithGlobalObject.h because
1834         JSObjectWithGlobalObject.h has been removed.
1835         https://bugs.webkit.org/show_bug.cgi?id=72794
1836
1837         r94701 removed JSObjectWithGlobalObject.h.
1838
1839         Reviewed by Oliver Hunt.
1840
1841         * ForwardingHeaders/runtime/JSObjectWithGlobalObject.h: Removed.
1842
1843 2011-11-19  Vsevolod Vlasov  <vsevik@chromium.org>
1844
1845         Web Inspector:[protocol] actual JSON messages do not conform to Inspector.json in InspectorApplicationCacheAgent.cpp
1846         https://bugs.webkit.org/show_bug.cgi?id=72734
1847
1848         Reviewed by Timothy Hatcher.
1849
1850         * inspector/Inspector.json:
1851
1852 2011-11-19  David Barr  <davidbarr@chromium.org>
1853
1854         REGRESSION(r98542): Chromium: CSS text is rendered on page
1855         https://bugs.webkit.org/show_bug.cgi?id=71703
1856
1857         Reviewed by Antti Koivisto.
1858
1859         Matched UA declarations uncacheable when using simpleDefaultStyleSheet.
1860
1861         Test: fast/css/style-tag-display-none.html
1862
1863         * css/CSSStyleSelector.cpp:
1864         (WebCore::CSSStyleSelector::matchUARules):
1865
1866 2011-11-19  Jay Civelli  <jcivelli@chromium.org>
1867
1868         When loading a MHTML document, make sure we set the base URL before
1869         we notify the frame was committed (so the document has the right base
1870         URL when the notification happens). 
1871         https://bugs.webkit.org/show_bug.cgi?id=72788
1872
1873         Reviewed by Adam Barth.
1874
1875         * loader/FrameLoader.cpp:
1876         (WebCore::FrameLoader::receivedFirstData):
1877
1878 2011-11-19  Adam Barth  <abarth@webkit.org>
1879
1880         Integrate Source/WTF with the Chromium build system
1881         https://bugs.webkit.org/show_bug.cgi?id=72790
1882
1883         Reviewed by Eric Seidel.
1884
1885         Add a dependency on the new WTF.
1886
1887         * WebCore.gyp/WebCore.gyp:
1888
1889 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
1890
1891         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
1892         https://bugs.webkit.org/show_bug.cgi?id=72016
1893
1894         Reviewed by Darin Fisher.
1895
1896         Add a interface to send raw binary data.
1897         This interface is used by WebWebSocketChannel implementation
1898         in WebKit API.
1899
1900         No new tests because just export a interface.
1901
1902         * websockets/WebSocketChannel.cpp:
1903         (WebCore::WebSocketChannel::send):
1904         * websockets/WebSocketChannel.h:
1905
1906 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
1907
1908         https://bugs.webkit.org/show_bug.cgi?id=72591
1909         Remove document.width / document.height
1910
1911         Reviewed by Darin Adler.
1912
1913         Removed document.width/document.height from JS bindings,
1914         but keeping the same for ObjC bindings. Also it should use
1915         document.body.clientWidth and document.body.clientHeight instead.
1916
1917         * html/HTMLDocument.idl:
1918
1919 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
1920
1921         Fix the GTK+ build.
1922
1923         * page/Navigator.idl: Properly disable the webkitGamepads API if gamepad
1924         isn't enabled at compile time.
1925
1926 2011-11-18  Daniel Bates  <dbates@rim.com>
1927
1928         Add CMake build infrastructure for the BlackBerry port
1929         https://bugs.webkit.org/show_bug.cgi?id=72768
1930
1931         Reviewed by Antonio Gomes.
1932
1933         * CMakeLists.txt: At this time the BlackBerry port doesn't support generating
1934           DOM bindings from the SVG IDLs. See WebKit bug #72773.
1935         * PlatformBlackBerry.cmake: Added.
1936
1937 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1938
1939         Unreviewed, rolling out r100826.
1940         http://trac.webkit.org/changeset/100826
1941         https://bugs.webkit.org/show_bug.cgi?id=72786
1942
1943         Broke Chromium Mac build (Requested by aklein on #webkit).
1944
1945         * page/ChromeClient.h:
1946         * page/FrameView.cpp:
1947         * page/FrameView.h:
1948         * platform/ScrollView.cpp:
1949         (WebCore::ScrollView::wheelEvent):
1950         * platform/ScrollView.h:
1951         * platform/ScrollableArea.h:
1952         (WebCore::ScrollableArea::scrollbarStyleChanged):
1953         * platform/mac/ScrollAnimatorMac.mm:
1954         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
1955
1956 2011-11-18  Alpha Lam  <hclam@chromium.org>
1957
1958         [chromium] composited layers are blurry with a zoom-in page scale factor
1959         https://bugs.webkit.org/show_bug.cgi?id=71225
1960
1961         Reviewed by James Robinson.
1962
1963         Pass contents scale factor to the compositor such that it can:
1964         1. Adjust contentBounds() of the compositoer layers with content scale.
1965         2. Apply the content scale in the painter for texture update in better resolution.
1966         3. Apply the content scale to the dirty rect in CanvasLayerTextureUpdater.
1967
1968         This change fixed blurry problem for all tiled layer types and is not limited to
1969         position:fixed layers.
1970
1971         Tests: compositing/geometry/fixed-position-composited-page-scale-down.html
1972                compositing/geometry/fixed-position-composited-page-scale.html
1973                compositing/geometry/fixed-position-iframe-composited-page-scale-down.html
1974                compositing/geometry/fixed-position-iframe-composited-page-scale.html
1975                compositing/geometry/fixed-position-transform-composited-page-scale-down.html
1976                compositing/geometry/fixed-position-transform-composited-page-scale.html
1977
1978         * platform/graphics/chromium/GraphicsLayerChromium.cpp:
1979         (WebCore::GraphicsLayerChromium::setTransform):
1980         (WebCore::GraphicsLayerChromium::updateLayerPreserves3D):
1981         (WebCore::GraphicsLayerChromium::updateContentsScale):
1982         (WebCore::GraphicsLayerChromium::contentsScale):
1983         (WebCore::GraphicsLayerChromium::deviceOrPageScaleFactorChanged):
1984         * platform/graphics/chromium/GraphicsLayerChromium.h:
1985         * platform/graphics/chromium/ImageLayerChromium.cpp:
1986         (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
1987         (WebCore::ImageLayerChromium::needsContentsScale):
1988         * platform/graphics/chromium/ImageLayerChromium.h:
1989         * platform/graphics/chromium/LayerChromium.cpp:
1990         (WebCore::LayerChromium::LayerChromium):
1991         (WebCore::LayerChromium::setContentsScale):
1992         * platform/graphics/chromium/LayerChromium.h:
1993         (WebCore::LayerChromium::needsContentsScale):
1994         (WebCore::LayerChromium::contentsScale):
1995         * platform/graphics/chromium/LayerTextureUpdater.h:
1996         * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
1997         (WebCore::LayerTextureUpdaterCanvas::paintContents):
1998         (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
1999         (WebCore::LayerTextureUpdaterSkPicture::prepareToUpdate):
2000         * platform/graphics/chromium/LayerTextureUpdaterCanvas.h:
2001         * platform/graphics/chromium/TiledLayerChromium.cpp:
2002         (WebCore::TiledLayerChromium::needsContentsScale):
2003         (WebCore::TiledLayerChromium::contentBounds):
2004         (WebCore::TiledLayerChromium::prepareToUpdate):
2005         * platform/graphics/chromium/TiledLayerChromium.h:
2006
2007 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
2008
2009         [WK2][Qt] Move Accelerated Composite animations to UIProcess
2010         https://bugs.webkit.org/show_bug.cgi?id=72753
2011
2012         Add helper method to synchronize animations in TextureMapper.
2013
2014         Reviewed by Noam Rosenthal.
2015
2016         * platform/graphics/texmap/TextureMapperNode.cpp:
2017         (WebCore::TextureMapperNode::syncAnimationsRecursively):
2018         * platform/graphics/texmap/TextureMapperNode.h:
2019
2020 2011-11-18  Scott Graham  <scottmg@chromium.org>
2021
2022         IDL changes for gamepad support
2023         https://bugs.webkit.org/show_bug.cgi?id=71753
2024
2025         Reviewed by Adam Barth.
2026
2027         IDL changes and associated plumbing to expose list of gamepad objects
2028         on navigator object (per current spec). Full patch is
2029         https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
2030         test until more plumbing in future patches.
2031
2032         Test: gamepad/gamepad-api.html
2033
2034         * WebCore.gypi:
2035         * bindings/generic/RuntimeEnabledFeatures.h:
2036         (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
2037         (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
2038         * page/Gamepad.cpp: Added.
2039         (WebCore::Gamepad::Gamepad):
2040         (WebCore::Gamepad::axes):
2041         (WebCore::Gamepad::buttons):
2042         (WebCore::Gamepad::~Gamepad):
2043         * page/Gamepad.h: Added.
2044         * page/Gamepad.idl: Added.
2045         * page/GamepadList.cpp: Added.
2046         (WebCore::GamepadList::~GamepadList):
2047         (WebCore::GamepadList::set):
2048         (WebCore::GamepadList::length):
2049         (WebCore::GamepadList::item):
2050         * page/GamepadList.h: Added.
2051         (WebCore::GamepadList::create):
2052         (WebCore::GamepadList::GamepadList):
2053         * page/GamepadList.idl: Added.
2054         * page/Navigator.cpp:
2055         (WebCore::Navigator::webkitGamepads):
2056         * page/Navigator.h:
2057         * page/Navigator.idl:
2058
2059 2011-11-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2060
2061         Unreviewed, rolling out r100693.
2062         http://trac.webkit.org/changeset/100693
2063         https://bugs.webkit.org/show_bug.cgi?id=72779
2064
2065         This patch caused a rendering regression (see bug 72770)
2066         (Requested by philip__ on #webkit).
2067
2068         * rendering/RenderObject.cpp:
2069         (WebCore::RenderObject::setStyle):
2070         * rendering/style/RenderStyle.cpp:
2071         (WebCore::RenderStyle::diff):
2072
2073 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
2074
2075         Reflection on composited element doesn't update if the element changes to show no content
2076         https://bugs.webkit.org/show_bug.cgi?id=72774
2077
2078         Reviewed by Chris Marrin.
2079         
2080         When a style change results in a reflected element losing its backing store,
2081         we need to clear the backing stores on the layer clones as well.
2082
2083         Test: compositing/reflections/become-simple-composited-reflection.html
2084
2085         * platform/graphics/ca/GraphicsLayerCA.cpp:
2086         (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
2087
2088 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
2089
2090         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
2091         https://bugs.webkit.org/show_bug.cgi?id=72767
2092
2093         Reviewed by Tony Chang.
2094
2095         Covered by existing tests.
2096
2097         * editing/chromium/EditorChromium.cpp:
2098         (WebCore::Editor::newGeneralClipboard):
2099         * page/chromium/EventHandlerChromium.cpp:
2100         (WebCore::EventHandler::createDraggingClipboard):
2101         * platform/chromium/ChromiumDataObject.cpp:
2102         (WebCore::ChromiumDataObject::types):
2103         (WebCore::ChromiumDataObject::getData):
2104         (WebCore::ChromiumDataObject::containsFilenames):
2105         (WebCore::ChromiumDataObject::ChromiumDataObject):
2106         * platform/chromium/ChromiumDataObject.h:
2107         (WebCore::ChromiumDataObject::createFromPasteboard):
2108         (WebCore::ChromiumDataObject::create):
2109         (WebCore::ChromiumDataObject::storageMode):
2110         * platform/chromium/ClipboardChromium.cpp:
2111         (WebCore::ClipboardChromium::hasData):
2112
2113 2011-11-18  Chris Evans  <cevans@google.com>
2114
2115         Crash with ranges across a detached, reparented node tree
2116         https://bugs.webkit.org/show_bug.cgi?id=72757
2117
2118         Reviewed by Adam Barth.
2119
2120         Test: fast/dom/move-detached-child-in-range.html
2121
2122         * dom/RangeBoundaryPoint.h:
2123         (WebCore::RangeBoundaryPoint::childBefore): protect the raw child node from getting pulled from under us.
2124
2125 2011-11-18  Beth Dakin  <bdakin@apple.com>
2126
2127         https://bugs.webkit.org/show_bug.cgi?id=72551
2128         When the recommended scrollbar style changes, WKView's tracking options should 
2129         adjust accordingly
2130         -and corresponding-
2131         <rdar://problem/10409328>
2132
2133         Reviewed by Darin Adler.
2134
2135         This new ChromeClient function is called when the recommended scrollbar style 
2136         changes. This way, WebKit can respond to the change by adjusting its mouse 
2137         tracking.
2138         * page/ChromeClient.h:
2139         (WebCore::ChromeClient::recommendedScrollbarStyleDidChange):
2140
2141         Existing ScrollableArea function scrollbarStyleChanged() now takes an int 
2142         indicating the new scrollbar style and a bool indicating whether it is necessary 
2143         to force an update. It used to be the case that this function was ONLY used to 
2144         force an update (and only called when an updated was needed), but now that it must 
2145         also call into the ChromeClient, it is necessary to include a bool tracking 
2146         whether we need to force an update. New implementation on FrameView is responsible 
2147         for calling ChromeClient, and then that calls into the pre-existing ScrollView 
2148         function for the forceUpdate part.
2149         * page/FrameView.cpp:
2150         (WebCore::FrameView::scrollbarStyleChanged):
2151         * page/FrameView.h:
2152         * platform/ScrollView.cpp:
2153         (WebCore::ScrollView:: scrollbarStyleChanged):
2154         * platform/ScrollView.h:
2155         * platform/ScrollableArea.h:
2156         (WebCore::ScrollableArea::scrollbarStyleChanged):
2157         * platform/mac/ScrollAnimatorMac.mm:
2158         (WebCore::ScrollAnimatorMac::updateScrollerStyle):
2159
2160 2011-11-18  Kelly Norton  <knorton@google.com>
2161
2162         Fixes several more void functions in RenderObject that return values.
2163         https://bugs.webkit.org/show_bug.cgi?id=72750
2164
2165         Reviewed by Adam Barth.
2166
2167         * rendering/RenderBlock.cpp:
2168         (WebCore::RenderBlock::updateBeforeAfterContent):
2169         (WebCore::RenderBlock::addChildToContinuation):
2170         (WebCore::RenderBlock::addChildToAnonymousColumnBlocks):
2171         (WebCore::RenderBlock::addChild):
2172         (WebCore::RenderBlock::addChildIgnoringContinuation):
2173
2174 2011-11-18  Shawn Singh  <shawnsingh@chromium.org>
2175
2176         [chromium] Add some useful text to existing debug dump
2177         https://bugs.webkit.org/show_bug.cgi?id=72576
2178
2179         Reviewed by James Robinson.
2180
2181         No new tests needed.
2182
2183         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
2184         (WebCore::CCLayerImpl::dumpLayerProperties):
2185         * platform/graphics/chromium/cc/CCRenderSurface.cpp:
2186         (WebCore::CCRenderSurface::dumpSurface):
2187
2188 2011-11-18  Xiaomei Ji  <xji@chromium.org>
2189
2190         REGRESSION: rtl horizontal scrollbar / resize bug - Body shifts on resize when scrolled all the way to the left
2191         https://bugs.webkit.org/show_bug.cgi?id=70395
2192
2193         Reviewed by Tony Chang.
2194
2195         This patch fixes the problem in Mac and Chromium Mac.
2196    
2197         The existing test fast/dom/rtl-scroll-to-leftmost-and-resize.html seems does not really work in Mac DRT
2198         (the browswer window is not resized). It works in Chromium-Mac. And Chromium-Mac's code
2199         is forked from Mac.
2200
2201         * platform/chromium/ScrollAnimatorChromiumMac.mm:
2202         (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
2203         * platform/mac/ScrollAnimatorMac.mm:
2204         (WebCore::ScrollAnimatorMac::immediateScrollToPoint):
2205
2206 2011-11-18  Martin Robinson  <mrobinson@igalia.com>
2207
2208         REGRESSION (r99924): broke 2 pasteboard tests on GTK
2209         https://bugs.webkit.org/show_bug.cgi?id=72131
2210
2211         Reviewed by Tony Chang.
2212
2213         * platform/gtk/ClipboardGtk.cpp:
2214         (WebCore::ClipboardGtk::clearData): Call clearAll now.
2215         (WebCore::ClipboardGtk::clearAllData): Call clearAllExceptFilenames now.
2216         * platform/gtk/DataObjectGtk.cpp:
2217         (WebCore::DataObjectGtk::clearAllExceptFilenames): Renamed from clear.
2218         (WebCore::DataObjectGtk::clearAll): Added this method which also clear filenames.
2219         * platform/gtk/DataObjectGtk.h:
2220         * platform/gtk/PasteboardGtk.cpp: Call clear before setting new clipboard data.
2221         (WebCore::Pasteboard::writeSelection): Ditto.
2222         (WebCore::Pasteboard::writePlainText): Ditto.
2223         (WebCore::Pasteboard::writeURL): Ditto.
2224         (WebCore::Pasteboard::writeImage): Ditto.
2225         * platform/gtk/PasteboardHelper.cpp:
2226         (WebCore::clearClipboardContentsCallback): Use the clearAll method now.
2227
2228 2011-11-18  Vineet Chaudhary  <vineet.chaudhary@motorola.com>
2229
2230         Access key should work on all elements.
2231         https://bugs.webkit.org/show_bug.cgi?id=71854
2232
2233         Reviewed by Ryosuke Niwa.
2234
2235         All HTML elements can have the accesskey content attribute set.
2236         Specification http://dev.w3.org/html5/spec/Overview.html#the-accesskey-attribute
2237         Adding "accessKey" attribute to HTMLElement.idl file as [Reflect].
2238
2239         Test: fast/forms/access-key-for-all-elements.html
2240
2241         * bindings/objc/PublicDOMInterfaces.h: Moved properties form subclass to base class.
2242         * html/BaseButtonInputType.cpp: 
2243         (WebCore::BaseButtonInputType::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2244         * html/BaseButtonInputType.h: Ditto
2245         * html/BaseCheckableInputType.cpp:
2246         (WebCore::BaseCheckableInputType::accessKeyAction): Ditto
2247         * html/BaseCheckableInputType.h: Ditto
2248         * html/HTMLAnchorElement.cpp:
2249         (WebCore::HTMLAnchorElement::accessKeyAction): Ditto
2250         * html/HTMLAnchorElement.h: Ditto
2251         * html/HTMLAnchorElement.idl: Removed redundant IDL attribute entries.
2252         * html/HTMLAreaElement.idl: Removed redundant IDL attribute entries.
2253         * html/HTMLButtonElement.cpp:
2254         (WebCore::HTMLButtonElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2255         * html/HTMLButtonElement.h: Ditto
2256         * html/HTMLButtonElement.idl: Removed redundant IDL attribute entries.
2257         * html/HTMLElement.cpp:
2258         (WebCore::HTMLElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2259         If the element does not have a defined activation behavior, fire a click event at the element.
2260         * html/HTMLElement.h: Ditto
2261         * html/HTMLElement.idl: Added accessKey IDL attribute.
2262         * html/HTMLInputElement.cpp:
2263         (WebCore::HTMLInputElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2264         * html/HTMLInputElement.h: Ditto
2265         * html/HTMLInputElement.idl: Removed redundant IDL attribute entries.
2266         * html/HTMLLabelElement.cpp:
2267         (WebCore::HTMLLabelElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2268         * html/HTMLLabelElement.h: Ditto
2269         * html/HTMLLabelElement.idl: Removed redundant IDL attribute entries.
2270         * html/HTMLLegendElement.cpp:
2271         (WebCore::HTMLLegendElement::accessKeyAction): Renamed variable sendToAnyElement to sendMouseEvents.
2272         * html/HTMLLegendElement.h: Ditto
2273         * html/HTMLLegendElement.idl: Removed redundant IDL attribute entries.
2274         * html/HTMLOptGroupElement.h: Renamed variable sendToAnyElement to sendMouseEvents.
2275         * html/HTMLSelectElement.cpp:
2276         (WebCore::HTMLSelectElement::accessKeyAction): Ditto
2277         * html/HTMLSelectElement.h: Ditto
2278         * html/HTMLTextAreaElement.h: Ditto
2279         * html/HTMLTextAreaElement.idl: Removed redundant IDL attribute entries.
2280         * html/HiddenInputType.h: Renamed variable sendToAnyElement to sendMouseEvents.
2281         * html/InputType.h: Ditto
2282         * html/RangeInputType.cpp:
2283         (WebCore::RangeInputType::accessKeyAction): Ditto
2284         * html/RangeInputType.h: Ditto
2285
2286 2011-11-18  Simon Fraser  <simon.fraser@apple.com>
2287
2288         Appearance of compound transform animations under apps linked on SnowLeopard is incorrect
2289         https://bugs.webkit.org/show_bug.cgi?id=72641
2290         and
2291         <rdar://problem/10314267>
2292
2293         Reviewed by Dean Jackson.
2294
2295         GraphicsLayerCA contains a "linked on or after" check to account for a bug in
2296         Core Animation on SnowLeopard and earlier, which is that CA would apply the list
2297         of animations in reverse order.
2298         
2299         Our previous fix was incorrect, because it only adjusted the 'additive' property
2300         of the animation list based on ordering, rather than flipping the entire list.
2301         This change reverses the list of animations before giving them to CA, which fixes
2302         the bug.
2303                 
2304         Test: animations/additive-transform-animations.html
2305
2306         * platform/graphics/ca/GraphicsLayerCA.cpp:
2307         (WebCore::GraphicsLayerCA::appendToUncommittedAnimations):
2308         (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
2309         * platform/graphics/ca/GraphicsLayerCA.h:
2310
2311 2011-11-18  Tim Horton  <timothy_horton@apple.com>
2312
2313         -webkit-cross-fade rendered incorrectly in overflow divs
2314         https://bugs.webkit.org/show_bug.cgi?id=72693
2315         <rdar://problem/10468564>
2316
2317         Reviewed by Simon Fraser.
2318
2319         Respect the desired source rectangle when rendering the cross-fade.
2320
2321         Test: css3/images/cross-fade-overflow-position.html
2322
2323         * platform/graphics/CrossfadeGeneratedImage.cpp:
2324         (WebCore::CrossfadeGeneratedImage::drawCrossfade):
2325         (WebCore::CrossfadeGeneratedImage::draw):
2326         (WebCore::CrossfadeGeneratedImage::drawPattern):
2327         * platform/graphics/CrossfadeGeneratedImage.h:
2328
2329 2011-11-18  Raphael Kubo da Costa  <kubo@profusion.mobi>
2330
2331         Unreviewed build fix; r100686 broke the EFL build when Geolocation
2332         support is enabled.
2333
2334         * platform/efl/GeolocationServiceEfl.cpp: Only declare
2335         s_factoryFunction if CLIENT_BASED_GEOLOCATION is off, otherwise it is
2336         also declared in GeolocationService.cpp.
2337
2338 2011-11-18  Igor Oliveira  <igor.oliveira@openbossa.org>
2339
2340         [TextureMapper] computePerspectiveTransformIfNeeded is called twice in TextureMapperNode::syncCompositingState
2341         https://bugs.webkit.org/show_bug.cgi?id=72727
2342
2343         TextureMapperNode::computeAllTransforms already has a call to TextureMapperNode::computePerspectiveTransformIfNeeded,
2344         so it does not need to be called again after TextureMapperNode::computeAllTransforms.
2345
2346         Reviewed by Noam Rosenthal.
2347
2348         * platform/graphics/texmap/TextureMapperNode.cpp:
2349         (WebCore::TextureMapperNode::syncCompositingState):
2350
2351 2011-11-18  Mihnea Ovidenie  <mihnea@adobe.com>
2352
2353         Fix compilation warning in ComplexTextControllerCoreText.mm
2354         https://bugs.webkit.org/show_bug.cgi?id=72702
2355
2356         Reviewed by Andreas Kling.
2357
2358         No functionality changed, so no new tests.
2359
2360         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
2361         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):
2362
2363 2011-11-18  Pavel Feldman  <pfeldman@google.com>
2364
2365         Not reviewed: restore front-end compilability via updating externs and JS generator.
2366
2367         * inspector/front-end/ElementsPanel.js:
2368         (WebInspector.ElementsPanel.prototype.jumpToNextSearchResult):
2369         (WebInspector.ElementsPanel.prototype.jumpToPreviousSearchResult):
2370         * inspector/front-end/externs.js:
2371         (WebInspector.showPanelForAnchorNavigation):
2372         * inspector/generate-protocol-externs:
2373
2374 2011-11-17  Pavel Feldman  <pfeldman@google.com>
2375
2376         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
2377         https://bugs.webkit.org/show_bug.cgi?id=72621
2378
2379         We should align the way we dispatch messages from the front-end to backend across the environments:
2380           - WebKit has it synchronoulsly
2381           - Chromium has it asynchronously
2382           - Remote debugging has it asynchronously
2383         Making it asynchronous made a number of flaky Qt tests pass.
2384
2385         Tests uncovered console agent problem that was also fixed.
2386
2387         Reviewed by Yury Semikhatsky.
2388
2389         * inspector/InspectorConsoleAgent.cpp:
2390         (WebCore::InspectorConsoleAgent::clearFrontend):
2391         * inspector/InspectorFrontendClient.h:
2392         * inspector/InspectorFrontendClientLocal.cpp:
2393         (WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
2394         (WebCore::InspectorBackendDispatchTask::dispatch):
2395         (WebCore::InspectorBackendDispatchTask::reset):
2396         (WebCore::InspectorBackendDispatchTask::onTimer):
2397         (WebCore::InspectorFrontendClientLocal::InspectorFrontendClientLocal):
2398         (WebCore::InspectorFrontendClientLocal::windowObjectCleared):
2399         (WebCore::InspectorFrontendClientLocal::sendMessageToBackend):
2400         * inspector/InspectorFrontendClientLocal.h:
2401
2402 2011-11-18  Iain Merrick  <husky@google.com>
2403
2404         [chromium] Pass screen refresh rate into compositor.
2405         https://bugs.webkit.org/show_bug.cgi?id=71040
2406
2407         Reviewed by Tony Gentilcore.
2408
2409         Covered by CCLayerTreeHostTest.
2410
2411         * platform/PlatformScreen.h:
2412         * platform/chromium/PlatformScreenChromium.cpp:
2413         (WebCore::screenRefreshRate):
2414         * platform/chromium/PlatformSupport.h:
2415         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2416         (WebCore::CCSettings::CCSettings):
2417         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2418         (WebCore::CCThreadProxy::initializeImplOnImplThread):
2419
2420 2011-11-18  Alexandru Chiculita  <achicu@adobe.com>
2421
2422         [CSSShaders] Implement the computed style for mesh parameters of the custom() filter
2423         https://bugs.webkit.org/show_bug.cgi?id=72478
2424
2425         Reviewed by Dean Jackson.
2426
2427         Added parsing and computed style for the mesh rows, columns, mesh box type 
2428         (filter-box, border-box, content-box and padding-box) and the detached mode.
2429         
2430         Also fixed a case where "custom(none, 10, 10 filter-box)" was incorrectly
2431         treated as "custom(none, 10)".
2432
2433         * css/CSSComputedStyleDeclaration.cpp:
2434         (WebCore::CSSComputedStyleDeclaration::valueForFilter):
2435         * css/CSSParser.cpp:
2436         (WebCore::CSSParser::parseCustomFilter): Fixed a case where invalid syntax was parsed as correct syntax.
2437         * css/CSSPrimitiveValueMappings.h:
2438         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
2439         (WebCore::CSSPrimitiveValue::operator CustomFilterOperation::MeshBoxType):
2440         * css/CSSStyleSelector.cpp:
2441         (WebCore::CSSStyleSelector::createCustomFilterOperation):
2442         * css/CSSValueList.h:
2443         (WebCore::CSSValueListIterator::isPrimitiveValue):
2444         * platform/graphics/filters/CustomFilterOperation.h:
2445
2446 2011-11-18  Adam Barth  <abarth@webkit.org>
2447
2448         Remove unneeded include (and ifdef) from V8DOMWindowCustom.cpp
2449         https://bugs.webkit.org/show_bug.cgi?id=72705
2450
2451         Reviewed by Eric Seidel.
2452
2453         Death to ifdefs!
2454
2455         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2456
2457 2011-11-18  Adam Barth  <abarth@webkit.org>
2458
2459         Move some mediastream related files into the mediastream directory
2460         https://bugs.webkit.org/show_bug.cgi?id=72695
2461
2462         Reviewed by Eric Seidel.
2463
2464         Just moving the files to the proper directory.
2465
2466         * GNUmakefile.list.am:
2467         * WebCore.gypi:
2468         * mediastream/NavigatorUserMediaError.h: Renamed from Source/WebCore/page/NavigatorUserMediaError.h.
2469         (WebCore::NavigatorUserMediaError::create):
2470         (WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
2471         (WebCore::NavigatorUserMediaError::code):
2472         (WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
2473         * mediastream/NavigatorUserMediaError.idl: Renamed from Source/WebCore/page/NavigatorUserMediaError.idl.
2474         * mediastream/NavigatorUserMediaErrorCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.h.
2475         (WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
2476         * mediastream/NavigatorUserMediaErrorCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaErrorCallback.idl.
2477         * mediastream/NavigatorUserMediaSuccessCallback.h: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.h.
2478         (WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
2479         * mediastream/NavigatorUserMediaSuccessCallback.idl: Renamed from Source/WebCore/page/NavigatorUserMediaSuccessCallback.idl.
2480
2481 2011-11-18  Andrey Kosyakov  <caseq@chromium.org>
2482
2483         Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon
2484         https://bugs.webkit.org/show_bug.cgi?id=45955
2485
2486         Reviewed by Pavel Feldman.
2487
2488         * inspector/front-end/ExtensionAPI.js:
2489         (injectedExtensionAPI.ExtensionPanelImpl.prototype.createStatusBarButton):
2490         (injectedExtensionAPI):
2491         (injectedExtensionAPI.ButtonImpl.prototype.update):
2492         * inspector/front-end/ExtensionPanel.js:
2493         (WebInspector.ExtensionPanel):
2494         (WebInspector.ExtensionPanel.prototype.get statusBarItems):
2495         (WebInspector.ExtensionPanel.prototype.addStatusBarItem):
2496         (WebInspector.ExtensionButton):
2497         (WebInspector.ExtensionButton.prototype.update):
2498         (WebInspector.ExtensionButton.prototype._onClicked):
2499         * inspector/front-end/ExtensionServer.js:
2500         (WebInspector.ExtensionServer):
2501         (WebInspector.ExtensionServer.prototype.notifyButtonClicked):
2502         (WebInspector.ExtensionServer.prototype._onCreateStatusBarButton):
2503         (WebInspector.ExtensionServer.prototype._onUpdateButton):
2504         (WebInspector.ExtensionServer.prototype._onCreateSidebarPane):
2505         * inspector/front-end/inspector.css:
2506         (button.status-bar-item.extension):
2507
2508 2011-11-18  Tommy Widenflycht  <tommyw@google.com>
2509
2510         MediaStream API: Merging the PeerConnectionHandler.h files
2511         https://bugs.webkit.org/show_bug.cgi?id=72611
2512
2513         Reviewed by Adam Barth.
2514
2515         No actual code changes.
2516
2517         * GNUmakefile.am:
2518         * GNUmakefile.list.am:
2519         * WebCore.gyp/WebCore.gyp:
2520         * WebCore.gypi:
2521         * platform/mediastream/PeerConnectionHandler.h: Renamed from Source/WebCore/platform/mediastream/chromium/PeerConnectionHandler.h.
2522         * platform/mediastream/gstreamer/PeerConnectionHandler.h: Removed.
2523
2524 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
2525
2526         [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
2527         https://bugs.webkit.org/show_bug.cgi?id=72597
2528
2529         Reviewed by Kenneth Rohde Christiansen.
2530
2531         Moved code that queries the third party cookie policy from QWebSettings
2532         out of WebCore. Instead NetworkingContext has now the interface that allows
2533         delegating the functionality into WebKit/qt.
2534
2535         In order to do that we need to pass the NetworkingContext around, which is used to
2536         retrieve the cookie jar and the originating frame object pointer.
2537
2538         * platform/network/NetworkingContext.h: Add interface.
2539         * platform/network/qt/QNetworkReplyHandler.cpp:
2540         (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): Pass NetworkingContext to ResourceRequest::toNetworkRequest.
2541         (WebCore::QNetworkReplyHandler::redirect): Ditto.
2542         * platform/network/qt/ResourceRequest.h: Replaced originatingObject parameter with NetworkingContext, which can
2543         also provide the same plus more (cookie jar, policy callback).
2544         * platform/network/qt/ResourceRequestQt.cpp:
2545         (WebCore::ResourceRequest::toNetworkRequest): Ditto.
2546         * platform/qt/CookieJarQt.cpp: Simplify to use NetworkingContext to get cookie jar and
2547         call new thirdPartyCookiePolicyPermits API that takes the context as parameter.
2548         (WebCore::networkingContext):
2549         (WebCore::setCookies):
2550         (WebCore::cookies):
2551         (WebCore::cookieRequestHeaderFieldValue):
2552         (WebCore::cookiesEnabled):
2553         * platform/qt/ThirdPartyCookiesQt.cpp: Replace up-casting to QWebFrame and use of QWebSettings
2554         with useage of NetworkingContext.
2555         (WebCore::thirdPartyCookiePolicyPermits):
2556         * platform/qt/ThirdPartyCookiesQt.h:
2557
2558 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
2559
2560         crash: WebCore::FontPlatformData::roundsGlyphAdvances on Lion
2561         https://bugs.webkit.org/show_bug.cgi?id=71997
2562
2563         Reviewed by Dan Bernstein.
2564
2565         The cause is a null dereference of a fontData that is stored in
2566         ComplexTextRun. The fontData is initialized by using the
2567         fontCache, but it could be null when the font is in fallback
2568         list. The reason a font from the fallback list might not be in the
2569         font Cache is that it may be a web font. Before looking up the
2570         fontCache, try to see whether the font is in the fallback list.
2571
2572         No new tests. We don't have webfonts that can produce the problem.
2573
2574         * platform/graphics/mac/ComplexTextControllerCoreText.mm:
2575         (WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText): See fallback list first, then lookup cache.
2576
2577 2011-11-17  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2578
2579         Remove initProgressEvent method
2580         https://bugs.webkit.org/show_bug.cgi?id=71340
2581
2582         Reviewed by Adam Barth.
2583
2584         This method has been removed from the spec draft.
2585         http://www.w3.org/TR/progress-events/#interface-progressevent
2586
2587         No new tests. Removed method.
2588
2589         * dom/ProgressEvent.cpp:
2590         * dom/ProgressEvent.h:
2591         * dom/ProgressEvent.idl:
2592
2593 2011-11-17  Eunmi Lee  <eunmi15.lee@samsung.com>
2594
2595         [EFL] Move keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() to the
2596         EflKeyboardUtilities.cpp to use in the WebKit2
2597         https://bugs.webkit.org/show_bug.cgi?id=62451
2598
2599         Reviewed by Martin Robinson.
2600
2601         The keyIdentifierForEvasKeyName() and windowsKeyCodeForEvasKeyName() were static functions
2602         in the PlatformKeyboardEventEfl.cpp. But they are also needed in the WebKit2 EFL port, so I
2603         moved them to the separated file - EflKeyboardUtilities.cpp.
2604
2605         * PlatformEfl.cmake:
2606         * platform/efl/EflKeyboardUtilities.cpp: Copied from Source/WebCore/platform/efl/PlatformKeyboardEventEfl.cpp.
2607         (WebCore::createKeyMap):
2608         (WebCore::createWindowsKeyMap):
2609         (WebCore::keyIdentifierForEvasKeyName):
2610         (WebCore::windowsKeyCodeForEvasKeyName):
2611         * platform/efl/EflKeyboardUtilities.h: Added.
2612         * platform/efl/PlatformKeyboardEventEfl.cpp:
2613
2614 2011-11-17  Martin Robinson  <mrobinson@igalia.com>
2615
2616         [GTK] The process freezes when you right click on windowless Flash
2617         https://bugs.webkit.org/show_bug.cgi?id=69123
2618
2619         Reviewed by Xan Lopez.
2620
2621         No new tests. I tried to create a layout test that exercised this
2622         issue, but it appears that EventSender clicks do not trigger
2623         it. This is covered by the manual tests containing Flash.
2624
2625         * plugins/PluginPackage.cpp:
2626         (WebCore::PluginPackage::determineQuirks): Always activate the
2627         windowless Flash quirk if on x86_64 and X11.
2628         * plugins/gtk/PluginViewGtk.cpp:
2629         (WebCore::PluginView::handleMouseEvent): Avoid sending right-click
2630         events if we have the quirk.
2631
2632 2011-11-17  Peter Rybin  <peter.rybin@gmail.com>
2633
2634         Web Inspector: clear fixme in generator script
2635         https://bugs.webkit.org/show_bug.cgi?id=71372
2636
2637         Remove unnecessary field name map and update license year number.
2638
2639         Reviewed by Pavel Feldman.
2640
2641         * inspector/CodeGeneratorInspector.py:
2642
2643 2011-11-17  Raphael Kubo da Costa  <kubo@profusion.mobi>
2644
2645         [EFL] Clean up the use of DATA_DIR in the buildsystem
2646         https://bugs.webkit.org/show_bug.cgi?id=72681
2647
2648         Reviewed by Daniel Bates.
2649
2650         Add the -DDATA_DIR definition here instead of defining it globally in
2651         OptionsEfl.cmake, as WebCore is the only place which needs it.
2652
2653         No new tests, this is a buildsystem change.
2654
2655         * PlatformEfl.cmake:
2656
2657 2011-11-17  Adam Klein  <adamk@chromium.org>
2658
2659         Move JS recursion counter from V8Proxy to V8BindingPerIsolateData
2660         https://bugs.webkit.org/show_bug.cgi?id=72645
2661
2662         Reviewed by Adam Barth.
2663
2664         With the JS recursion level stored as a member of V8Proxy, it's tied
2665         to a frame. But this is incorrect, as there's no reason that a JS call
2666         stack need be restricted to a single frame (see my new test case for
2667         an example of code going across frames).
2668
2669         In order to get the correct accounting of JS recursion level, per-Isolate
2670         is the right granularity (per dslomov), which is what this patch accomplishes.
2671
2672         Test: storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html
2673
2674         * bindings/v8/V8Binding.cpp:
2675         (WebCore::V8BindingPerIsolateData::V8BindingPerIsolateData):
2676         * bindings/v8/V8Binding.h:
2677         (WebCore::V8BindingPerIsolateData::recursionLevel):
2678         (WebCore::V8BindingPerIsolateData::incrementRecursionLevel):
2679         (WebCore::V8BindingPerIsolateData::decrementRecursionLevel):
2680         (WebCore::V8RecursionScope::V8RecursionScope):
2681         (WebCore::V8RecursionScope::~V8RecursionScope):
2682         * bindings/v8/V8Proxy.cpp:
2683         (WebCore::incrementRecursionLevel):
2684         (WebCore::decrementRecursionLevel):
2685         (WebCore::recursionLevel):
2686         (WebCore::V8Proxy::V8Proxy):
2687         (WebCore::V8Proxy::runScript):
2688         (WebCore::V8Proxy::callFunction):
2689         (WebCore::V8Proxy::didLeaveScriptContext):
2690         * bindings/v8/V8Proxy.h:
2691
2692 2011-11-17  Robin Cao  <robin.cao@torchmobile.com.cn>
2693
2694         [chromium] Font::drawComplexText can not draw a segment of text run
2695         https://bugs.webkit.org/show_bug.cgi?id=72095
2696
2697         Reviewed by Adam Barth.
2698
2699         drawComplexText() should respect the 'from' and 'to' arguments.
2700         Drawing the whole text run may result in text overlapping.
2701
2702         Test: platform/chromium-linux/fast/text/international/draw-complex-text-from-to.html
2703
2704         * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
2705         (WebCore::ComplexTextController::glyphsForRange):
2706         * platform/graphics/chromium/ComplexTextControllerLinux.h:
2707         * platform/graphics/chromium/FontLinux.cpp:
2708         (WebCore::Font::drawComplexText):
2709
2710 2011-11-17  Adam Barth  <abarth@webkit.org>
2711
2712         Unique SecurityOrigins shouldn't remember their old schemes and hosts
2713         https://bugs.webkit.org/show_bug.cgi?id=71745
2714
2715         Reviewed by Darin Adler.
2716
2717         This is the final step in this series of patches.
2718
2719         This patch removes the forceUnique flag from SecurityOrigin::create.
2720         Now, we create unique origins without passing in the document's URL,
2721         preventing information from the document's URL from leaking into the
2722         unique origin.
2723
2724         * WebCore.exp.in:
2725         * dom/Document.cpp:
2726         (WebCore::Document::setIsViewSource):
2727         (WebCore::Document::initSecurityContext):
2728         * loader/cache/MemoryCache.cpp:
2729         (WebCore::MemoryCache::getOriginsWithCache):
2730             - Update this callsite to use createFromString, which does exactly
2731               what this code is doing manually.
2732         * page/SecurityOrigin.cpp:
2733         (WebCore::SecurityOrigin::create):
2734         * page/SecurityOrigin.h:
2735
2736 2011-11-17  Vincent Scheib  <scheib@chromium.org>
2737
2738         Pointer Lock: Page Settings unecessary
2739         https://bugs.webkit.org/show_bug.cgi?id=72662
2740
2741         Reviewed by Darin Fisher.
2742
2743         No new tests.
2744
2745         * page/Settings.cpp:
2746         (WebCore::Settings::Settings):
2747         * page/Settings.h:
2748
2749 2011-11-17  James Robinson  <jamesr@chromium.org>
2750
2751         [chromium] Disable incremental uploading in threaded compositing path
2752         https://bugs.webkit.org/show_bug.cgi?id=72669
2753
2754         Reviewed by Kenneth Russell.
2755
2756         Since we don't currently support atomic incremental uploads, incremental uploads in the threaded path result in
2757         very strange-looking texture popping as tiles come in on pages that require more than 16 tile uploads per frame.
2758         This disables that logic (by setting the upload limit per frame to 99999) until we handle the incremental
2759         updates in an atomic fashion.
2760
2761         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2762         (WebCore::CCThreadProxy::scheduledActionUpdateMoreResources):
2763
2764 2011-11-06  Nat Duca  <nduca@chromium.org>
2765
2766         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
2767         https://bugs.webkit.org/show_bug.cgi?id=71638
2768
2769         Reviewed by James Robinson.
2770
2771         * platform/graphics/chromium/cc/CCThreadProxy.cpp:
2772         (WebCore::CCThreadProxy::CCThreadProxy):
2773         (WebCore::CCThreadProxy::setNeedsAnimate):
2774         (WebCore::CCThreadProxy::beginFrameAndCommit):
2775
2776 2011-11-17  Adam Barth  <abarth@webkit.org>
2777
2778         Remove bogus ASSERT.
2779
2780         * page/SecurityOrigin.cpp:
2781         (WebCore::SecurityOrigin::SecurityOrigin):
2782
2783 2011-11-17  Peter Kasting  <pkasting@google.com>
2784
2785         Unreviewed, rolling out r100698.
2786         http://trac.webkit.org/changeset/100698
2787         https://bugs.webkit.org/show_bug.cgi?id=72239
2788
2789         This change wasn't the problem either.
2790
2791         * dom/Document.cpp:
2792         (WebCore::Document::implicitClose):
2793
2794 2011-11-17  David Reveman  <reveman@chromium.org>
2795
2796         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
2797         https://bugs.webkit.org/show_bug.cgi?id=72630
2798
2799         Reviewed by James Robinson.
2800
2801         Layer property changes during paintContent() can leave the layer
2802         in an invalid state as paintContentsIfDirty() has been called
2803         without a matching updateCompositorResources() call. Removing
2804         conditionals around these calls ensure they are balanced.
2805
2806         This patch is tested by the following unit test:
2807         - CCLayerTreeHostTestOpacityChange.runMultiThread
2808
2809         * platform/graphics/chromium/ContentLayerChromium.cpp:
2810         (WebCore::ContentLayerChromium::paintContentsIfDirty):
2811         * platform/graphics/chromium/VideoLayerChromium.cpp:
2812         (WebCore::VideoLayerChromium::updateCompositorResources):
2813         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
2814         (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
2815         (WebCore::CCLayerTreeHost::paintLayerContents):
2816         (WebCore::CCLayerTreeHost::updateCompositorResources):
2817         * platform/graphics/chromium/cc/CCLayerTreeHost.h:
2818
2819 2011-11-17  Peter Kasting  <pkasting@google.com>
2820
2821         Unreviewed, rolling out r100584.
2822         http://trac.webkit.org/changeset/100584
2823         https://bugs.webkit.org/show_bug.cgi?id=72239
2824
2825         See if this change caused Linux dbg crashes.
2826
2827         * dom/Document.cpp:
2828         (WebCore::Document::implicitClose):
2829
2830 2011-11-17  Adam Barth  <abarth@webkit.org>
2831
2832         Remove cargo-cult copy/pasting of ScriptExecutionContext namespace
2833         https://bugs.webkit.org/show_bug.cgi?id=72676
2834
2835         Reviewed by Eric Seidel.
2836
2837         It looks like this cargo-cult started with initDNSPrefetch being hacked
2838         into setSecurityOrigin.  I've removed this hack along with the
2839         copy/paste code.
2840
2841         * dom/DOMImplementation.cpp:
2842         * dom/Document.cpp:
2843         (WebCore::Document::setIsViewSource):
2844         (WebCore::Document::open):
2845         (WebCore::Document::initSecurityContext):
2846         (WebCore::Document::setSecurityOrigin):
2847         * dom/Document.h:
2848         * xml/XSLTProcessor.cpp:
2849
2850 2011-11-17  Peter Kasting  <pkasting@google.com>
2851
2852         Unreviewed, rolling out r100676.
2853         http://trac.webkit.org/changeset/100676
2854         https://bugs.webkit.org/show_bug.cgi?id=72393
2855
2856         Looks like r100572 was not the source of the crashes.
2857
2858         * bindings/js/ScriptDebugServer.cpp:
2859         (WebCore::ScriptDebugServer::canSetScriptSource):
2860         * bindings/js/ScriptDebugServer.h:
2861         * bindings/v8/ScriptDebugServer.cpp:
2862         (WebCore::ScriptDebugServer::stepOutOfFunction):
2863         (WebCore::ScriptDebugServer::canSetScriptSource):
2864         * bindings/v8/ScriptDebugServer.h:
2865         * inspector/CodeGeneratorInspector.py:
2866         * inspector/Inspector.json:
2867         * inspector/InspectorDebuggerAgent.cpp:
2868         (WebCore::InspectorDebuggerAgent::getCapabilities):
2869         * inspector/InspectorDebuggerAgent.h:
2870         * inspector/front-end/DebuggerModel.js:
2871         (WebInspector.DebuggerModel):
2872         (WebInspector.DebuggerModel.prototype.enableDebugger):
2873         (WebInspector.DebuggerModel.prototype.disableDebugger):
2874         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
2875         * inspector/front-end/DebuggerPresentationModel.js:
2876         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
2877         * inspector/front-end/Settings.js:
2878
2879 2011-11-17  Konstantin Scheglov  <scheglov@google.com>
2880
2881         Absolute child is not repainted when parent opacity changes
2882         https://bugs.webkit.org/show_bug.cgi?id=68777
2883
2884         Reviewed by Simon Fraser.
2885
2886         First time when we change opacity for parent we don't have layer, so
2887         diff=StyleDifferenceRepaint is used instead of diff=StyleDifferenceRepaintLayer.
2888         Layer is created later, in styleDidChange().
2889         So, when we recalculate later diff, we now check for diff=StyleDifferenceRepaintLayer and
2890         performs repaintIncludingDescendants().
2891
2892         Test: fast/layers/layer-absolute-parent-opacity.html
2893
2894         * rendering/RenderObject.cpp:
2895         (WebCore::RenderObject::setStyle): Call repaintIncludingDescendants() instead of repaint().
2896         * rendering/style/RenderStyle.cpp:
2897         (WebCore::RenderStyle::diff): Add ContextSensitivePropertyOpacity when change opacity.
2898
2899 2011-11-17  Nate Chapin  <japhet@chromium.org>
2900
2901         r100311 dropped a RefPtr that is very
2902         helpful. Add it back.
2903         https://bugs.webkit.org/show_bug.cgi?id=72647
2904
2905         Reviewed by Adam Barth.
2906
2907         http/tests/misc/xslt-bad-import.html should
2908         stop crashing in full chromium builds.
2909
2910         * loader/cache/CachedResourceLoader.cpp:
2911         (WebCore::CachedResourceLoader::loadDone):
2912
2913 2011-11-17  Adam Barth  <abarth@webkit.org>
2914
2915         Refactor SecurityOrigin::create to be easier to understand
2916         https://bugs.webkit.org/show_bug.cgi?id=72342
2917
2918         Reviewed by Eric Seidel.
2919
2920         Over time, the SecurityOrigin constructor has grown a bit out of
2921         control.  This patch attempts to separate the different concerns into
2922         free functions.  The general approach is to put more logic in the
2923         "create" function and introduce a simple constructor for unique
2924         origins.
2925
2926         This patch shouldn't change any behavior.
2927
2928         * page/SecurityOrigin.cpp:
2929         (WebCore::schemeRequiresAuthority):
2930         (WebCore::shouldUseInnerURL):
2931         (WebCore::extractInnerURL):
2932         (WebCore::isDirectory):
2933         (WebCore::shouldTreatAsUniqueOrigin):
2934         (WebCore::SecurityOrigin::SecurityOrigin):
2935         (WebCore::SecurityOrigin::create):
2936         (WebCore::SecurityOrigin::createUnique):
2937         (WebCore::SecurityOrigin::databaseIdentifier):
2938         * page/SecurityOrigin.h:
2939
2940 2011-11-17  Shawn Singh  <shawnsingh@chromium.org>
2941
2942         [chromium] Fix minor style nit in CCLayerImpl
2943         https://bugs.webkit.org/show_bug.cgi?id=71070
2944
2945         Reviewed by James Robinson.
2946
2947         Fixes if-statements on several settors to follow WebKit
2948         conventions. Existing CCLayerImplTest unit tests already cover
2949         this change.
2950
2951         * platform/graphics/chromium/cc/CCLayerImpl.cpp:
2952         (WebCore::CCLayerImpl::setBounds):
2953         (WebCore::CCLayerImpl::setMaskLayer):
2954         (WebCore::CCLayerImpl::setReplicaLayer):
2955         (WebCore::CCLayerImpl::setDrawsContent):
2956         (WebCore::CCLayerImpl::setAnchorPoint):
2957         (WebCore::CCLayerImpl::setAnchorPointZ):
2958         (WebCore::CCLayerImpl::setBackgroundColor):
2959         (WebCore::CCLayerImpl::setMasksToBounds):
2960         (WebCore::CCLayerImpl::setOpaque):
2961         (WebCore::CCLayerImpl::setOpacity):
2962         (WebCore::CCLayerImpl::setPosition):
2963         (WebCore::CCLayerImpl::setPreserves3D):
2964         (WebCore::CCLayerImpl::setZoomAnimatorTransform):
2965         (WebCore::CCLayerImpl::setSublayerTransform):
2966         (WebCore::CCLayerImpl::setTransform):
2967         (WebCore::CCLayerImpl::setDebugBorderColor):
2968         (WebCore::CCLayerImpl::setDebugBorderWidth):
2969         (WebCore::CCLayerImpl::setContentBounds):
2970         (WebCore::CCLayerImpl::setScrollPosition):
2971         (WebCore::CCLayerImpl::setScrollDelta):
2972         (WebCore::CCLayerImpl::setScaleDelta):
2973         (WebCore::CCLayerImpl::setDoubleSided):
2974
2975 2011-11-17  Michael Saboff  <msaboff@apple.com>
2976
2977         Leaks seen in MemoryPressureHandlerMac.mm on Leaks bot
2978         https://bugs.webkit.org/show_bug.cgi?id=72416
2979
2980         Added code to release _cache_event_source and _timer_event_source
2981         after they are canceled.  Also added defensive code to
2982         clean up the _timer_event_source in uninstall().
2983
2984         Reviewed by Geoffrey Garen.
2985
2986         No new tests, fixing leaks caught by leaks bot.
2987
2988         * platform/mac/MemoryPressureHandlerMac.mm:
2989         (WebCore::MemoryPressureHandler::uninstall):
2990         (WebCore::MemoryPressureHandler::holdOff):
2991
2992 2011-11-17  Ken Buchanan <kenrb@chromium.org>
2993
2994         Crash from positioned generated content under run-in
2995         https://bugs.webkit.org/show_bug.cgi?id=70456
2996
2997         Reviewed by David Hyatt.
2998
2999         Modified handling of run-in children to clear generated children
3000         before removing the parent from the render tree. This caused problems
3001         with absolute positioned children being not properly removed from the
3002         positioned object list of the RenderView.
3003
3004         * rendering/RenderBlock.cpp:
3005         (WebCore::RenderBlock::handleRunInChild):
3006
3007 2011-11-17  Peter Kasting  <pkasting@google.com>
3008
3009         Unreviewed, rolling out r100572.
3010         https://bugs.webkit.org/show_bug.cgi?id=72393
3011         https://bugs.webkit.org/show_bug.cgi?id=72651
3012
3013         May have caused seg faults on Chromium Linux dbg bot.
3014
3015         * bindings/js/ScriptDebugServer.cpp:
3016         * bindings/js/ScriptDebugServer.h:
3017         * bindings/v8/ScriptDebugServer.cpp:
3018         (WebCore::ScriptDebugServer::stepOutOfFunction):
3019         * bindings/v8/ScriptDebugServer.h:
3020         * inspector/CodeGeneratorInspector.py:
3021         * inspector/Inspector.json:
3022         * inspector/InspectorDebuggerAgent.cpp:
3023         * inspector/InspectorDebuggerAgent.h:
3024         * inspector/front-end/DebuggerModel.js:
3025         (WebInspector.DebuggerModel):
3026         (WebInspector.DebuggerModel.prototype.enableDebugger):
3027         (WebInspector.DebuggerModel.prototype.disableDebugger):
3028         * inspector/front-end/DebuggerPresentationModel.js:
3029         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
3030         * inspector/front-end/Settings.js:
3031
3032 2011-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3033
3034         Unreviewed, rolling out r100652.
3035         http://trac.webkit.org/changeset/100652
3036         https://bugs.webkit.org/show_bug.cgi?id=72648
3037
3038         "Caused outline-offset-min-assert.html to assert on debug
3039         builds" (Requested by mwenge2 on #webkit).
3040
3041         * rendering/RenderObject.cpp:
3042         (WebCore::RenderObject::paintOutline):
3043
3044 2011-11-17  Mark Rowe  <mrowe@apple.com>
3045
3046         <http://webkit.org/b/72637> Stop performing runtime version checks on OS versions where the check can never possibly fail.
3047
3048         Reviewed by Simon Fraser.
3049
3050         * platform/graphics/cg/ImageBufferDataCG.cpp:
3051         (WebCore::haveVImageRoundingErrorFix): When not targeting Snow Leopard we always have the fix.
3052
3053 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
3054
3055         AX: The scrollArea is not correctly returning the scrollbars
3056         https://bugs.webkit.org/show_bug.cgi?id=70247
3057
3058         Reviewed by Beth Dakin.
3059
3060         A few bugs that were preventing this from working.
3061            1) In accessibilityAttributeValue: when an element did not have a renderer() we were returning earlier than we should have
3062            2) We were not updating and clearing the scrollbars correctly when children were cleared or when asked for.
3063
3064         Test: platform/mac/accessibility/scrollbars.html
3065
3066         * accessibility/AccessibilityScrollView.cpp:
3067         (WebCore::AccessibilityScrollView::scrollBar):
3068         (WebCore::AccessibilityScrollView::clearChildren):
3069         * accessibility/AccessibilityScrollView.h:
3070         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
3071         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
3072
3073 2011-11-14  Adam Barth  <abarth@webkit.org>
3074
3075         Unique origins shouldn't remember their scheme, host, or port
3076         https://bugs.webkit.org/show_bug.cgi?id=72308
3077
3078         Reviewed by Eric Seidel.
3079
3080         This patch contains the bulk (all?) of the behavior differences in this
3081         patch series.  Unique origins shouldn't remember their schemes.  Doing
3082         so causes some privileges (e.g., local access) to leak into unique
3083         origins.
3084
3085         * page/SecurityOrigin.cpp:
3086         (WebCore::SecurityOrigin::SecurityOrigin):
3087             - Explicitly clear out the protocol, host, and port for unique
3088               origins.  A future patch will refactor all this code to be more
3089               elegant.
3090         * platform/SchemeRegistry.cpp:
3091         (WebCore::schemesWithUniqueOrigins):
3092             - Merge "about" and "javascript" in with the general case now that
3093               we don't have a separate notion of an empty origin.
3094
3095 2011-11-17  Chris Fleizach  <cfleizach@apple.com>
3096
3097         AX: cleanup style and naming and code in accessibility search mechanism
3098         https://bugs.webkit.org/show_bug.cgi?id=72570
3099
3100         Reviewed by Beth Dakin.
3101
3102         Cleanup the naming and code style within the element searching mechanism.
3103
3104         * accessibility/AccessibilityObject.cpp:
3105         (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatch):
3106         (WebCore::AccessibilityObject::isAccessibilityTextSearchMatch):
3107         (WebCore::AccessibilityObject::firstAccessibleObjectFromNode):
3108         (WebCore::AccessibilityObject::findMatchingObjects):
3109         * accessibility/AccessibilityObject.h:
3110         * accessibility/mac/WebAccessibilityObjectWrapper.mm:
3111         (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]):
3112
3113 2011-11-17  Julien Chaffraix  <jchaffraix@webkit.org>
3114
3115         CSS table with 100% width can overflow their containing block
3116         https://bugs.webkit.org/show_bug.cgi?id=72180
3117
3118         Reviewed by David Hyatt.
3119
3120         Tests: fast/table/table-in-table-percent-width-collapsing-border-quirks-mode.html
3121                fast/table/table-in-table-percent-width-collapsing-border.html
3122                fast/table/table-in-table-percent-width-quirks-mode.html
3123                fast/table/table-in-table-percent-width.html
3124
3125         After r97555, we would include the borders in a CSS table's logical width even if the 'width'
3126         property was a percent. This does not match what Firefox and IE are doing. Thus don't apply
3127         this behavior to percent 'width'.
3128
3129         * rendering/RenderTable.cpp:
3130         (WebCore::RenderTable::computeLogicalWidth):
3131
3132 2011-11-17  Adrienne Walker  <enne@google.com>
3133
3134         [chromium] Implicitly skip render surfaces that won't be drawn
3135         https://bugs.webkit.org/show_bug.cgi?id=71038
3136
3137         Rather than having redundant checks in three places for how to walk
3138         through a render surface list, instead don't add render surfaces that
3139         don't need to get rendered to the render surface list.
3140
3141         Reviewed by James Robinson.
3142
3143         Covered by existing layout tests and unit tests.
3144
3145         * platform/graphics/chromium/LayerRendererChromium.cpp:
3146         (WebCore::LayerRendererChromium::drawLayersOntoRenderSurfaces):
3147         * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
3148         (WebCore::CCLayerTreeHost::paintLayerContents):
3149         (WebCore::CCLayerTreeHost::updateCompositorResources):
3150         * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
3151         (WebCore::calculateDrawTransformsAndVisibilityInternal):
3152
3153 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
3154
3155         [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
3156         https://bugs.webkit.org/show_bug.cgi?id=72595
3157
3158         Reviewed by Noam Rosenthal.
3159
3160         Removed QWebElement and QtDRTNode usage that reached from WebCore into
3161         WebKit/qt and replaced it with the ability to register custom JSValue
3162         conversion functions. The old code has been moved to WebKit/qt.
3163
3164         * bridge/qt/qt_instance.cpp:
3165         (JSC::Bindings::QtInstance::QtInstance): Remove unnecessary meta type registration
3166         (now done in QtWebElementRuntime::initialize in WebKit/qt).
3167         * bridge/qt/qt_runtime.cpp:
3168         (JSC::Bindings::registerCustomType):
3169         (JSC::Bindings::convertValueToQVariant):
3170         (JSC::Bindings::convertQVariantToValue):
3171         * bridge/qt/qt_runtime.h:
3172
3173 2011-11-17  Fady Samuel  <fsamuel@chromium.org>
3174
3175         Pass Aspect Ratio to RenderStyle
3176         https://bugs.webkit.org/show_bug.cgi?id=72350
3177
3178         Reviewed by Ojan Vafai.
3179
3180         * css/CSSComputedStyleDeclaration.cpp:
3181         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3182         * css/CSSStyleApplyProperty.cpp:
3183         (WebCore::ApplyPropertyAspectRatio::applyInheritValue):
3184         (WebCore::ApplyPropertyAspectRatio::applyInitialValue):
3185         (WebCore::ApplyPropertyAspectRatio::applyValue):
3186         (WebCore::ApplyPropertyAspectRatio::createHandler):
3187         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
3188         * css/CSSStyleSelector.cpp:
3189         (WebCore::CSSStyleSelector::applyProperty):
3190         * css/CSSValue.h:
3191         (WebCore::CSSValue::isAspectRatioValue):
3192         * rendering/style/RenderStyle.h:
3193         (WebCore::InheritedFlags::hasAspectRatio):
3194         (WebCore::InheritedFlags::aspectRatio):
3195         (WebCore::InheritedFlags::aspectRatioDenominator):
3196         (WebCore::InheritedFlags::aspectRatioNumerator):
3197         (WebCore::InheritedFlags::setHasAspectRatio):
3198         (WebCore::InheritedFlags::setAspectRatioDenominator):
3199         (WebCore::InheritedFlags::setAspectRatioNumerator):
3200         (WebCore::InheritedFlags::initialHasAspectRatio):
3201         (WebCore::InheritedFlags::initialAspectRatioDenominator):
3202         (WebCore::InheritedFlags::initialAspectRatioNumerator):
3203         * rendering/style/StyleRareNonInheritedData.cpp:
3204         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
3205         (WebCore::StyleRareNonInheritedData::operator==):
3206         * rendering/style/StyleRareNonInheritedData.h:
3207
3208 2011-11-09  Robert Hogan  <robert@webkit.org>
3209
3210         CSS 2.1 failure: outline-color-* tests fail
3211         https://bugs.webkit.org/show_bug.cgi?id=71931
3212
3213         Reviewed by Julien Chaffraix.
3214
3215         WebKit wasn't displaying the top block in these tests because it did not paint the outline
3216         of divs with zero size.
3217
3218         * rendering/RenderObject.cpp:
3219         (WebCore::RenderObject::paintOutline): paint the outline even when the block has zero size
3220
3221 2011-11-17  Sergio Villar Senin  <svillar@igalia.com>
3222
3223         [GTK] plugins/get-url-notify-with-url-that-fails-to-load.html on bots after r100466
3224         https://bugs.webkit.org/show_bug.cgi?id=72613
3225
3226         Reviewed by Martin Robinson.
3227
3228         Do not assume that a SoupRequest always exists, it is not
3229         generated for example when the provided URL is
3230         invalid. ResourceHandle::platformSetDefersLoading was crashing
3231         because of that.
3232
3233         * platform/network/soup/ResourceHandleSoup.cpp:
3234         (WebCore::ResourceHandle::platformSetDefersLoading):
3235
3236 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
3237
3238         Web Inspector: Remove onlineDetectionEnabled from Preferences
3239         https://bugs.webkit.org/show_bug.cgi?id=72617
3240
3241         Reviewed by Pavel Feldman.
3242
3243         * inspector/front-end/ApplicationCacheItemsView.js:
3244         (WebInspector.ApplicationCacheItemsView):
3245         (WebInspector.ApplicationCacheItemsView.prototype.get statusBarItems):
3246         * inspector/front-end/Settings.js:
3247
3248 2011-11-17  Ken Buchanan  <kenrb@chromium.org>
3249
3250         Crash from nested tables with generated content
3251         https://bugs.webkit.org/show_bug.cgi?id=68811
3252
3253         Reviewed by David Hyatt.
3254
3255         When adding a child to a table that has generated content, this change
3256         ensures that we leave alone any generated content renderers that belong
3257         to descendants in the tree. They don't need to be touched, and doing so
3258         can create confusion about who the content belongs to.
3259
3260         This patch also simplifies some existing code for finding pseudoelement
3261         renderers. 
3262
3263         * rendering/RenderBlock.cpp:
3264         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
3265         * rendering/RenderObject.cpp:
3266         (WebCore::RenderObject::addChild):
3267         (WebCore::RenderObject::isBeforeAfterContentGeneratedByAncestor): Added
3268         * rendering/RenderObject.h:
3269         (WebCore::RenderObject::findAfterContentRenderer): Deleted
3270         (WebCore::RenderObject::findBeforeContentRenderer): Deleted
3271         * rendering/RenderObjectChildList.cpp:
3272         (WebCore::RenderObjectChildList::beforePseudoElementRenderer):
3273         (WebCore::RenderObjectChildList::afterPseudoElementRenderer):
3274         * rendering/RenderTable.cpp:
3275         (WebCore::RenderTable::addChild):
3276         * rendering/RenderTableRow.cpp:
3277         (WebCore::RenderTableRow::addChild):
3278         * rendering/RenderTableSection.cpp:
3279         (WebCore::RenderTableSection::addChild):
3280
3281 2011-11-17  Patrick Gansterer  <paroga@webkit.org>
3282
3283         Unreviewed WinCE build fix for r94119.
3284
3285         MSVC throws multiply defined symbols linker error when using local class in inline function.
3286
3287         * bindings/js/JSDictionary.h:
3288         (WebCore::JSDictionary::IdentitySetter::identitySetter):
3289         (WebCore::JSDictionary::tryGetProperty):
3290
3291 2011-11-17  Eric Carlson  <eric.carlson@apple.com>
3292
3293         TextTrackList not sorted correctly
3294         https://bugs.webkit.org/show_bug.cgi?id=72545
3295
3296         Reviewed by Darin Adler.
3297
3298         Test: media/track/track-texttracks.html
3299
3300         * WebCore.xcodeproj/project.pbxproj: Add TextTrack.h to WebCore private headers because 
3301             it is included by HTMLMediaElement.h.
3302         * html/LoadableTextTrack.cpp:
3303         (WebCore::LoadableTextTrack::LoadableTextTrack): Pass track type to base class constructor.
3304         (WebCore::LoadableTextTrack::trackElementIndex): New, return the <track> element's tree order
3305             for sorting.
3306         * html/LoadableTextTrack.h:
3307
3308         * html/TextTrack.cpp:
3309         (WebCore::TextTrack::TextTrack): Set track type.
3310         * html/TextTrack.h:
3311         (WebCore::TextTrack::create): Ditto.
3312         (WebCore::TextTrack::trackType): Ditto.
3313
3314         * html/track/TextTrackList.cpp:
3315         (TextTrackList::length): Update to deal with two TextTrack vectors.
3316         (TextTrackList::item): Ditto.
3317         (TextTrackList::append): Ditto.
3318         (TextTrackList::remove): Ditto
3319         * html/track/TextTrackList.h: Store the two types of TextTracks in separate Vectors to make
3320             it simpler to keep them in the correct order.
3321
3322 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
3323
3324         [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
3325         https://bugs.webkit.org/show_bug.cgi?id=72596
3326
3327         Reviewed by Kenneth Rohde Christiansen.
3328
3329         We don't need to use QWebSettings here, because we now propagate the DNS prefetch
3330         setting to WebCore::Settings and the rest of WebCore checks the setting before calling
3331         WebCore::prefetchDNS.
3332
3333         * platform/network/qt/DnsPrefetchHelper.cpp:
3334         (WebCore::prefetchDNS): Removed the use of QWebSettings.
3335         * platform/network/qt/DnsPrefetchHelper.h: Remove offending qwebsettings.h inclusion.
3336
3337 2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
3338
3339         [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
3340         https://bugs.webkit.org/show_bug.cgi?id=72594
3341
3342         Reviewed by Kenneth Rohde Christiansen.
3343
3344         Move the cache for the resource pixmaps into ImageQt.cpp.
3345
3346         * platform/graphics/Image.h: Add Qt specific setter for resource pixmaps.
3347         * platform/graphics/qt/ImageQt.cpp: Moved resource pixmap hash from qwebsettings.
3348         (earlyClearGraphics):
3349         (graphics):
3350         (loadResourcePixmap):
3351         (WebCore::Image::setPlatformResource):
3352
3353 2011-11-17  Zeno Albisser  <zeno@webkit.org>
3354
3355         [Qt][WK2] Touch/Mouse events are delivered with wrong coordinates.
3356         https://bugs.webkit.org/show_bug.cgi?id=72604
3357
3358         When using the QtViewportInterationEngine for zooming/panning,
3359         no additional scroll offset should be applied to input events
3360         by the ScrollView.
3361
3362         This patch is based on work by Andreas Kling.
3363
3364         Reviewed by Kenneth Rohde Christiansen.
3365
3366         * platform/ScrollView.cpp:
3367         (WebCore::ScrollView::windowToContents):
3368         (WebCore::ScrollView::contentsToWindow):
3369
3370 2011-11-17  Ben Murdoch  <benm@google.com>
3371
3372         Unreviewed build fix.
3373
3374         Fix the Windows builds by adding WorkerEventQueue.cpp|h to the
3375         vcproj. Build break was introduced in
3376         https://bugs.webkit.org/show_bug.cgi?id=72528
3377
3378         * WebCore.vcproj/WebCore.vcproj: Add missing files.
3379
3380 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
3381
3382         CSS Exclusions: parse the wrap-margin and wrap-padding properties
3383         https://bugs.webkit.org/show_bug.cgi?id=71900
3384
3385         Reviewed by Dean Jackson.
3386
3387         Tests: fast/exclusions/wrap-margin-parsing.html
3388                fast/exclusions/wrap-padding-parsing.html
3389
3390         * css/CSSComputedStyleDeclaration.cpp:
3391         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3392         * css/CSSParser.cpp:
3393         (WebCore::isSimpleLengthPropertyID):
3394         (WebCore::CSSParser::parseValue):
3395         * css/CSSProperty.cpp:
3396         (WebCore::CSSProperty::isInheritedProperty):
3397         * css/CSSPropertyNames.in:
3398         * css/CSSStyleApplyProperty.cpp:
3399         (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
3400         * css/CSSStyleSelector.cpp:
3401         (WebCore::CSSStyleSelector::applyProperty):
3402         * rendering/style/RenderStyle.cpp:
3403         (WebCore::RenderStyle::diff):
3404         * rendering/style/RenderStyle.h:
3405         (WebCore::InheritedFlags::wrapPadding):
3406         (WebCore::InheritedFlags::setWrapPadding):
3407         (WebCore::InheritedFlags::initialWrapPadding):
3408         (WebCore::InheritedFlags::wrapMargin):
3409         (WebCore::InheritedFlags::setWrapMargin):
3410         (WebCore::InheritedFlags::initialWrapMargin):
3411         * rendering/style/StyleRareNonInheritedData.cpp:
3412         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
3413         (WebCore::StyleRareNonInheritedData::operator==):
3414         * rendering/style/StyleRareNonInheritedData.h:
3415
3416 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
3417
3418         [chromium] don't call fontconfig twice in complex text path
3419         https://bugs.webkit.org/show_bug.cgi?id=38701
3420
3421         Adds a new API for getting font family. For now, FontCacheLinux calls the new API, but don't use additional properties for compatibility. The old API will be removed when Chromium is ready to use new API.
3422
3423         Reviewed by Tony Chang.
3424
3425         No new tests. No behavior changes for now.
3426
3427         * platform/chromium/PlatformSupport.h: Added FontFamily struct and changed the declaration of getFontFamilyForCharacters().
3428         * platform/graphics/chromium/FontCacheLinux.cpp:
3429         (WebCore::FontCache::getFontDataForCharacters): Uses new PlatformSupport::getFontFamilyForCharacters().
3430         * platform/graphics/chromium/FontPlatformDataLinux.h:
3431         (WebCore::FontPlatformData::setFakeBold): Added.
3432         (WebCore::FontPlatformData::setFakeItalic): Added.
3433
3434 2011-11-17  Mario Sanchez Prada  <msanchez@igalia.com>
3435
3436         [GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
3437         https://bugs.webkit.org/show_bug.cgi?id=72525
3438
3439         Reviewed by Xan Lopez.
3440
3441         * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
3442         (webkit_accessible_get_parent): Call to the implementation of
3443         atk_object_get_parent in AtkObject class to check whether a parent
3444         AtkObject has been previously set, before trying to find one.
3445
3446 2011-11-17  Pavel Feldman  <pfeldman@google.com>
3447
3448         Not reviewed: fix IE user agents strings in the inspector.
3449
3450         * inspector/front-end/SettingsScreen.js:
3451         (WebInspector.SettingsScreen.prototype._createUserAgentSelectRowElement.get const):
3452
3453 2011-11-16  Kenneth Rohde Christiansen  <kenneth@webkit.org>
3454
3455         Make use-fixed-layout work reliable
3456         https://bugs.webkit.org/show_bug.cgi?id=72511
3457
3458         Reviewed by Simon Hausmann.
3459
3460         Always send a viewport update per page load as we depend on that,
3461         to reset all viewport handling before doing layout.
3462
3463         * page/Page.cpp:
3464         (WebCore::Page::updateViewportArguments):
3465
3466 2011-11-16  Alexander Pavlov  <apavlov@chromium.org>
3467
3468         Web Inspector: inspector follows javascript: hrefs as relative
3469         https://bugs.webkit.org/show_bug.cgi?id=72373
3470
3471         javascript: hrefs should never be linkified for security.
3472
3473         Reviewed by Yury Semikhatsky.
3474
3475         * inspector/front-end/ElementsTreeOutline.js:
3476         (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
3477         * inspector/front-end/ResourceUtils.js:
3478         (WebInspector.completeURL):
3479
3480 2011-11-17  Nikolas Zimmermann  <nzimmermann@rim.com>
3481
3482         Not reviewed. Fix 32bit builds.
3483
3484         * platform/ClockGeneric.cpp:
3485         (ClockGeneric::now): Use narrowPrecisionToFloat.
3486         * rendering/FilterEffectRenderer.cpp:
3487         (WebCore::FilterEffectRenderer::build): Use it correctly.
3488
3489 2011-11-17  Dominic Mazzoni  <dmazzoni@google.com>
3490
3491         Accessibility: Chromium requires an AX notification when an iframe loads.
3492         https://bugs.webkit.org/show_bug.cgi?id=72239
3493
3494         When a document finishes loading, we were sending an AXLoadComplete if it
3495         was the top document. Now, if it's a document in an iframe, send an
3496         AXLayoutComplete on the iframe.
3497
3498         Reviewed by Chris Fleizach.
3499
3500         Test: accessibility/loading-iframe-sends-notification.html
3501
3502         * dom/Document.cpp:
3503         (WebCore::Document::implicitClose):
3504
3505 2011-11-16  Mark Rowe  <mrowe@apple.com>
3506
3507         <http://webkit.org/b/72574> Remove unnecessary use of CarbonCore APIs from Audio code
3508
3509         Reviewed by Andy Estes.
3510
3511         * platform/audio/mac/AudioDestinationMac.cpp:
3512         (WebCore::AudioDestinationMac::AudioDestinationMac): Switch from using the Carbon Component Manager
3513         to using AudioUnit's own component interface.
3514         (WebCore::AudioDestinationMac::~AudioDestinationMac): Ditto.
3515         * platform/audio/mac/AudioFileReaderMac.cpp:
3516         (WebCore::AudioFileReader::AudioFileReader): Remove an unncessary trip through the Carbon File Manager
3517         when converting a char* path to a CFURLRef representing the same.
3518
3519 2011-11-17  Adam Barth  <abarth@webkit.org>
3520
3521         CSP report-only mode doesn't work from an HTTP header
3522         https://bugs.webkit.org/show_bug.cgi?id=71958
3523
3524         Reviewed by Eric Seidel.
3525
3526         "It's tested or it's broken." -- Adam Leventhal
3527
3528         Test: http/tests/security/contentSecurityPolicy/report-only-from-header.php
3529
3530         * loader/FrameLoader.cpp:
3531         (WebCore::FrameLoader::didBeginDocument):
3532
3533 2011-11-15  Pavel Feldman  <pfeldman@google.com>
3534
3535         Web Inspector: introduce Debugger domain capabilities concept.
3536         https://bugs.webkit.org/show_bug.cgi?id=72393
3537
3538         Many of the Preferences that we have in Settings.js and override in DevTools.js
3539         are really not preferences, but capabilities. Protocol clients should have a way
3540         of figuring out whether some capability is present before using it.
3541
3542         Reviewed by Yury Semikhatsky.
3543
3544         * bindings/js/ScriptDebugServer.cpp:
3545         (WebCore::ScriptDebugServer::canSetScriptSource):
3546         * bindings/js/ScriptDebugServer.h:
3547         * bindings/v8/ScriptDebugServer.cpp:
3548         (WebCore::ScriptDebugServer::canSetScriptSource):
3549         * bindings/v8/ScriptDebugServer.h:
3550         * inspector/CodeGeneratorInspector.py:
3551         * inspector/Inspector.json:
3552         * inspector/InspectorDebuggerAgent.cpp:
3553         (WebCore::InspectorDebuggerAgent::getCapabilities):
3554         * inspector/InspectorDebuggerAgent.h:
3555         * inspector/front-end/DebuggerModel.js:
3556         (WebInspector.DebuggerModel):
3557         (WebInspector.DebuggerModel.prototype.enableDebugger):
3558         (WebInspector.DebuggerModel.prototype.canSetScriptSource):
3559         * inspector/front-end/DebuggerPresentationModel.js:
3560         (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource):
3561         * inspector/front-end/Settings.js:
3562
3563 2011-11-17  Mihnea Ovidenie  <mihnea@adobe.com>
3564
3565         CSS exclusions: parse the wrap-flow and wrap-through properties
3566         https://bugs.webkit.org/show_bug.cgi?id=71904
3567
3568         Reviewed by Dean Jackson.
3569
3570         Tests: fast/exclusions/wrap-flow-parsing.html
3571                fast/exclusions/wrap-through-parsing.html
3572
3573         * css/CSSComputedStyleDeclaration.cpp:
3574         (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
3575         * css/CSSParser.cpp:
3576         (WebCore::CSSParser::parseValue):
3577         * css/CSSPrimitiveValueMappings.h:
3578         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
3579   &nb