shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2013-01-23  Shinya Kawanaka  <shinyak@chromium.org>
2
3         shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
4         https://bugs.webkit.org/show_bug.cgi?id=107624
5
6         Reviewed by Dimitri Glazkov.
7
8         Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
9
10         * src/WebFrameImpl.cpp:
11         (WebKit::WebFrameImpl::scopeStringMatches):
12         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
13
14 2013-01-22  Pavel Feldman  <pfeldman@chromium.org>
15
16         Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
17         https://bugs.webkit.org/show_bug.cgi?id=107523
18
19         Reviewed by Yury Semikhatsky.
20
21         * public/WebDevToolsFrontendClient.h:
22         (WebKit::WebDevToolsFrontendClient::isUnderTest):
23         (WebDevToolsFrontendClient):
24         * src/InspectorFrontendClientImpl.cpp:
25         (WebKit::InspectorFrontendClientImpl::isUnderTest):
26         * src/InspectorFrontendClientImpl.h:
27         (InspectorFrontendClientImpl):
28
29 2013-01-22  Mark Lam  <mark.lam@apple.com>
30
31         Change the Supplementable class to not use AtomicString.
32         https://bugs.webkit.org/show_bug.cgi?id=107535.
33
34         Reviewed by Adam Barth.
35
36         Replaced the use of AtomicString keys with literal const char* keys.
37         This simplifies the SupplementMap and makes it slightly leaner and faster.
38
39         * src/ContextFeaturesClientImpl.cpp:
40         (ContextFeaturesCache):
41         (WebKit::ContextFeaturesCache::supplementName):
42
43 2013-01-22  Leandro Gracia Gil  <leandrogracia@chromium.org>
44
45         [Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
46         https://bugs.webkit.org/show_bug.cgi?id=107325
47
48         Reviewed by James Robinson.
49
50         Add a notification on WebWidgetClient called when the compositor commits a frame.
51
52         * public/WebWidgetClient.h:
53         (WebWidgetClient):
54         (WebKit::WebWidgetClient::didCommitCompositorFrame):
55         * src/WebViewImpl.cpp:
56         (WebKit::WebViewImpl::didCommit):
57
58 2013-01-21  Kentaro Hara  <haraken@chromium.org>
59
60         Implement UIEvent constructor
61         https://bugs.webkit.org/show_bug.cgi?id=107430
62
63         Reviewed by Adam Barth.
64
65         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
66
67         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
68         which is enabled on Safari and Chromium for now.
69
70         * features.gypi:
71
72 2013-01-22  Alpha Lam  <hclam@chromium.org>
73
74         REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
75         https://bugs.webkit.org/show_bug.cgi?id=107578
76
77         Unreviewed build fix. Disabled 2 tests that are crashing after r140392.
78
79         * tests/IDBBindingUtilitiesTest.cpp:
80         (WebKit::TEST_F):
81
82 2013-01-22  Eric Seidel  <eric@webkit.org>
83
84         Turn on ENABLE_THREADED_HTML_PARSER for Chromium (it's still disabled at runtime)
85         https://bugs.webkit.org/show_bug.cgi?id=107519
86
87         Reviewed by Adam Barth.
88
89         This makes our development lives easier, and makes it possible for the bots
90         to run threaded-parser-only tests by toggling the runtime enable
91         via window.internals.settings.
92
93         * features.gypi:
94
95 2013-01-22  Kentaro Hara  <haraken@chromium.org>
96
97         [V8] Make an Isolate parameter mandatory in toV8()
98         https://bugs.webkit.org/show_bug.cgi?id=107520
99
100         Reviewed by Adam Barth.
101
102         Now it's safe to remove an optional Isolate parameter.
103
104         No tests. No change in behavior.
105
106         * src/InspectorFrontendClientImpl.cpp:
107         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
108         * src/WebArrayBuffer.cpp:
109         (WebKit::WebArrayBuffer::toV8Value):
110         * src/WebBlob.cpp:
111         (WebKit::WebBlob::toV8Value):
112         * src/WebFrameImpl.cpp:
113         (WebKit::WebFrameImpl::createFileSystem):
114         (WebKit::WebFrameImpl::createSerializableFileSystem):
115         (WebKit::WebFrameImpl::createFileEntry):
116
117 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
118
119         Unreviewed.  Rolled Chromium DEPS to r177962.  Requested by
120         "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
121
122         * DEPS:
123
124 2013-01-21  Noel Gordon  <noel.gordon@gmail.com>
125
126         [chromium] REGRESSION(r139347) roll chromium deps broke webkit-unit-tests
127         https://bugs.webkit.org/show_bug.cgi?id=106631
128
129         Reviewed by Kent Tamura.
130
131         Fixed in http://crrev.com/177931 and rolled. Renable these tests.
132
133         * tests/WebImageTest.cpp:
134
135 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
136
137         Add build flag for Canvas's Path object (disabled by default)
138         https://bugs.webkit.org/show_bug.cgi?id=107473
139
140         Reviewed by Dean Jackson.
141
142         Add CANVAS_PATH build flag to build systems.
143
144         * features.gypi:
145
146 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
147
148         Unreviewed.  Rolled Chromium DEPS to r177956.  Requested by
149         thakis_ via sheriffbot.
150
151         * DEPS:
152
153 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
154
155         Unreviewed.  Rolled Chromium DEPS to r177953.  Requested by
156         thakis_ via sheriffbot.
157
158         * DEPS:
159
160 2013-01-21  Tommy Widenflycht  <tommyw@google.com>
161
162         MediaStream API: Update the RTCPeerConnection states to match the latest specification
163         https://bugs.webkit.org/show_bug.cgi?id=107120
164
165         Reviewed by Adam Barth.
166
167         * src/AssertMatchingEnums.cpp:
168
169 2013-01-20  Dominic Mazzoni  <dmazzoni@google.com>
170
171         Make SpeechSynthesis compile in the Chromium port
172         https://bugs.webkit.org/show_bug.cgi?id=107382
173
174         Reviewed by Adam Barth.
175
176         Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
177
178         * features.gypi:
179
180 2013-01-20  Yoshifumi Inoue  <yosin@chromium.org>
181
182         Dragging over an element with scrollbars should scroll the element when dragging near edges
183         https://bugs.webkit.org/show_bug.cgi?id=39725
184
185         Reviewed by Hajime Morita.
186
187         This patch removes DragScrollTimer used for automatic scrolling of main
188         frame drag-and-drop which is now implemented in EventHandler.
189
190         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
191         make patch size small.
192
193         No tests. Existing test covers this change.
194
195         * src/ChromeClientImpl.cpp:
196         (WebKit::ChromeClientImpl::shouldAutoscrollForDragAndDrop): Added.
197         * src/ChromeClientImpl.h:
198         (ChromeClientImpl): Changed to add shouldAutoscrollForDragAndDrop().
199         * src/WebViewImpl.cpp:
200         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
201         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
202         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
203         (WebKit::WebViewImpl::dragTargetDrop): ditto
204         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
205         * src/WebViewImpl.h:
206         (WebKit): Chagned to remove DragScrollTimer.
207
208 2013-01-18  Alec Flett  <alecflett@chromium.org>
209
210         IndexedDB: Switch to new createTransaction call
211         https://bugs.webkit.org/show_bug.cgi?id=107311
212
213         Reviewed by Tony Chang.
214
215         * public/WebIDBTransaction.h:
216
217         Remove an old method that nobody calls.
218
219 2013-01-18  Alpha Lam  <hclam@chromium.org>
220
221         [chromium] Roll Chromium DEPS to 177676
222
223         Unreviewed DEPS roll.
224
225         * DEPS:
226
227 2013-01-18  Robert Kroeger  <rjkroege@chromium.org>
228
229         [chromium] Use new-style gesture scrolling events for fling and
230         for plugin scrolling: https://bugs.webkit.org/show_bug.cgi?id=106589
231
232         Reviewed by James Robinson.
233
234         https://bugs.webkit.org/show_bug.cgi?id=103952 modified touchscreen
235         scrolling to not use synthetic mouse wheel events. Update the fling facility
236         in WebViewImpl to use these events for touchscreen-initiated flings. Also
237         modify the WebPluginContainerImpl to scroll in response to touchscreen
238         scroll gestures if the plugin does not itself implement gesture events. 
239
240         * src/WebPluginContainerImpl.cpp:
241         * src/WebViewImpl.cpp:
242         (WebKit::WebViewImpl::WebViewImpl):
243         (WebKit::WebViewImpl::scrollBy): Handle fling callback conditionally based
244         on initiating device. Touchpad flings generate wheels. Touchscreen flings
245         use gesture events.
246         (WebKit::WebViewImpl::handleGestureEvent):
247         (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
248         * src/WebViewImpl.h:
249
250 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
251
252         Add explicit keyword to constructors in platform-specific InspectorClient
253         https://bugs.webkit.org/show_bug.cgi?id=107255
254
255         Reviewed by Kentaro Hara.
256
257         Add explicit keyword to constructors that take one argument
258         in platform-specific implementation of InspectorClient.
259
260         * src/InspectorClientImpl.h:
261         (InspectorClientImpl):
262
263 2013-01-17  Dominic Cooney  <dominicc@chromium.org>
264
265         [Chromium] Unreviewed gardening.
266
267         Roll Chromium to 177561.
268
269         * DEPS:
270
271 2013-01-17  Alpha Lam  <hclam@chromium.org>
272
273         [chromium] Disable a unit test
274         https://bugs.webkit.org/show_bug.cgi?id=107206
275
276         Unreviewed. Disable a failing test due to 140025.
277
278         * tests/WebFrameTest.cpp:
279
280 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
281
282         Unreviewed, rolling out r140023.
283         http://trac.webkit.org/changeset/140023
284         https://bugs.webkit.org/show_bug.cgi?id=107176
285
286         Broke some tests (Requested by anttik on #webkit).
287
288         * tests/RenderTableCellTest.cpp:
289         * tests/RenderTableRowTest.cpp:
290
291 2013-01-17  John Mellor  <johnme@chromium.org>
292
293         [chromium] Double-tap zoom should take into account accessibility fontScaleFactor
294         https://bugs.webkit.org/show_bug.cgi?id=107123
295
296         Reviewed by Adam Barth.
297
298         Platforms which support Text Autosizing (currently just Chrome for
299         Android) may provide a textAutosizingFontScaleFactor (defaults to 1.0).
300
301         This value is intended to be chosen by the user to indicate how large
302         they want text to appear, for example Chrome for Android has a "Text
303         scaling" slider in Settings > Accessibility that lets you choose a value
304         in the range 50% - 200% (defaults to 100%*).
305
306         For text in wide columns that typically gets autosized, this value is
307         applied by multiplying the textAutosizingMultiplier computed for each
308         cluster by the textAutosizingFontScaleFactor. Double-tap zoom will fit
309         the column to the screen (ignoring the textAutosizingFontScaleFactor)
310         since the column is wide. This part already works.
311
312         For text in narrow columns that doesn't get autosized, the
313         textAutosizingFontScaleFactor is not applied through Text Autosizing,
314         and instead needs to be applied by adjusting the double-tap zoom level.
315         When double-tapping on narrow columns, instead of fitting the column to
316         the screen (which would often zoom in excessively far), the existing
317         logic in computeScaleAndScrollForHitRect applies a maximum zoom level
318         called the legibleScale. This value needs to be multiplied by the
319         textAutosizingFontScaleFactor, so that we zoom in proportionately
320         further on non-autosized narrow columns, hence the effective text size
321         (taking into account zoom) will have increased in proportion to the
322         textAutosizingFontScaleFactor as expected.
323
324         * src/WebViewImpl.cpp:
325         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
326             Multiplies legibleScale (the maximum zoom level) by the
327             textAutosizingFontScaleFactor.
328         * tests/WebFrameTest.cpp:
329             Added WebFrameTest.DivAutoZoomScaleFontScaleFactorTest based on
330             WebFrameTest.DivAutoZoomScaleBoundsTest to test the interaction
331             between textAutosizingFontScaleFactor and the double-tap zoom logic.
332             Also did minor cleanup to WebFrameTest.DivAutoZoomScaleBoundsTest.
333
334 2013-01-17  Alexandre Elias  <aelias@chromium.org>
335
336         [chromium] Make new-style page scale work with fixed layout
337         https://bugs.webkit.org/show_bug.cgi?id=106951
338
339         Reviewed by Adam Barth.
340
341         This makes non-CSS-transform page scaling work with fixed-layout mode,
342         including viewport tag support.
343
344         - dispatchViewportPropertiesDidChange() now works entirely with DIP
345         pixels instead of physical pixels, and is made compatible with
346         separating deviceScaleFactor from pageScaleFactor.
347
348         - In this mode, the "layout viewport" size in the pinch-zoom model is
349         made a first-class concept separate from the device size.  This
350         is a viewport with the same aspect ratio as the device but with the
351         layout width of the page.  This viewport is used:
352           - As FrameView::visibleContentRect.
353           - Returned from WebView::size().
354           - Given to the compositor as layoutViewportSize.
355
356         - m_deviceScaleInCompositor is deleted as it's clearer to use the
357         applyDeviceScaleInCompositor setting directly.
358
359         * src/ChromeClientImpl.cpp:
360         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
361         * src/WebViewImpl.cpp:
362         (WebKit::WebViewImpl::WebViewImpl):
363         (WebKit::WebViewImpl::size):
364         (WebKit):
365         (WebKit::WebViewImpl::resize):
366         (WebKit::WebViewImpl::setPageScaleFactor):
367         (WebKit::WebViewImpl::setDeviceScaleFactor):
368         (WebKit::WebViewImpl::layoutSize):
369         (WebKit::WebViewImpl::computePageScaleFactorLimits):
370         (WebKit::WebViewImpl::dipSize):
371         (WebKit::WebViewImpl::didChangeContentsSize):
372         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
373         (WebKit::WebViewImpl::updateLayerTreeViewport):
374         * src/WebViewImpl.h:
375         (WebViewImpl):
376
377 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
378
379         Unreviewed.  Rolled Chromium DEPS to r177369.  Requested by
380         ajuma via sheriffbot.
381
382         * DEPS:
383
384 2013-01-17  Eugene Klyuchnikov  <eustas@chromium.org>
385
386         Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "loadHeapSnapshot"
387         https://bugs.webkit.org/show_bug.cgi?id=104545
388
389         Reviewed by Yury Semikhatsky.
390
391         Adopt changes: mimic old behavior.
392
393         * src/WebDevToolsAgentImpl.cpp: Adopt signature changes.
394
395 2013-01-17  Yury Semikhatsky  <yurys@chromium.org>
396
397         Web Inspector: add WebDeToolsAgentImpl as task observer on reattach
398         https://bugs.webkit.org/show_bug.cgi?id=107106
399
400         Reviewed by Pavel Feldman.
401
402         Register WebDevToolsAgentImpl as task observer when it client is reattached.
403
404         * src/WebDevToolsAgentImpl.cpp:
405         (WebKit::WebDevToolsAgentImpl::reattach):
406
407 2013-01-16  Dominic Cooney   <dominicc@chromium.org>
408
409         [Chromium] Unreviewed gardening.
410
411         Roll Chromium to 177350.
412
413         * DEPS:
414
415 2013-01-16  Kristian Monsen  <kristianm@google.com>
416
417         Fix build break for Android webview.
418         https://bugs.webkit.org/show_bug.cgi?id=107072
419
420         Reviewed by Steve Block.
421
422         Add extra guards when checking for OS=="Android" to make sure it is not included
423         for webview.
424
425         * WebKitUnitTests.gyp:
426
427 2013-01-16  Dominic Cooney  <dominicc@chromium.org>
428
429         [Chromium] Unreviewed gardening.
430
431         Roll Chromium to 177310.
432
433         * DEPS:
434
435 2013-01-16  W. James MacLean  <wjmaclean@chromium.org>
436
437         LinkHighlight should use touch adjustment to match active state on GestureTapDown.
438         https://bugs.webkit.org/show_bug.cgi?id=107032
439
440         Reviewed by Adam Barth.
441
442         LinkHighlight node selection should produce results that match the node marked
443         active during GestureTapDown.
444
445         * src/WebViewImpl.cpp:
446         (WebKit::WebViewImpl::bestTouchLinkNode):
447         * tests/LinkHighlightTest.cpp:
448         (WebCore::TEST):
449
450 2013-01-16  Kentaro Hara  <haraken@chromium.org>
451
452         [V8] Make a creationContext parameter of toV8() mandatory
453         https://bugs.webkit.org/show_bug.cgi?id=107020
454
455         Reviewed by Adam Barth.
456
457         We pass Handle<Object>() to a creationContext parameter of
458         toV8() when we do not have a creationContext.
459
460         No tests. No change in behavior.
461
462         * src/InspectorFrontendClientImpl.cpp:
463         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
464         * src/WebArrayBuffer.cpp:
465         (WebKit::WebArrayBuffer::toV8Value):
466         * src/WebBlob.cpp:
467         (WebKit::WebBlob::toV8Value):
468         * src/WebFrameImpl.cpp:
469         (WebKit::WebFrameImpl::createFileSystem):
470         (WebKit::WebFrameImpl::createSerializableFileSystem):
471         (WebKit::WebFrameImpl::createFileEntry):
472
473 2013-01-16  Mark Pilgrim  <pilgrim@chromium.org>
474
475         [Chromium] Move WebArrayBufferView and WebSerializedScriptValue out of public/platform/
476         https://bugs.webkit.org/show_bug.cgi?id=106863
477
478         Reviewed by Adam Barth.
479
480         These are not being moved into the new top-level Platform
481         directory, so into public they go.
482
483         * WebKit.gyp:
484         * public/WebArrayBufferView.h: Added.
485         (v8):
486         (WebKit):
487         (WebArrayBufferView):
488         (WebKit::WebArrayBufferView::~WebArrayBufferView):
489         (WebKit::WebArrayBufferView::WebArrayBufferView):
490         * public/WebSerializedScriptValue.h: Added.
491         (v8):
492         (WebKit):
493         (WebSerializedScriptValue):
494         (WebKit::WebSerializedScriptValue::~WebSerializedScriptValue):
495         (WebKit::WebSerializedScriptValue::WebSerializedScriptValue):
496         (WebKit::WebSerializedScriptValue::operator=):
497         (WebKit::WebSerializedScriptValue::isNull):
498         * public/platform/WebArrayBufferView.h:
499         * public/platform/WebSerializedScriptValue.h:
500
501 2013-01-16  Chris Hopman  <cjhopman@chromium.org>
502
503         [Chromium] Remove hardcoded chromium_*.jar in gyp files
504         https://bugs.webkit.org/show_bug.cgi?id=104049
505
506         Reviewed by Eric Seidel.
507
508         Targets with dependencies (direct/indirect) on a java target receive
509         the chromium_*.jar paths in the variable input_jars_paths. Targets
510         should use that rather than hardcoding where they think the jar will
511         be. These can be passed directly to ant as INPUT_JARS_PATHS rather
512         than as --jars to generate_native_test.py.
513
514         * WebKitUnitTests.gyp:
515
516 2013-01-16  Dominic Cooney   <dominicc@chromium.org>
517
518         [Chromium] Unreviewed gardening.
519
520         Roll Chromium to 177117.
521
522         * DEPS:
523
524 2013-01-16  Dominic Cooney  <dominicc@chromium.org>
525
526         [Chromium] Unreviewed gardening.
527
528         Roll Chromium to r177080.
529
530         * DEPS:
531
532 2013-01-15  Ian Vollick  <vollick@chromium.org>
533
534         [chromium] Create GraphicsLayerChromiums using a factory
535         https://bugs.webkit.org/show_bug.cgi?id=103635
536
537         Reviewed by James Robinson.
538
539         Refactor graphics layer creation for chromium to go through a factory.
540
541         * src/ChromeClientImpl.cpp:
542         (WebCore):
543         (GraphicsLayerFactoryChromium):
544         (WebCore::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
545         (WebKit::ChromeClientImpl::ChromeClientImpl):
546         (WebKit::ChromeClientImpl::graphicsLayerFactory):
547         (WebKit):
548         * src/ChromeClientImpl.h:
549         (WebCore):
550         (ChromeClientImpl):
551         * src/NonCompositedContentHost.cpp:
552         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
553         * src/NonCompositedContentHost.h:
554         (WebCore):
555         (WebKit::NonCompositedContentHost::create):
556         (NonCompositedContentHost):
557         * src/PageOverlay.cpp:
558         (WebKit::PageOverlay::update):
559         * src/WebViewImpl.cpp:
560         (WebKit::WebViewImpl::graphicsLayerFactory):
561         (WebKit):
562         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
563         * src/WebViewImpl.h:
564         (WebCore):
565         (WebViewImpl):
566         * tests/GraphicsLayerChromiumTest.cpp:
567         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
568         * tests/ImageLayerChromiumTest.cpp:
569         (WebCore::TEST):
570
571 2013-01-15  Mark Pilgrim  <pilgrim@chromium.org>
572
573         [Chromium] Move SocketStreamHandle and SocketStreamHandleInternal to WebCore/platform
574         https://bugs.webkit.org/show_bug.cgi?id=106899
575
576         Reviewed by Adam Barth.
577
578         Part of a larger refactoring series; see tracking bug 106829.
579
580         * WebKit.gyp:
581         * src/SocketStreamHandle.cpp: Removed.
582         * src/SocketStreamHandleInternal.h: Removed.
583
584 2013-01-15  Florin Malita  <fmalita@chromium.org>
585
586         [Chromium] Incorrect opaque region tracking for PlatformContextSkia::drawRRect
587         https://bugs.webkit.org/show_bug.cgi?id=106898
588
589         Reviewed by Stephen White.
590
591         * tests/PlatformContextSkiaTest.cpp:
592         (WebCore::TEST):
593         (WebCore):
594
595 2012-12-28  Vsevolod Vlasov  <vsevik@chromium.org>
596
597         Web Inspector: Support inspector file system access with isolated file system through InspectorFrontendHost.
598         https://bugs.webkit.org/show_bug.cgi?id=105727
599
600         Reviewed by Pavel Feldman.
601
602         File system access methods plumbing made for Chromium.
603
604         * public/WebDevToolsFrontendClient.h:
605         (WebKit::WebDevToolsFrontendClient::requestFileSystems):
606         (WebKit::WebDevToolsFrontendClient::addFileSystem):
607         (WebKit::WebDevToolsFrontendClient::removeFileSystem):
608         (WebDevToolsFrontendClient):
609         * src/InspectorFrontendClientImpl.cpp:
610         (WebKit::InspectorFrontendClientImpl::supportsFileSystems):
611         (WebKit):
612         (WebKit::InspectorFrontendClientImpl::requestFileSystems):
613         (WebKit::InspectorFrontendClientImpl::addFileSystem):
614         (WebKit::InspectorFrontendClientImpl::removeFileSystem):
615         * src/InspectorFrontendClientImpl.h:
616         (InspectorFrontendClientImpl):
617
618 2013-01-14  Dominic Cooney  <dominicc@chromium.org>
619
620         [Chromium] Unreviewed gardening.
621
622         Roll Chromium to r176801.
623
624         * DEPS: Rollin' on the river.
625
626 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
627
628         [Chromium] Remove unused public/platform/WebColorName.h
629         https://bugs.webkit.org/show_bug.cgi?id=106865
630
631         Reviewed by Adam Barth.
632
633         This file is no longer referenced anywhere in WebKit or Chromium.
634
635         * public/platform/WebColorName.h: Removed.
636
637 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
638
639         [Chromium] Move BlobRegistryProxy into WebCore
640         https://bugs.webkit.org/show_bug.cgi?id=106831
641
642         Reviewed by Adam Barth.
643
644         Part of a larger refactoring series to remove layering violations
645         in Chromium. See tracking bug 106829.
646
647         * WebKit.gyp:
648         * src/BlobRegistryProxy.cpp: Removed.
649         * src/BlobRegistryProxy.h: Removed.
650
651 2013-01-14  Alec Flett  <alecflett@chromium.org>
652
653         IndexedDB: Remove IDBObjectStore/IndexBackendImpl and support functions
654         https://bugs.webkit.org/show_bug.cgi?id=106605
655
656         Remove all references to IDBObjectStoreBackend* and IDBIndexBackend*
657         as they no longer exist in WebCore.
658
659         Reviewed by Darin Fisher.
660
661         * WebKit.gyp:
662         * public/WebIDBCallbacks.h:
663         (WebKit):
664         * public/WebIDBDatabase.h:
665         (WebKit):
666         (WebKit::WebIDBDatabase::metadata):
667         * public/WebIDBFactory.h:
668         (WebIDBFactory):
669         * public/WebIDBIndex.h: Removed.
670         * public/WebIDBObjectStore.h: Removed.
671         * public/WebIDBTransaction.h:
672         * src/IDBCallbacksProxy.cpp:
673         * src/IDBDatabaseBackendProxy.cpp:
674         * src/IDBDatabaseBackendProxy.h:
675         (IDBDatabaseBackendProxy):
676         * src/IDBFactoryBackendProxy.cpp:
677         * src/IDBFactoryBackendProxy.h:
678         (IDBFactoryBackendProxy):
679         * src/IDBIndexBackendProxy.cpp: Removed.
680         * src/IDBIndexBackendProxy.h: Removed.
681         * src/IDBObjectStoreBackendProxy.cpp: Removed.
682         * src/IDBObjectStoreBackendProxy.h: Removed.
683         * src/IDBTransactionBackendProxy.cpp:
684         * src/IDBTransactionBackendProxy.h:
685         (IDBTransactionBackendProxy):
686         * src/WebIDBDatabaseImpl.cpp:
687         (WebKit::WebIDBDatabaseImpl::put):
688         (WebKit::WebIDBDatabaseImpl::setIndexKeys):
689         * src/WebIDBDatabaseImpl.h:
690         (WebKit):
691         (WebIDBDatabaseImpl):
692         * src/WebIDBFactoryImpl.cpp:
693         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
694         * src/WebIDBFactoryImpl.h:
695         (WebIDBFactoryImpl):
696         * src/WebIDBIndexImpl.cpp: Removed.
697         * src/WebIDBIndexImpl.h: Removed.
698         * src/WebIDBObjectStoreImpl.cpp: Removed.
699         * src/WebIDBObjectStoreImpl.h: Removed.
700         * src/WebIDBTransactionImpl.cpp:
701         * src/WebIDBTransactionImpl.h:
702         * tests/IDBAbortOnCorruptTest.cpp:
703         (WebCore::TEST):
704         * tests/IDBDatabaseBackendTest.cpp:
705
706 2013-01-14  Dominic Mazzoni  <dmazzoni@google.com>
707
708         AX: Need to implement ColorWellRole
709         https://bugs.webkit.org/show_bug.cgi?id=106756
710
711         Reviewed by Chris Fleizach.
712
713         Adds an accessibility interface to access the value of a
714         color control.
715
716         * public/WebAccessibilityObject.h:
717         (WebAccessibilityObject):
718         * src/WebAccessibilityObject.cpp:
719         (WebKit::WebAccessibilityObject::colorValue):
720         (WebKit):
721
722 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
723
724         [Chromium] Move AudioDestinationChromium into WebCore
725         https://bugs.webkit.org/show_bug.cgi?id=106803
726
727         Reviewed by Adam Barth.
728
729         This doesn't really belong in WebKit/chromium/src since it defines
730         things directly in the WebCore namespace.
731
732         * WebKit.gyp:
733         * src/AudioDestinationChromium.cpp: Removed.
734         * src/AudioDestinationChromium.h: Removed.
735
736 2013-01-14  Stephen Chenney  <schenney@chromium.org>
737
738         Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
739
740         Unreviewed build fix.
741
742         It turns out that the change behind this flag causes crashes and image errors.
743
744         * skia_webkit.gyp:
745
746 2013-01-14  Kentaro Hara  <haraken@chromium.org>
747
748         [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interruptAndRun()
749         https://bugs.webkit.org/show_bug.cgi?id=106779
750
751         Reviewed by Adam Barth.
752
753         This is one of steps to make an Isolate parameter mandatory.
754
755         No tests. No change in behavior.
756
757         * src/WebDevToolsAgentImpl.cpp:
758         (WebKit::WebDevToolsAgent::interruptAndDispatch):
759
760 2013-01-13  Vsevolod Vlasov  <vsevik@chromium.org>
761
762         Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPanelSwitch fails
763         https://bugs.webkit.org/show_bug.cgi?id=106755
764
765         Reviewed by Alexander Pavlov.
766
767         * src/js/Tests.js:
768         (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
769         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
770
771 2013-01-12  David Grogan  <dgrogan@chromium.org>
772
773         Unreviewed.  Roll chromium DEPS to 176595.
774         https://bugs.webkit.org/show_bug.cgi?id=106730
775
776         * DEPS:
777
778 2013-01-11  Dan Beam  <dbeam@chromium.org>
779
780         [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of more specific Error reasons
781         https://bugs.webkit.org/show_bug.cgi?id=106610
782
783         Reviewed by Darin Fisher.
784
785         * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultError in favor of more specific error reasons.
786         * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asserts.
787
788 2013-01-11  Tien-Ren Chen  <trchen@chromium.org>
789
790         WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
791         https://bugs.webkit.org/show_bug.cgi?id=104427
792
793         Reviewed by Adam Barth.
794
795         When a gesture needs to be disambiguated, WebKit doesn't update cursor focus.
796         We added an extra status for didHandleGestureEvent(), so we can distinguish
797         the case whether the event is actually delivered to the web page or cancelled.
798
799         * public/WebViewClient.h:
800         * public/WebWidgetClient.h:
801         (WebKit):
802         (WebWidgetClient):
803         (WebKit::WebWidgetClient::didHandleGestureEvent):
804         * src/WebViewImpl.cpp:
805         (WebKit::WebViewImpl::handleGestureEvent):
806         * tests/WebViewTest.cpp:
807
808 2013-01-11  Eberhard Graether  <egraether@google.com>
809
810         [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers recursively in continuous painting mode
811         https://bugs.webkit.org/show_bug.cgi?id=105458
812
813         Reviewed by James Robinson.
814
815         In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
816         while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
817         calls setNeedsDisplay() on all GraphicsLayers recursively in order to force all layers to repaint. PageOverlay
818         layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
819
820         * WebKit.gyp:
821         * src/PageOverlay.h:
822         (WebKit::PageOverlay::graphicsLayer):
823         (PageOverlay):
824         * src/PageOverlayList.cpp:
825         (WebKit::PageOverlayList::findGraphicsLayer):
826         (WebKit):
827         * src/PageOverlayList.h:
828         (WebCore):
829         (PageOverlayList):
830         * src/WebViewImpl.cpp:
831         (WebKit::WebViewImpl::WebViewImpl):
832         (WebKit::WebViewImpl::didBeginFrame):
833         * src/WebViewImpl.h:
834         * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium/src/PageOverlay.h.
835         (WebKit):
836         (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
837         * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/src/PageOverlay.h.
838         (WebCore):
839         (WebKit):
840         (ContinuousPainter):
841
842 2013-01-11  Tony Chang  <tony@chromium.org>
843
844         Unreviewed, revert r139157 to fix the chromium build.
845         These files were deleted in a follow up and since r139044 was reverted, we need to
846         add back these files.
847
848         * WebKit.gyp:
849         * src/DragScrollTimer.cpp: Added.
850         (WebKit):
851         (WebKit::distanceToRect):
852         (WebKit::DragScrollTimer::DragScrollTimer):
853         (WebKit::DragScrollTimer::~DragScrollTimer):
854         (WebKit::DragScrollTimer::stop):
855         (WebKit::DragScrollTimer::scroll):
856         (WebKit::DragScrollTimer::update):
857         (WebKit::DragScrollTimer::triggerScroll):
858         (WebKit::DragScrollTimer::scrollDistanceFor):
859         * src/DragScrollTimer.h: Added.
860         (WebKit):
861         (DragScrollTimer):
862         (WebKit::DragScrollTimer::fired):
863         (WebKit::DragScrollTimer::shouldScroll):
864
865 2013-01-11  Sheriff Bot  <webkit.review.bot@gmail.com>
866
867         Unreviewed, rolling out r139044.
868         http://trac.webkit.org/changeset/139044
869         https://bugs.webkit.org/show_bug.cgi?id=106702
870
871         Caused various scrolling anomolies on Mac with drag and drop
872         (Requested by smfr on #webkit).
873
874         * src/WebViewImpl.cpp:
875         (WebKit::WebViewImpl::WebViewImpl):
876         (WebKit::WebViewImpl::dragSourceEndedAt):
877         (WebKit::WebViewImpl::dragSourceMovedTo):
878         (WebKit::WebViewImpl::dragTargetDrop):
879         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
880         * src/WebViewImpl.h:
881         (WebKit):
882
883 2013-01-11  Tony Chang  <tony@chromium.org>
884
885         [chromium] Don't regenerate all bindings when any idl file changes
886         https://bugs.webkit.org/show_bug.cgi?id=106604
887
888         Reviewed by Kentaro Hara.
889
890         * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python import search path
891         so we can generate idl dependencies at gyp time.
892
893 2013-01-11  Stephen Chenney  <schenney@chromium.org>
894
895         Removing Skia flags that have been disabling oprtimizations and other improvements.
896
897         Unreviewed build fix.
898
899         These changes have been extensively tested by the Skia team, and
900         WebKit test result changes will be monitored.
901
902         * skia_webkit.gyp:
903
904 2013-01-11  Pavel Feldman  <pfeldman@chromium.org>
905
906         Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
907         https://bugs.webkit.org/show_bug.cgi?id=106560
908
909         Reviewed by Vsevolod Vlasov.
910
911         * src/js/devTools.css:
912         (body.dock-to-bottom.platform-mac #toolbar):
913
914 2013-01-10  Noel Gordon  <noel.gordon@gmail.com>
915
916         [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
917         https://bugs.webkit.org/show_bug.cgi?id=106631
918
919         Reviewed by Eric Seidel.
920
921         * tests/WebImageTest.cpp:
922         (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
923         green their respective webkit-unit-test bots. The tests still pass on
924         LINUX so keep test coverage there for now.
925
926 2013-01-10  Dan Beam  <dbeam@chromium.org>
927
928         Implement AutocompleteErrorEvent#reason
929         https://bugs.webkit.org/show_bug.cgi?id=105568
930
931         Reviewed by Adam Barth.
932
933         * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
934         * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
935
936 2013-01-10  Adam Barth  <abarth@webkit.org>
937
938         Add an ENABLE macro and a WebCore::Setting for the threaded parser
939         https://bugs.webkit.org/show_bug.cgi?id=106595
940
941         Reviewed by Benjamin Poulain.
942
943         Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
944         more easily enable it locally.
945
946         * features.gypi:
947
948 2013-01-10  John Mellor  <johnme@chromium.org>
949
950         Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
951         https://bugs.webkit.org/show_bug.cgi?id=106460
952
953         Reviewed by Kenneth Rohde Christiansen.
954
955         1. Exposes the existing applyDeviceScaleFactorInCompositor from
956         WebSettings on Settings (and stores the value there instead), so it can
957         be accessed from WebCore.
958
959         2. Changes ChromeClientImpl::windowRect to return values in density
960         independent (UI) pixels pixels instead of physical screen pixels (see
961         explanation in Source/WebCore/ChangeLog).
962
963         * src/ChromeClientImpl.cpp:
964         (WebKit::ChromeClientImpl::windowRect):
965             Normalizes window rect scale.
966         * src/WebSettingsImpl.cpp:
967         (WebKit::WebSettingsImpl::WebSettingsImpl):
968         (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
969         (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
970         (WebKit):
971         * src/WebSettingsImpl.h:
972         (WebSettingsImpl):
973
974 2013-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>
975
976         Unreviewed.  Rolled DEPS.
977
978         * DEPS:
979
980 2013-01-10  Dimitri Glazkov  <dglazkov@chromium.org>
981
982         Unreviewed, rolling out r139227.
983         http://trac.webkit.org/changeset/139227
984         https://bugs.webkit.org/show_bug.cgi?id=106227
985
986         Broke Win component build.
987
988         * public/WebAccessibilityObject.h:
989         * public/WebAccessibilityRole.h:
990         * public/WebActiveWheelFlingParameters.h:
991         * public/WebAnimationController.h:
992         * public/WebApplicationCacheHost.h:
993         * public/WebApplicationCacheHostClient.h:
994         * public/WebArrayBuffer.h:
995         * public/WebAudioSourceProvider.h:
996         * public/WebBatteryStatus.h:
997         * public/WebBindings.h:
998         * public/WebBlob.h:
999         * public/WebCache.h:
1000         * public/WebCachedURLRequest.h:
1001         * public/WebColorChooser.h:
1002         * public/WebColorChooserClient.h:
1003         * public/WebColorName.h:
1004         * public/WebCommonWorkerClient.h:
1005         * public/WebCompositionUnderline.h:
1006         * public/WebCompositorInputHandler.h:
1007         * public/WebConsoleMessage.h:
1008         * public/WebContentDetectionResult.h:
1009         * public/WebContextMenuData.h:
1010         * public/WebCrossOriginPreflightResultCache.h:
1011         * public/WebCursorInfo.h:
1012         * public/WebDOMEvent.h:
1013         * public/WebDOMEventListener.h:
1014         * public/WebDOMStringList.h:
1015         * public/WebDataSource.h:
1016         * public/WebDatabase.h:
1017         * public/WebDateTimeChooserCompletion.h:
1018         * public/WebDateTimeChooserParams.h:
1019         * public/WebDeliveredIntentClient.h:
1020         * public/WebDevToolsAgent.h:
1021         * public/WebDevToolsAgentClient.h:
1022         * public/WebDevToolsFrontend.h:
1023         * public/WebDeviceOrientationClient.h:
1024         * public/WebDeviceOrientationClientMock.h:
1025         * public/WebDeviceOrientationController.h:
1026         * public/WebDocument.h:
1027         * public/WebDraggableRegion.h:
1028         * public/WebExternalPopupMenuClient.h:
1029         * public/WebFileChooserCompletion.h:
1030         * public/WebFileChooserParams.h:
1031         * public/WebFileSystemCallbacks.h:
1032         * public/WebFileSystemEntry.h:
1033         * public/WebFileWriter.h:
1034         * public/WebFileWriterClient.h:
1035         * public/WebFindOptions.h:
1036         * public/WebFont.h:
1037         * public/WebFontCache.h:
1038         * public/WebFontDescription.h:
1039         * public/WebFormControlElement.h:
1040         * public/WebFormElement.h:
1041         * public/WebFrame.h:
1042         * public/WebFrameClient.h:
1043         * public/WebGeolocationClientMock.h:
1044         * public/WebGeolocationController.h:
1045         * public/WebGeolocationError.h:
1046         * public/WebGeolocationPermissionRequest.h:
1047         * public/WebGeolocationPermissionRequestManager.h:
1048         * public/WebGeolocationPosition.h:
1049         * public/WebGlyphCache.h:
1050         * public/WebHelperPlugin.h:
1051         * public/WebHistoryItem.h:
1052         * public/WebHitTestResult.h:
1053         * public/WebIDBCallbacks.h:
1054         * public/WebIDBCursor.h:
1055         * public/WebIDBDatabase.h:
1056         * public/WebIDBDatabaseCallbacks.h:
1057         * public/WebIDBDatabaseError.h:
1058         * public/WebIDBFactory.h:
1059         * public/WebIDBIndex.h:
1060         * public/WebIDBKey.h:
1061         * public/WebIDBKeyPath.h:
1062         * public/WebIDBKeyRange.h:
1063         * public/WebIDBMetadata.h:
1064         * public/WebIDBObjectStore.h:
1065         * public/WebIDBTransaction.h:
1066         * public/WebIDBTransactionCallbacks.h:
1067         * public/WebIconURL.h:
1068         * public/WebImageDecoder.h:
1069         * public/WebInputEvent.h:
1070         * public/WebIntent.h:
1071         * public/WebIntentRequest.h:
1072         * public/WebIntentServiceInfo.h:
1073         * public/WebMediaPlayer.h:
1074         * public/WebMediaStreamRegistry.h:
1075         * public/WebMenuItemInfo.h:
1076         * public/WebNetworkStateNotifier.h:
1077         * public/WebNode.h:
1078         * public/WebNodeCollection.h:
1079         * public/WebNodeList.h:
1080         * public/WebNotification.h:
1081         * public/WebNotificationPresenter.h:
1082         * public/WebOptionElement.h:
1083         * public/WebPageOverlay.h:
1084         * public/WebPagePopup.h:
1085         * public/WebPageSerializer.h:
1086         * public/WebPasswordFormData.h:
1087         * public/WebPerformance.h:
1088         * public/WebPlugin.h:
1089         * public/WebPluginContainer.h:
1090         * public/WebPluginParams.h:
1091         * public/WebPopupMenu.h:
1092         * public/WebPopupMenuInfo.h:
1093         * public/WebPrerendererClient.h:
1094         * public/WebPrintParams.h:
1095         * public/WebRange.h:
1096         * public/WebRegularExpression.h:
1097         * public/WebRuntimeFeatures.h:
1098         * public/WebScopedMicrotaskSuppression.h:
1099         * public/WebScopedUserGesture.h:
1100         * public/WebScriptController.h:
1101         * public/WebScriptSource.h:
1102         * public/WebSearchableFormData.h:
1103         * public/WebSecurityOrigin.h:
1104         * public/WebSecurityPolicy.h:
1105         * public/WebSelectElement.h:
1106         * public/WebSettings.h:
1107         * public/WebSharedWorker.h:
1108         * public/WebSharedWorkerRepository.h:
1109         * public/WebSpeechGrammar.h:
1110         * public/WebSpeechInputController.h:
1111         * public/WebSpeechInputResult.h:
1112         * public/WebSpeechRecognitionHandle.h:
1113         * public/WebSpeechRecognitionParams.h:
1114         * public/WebSpeechRecognitionResult.h:
1115         * public/WebSpeechRecognizer.h:
1116         * public/WebSpeechRecognizerClient.h:
1117         * public/WebSpellCheckClient.h:
1118         * public/WebStorageEventDispatcher.h:
1119         * public/WebSurroundingText.h:
1120         * public/WebTestingSupport.h:
1121         * public/WebTextCheckingCompletion.h:
1122         * public/WebTextCheckingResult.h:
1123         * public/WebTextFieldDecoratorClient.h:
1124         * public/WebTextInputInfo.h:
1125         * public/WebTextRun.h:
1126         * public/WebTimeRange.h:
1127         * public/WebTouchPoint.h:
1128         * public/WebUserMediaRequest.h:
1129         * public/WebView.h:
1130         * public/WebViewBenchmarkSupport.h:
1131         * public/WebViewClient.h:
1132         * public/WebWidget.h:
1133         * public/WebWidgetClient.h:
1134         * public/WebWindowFeatures.h:
1135         * public/WebWorkerInfo.h:
1136
1137 2013-01-09  Alec Flett  <alecflett@chromium.org>
1138
1139         IndexedDB: Allow createIndex/createObjectStore to be asynchronous
1140         https://bugs.webkit.org/show_bug.cgi?id=106377
1141
1142         Reviewed by Tony Chang.
1143
1144         Remove this test as it makes no sense once the objectstore/index
1145         hierarchy is gone.
1146
1147         * tests/IDBDatabaseBackendTest.cpp:
1148
1149 2013-01-09  Chris Rogers  <crogers@google.com>
1150
1151         Allow live/local audio input to be enabled only when needed
1152         https://bugs.webkit.org/show_bug.cgi?id=106490
1153
1154         Reviewed by Kenneth Russell.
1155
1156         * src/AudioDestinationChromium.cpp:
1157         (WebCore):
1158         (WebCore::AudioDestination::create):
1159         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1160         (WebCore::AudioDestinationChromium::render):
1161         * src/AudioDestinationChromium.h:
1162         (AudioDestinationChromium):
1163
1164 2013-01-09  Yue Zhang  <zysxqn@google.com>
1165
1166         [Chromium] Always enable autocomplete for password fields
1167         https://bugs.webkit.org/show_bug.cgi?id=104600
1168
1169         Reviewed by Darin Fisher.
1170
1171         Don't check autocomplete in webkit code. Rather, we check it in chrome code in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
1172
1173         * src/WebPasswordFormUtils.cpp:
1174         (WebKit::findPasswordFormFields):
1175         * src/WebPasswordFormUtils.h:
1176         (WebKit):
1177         (WebKit::findPasswordFormFields):
1178
1179 2013-01-09  James Robinson  <jamesr@chromium.org>
1180
1181         [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
1182         https://bugs.webkit.org/show_bug.cgi?id=106495
1183
1184         Reviewed by Adrienne Walker.
1185
1186         The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
1187         of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
1188         client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
1189         notification to the WebWidget that the WebLayerTreeView is going to go away.
1190
1191         This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
1192         which will take a bit more refactoring.
1193
1194         * public/WebWidget.h:
1195         (WebWidget):
1196         (WebKit::WebWidget::willCloseLayerTreeView):
1197         * src/WebViewImpl.cpp:
1198         (WebKit::WebViewImpl::willCloseLayerTreeView):
1199         (WebKit):
1200         * src/WebViewImpl.h:
1201         (WebViewImpl):
1202
1203 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
1204
1205         [Chromium] Remove stray references to WebKitPlatformSupport.h
1206         https://bugs.webkit.org/show_bug.cgi?id=106493
1207
1208         Reviewed by James Robinson.
1209
1210         Part of a refactoring series. See tracking bug 82948.
1211
1212         * src/SharedWorkerRepository.cpp:
1213         * tests/RunAllTests.cpp:
1214
1215 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
1216
1217         [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
1218         https://bugs.webkit.org/show_bug.cgi?id=106227
1219
1220         Reviewed by Darin Fisher.
1221
1222         Part of a larger refactoring series. See tracking bug 82948.
1223
1224         * public/WebAccessibilityObject.h:
1225         * public/WebAccessibilityRole.h:
1226         * public/WebActiveWheelFlingParameters.h:
1227         * public/WebAnimationController.h:
1228         * public/WebApplicationCacheHost.h:
1229         * public/WebApplicationCacheHostClient.h:
1230         * public/WebArrayBuffer.h:
1231         * public/WebAudioSourceProvider.h:
1232         * public/WebBatteryStatus.h:
1233         * public/WebBindings.h:
1234         * public/WebBlob.h:
1235         * public/WebCache.h:
1236         * public/WebCachedURLRequest.h:
1237         * public/WebColorChooser.h:
1238         * public/WebColorChooserClient.h:
1239         * public/WebColorName.h:
1240         * public/WebCommonWorkerClient.h:
1241         * public/WebCompositionUnderline.h:
1242         * public/WebCompositorInputHandler.h:
1243         * public/WebConsoleMessage.h:
1244         * public/WebContentDetectionResult.h:
1245         * public/WebContextMenuData.h:
1246         * public/WebCrossOriginPreflightResultCache.h:
1247         * public/WebCursorInfo.h:
1248         * public/WebDOMEvent.h:
1249         * public/WebDOMEventListener.h:
1250         * public/WebDOMStringList.h:
1251         * public/WebDataSource.h:
1252         * public/WebDatabase.h:
1253         * public/WebDateTimeChooserCompletion.h:
1254         * public/WebDateTimeChooserParams.h:
1255         * public/WebDeliveredIntentClient.h:
1256         * public/WebDevToolsAgent.h:
1257         * public/WebDevToolsAgentClient.h:
1258         * public/WebDevToolsFrontend.h:
1259         * public/WebDeviceOrientationClient.h:
1260         * public/WebDeviceOrientationClientMock.h:
1261         * public/WebDeviceOrientationController.h:
1262         * public/WebDocument.h:
1263         * public/WebDraggableRegion.h:
1264         * public/WebExternalPopupMenuClient.h:
1265         * public/WebFileChooserCompletion.h:
1266         * public/WebFileChooserParams.h:
1267         * public/WebFileSystemCallbacks.h:
1268         * public/WebFileSystemEntry.h:
1269         * public/WebFileWriter.h:
1270         * public/WebFileWriterClient.h:
1271         * public/WebFindOptions.h:
1272         * public/WebFont.h:
1273         * public/WebFontCache.h:
1274         * public/WebFontDescription.h:
1275         * public/WebFormControlElement.h:
1276         * public/WebFormElement.h:
1277         * public/WebFrame.h:
1278         * public/WebFrameClient.h:
1279         * public/WebGeolocationClientMock.h:
1280         * public/WebGeolocationController.h:
1281         * public/WebGeolocationError.h:
1282         * public/WebGeolocationPermissionRequest.h:
1283         * public/WebGeolocationPermissionRequestManager.h:
1284         * public/WebGeolocationPosition.h:
1285         * public/WebGlyphCache.h:
1286         * public/WebHelperPlugin.h:
1287         * public/WebHistoryItem.h:
1288         * public/WebHitTestResult.h:
1289         * public/WebIDBCallbacks.h:
1290         * public/WebIDBCursor.h:
1291         * public/WebIDBDatabase.h:
1292         * public/WebIDBDatabaseCallbacks.h:
1293         * public/WebIDBDatabaseError.h:
1294         * public/WebIDBFactory.h:
1295         * public/WebIDBIndex.h:
1296         * public/WebIDBKey.h:
1297         * public/WebIDBKeyPath.h:
1298         * public/WebIDBKeyRange.h:
1299         * public/WebIDBMetadata.h:
1300         * public/WebIDBObjectStore.h:
1301         * public/WebIDBTransaction.h:
1302         * public/WebIDBTransactionCallbacks.h:
1303         * public/WebIconURL.h:
1304         * public/WebImageDecoder.h:
1305         * public/WebInputEvent.h:
1306         * public/WebIntent.h:
1307         * public/WebIntentRequest.h:
1308         * public/WebIntentServiceInfo.h:
1309         * public/WebMediaPlayer.h:
1310         * public/WebMediaStreamRegistry.h:
1311         * public/WebMenuItemInfo.h:
1312         * public/WebNetworkStateNotifier.h:
1313         * public/WebNode.h:
1314         * public/WebNodeCollection.h:
1315         * public/WebNodeList.h:
1316         * public/WebNotification.h:
1317         * public/WebNotificationPresenter.h:
1318         * public/WebOptionElement.h:
1319         * public/WebPageOverlay.h:
1320         * public/WebPagePopup.h:
1321         * public/WebPageSerializer.h:
1322         * public/WebPasswordFormData.h:
1323         * public/WebPerformance.h:
1324         * public/WebPlugin.h:
1325         * public/WebPluginContainer.h:
1326         * public/WebPluginParams.h:
1327         * public/WebPopupMenu.h:
1328         * public/WebPopupMenuInfo.h:
1329         * public/WebPrerendererClient.h:
1330         * public/WebPrintParams.h:
1331         * public/WebRange.h:
1332         * public/WebRegularExpression.h:
1333         * public/WebRuntimeFeatures.h:
1334         * public/WebScopedMicrotaskSuppression.h:
1335         * public/WebScopedUserGesture.h:
1336         * public/WebScriptController.h:
1337         * public/WebScriptSource.h:
1338         * public/WebSearchableFormData.h:
1339         * public/WebSecurityOrigin.h:
1340         * public/WebSecurityPolicy.h:
1341         * public/WebSelectElement.h:
1342         * public/WebSettings.h:
1343         * public/WebSharedWorker.h:
1344         * public/WebSharedWorkerRepository.h:
1345         * public/WebSpeechGrammar.h:
1346         * public/WebSpeechInputController.h:
1347         * public/WebSpeechInputResult.h:
1348         * public/WebSpeechRecognitionHandle.h:
1349         * public/WebSpeechRecognitionParams.h:
1350         * public/WebSpeechRecognitionResult.h:
1351         * public/WebSpeechRecognizer.h:
1352         * public/WebSpeechRecognizerClient.h:
1353         * public/WebSpellCheckClient.h:
1354         * public/WebStorageEventDispatcher.h:
1355         * public/WebSurroundingText.h:
1356         * public/WebTestingSupport.h:
1357         * public/WebTextCheckingCompletion.h:
1358         * public/WebTextCheckingResult.h:
1359         * public/WebTextFieldDecoratorClient.h:
1360         * public/WebTextInputInfo.h:
1361         * public/WebTextRun.h:
1362         * public/WebTimeRange.h:
1363         * public/WebTouchPoint.h:
1364         * public/WebUserMediaRequest.h:
1365         * public/WebView.h:
1366         * public/WebViewBenchmarkSupport.h:
1367         * public/WebViewClient.h:
1368         * public/WebWidget.h:
1369         * public/WebWidgetClient.h:
1370         * public/WebWindowFeatures.h:
1371         * public/WebWorkerInfo.h:
1372
1373 2013-01-09  Stephen Chenney  <schenney@chromium.org>
1374
1375         Adjust Skia build flags to WebKit skia gyp
1376
1377         Unreviewed change to enable easy layout test rebaselining.
1378
1379         * skia_webkit.gyp:
1380
1381 2013-01-09  Mikhail Naganov  <mnaganov@chromium.org>
1382
1383         [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
1384
1385         * tests/WebFrameTest.cpp:
1386
1387 2013-01-08  Mikhail Naganov  <mnaganov@chromium.org>
1388
1389         [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
1390         https://bugs.webkit.org/show_bug.cgi?id=106021
1391
1392         This is to emulate 'UseWideViewport' setting of Android WebView properly.
1393         'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
1394         When the value is false, "meta viewport" tag is ignored, and when calculating
1395         layout width, display width in DIP pixels is used.
1396
1397         Reviewed by Adam Barth.
1398
1399         * src/ChromeClientImpl.cpp:
1400         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1401         * src/WebViewImpl.cpp:
1402         (WebKit::WebViewImpl::resize):
1403         (WebKit::WebViewImpl::dipSize):
1404         (WebKit):
1405         * src/WebViewImpl.h:
1406         (WebCore):
1407         (WebViewImpl):
1408
1409 2013-01-08  Chris Rogers  <crogers@google.com>
1410
1411         Remove unused/deprecated render() method in chromium WebKit API
1412         https://bugs.webkit.org/show_bug.cgi?id=106399
1413
1414         Reviewed by Kent Tamura.
1415
1416         * src/AudioDestinationChromium.cpp:
1417         * src/AudioDestinationChromium.h:
1418         (AudioDestinationChromium):
1419
1420 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
1421
1422         Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
1423         https://bugs.webkit.org/show_bug.cgi?id=106403
1424
1425         This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
1426         r139044.
1427
1428         Reviewed by Hajime Morita.
1429
1430         * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
1431         * src/DragScrollTimer.cpp: Removed.
1432         * src/DragScrollTimer.h: Removed.
1433
1434 2013-01-08  Keishi Hattori  <keishi@webkit.org>
1435
1436         [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
1437         https://bugs.webkit.org/show_bug.cgi?id=106312
1438
1439         Reviewed by Kent Tamura.
1440
1441         We had to removed the code that closed popups on mouse wheel events from
1442         content::RenderWidgetHostViewMac because it no longer had access to
1443         child popups. WebViewImpl will hide the popups on mouse wheel events so
1444         we can maintain the same behavior.
1445
1446         https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
1447
1448         * src/WebViewImpl.cpp:
1449         (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
1450         (WebKit):
1451         * src/WebViewImpl.h:
1452
1453 2013-01-08  James Robinson  <jamesr@chromium.org>
1454
1455         [chromium] Remove transitional #defines from WebKit API headers
1456         https://bugs.webkit.org/show_bug.cgi?id=106381
1457
1458         Reviewed by Adam Barth.
1459
1460         * public/WebWidget.h:
1461
1462 2013-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1463
1464         Unreviewed.  Rolled DEPS.
1465
1466         * DEPS:
1467
1468 2013-01-08  Tom Sepez  <tsepez@chromium.org>
1469
1470         Copy-paste preserves <embed> tags containing active content.
1471         https://bugs.webkit.org/show_bug.cgi?id=77625
1472
1473         Reviewed by Ryosuke Niwa.
1474
1475         Adds chromium API to new unsafePluginPastingEnabled setting.
1476
1477         * public/WebSettings.h:
1478         * src/WebSettingsImpl.cpp:
1479         (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
1480         (WebKit):
1481         * src/WebSettingsImpl.h:
1482         (WebSettingsImpl):
1483
1484 2013-01-08  Mark Lam  <mark.lam@apple.com>
1485
1486         Removed the need for the ProposedDatabase mechanism.
1487         https://bugs.webkit.org/show_bug.cgi?id=106292.
1488
1489         Reviewed by Sam Weinig.
1490
1491         * src/ChromeClientImpl.cpp:
1492         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
1493         * src/ChromeClientImpl.h:
1494         (ChromeClientImpl):
1495
1496 2013-01-08  Keishi Hattori  <keishi@webkit.org>
1497
1498         [Chromium] Don't confine page popups to root view on Mac
1499         https://bugs.webkit.org/show_bug.cgi?id=106315
1500
1501         Reviewed by Kent Tamura.
1502
1503         Page popups on Mac no longer get clipped to the web view so we can
1504         remove the code to confine to root view.
1505
1506         * src/ColorChooserPopupUIController.cpp:
1507         (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
1508         * src/DateTimeChooserImpl.cpp:
1509         (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
1510
1511 2012-12-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>
1512
1513         Introduce a compositing trigger for scrollable frames
1514         https://bugs.webkit.org/show_bug.cgi?id=105573
1515
1516         Reviewed by James Robinson.
1517
1518         Set the newly added scrollable-inner-frames bit to compositing-trigger
1519         bitset in accordance to the respective setting value.
1520
1521         * src/ChromeClientImpl.cpp:
1522         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
1523
1524 2013-01-08  Steve Block  <steveblock@chromium.org>
1525
1526         Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
1527         https://bugs.webkit.org/show_bug.cgi?id=106307
1528
1529         This matches other method names which distinguish between sizes and
1530         points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
1531
1532         Reviewed by Kentaro Hara.
1533
1534         * src/NonCompositedContentHost.cpp:
1535         (WebKit::NonCompositedContentHost::setViewport):
1536         * src/WebFrameImpl.cpp:
1537         (WebKit::WebFrameImpl::minimumScrollOffset):
1538         (WebKit::WebFrameImpl::maximumScrollOffset):
1539
1540 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
1541
1542         Dragging over an element with scrollbars should scroll the element when dragging near edges
1543         https://bugs.webkit.org/show_bug.cgi?id=39725
1544
1545         Reviewed by Hajime Morita.
1546
1547         This patch removes DragScrollTimer used for automatic scrolling of main
1548         frame drag-and-drop which is now implemented in EventHandler.
1549
1550         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
1551         make patch size small.
1552
1553         No tests. Existing test covers this change.
1554
1555         * src/WebViewImpl.cpp:
1556         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
1557         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
1558         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
1559         (WebKit::WebViewImpl::dragTargetDrop): ditto
1560         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
1561         * src/WebViewImpl.h:
1562         (WebKit): Chagned to remove DragScrollTimer.
1563
1564 2013-01-07  Steve Block  <steveblock@chromium.org>
1565
1566         Use toSize() to convert from Int/FloatPoint to Int/FloatSize
1567         https://bugs.webkit.org/show_bug.cgi?id=105992
1568
1569         Reviewed by Kentaro Hara.
1570
1571         * src/LinkHighlight.cpp:
1572         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
1573         * src/WebFrameImpl.cpp:
1574         (WebKit::WebFrameImpl::minimumScrollOffset):
1575         (WebKit::WebFrameImpl::maximumScrollOffset):
1576
1577 2013-01-07  Xianzhu Wang  <wangxianzhu@chromium.org>
1578
1579         [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
1580         https://bugs.webkit.org/show_bug.cgi?id=106262
1581
1582         Reviewed by James Robinson.
1583
1584         * public/WebSettings.h:
1585         * src/WebSettingsImpl.cpp:
1586         (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
1587         (WebKit):
1588         * src/WebSettingsImpl.h:
1589         (WebSettingsImpl):
1590
1591 2013-01-07  Stephen White  <senorblanco@chromium.org>
1592
1593         Add a flag to control canvas antialiasing.
1594         https://bugs.webkit.org/show_bug.cgi?id=106255
1595
1596         Reviewed by Darin Fisher.
1597
1598         * public/WebSettings.h:
1599         * src/WebSettingsImpl.cpp:
1600         (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
1601         * src/WebSettingsImpl.h:
1602
1603 2013-01-07  Yusuf Ozuysal  <yusufo@google.com>
1604
1605         Don't use double tap zoom if minimum and maximum page scale is the same
1606         https://bugs.webkit.org/show_bug.cgi?id=106272
1607
1608         Reviewed by James Robinson.
1609
1610         We should only try to computed relevant scale and scrollOffset and start the animation
1611         if the page is zoomable. This now creates an undesired animation for mobile pages which
1612         are not zoomable.
1613
1614         * src/WebViewImpl.cpp:
1615         (WebKit::WebViewImpl::handleGestureEvent):
1616
1617 2013-01-07  Tony Chang  <tony@chromium.org>
1618
1619         Unreviewed.  Rolled DEPS.
1620
1621         * DEPS:
1622
1623 2013-01-07  Alok Priyadarshi  <alokp@chromium.org>
1624
1625         [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
1626         https://bugs.webkit.org/show_bug.cgi?id=104956
1627
1628         Reviewed by James Robinson.
1629
1630         Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
1631
1632         * src/NonCompositedContentHost.cpp:
1633         (WebKit::NonCompositedContentHost::paintContents):
1634         (WebKit):
1635         (WebKit::NonCompositedContentHost::setShowDebugBorders):
1636         * src/PageWidgetDelegate.cpp:
1637         (WebKit::PageWidgetDelegate::paint):
1638         * src/WebFontImpl.cpp:
1639         (WebKit::WebFontImpl::drawText):
1640
1641 2013-01-07  Mike West  <mkwst@chromium.org>
1642
1643         Make the IFRAME_SEAMLESS flag runtime-enabled.
1644         https://bugs.webkit.org/show_bug.cgi?id=106213
1645
1646         Reviewed by Ojan Vafai.
1647
1648         * public/WebRuntimeFeatures.h:
1649         (WebRuntimeFeatures):
1650         * src/WebRuntimeFeatures.cpp:
1651         (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
1652         (WebKit):
1653         (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
1654             Expose the new runtime feature to the Chromium port.
1655
1656 2013-01-07  Alec Flett  <alecflett@chromium.org>
1657
1658         IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
1659         https://bugs.webkit.org/show_bug.cgi?id=106148
1660
1661         Reviewed by Adam Barth.
1662
1663         Stub out WebKit API for async createObjectStore.
1664
1665         * public/WebIDBDatabase.h:
1666         (WebIDBDatabase):
1667         * src/IDBDatabaseBackendProxy.cpp:
1668         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
1669         (WebKit):
1670         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
1671         * src/IDBDatabaseBackendProxy.h:
1672         (IDBDatabaseBackendProxy):
1673         * src/WebIDBDatabaseImpl.cpp:
1674         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1675         (WebKit):
1676         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
1677         * src/WebIDBDatabaseImpl.h:
1678         (WebIDBDatabaseImpl):
1679
1680 2013-01-07  Stephen Chenney  <schenney@chromium.org>
1681
1682         Add comment to WebKit skia gyp
1683
1684         Unreviewed additon of a comment.
1685
1686         * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
1687
1688 2013-01-07  Stephen Chenney  <schenney@chromium.org>
1689
1690         Add Skia build flags to WebKit skia gyp
1691
1692         Unreviewed change to enable easy layout test rebaselining.
1693
1694         * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
1695
1696 2013-01-05  Alec Flett  <alecflett@chromium.org>
1697
1698         IndexedDB: Migrate backend ObjectStore calls to use transaction id
1699         https://bugs.webkit.org/show_bug.cgi?id=102741
1700
1701         Reviewed by Tony Chang.
1702
1703         Fix a bug where an array was initialized with a large empty buffer,
1704         clean up whitespace, and update to match signatures that changed
1705         in WebCore.
1706
1707         * public/WebIDBDatabase.h:
1708         (WebKit::WebIDBDatabase::clear):
1709         * src/WebIDBDatabaseImpl.cpp:
1710         (WebKit::WebIDBDatabaseImpl::put):
1711         * src/WebIDBIndexImpl.cpp:
1712         * tests/IDBDatabaseBackendTest.cpp:
1713
1714 2013-01-05  Alec Flett  <alecflett@chromium.org>
1715
1716         IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
1717         https://bugs.webkit.org/show_bug.cgi?id=106117
1718
1719         Reviewed by Adam Barth.
1720
1721         Stubs for migration from WebIDBObjectStore.
1722
1723         * public/WebIDBDatabase.h:
1724         (WebKit::WebIDBDatabase::createIndex):
1725         (WebKit::WebIDBDatabase::deleteIndex):
1726         (WebIDBDatabase):
1727         * src/IDBDatabaseBackendProxy.cpp:
1728         (WebKit::IDBDatabaseBackendProxy::createIndex):
1729         (WebKit):
1730         (WebKit::IDBDatabaseBackendProxy::deleteIndex):
1731         * src/IDBDatabaseBackendProxy.h:
1732         (IDBDatabaseBackendProxy):
1733         * src/WebIDBDatabaseImpl.cpp:
1734         (WebKit::WebIDBDatabaseImpl::createIndex):
1735         (WebKit):
1736         (WebKit::WebIDBDatabaseImpl::deleteIndex):
1737         * src/WebIDBDatabaseImpl.h:
1738         (WebIDBDatabaseImpl):
1739         * tests/IDBDatabaseBackendTest.cpp:
1740
1741 2013-01-05  Chris Hopman  <cjhopman@google.com>
1742
1743         Add function to move caret selection towards a point
1744         https://bugs.webkit.org/show_bug.cgi?id=105189
1745
1746         Reviewed by Eric Seidel.
1747
1748         This function moves the selection to the corresponding point in the
1749         rootEditableElement of the current selection. Used on Android for
1750         the behavior of insertion handles (i.e. dragging the caret around).
1751
1752         * public/WebFrame.h:
1753         (WebFrame):
1754         * src/WebFrameImpl.cpp:
1755         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
1756         (WebKit):
1757         * src/WebFrameImpl.h:
1758         (WebFrameImpl):
1759
1760 2013-01-04  James Robinson  <jamesr@chromium.org>
1761
1762         [chromium] Remove WebWidget::layerTreeView(), ownership is the other way around
1763         https://bugs.webkit.org/show_bug.cgi?id=106139
1764
1765         Reviewed by Adrienne Walker.
1766
1767         This was added with the thought that it would be useful for transitioning code for a world where the
1768         WebLayerTreeView for a given widget was owned by the WebWidgetClient instead of the WebWidget, but as it turns
1769         out we've transitioned without every adding any callers to this.
1770
1771         * public/WebWidget.h:
1772         (WebWidget):
1773         * src/WebViewImpl.cpp:
1774
1775 2013-01-04  Dana Jansens  <danakj@chromium.org>
1776
1777         [chromium] Remove lost-compositor-context layout tests
1778         https://bugs.webkit.org/show_bug.cgi?id=106089
1779
1780         Reviewed by James Robinson.
1781
1782         Remove the loseCompositorContext() test function.
1783
1784         * public/WebView.h:
1785         (WebView):
1786         * src/WebViewImpl.cpp:
1787         * src/WebViewImpl.h:
1788         (WebViewImpl):
1789
1790 2013-01-04  Adam Klein  <adamk@chromium.org>
1791
1792         Remove ENABLE_MUTATION_OBSERVERS #define
1793         https://bugs.webkit.org/show_bug.cgi?id=105459
1794
1795         Reviewed by Ryosuke Niwa.
1796
1797         * features.gypi:
1798         * src/WebKit.cpp:
1799         (WebKit::initialize):
1800         (WebKit::shutdown):
1801
1802 2013-01-04  Mark Pilgrim  <pilgrim@chromium.org>
1803
1804         [Chromium] Update some #includes to use headers in the new Platform directory
1805         https://bugs.webkit.org/show_bug.cgi?id=106092
1806
1807         Reviewed by Kentaro Hara.
1808
1809         Working towards getting rid of legacy header files in
1810         WebKit/chromium/public/ and WebKit/chromium/public/platform/
1811
1812         * src/AsyncFileSystemChromium.cpp:
1813         * src/StorageAreaProxy.cpp:
1814         * src/StorageNamespaceProxy.cpp:
1815         * src/WebFileSystemCallbacksImpl.cpp:
1816         * src/WebGraphicsContext3D.cpp:
1817         * src/WebIDBCursorImpl.h:
1818         * src/WebIDBDatabaseCallbacksImpl.cpp:
1819         * src/WebIDBDatabaseCallbacksImpl.h:
1820         * src/WebIDBDatabaseError.cpp:
1821         * src/WebIDBDatabaseImpl.h:
1822         * src/WebIDBIndexImpl.h:
1823         * src/WebIDBKeyPath.cpp:
1824         * src/WebIDBMetadata.cpp:
1825         * src/WebIDBObjectStoreImpl.h:
1826         * src/WebWorkerClientImpl.cpp:
1827         * src/WebWorkerRunLoop.cpp:
1828         * src/WorkerFileSystemCallbacksBridge.cpp:
1829         * tests/AssociatedURLLoaderTest.cpp:
1830         * tests/FrameTestHelpers.cpp:
1831         * tests/PopupMenuTest.cpp:
1832         * tests/URLTestHelpers.cpp:
1833         * tests/WebFrameTest.cpp:
1834         * tests/WebPageNewSerializerTest.cpp:
1835         * tests/WebPageSerializerTest.cpp:
1836         * tests/WebURLRequestTest.cpp:
1837         * tests/WebURLResponseTest.cpp:
1838         * tests/WebUnitTests.h:
1839         * tests/WebViewTest.cpp:
1840
1841 2013-01-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1842
1843         Unreviewed.  Rolled DEPS.
1844
1845         * DEPS:
1846
1847 2013-01-03  Sami Kyostila  <skyostil@chromium.org>
1848
1849         [chromium] Rename low latency rendering mode setting to vsync notification
1850         https://bugs.webkit.org/show_bug.cgi?id=106020
1851
1852         Reviewed by James Robinson.
1853
1854         Rename low latency rendering mode setting to vsync notification because
1855         the old name was ambiguous and bad. This setting is meant to control
1856         whether the renderer uses a vsync signal provided by the browser to
1857         schedule rendering.
1858
1859 2013-01-03  Mark Pilgrim  <pilgrim@chromium.org>
1860
1861         [Chromium] Remove all references to sharedWorkerRepository()
1862         https://bugs.webkit.org/show_bug.cgi?id=104704
1863
1864         Reviewed by Adam Barth.
1865
1866         Now that Chromium calls setSharedWorkerRepository upon
1867         initializing WebKit (
1868         https://codereview.chromium.org/10990121/ and
1869         https://codereview.chromium.org/11576028/ ) and no longer
1870         tries to override sharedWorkerRepository, it is safe to remove
1871         all references to this function.
1872
1873         * public/platform/WebKitPlatformSupport.h:
1874         (WebKit):
1875         (WebKit::WebKitPlatformSupport::idbFactory):
1876         * src/SharedWorkerRepository.cpp:
1877         (WebKit::sharedWorkerRepository):
1878         (WebCore::SharedWorkerRepository::isAvailable):
1879
1880 2013-01-03  Tommy Widenflycht  <tommyw@google.com>
1881
1882         MediaStream API: Add a missing state to RTCPeerConnection
1883         https://bugs.webkit.org/show_bug.cgi?id=106017
1884
1885         Reviewed by Adam Barth.
1886
1887         Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
1888
1889         * src/AssertMatchingEnums.cpp:
1890
1891 2013-01-03  Joshua Bell  <jsbell@chromium.org>
1892
1893         IndexedDB: Simplify IDBTransactionBackendImpl::scheduleTask usage
1894         https://bugs.webkit.org/show_bug.cgi?id=103536
1895
1896         Reviewed by Tony Chang.
1897
1898         Track whether IDBCallbacks has fired before being destructed. If not it probably
1899         came in after a transaction had asynchronously aborted; fire an abort error which
1900         will be ignored on the front-end but will clean up lingering IPC tracking.
1901
1902         * public/WebIDBDatabaseException.h:
1903         * src/AssertMatchingEnums.cpp:
1904         * src/IDBCallbacksProxy.cpp:
1905         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1906         (WebKit::IDBCallbacksProxy::~IDBCallbacksProxy):
1907         (WebKit::IDBCallbacksProxy::onError):
1908         (WebKit::IDBCallbacksProxy::onSuccess):
1909         * src/IDBCallbacksProxy.h:
1910         (IDBCallbacksProxy):
1911
1912 2013-01-02  Kenneth Russell  <kbr@google.com>
1913
1914         [chromium] Creation of dedicated workers (isolates) leaks reference to HTMLDocument
1915         https://bugs.webkit.org/show_bug.cgi?id=105367
1916
1917         Reviewed by Dmitry Titov.
1918
1919         Made WebWorkerClientImpl a subclass of WorkerMessagingProxy rather than an object wrapping
1920         WorkerMessagingProxy. WorkerMessagingProxy manages its own lifetime and it is impossible to
1921         properly synchronize the lifetime of WebWorkerClientImpl separately.
1922
1923         This allowed most of WebWorkerClientImpl to be deleted, but forced a divergence in the class
1924         hierarchies of WebWorkerClientImpl and WebSharedWorkerImpl. Conversion methods were added to
1925         WorkerLoaderProxy and WebWorkerBase to bridge the hierarchies of in-process and
1926         out-of-process workers.
1927
1928         * src/DatabaseObserver.cpp:
1929         (WebCore::DatabaseObserver::canEstablishDatabase):
1930             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1931         * src/IDBFactoryBackendProxy.cpp:
1932         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1933             Adjusted how WorkerLoaderProxy's methods are called.
1934         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1935             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1936         * src/LocalFileSystemChromium.cpp:
1937         (WebCore::openFileSystemHelper):
1938             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1939         * src/WebSharedWorkerImpl.cpp:
1940         (WebKit::WebSharedWorkerImpl::toWebWorkerBase):
1941             Implemented new conversion method.
1942         * src/WebSharedWorkerImpl.h:
1943         (WebSharedWorkerImpl):
1944             Explicitly derive from WorkerLoaderProxy now that WebWorkerBase no longer does.
1945         (WebKit::WebSharedWorkerImpl::workerLoaderProxy):
1946             Added new conversion method.
1947         * src/WebWorkerBase.h:
1948         (WebWorkerBase):
1949             Removed derivation from WorkerLoaderProxy. Added method to convert to WorkerLoaderProxy.
1950         * src/WebWorkerClientImpl.cpp:
1951         (WebKit):
1952             Adjusted comment.
1953         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
1954             Adjusted whitespace.
1955         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1956             Eliminated delegation to separate object.
1957         (WebKit::WebWorkerClientImpl::toWebWorkerBase):
1958             Implemented new conversion method.
1959         (WebKit::WebWorkerClientImpl::view):
1960         (WebKit::WebWorkerClientImpl::allowDatabase):
1961         (WebKit::WebWorkerClientImpl::allowFileSystem):
1962         (WebKit::WebWorkerClientImpl::openFileSystem):
1963         (WebKit::WebWorkerClientImpl::allowIndexedDB):
1964             Eliminated delegation to separate object.
1965         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1966         * src/WebWorkerClientImpl.h:
1967         (WebKit):
1968             Changed to inherit from WorkerMessagingProxy directly.
1969         (WebWorkerClientImpl):
1970             Deleted most methods previously overridden from WorkerContextProxy, etc.
1971         * src/WorkerAsyncFileSystemChromium.cpp:
1972         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1973         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
1974             Hold on to, and use, WorkerLoaderProxy rather than WebWorkerBase.
1975         * src/WorkerAsyncFileSystemChromium.h:
1976         (WebKit):
1977         (WebCore):
1978         (WorkerAsyncFileSystemChromium):
1979             Hold on to WorkerLoaderProxy rather than WebWorkerBase.
1980
1981 2013-01-02  James Robinson  <jamesr@chromium.org>
1982
1983         [chromium] Remove unused transitional #defines from WebKit Client API
1984         https://bugs.webkit.org/show_bug.cgi?id=105974
1985
1986         Reviewed by Adam Barth.
1987
1988         The transitions these #defines helped with have completed.
1989
1990         * public/WebFileSystemCallbacks.h:
1991         (WebKit):
1992         * public/WebKit.h:
1993         * public/WebRuntimeFeatures.h:
1994         * public/WebSettings.h:
1995         * public/WebWidget.h:
1996
1997 2013-01-02  Cris Neckar  <cdn@chromium.org>
1998
1999         Initialize WebInputEvent to prevent sending uninitialized bytes with IPC messages.
2000         https://bugs.webkit.org/show_bug.cgi?id=105934
2001
2002         Reviewed by James Robinson.
2003
2004         * public/WebInputEvent.h:
2005         (WebKit::WebInputEvent::WebInputEvent):
2006
2007 2013-01-02  David Tseng  <dtseng@google.com>
2008
2009         AX: Chromium needs platform localized strings for media controls.
2010         https://bugs.webkit.org/show_bug.cgi?id=105940
2011
2012         Reviewed by Tony Chang.
2013
2014         * src/LocalizedStrings.cpp:
2015         (WebCore::localizedMediaControlElementString):
2016         (WebCore):
2017         (WebCore::localizedMediaControlElementHelpText):
2018
2019 2013-01-02  Mark Pilgrim  <pilgrim@chromium.org>
2020
2021         [Chromium] Add Platform/chromium to include_dirs
2022         https://bugs.webkit.org/show_bug.cgi?id=105955
2023
2024         Reviewed by James Robinson.
2025
2026         Currently the headers in WebKit/chromium/public/Web*.h can not
2027         include headers from the new Platform/chromium/ directory with the
2028         "#include <public/WebFoo.h>" syntax, because the include_dirs for
2029         dependent builds (like Chromium-within-WebKit) do not include the
2030         new Platform/chromium/ directory. This patch adds that capability
2031         without managing to break anything else.
2032
2033         * WebKit.gyp:
2034
2035 2013-01-02  Alec Flett  <alecflett@chromium.org>
2036
2037         IndexedDB: Use non-const buffers in put() to avoid copies
2038         https://bugs.webkit.org/show_bug.cgi?id=105572
2039
2040         Reviewed by Adam Barth.
2041
2042         Pass on non-const Vectors to allow buffer adoption rather than copies.
2043
2044         * public/WebIDBDatabase.h:
2045         (WebIDBDatabase):
2046         (WebKit::WebIDBDatabase::put):
2047         * src/IDBDatabaseBackendProxy.cpp:
2048         (WebKit::IDBDatabaseBackendProxy::put):
2049         * src/IDBDatabaseBackendProxy.h:
2050         (IDBDatabaseBackendProxy):
2051         * src/WebIDBDatabaseImpl.cpp:
2052         (WebKit::WebIDBDatabaseImpl::put):
2053         * src/WebIDBDatabaseImpl.h:
2054         (WebIDBDatabaseImpl):
2055         * tests/IDBDatabaseBackendTest.cpp:
2056
2057 2013-01-02  Robert Kroeger  <rjkroege@chromium.org>
2058
2059         [chromium] Use top level field for gesture event source
2060         https://bugs.webkit.org/show_bug.cgi?id=105664
2061
2062         Reviewed by Adam Barth.
2063
2064         Previously, only GestureFlingStart subtypes of WebGestureEvent
2065         had a deviceSource flag. A previous CL added a top-level
2066         deviceSource field for all WebGestureEvent. Now that this field
2067         is populated in Chromium, use it as necessary in the Chromium
2068         WebKit layer.
2069
2070         No new tests: covered by existing tests.
2071
2072         * src/WebCompositorInputHandlerImpl.cpp:
2073         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
2074         * src/WebViewImpl.cpp:
2075         (WebKit::WebViewImpl::handleGestureEvent):
2076         * tests/WebCompositorInputHandlerImplTest.cpp:
2077         (WebKit::TEST_F):
2078
2079 2012-12-28  Fady Samuel  <fsamuel@chromium.org>
2080
2081         Roll Chromium DEPS to r174739
2082         https://bugs.webkit.org/show_bug.cgi?id=105813
2083
2084         Unreviewed.
2085
2086         * DEPS:
2087
2088 2012-12-26  Nico Weber  <thakis@chromium.org>
2089
2090         [chromium] Disable unprefixed css transitions until they're functional
2091         https://bugs.webkit.org/show_bug.cgi?id=105771
2092
2093         Reviewed by Eric Seidel.
2094
2095         Bug 105647 mentions that this is not fully implemented yet, and the
2096         partial support breaks feature detection in modernizr and friends.
2097
2098         * features.gypi:
2099
2100 2012-12-26  Yury Semikhatsky  <yurys@chromium.org>
2101
2102         Web Inspector: extract JS heap profiler specifics into JSHeapSnapshot.js
2103         https://bugs.webkit.org/show_bug.cgi?id=105768
2104
2105         Reviewed by Pavel Feldman.
2106
2107         * WebKit.gyp: added new file to JS heap profiler.
2108
2109 2012-12-21  Xianzhu Wang  <wangxianzhu@chromium.org>
2110
2111         [Chromium-Android] Use harfbuzz-ng instead of harfbuzz-old on Android
2112         https://bugs.webkit.org/show_bug.cgi?id=104410
2113
2114         Reviewed by Eric Seidel.
2115
2116         * features.gypi: Enable harfbuzz-ng on Android.
2117
2118 2012-12-21  Joshua Bell  <jsbell@chromium.org>
2119
2120         IndexedDB: Combine openConnection and openConnectionWithVersion
2121         https://bugs.webkit.org/show_bug.cgi?id=105658
2122
2123         Reviewed by Tony Chang.
2124
2125         * tests/IDBDatabaseBackendTest.cpp:
2126
2127 2012-12-20  Noel Gordon  <noel.gordon@gmail.com>
2128
2129         [chromium] Disable color profile support for WebImageSkia users 
2130         https://bugs.webkit.org/show_bug.cgi?id=105493
2131
2132         Reviewed by Eric Seidel.
2133
2134         Disable color profiles to prevent null pointer dereference under some
2135         conditions. Tested by unittests at src.chromium.org.
2136
2137         * src/WebImageSkia.cpp:
2138         (WebKit::WebImage::fromData):
2139         (WebKit::WebImage::framesFromData):
2140
2141 2012-12-20  Nate Chapin  <japhet@chromium.org>
2142
2143         Rename shouldBufferData to dataBufferingPolicy
2144         https://bugs.webkit.org/show_bug.cgi?id=105450
2145
2146         Reviewed by Alexey Proskuryakov.
2147
2148         No new tests, simple rename.
2149
2150         * src/AssociatedURLLoader.cpp:
2151         (WebKit::AssociatedURLLoader::loadAsynchronously):
2152
2153 2012-12-20  Dominic Mazzoni  <dmazzoni@google.com>
2154
2155         AX: support clickPoint in DRT for chromium
2156         https://bugs.webkit.org/show_bug.cgi?id=97359
2157
2158         Reviewed by Chris Fleizach.
2159
2160         Exposes the clickPoint accessibility method in WebAccessibilityObject.
2161
2162         * public/WebAccessibilityObject.h:
2163         (WebAccessibilityObject):
2164         * src/WebAccessibilityObject.cpp:
2165         (WebKit::WebAccessibilityObject::clickPoint):
2166         (WebKit):
2167
2168 2012-12-19  Pavel Feldman  <pfeldman@chromium.org>
2169
2170         Web Inspector: introduce Page.captureScreenshot
2171         https://bugs.webkit.org/show_bug.cgi?id=105315
2172
2173         Reviewed by Yury Semikhatsky.
2174
2175         Introduces a way for browser to handle protocol commands:
2176         embedder will ask WebKit whether it should override the command
2177         result and will get a hint value. Based on that hint, browser
2178         will prepare the data and ask WebKit again to patch this data in.
2179
2180         * public/WebDevToolsAgent.h:
2181         (WebDevToolsAgent):
2182         * src/InspectorClientImpl.cpp:
2183         (WebKit::InspectorClientImpl::captureScreenshot):
2184         (WebKit):
2185         * src/InspectorClientImpl.h:
2186         (InspectorClientImpl):
2187         * src/WebDevToolsAgentImpl.cpp:
2188         (BrowserDataHintStringValues):
2189         (WebKit):
2190         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
2191         (WebKit::WebDevToolsAgentImpl::captureScreenshot):
2192         (WebKit::browserHintToString):
2193         (WebKit::browserHintFromString):
2194         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
2195         (WebKit::WebDevToolsAgent::shouldPatchWithBrowserData):
2196         (WebKit::WebDevToolsAgent::patchWithBrowserData):
2197         * src/WebDevToolsAgentImpl.h:
2198         (WebDevToolsAgentImpl):
2199
2200 2012-12-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2201
2202         Unreviewed, rolling out r138215.
2203         http://trac.webkit.org/changeset/138215
2204         https://bugs.webkit.org/show_bug.cgi?id=105505
2205
2206         it broke downstream compilation with clang (Requested by
2207         loislo on #webkit).
2208
2209         * public/platform/WebKitPlatformSupport.h:
2210         (WebKit):
2211         (WebKitPlatformSupport):
2212         (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
2213         * src/SharedWorkerRepository.cpp:
2214         (WebKit::sharedWorkerRepository):
2215         (WebCore::SharedWorkerRepository::isAvailable):
2216
2217 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
2218
2219         [Chromium] Remove idbFactory from PlatformSupport
2220         https://bugs.webkit.org/show_bug.cgi?id=105460
2221
2222         Reviewed by Darin Fisher.
2223
2224         Part of a larger refactoring series; see tracking bug 82948.
2225
2226         * WebKit.gyp:
2227         * src/IDBFactoryBackendInterface.cpp: Added.
2228         (WebCore):
2229         (WebCore::IDBFactoryBackendInterface::create):
2230         * src/PlatformSupport.cpp: Removed.
2231
2232 2012-12-19  Antoine Labour  <piman@chromium.org>
2233
2234         [chromium] Remove old setBackingTextureId/setBackingIOSurfaceId API on WebPluginContainer
2235         https://bugs.webkit.org/show_bug.cgi?id=105472
2236
2237         Reviewed by James Robinson.
2238
2239         This is not called anymore by chromium (as of r173545), using
2240         setWebPlugin instead.
2241
2242         * public/WebPluginContainer.h:
2243         * src/WebPluginContainerImpl.cpp:
2244         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2245         * src/WebPluginContainerImpl.h:
2246         (WebPluginContainerImpl):
2247
2248 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
2249
2250         [Chromium] add setIDBFactory method for embedders to call
2251         https://bugs.webkit.org/show_bug.cgi?id=105465
2252
2253         Reviewed by Darin Fisher.
2254
2255         This is step 1 of getting rid of WebKitPlatform::idbFactory. This
2256         adds a setter for embedders to call upon initialization, which (if
2257         set) will be used instead of calling the idbFactory()
2258         method. Eventually the idbFactory() method will go away, and this
2259         setter will be the only way to initialize the Indexed Database API.
2260
2261         * public/WebIDBFactory.h:
2262         (WebKit):
2263         * src/IDBFactoryBackendProxy.cpp:
2264         (WebKit):
2265         (WebKit::setIDBFactory):
2266         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2267
2268 2012-12-19  Rachel Blum  <groby@chromium.org>
2269
2270         [Chromium] Check Document now should work with continuous check off
2271         https://bugs.webkit.org/show_bug.cgi?id=105228
2272
2273         Reviewed by Anders Carlsson.
2274
2275         * src/EditorClientImpl.cpp:
2276         (WebKit::EditorClientImpl::checkSpellingOfString):
2277
2278 2012-12-19  Rachel Blum  <groby@chromium.org>
2279
2280         [Chromium] Spellchecker should provide suggestions for non-caret selection, too
2281         https://bugs.webkit.org/show_bug.cgi?id=104841
2282
2283         Reviewed by Anders Carlsson.
2284
2285         Allow spelling suggestions for a word if the word is already selected. No suggestion 
2286         if subset of a word or more than a word is selected.
2287
2288         * src/ContextMenuClientImpl.cpp:
2289         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2290
2291 2012-12-19  Mark Pilgrim  <pilgrim@chromium.org>
2292
2293         [Chromium] Remove all references to sharedWorkerRepository()
2294         https://bugs.webkit.org/show_bug.cgi?id=104704
2295
2296         Reviewed by Darin Fisher.
2297
2298         Now that Chromium calls setSharedWorkerRepository upon
2299         initializing WebKit (
2300         https://codereview.chromium.org/10990121/ and
2301         https://codereview.chromium.org/11576028/ ) and no longer
2302         tries to override sharedWorkerRepository, it is safe to remove
2303         all references to this function.
2304
2305         * public/platform/WebKitPlatformSupport.h:
2306         (WebKit):
2307         (WebKit::WebKitPlatformSupport::idbFactory):
2308         * src/SharedWorkerRepository.cpp:
2309         (WebKit::sharedWorkerRepository):
2310         (WebCore::SharedWorkerRepository::isAvailable):
2311
2312 2012-12-19  Alexis Menard  <alexis@webkit.org>
2313
2314         Implement CSS parsing for CSS transitions unprefixed.
2315         https://bugs.webkit.org/show_bug.cgi?id=104804
2316
2317         Reviewed by Dean Jackson.
2318
2319         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
2320         to cover the work of unprefixing Transforms, Animations and 
2321         Transitions. It will let the possibility of each ports to turn it off 
2322         in their release branches until we're confident that these CSS 
2323         properties are ready to be unprefixed.
2324
2325         * features.gypi:
2326
2327 2012-12-19  Dominic Mazzoni  <dmazzoni@google.com>
2328
2329         Support titleUIElement in chromium DRT
2330         https://bugs.webkit.org/show_bug.cgi?id=96529
2331
2332         Reviewed by Chris Fleizach.
2333
2334         Fix implementation of titleUIElement - it shouldn't return anything
2335         if supportsTitleUIElement returns false, so that accessible label
2336         overriding logic works correctly.
2337
2338         * src/WebAccessibilityObject.cpp:
2339         (WebKit::WebAccessibilityObject::titleUIElement):
2340
2341 2012-12-19  Gavin Peters  <gavinp@chromium.org>
2342
2343         [chromium] WebCore::Prerender::didStartPrerender depends on LinkLoader
2344         https://bugs.webkit.org/show_bug.cgi?id=105290
2345
2346         Reviewed by Abhishek Arya.
2347
2348         The LinkLoader now removes itself from its prerender in time.
2349
2350         * tests/PrerenderingTest.cpp:
2351
2352 2012-12-18  Ilya Tikhonovsky  <loislo@chromium.org>
2353
2354         Unreviewed, rolling out r138061.
2355         https://bugs.webkit.org/show_bug.cgi?id=105396
2356
2357         Original patch:
2358         http://trac.webkit.org/changeset/138061
2359         https://bugs.webkit.org/show_bug.cgi?id=97359
2360
2361         It is crashing on Debug bots
2362
2363         * public/WebAccessibilityObject.h:
2364         (WebAccessibilityObject):
2365         * src/WebAccessibilityObject.cpp:
2366
2367 2012-12-18  David Dorwin  <ddorwin@chromium.org>
2368
2369         [Chromium] Remove temporary backwards compatible interface code (from r137724).
2370         https://bugs.webkit.org/show_bug.cgi?id=105205
2371
2372         Reviewed by James Robinson.
2373
2374         * public/WebMediaPlayerClient.h:
2375         * src/WebMediaPlayerClientImpl.cpp:
2376
2377 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
2378
2379         [chromium] pull in the CDM module recently added to media
2380         https://bugs.webkit.org/show_bug.cgi?id=105360
2381
2382         Unreiviewed build fix, but sanity checked by ddorwin.
2383
2384         * DEPS:
2385
2386 2012-12-18  Dean Jackson  <dino@apple.com>
2387
2388         Unreviewed attempted build fix for Chromium.
2389
2390         Insert stub methods for localized text track menu labels.
2391
2392         * src/LocalizedStrings.cpp:
2393         (WebCore):
2394         (WebCore::textTrackClosedCaptionsText):
2395         (WebCore::textTrackSubtitlesText):
2396         (WebCore::textTrackOffText):
2397         (WebCore::textTrackNoLabelText):
2398
2399 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
2400
2401         Pull in the opus codec sources.
2402
2403         Unreviewed, build fix.
2404
2405         * DEPS:
2406
2407 2012-12-18  Dirk Pranke  <dpranke@chromium.org>
2408
2409         Unreviewed, roll chromium deps to r173769
2410
2411         * DEPS:
2412
2413 2012-12-18  Dominic Mazzoni  <dmazzoni@google.com>
2414
2415         AX: support clickPoint in DRT for chromium
2416         https://bugs.webkit.org/show_bug.cgi?id=97359
2417
2418         Reviewed by Chris Fleizach.
2419
2420         Exposes the clickPoint accessibility method in WebAccessibilityObject.
2421
2422         * public/WebAccessibilityObject.h:
2423         (WebAccessibilityObject):
2424         * src/WebAccessibilityObject.cpp:
2425         (WebKit::WebAccessibilityObject::clickPoint):
2426         (WebKit):
2427
2428 2012-12-18  Wei Jia  <wjia@chromium.org>
2429
2430         Enable media stream on Android for Chromium
2431         https://bugs.webkit.org/show_bug.cgi?id=102545
2432
2433         Reviewed by Eric Seidel.
2434
2435         Put all webrtc related stuff under one flag "enable_webrtc" which is set to 1
2436         on Linux/Windows/Mac and 0 on Android.
2437
2438         * features.gypi:
2439
2440 2012-12-18  Yaron Friedman  <yfriedman@chromium.org>
2441
2442         Chrome Android java output is too verbose
2443         https://bugs.webkit.org/show_bug.cgi?id=105247
2444
2445         Reviewed by Tony Chang.
2446
2447         Pass -quiet to ant to suppress extraneous output.
2448
2449         * WebKitUnitTests.gyp:
2450
2451 2012-12-17  Andrey Kosyakov  <caseq@chromium.org>
2452
2453         Web Inspector: paint inspector overlay on a transparency layer
2454         https://bugs.webkit.org/show_bug.cgi?id=97659
2455
2456         Reviewed by Yury Semikhatsky.
2457
2458         Add a call to PlatformContextSkia::setDrawingToImageBuffer(true) to
2459         fix wrong rendering of content on transparent background.
2460
2461         * src/WebDevToolsAgentImpl.cpp:
2462         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
2463
2464 2012-12-17  Alex Hutter  <ahutter@chromium.org>
2465
2466         Exposing querySelector function on WebNode
2467         https://bugs.webkit.org/show_bug.cgi?id=105193
2468
2469         Reviewed by Darin Fisher.
2470
2471         This change is necessitated by the new autofill flows in chromium.
2472
2473         * public/WebNode.h:
2474         * src/WebNode.cpp:
2475         (WebKit::WebNode::querySelector):
2476         (WebKit):
2477
2478 2012-12-17  Chris Fleizach  <cfleizach@apple.com>
2479
2480         Seamless iframe should not announce a new browsing context
2481         https://bugs.webkit.org/show_bug.cgi?id=86317
2482
2483         Reviewed by Eric Seidel.
2484
2485         * public/WebAccessibilityRole.h:
2486         * src/AssertMatchingEnums.cpp:
2487
2488 2012-12-17  Levi Weintraub  <leviw@chromium.org>
2489
2490         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
2491         https://bugs.webkit.org/show_bug.cgi?id=103914
2492
2493         Reviewed by James Robinson.
2494
2495         Enabling touch event target region tracking.
2496
2497         * features.gypi:
2498         * src/WebPluginContainerImpl.cpp:
2499         (WebKit::WebPluginContainerImpl::requestTouchEventType):
2500         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2501
2502 2012-12-17  James Robinson  <jamesr@chromium.org>
2503
2504         [chromium] Move ownership of WebLayerTreeView to WebWidgetClient
2505         https://bugs.webkit.org/show_bug.cgi?id=105071
2506
2507         Reviewed by Adrienne Walker.
2508
2509         This moves ownership of a given WebWidget's WebLayerTreeView from WebViewImpl out to the embedder by way of
2510         WebWidgetClient. To deal with the two-sided nature of the patch, if construction by the new path fails
2511         WebViewImpl constructs a WebLayerTreeView by the old path, which means it keeps ownership.
2512
2513         * public/WebWidgetClient.h:
2514         (WebWidgetClient):
2515         (WebKit::WebWidgetClient::initializeLayerTreeView):
2516         (WebKit::WebWidgetClient::layerTreeView):
2517         * src/WebViewImpl.cpp:
2518         (WebKit::WebViewImpl::WebViewImpl):
2519         (WebKit::WebViewImpl::~WebViewImpl):
2520         (WebKit::WebViewImpl::webLayerTreeView):
2521         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2522         * src/WebViewImpl.h:
2523
2524 2012-12-17  Pavel Feldman  <pfeldman@chromium.org>
2525
2526         Web Inspector: [chromium] make toolbar render with Mountain Lion-friendly colors
2527         https://bugs.webkit.org/show_bug.cgi?id=105177
2528
2529         Reviewed by Vsevolod Vlasov.
2530
2531         * src/js/devTools.css:
2532         (body.dock-to-bottom #toolbar):
2533         (body.undocked.platform-mac-leopard #toolbar):
2534         (body.undocked.platform-mac-leopard.inactive #toolbar):
2535         (body.undocked.platform-mac-snowleopard #toolbar):
2536         (body.undocked.platform-mac-snowleopard.inactive #toolbar):
2537         (body.undocked.platform-mac-mountain-lion #toolbar):
2538         (body.undocked.platform-mac-mountain-lion.inactive #toolbar):
2539
2540 2012-12-16  Levi Weintraub  <leviw@chromium.org>
2541
2542         Push pixel snapping logic into TransformState
2543         https://bugs.webkit.org/show_bug.cgi?id=101779
2544
2545         Reviewed by Simon Fraser.
2546
2547         Eliminating use of SnapOffsetForTransforms as it's no longer needed.
2548
2549         * src/FindInPageCoordinates.cpp:
2550         (WebKit::toNormalizedRect):
2551         * src/LinkHighlight.cpp:
2552         (WebKit::convertTargetSpaceQuadToCompositedLayer):
2553         * src/WebInputEventConversion.cpp:
2554         (WebKit::convertAbsoluteLocationForRenderObject):
2555         * src/WebPluginContainerImpl.cpp:
2556         (WebKit::WebPluginContainerImpl::windowToLocalPoint):
2557
2558 2012-05-21  Jochen Eisinger  <jochen@chromium.org>
2559
2560         [chromium] Build content_shell from within WebKit
2561         https://bugs.webkit.org/show_bug.cgi?id=87045
2562
2563         Reviewed by Simon Fraser.
2564
2565         * All.gyp:
2566         * DEPS:
2567
2568 2012-12-15  Anders Carlsson  <andersca@apple.com>
2569
2570         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
2571         https://bugs.webkit.org/show_bug.cgi?id=105122
2572
2573         Reviewed by Andreas Kling.
2574
2575         Update for WebCore changes.
2576
2577         * src/FrameLoaderClientImpl.cpp:
2578         (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
2579         * src/FrameLoaderClientImpl.h:
2580         (FrameLoaderClientImpl):
2581
2582 2012-12-15  Simon Fraser  <simon.fraser@apple.com>
2583
2584         Fix repaint issues when resizing a window with centered content, for platforms with a tile cache
2585         https://bugs.webkit.org/show_bug.cgi?id=105073
2586
2587         Reviewed by Dan Bernstein.
2588
2589         Include RenderLayerBacking.h, which is no longer included by RenderLayerCompositor.h.
2590
2591         * tests/ScrollingCoordinatorChromiumTest.cpp:
2592
2593 2012-12-14  Dan Alcantara  <dfalcantara@chromium.org>
2594
2595         WebViewImpl::resetScrollAndScaleState() causes the page to render incorrectly
2596         https://bugs.webkit.org/show_bug.cgi?id=104767
2597
2598         Reviewed by Darin Fisher.
2599
2600         Change WebViewImpl::resetScrollAndScaleState() so that it directly
2601         alters values in the HistoryItem instead of indirectly changing the
2602         values.
2603
2604         Adds a method in HistoryController to clear the scroll and scale state of
2605         its current HistoryItem.
2606
2607         * public/WebView.h:
2608         (WebView):
2609         * src/WebViewImpl.cpp:
2610         (WebKit::WebViewImpl::resetScrollAndScaleState):
2611         * tests/WebViewTest.cpp:
2612
2613 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2614
2615         Unreviewed, rolling out r137765.
2616         http://trac.webkit.org/changeset/137765
2617         https://bugs.webkit.org/show_bug.cgi?id=105067
2618
2619         Breaks webkit_unit_tests and transferred flings (Requested by
2620         jamesr_ on #webkit).
2621
2622         * src/WebCompositorInputHandlerImpl.cpp:
2623         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
2624         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2625         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
2626         * src/WebCompositorInputHandlerImpl.h:
2627         (WebCompositorInputHandlerImpl):
2628         * src/WebViewImpl.cpp:
2629         (WebKit::WebViewImpl::handleGestureEvent):
2630         (WebKit::WebViewImpl::handleKeyEvent):
2631         (WebKit::WebViewImpl::updateAnimations):
2632         (WebKit::WebViewImpl::didCommitLoad):
2633
2634 2012-12-14  Fady Samuel  <fsamuel@chromium.org>
2635
2636         Allow embedder to observe changes to frame names
2637         https://bugs.webkit.org/show_bug.cgi?id=104404
2638
2639         Reviewed by Darin Fisher.
2640
2641         * public/WebFrameClient.h:
2642         (WebFrameClient):
2643         (WebKit::WebFrameClient::didChangeName):
2644         * src/FrameLoaderClientImpl.cpp:
2645         (WebKit::FrameLoaderClientImpl::didChangeName):
2646         (WebKit):
2647         * src/FrameLoaderClientImpl.h:
2648         (FrameLoaderClientImpl):
2649
2650 2012-12-14  Joshua Bell  <jsbell@chromium.org>
2651
2652         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
2653         https://bugs.webkit.org/show_bug.cgi?id=104615
2654
2655         Reviewed by Tony Chang.
2656
2657         Don't create (and leak) a new wrapper object for onSuccess if one was created for onUpgradeNeeded.
2658
2659         * src/IDBCallbacksProxy.cpp:
2660         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
2661         (WebKit::IDBCallbacksProxy::onSuccess):
2662         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
2663         * src/IDBCallbacksProxy.h:
2664         (IDBCallbacksProxy):
2665
2666 2012-12-14  Yusuf Ozuysal  <yusufo@google.com>
2667
2668         Send a message from WebViewImpl to the compositor to inform about end of flings
2669         https://bugs.webkit.org/show_bug.cgi?id=104947
2670
2671         Reviewed by James Robinson.
2672
2673         Whenever we have a fling animation finished on cancelled on main thread this sends
2674         a message that will be relayed to the compositor input handler. Then the input handler
2675         keeps track of main thread fling with a boolean and doesn't send flingCancels
2676         unnecessarily
2677
2678         * src/WebCompositorInputHandlerImpl.cpp:
2679         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
2680         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2681         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
2682         (WebKit::WebCompositorInputHandlerImpl::mainThreadHasStoppedFlinging):
2683         (WebKit):
2684         * src/WebCompositorInputHandlerImpl.h:
2685         (WebCompositorInputHandlerImpl):
2686         * src/WebViewImpl.cpp:
2687         (WebKit::WebViewImpl::handleGestureEvent):
2688         (WebKit::WebViewImpl::handleKeyEvent):
2689         (WebKit::WebViewImpl::updateAnimations):
2690         (WebKit::WebViewImpl::didCommitLoad):
2691
2692 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2693
2694         Unreviewed, rolling out r137570.
2695         http://trac.webkit.org/changeset/137570
2696         https://bugs.webkit.org/show_bug.cgi?id=105048
2697
2698         Stale nodes in the touchEventTarget HashCountedSet are
2699         triggering crashes. Rolling out while I find the root cause.
2700         (Requested by leviw on #webkit).
2701
2702         * features.gypi:
2703         * src/WebPluginContainerImpl.cpp:
2704         (WebKit::WebPluginContainerImpl::requestTouchEventType):
2705         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2706
2707 2012-12-14  Stephen White  <senorblanco@chromium.org>
2708
2709         Unreviewed.  Rolled DEPS.
2710
2711         * DEPS:
2712
2713 2012-12-14  Stephen White  <senorblanco@chromium.org>
2714
2715         Unreviewed.  Rolled DEPS.
2716
2717         * DEPS:
2718
2719 2012-12-14  David Dorwin  <ddorwin@chromium.org>
2720
2721         EME v0.1: Report defaultURL in KeyMessage.
2722         https://bugs.webkit.org/show_bug.cgi?id=104284
2723
2724         Reviewed by Darin Fisher.
2725
2726         Passes defaultURL down from the media engine to HTMLMediaElement.
2727         Only Valid URLs will be passed.
2728
2729         No test because Clear Key does not provide a defaultURL (in v0.1).
2730
2731         * public/WebMediaPlayerClient.h:
2732         * src/WebMediaPlayerClientImpl.cpp:
2733         (WebKit::WebMediaPlayerClientImpl::keyMessage):
2734         (WebKit):
2735         (WebKit::WebMediaPlayerClient::keyMessage):
2736         * src/WebMediaPlayerClientImpl.h:
2737         (WebMediaPlayerClientImpl):
2738
2739 2012-12-13  Tien-Ren Chen  <trchen@chromium.org>
2740
2741         Don't consider container nodes of other disambiguated nodes
2742         https://bugs.webkit.org/show_bug.cgi?id=104619
2743
2744         Reviewed by Eric Seidel.
2745
2746         Added a test to track the new disambiguation popup heuristics.
2747
2748         * tests/WebFrameTest.cpp:
2749         * tests/data/disambiguation_popup_no_container.html: Added.
2750
2751 2012-12-13  James Robinson  <jamesr@chromium.org>
2752
2753         [chromium] Expose a WebLayerTreeView getter on WebWidget to make it easier for the embedder to interface with the compositor
2754         https://bugs.webkit.org/show_bug.cgi?id=104968
2755
2756         Reviewed by Adrienne Walker.
2757
2758         This is an intermediate step on the way to https://code.google.com/p/chromium/issues/detail?id=156175.
2759
2760         * public/WebWidget.h:
2761         (WebKit):
2762         (WebWidget):
2763         (WebKit::WebWidget::layerTreeView):
2764         * src/WebViewImpl.cpp:
2765         (WebKit::WebViewImpl::webLayerTreeView):
2766         (WebKit):
2767         * src/WebViewImpl.h:
2768         (WebViewImpl):
2769
2770 2012-12-13  Antoine Labour  <piman@chromium.org>
2771
2772         [chromium] Small fixes for WebPluginContainer::setWebLayer
2773         https://bugs.webkit.org/show_bug.cgi?id=104953
2774
2775         Reviewed by James Robinson.
2776
2777         * src/WebPluginContainerImpl.cpp:
2778         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): Allow
2779         WebPlugin to clean up dangling pointers.
2780
2781 2012-12-13  Antoine Labour  <piman@chromium.org>
2782
2783         [chromium] Add WebPluginContainer::setWebLayer to supersede setBackingTextureId/setBackingIOSurfaceId
2784         https://bugs.webkit.org/show_bug.cgi?id=104875
2785
2786         Reviewed by James Robinson.
2787
2788         * public/WebPluginContainer.h:
2789         (WebKit):
2790         (WebPluginContainer):
2791         * src/WebPluginContainerImpl.cpp:
2792         (WebKit::WebPluginContainerImpl::setWebLayer):
2793         (WebKit):
2794         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2795         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2796         (WebKit::WebPluginContainerImpl::commitBackingTexture):
2797         (WebKit::WebPluginContainerImpl::setOpaque):
2798         (WebKit::WebPluginContainerImpl::platformLayer):
2799         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2800         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2801         * src/WebPluginContainerImpl.h:
2802         (WebPluginContainerImpl):
2803
2804 2012-12-13  Yusuf Ozuysal  <yusufo@google.com>
2805
2806         Check whether a touchDown lands on a registered touch event handler from the compositor
2807         https://bugs.webkit.org/show_bug.cgi?id=104863
2808
2809         Reviewed by James Robinson.
2810
2811         * src/WebCompositorInputHandlerImpl.cpp:
2812         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2813
2814 2012-12-07  Levi Weintraub  <leviw@chromium.org>
2815
2816         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
2817         https://bugs.webkit.org/show_bug.cgi?id=103914
2818
2819         Reviewed by Simon Fraser.
2820
2821         Enabling touch event target region tracking.
2822
2823         * features.gypi:
2824         * src/WebPluginContainerImpl.cpp:
2825         (WebKit::WebPluginContainerImpl::requestTouchEventType):
2826         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2827
2828 2012-12-12  Andy Estes  <aestes@apple.com>
2829
2830         Fix the Chromium build after r137539.
2831
2832         * src/ScrollbarGroup.cpp:
2833         (WebKit::ScrollbarGroup::lastKnownMousePosition): Renamed from currentMousePosition().
2834         * src/ScrollbarGroup.h: Ditto.
2835
2836 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2837
2838         Unreviewed.  Rolled DEPS.
2839
2840         * DEPS:
2841
2842 2012-12-12  Charlie Reis  <creis@chromium.org>
2843
2844         [chromium] Expose quickRedirectComing via WebDataSource
2845         https://bugs.webkit.org/show_bug.cgi?id=104586
2846
2847         Reviewed by Nate Chapin.
2848
2849         Exposes whether the current navigation is a client redirect, and
2850         thus should replace the current history item.
2851
2852         * public/WebDataSource.h:
2853         (WebDataSource): Adds isClientRedirect.
2854         * src/WebDataSourceImpl.cpp:
2855         (WebKit::WebDataSourceImpl::isClientRedirect):
2856         (WebKit):
2857         * src/WebDataSourceImpl.h:
2858         (WebDataSourceImpl):
2859
2860 2012-12-12  Mark Lam  <mark.lam@apple.com>
2861
2862         Encapsulate externally used webdatabase APIs in DatabaseManager.
2863         https://bugs.webkit.org/show_bug.cgi?id=104741.
2864
2865         Reviewed by Sam Weinig.
2866
2867         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2868         and DatabaseContext directly. This is to prepare for upcoming webkit2
2869         refactoring.
2870
2871         * src/ChromeClientImpl.cpp:
2872         * src/WebDatabase.cpp:
2873         (WebKit::WebDatabase::closeDatabaseImmediately):
2874         * src/WebRuntimeFeatures.cpp:
2875         (WebKit::WebRuntimeFeatures::enableDatabase):
2876         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2877
2878 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2879
2880         Unreviewed, rolling out r137490.
2881         http://trac.webkit.org/changeset/137490
2882         https://bugs.webkit.org/show_bug.cgi?id=104838
2883
2884         Breaks Chromium build due to references to
2885         WebSharedWorkerRepository (Requested by aklein on #webkit).
2886
2887         * public/platform/WebKitPlatformSupport.h:
2888         (WebKit):
2889         (WebKitPlatformSupport):
2890         (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
2891         * src/SharedWorkerRepository.cpp:
2892         (WebKit::sharedWorkerRepository):
2893         (WebCore::SharedWorkerRepository::isAvailable):
2894
2895 2012-12-12  Alpha Lam  <hclam@chromium.org>
2896
2897         [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator
2898         https://bugs.webkit.org/show_bug.cgi?id=103797
2899
2900         Reviewed by Stephen White.
2901
2902         Added unit tests for ThreadSafeDataTransport.
2903
2904         Added unit tests for ImageFrameGenerator to test behavior with and without
2905         new data.
2906
2907         New tests:
2908         ThreadSafeDataTransportTest.hasNewData
2909         ThreadSafeDataTransportTest.setData
2910         ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeNoNewData
2911
2912         * WebKit.gypi:
2913         * tests/ThreadSafeDataTransportTest.cpp: Added.
2914         (WebCore):
2915         (WebCore::TEST):
2916
2917 2012-12-12  Mark Pilgrim  <pilgrim@chromium.org>
2918
2919         [Chromium] Remove all references to sharedWorkerRepository()
2920         https://bugs.webkit.org/show_bug.cgi?id=104704
2921
2922         Reviewed by James Robinson.
2923
2924         Now that Chromium calls setSharedWorkerRepository upon
2925         initializing WebKit (
2926         https://chromiumcodereview.appspot.com/10990121/ ) and no longer
2927         tries to override sharedWorkerRepository, it is safe to remove
2928         all references to this function.
2929
2930         * public/platform/WebKitPlatformSupport.h:
2931         (WebKit):
2932         (WebKit::WebKitPlatformSupport::idbFactory):
2933         * src/SharedWorkerRepository.cpp:
2934         (WebKit::sharedWorkerRepository):
2935         (WebCore::SharedWorkerRepository::isAvailable):
2936
2937 2012-12-12  Tommy Widenflycht  <tommyw@google.com>
2938
2939         MediaStream API: Change the data channel descriptor pattern to a handler pattern
2940         https://bugs.webkit.org/show_bug.cgi?id=104543
2941
2942         Reviewed by Kent Tamura.
2943
2944         * src/AssertMatchingEnums.cpp:
2945
2946 2012-12-11  Dominic Mazzoni  <dmazzoni@google.com>
2947
2948         AX: Make isActionSupported cross-platform.
2949         https://bugs.webkit.org/show_bug.cgi?id=104681
2950
2951         Reviewed by Chris Fleizach.
2952
2953         Add support for press, increment, and decrement actions,
2954         including tests to see whether they're supported on a given
2955         object. This allows Chromium to pass three tests that were
2956         previously skipped.
2957
2958         * public/WebAccessibilityObject.h:
2959         (WebAccessibilityObject):
2960         * src/WebAccessibilityObject.cpp:
2961         (WebKit::WebAccessibilityObject::canDecrement):
2962         (WebKit):
2963         (WebKit::WebAccessibilityObject::canIncrement):
2964         (WebKit::WebAccessibilityObject::canPress):
2965         (WebKit::WebAccessibilityObject::increment):
2966         (WebKit::WebAccessibilityObject::decrement):
2967         (WebKit::WebAccessibilityObject::press):
2968
2969 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2970
2971         Unreviewed.  Rolled DEPS.
2972
2973         * DEPS:
2974
2975 2012-12-11  Alec Flett  <alecflett@chromium.org>
2976
2977         IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
2978         https://bugs.webkit.org/show_bug.cgi?id=104592
2979
2980         Reviewed by Dimitri Glazkov.
2981
2982         Stub out chromium side of data operations for refactor.
2983
2984         * public/WebIDBDatabase.h:
2985         (WebKit):
2986         (WebKit::WebIDBDatabase::get):
2987         (WebKit::WebIDBDatabase::put):
2988         (WebKit::WebIDBDatabase::setIndexKeys):
2989         (WebKit::WebIDBDatabase::setIndexesReady):
2990         (WebKit::WebIDBDatabase::openCursor):
2991         (WebKit::WebIDBDatabase::count):
2992         (WebKit::WebIDBDatabase::deleteRange):
2993         (WebKit::WebIDBDatabase::clear):
2994         (WebIDBDatabase):
2995         * src/IDBDatabaseBackendProxy.cpp:
2996         (WebKit::IDBDatabaseBackendProxy::openCursor):
2997         (WebKit):
2998         (WebKit::IDBDatabaseBackendProxy::count):
2999         (WebKit::IDBDatabaseBackendProxy::get):
3000         (WebKit::IDBDatabaseBackendProxy::put):
3001         (WebKit::IDBDatabaseBackendProxy::setIndexKeys):
3002         (WebKit::IDBDatabaseBackendProxy::setIndexesReady):
3003         (WebKit::IDBDatabaseBackendProxy::deleteRange):
3004         (WebKit::IDBDatabaseBackendProxy::clear):
3005         * src/IDBDatabaseBackendProxy.h:
3006         (IDBDatabaseBackendProxy):
3007         * src/WebIDBDatabaseImpl.cpp:
3008         (WebKit):
3009         (WebKit::WebIDBDatabaseImpl::openCursor):
3010         (WebKit::WebIDBDatabaseImpl::count):
3011         (WebKit::WebIDBDatabaseImpl::get):
3012         (WebKit::WebIDBDatabaseImpl::put):
3013         (WebKit::WebIDBDatabaseImpl::setIndexKeys):
3014         (WebKit::WebIDBDatabaseImpl::setIndexesReady):
3015         (WebKit::WebIDBDatabaseImpl::deleteRange):
3016         (WebKit::WebIDBDatabaseImpl::clear):
3017         * src/WebIDBDatabaseImpl.h:
3018         (WebIDBDatabaseImpl):
3019         * tests/IDBDatabaseBackendTest.cpp:
3020
3021 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
3022
3023         Unreviewed, rolling out r137330.
3024         http://trac.webkit.org/changeset/137330
3025         https://bugs.webkit.org/show_bug.cgi?id=104719
3026
3027         Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
3028         (Requested by aklein on #webkit).
3029
3030         * src/WebIDBCallbacksImpl.cpp:
3031         (WebKit::WebIDBCallbacksImpl::onSuccess):
3032
3033 2012-12-11  Joshua Bell  <jsbell@chromium.org>
3034
3035         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
3036         https://bugs.webkit.org/show_bug.cgi?id=104615
3037
3038         Reviewed by Tony Chang.
3039
3040         Ensure passed pointer is treated with ownership semantics.
3041
3042         * src/WebIDBCallbacksImpl.cpp:
3043         (WebKit::WebIDBCallbacksImpl::onSuccess):
3044
3045 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
3046
3047         [Chromium] Clean up unused interfaces in PlatformSupport
3048         https://bugs.webkit.org/show_bug.cgi?id=104674
3049
3050         Reviewed by Darin Fisher.
3051
3052         Part of a refactoring series. See tracking bug 82948.
3053
3054         * public/platform/WebKitPlatformSupport.h:
3055         * src/PlatformSupport.cpp:
3056
3057 2012-12-11  Mike West  <mkwst@chromium.org>
3058
3059         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
3060         https://bugs.webkit.org/show_bug.cgi?id=66371
3061
3062         Reviewed by Pavel Feldman.
3063
3064         Drops WebCore::MessageType from the addMessageToConsole method, and all
3065         the ancilliary places it touches.
3066
3067         Aliases postConsoleMessageToWorkerObject with the old interface in
3068         order to maintain back-compat. Will remove it in a future patch once
3069         Chromium is updated.
3070
3071         * public/WebSharedWorkerClient.h:
3072         (WebSharedWorkerClient):
3073         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
3074         * src/ChromeClientImpl.cpp:
3075         * src/ChromeClientImpl.h:
3076         (ChromeClientImpl):
3077         * src/WebFrameImpl.cpp:
3078         (WebKit::WebFrameImpl::addMessageToConsole):
3079         * src/WebPagePopupImpl.cpp:
3080         * src/WebSharedWorkerImpl.cpp:
3081         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
3082         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
3083         * src/WebSharedWorkerImpl.h:
3084         (WebSharedWorkerImpl):
3085         * src/WebWorkerClientImpl.cpp:
3086         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
3087         * src/WebWorkerClientImpl.h:
3088         (WebWorkerClientImpl):
3089
3090 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
3091
3092         [Chromium] Call createLocalStorageNamespace through Platform.h
3093         https://bugs.webkit.org/show_bug.cgi?id=104675
3094
3095         Reviewed by Kentaro Hara.
3096
3097         Some #include cleanup missing from bug 85766. Part of a
3098         refactoring series; see tracking bug 82948.
3099
3100         * src/StorageNamespaceProxy.cpp:
3101         (WebCore::StorageNamespace::localStorageNamespace):
3102
3103 2012-12-11  Stephen White  <senorblanco@chromium.org>
3104
3105         Unreviewed.  Rolled DEPS.
3106
3107         * DEPS:
3108
3109 2012-12-10  Dana Jansens  <danakj@chromium.org>
3110
3111         [chromium] Remove WebCompositorOutputSurface implementations from DRT
3112         https://bugs.webkit.org/show_bug.cgi?id=104046
3113
3114         Reviewed by Darin Fisher.
3115
3116         Use WebCompositorSupport to create an OutputSurface.
3117
3118         * WebKit.gypi:
3119         * src/WebViewImpl.cpp:
3120         (WebKit):
3121         * tests/Canvas2DLayerBridgeTest.cpp:
3122         * tests/FakeWebCompositorOutputSurface.h: Removed.
3123         * tests/WebLayerTreeViewTestCommon.h:
3124
3125 2012-12-10  Stephen White  <senorblanco@chromium.org>
3126
3127         [Chromium] Re-enable a failing test.  Disabling it just seemed to
3128         move the problem to another test.  Unreviewed.
3129
3130         * tests/GraphicsLayerChromiumTest.cpp:
3131
3132 2012-12-10  David Grogan  <dgrogan@chromium.org>
3133
3134         IndexedDB: Propagate more leveldb errors to script
3135         https://bugs.webkit.org/show_bug.cgi?id=104422
3136
3137         Reviewed by Tony Chang.
3138
3139         * tests/IDBFakeBackingStore.h:
3140           Delete method override that doesn't match new signature.
3141
3142 2012-12-09  Antti Koivisto  <antti@apple.com>
3143
3144         Factor node traversal into standalone functions
3145         https://bugs.webkit.org/show_bug.cgi?id=104507
3146
3147         Reviewed by Eric Seidel.
3148
3149         * src/WebFrameImpl.cpp:
3150         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
3151
3152 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
3153
3154         [Chromium][Win] Remove theme-related functions from PlatformSupport
3155         https://bugs.webkit.org/show_bug.cgi?id=102699
3156
3157         Reviewed by Adam Barth.
3158
3159         Call theme engine directly instead of going through
3160         PlatformSupport. Part of a refactoring series. See tracking bug 82948.
3161
3162         * src/PlatformSupport.cpp:
3163         (WebCore::PlatformSupport::pluginScriptableObject):
3164
3165 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
3166
3167         [Chromium] Move getPluginsList out of PlatformSupport
3168         https://bugs.webkit.org/show_bug.cgi?id=96507
3169
3170         Reviewed by Darin Fisher.
3171
3172         Part of a refactoring series. See tracking bug 82948.
3173
3174         * WebKit.gyp:
3175         * public/WebPluginListBuilder.h:
3176         * public/platform/WebKitPlatformSupport.h:
3177         (WebKit):
3178         (WebKit::WebKitPlatformSupport::idbFactory):
3179         * src/PlatformSupport.cpp:
3180         (WebCore::PlatformSupport::idbFactory):
3181         * src/WebPluginListBuilderImpl.cpp: Removed.
3182         * src/WebPluginListBuilderImpl.h: Removed.
3183
3184 2012-12-10  Alexis Menard  <alexis@webkit.org>
3185
3186         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
3187         https://bugs.webkit.org/show_bug.cgi?id=104539
3188
3189         Reviewed by Antonio Gomes.
3190
3191         As discussed on webkit-dev it is not needed to keep this feature flag 
3192         as support for <position> type is a small feature that is already 
3193         implemented by three other UAs. It was useful while landing this 
3194         feature as partial bits were landed one after one.
3195
3196         * features.gypi:
3197
3198 2012-12-10  Mike West  <mkwst@chromium.org>
3199
3200         [chromium] Add 'WebKit/chromium/win8' to .gitignore
3201         https://bugs.webkit.org/show_bug.cgi?id=104534
3202
3203         Reviewed by Jochen Eisinger.
3204
3205         I've now added it via 'git add' once, and via 'git commit -a' twice.
3206         Let's make that more difficult, shall we?
3207
3208         * .gitignore:
3209
3210 2012-12-10  Kent Tamura  <tkent@chromium.org>
3211
3212         Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
3213         https://bugs.webkit.org/show_bug.cgi?id=104508
3214
3215         Reviewed by Kentaro Hara.
3216
3217         * src/WebViewImpl.cpp:
3218         (WebKit::WebViewImpl::textInputType):
3219         Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
3220
3221 2012-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
3222
3223         Unreviewed, rolling out r137103.
3224         http://trac.webkit.org/changeset/137103
3225         https://bugs.webkit.org/show_bug.cgi?id=104503
3226
3227         Didn't resolve the chrome win build bot failure, problem moved
3228         elsewhere. (Requested by noel_ on #webkit).
3229
3230         * tests/GraphicsLayerChromiumTest.cpp:
3231         (WebKit::TEST_F):
3232
3233 2012-12-09  Noel Gordon  <noel.gordon@gmail.com>
3234
3235         [chromium] webkit_unit_tests tests are failing on win
3236         https://bugs.webkit.org/show_bug.cgi?id=104502
3237
3238         Unreviewed test fix: disable applyScrollToScrollableArea test.
3239
3240         * tests/GraphicsLayerChromiumTest.cpp:
3241         (WebKit::TEST_F):
3242
3243 2012-12-09  Stephen White  <senorblanco@chromium.org>
3244
3245         [Chromium] Unreviewed.  Temporarily disable a webkit_unit_tests test
3246         that's failing on Windows.
3247
3248         * tests/GraphicsLayerChromiumTest.cpp:
3249         (WebKit::TEST_F):
3250
3251 2012-12-09  Stephen White  <senorblanco@chromium.org>
3252
3253         Unreviewed.  Rolled DEPS.
3254
3255         * DEPS:
3256
3257 2012-12-08  Gavin Peters  <gavinp@chromium.org>
3258
3259         Add status events on <link rel=prerender> elements.
3260         https://bugs.webkit.org/show_bug.cgi?id=96474
3261
3262         Reviewed by Adam Barth.
3263
3264         The new PrerenderStatusEvent is sent to link elements when
3265         prerenders are started by the embedder, and also sent when they
3266         are stopped. Pages using this feature can now serialize launching
3267         prerenders, and track timing performance.
3268
3269         * WebKit.gyp:
3270         * WebKit.gypi:
3271         * tests/FrameTestHelpers.cpp:
3272         (WebKit::FrameTestHelpers::createWebView):
3273         (FrameTestHelpers):
3274         (WebKit::FrameTestHelpers::createWebViewAndLoad):
3275         * tests/FrameTestHelpers.h:
3276         (FrameTestHelpers):
3277         * tests/PrerenderingTest.cpp: Added.
3278         * tests/data/prerender/multiple_prerenders.html: Added.
3279         * tests/data/prerender/single_prerender.html: Added.
3280
3281 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
3282
3283         Extend platform layer so it can pass blend modes to the compositing calls
3284         https://bugs.webkit.org/show_bug.cgi?id=104176
3285
3286         Reviewed by Dirk Schulze.
3287
3288         Adding blend mode enumeration to draw functions 
3289
3290         * tests/DragImageTest.cpp:
3291         (WebCore::TestImage::draw):
3292         * tests/ImageLayerChromiumTest.cpp:
3293         (WebCore::TestImage::draw):
3294
3295 2012-12-07  Alpha Lam  <hclam@chromium.org>
3296
3297         [chromium] ImageDecodingStore should cache partially decoded images
3298         https://bugs.webkit.org/show_bug.cgi?id=103796
3299
3300         Reviewed by Stephen White.
3301
3302         Added unit tests to verify caching behavior for partially decoded images.
3303         New tests added:
3304         - ImageDecodingStoreTest.insertIncompleteCache
3305         Insert incomplete image with a decoder into cache.
3306
3307         - ImageDecodingStoreTest.insertCompleteCacheWithDecoder
3308         Insert complete image with a decoder, decoder is deleted.
3309
3310         - ImageDecodingStoreTest.incompleteCacheBecomesComplete
3311         Progressive downloading of a file. Image becomes complete, decoder deleted.
3312
3313         - ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeAndScale
3314         Cache lookup failed and start a decoding that decoded an incomplete image.
3315
3316         ImageFrameGeneratorTest.incompleteDecodeBecomesComplete
3317         Image decoded as incomplete, file fully downloaded and cache entry becomes complete.
3318
3319         ImageFrameGeneratorTest.incompleteDecodeAndScaleBecomesComplete
3320         Image decoded and scaled as incomplete, becomes complete after file is fully dowloaded.
3321
3322         ImageFrameGeneratorTest.incompleteDecodeBecomesCompleteMultiThreaded
3323         Transition from incomplete to complete, entire lifecycle happens on 2 threads.
3324
3325         * tests/DeferredImageDecoderTest.cpp:
3326         (WebCore::DeferredImageDecoderTest::SetUp):
3327         * tests/ImageDecodingStoreTest.cpp:
3328         (WebCore::ImageDecodingStoreTest::SetUp):
3329         (WebCore::ImageDecodingStoreTest::decoderBeingDestroyed):
3330         (ImageDecodingStoreTest):
3331         (WebCore::ImageDecodingStoreTest::frameBufferRequested):
3332         (WebCore::ImageDecodingStoreTest::frameStatus):
3333         (WebCore::ImageDecodingStoreTest::createIncompleteImage):
3334         (WebCore::ImageDecodingStoreTest::lockCache):
3335         (WebCore::TEST_F):
3336         (WebCore):
3337         * tests/ImageFrameGeneratorTest.cpp:
3338         (WebCore::ImageFrameGeneratorTest::SetUp):
3339         (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
3340         (ImageFrameGeneratorTest):
3341         (WebCore::MockImageDecoderFactory::create):
3342         (WebCore::TEST_F):
3343         (WebCore):
3344         (WebCore::decodeThreadMain):
3345         * tests/MockImageDecoder.h:
3346         (WebCore::MockImageDecoder::create):
3347         (MockImageDecoder):
3348         (WebCore::MockImageDecoder::setSize):
3349         (WebCore::MockImageDecoder::frameBufferAtIndex):
3350
3351 2012-12-07  Sheriff Bot  <webkit.review.bot@gmail.com>
3352
3353         Unreviewed, rolling out r136993.
3354         http://trac.webkit.org/changeset/136993
3355         https://bugs.webkit.org/show_bug.cgi?id=104415
3356
3357         This patch breaks the mac build (Requested by cabanier on
3358         #webkit).
3359
3360         * tests/DragImageTest.cpp:
3361         (WebCore::TestImage::draw):
3362         * tests/ImageLayerChromiumTest.cpp:
3363         (WebCore::TestImage::draw):
3364
3365 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
3366
3367         Extend platform layer so it can pass blend modes to the compositing calls
3368         https://bugs.webkit.org/show_bug.cgi?id=104176
3369
3370         Reviewed by Dirk Schulze.
3371
3372         Adding blend mode enumeration to draw functions 
3373
3374         * tests/DragImageTest.cpp:
3375         (WebCore::TestImage::draw):
3376         * tests/ImageLayerChromiumTest.cpp:
3377         (WebCore::TestImage::draw):
3378
3379 2012-12-07  Alec Flett  <alecflett@chromium.org>
3380
3381         IndexedDB: propagate transaction_ids through open/upgradeneeded
3382         https://bugs.webkit.org/show_bug.cgi?id=103922
3383
3384         Reviewed by Tony Chang.
3385
3386         Update test to account for pre-generated transaction ids.
3387
3388         * tests/IDBDatabaseBackendTest.cpp:
3389
3390 2012-12-07  Scott Violet  <sky@chromium.org>
3391
3392         [chromium] Remove linux theme related files and switch to default
3393         https://bugs.webkit.org/show_bug.cgi?id=103897
3394
3395         Reviewed by Dimitri Glazkov.
3396
3397         Linux theme related files are now named Default.
3398
3399         * WebKit.gyp:
3400         * public/linux/WebRenderTheme.h: Removed.
3401         * public/platform/linux/WebThemeEngine.h: Removed.
3402         * src/WebViewImpl.cpp:
3403         (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
3404         (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
3405         * src/linux/WebRenderTheme.cpp: Removed.
3406
3407 2012-12-07  Stephen White  <senorblanco@chromium.org>
3408
3409         Unreviewed.  Rolled DEPS.
3410
3411         * DEPS:
3412
3413 2012-12-07  Alexis Menard  <alexis@webkit.org>
3414
3415         [Chromium] Enable CSS3 background-position offset by default.
3416         https://bugs.webkit.org/show_bug.cgi?id=104253
3417
3418         Reviewed by Tony Chang.
3419
3420         Turn on the feature by default.
3421
3422         * features.gypi:
3423
3424 2012-12-07  Mark Pilgrim  <pilgrim@chromium.org>
3425
3426         [Chromium] Move WorkerContextProxy::create out of PlatformSupport
3427         https://bugs.webkit.org/show_bug.cgi?id=104151
3428
3429         Reviewed by Kentaro Hara.
3430
3431         Doesn't really solve the layering violation as much as kick it
3432         down the road a bit. Part of a refactoring series; see tracking
3433         bug 82948.
3434
3435         * WebKit.gyp:
3436         * src/PlatformSupport.cpp:
3437         (WebCore):
3438         * src/WorkerContextProxy.cpp: Added.
3439         (WebCore):
3440         (WebCore::WebCore::WorkerContextProxy::create):
3441
3442 2012-12-07  Ilya Tikhonovsky  <loislo@chromium.org>
3443
3444         Unreviewed roll crhomium to r171707.
3445
3446         * DEPS:
3447
3448 2012-12-07  Kent Tamura  <tkent@chromium.org>
3449
3450         REGRESSION(r136631): Fix null pointer dereference in WebPagePopupImpl::paint
3451         https://bugs.webkit.org/show_bug.cgi?id=104350
3452
3453         Reviewed by Hajime Morita.
3454
3455         We changed WebPagePopupImpl so that it deleted m_page in
3456         closePopup. However, paint function is still called.
3457
3458         * src/WebPagePopupImpl.cpp:
3459         (WebKit::WebPagePopupImpl::paint): Block by m_closing.
3460
3461 2012-12-06  Kent Tamura  <tkent@chromium.org>
3462
3463         Refactoring: Clean up placeholder attribute usage
3464         https://bugs.webkit.org/show_bug.cgi?id=104337
3465
3466         Reviewed by Kentaro Hara.
3467
3468         * src/WebInputElement.cpp:
3469         (WebKit::WebInputElement::setPlaceholder):
3470         Use setAttribute.
3471         (WebKit::WebInputElement::placeholder):
3472         Use fastGetAttribute.
3473
3474 2012-12-06  Sami Kyostila  <skyostil@chromium.org>
3475
3476         [chromium] Introduce setting for low latency rendering
3477         https://bugs.webkit.org/show_bug.cgi?id=104011
3478
3479         Reviewed by James Robinson.
3480
3481         This low latency rendering setting will be used to enable alternate
3482         render signaling and scheduling to reduce latency.
3483
3484         * public/WebSettings.h:
3485         * src/WebSettingsImpl.cpp:
3486         (WebKit::WebSettingsImpl::WebSettingsImpl):
3487         (WebKit::WebSettingsImpl::setLowLatencyRenderingEnabled):
3488         (WebKit):
3489         * src/WebSettingsImpl.h:
3490         (WebSettingsImpl):
3491         (WebKit::WebSettingsImpl::lowLatencyRenderingEnabled):
3492         * src/WebViewImpl.cpp:
3493         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3494
3495 2012-12-06  Kent Tamura  <tkent@chromium.org>
3496
3497         [Chromium] Rename some init* functions to initialize*
3498         https://bugs.webkit.org/show_bug.cgi?id=104335
3499
3500         Reviewed by Kentaro Hara.
3501
3502         We should use full words.
3503         http://www.webkit.org/coding/coding-style.html#names-full-words
3504
3505         * src/WebHelperPluginImpl.cpp:
3506         (WebKit::WebHelperPluginImpl::initialize): Renamed from init.
3507         (WebKit::WebHelperPluginImpl::initializePage): Renamed from initPage.
3508         * src/WebHelperPluginImpl.h:
3509         (WebHelperPluginImpl):
3510         * src/WebPagePopupImpl.cpp:
3511         (WebKit::WebPagePopupImpl::initialize): Renamed from init.
3512         (WebKit::WebPagePopupImpl::initializePage): Renamed from initPage.
3513         * src/WebPagePopupImpl.h:
3514         (WebPagePopupImpl):
3515         * src/WebPopupMenuImpl.cpp:
3516         (WebKit::WebPopupMenuImpl::initialize): Renamed from init.
3517         * src/WebPopupMenuImpl.h:
3518
3519         * src/WebViewImpl.cpp:
3520         (WebKit::WebViewImpl::openPagePopup): Follow the renamings.
3521         (WebKit::WebViewImpl::createHelperPlugin): Ditto.
3522         * src/ChromeClientImpl.cpp:
3523         (WebKit::ChromeClientImpl::popupOpened): Ditto.
3524
3525 2012-12-06  Rick Byers  <rbyers@chromium.org>
3526
3527         CSS cursor property should support webkit-image-set
3528         https://bugs.webkit.org/show_bug.cgi?id=99493
3529
3530         Reviewed by Beth Dakin.