[chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-05-16  Varun Jain  <varunjain@google.com>
2
3         [chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux
4         https://bugs.webkit.org/show_bug.cgi?id=86236
5
6         Reviewed by Tony Chang.
7
8         * public/WebView.h:
9         (WebView):
10         * src/WebViewImpl.cpp:
11         (WebKit::webInputEventKeyStateToPlatformEventKeyState):
12         (WebKit):
13         (WebKit::WebViewImpl::dragTargetDragEnter):
14         (WebKit::WebViewImpl::dragTargetDragOver):
15         (WebKit::WebViewImpl::dragTargetDrop):
16         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
17         * src/WebViewImpl.h:
18         (WebViewImpl):
19
20 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
21
22         [Chromium] Web Inspector: DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh is broken
23         https://bugs.webkit.org/show_bug.cgi?id=86629
24
25         Reviewed by Pavel Feldman.
26
27         Listen to DebuggerModel instead of DebuggerPresentationModel which is gone.
28
29         * src/js/Tests.js:
30         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
31
32 2012-05-16  Yury Semikhatsky  <yurys@chromium.org>
33
34         [Chromium] Web Inspector: debugger browser tests are broken
35         https://bugs.webkit.org/show_bug.cgi?id=86624
36
37         Reviewed by Vsevolod Vlasov.
38
39         Use WebInspector.panels.scripts._scriptMapping instead of
40         WebInspector.panels.scripts._presentationModel as the latter
41         has been deleted.
42
43         * src/js/Tests.js:
44         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
45
46 2012-05-16  Keishi Hattori  <keishi@webkit.org>
47
48         [chromium] Add WebKit API to access inner text value of input element
49         https://bugs.webkit.org/show_bug.cgi?id=85353
50
51         Reviewed by Kent Tamura.
52
53         * public/WebInputElement.h:
54         (WebInputElement):
55         * src/WebInputElement.cpp:
56         (WebKit::WebInputElement::editingValue):
57         (WebKit):
58         (WebKit::WebInputElement::setEditingValue):
59
60 2012-05-16  Hans Wennborg  <hans@chromium.org>
61
62         Speech JavaScript API: pass WebSecurityOrigin to embedder
63         https://bugs.webkit.org/show_bug.cgi?id=86348
64
65         Reviewed by Adam Barth.
66
67         Pass the WebSecurityOrigin of the SpeecReco object to the embedder when calling
68         start(). The origin will be used to determine whether speech recognition is
69         allowed or not.
70
71         * public/WebSpeechRecognitionParams.h:
72         (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
73         (WebKit::WebSpeechRecognitionParams::origin):
74         (WebSpeechRecognitionParams):
75         * src/SpeechRecognitionClientProxy.cpp:
76         (WebKit::SpeechRecognitionClientProxy::start):
77
78 2012-05-15  Tien-Ren Chen  <trchen@chromium.org>
79
80         [Chromium] CCTimer::isActive() is incorrect inside tick callback
81         https://bugs.webkit.org/show_bug.cgi?id=86513
82
83         Update test cases to verify CCTimer::isActive() values.
84
85         Reviewed by James Robinson.
86
87         * tests/CCTimerTest.cpp:
88         (WebKitTests::TEST_F):
89
90 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
91
92         Unreviewed, rolling out r117204.
93         http://trac.webkit.org/changeset/117204
94         https://bugs.webkit.org/show_bug.cgi?id=86559
95
96         causing win compilation failures (Requested by pilgrim_google_
97         on #webkit).
98
99         * WebKit.gyp:
100         * public/WebMessagePortChannel.h:
101         (WebKit):
102         (WebMessagePortChannel):
103         (WebKit::WebMessagePortChannel::~WebMessagePortChannel):
104         * public/platform/WebKitPlatformSupport.h:
105         (WebKit):
106         (WebKitPlatformSupport):
107         (WebKit::WebKitPlatformSupport::createMessagePortChannel):
108         * src/PlatformMessagePortChannel.cpp:
109         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
110         * src/PlatformMessagePortChannel.h:
111         * src/SharedWorkerRepository.cpp:
112         * src/WebSharedWorkerImpl.cpp:
113         * src/WebWorkerClientImpl.cpp:
114
115 2012-05-15  Shinya Kawanaka  <shinyak@chromium.org>
116
117         Rename Node::shadowTreeRootNode() to Node::shadowRoot()
118         https://bugs.webkit.org/show_bug.cgi?id=86449
119
120         Reviewed by Darin Adler.
121
122         * src/WebFrameImpl.cpp:
123         (WebKit::WebFrameImpl::scopeStringMatches):
124
125 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
126
127         [Chromium] Move createMessagePortChannel to Platform.h
128         https://bugs.webkit.org/show_bug.cgi?id=85764
129
130         Reviewed by Adam Barth.
131
132         Part of a refactoring series. See tracking bug 82948.
133
134         * WebKit.gyp:
135         * public/WebMessagePortChannel.h:
136         * public/platform/WebKitPlatformSupport.h:
137         (WebKit):
138         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
139         * src/PlatformMessagePortChannel.cpp:
140         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
141         * src/PlatformMessagePortChannel.h:
142         * src/SharedWorkerRepository.cpp:
143         * src/WebSharedWorkerImpl.cpp:
144         * src/WebWorkerClientImpl.cpp:
145
146 2012-05-15  Fady Samuel  <fsamuel@chromium.org>
147
148         [Chromium] Reset ScriptInstance in HTMLPlugInElement on WebPluginContainerImpl::setPlugin
149         https://bugs.webkit.org/show_bug.cgi?id=86535
150
151         Reviewed by Darin Fisher.
152
153         * src/WebPluginContainerImpl.cpp:
154         (WebKit::WebPluginContainerImpl::setPlugin):
155         (WebKit):
156         * src/WebPluginContainerImpl.h:
157         (WebPluginContainerImpl):
158
159 2012-05-15  Mark Pilgrim  <pilgrim@chromium.org>
160
161         [Chromium] Move blobRegistry to Platform.h
162         https://bugs.webkit.org/show_bug.cgi?id=85765
163
164         Reviewed by Adam Barth.
165
166         Part of a refactoring series. See tracking bug 82948.
167
168         * WebKit.gyp:
169         * public/platform/WebBlobData.h:
170         * public/platform/WebBlobRegistry.h:
171         * public/platform/WebKitPlatformSupport.h:
172         (WebKit):
173         (WebKit::WebKitPlatformSupport::cookieJar):
174         * src/BlobRegistryProxy.cpp:
175         (WebCore::BlobRegistryProxy::BlobRegistryProxy):
176         * src/WebBlobData.cpp:
177
178 2012-05-15  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
179
180         [chromium] Overloaded printBegin() function to support auto fit to page functionality.
181         https://bugs.webkit.org/show_bug.cgi?id=84312
182
183         Reviewed by Darin Fisher.
184
185         * WebKit.gyp:
186         * public/WebFrame.h:
187         (WebKit):
188         (WebFrame):
189         * public/WebPlugin.h:
190         (WebKit):
191         (WebPlugin):
192         (WebKit::WebPlugin::printBegin):
193         * public/WebPrintParams.h: Added.
194         (WebKit):
195         (WebPrintParams):
196         (WebKit::WebPrintParams::WebPrintParams):
197         * src/WebFrameImpl.cpp:
198         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
199         (WebKit::ChromePluginPrintContext::computePageRects):
200         (ChromePluginPrintContext):
201         (WebKit):
202         (WebKit::WebFrameImpl::printBegin):
203         * src/WebFrameImpl.h:
204         (WebKit):
205         (WebFrameImpl):
206         * src/WebPluginContainerImpl.cpp:
207         (WebKit::WebPluginContainerImpl::printBegin):
208         * src/WebPluginContainerImpl.h:
209         (WebKit):
210         (WebPluginContainerImpl):
211
212 2012-05-15  Shawn Singh  <shawnsingh@chromium.org>
213
214         [chromium] Add unit testing to WebTransformationMatrix
215         https://bugs.webkit.org/show_bug.cgi?id=86421
216
217         Reviewed by Adrienne Walker.
218
219         * WebKit.gypi:
220         * tests/WebTransformationMatrixTest.cpp: Added.
221         (WebKit):
222         (WebKit::printTransform):
223         (WebKit::initializeTestMatrix):
224         (WebKit::initializeTestMatrix2):
225         (WebKit::TEST):
226
227 2012-05-15  James Robinson  <jamesr@chromium.org>
228
229         [chromium] Chromium port never sets USE(CG) so code behind it is dead
230         https://bugs.webkit.org/show_bug.cgi?id=86537
231
232         Reviewed by Adrienne Walker.
233
234         Deletes code behind USE(CG) in chromium-specific code and removes unneeded USE(SKIA) guards.
235
236         * src/GraphicsContext3DChromium.cpp:
237         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
238         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
239         (WebCore::GraphicsContext3DPrivate::grContext):
240         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
241         (WebCore::GraphicsContext3D::grContext):
242         * src/GraphicsContext3DPrivate.h:
243         (GraphicsContext3DPrivate):
244         * src/PlatformSupport.cpp:
245         * src/WebViewImpl.cpp:
246         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
247
248 2012-05-15  Anders Carlsson  <andersca@apple.com>
249
250         Set the new PlatformWheelEvent member variables to sane defaults
251         https://bugs.webkit.org/show_bug.cgi?id=86542
252
253         Reviewed by Andreas Kling.
254
255         * src/WebInputEventConversion.cpp:
256         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
257
258 2012-05-15  Ian Vollick  <vollick@chromium.org>
259
260         [chromium] Ensure animations get ticked at least once when added.
261         https://bugs.webkit.org/show_bug.cgi?id=86013
262
263         Reviewed by James Robinson.
264
265         * tests/CCLayerTreeHostTest.cpp:
266         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
267         (WTF):
268
269 2012-05-15  Alexandre Elias  <aelias@google.com>
270
271         [chromium] Fix unsafe viewport tag dispatch
272         https://bugs.webkit.org/show_bug.cgi?id=80554
273
274         Reviewed by Adam Barth.
275
276         In some uncommon situations (such as window.open() new tab on
277         Android), dispatchViewportPropertiesDidChange may early-return without
278         setting the page scale because the window size is not yet
279         available from the embedder.  At that point, the previous behavior was
280         to call it again in layoutUpdated(), but this is unsafe since it
281         leaves a pending needsLayout.
282
283         I moved the dispatch call into WebViewImpl::didChangeContentsSize and
284         WebViewImpl::resize() instead -- these represent more explicitly the
285         situations where the inputs to the viewport tag calculation change.  I
286         removed the other dispatch call from setFrameRect as it's now
287         redundant.
288
289         Covered by FixedLayoutInitializeAtMinimumPageScale test introduced
290         in http://webk.it/82949 (an assertion will fire there without
291         this fix).
292
293         * src/ChromeClientImpl.cpp:
294         (WebKit::ChromeClientImpl::layoutUpdated):
295         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
296         * src/WebViewImpl.cpp:
297         (WebKit::WebViewImpl::resize):
298         (WebKit::WebViewImpl::didChangeContentsSize):
299
300 2012-05-15  James Robinson  <jamesr@chromium.org>
301
302         [chromium] Move createOffscreenGraphicsContext3D() from WebKitPlatformSupport to Platform
303         https://bugs.webkit.org/show_bug.cgi?id=86524
304
305         Reviewed by Adam Barth.
306
307         Moves createOffscreenGraphicsContext3D() out (to WebKit::Platform) and updates GraphicsContext3DChromium to use
308         the new location. Also removes a few unnecessary includes from GraphicsContext3DChromium.cpp.
309
310         * public/platform/WebKitPlatformSupport.h:
311         (WebKitPlatformSupport):
312         * src/GraphicsContext3DChromium.cpp:
313         (WebCore::GraphicsContext3D::create):
314
315 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
316
317         [chromium] Compute the best target node on a GestureTap event
318         https://bugs.webkit.org/show_bug.cgi?id=85101
319
320         Reviewed by Adam Barth.
321
322         * features.gypi:
323         Enable the touch adjustment code by default.
324         * src/WebInputEventConversion.cpp:
325         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
326         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
327         area and deltaY represents the vertical padding of the touch area.
328
329 2012-05-15  James Robinson  <jamesr@chromium.org>
330
331         Unreviewed, rolling out r116811.
332         http://trac.webkit.org/changeset/116811
333         https://bugs.webkit.org/show_bug.cgi?id=86257
334
335         Introduced layering violation
336
337         * WebKit.gyp:
338         * src/Extensions3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/Extensions3DChromium.cpp.
339         (WebCore):
340         (WebCore::Extensions3DChromium::Extensions3DChromium):
341         (WebCore::Extensions3DChromium::~Extensions3DChromium):
342         (WebCore::Extensions3DChromium::supports):
343         (WebCore::Extensions3DChromium::ensureEnabled):
344         (WebCore::Extensions3DChromium::isEnabled):
345         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
346         (WebCore::Extensions3DChromium::blitFramebuffer):
347         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
348         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
349         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
350         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
351         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
352         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
353         (WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
354         (WebCore::Extensions3DChromium::discardFramebufferEXT):
355         (WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
356         (WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
357         (WebCore::Extensions3DChromium::createVertexArrayOES):
358         (WebCore::Extensions3DChromium::deleteVertexArrayOES):
359         (WebCore::Extensions3DChromium::isVertexArrayOES):
360         (WebCore::Extensions3DChromium::bindVertexArrayOES):
361         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
362         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
363         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
364         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
365         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
366         (WebCore::Extensions3DChromium::texStorage2DEXT):
367         (WebCore::Extensions3DChromium::createQueryEXT):
368         (WebCore::Extensions3DChromium::deleteQueryEXT):
369         (WebCore::Extensions3DChromium::isQueryEXT):
370         (WebCore::Extensions3DChromium::beginQueryEXT):
371         (WebCore::Extensions3DChromium::endQueryEXT):
372         (WebCore::Extensions3DChromium::getQueryivEXT):
373         (WebCore::Extensions3DChromium::getQueryObjectuivEXT):
374         * src/GraphicsContext3DChromium.cpp: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DChromium.cpp.
375         (WebCore):
376         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
377         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
378         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
379         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
380         (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
381         (WebCore::GraphicsContext3DPrivate::platformTexture):
382         (GrMemoryAllocationChangedCallback):
383         (WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
384         (WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
385         (WebCore::GraphicsContext3DPrivate::grContext):
386         (WebCore::GraphicsContext3DPrivate::prepareTexture):
387         (WebCore::GraphicsContext3DPrivate::markContextChanged):
388         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
389         (WebCore::GraphicsContext3DPrivate::layerComposited):
390         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
391         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
392         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
393         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
394         (WebCore::GraphicsContext3DPrivate::reshape):
395         (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
396         (WebCore::GraphicsContext3DPrivate::isContextLost):
397         (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
398         (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
399         (WebCore::GraphicsContext3DPrivate::bufferData):
400         (WebCore::GraphicsContext3DPrivate::bufferSubData):
401         (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
402         (WebCore::GraphicsContext3DPrivate::getActiveUniform):
403         (WebCore::GraphicsContext3DPrivate::getAttribLocation):
404         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
405         (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
406         (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
407         (WebCore::GraphicsContext3DPrivate::getShaderSource):
408         (WebCore::GraphicsContext3DPrivate::getString):
409         (WebCore::GraphicsContext3DPrivate::getUniformLocation):
410         (WebCore::GraphicsContext3DPrivate::shaderSource):
411         (WebCore::GraphicsContext3DPrivate::texImage2D):
412         (WebCore::GraphicsContext3DPrivate::texSubImage2D):
413         (WebCore::GraphicsContext3DPrivate::uniform1fv):
414         (WebCore::GraphicsContext3DPrivate::uniform1iv):
415         (WebCore::GraphicsContext3DPrivate::uniform2fv):
416         (WebCore::GraphicsContext3DPrivate::uniform2iv):
417         (WebCore::GraphicsContext3DPrivate::uniform3fv):
418         (WebCore::GraphicsContext3DPrivate::uniform3iv):
419         (WebCore::GraphicsContext3DPrivate::uniform4fv):
420         (WebCore::GraphicsContext3DPrivate::uniform4iv):
421         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
422         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
423         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
424         (WebCore::GraphicsContext3DPrivate::getExtensions):
425         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
426         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
427         (WebCore::GraphicsContext3DPrivate::supportsExtension):
428         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
429         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
430         (WebCore::GraphicsContext3D::GraphicsContext3D):
431         (WebCore::GraphicsContext3D::~GraphicsContext3D):
432         (WebCore::GraphicsContext3D::create):
433         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
434         (WebCore::GraphicsContext3D::platformTexture):
435         (WebCore::GraphicsContext3D::grContext):
436         (WebCore::GraphicsContext3D::prepareTexture):
437         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
438         (WebCore::GraphicsContext3D::isResourceSafe):
439         (WebCore::GraphicsContext3D::platformLayer):
440         (WebCore::GraphicsContext3D::layerComposited):
441         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
442         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
443         (GraphicsContextLostCallbackAdapter):
444         (WebCore::GraphicsContextLostCallbackAdapter::~GraphicsContextLostCallbackAdapter):
445         (WebCore::GraphicsContextLostCallbackAdapter::GraphicsContextLostCallbackAdapter):
446         (WebCore::GraphicsContextLostCallbackAdapter::onContextLost):
447         (WebCore::GraphicsContextLostCallbackAdapter::create):
448         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
449         (GraphicsErrorMessageCallbackAdapter):
450         (WebCore::GraphicsErrorMessageCallbackAdapter::~GraphicsErrorMessageCallbackAdapter):
451         (WebCore::GraphicsErrorMessageCallbackAdapter::GraphicsErrorMessageCallbackAdapter):
452         (WebCore::GraphicsErrorMessageCallbackAdapter::onErrorMessage):
453         (WebCore::GraphicsErrorMessageCallbackAdapter::create):
454         (WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
455         (WebCore::GraphicsContext3D::isGLES2Compliant):
456         (GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
457         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
458         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
459         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
460         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
461         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
462         (GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
463         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
464         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
465         (WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
466         (WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
467         * src/GraphicsContext3DPrivate.h: Renamed from Source/WebCore/platform/chromium/support/GraphicsContext3DPrivate.h.
468         (WebKit):
469         (WebCore):
470         (GraphicsContext3DPrivate):
471
472 2012-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
473
474         Unreviewed, rolling out r116712.
475         http://trac.webkit.org/changeset/116712
476         https://bugs.webkit.org/show_bug.cgi?id=86484
477
478         This patch is causing crashes in Chromium Canary builds
479         (Requested by pilgrim_google__ on #webkit).
480
481         * WebKit.gyp:
482         * public/WebStorageArea.h:
483         (WebKit):
484         * public/WebStorageEventDispatcher.h:
485         (WebStorageEventDispatcher):
486         (WebKit::WebStorageEventDispatcher::~WebStorageEventDispatcher):
487         * public/WebStorageNamespace.h:
488         (WebStorageNamespace):
489         (WebKit::WebStorageNamespace::close):
490         * public/platform/WebKitPlatformSupport.h:
491         (WebKitPlatformSupport):
492         (WebKit::WebKitPlatformSupport::dispatchStorageEvent):
493         * src/StorageAreaProxy.cpp:
494         (WebCore::StorageAreaProxy::setItem):
495         (WebCore::StorageAreaProxy::removeItem):
496         (WebCore::StorageAreaProxy::clear):
497         (WebCore):
498         (WebCore::StorageAreaProxy::storageEvent):
499         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent):
500         (WebCore::findPageWithSessionStorageNamespace):
501         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent):
502         * src/StorageAreaProxy.h:
503         (WebCore):
504         (StorageAreaProxy):
505         * src/StorageEventDispatcherImpl.cpp: Added.
506         (WebCore):
507         (WebCore::StorageEventDispatcherImpl::StorageEventDispatcherImpl):
508         (WebCore::StorageEventDispatcherImpl::dispatchStorageEvent):
509         * src/StorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
510         (WebCore):
511         (StorageEventDispatcherImpl):
512         * src/WebStorageEventDispatcherImpl.cpp:
513         (WebKit):
514         (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent):
515         (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent):
516         (WebKit::WebStorageEventDispatcher::create):
517         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
518         (WebKit::WebStorageEventDispatcherImpl::dispatchStorageEvent):
519         * src/WebStorageEventDispatcherImpl.h: Copied from Source/WebKit/chromium/public/WebStorageEventDispatcher.h.
520         (WebKit):
521         (WebStorageEventDispatcherImpl):
522         * src/WebViewImpl.cpp:
523         * src/WebViewImpl.h:
524         (WebCore):
525         (WebViewImpl):
526
527 2012-05-15  Terry Anderson  <tdanderson@chromium.org>
528
529         [chromium] Remove unused code for tap target fuzzing
530         https://bugs.webkit.org/show_bug.cgi?id=86252
531
532         Reviewed by Adam Barth.
533
534         * public/WebInputEvent.h:
535         (WebGestureEvent):
536         (WebKit::WebGestureEvent::WebGestureEvent):
537         * src/WebInputEvent.cpp:
538         (SameSizeAsWebGestureEvent):
539         * src/WebInputEventConversion.cpp:
540         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
541         A rectangular touch region is defined by the touch center and the
542         delta values only, so gammaX and gammaY are not needed.
543
544 2012-05-15  Hans Wennborg  <hans@chromium.org>
545
546         Speech JavaScript API: Introduce error code enum in Chromium plumbing
547         https://bugs.webkit.org/show_bug.cgi?id=86353
548
549         Reviewed by Adam Barth.
550
551         Introduce an enum for receiving error codes from the embedder.
552         This enum matches the enum in SpeechRecognitionError.
553
554         * public/WebSpeechRecognizerClient.h:
555         * src/AssertMatchingEnums.cpp:
556         * src/SpeechRecognitionClientProxy.cpp:
557         (WebKit::SpeechRecognitionClientProxy::didReceiveError):
558         * src/SpeechRecognitionClientProxy.h:
559         (SpeechRecognitionClientProxy):
560
561 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org> 
562
563         document.execCommand('Indent') in the direct child of ShadowRoot causes a crash.
564         https://bugs.webkit.org/show_bug.cgi?id=86341
565
566         Reviewed by Ryosuke Niwa.
567
568         * src/WebRange.cpp:
569         (WebKit::WebRange::fromDocumentRange):
570
571 2012-05-14  Shinya Kawanaka  <shinyak@chromium.org>
572
573         Node::shadowTreeRootNode() should return ShadowRoot instead of Node.
574         https://bugs.webkit.org/show_bug.cgi?id=86428
575
576         Reviewed by Hajime Morita.
577
578         Adds include directive to build.
579
580         * src/WebFrameImpl.cpp:
581
582 2012-05-14  Gavin Peters  <gavinp@chromium.org>
583
584         Add Prerenderer, PrerenderHandle and a chromium interface for Prerendering.
585         https://bugs.webkit.org/show_bug.cgi?id=85005
586
587         Reviewed by Adam Barth.
588
589         The prerender case isn't quite a resource load, and using resource loading to
590         retrieve them has constrained the API, and unnecessarily complicated the loader.
591
592         The new Prerenderer and PrerenderHandle let <link rel=prerender...> elements signal
593         removal and unload to their platform.
594
595         * WebKit.gyp:
596         * public/WebView.h:
597         * src/PrerendererClientImpl.cpp: Copied from Source/WebCore/html/LinkRelAttribute.h.
598         (WebKit):
599         (WebKit::PrerendererClientImpl::PrerendererClientImpl):
600         (WebKit::PrerendererClientImpl::willAddPrerender):
601         * src/PrerendererClientImpl.h: Copied from Source/WebCore/html/LinkRelAttribute.h.
602         (WebCore):
603         (WebKit):
604         (PrerendererClientImpl):
605         * src/WebKit.cpp:
606         (WebKit::shutdown):
607         * src/WebViewImpl.cpp:
608         (WebKit::WebViewImpl::setPrerendererClient):
609         (WebKit):
610         * src/WebViewImpl.h:
611         (WebKit):
612         (WebViewImpl):
613
614 2012-05-14  Luke Macpherson  <macpherson@chromium.org>
615
616         Introduce ENABLE_CSS_VARIABLES compile flag.
617         https://bugs.webkit.org/show_bug.cgi?id=86338
618
619         Reviewed by Dimitri Glazkov.
620
621         Add a configuration option for CSS Variables support, disabling it by default.
622
623         * features.gypi:
624
625 2012-05-14  Gavin Peters  <gavinp@chromium.org>
626
627         [Chromium] remove skia/third_party/glu from DEPS
628         https://bugs.webkit.org/show_bug.cgi?id=86431
629
630         Chromium rev 136872 removed skia/third_party/glu, but nobody updated it in WebKit.  This
631         patch fixes that.
632
633         Unreviewed, remove bad Chromium repo.
634
635         * DEPS:
636
637 2012-05-14  Dirk Pranke <dpranke@chromium.org>
638
639         Unreviewed, roll Chromium DEPS to r136942.
640
641 2012-05-14  Adam Barth  <abarth@webkit.org>
642
643         [Chromium] android/WebInputEventFactory should handle wheel events and gesture events
644         https://bugs.webkit.org/show_bug.cgi?id=86270
645
646         Reviewed by Eric Seidel.
647
648         * public/android/WebInputEventFactory.h:
649         * src/android/WebInputEventFactory.cpp:
650         (WebKit::WebInputEventFactory::keyboardEvent):
651         (WebKit::WebInputEventFactory::mouseEvent):
652         (WebKit):
653         (WebKit::WebInputEventFactory::mouseWheelEvent):
654         (WebKit::WebInputEventFactory::gestureEvent):
655
656 2012-05-14  Sheriff Bot  <webkit.review.bot@gmail.com>
657
658         Unreviewed, rolling out r116983.
659         http://trac.webkit.org/changeset/116983
660         https://bugs.webkit.org/show_bug.cgi?id=86397
661
662         Does not compile on chromium-win (Requested by abarth on
663         #webkit).
664
665         * features.gypi:
666         * src/WebInputEventConversion.cpp:
667         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
668
669 2012-05-14  Terry Anderson  <tdanderson@chromium.org>
670
671         [chromium] Compute the best target node on a GestureTap event
672         https://bugs.webkit.org/show_bug.cgi?id=85101
673
674         Reviewed by Adam Barth.
675
676         * features.gypi:
677         Enable the touch adjustment code by default.
678         * src/WebInputEventConversion.cpp:
679         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
680         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
681         area and deltaY represents the vertical padding of the touch area.
682
683 2012-05-14  Adrienne Walker  <enne@google.com>
684
685         [chromium] Add compositor debug asserts for blocked main thread
686         https://bugs.webkit.org/show_bug.cgi?id=86384
687
688         Reviewed by James Robinson.
689
690         For tests that are just on the impl tree, pretend that the main thread
691         is always blocked.
692
693         * tests/CCLayerTreeHostImplTest.cpp:
694         (CCLayerTreeHostImplTest):
695
696 2012-05-12  Sheriff Bot  <webkit.review.bot@gmail.com>
697
698         Unreviewed, rolling out r116812.
699         http://trac.webkit.org/changeset/116812
700         https://bugs.webkit.org/show_bug.cgi?id=86313
701
702         Appears to be causing a top crash (Requested by abarth on
703         #webkit).
704
705         * WebKit.gyp:
706         * public/WebStorageArea.h:
707         (WebKit):
708         (WebStorageArea):
709         (WebKit::WebStorageArea::~WebStorageArea):
710         (WebKit::WebStorageArea::setItem):
711         (WebKit::WebStorageArea::removeItem):
712         (WebKit::WebStorageArea::clear):
713         * public/WebStorageNamespace.h:
714         (WebKit):
715         (WebStorageNamespace):
716         (WebKit::WebStorageNamespace::~WebStorageNamespace):
717         (WebKit::WebStorageNamespace::isSameNamespace):
718         * public/platform/WebKitPlatformSupport.h:
719         (WebKit):
720         (WebKitPlatformSupport):
721         (WebKit::WebKitPlatformSupport::createLocalStorageNamespace):
722         * src/StorageAreaProxy.cpp:
723         * src/StorageNamespaceProxy.cpp:
724         (WebCore::StorageNamespace::localStorageNamespace):
725
726 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
727
728         [Chromium] Call isLinkVisited directly
729         https://bugs.webkit.org/show_bug.cgi?id=85412
730
731         Reviewed by Adam Barth.
732
733         Part of a refactoring series. See tracking bug 82948.
734
735         * src/PlatformSupport.cpp:
736         (WebCore):
737
738 2012-05-11  Tony Chang  <tony@chromium.org>
739
740         [chromium] Port gtest WebViewTest.ActiveState from test_shell_tests to webkit_unit_tests
741         https://bugs.webkit.org/show_bug.cgi?id=86271
742
743         Reviewed by James Robinson.
744
745         The original test is in src/webkit/glue/webview_unittest.cc.
746
747         * tests/WebViewTest.cpp:
748         (WebKit::TEST_F):
749         (WebKit):
750
751 2012-05-11  Shawn Singh  <shawnsingh@chromium.org>
752
753         [chromium] Plumb --show-paint-rects to accelerated compositor
754         https://bugs.webkit.org/show_bug.cgi?id=86255
755
756         Reviewed by James Robinson.
757
758         * public/WebSettings.h:
759         * src/WebLayerTreeView.cpp:
760         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
761         * src/WebSettingsImpl.cpp:
762         (WebKit::WebSettingsImpl::WebSettingsImpl):
763         (WebKit::WebSettingsImpl::setShowPaintRects):
764         (WebKit):
765         * src/WebSettingsImpl.h:
766         (WebSettingsImpl):
767         (WebKit::WebSettingsImpl::showFPSCounter):
768         (WebKit::WebSettingsImpl::showPlatformLayerTree):
769         (WebKit::WebSettingsImpl::showPaintRects):
770         * src/WebViewImpl.cpp:
771         (WebKit::WebViewImpl::settingsImpl):
772         (WebKit::WebViewImpl::settings):
773         (WebKit):
774         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
775         * src/WebViewImpl.h:
776
777 2012-05-11  Ryosuke Niwa  <rniwa@webkit.org>
778
779         Do a DEPS roll per build failure caused by r116810.
780
781         See http://webkitmemes.tumblr.com/post/21734202168/the-solution-to-any-chromium-problem for the rationale.
782
783         * DEPS:
784
785 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
786
787         Unreviewed, rolling out r116802.
788         http://trac.webkit.org/changeset/116802
789         https://bugs.webkit.org/show_bug.cgi?id=86260
790
791         This patch causes compiling error to chromium builds
792         (Requested by jianli_ on #webkit).
793
794         * features.gypi:
795         * src/WebInputEventConversion.cpp:
796         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
797
798 2012-05-11  Mark Pilgrim  <pilgrim@chromium.org>
799
800         [Chromium] Move createLocalStorageNamespace to Platform.h
801         https://bugs.webkit.org/show_bug.cgi?id=85766
802
803         Reviewed by Adam Barth.
804
805         Part of a refactoring series. See tracking bug 82948.
806
807         * WebKit.gyp:
808         * public/WebStorageArea.h:
809         * public/WebStorageNamespace.h:
810         * public/platform/WebKitPlatformSupport.h:
811         (WebKit):
812         (WebKit::WebKitPlatformSupport::blobRegistry):
813         * src/StorageAreaProxy.cpp:
814         * src/StorageNamespaceProxy.cpp:
815         (WebCore::StorageNamespace::localStorageNamespace):
816
817 2012-05-11  James Robinson  <jamesr@chromium.org>
818
819         [chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
820         https://bugs.webkit.org/show_bug.cgi?id=86257
821
822         Reviewed by Adam Barth.
823
824         * WebKit.gyp:
825
826 2012-05-11  Fady Samuel  <fsamuel@chromium.org>
827
828         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
829         https://bugs.webkit.org/show_bug.cgi?id=85916
830
831         Reviewed by Darin Fisher.
832
833         The browser plugin needs to access its current guest's  WebPluginContainer
834         so that it can replace the guest with another guest WebPlugin when navigating
835         across processes.
836
837         * public/WebPlugin.h:
838         (WebPlugin):
839         (WebKit::WebPlugin::container):
840
841 2012-05-11  Terry Anderson  <tdanderson@chromium.org>
842
843         [chromium] Compute the best target node on a GestureTap event
844         https://bugs.webkit.org/show_bug.cgi?id=85101
845
846         Reviewed by Adam Barth.
847
848         * features.gypi:
849         Enable the touch adjustment code by default.
850         * src/WebInputEventConversion.cpp:
851         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
852         In the case of a GestureTap, deltaX represents the horizontal padding of the touch
853         area and deltaY represents the vertical padding of the touch area.
854
855 2012-05-11  Ian Vollick  <vollick@chromium.org>
856
857         [chromium] Ensure that animations continue to run when transform-style is changed
858         https://bugs.webkit.org/show_bug.cgi?id=83283
859
860         Reviewed by James Robinson.
861
862         * WebKit.gypi:
863         * tests/GraphicsLayerChromiumTest.cpp: Added.
864         (WebKitTests):
865         (MockGraphicsLayerClient):
866         (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
867         (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
868         (WebKitTests::MockGraphicsLayerClient::paintContents):
869         (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
870         (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
871         (WebKitTests::TEST):
872
873 2012-05-11  Min Qin  <qinmin@google.com>
874
875         split MediaPlayer::enterFullscreen into 2 seperate functions
876         https://bugs.webkit.org/show_bug.cgi?id=86052
877
878         Reviewed by Adam Barth.
879
880         In WebCore, we splitted bool enterFullscreen() into two seperate calls:
881         void enterFullscreen() and bool canEnterFullscreen()
882         This is the change in the chromium part that we needed to support the WebCore change
883         No behavior change, just refactoring.
884
885         * public/WebMediaPlayer.h:
886         (WebMediaPlayer):
887         (WebKit::WebMediaPlayer::enterFullscreen):
888         (WebKit::WebMediaPlayer::canEnterFullscreen):
889         * src/WebMediaPlayerClientImpl.cpp:
890         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
891         (WebKit):
892         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
893         * src/WebMediaPlayerClientImpl.h:
894         (WebMediaPlayerClientImpl):
895         * src/WebViewImpl.cpp:
896         (WebKit::WebViewImpl::enterFullScreenForElement):
897
898 2012-05-11  David Reveman  <reveman@chromium.org>
899
900         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
901         https://bugs.webkit.org/show_bug.cgi?id=85893
902
903         Reviewed by Adrienne Walker.
904
905         * tests/CCLayerTreeHostImplTest.cpp:
906         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
907         (WebKitTests::TEST_F):
908         * tests/LayerRendererChromiumTest.cpp:
909         (FakeLayerRendererChromium::FakeLayerRendererChromium):
910         (LayerRendererChromiumTest::LayerRendererChromiumTest):
911         (TEST):
912
913 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
914
915         Unreviewed, rolling out r116727.
916         http://trac.webkit.org/changeset/116727
917         https://bugs.webkit.org/show_bug.cgi?id=86181
918
919         Build error on Chromium-Android (Requested by tkent on
920         #webkit).
921
922         * public/WebMediaPlayer.h:
923         (WebMediaPlayer):
924         (WebKit::WebMediaPlayer::enterFullscreen):
925         (WebKit::WebMediaPlayer::exitFullscreen):
926         * src/WebMediaPlayerClientImpl.cpp:
927         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
928         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
929         * src/WebMediaPlayerClientImpl.h:
930         (WebMediaPlayerClientImpl):
931         * src/WebViewImpl.cpp:
932         (WebKit::WebViewImpl::enterFullScreenForElement):
933
934 2012-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
935
936         Unreviewed, rolling out r116731.
937         http://trac.webkit.org/changeset/116731
938         https://bugs.webkit.org/show_bug.cgi?id=86178
939
940         Build failure on Chromium-mac (Requested by tkent on #webkit).
941
942         * tests/CCLayerTreeHostImplTest.cpp:
943         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
944         (WebKitTests::TEST_F):
945         * tests/LayerRendererChromiumTest.cpp:
946         (FakeLayerRendererChromium::FakeLayerRendererChromium):
947         (LayerRendererChromiumTest::LayerRendererChromiumTest):
948         (TEST):
949
950 2012-05-10  David Reveman  <reveman@chromium.org>
951
952         [Chromium] Move instantiation of texture uploader to LayerRendererChromium.
953         https://bugs.webkit.org/show_bug.cgi?id=85893
954
955         Reviewed by Adrienne Walker.
956
957         * tests/CCLayerTreeHostImplTest.cpp:
958         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
959         (WebKitTests::TEST_F):
960         * tests/LayerRendererChromiumTest.cpp:
961         (FakeLayerRendererChromium::FakeLayerRendererChromium):
962         (LayerRendererChromiumTest::LayerRendererChromiumTest):
963         (TEST):
964
965 2012-05-10  Min Qin  <qinmin@google.com>
966
967         split MediaPlayer::enterFullscreen into 2 seperate functions
968         https://bugs.webkit.org/show_bug.cgi?id=86052
969
970         Reviewed by Benjamin Poulain.
971
972         It is confusing that enterFullscreen returns a boolean while exitFullscreen does
973         not do the same. And ios does not need the return value.
974         So remove the return value on enterFullscreen and make a seperate canEnterFullscreen()
975         function for android.
976         No behavior change, just refactoring.
977
978         * public/WebMediaPlayer.h:
979         (WebMediaPlayer):
980         (WebKit::WebMediaPlayer::enterFullscreen):
981         (WebKit::WebMediaPlayer::canEnterFullscreen):
982         * src/WebMediaPlayerClientImpl.cpp:
983         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
984         (WebKit):
985         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
986         * src/WebMediaPlayerClientImpl.h:
987         (WebMediaPlayerClientImpl):
988         * src/WebViewImpl.cpp:
989         (WebKit::WebViewImpl::enterFullScreenForElement):
990
991 2012-05-10  Hajime Morrita  <morrita@google.com>
992
993         WebKit should support tab-size.
994         https://bugs.webkit.org/show_bug.cgi?id=52994
995
996         Reviewed by Simon Fraser.
997
998         * src/WebTextRun.cpp:
999         (WebKit::WebTextRun::operator WebCore::TextRun):
1000
1001 2012-05-10  Kent Tamura  <tkent@chromium.org>
1002
1003         Unreviewed, rolling out r116594.
1004         http://trac.webkit.org/changeset/116594
1005         https://bugs.webkit.org/show_bug.cgi?id=86013
1006
1007         r116594 might have made some composition tests flaky.
1008
1009         * tests/CCLayerTreeHostTest.cpp:
1010         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1011         (WTF):
1012         (WTF::TEST_F):
1013
1014 2012-05-10  Jian Li  <jianli@chromium.org>
1015
1016         Unreviewed. Fix chromium build break.
1017
1018         * src/LocalizedStrings.cpp:
1019         (WebCore::insecurePluginVersionText):
1020
1021 2012-05-10  Michael Nordman  <michaeln@google.com>
1022
1023         [chromium] DomStorage events handling needs TLC (2)
1024         https://bugs.webkit.org/show_bug.cgi?id=85221
1025         Alter the WebStorageArea virtual interface such that the mutators no longer
1026         return old values. This is to allow implementations of the interface to operate
1027         more asynchronously.
1028
1029         Also clean up from the last patch, remove support for the DEPRECATED event
1030         dispatching API.
1031
1032         Reviewed by Adam Barth.
1033
1034         * WebKit.gyp: delete three files indicated below
1035         * public/WebStorageArea.h:
1036         (WebKit::WebStorageArea::setItem): no longer returns the old value
1037         (WebKit::WebStorageArea::removeItem): no longer returns the old value
1038         (WebKit::WebStorageArea::clear): no longer returns a bool indicated if something was cleared
1039         * public/WebStorageEventDispatcher.h: removed the DEPRECATED instance methods
1040         * public/WebStorageNamespace.h: removed the DEPRECATED close() method
1041         * public/platform/WebKitPlatformSupport.h: removed the DEPRECATED dispatchStorageEvent() method
1042         * src/StorageAreaProxy.cpp: removed the DEPREACTED storageEvent() method
1043         (WebCore::StorageAreaProxy::setItem): no return value
1044         (WebCore::StorageAreaProxy::removeItem): no return value
1045         (WebCore::StorageAreaProxy::clear): no return value
1046         (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): remove an early return thats no longer needed
1047         (WebCore::findPageWithSessionStorageNamespace): switched to passing pageGroup by ptr value instead of by name
1048         (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): remove an early return thats no longer needed
1049         * src/StorageAreaProxy.h:
1050         (WebCore):
1051         (StorageAreaProxy):
1052         * src/StorageEventDispatcherImpl.cpp: Deleted the file.
1053         * src/StorageEventDispatcherImpl.h: Deleted the file.
1054         * src/WebStorageEventDispatcherImpl.cpp: Deleted the DEPRECATED instance methods.
1055         (WebKit::WebStorageEventDispatcher::dispatchLocalStorageEvent): use WebViewImpl::defaultPageGroup
1056         (WebKit::WebStorageEventDispatcher::dispatchSessionStorageEvent): use WebViewImpl::defaultPageGroup
1057         * src/WebStorageEventDispatcherImpl.h: Deleted the file.
1058         * src/WebViewImpl.cpp: added a static method to retrieve a ptr to the default page group,
1059         (WebKit::WebViewImpl::defaultPageGroup):
1060         * src/WebViewImpl.h:
1061
1062
1063 2012-05-10  Anders Carlsson  <andersca@apple.com>
1064
1065         Add insecurePluginVersionText stub here too.
1066
1067         * src/LocalizedStrings.cpp:
1068
1069 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1070
1071         [Chromium] Call addTraceEvent and getTraceCategoryEnabledFlag directly
1072         https://bugs.webkit.org/show_bug.cgi?id=85399
1073
1074         Reviewed by Adam Barth.
1075
1076         Part of a refactoring series. See tracking bug 82948.
1077
1078         * src/PlatformSupport.cpp:
1079         (WebCore):
1080
1081 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1082
1083         [Chromium] Remove WEBKIT_USING_SKIA ifdefs that are always true
1084         https://bugs.webkit.org/show_bug.cgi?id=86121
1085
1086         Reviewed by Adam Barth.
1087
1088         Chromium always uses Skia now, so this just removes the barriers
1089         around code that was previously #if'd.
1090
1091         * README:
1092         * src/DragClientImpl.cpp:
1093         (WebKit::DragClientImpl::startDrag):
1094         * src/PageOverlay.cpp:
1095         * src/PlatformSupport.cpp:
1096         (WebCore::PlatformSupport::clipboardWriteImage):
1097         (WebCore::PlatformSupport::paintScrollbarThumb):
1098         * src/WebContentLayerImpl.cpp:
1099         (WebKit::WebContentLayerImpl::paintContents):
1100         * src/WebFontImpl.cpp:
1101         (WebKit::WebFontImpl::drawText):
1102         * src/WebFrameImpl.cpp:
1103         (WebKit::WebFrameImpl::printPage):
1104         (WebKit::WebFrameImpl::printPagesWithBoundaries):
1105         * src/WebGraphicsContext3D.cpp:
1106         (WebKit::WebGraphicsContext3D::createGrGLInterface):
1107         * src/WebImageDecoder.cpp:
1108         (WebKit::WebImageDecoder::getFrameAtIndex):
1109         * src/WebPluginContainerImpl.cpp:
1110         (WebKit::WebPluginContainerImpl::paint):
1111         (WebKit::WebPluginContainerImpl::printPage):
1112         * src/painting/GraphicsContextBuilder.h:
1113         (WebKit):
1114
1115 2012-05-10  Tom Sepez  <tsepez@chromium.org>
1116
1117         [Chromium] WebFrameTest.ChromePageNoJavascript isn't catching regressions
1118         https://bugs.webkit.org/show_bug.cgi?id=86046
1119
1120         Reviewed by Adam Barth.
1121
1122         Test both cases for registerURLSchemeAsNotAllowingJavascriptURLs.  Also add
1123         a call to layout() to ensure the javascript result is seen.
1124         
1125         * tests/WebFrameTest.cpp:
1126         (WebKit::TEST_F):
1127         (WebKit):
1128
1129 2012-05-10  Varun Jain  <varunjain@google.com>
1130
1131         [chromium] Trigger context menu for long press gesture
1132         https://bugs.webkit.org/show_bug.cgi?id=85919
1133
1134         Reviewed by Adam Barth.
1135
1136         * src/PageWidgetDelegate.cpp:
1137         (WebKit::PageWidgetDelegate::handleInputEvent):
1138         * src/WebViewImpl.cpp:
1139         (WebKit::WebViewImpl::handleGestureEvent):
1140
1141 2012-05-10  Mark Pilgrim  <pilgrim@chromium.org>
1142
1143         [Chromium] Remove dead code behind unused WEBKIT_USING_CG
1144         https://bugs.webkit.org/show_bug.cgi?id=86018
1145
1146         Reviewed by Adam Barth.
1147
1148         We never use CoreGraphics as the backend for GraphicsContext in
1149         Chromium, so this is all dead code.
1150
1151         * README:
1152         * src/PageOverlay.cpp:
1153         * src/WebContentLayerImpl.cpp:
1154         (WebKit::WebContentLayerImpl::paintContents):
1155         * src/WebFontImpl.cpp:
1156         (WebKit::WebFontImpl::drawText):
1157         * src/WebImageDecoder.cpp:
1158         (WebKit::WebImageDecoder::getFrameAtIndex):
1159         * src/WebPluginContainerImpl.cpp:
1160         (WebKit::WebPluginContainerImpl::paint):
1161         (WebKit::WebPluginContainerImpl::printPage):
1162         * src/painting/GraphicsContextBuilder.h:
1163         (WebKit):
1164
1165 2012-05-10  Sam D  <dsam2912@gmail.com>
1166
1167         Web Inspector: rename InspectorBackendStub.js to InspectorBackendCommands.js
1168         https://bugs.webkit.org/show_bug.cgi?id=72306
1169
1170         Changed name for InspectorBackendStub.js to InspectorBackendCommands.js
1171
1172         Reviewed by Yury Semikhatsky.
1173
1174         * WebKit.gyp:
1175
1176 2012-05-09  Kent Tamura  <tkent@chromium.org>
1177
1178         [Chromium] Mark CCLayerTreeHostTestSetNeedsCommit2.runMultiThread and
1179         CCLayerTreeHostTestDoNotSkipLayersWithAnimatedOpacity.runMultiThread flaky.
1180
1181         * tests/CCLayerTreeHostTest.cpp:
1182
1183 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
1184
1185         [chromium] Add ability to override user agent string per-WebFrameClient
1186         https://bugs.webkit.org/show_bug.cgi?id=83959
1187         
1188         Reviewed by Adam Barth.
1189         
1190         Adds a method that can be used to override the normal user agent in
1191         chromium.  Also adds a unit test to check if the override is taking effect.
1192
1193         * WebKit.gypi:
1194         * public/WebFrameClient.h:
1195         (WebFrameClient):
1196         (WebKit::WebFrameClient::userAgent):
1197         * src/FrameLoaderClientImpl.cpp:
1198         (WebKit::FrameLoaderClientImpl::userAgent):
1199         * tests/FrameLoaderClientImplTest.cpp: Added.
1200         (WebKit):
1201         (TestWebFrameClient):
1202         (WebKit::TestWebFrameClient::setUserAgentOverride):
1203         (FrameLoaderClientImplTest):
1204         (WebKit::FrameLoaderClientImplTest::SetUp):
1205         (WebKit::FrameLoaderClientImplTest::TearDown):
1206         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
1207         (WebKit::FrameLoaderClientImplTest::userAgent):
1208         (WebKit::TEST_F):
1209
1210 2012-05-09  Charlie Reis  <creis@chromium.org>
1211
1212         Add dispatchMessageEventWithOriginCheck to WebFrame
1213         https://bugs.webkit.org/show_bug.cgi?id=85815
1214
1215         Reviewed by Adam Barth.
1216
1217         Tested by WebFrameTest.DispatchMessageEventWithOriginCheck.
1218         Also fixes source frame bug in willCheckAndDispatchMessageEvent.
1219
1220         * public/WebFrame.h:
1221         (WebFrame):
1222         * src/FrameLoaderClientImpl.cpp:
1223         (WebKit::FrameLoaderClientImpl::willCheckAndDispatchMessageEvent):
1224         * src/WebFrameImpl.cpp:
1225         (WebKit::WebFrameImpl::checkAndDispatchMessageEvent):
1226         (WebKit):
1227         * src/WebFrameImpl.h:
1228         (WebFrameImpl):
1229
1230 2012-05-09  Hironori Bono  <hbono@chromium.org>
1231
1232         Fix a crash in ContextMenuClientImpl::getCustomMenuFromDefaultItems
1233         https://bugs.webkit.org/show_bug.cgi?id=85866
1234
1235         Reviewed by Ryosuke Niwa.
1236
1237         DocumentMarkerController::markersInRange crashes if the input range is NULL.
1238         This change adds a NULL check before getCustomMenuFromDefaultItems() calls this
1239         function to avoid this crash.
1240
1241         * src/ContextMenuClientImpl.cpp:
1242         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Added a NULL check.
1243
1244 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1245
1246         Unreviewed, rolling out r116602.
1247         http://trac.webkit.org/changeset/116602
1248         https://bugs.webkit.org/show_bug.cgi?id=86057
1249
1250         Build error on Windows (Requested by tkent on #webkit).
1251
1252         * WebKit.gypi:
1253         * public/WebFrameClient.h:
1254         * src/FrameLoaderClientImpl.cpp:
1255         (WebKit::FrameLoaderClientImpl::userAgent):
1256         * tests/FrameLoaderClientImplTest.cpp: Removed.
1257
1258 2012-05-09  Kent Tamura  <tkent@chromium.org>
1259
1260         [Chromium] Fix compilation warning on Android.
1261         https://bugs.webkit.org/show_bug.cgi?id=85958
1262
1263         * features.gypi: Move ENABLE_MEDIA_CAPTURE=0 to non-Android block.
1264
1265 2012-05-09  Dan Alcantara  <dfalcantara@chromium.org>
1266
1267         [chromium] Add ability to override user agent string per-WebFrameClient
1268         https://bugs.webkit.org/show_bug.cgi?id=83959
1269         
1270         Reviewed by Adam Barth.
1271         
1272         Adds a method that can be used to override the normal user agent in
1273         chromium.  Also adds a unit test to check if the override is taking effect.
1274
1275         * WebKit.gypi:
1276         * public/WebFrameClient.h:
1277         (WebFrameClient):
1278         (WebKit::WebFrameClient::userAgent):
1279         * src/FrameLoaderClientImpl.cpp:
1280         (WebKit::FrameLoaderClientImpl::userAgent):
1281         * tests/FrameLoaderClientImplTest.cpp: Added.
1282         (WebKit):
1283         (TestWebFrameClient):
1284         (WebKit::TestWebFrameClient::setUserAgentOverride):
1285         (FrameLoaderClientImplTest):
1286         (WebKit::FrameLoaderClientImplTest::SetUp):
1287         (WebKit::FrameLoaderClientImplTest::TearDown):
1288         (WebKit::FrameLoaderClientImplTest::setUserAgentOverride):
1289         (WebKit::FrameLoaderClientImplTest::userAgent):
1290         (WebKit::TEST_F):
1291
1292 2012-05-09  Ian Vollick  <vollick@chromium.org>
1293
1294         [chromium] Ensure animations get ticked at least once when added.
1295         https://bugs.webkit.org/show_bug.cgi?id=86013
1296
1297         Reviewed by James Robinson.
1298
1299         * tests/CCLayerTreeHostTest.cpp:
1300         (WTF::CCLayerTreeHostTestTickAnimationWhileBackgrounded::animateLayers):
1301         (WTF):
1302
1303 2012-05-09  Adam Barth  <abarth@webkit.org>
1304
1305         Implement HTML Media Capture
1306         https://bugs.webkit.org/show_bug.cgi?id=85958
1307
1308         Reviewed by Eric Seidel.
1309
1310         * features.gypi:
1311         * public/WebFileChooserParams.h:
1312         (WebFileChooserParams):
1313         * src/ChromeClientImpl.cpp:
1314         (WebKit::ChromeClientImpl::runOpenPanel):
1315
1316 2012-05-09  Dana Jansens  <danakj@chromium.org>
1317
1318         [chromium] Don't draw when canDraw() is false
1319         https://bugs.webkit.org/show_bug.cgi?id=85829
1320
1321         Reviewed by Adrienne Walker.
1322
1323         * tests/CCLayerTreeHostImplTest.cpp:
1324         (WebKitTests::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
1325         (WebKitTests::TEST_F):
1326         * tests/CCLayerTreeHostTest.cpp:
1327         (WTF):
1328         (CCLayerTreeHostTestCanDrawBlocksDrawing):
1329         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::CCLayerTreeHostTestCanDrawBlocksDrawing):
1330         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::beginTest):
1331         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::commitCompleteOnCCThread):
1332         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::drawLayersOnCCThread):
1333         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::didCommitAndDrawFrame):
1334         (WTF::CCLayerTreeHostTestCanDrawBlocksDrawing::afterTest):
1335         (WTF::TEST_F):
1336
1337 2012-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1338
1339         Unreviewed, rolling out r116573.
1340         http://trac.webkit.org/changeset/116573
1341         https://bugs.webkit.org/show_bug.cgi?id=86038
1342
1343         Broke the Chromium Mac compile (Requested by ojan_gardening on
1344         #webkit).
1345
1346         * public/WebPlugin.h:
1347         (WebPlugin):
1348
1349 2012-05-09  Fady Samuel  <fsamuel@chromium.org>
1350
1351         [Chromium] Expose WebPluginContainer of WebPlugin to embedder
1352         https://bugs.webkit.org/show_bug.cgi?id=85916
1353
1354         Reviewed by Darin Fisher.
1355
1356         The browser plugin needs to access its current guest's  WebPluginContainer
1357         so that it can replace the guest with another guest WebPlugin when navigating
1358         across processes.
1359
1360         * public/WebPlugin.h:
1361         (WebPlugin):
1362         (WebKit::WebPlugin::container):
1363
1364 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
1365
1366         [Chromium] Move clipboard to Platform.h
1367         https://bugs.webkit.org/show_bug.cgi?id=85758
1368
1369         Reviewed by Adam Barth.
1370
1371         Part of a refactoring series. See tracking bug 82948.
1372
1373         * WebKit.gyp:
1374         * public/platform/WebClipboard.h:
1375         * public/platform/WebDragData.h:
1376         * public/platform/WebImage.h:
1377         * public/platform/WebKitPlatformSupport.h:
1378         (WebKit):
1379         (WebKitPlatformSupport):
1380         * src/AssertMatchingEnums.cpp:
1381         * src/DragClientImpl.cpp:
1382         * src/PlatformSupport.cpp:
1383         * src/WebDragData.cpp:
1384         * src/WebImageCG.cpp:
1385         * src/WebImageDecoder.cpp:
1386         * src/WebImageSkia.cpp:
1387         * src/WebPluginContainerImpl.cpp:
1388         (WebKit::WebPluginContainerImpl::copy):
1389         * src/WebViewImpl.cpp:
1390
1391 2012-05-09  Mark Pilgrim  <pilgrim@chromium.org>
1392
1393         [Chromium] Remove PlatformSupport::loadPlatformImageResource, call loadResource directly
1394         https://bugs.webkit.org/show_bug.cgi?id=84417
1395
1396         Reviewed by Adam Barth.
1397
1398         Part of a refactoring series. See tracking bug 82948.
1399
1400         * src/PlatformSupport.cpp:
1401         (WebCore):
1402
1403 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
1404
1405         [chromium] remove the obsolete WebFrame::referrerPolicy method
1406         https://bugs.webkit.org/show_bug.cgi?id=86003
1407
1408         Reviewed by Adam Barth.
1409
1410         * public/WebFrame.h:
1411         * src/WebFrameImpl.cpp:
1412         * src/WebFrameImpl.h:
1413         (WebFrameImpl):
1414
1415 2012-05-09  Jochen Eisinger  <jochen@chromium.org>
1416
1417         [chromium] Check whether an active document loader exists before accessing it
1418         https://bugs.webkit.org/show_bug.cgi?id=85892
1419
1420         Reviewed by Eric Seidel.
1421
1422         Although FrameLoader::loadInSameDocument which invokes this
1423         method does not have a provisional document loader, we're seeing crashes
1424         where the FrameLoader is in provisional state, and thus
1425         activeDocumentLoader returns 0. Lacking any understanding of how this
1426         can happen, we do this check here to avoid crashing.
1427
1428         * src/FrameLoaderClientImpl.cpp:
1429         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
1430
1431 2012-05-09  Ian Vollick  <vollick@chromium.org>
1432
1433         [chromium] Add impl-thread support for fill-mode and direction css animation properties
1434         https://bugs.webkit.org/show_bug.cgi?id=77662
1435
1436         Reviewed by James Robinson.
1437
1438         * tests/CCActiveAnimationTest.cpp:
1439         (WebCore::TEST):
1440         (WebCore):
1441         * tests/CCLayerAnimationControllerTest.cpp:
1442         (WebKitTests::TEST):
1443         (WebKitTests):
1444
1445 2012-05-09  Ojan Vafai  <ojan@chromium.org>
1446
1447         Unreviewed.  Rolled DEPS.
1448
1449         * DEPS:
1450
1451 2012-05-09  Marcus Bulach  <bulach@chromium.org>
1452
1453         [chromium] Exposes OrientationChangeEvent.
1454         https://bugs.webkit.org/show_bug.cgi?id=85976
1455
1456         Reviewed by Adam Barth.
1457
1458         This is used by the android port, we need to expose the existing
1459         WebCore API.
1460
1461         * public/WebFrame.h:
1462         (WebFrame):
1463         * src/WebFrameImpl.cpp:
1464         (WebKit::WebFrameImpl::sendOrientationChangeEvent):
1465         (WebKit):
1466         * src/WebFrameImpl.h:
1467         (WebFrameImpl):
1468
1469 2012-05-09  Dana Jansens  <danakj@chromium.org>
1470
1471         Early-out and avoid any copying when possible for Region operations
1472         https://bugs.webkit.org/show_bug.cgi?id=85260
1473
1474         Reviewed by Anders Carlsson.
1475
1476         * tests/RegionTest.cpp:
1477         (WebCore::TEST):
1478         (WebCore):
1479
1480 2012-05-09  Tommy Widenflycht  <tommyw@google.com>
1481
1482         [chromium] MediaStream API: Fixing a memory leak in WebUserMediaRequest
1483         https://bugs.webkit.org/show_bug.cgi?id=85992
1484
1485         Reviewed by Adam Barth.
1486
1487         * src/WebUserMediaRequest.cpp:
1488         (WebKit::WebUserMediaRequest::assign):
1489
1490 2012-05-09  Kent Tamura  <tkent@chromium.org>
1491
1492         [Chromium] Disable WebViewTest.TextInputType because the test is incomplete.
1493
1494         * tests/WebViewTest.cpp:
1495
1496 2012-05-09  Kent Tamura  <tkent@chromium.org>
1497
1498         [Chromium] Some of *.runMultiThread tests intermittently crash.
1499         Mark them flaky.
1500
1501         * tests/CCLayerTreeHostTest.cpp:
1502
1503 2012-05-09  Oli Lan  <olilan@chromium.org>
1504
1505         Adds date/time input types to WebTextInputType, and adds support for these
1506         to WebViewImpl.textInputType().
1507
1508         Adds a new test WebViewTest.TextInputType to test WebViewImpl.textInputType(),
1509         including the new types.
1510
1511         https://bugs.webkit.org/show_bug.cgi?id=78746
1512
1513         Reviewed by Kent Tamura.
1514
1515         * public/WebTextInputType.h:
1516         * src/WebViewImpl.cpp:
1517         (WebKit::WebViewImpl::textInputType):
1518         * tests/WebViewTest.cpp:
1519         (WebViewTest):
1520         (WebKit::WebViewTest::testTextInputType):
1521         (WebKit):
1522         (WebKit::TEST_F):
1523         * tests/data/input_field_date.html: Added.
1524         * tests/data/input_field_datetime.html: Added.
1525         * tests/data/input_field_default.html: Added.
1526         * tests/data/input_field_email.html: Added.
1527         * tests/data/input_field_number.html: Added.
1528         * tests/data/input_field_search.html: Added.
1529         * tests/data/input_field_time.html: Added.
1530         * tests/data/input_field_week.html: Added.
1531
1532 2012-05-08  Jochen Eisinger  <jochen@chromium.org>
1533
1534         Unreviewed.  Rolled DEPS.
1535
1536         * DEPS:
1537
1538 2012-05-08  Dana Jansens  <danakj@chromium.org>
1539
1540         [chromium] Show borders for partial-draw-culled quads to visualize culling behaviour
1541         https://bugs.webkit.org/show_bug.cgi?id=85414
1542
1543         Reviewed by Adrienne Walker.
1544
1545         * tests/CCQuadCullerTest.cpp:
1546         (WebCore::appendQuads):
1547         * tests/MockCCQuadCuller.h:
1548         (WebCore::MockCCQuadCuller::MockCCQuadCuller):
1549
1550 2012-05-08  Tony Chang  <tony@chromium.org>
1551
1552         [chromium] force ENABLE_REGISTER_PROTOCOL_HANDLER=1 in features.gypi
1553         https://bugs.webkit.org/show_bug.cgi?id=85924
1554
1555         Reviewed by Adam Barth.
1556
1557         This has been enabled for a few months on Chromium trunk so remove the
1558         ability to turn it off via a gyp flag. This simplifies features.gypi.
1559
1560         * features.gypi:
1561
1562 2012-05-08  Dana Jansens  <danakj@chromium.org>
1563
1564         [chromium] Reflections with masks should not occlude
1565         https://bugs.webkit.org/show_bug.cgi?id=85927
1566
1567         Reviewed by James Robinson.
1568
1569         * tests/CCOcclusionTrackerTest.cpp:
1570         (WebKitTests::CCOcclusionTrackerTest::TearDown):
1571         (WebKitTests::CCOcclusionTrackerTest::createMaskLayer):
1572         (CCOcclusionTrackerTest):
1573         (WebKitTests::CCOcclusionTrackerTest::setMask):
1574         (CCOcclusionTrackerTestReplicaWithMask):
1575         (WebKitTests::CCOcclusionTrackerTestReplicaWithMask::runMyTest):
1576         (WebKitTests):
1577
1578 2012-05-08  Dana Jansens  <danakj@chromium.org>
1579
1580         Region reads past end of spans
1581         https://bugs.webkit.org/show_bug.cgi?id=85909
1582
1583         Reviewed by Anders Carlsson.
1584
1585         * tests/RegionTest.cpp:
1586         (WebCore::TEST):
1587         (WebCore):
1588
1589 2012-05-08  Tony Chang  <tony@chromium.org>
1590
1591         move listener_leak_test to webkit_unit_tests
1592         https://bugs.webkit.org/show_bug.cgi?id=85922
1593
1594         Reviewed by Ojan Vafai.
1595
1596         Porting the test from src/webkit/tools/test_shell/listener_leak_test.cc.
1597         All I did was change the style and use the FrameTestHelper to load the file.
1598
1599         * WebKit.gyp: Exclude file in components build.
1600         * WebKit.gypi: Add new file.
1601         * tests/ListenerLeakTest.cpp: Added.
1602         (WebKit):
1603         (WebKit::GetProperty):
1604         (WebKit::GetNumObjects):
1605         (ListenerLeakTest):
1606         (WebKit::ListenerLeakTest::ListenerLeakTest):
1607         (WebKit::ListenerLeakTest::RunTest):
1608         (WebKit::TEST_F):
1609         * tests/data/listener/listener_leak1.html: Added.
1610         * tests/data/listener/listener_leak2.html: Added.
1611
1612 2012-05-08  W. James MacLean  <wjmaclean@chromium.org>
1613
1614         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
1615         https://bugs.webkit.org/show_bug.cgi?id=85084
1616
1617         Reviewed by James Robinson.
1618
1619         * WebKit.gypi:
1620         * tests/LinkHighlightTest.cpp: Added.
1621         (WebCore):
1622         (MockGraphicsLayerClient):
1623         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
1624         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
1625         (WebCore::MockGraphicsLayerClient::paintContents):
1626         (WebCore::MockGraphicsLayerClient::showDebugBorders):
1627         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
1628         (WebCore::TEST):
1629
1630 2012-05-08  Tony Chang  <tony@chromium.org>
1631
1632         [chromium] move event_listener_unittest to webkit_unit_tests
1633         https://bugs.webkit.org/show_bug.cgi?id=85836
1634
1635         Reviewed by James Robinson.
1636
1637         Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
1638         All I did was change the style and use the FrameTestHelper to load the file.
1639
1640         * WebKit.gyp: Exclude file in components build.
1641         * WebKit.gypi: Add new file.
1642         * tests/EventListenerTest.cpp: Added.
1643         (WebKit):
1644         (TestWebDOMEventListener):
1645         (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
1646         (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
1647         (WebKit::TestWebDOMEventListener::eventCount):
1648         (WebKit::TestWebDOMEventListener::eventAt):
1649         (WebKit::TestWebDOMEventListener::clearEvents):
1650         (WebDOMEventListenerTest):
1651         (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
1652         (WebKit::WebDOMEventListenerTest::SetUp):
1653         (WebKit::WebDOMEventListenerTest::TearDown):
1654         (WebKit::WebDOMEventListenerTest::mainFrame):
1655         (WebKit::WebDOMEventListenerTest::document):
1656         (WebKit::WebDOMEventListenerTest::executeScript):
1657         (WebKit::WebDOMEventListenerTest::GetNodeID):
1658         (WebKit::TEST_F):
1659         * tests/data/listener/mutation_event_listener.html: Added.
1660
1661 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
1662
1663         Unreviewed build fix: didOpenFileSystem hides overloaded virtual function
1664
1665         * src/WorkerAsyncFileSystemChromium.cpp:
1666
1667 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
1668
1669         Unreviewed build fix: adding missing include.
1670
1671         * src/AsyncFileSystemChromium.cpp:
1672
1673 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
1674
1675         Support cross-filesystem operations in FileSystem API
1676         https://bugs.webkit.org/show_bug.cgi?id=84135
1677
1678         Reviewed by David Levin.
1679
1680         Currently we pass Entry's fullPath to AsyncFileSystem layer where
1681         we convert the given path to filesystem URL which includes origin and
1682         filesystem type information, but in that way we cannot handle
1683         cross-filesystem operations (e.g. cross-filesystem copy and move)
1684         well since we end up with always attaching the source filesystem's
1685         origin and type information for argument paths.
1686
1687         This patch does:
1688         - move filesystem-type related code out of AsyncFileSystemChromium.cpp
1689           (moving into DOMFileSystemChromium.cpp)
1690         - change AsyncFileSystemChromium's methods implementation not to take
1691           entry paths but complete filesystem URLs.
1692
1693         * src/AsyncFileSystemChromium.cpp:
1694         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
1695         (WebCore::AsyncFileSystemChromium::move):
1696         (WebCore::AsyncFileSystemChromium::copy):
1697         (WebCore::AsyncFileSystemChromium::remove):
1698         (WebCore::AsyncFileSystemChromium::removeRecursively):
1699         (WebCore::AsyncFileSystemChromium::readMetadata):
1700         (WebCore::AsyncFileSystemChromium::createFile):
1701         (WebCore::AsyncFileSystemChromium::createDirectory):
1702         (WebCore::AsyncFileSystemChromium::fileExists):
1703         (WebCore::AsyncFileSystemChromium::directoryExists):
1704         (WebCore::AsyncFileSystemChromium::readDirectory):
1705         (WebCore::AsyncFileSystemChromium::createWriter):
1706         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
1707         * src/AsyncFileSystemChromium.h:
1708         (WebCore::AsyncFileSystemChromium::create):
1709         (AsyncFileSystemChromium):
1710         * src/LocalFileSystemChromium.cpp:
1711         (WebCore::openFileSystemHelper):
1712         * src/PlatformSupport.cpp:
1713         (WebCore::PlatformSupport::createAsyncFileSystem):
1714         * src/WebFileSystemCallbacksImpl.cpp:
1715         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
1716         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
1717         * src/WebFileSystemCallbacksImpl.h:
1718         (WebFileSystemCallbacksImpl):
1719         * src/WebFrameImpl.cpp:
1720         (WebKit::WebFrameImpl::createFileSystem):
1721         (WebKit::WebFrameImpl::createFileEntry):
1722         * src/WorkerAsyncFileSystemChromium.cpp:
1723         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1724         (WebCore::WorkerAsyncFileSystemChromium::move):
1725         (WebCore::WorkerAsyncFileSystemChromium::copy):
1726         (WebCore::WorkerAsyncFileSystemChromium::remove):
1727         (WebCore::WorkerAsyncFileSystemChromium::removeRecursively):
1728         (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
1729         (WebCore::WorkerAsyncFileSystemChromium::createFile):
1730         (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
1731         (WebCore::WorkerAsyncFileSystemChromium::fileExists):
1732         (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
1733         (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
1734         (WebCore::WorkerAsyncFileSystemChromium::createWriter):
1735         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
1736         * src/WorkerAsyncFileSystemChromium.h:
1737         (WebCore::WorkerAsyncFileSystemChromium::create):
1738         (WorkerAsyncFileSystemChromium):
1739
1740 2012-05-07  Greg Billock  <gbillock@google.com>
1741
1742         [Web Intents] Flagged-off implementation of an intent tag for registration.
1743         https://bugs.webkit.org/show_bug.cgi?id=73039
1744
1745         Reviewed by Adam Barth.
1746
1747         The intent tag allows web pages to mark themselves declaratively as accepting
1748         web intent delivery of particular characteristics (action/type).
1749         See the spec at:
1750         http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
1751
1752         * WebKit.gyp:
1753         * src/FrameLoaderClientImpl.cpp:
1754         (WebKit::FrameLoaderClientImpl::registerIntentService):
1755         * src/FrameLoaderClientImpl.h:
1756
1757 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1758
1759         Unreviewed, rolling out r116375.
1760         http://trac.webkit.org/changeset/116375
1761         https://bugs.webkit.org/show_bug.cgi?id=85850
1762
1763         Build break on Chromium-win and Chromium-mac. (Requested by
1764         tkent on #webkit).
1765
1766         * WebKit.gyp:
1767         * WebKit.gypi:
1768         * tests/EventListenerTest.cpp: Removed.
1769         * tests/data/listener/mutation_event_listener.html: Removed.
1770
1771 2012-05-07  Dana Jansens  <danakj@chromium.org>
1772
1773         Region::intersects() and Region::contains() are slow due to copy overhead
1774         https://bugs.webkit.org/show_bug.cgi?id=81076
1775
1776         Reviewed by Anders Carlsson.
1777
1778         * tests/RegionTest.cpp:
1779         (WebCore):
1780         (WebCore::TEST):
1781
1782 2012-05-07  Tony Chang  <tony@chromium.org>
1783
1784         [chromium] move event_listener_unittest to webkit_unit_tests
1785         https://bugs.webkit.org/show_bug.cgi?id=85836
1786
1787         Reviewed by James Robinson.
1788
1789         Porting the test from src/webkit/tools/test_shell/event_listener_unittest.cc.
1790         All I did was change the style and use the FrameTestHelper to load the file.
1791
1792         * WebKit.gyp: Exclude file in components build.
1793         * WebKit.gypi: Add new file.
1794         * tests/EventListenerTest.cpp: Added.
1795         (WebKit):
1796         (TestWebDOMEventListener):
1797         (WebKit::TestWebDOMEventListener::TestWebDOMEventListener):
1798         (WebKit::TestWebDOMEventListener::~TestWebDOMEventListener):
1799         (WebKit::TestWebDOMEventListener::eventCount):
1800         (WebKit::TestWebDOMEventListener::eventAt):
1801         (WebKit::TestWebDOMEventListener::clearEvents):
1802         (WebDOMEventListenerTest):
1803         (WebKit::WebDOMEventListenerTest::WebDOMEventListenerTest):
1804         (WebKit::WebDOMEventListenerTest::SetUp):
1805         (WebKit::WebDOMEventListenerTest::TearDown):
1806         (WebKit::WebDOMEventListenerTest::mainFrame):
1807         (WebKit::WebDOMEventListenerTest::document):
1808         (WebKit::WebDOMEventListenerTest::executeScript):
1809         (WebKit::WebDOMEventListenerTest::GetNodeID):
1810         (WebKit::TEST_F):
1811         * tests/data/listener/mutation_event_listener.html: Added.
1812
1813 2012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
1814
1815         Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
1816         https://bugs.webkit.org/show_bug.cgi?id=84090
1817
1818         Reviewed by David Hyatt.
1819
1820         * src/WebPluginContainerImpl.cpp:
1821         Updated after windowClipRectForLayer name and signature change.
1822
1823 2012-05-07  Dana Jansens  <danakj@chromium.org>
1824
1825         [chromium] Ensure synchronization in threaded unit tests by checking the sourceFrameNumber() to count commits
1826         https://bugs.webkit.org/show_bug.cgi?id=85390
1827
1828         Reviewed by Adrienne Walker.
1829
1830         * tests/CCLayerTreeHostTest.cpp:
1831         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
1832         (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
1833         (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
1834         (WTF::CCLayerTreeHostTestScrollChildLayer::beginCommitOnCCThread):
1835
1836 2012-05-07  Adrienne Walker  <enne@google.com>
1837
1838         [chromium] Allow for asymmetric tile sizes on composited tiled layers
1839         https://bugs.webkit.org/show_bug.cgi?id=85687
1840
1841         Reviewed by James Robinson.
1842
1843         Update tests for new constructor and function args. Add a few more
1844         tests that use non-square tile sizes.
1845
1846         * tests/TilingDataTest.cpp:
1847         (WebCore::TestTiling::TestTiling):
1848         (WebCore::TEST):
1849         (WebCore):
1850
1851 2012-05-07  David Reveman  <reveman@chromium.org>
1852
1853         [Chromium] Use GL_CHROMIUM_command_buffer_query to throttle texture uploads.
1854         https://bugs.webkit.org/show_bug.cgi?id=81004
1855
1856         Reviewed by Adrienne Walker.
1857
1858         * WebKit.gypi:
1859         * tests/CCLayerTreeHostImplTest.cpp:
1860         (WebKitTests::TEST_F):
1861         * tests/CCTiledLayerTestCommon.h:
1862         (WebKitTests::FakeTextureUploader::isBusy):
1863         (WebKitTests::FakeTextureUploader::beginUploads):
1864         (WebKitTests::FakeTextureUploader::endUploads):
1865         * tests/Canvas2DLayerChromiumTest.cpp:
1866         * tests/LayerRendererChromiumTest.cpp:
1867         (FakeLayerRendererChromium::FakeLayerRendererChromium):
1868         (LayerRendererChromiumTest::LayerRendererChromiumTest):
1869         (TEST):
1870         * tests/ThrottledTextureUploaderTest.cpp: Added.
1871         (WebKit):
1872         (FakeWebGraphicsContext3DWithQueryTesting):
1873         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::FakeWebGraphicsContext3DWithQueryTesting):
1874         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::getQueryObjectuivEXT):
1875         (WebKit::FakeWebGraphicsContext3DWithQueryTesting::setResultAvailable):
1876         (WebKit::TEST):
1877         * tests/TiledLayerChromiumTest.cpp:
1878         (WTF::TEST):
1879
1880 2012-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1881
1882         Unreviewed, rolling out r116334.
1883         http://trac.webkit.org/changeset/116334
1884         https://bugs.webkit.org/show_bug.cgi?id=85816
1885
1886         Broke the Chromium Win/Mac compile (Requested by
1887         ojan_gardening on #webkit).
1888
1889         * WebKit.gypi:
1890         * tests/LinkHighlightLayerDelegateTest.cpp: Removed.
1891
1892 2012-05-07  Mark Pilgrim  <pilgrim@chromium.org>
1893
1894         [Chromium] Move fileSystem to Platform.h
1895         https://bugs.webkit.org/show_bug.cgi?id=85760
1896
1897         Reviewed by Adam Barth.
1898
1899         Part of a refactoring series. See tracking bug 82948.
1900
1901         * WebKit.gyp:
1902         * public/platform/WebFileSystem.h:
1903         * public/platform/WebKitPlatformSupport.h:
1904         (WebKit):
1905         (WebKitPlatformSupport):
1906         * src/AssertMatchingEnums.cpp:
1907         * src/AsyncFileSystemChromium.cpp:
1908         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
1909         * src/LocalFileSystemChromium.cpp:
1910         * src/WebFileSystemCallbacksImpl.cpp:
1911         * src/WebFileSystemCallbacksImpl.h:
1912         * src/WebFrameImpl.cpp:
1913         * src/WebWorkerClientImpl.h:
1914         * src/WorkerAsyncFileSystemChromium.cpp:
1915         * src/WorkerAsyncFileWriterChromium.cpp:
1916         * src/WorkerFileSystemCallbacksBridge.h:
1917         * src/WorkerFileWriterCallbacksBridge.cpp:
1918         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
1919
1920 2012-05-07  W. James MacLean  <wjmaclean@chromium.org>
1921
1922         [chromium] Create LinkHighlightLayerChromium class to provide link-highlight preview animations for GraphicsLayerChromium.
1923         https://bugs.webkit.org/show_bug.cgi?id=85084
1924
1925         Reviewed by Adrienne Walker.
1926
1927         * WebKit.gypi:
1928         * tests/LinkHighlightLayerDelegateTest.cpp: Added.
1929         (WebCore):
1930         (MockGraphicsLayerClient):
1931         (WebCore::MockGraphicsLayerClient::notifyAnimationStarted):
1932         (WebCore::MockGraphicsLayerClient::notifySyncRequired):
1933         (WebCore::MockGraphicsLayerClient::paintContents):
1934         (WebCore::MockGraphicsLayerClient::showDebugBorders):
1935         (WebCore::MockGraphicsLayerClient::showRepaintCounter):
1936         (WebCore::TEST):
1937
1938 2012-05-07  Joshua Bell  <jsbell@chromium.org>
1939
1940         IndexedDB: LevelDB coding for bools is broken
1941         https://bugs.webkit.org/show_bug.cgi?id=85810
1942
1943         Reviewed by Tony Chang.
1944
1945         Added tests for encodeBool/decodeBool.
1946
1947         * tests/IDBLevelDBCodingTest.cpp:
1948         (IDBLevelDBCoding::TEST):
1949         (IDBLevelDBCoding):
1950
1951 2012-05-07  Shawn Singh  <shawnsingh@chromium.org>
1952
1953         [chromium] CCMathUtil projectPoint needs to avoid divide-by-zero
1954         https://bugs.webkit.org/show_bug.cgi?id=85560
1955
1956         Reviewed by Adrienne Walker.
1957
1958         * tests/CCLayerTreeHostCommonTest.cpp:
1959         (WebKitTests::TEST):
1960         * tests/CCMathUtilTest.cpp:
1961         (WebCore::TEST):
1962         (WebCore):
1963
1964 2012-05-07  Nat Duca  <nduca@chromium.org>
1965
1966         Unreviewed, rolling out r115525.
1967         http://trac.webkit.org/changeset/115525
1968         https://bugs.webkit.org/show_bug.cgi?id=66683
1969
1970         Too many pages rely on DOMTimeStamp as first argument.
1971         Reverting while we consider next steps.
1972
1973         * src/PageWidgetDelegate.cpp:
1974         (WebKit::PageWidgetDelegate::animate):
1975         * src/WebViewImpl.cpp:
1976         (WebKit::WebViewImpl::updateAnimations):
1977
1978 2012-05-07  Tommy Widenflycht  <tommyw@google.com>
1979
1980         MediaStream API: Allow UserMediaRequest::succeed to take an MediaStreamDescriptor
1981         https://bugs.webkit.org/show_bug.cgi?id=85798
1982
1983         Reviewed by Adam Barth.
1984
1985         Adding another WebUserMediaRequest::requestSucceed function that takes an
1986         WebMediaStreamDescriptor instead of the two WebMediaStreamSource arrays.
1987
1988         * public/WebUserMediaRequest.h:
1989         (WebKit):
1990         (WebUserMediaRequest):
1991         * src/WebUserMediaRequest.cpp:
1992         (WebKit::WebUserMediaRequest::requestSucceeded):
1993
1994 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
1995
1996         Unreviewed: the same fix in another file for chromium win build.  Adding WebCore namespace to FileSystemTypes.
1997
1998         * src/WebFrameImpl.cpp:
1999         (WebKit::WebFrameImpl::createFileSystem):
2000         (WebKit::WebFrameImpl::createFileEntry):
2001
2002 2012-05-07  Kinuko Yasuda  <kinuko@chromium.org>
2003
2004         Not reviewed: chromium win build fix attempt; adding WebCore namespace to ambiguous type name.
2005
2006         * src/WebFileSystemCallbacksImpl.cpp:
2007         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2008
2009 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2010
2011         Cleanup: Change boolean synchronous flag argument into enum in FileSystem API code
2012         https://bugs.webkit.org/show_bug.cgi?id=85741
2013
2014         Reviewed by David Levin.
2015
2016         * src/LocalFileSystemChromium.cpp:
2017         (WebCore::openFileSystemHelper):
2018         (WebCore::LocalFileSystem::readFileSystem):
2019         (WebCore::LocalFileSystem::requestFileSystem):
2020         * src/WebFileSystemCallbacksImpl.cpp:
2021         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2022         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2023         * src/WebFileSystemCallbacksImpl.h:
2024         (WebFileSystemCallbacksImpl):
2025         * src/WorkerAsyncFileSystemChromium.cpp:
2026         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2027         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2028         * src/WorkerAsyncFileSystemChromium.h:
2029         (WebCore::WorkerAsyncFileSystemChromium::create):
2030         (WorkerAsyncFileSystemChromium):
2031
2032 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2033
2034         Cleanup: Move FileSystem API type definitions into a separate header file
2035         https://bugs.webkit.org/show_bug.cgi?id=85738
2036
2037         Reviewed by David Levin.
2038
2039         Move FileSystem API type definitions from AsyncFileSystem.h and
2040         AsyncFileSystemChromium.cpp for chromium port into a single separate
2041         header file: FileSystemType.h
2042
2043         By doing this we make it clearer that every filesystem type can be
2044         found in the header file and also can save including entire
2045         AsyncFileSystem definition just for referring type enum value.
2046
2047         * src/AssertMatchingEnums.cpp:
2048         * src/AsyncFileSystemChromium.cpp:
2049         (WebCore::AsyncFileSystem::crackFileSystemURL):
2050         (WebCore::AsyncFileSystem::isValidType):
2051         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
2052         (WebCore::AsyncFileSystemChromium::createIsolatedFileSystem):
2053         (WebCore::AsyncFileSystemChromium::toURL):
2054         * src/AsyncFileSystemChromium.h:
2055         (WebCore::AsyncFileSystemChromium::create):
2056         (AsyncFileSystemChromium):
2057         * src/LocalFileSystemChromium.cpp:
2058         (WebCore::openFileSystemHelper):
2059         (WebCore::LocalFileSystem::readFileSystem):
2060         (WebCore::LocalFileSystem::requestFileSystem):
2061         * src/WebFileSystemCallbacksImpl.cpp:
2062         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl):
2063         * src/WebFileSystemCallbacksImpl.h:
2064         (WebFileSystemCallbacksImpl):
2065         * src/WebFrameImpl.cpp:
2066         (WebKit::WebFrameImpl::createFileSystem):
2067         (WebKit::WebFrameImpl::createFileEntry):
2068         * src/WorkerAsyncFileSystemChromium.cpp:
2069         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2070         * src/WorkerAsyncFileSystemChromium.h:
2071         (WebCore::WorkerAsyncFileSystemChromium::create):
2072         (WorkerAsyncFileSystemChromium):
2073
2074 2012-05-06  Kinuko Yasuda  <kinuko@chromium.org>
2075
2076         Cleanup: FileSystem API's Entry.toURL() impl should return KURL instead of String
2077         https://bugs.webkit.org/show_bug.cgi?id=85736
2078
2079         Reviewed by David Levin.
2080
2081         Change AsyncFileSystemChromium::toURL()'s return type from String to KURL.
2082
2083         * src/AsyncFileSystemChromium.cpp:
2084         (WebCore::AsyncFileSystemChromium::toURL):
2085         String to KURL.
2086         * src/AsyncFileSystemChromium.h:
2087         (AsyncFileSystemChromium):
2088
2089 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
2090
2091         [Chromium] Call currentThread through Platform.h directly
2092         https://bugs.webkit.org/show_bug.cgi?id=85769
2093
2094         Reviewed by Kentaro Hara.
2095
2096         Part of a refactoring series. See tracking bug 82948.
2097
2098         * tests/CCLayerTreeHostTest.cpp:
2099         (WTF::CCLayerTreeHostTest::onEndTest):
2100         (WTF::CCLayerTreeHostTest::runTest):
2101
2102 2012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
2103
2104         [Chromium] Call cryptographicallyRandomValues through Platform.h
2105         https://bugs.webkit.org/show_bug.cgi?id=85763
2106
2107         Reviewed by Adam Barth.
2108
2109         Part of a refactoring series. See tracking bug 82948.
2110
2111         * src/ChromiumOSRandomSource.cpp:
2112         (WTF::cryptographicallyRandomValuesFromOS):
2113
2114 2012-05-06  Keishi Hattori  <keishi@webkit.org>
2115
2116         [chromium] Add WebKit API to access multiple attribute of input element
2117         https://bugs.webkit.org/show_bug.cgi?id=85355
2118
2119         Reviewed by Kent Tamura.
2120
2121         We need this to implement the datalist UI for <input type=email multiple>.
2122
2123         * public/WebInputElement.h:
2124         (WebInputElement):
2125         * src/WebInputElement.cpp:
2126         (WebKit::WebInputElement::isMultiple):
2127         (WebKit):
2128
2129 2012-05-06  Adam Barth  <abarth@webkit.org>
2130
2131         CSP should let sites both enforce one policy and monitor another
2132         https://bugs.webkit.org/show_bug.cgi?id=85561
2133
2134         Reviewed by Eric Seidel.
2135
2136         * src/SharedWorkerRepository.cpp:
2137         (WebCore::SharedWorkerScriptLoader::notifyFinished):
2138         * src/WebWorkerClientImpl.cpp:
2139         (WebKit::WebWorkerClientImpl::startWorkerContext):
2140
2141 2012-05-06  Kent Tamura  <tkent@chromium.org>
2142
2143         Rename ICULocale to LocaleICU, part 2
2144         https://bugs.webkit.org/show_bug.cgi?id=85695
2145
2146         Reviewed by Kentaro Hara.
2147
2148         * tests/LocalizedNumberICUTest.cpp:
2149         (testNumberIsReversible): Rename ICULocale to LocaleICU.
2150
2151 2012-05-06  Adrienne Walker  <enne@google.com>
2152
2153         [chromium] Allow WebMediaPlayerClientImpl to switch clients
2154         https://bugs.webkit.org/show_bug.cgi?id=85093
2155
2156         Reviewed by James Robinson.
2157
2158         WebVideoFrameProviderClient has a 1:1 relationship with a
2159         WebVideoFrameProvider. The client here is CCVideoLayerImpl and the
2160         provider is WebMediaPlayerClientImpl.  If the provider gets a new
2161         client, then the old client needs to be informed to stop using the
2162         provider.
2163
2164         If this doesn't happen, then the old client will have an unsafe
2165         pointer to the provider, will not get informed if the provider gets
2166         deleted, and the client will crash when it dereferences the provider
2167         pointer trying to tell the provider that its client is going away.
2168
2169         Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
2170               WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
2171               WebMediaPlayerClientImplTest.DestroyProvider
2172               WebMediaPlayerClientImplTest.SetMultipleVideoClients
2173
2174         * WebKit.gypi:
2175         * src/WebMediaPlayerClientImpl.cpp:
2176         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2177         * src/WebMediaPlayerClientImpl.h:
2178         (WebMediaPlayerClientImpl):
2179         * tests/WebMediaPlayerClientImplTest.cpp: Added.
2180         (WebKit):
2181         (FakeWebMediaPlayerClientImpl):
2182         (WebKit::FakeWebMediaPlayerClientImpl::create):
2183         (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
2184         (FakeVideoFrameProviderClient):
2185         (WebKit::FakeVideoFrameProviderClient::create):
2186         (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
2187         (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
2188         (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
2189         (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
2190         (WebKit::FakeVideoFrameProviderClient::provider):
2191         (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
2192         (WebKit::TEST):
2193
2194 2012-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2195
2196         Unreviewed.  Rolled DEPS.
2197
2198         * DEPS:
2199
2200 2012-05-06  Andrey Kosyakov  <caseq@chromium.org>
2201
2202         Web Inspector: take timeline frame mode out of experimental
2203         https://bugs.webkit.org/show_bug.cgi?id=85707
2204
2205         Reviewed by Pavel Feldman.
2206
2207         - exposed supportFrameInstrumentation method to InspectorClient. Client must return true iff the platform will call
2208           InspectorInstrumentation::instrumentBeginFrame() upon beginning of frame rendering;
2209
2210         * src/InspectorClientImpl.cpp:
2211         (WebKit::InspectorClientImpl::supportsFrameInstrumentation):
2212         (WebKit):
2213         * src/InspectorClientImpl.h:
2214         (InspectorClientImpl):
2215
2216 2012-05-04  Kent Tamura  <tkent@chromium.org>
2217
2218         Rename ICULocale to LocaleICU, part 1
2219         https://bugs.webkit.org/show_bug.cgi?id=85688
2220
2221         Reviewed by Kentaro Hara.
2222
2223         * tests/LocalizedNumberICUTest.cpp: Rename ICULocale.h to LocaleICU.h.
2224
2225 2012-05-04  Shawn Singh  <shawnsingh@chromium.org>
2226
2227         [chromium] Changes to layer tree structure need to be tracked properly
2228         https://bugs.webkit.org/show_bug.cgi?id=85421
2229
2230         Reviewed by Adrienne Walker.
2231
2232         Unit test added: TreeSynchronizerTest.syncSimpleTreeAndTrackStackingOrderChange
2233
2234         * tests/TreeSynchronizerTest.cpp:
2235         (WebKitTests):
2236         (WebKitTests::TEST):
2237
2238 2012-05-04  Tony Chang  <tony@chromium.org>
2239
2240         [chromium] enable msvs_error_on_missing_sources at gyp time
2241         https://bugs.webkit.org/show_bug.cgi?id=85683
2242
2243         Reviewed by Adam Barth.
2244
2245         This flag checks for missing files, which cause compile times to be
2246         slow on Windows. Since this flag is on by default for the
2247         build.chromium.org bots, we should add it here too so everyone can fix
2248         these errors.
2249
2250         * DEPS: Roll to a chromium version that has no missing files.
2251         * gyp_webkit: Add the flag.
2252
2253 2012-05-04  Satoru Takabayashi  <satorux@chromium.org>
2254
2255         [chromium] Add plumbing for file display names for drag and drop
2256         https://bugs.webkit.org/show_bug.cgi?id=85673
2257
2258         Reviewed by Darin Fisher.
2259
2260         * public/platform/WebDragData.h:
2261         * src/WebDragData.cpp:
2262         (WebKit::WebDragData::items):
2263         (WebKit::WebDragData::addItem):
2264
2265 2012-05-04  Adam Barth  <abarth@webkit.org>
2266
2267         Refactor CSP state to prepare for having both a ReportOnly and an Enforced policy
2268         https://bugs.webkit.org/show_bug.cgi?id=85662
2269
2270         Reviewed by Eric Seidel.
2271
2272         Update callers to the new function name.
2273
2274         * src/SharedWorkerRepository.cpp:
2275         (WebCore::SharedWorkerScriptLoader::notifyFinished):
2276         * src/WebWorkerClientImpl.cpp:
2277         (WebKit::WebWorkerClientImpl::startWorkerContext):
2278
2279 2012-05-04  Sami Kyostila  <skyostil@chromium.org>
2280
2281         [chromium] Revert compositor layer scrolling
2282         https://bugs.webkit.org/show_bug.cgi?id=85644
2283
2284         Reviewed by Steve Block.
2285
2286         * src/WebContentLayerImpl.cpp:
2287         * src/WebContentLayerImpl.h:
2288         (WebContentLayerImpl):
2289         * tests/CCLayerTreeHostCommonTest.cpp:
2290         * tests/CCLayerTreeHostImplTest.cpp:
2291         (WebKitTests::TEST_F):
2292         * tests/CCLayerTreeHostTest.cpp:
2293         (WTF::MockContentLayerDelegate::paintContents):
2294
2295 2012-05-04  Tommy Widenflycht  <tommyw@google.com>
2296
2297         MediaStream API: Make PeerConnection00's API fully compliant with the draft
2298         https://bugs.webkit.org/show_bug.cgi?id=85491
2299
2300         Reviewed by Adam Barth.
2301
2302         * src/AssertMatchingEnums.cpp:
2303
2304 2012-05-04  Nate Chapin  <japhet@chromium.org>
2305
2306         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2307         https://bugs.webkit.org/show_bug.cgi?id=85533
2308
2309         Reviewed by Alexey Proskuryakov.
2310
2311         * src/FrameLoaderClientImpl.cpp:
2312         (WebKit::FrameLoaderClientImpl::FrameLoaderClientImpl):
2313         (WebKit):
2314         (WebKit::FrameLoaderClientImpl::finishedLoading):
2315         * src/FrameLoaderClientImpl.h:
2316         (WebKit::FrameLoaderClientImpl::makeRepresentation):
2317         (WebKit::FrameLoaderClientImpl::revertToProvisionalState):
2318         (FrameLoaderClientImpl):
2319
2320 2012-05-04  Alexander Pavlov  <apavlov@chromium.org>
2321
2322         Web Inspector: [Device Metrics] With "Fit window" option on, page contents are downscaled incorrectly
2323         https://bugs.webkit.org/show_bug.cgi?id=85510
2324
2325         Reviewed by Pavel Feldman.
2326
2327         Use the RenderView width rather than FrameView contents width whenever possible.
2328         Drive-by: add protection from division-by-zero (for some weird rendering states).
2329
2330         Test: inspector/styles/device-metrics-fit-window.html
2331
2332         * src/WebDevToolsAgentImpl.cpp:
2333         (WebKit::DeviceMetricsSupport::ensureOriginalZoomFactor):
2334         (WebKit::DeviceMetricsSupport::scaledEmulatedFrameSize):
2335
2336 2012-05-03  W. James MacLean  <wjmaclean@chromium.org>
2337
2338         [chromium] Revise touchpad fling curve to use exponential curve, to improve feel and small fling performance.
2339         https://bugs.webkit.org/show_bug.cgi?id=85530
2340
2341         Reviewed by Kenneth Russell.
2342
2343         * tests/PlatformGestureCurveTest.cpp:
2344
2345 2012-05-03  Dimitri Glazkov  <dglazkov@chromium.org>
2346
2347         [Chromium] Use correct define in the features.gypi
2348         https://bugs.webkit.org/show_bug.cgi?id=85520
2349
2350         Patch by Ben Goodger.
2351
2352         Reviewed by Tony Chang.
2353
2354         * features.gypi: Replaced use_aura with a more appropriate chromeos
2355
2356 2012-05-03  Antony Sargent  <asargent@chromium.org>
2357
2358         Add methods to create WebArrayBuffer/WebArrayBufferView from v8 objects
2359         https://bugs.webkit.org/show_bug.cgi?id=84899
2360
2361         Reviewed by Adam Barth.
2362
2363         * public/WebArrayBuffer.h:
2364         (WebArrayBuffer):
2365         * public/platform/WebArrayBufferView.h:
2366         (v8):
2367         (WebArrayBufferView):
2368         * src/WebArrayBuffer.cpp:
2369         (WebKit):
2370         (WebKit::WebArrayBuffer::createFromV8Value):
2371         * src/WebArrayBufferView.cpp:
2372         (WebKit):
2373         (WebKit::WebArrayBufferView::createFromV8Value):
2374
2375 2012-05-03  Dana Jansens  <danakj@chromium.org>
2376
2377         [chromium] Don't add small opaque areas to the occlusion tracker's Region
2378         https://bugs.webkit.org/show_bug.cgi?id=85297
2379
2380         Reviewed by Adrienne Walker.
2381
2382         * tests/CCOcclusionTrackerTest.cpp:
2383         (WebKitTests):
2384         (CCOcclusionTrackerTestMinimumTrackingSize):
2385         (WebKitTests::CCOcclusionTrackerTestMinimumTrackingSize::runMyTest):
2386
2387 2012-05-02  Jon Lee  <jonlee@apple.com>
2388
2389         Migrate permission functions to Notification from NotificationCenter
2390         https://bugs.webkit.org/show_bug.cgi?id=80485
2391         <rdar://problem/10965458>
2392
2393         Reviewed by Jian Li.
2394
2395         * src/NotificationPresenterImpl.h:
2396         (NotificationPresenterImpl): Add stub implementation of requestPermission.
2397         (WebKit::NotificationPresenterImpl::requestPermission):
2398
2399 2012-05-02  Dana Jansens  <danakj@chromium.org>
2400
2401         [chromium] Don't occlude pixels in a surface that are needed for a background filter blur
2402         https://bugs.webkit.org/show_bug.cgi?id=84317
2403
2404         Reviewed by Adrienne Walker.
2405
2406         * tests/CCOcclusionTrackerTest.cpp:
2407         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
2408         (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
2409         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
2410         (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
2411         (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
2412         (WebKitTests::CCOcclusionTrackerTestReplicaOccluded::runMyTest):
2413         (WebKitTests::CCOcclusionTrackerTestSurfaceWithReplicaUnoccluded::runMyTest):
2414         (WebKitTests::CCOcclusionTrackerTestSurfaceAndReplicaOccludedDifferently::runMyTest):
2415         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfSurface::runMyTest):
2416         (WebKitTests::CCOcclusionTrackerTestSurfaceChildOfClippingSurface::runMyTest):
2417         (WebKitTests):
2418         (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter):
2419         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilter::runMyTest):
2420         (CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice):
2421         (WebKitTests::CCOcclusionTrackerTestTwoBackgroundFiltersReduceOcclusionTwice::runMyTest):
2422         (CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip):
2423         (WebKitTests::CCOcclusionTrackerTestDontOccludePixelsNeededForBackgroundFilterWithClip::runMyTest):
2424         (CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter):
2425         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionBelowBackgroundFilter::runMyTest):
2426         (CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded):
2427         (WebKitTests::CCOcclusionTrackerTestDontReduceOcclusionIfBackgroundFilterIsOccluded::runMyTest):
2428         (CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded):
2429         (WebKitTests::CCOcclusionTrackerTestReduceOcclusionWhenBackgroundFilterIsPartiallyOccluded::runMyTest):
2430
2431 2012-04-18  Jon Honeycutt  <jhoneycutt@apple.com>
2432
2433         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
2434         information about the form being submitted
2435         https://bugs.webkit.org/show_bug.cgi?id=84297
2436
2437         Reviewed by Andy Estes.
2438
2439         * src/FrameLoaderClientImpl.cpp:
2440         (WebKit::FrameLoaderClientImpl::dispatchWillSendSubmitEvent):
2441         Updated to use the FormState.
2442
2443         * src/FrameLoaderClientImpl.h:
2444         (FrameLoaderClientImpl):
2445         Updated method declaration.
2446
2447 2012-05-02  Joshua Bell  <jsbell@chromium.org>
2448
2449         Roll Chromium DEPS r134537 to r134581.
2450         https://bugs.webkit.org/show_bug.cgi?id=85428
2451
2452         Unreviewed - just a deps roll.
2453
2454         * DEPS:
2455
2456 2012-05-02  Jochen Eisinger  <jochen@chromium.org>
2457
2458         [chromium] Add WebDocument::referrerPolicy() which wraps the same method on Document
2459         https://bugs.webkit.org/show_bug.cgi?id=85201
2460
2461         Reviewed by Adam Barth.
2462
2463         Embedders should use webFrame->document()->referrerPolicy() instead of webFrame->referrerPolicy(). The latter will be removed soon.
2464
2465         * public/WebDocument.h:
2466         (WebDocument):
2467         * src/WebDocument.cpp:
2468         (WebKit::WebDocument::referrerPolicy):
2469         (WebKit):
2470
2471 2012-05-02  Michal Mocny  <mmocny@google.com>
2472
2473         [chromium] Set contents texture manager preferred memory limit based on GpuMemoryManager suggestion.
2474         https://bugs.webkit.org/show_bug.cgi?id=84270
2475
2476         Reviewed by Kenneth Russell.
2477
2478         * tests/CCLayerTreeHostImplTest.cpp:
2479         * tests/LayerRendererChromiumTest.cpp:
2480
2481 2012-05-02  Emil A Eklund  <eae@chromium.org>
2482
2483         Fix usage of layout types in platform code
2484         https://bugs.webkit.org/show_bug.cgi?id=85392
2485
2486         Reviewed by Eric Seidel.
2487
2488         * src/WebHitTestResult.cpp:
2489         (WebKit::WebHitTestResult::localPoint):
2490         * src/WebSurroundingText.cpp:
2491         (WebKit::WebSurroundingText::initialize):
2492         Explicitly cast WebPoint to IntPoint to avoid ambiguous conversion error.       
2493
2494 2012-05-02  Yury Semikhatsky  <yurys@chromium.org>
2495
2496         Web Inspector: TypeError: Cannot call method 'createLiveLocation' of undefined
2497         https://bugs.webkit.org/show_bug.cgi?id=85371
2498
2499         Standard extension scripts injected to the Chromium background page should have
2500         correct script data which means that context debug id should be already set on
2501         the context where they are compiled before the compilation. This patch moves
2502         assignment of context debug id earlier where it is known that no scripts have
2503         been evaluated in the context.
2504
2505         Reviewed by Pavel Feldman.
2506
2507         * src/FrameLoaderClientImpl.cpp:
2508         (WebKit::FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld):
2509         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2510         * src/WebDevToolsAgentImpl.cpp:
2511         (WebKit::WebDevToolsAgentImpl::didCreateScriptContext):
2512         * src/WebDevToolsAgentImpl.h:
2513         (WebDevToolsAgentImpl):
2514         * src/WebDevToolsAgentPrivate.h:
2515         (WebDevToolsAgentPrivate):
2516
2517 2012-05-02  Tommy Widenflycht  <tommyw@google.com>
2518
2519         MediaStream API: Changing webkitGetUserMedia to take an object instead of a string
2520         https://bugs.webkit.org/show_bug.cgi?id=84850
2521
2522         Reviewed by Dimitri Glazkov.
2523
2524         * public/WebUserMediaRequest.h:
2525         (WebUserMediaRequest):
2526         * src/WebUserMediaRequest.cpp:
2527
2528 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
2529
2530         [Chromium] Additional instances of calling histogramCustomCounts directly
2531         https://bugs.webkit.org/show_bug.cgi?id=85322
2532
2533         Reviewed by Kentaro Hara.
2534
2535         Part of a refactoring series. See tracking bug 82948.
2536
2537         * src/painting/PaintAggregator.cpp:
2538         (WebKit::PaintAggregator::invalidateRect):
2539
2540 2012-05-01  Min Qin  <qinmin@google.com>
2541
2542         use USE(NATIVE_FULLSCREEN_VIDEO) instead of ENABLE(NATIVE_FULLSCREEN_VIDEO)
2543         https://bugs.webkit.org/show_bug.cgi?id=85316
2544
2545         Reviewed by Kent Tamura.
2546
2547         NATIVE_FULLSCREEN_VIDEO means the fullscreen video is implemented by native
2548         system view instead of webkit
2549         So it is more appropriate to use USE(NATIVE_FULLSCREEN_VIDEO).
2550         Just rename the flag, no new tests
2551
2552         * features.gypi:
2553         * src/WebMediaPlayerClientImpl.cpp:
2554         (WebKit):
2555         * src/WebMediaPlayerClientImpl.h:
2556         (WebMediaPlayerClientImpl):
2557         * src/WebViewImpl.cpp:
2558         (WebKit::WebViewImpl::enterFullScreenForElement):
2559         (WebKit::WebViewImpl::exitFullScreenForElement):
2560
2561 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
2562
2563         [Chromium] Additional instances of calling createAudioDevice directly
2564         https://bugs.webkit.org/show_bug.cgi?id=85321
2565
2566         Reviewed by Kentaro Hara.
2567
2568         Part of a refactoring series. See tracking bug 82948.
2569
2570         * src/AudioDestinationChromium.cpp:
2571         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2572
2573 2012-05-01  Mark Pilgrim  <pilgrim@chromium.org>
2574
2575         [Chromium] Additional instances of calling mimeRegistry directly
2576         https://bugs.webkit.org/show_bug.cgi?id=85320
2577
2578         Reviewed by Eric Seidel.
2579
2580         Part of a refactoring series. See tracking bug 82948.
2581
2582         * src/FrameLoaderClientImpl.cpp:
2583         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
2584         * src/WebMediaPlayerClientImpl.cpp:
2585         (WebKit::WebMediaPlayerClientImpl::supportsType):
2586
2587 2012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
2588
2589         *Command.h files shouldn't be exported to WebKit layer
2590         https://bugs.webkit.org/show_bug.cgi?id=74778
2591
2592         Reviewed by Eric Seidel.
2593
2594         * src/WebFrameImpl.cpp:
2595         * src/WebViewImpl.cpp:
2596
2597 2012-05-01  Julien Chaffraix  <jchaffraix@webkit.org>
2598
2599         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
2600         https://bugs.webkit.org/show_bug.cgi?id=85274
2601
2602         Reviewed by Ojan Vafai.
2603
2604         The tests were crashing as we were creating a RenderTableCell without any RenderTableRow parent
2605         which shouldn't happen inside the render tree.
2606
2607         Using RenderTableCell to access RenderTableRow was artificial and the checks have now been moved
2608         to using a RenderTableRow directly.
2609
2610         * WebKit.gyp:
2611         * WebKit.gypi:
2612         Added the new file.
2613
2614         * tests/RenderTableCellTest.cpp:
2615         Removed the row index tests as they are now in the following file.
2616
2617         * tests/RenderTableRowTest.cpp: Copied from Source/WebKit/chromium/tests/RenderTableCellTest.cpp.
2618         Changed a bit the row index tests and re-enabled them.
2619
2620 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
2621
2622         WebKit unit tests RenderTableCellDeathTest.CanSetRow* are failing as of r115705
2623         https://bugs.webkit.org/show_bug.cgi?id=85274
2624
2625         Not reviewed: test disabled.
2626
2627         * tests/RenderTableCellTest.cpp:
2628
2629 2012-05-01  Pavel Feldman  <pfeldman@chromium.org>
2630
2631         WebKit test RenderTableCellDeathTest.CanSetRow is failing as of r115705
2632         https://bugs.webkit.org/show_bug.cgi?id=85274
2633
2634         Not reviewed: test disabled.
2635
2636         The test is based on the standalone cell, while the new logic
2637         requires parent to be present upon the row index set.
2638
2639         * tests/RenderTableCellTest.cpp:
2640
2641 2012-05-01  Hironori Bono  <hbono@chromium.org>
2642
2643         [Chromium] Regression r113405 ContextMenuImpl does not set a misspelled word
2644         https://bugs.webkit.org/show_bug.cgi?id=85271
2645
2646         Reviewed by Kent Tamura.
2647
2648         This change calls selectMisspelledWord() to get a misspelled word so Chrome can
2649         set the misspelledWord variable without selecting text.
2650
2651         * src/ContextMenuClientImpl.cpp:
2652         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2653
2654 2012-04-30  Kent Tamura  <tkent@chromium.org>
2655
2656         [Chromium/Windows] Add LocalizedDateWin
2657         https://bugs.webkit.org/show_bug.cgi?id=84935
2658
2659         Reviewed by Kentaro Hara.
2660
2661         Add test for LocaleWin.cpp.
2662
2663         * WebKit.gypi:
2664         * tests/LocaleWinTest.cpp: Added.
2665         (msForDate): A helper function.
2666         (TEST):
2667
2668 2012-04-30  Julien Chaffraix  <jchaffraix@webkit.org>
2669
2670         Move RenderTableCell's row index to RenderTableRow
2671         https://bugs.webkit.org/show_bug.cgi?id=85229
2672
2673         Reviewed by Ojan Vafai.
2674
2675         * tests/RenderTableCellTest.cpp:
2676         Updated after the refactoring.
2677
2678 2012-04-30  Gavin Peters  <gavinp@chromium.org>
2679
2680         [Chromium] Add thunk headers for staging Prerendering API.
2681         https://bugs.webkit.org/show_bug.cgi?id=84880
2682
2683         Reviewed by Adam Barth.
2684
2685         These empty headers will be replaced by the actual API when Bug 85005 is commited.
2686
2687         * WebKit.gyp:
2688         * public/WebPrerendererClient.h: Added.
2689         (WebKit):
2690         (WebPrerendererClient):
2691         * public/WebView.h:
2692         (WebKit):
2693         (WebKit::WebView::setPrerendererClient):
2694
2695 2012-04-30  Ilya Sherman  <isherman@chromium.org>
2696
2697         [Chromium] Fix Autofill popup visibility behavior
2698         Prevent users from interacting with invisible Autofill popups rendered outside the main frame's contents view.
2699         This is a recommit of r115400, restricted to just Autofill popups.
2700         https://bugs.webkit.org/show_bug.cgi?id=84420
2701
2702         Reviewed by Abhishek Arya
2703
2704         * src/ChromeClientImpl.cpp:
2705         (WebKit::ChromeClientImpl::popupOpened): Hide popups rendered outside the main frame's contents view.
2706         * src/WebViewImpl.cpp:
2707         (WebKit::WebViewImpl::applyAutofillSuggestions): Fix up order of operations to support immediately hiding a popup if it would not be visible
2708
2709 2012-04-30  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2710
2711         [chromium] Disable battery-status API support.
2712
2713         The battery-status API support should not have view-dependency. So disable it until
2714         that is fixed.
2715         https://bugs.webkit.org/show_bug.cgi?id=84499
2716
2717         Reviewed by Adam Barth.
2718
2719         * features.gypi:
2720
2721 2012-04-30  Gavin Peters  <gavinp@chromium.org>
2722
2723         [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
2724         https://bugs.webkit.org/show_bug.cgi?id=84552
2725
2726         After http://codereview.chromium.org/10139023/ lands, this thunk is no
2727         longer needed.
2728
2729         Reviewed by Adam Barth.
2730
2731         * WebKit.gyp:
2732         * public/WebReferrerPolicy.h: Removed.
2733
2734 2012-04-29  Sam Weinig  <sam@webkit.org>
2735
2736         Remove BlobBuilder
2737         https://bugs.webkit.org/show_bug.cgi?id=84036
2738
2739         Reviewed by Anders Carlsson.
2740
2741         * features.gypi:
2742         Keep WebKitBlobBuilder enabled for Chromium, since it has shipped it.
2743
2744 2012-04-30  Min Qin  <qinmin@google.com>
2745
2746         Expose a flag so that fullscreen video on android can work with FULLSCREEN_API
2747         https://bugs.webkit.org/show_bug.cgi?id=84414
2748
2749         Reviewed by Darin Fisher.
2750
2751         On android, the fullscreen video was implemented by passing a java
2752         surfaceView to an android mediaplayer class.
2753         The implementation of that logic should happen in WebKit::WebMediaPlayer.
2754         This change makes it possble for WebViewImpl::enterFullScreenForElement()
2755         to call WebMediaPlayer->enterFullscreen(), thus solving the issue.
2756
2757         Sorry, there is a merge error during the previous commit, resolved now
2758
2759         No new tests. This just exposes the flag so later it can be used by android.
2760
2761         * features.gypi:
2762         * public/WebMediaPlayer.h:
2763         (WebMediaPlayer):
2764         (WebKit::WebMediaPlayer::enterFullscreen):
2765         (WebKit::WebMediaPlayer::exitFullscreen):
2766         * src/WebMediaPlayerClientImpl.cpp:
2767         (WebKit):
2768         (WebKit::WebMediaPlayerClientImpl::enterFullscreen):
2769         (WebKit::WebMediaPlayerClientImpl::exitFullscreen):
2770         * src/WebMediaPlayerClientImpl.h:
2771         (WebMediaPlayerClientImpl):
2772         * src/WebViewImpl.cpp:
2773         (WebKit::WebViewImpl::enterFullScreenForElement):
2774         (WebKit::WebViewImpl::exitFullScreenForElement):
2775
2776 2012-04-30  Gavin Peters  <gavinp@chromium.org>
2777
2778         Unreviewed.  Rolled DEPS.
2779
2780         * DEPS:
2781
2782 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2783
2784         [Chromium] Remove PlatformSupport::loadPlatformAudioResource, call loadResource directly
2785         https://bugs.webkit.org/show_bug.cgi?id=85193
2786
2787         Reviewed by Kentaro Hara.
2788
2789         Part of a refactoring series. See tracking bug 82948.
2790
2791         * src/PlatformSupport.cpp:
2792         (WebCore):
2793
2794 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2795
2796         [Chromium] Call defaultLocale directly
2797         https://bugs.webkit.org/show_bug.cgi?id=85192
2798
2799         Reviewed by Kentaro Hara.
2800
2801         Part of a refactoring series. See tracking bug 82948.
2802
2803         * src/PlatformSupport.cpp:
2804         (WebCore):
2805
2806 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2807
2808         [Chromium] Use new syntax to call callOnMainThread directly
2809         https://bugs.webkit.org/show_bug.cgi?id=85190
2810
2811         Reviewed by Kentaro Hara.
2812
2813         Part of a refactoring series. See tracking bug 82948.
2814
2815         * src/ChromiumThreading.cpp:
2816         (WTF::ChromiumThreading::callOnMainThread):
2817
2818 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2819
2820         [Chromium] Use new syntax to call monotonicallyIncreasingTime directly
2821         https://bugs.webkit.org/show_bug.cgi?id=85189
2822
2823         Reviewed by Kentaro Hara.
2824
2825         Part of a refactoring series. See tracking bug 82948.
2826
2827         * src/ChromiumCurrentTime.cpp:
2828         (WTF::monotonicallyIncreasingTime):
2829
2830 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2831
2832         [Chromium] Use new syntax to call userAgent directly
2833         https://bugs.webkit.org/show_bug.cgi?id=85188
2834
2835         Reviewed by Kentaro Hara.
2836
2837         Part of a refactoring series. See tracking bug 82948.
2838         
2839         * src/FrameLoaderClientImpl.cpp:
2840         (WebKit::FrameLoaderClientImpl::userAgent):
2841
2842 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2843
2844         [Chromium] Use new syntax to call currentTime directly
2845         https://bugs.webkit.org/show_bug.cgi?id=85187
2846
2847         Reviewed by Kentaro Hara.
2848
2849         Part of a refactoring series. See tracking bug 82948.
2850
2851         * src/ChromiumCurrentTime.cpp:
2852         (WTF::currentTime):
2853
2854 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2855
2856         [Chromium] Use new syntax to call currentThread directly
2857         https://bugs.webkit.org/show_bug.cgi?id=85185
2858
2859         Reviewed by Kentaro Hara.
2860
2861         Part of a refactoring series. See tracking bug 82948.
2862         
2863         * src/CCThreadImpl.cpp:
2864         (WebKit::CCThreadImpl::CCThreadImpl):
2865         * src/WebCompositorImpl.cpp:
2866         (WebKit::WebCompositorImpl::initialize):
2867
2868 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2869
2870         [Chromium] Use new syntax to call createThread directly
2871         https://bugs.webkit.org/show_bug.cgi?id=85186
2872
2873         Reviewed by Kentaro Hara.
2874
2875         Part of a refactoring series. See tracking bug 82948.
2876
2877         * tests/CCLayerTreeHostTest.cpp:
2878         (WTF::CCLayerTreeHostTest::runTest):
2879         * tests/Canvas2DLayerChromiumTest.cpp:
2880         (Canvas2DLayerChromiumTest::fullLifecycleTest):
2881
2882 2012-04-30  Mark Pilgrim  <pilgrim@chromium.org>
2883
2884         [Chromium] Use new syntax to call createSocketStreamHandle directly
2885         https://bugs.webkit.org/show_bug.cgi?id=85184
2886
2887         Reviewed by Kentaro Hara.
2888
2889         Part of a refactoring series. See tracking bug 82948.
2890         
2891         * src/SocketStreamHandle.cpp:
2892         (WebCore::SocketStreamHandleInternal::connect):
2893
2894 2012-04-29  Mark Pilgrim  <pilgrim@chromium.org>
2895
2896         [Chromium] Call highUsageDeltaMB directly
2897         https://bugs.webkit.org/show_bug.cgi?id=84844
2898
2899         Reviewed by Kentaro Hara.
2900
2901         Part of a refactoring series. See tracking bug 82948.
2902
2903         * src/PlatformSupport.cpp:
2904         (WebCore):
2905
2906 2012-04-28  Ilya Tikhonovsky  <loislo@chromium.org>
2907
2908         Web Inspector: InspectorFrontendHost.append has to be implemented for saving heap snapshots.
2909         https://bugs.webkit.org/show_bug.cgi?id=85137
2910
2911         We can save a file with help of InspectorFrontendHost.save method,
2912         but it is suitable only for relatively small portions of data and
2913         can't process the 6Gb heap snapshot.
2914         These methods just pass the url and content into embedder.
2915
2916         Reviewed by Yury Semikhatsky.
2917
2918         * public/WebDevToolsFrontendClient.h:
2919         (WebKit::WebDevToolsFrontendClient::append):
2920         * src/InspectorFrontendClientImpl.cpp:
2921         (WebKit::InspectorFrontendClientImpl::append):
2922         (WebKit):
2923         * src/InspectorFrontendClientImpl.h:
2924         (InspectorFrontendClientImpl):
2925
2926 2012-04-28  Andrey Kosyakov  <caseq@chromium.org>
2927
2928         [chromium] add frame boundaries instrumentation for the threaded compositor
2929         https://bugs.webkit.org/show_bug.cgi?id=83926
2930
2931         - call instrumentBeginFrame() in a callback invoked by CCThreadProxy to fix frame marks in WebInspector's
2932           timeline panel, currently broken for threaded compositor.
2933
2934         * src/WebViewImpl.cpp:
2935         (WebKit::WebViewImpl::willBeginFrame):
2936
2937 2012-04-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2938
2939         Unreviewed, rolling out r115529.
2940         http://trac.webkit.org/changeset/115529
2941         https://bugs.webkit.org/show_bug.cgi?id=85125
2942
2943         Broke Clang build (Requested by enne on #webkit).
2944
2945         * WebKit.gypi:
2946         * src/WebMediaPlayerClientImpl.cpp:
2947         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2948         * src/WebMediaPlayerClientImpl.h:
2949         (WebMediaPlayerClientImpl):
2950         * tests/WebMediaPlayerClientImplTest.cpp: Removed.
2951
2952 2012-04-27  Mark Pilgrim  <pilgrim@chromium.org>
2953
2954         [Chromium] Call highMemoryUsageMB directly
2955         https://bugs.webkit.org/show_bug.cgi?id=84841
2956
2957         Reviewed by Kentaro Hara.
2958
2959         Part of a refactoring series. See tracking bug 82948.
2960
2961         * src/PlatformSupport.cpp:
2962         (WebCore):
2963
2964 2012-04-27  Adrienne Walker  <enne@google.com>
2965
2966         [chromium] Allow WebMediaPlayerClientImpl to switch clients
2967         https://bugs.webkit.org/show_bug.cgi?id=85093
2968
2969         Reviewed by James Robinson.
2970
2971         WebVideoFrameProviderClient has a 1:1 relationship with a
2972         WebVideoFrameProvider. The client here is CCVideoLayerImpl and the
2973         provider is WebMediaPlayerClientImpl.  If the provider gets a new
2974         client, then the old client needs to be informed to stop using the
2975         provider.
2976
2977         If this doesn't happen, then the old client will have an unsafe
2978         pointer to the provider, will not get informed if the provider gets
2979         deleted, and the client will crash when it dereferences the provider
2980         pointer trying to tell the provider that its client is going away.
2981
2982         Test: WebMediaPlayerClientImplTest.InitialNullVideoClient
2983               WebMediaPlayerClientImplTest.SetAndUnsetVideoClient
2984               WebMediaPlayerClientImplTest.DestroyProvider
2985               WebMediaPlayerClientImplTest.SetMultipleVideoClients
2986
2987         * WebKit.gypi:
2988         * src/WebMediaPlayerClientImpl.cpp:
2989         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
2990         * src/WebMediaPlayerClientImpl.h:
2991         (WebMediaPlayerClientImpl):
2992         * tests/WebMediaPlayerClientImplTest.cpp: Added.
2993         (WebKit):
2994         (FakeWebMediaPlayerClientImpl):
2995         (WebKit::FakeWebMediaPlayerClientImpl::create):
2996         (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
2997         (FakeVideoFrameProviderClient):
2998         (WebKit::FakeVideoFrameProviderClient::create):
2999         (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
3000         (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
3001         (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
3002         (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
3003         (WebKit::FakeVideoFrameProviderClient::provider):
3004         (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
3005         (WebKit::TEST):
3006
3007 2012-04-27  Tony Chang  <tony@chromium.org>
3008
3009         [chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
3010         https://bugs.webkit.org/show_bug.cgi?id=85110
3011
3012         Reviewed by James Robinson.
3013
3014         Using gcc 4.6.3 (default on Precise), I get:
3015         third_party/WebKit/Source/WebKit/chromium/tests/CCSchedulerTest.cpp:188:5: error: converting 'false' to pointer type
3016         for argument 1 of 'char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)' [-Werror=conversion-null]
3017
3018         * tests/CCSchedulerTest.cpp:
3019         (WebKitTests::TEST):
3020
3021 2012-04-27  Nat Duca  <nduca@chromium.org>
3022
3023         Expose high-resolution on requestAnimationFrame callback
3024         https://bugs.webkit.org/show_bug.cgi?id=66683
3025
3026         This changes requestAnimationFrame's animationStartTime argument
3027         to be a high resolution DOM timestamp, per disucssion here:
3028         http://lists.w3.org/Archives/Public/public-web-perf/2012Apr/0004.html
3029
3030         Reviewed by James Robinson.
3031
3032         * src/PageWidgetDelegate.cpp:
3033         (WebKit::PageWidgetDelegate::animate):
3034         * src/WebViewImpl.cpp:
3035         (WebKit::WebViewImpl::updateAnimations):
3036
3037 2012-04-27  Mark Pilgrim  <pilgrim@chromium.org>
3038
3039         [Chromium] Call lowMemoryUsageMB directly
3040         https://bugs.webkit.org/show_bug.cgi?id=84840
3041
3042         Reviewed by Kentaro Hara.
3043
3044         Part of a refactoring series. See tracking bug 82948.
3045
3046         * src/PlatformSupport.cpp:
3047         (WebCore):
3048
3049 2012-04-27  Ian Vollick  <vollick@chromium.org>
3050
3051         [chromium] Add pause and resume support for accelerated css animations.
3052         https://bugs.webkit.org/show_bug.cgi?id=84601
3053
3054         Reviewed by James Robinson.
3055
3056         * tests/CCActiveAnimationTest.cpp:
3057         (WebCore::TEST):
3058         (WebCore):
3059         * tests/CCLayerAnimationControllerTest.cpp:
3060         (WebKitTests::TEST):
3061         (WebKitTests):
3062
3063 2012-04-26  James Robinson  <jamesr@chromium.org>
3064
3065         [chromium] Separate IOSurface layer type from texture layers
3066         https://bugs.webkit.org/show_bug.cgi?id=85030
3067
3068         Reviewed by Adrienne Walker.
3069
3070         Update WebPluginContainerImpl to support having either a texture or IOSurface layer (but never both) depending
3071         on the plugin's contents.
3072
3073         * WebKit.gyp:
3074         * src/WebExternalTextureLayer.cpp:
3075         * src/WebIOSurfaceLayer.cpp:
3076         (WebKit):
3077         (WebKit::WebIOSurfaceLayer::create):
3078         (WebKit::WebIOSurfaceLayer::setIOSurfaceProperties):
3079         (WebKit::WebIOSurfaceLayer::WebIOSurfaceLayer):
3080         * src/WebPluginContainerImpl.cpp:
3081         (WebKit::WebPluginContainerImpl::setBackingTextureId):
3082         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
3083         (WebKit::WebPluginContainerImpl::commitBackingTexture):
3084         (WebKit::WebPluginContainerImpl::setOpaque):
3085         (WebKit::WebPluginContainerImpl::platformLayer):
3086         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
3087         * src/WebPluginContainerImpl.h:
3088         (WebPluginContainerImpl):
3089
3090 2012-04-27  Hans Wennborg  <hans@chromium.org>
3091
3092         Speech JavaScript API: Fix Vector use failure
3093         https://bugs.webkit.org/show_bug.cgi?id=85069
3094
3095         Reviewed by Tony Gentilcore.
3096
3097         Fix think-o in code copying from WebVector to Vector.
3098
3099         * src/SpeechRecognitionClientProxy.cpp:
3100         (WebKit::SpeechRecognitionClientProxy::didReceiveResult):
3101         (WebKit::SpeechRecognitionClientProxy::didDeleteResult):
3102         * src/WebSpeechRecognitionResult.cpp:
3103         (WebKit::WebSpeechRecognitionResult::assign):
3104
3105 2012-04-27  Leandro Gracia Gil  <leandrogracia@chromium.org>
3106
3107         Selectively retrieve text around a touched point.
3108         https://bugs.webkit.org/show_bug.cgi?id=82460
3109
3110         Reviewed by Darin Fisher.
3111
3112         Implements an embedding API to WebCore's SurroundingText, adding also
3113         the possibility of select and highlight the retrieved text range.
3114
3115         * WebKit.gyp:
3116         * public/WebFrame.h:
3117         (WebFrame):
3118         * public/WebHitTestResult.h: Added.
3119         (WebCore):
3120         (WebKit):
3121         (WebHitTestResult):
3122         (WebKit::WebHitTestResult::WebHitTestResult):
3123         (WebKit::WebHitTestResult::~WebHitTestResult):
3124         * public/WebRange.h:
3125         (WebKit):
3126         (WebRange):
3127         * public/WebSurroundingText.h: Added.
3128         (WebCore):
3129         (WebKit):
3130         (WebSurroundingText):
3131         (WebKit::WebSurroundingText::WebSurroundingText):
3132         (WebKit::WebSurroundingText::~WebSurroundingText):
3133         * public/WebView.h:
3134         (WebKit):
3135         * src/WebFrameImpl.cpp:
3136         (WebKit::WebFrameImpl::selectRange):
3137         (WebKit):
3138         * src/WebFrameImpl.h:
3139         (WebFrameImpl):
3140         * src/WebHitTestResult.cpp: Added.
3141         (WebKit):
3142         (WebKit::WebHitTestResult::node):
3143         (WebKit::WebHitTestResult::localPoint):
3144         (WebKit::WebHitTestResult::WebHitTestResult):
3145         (WebKit::WebHitTestResult::operator=):
3146         (WebKit::WebHitTestResult::operator HitTestResult):
3147         (WebKit::WebHitTestResult::isNull):
3148         (WebKit::WebHitTestResult::assign):
3149         (WebKit::WebHitTestResult::reset):
3150         * src/WebRange.cpp:
3151         (WebKit::WebRange::textQuads):
3152         (WebKit):
3153         * src/WebSurroundingText.cpp: Added.
3154         (WebKit):
3155         (WebKit::WebSurroundingText::initialize):
3156         (WebKit::WebSurroundingText::textContent):
3157         (WebKit::WebSurroundingText::hitOffsetInTextContent):
3158         (WebKit::WebSurroundingText::rangeFromContentOffsets):
3159         (WebKit::WebSurroundingText::isNull):
3160         (WebKit::WebSurroundingText::reset):
3161
3162 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
3163
3164         Unreviewed, rolling out r115463.
3165         http://trac.webkit.org/changeset/115463
3166         https://bugs.webkit.org/show_bug.cgi?id=82460
3167
3168         Broke Mac build.
3169
3170         * WebKit.gyp:
3171         * public/WebFrame.h:
3172         (WebFrame):
3173         * public/WebHitTestResult.h: Removed.
3174         * public/WebRange.h:
3175         (WebRange):
3176         * public/WebSurroundingText.h: Removed.
3177         * public/WebView.h:
3178         (WebKit):
3179         * src/WebFrameImpl.cpp:
3180         * src/WebFrameImpl.h:
3181         (WebFrameImpl):
3182         * src/WebHitTestResult.cpp: Removed.
3183         * src/WebRange.cpp:
3184         * src/WebSurroundingText.cpp: Removed.
3185
3186 2012-04-27  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
3187
3188         Added a chromium webkit public header file to support different web print scaling options.
3189         https://bugs.webkit.org/show_bug.cgi?id=84608
3190
3191         Reviewed by Darin Fisher.
3192
3193         * WebKit.gyp:
3194         * public/WebPrintScalingOption.h: Added.
3195         (WebKit):
3196
3197 2012-04-27  Leandro Gracia Gil  <leandrogracia@chromium.org>
3198
3199         Selectively retrieve text around a touched point.
3200         https://bugs.webkit.org/show_bug.cgi?id=82460
3201
3202         Reviewed by Darin Fisher.
3203
3204         Implements an embedding API to WebCore's SurroundingText, adding also
3205         the possibility of select and highlight the retrieved text range.
3206
3207         * WebKit.gyp:
3208         * public/WebFrame.h:
3209         (WebFrame):
3210         * public/WebHitTestResult.h: Added.
3211         (WebCore):
3212         (WebKit):
3213         (WebHitTestResult):
3214         (WebKit::WebHitTestResult::WebHitTestResult):
3215         (WebKit::WebHitTestResult::~WebHitTestResult):
3216         * public/WebRange.h:
3217         (WebKit):
3218         (WebRange):
3219         * public/WebSurroundingText.h: Added.
3220         (WebCore):
3221         (WebKit):
3222         (WebSurroundingText):
3223         (WebKit::WebSurroundingText::WebSurroundingText):
3224         (WebKit::WebSurroundingText::~WebSurroundingText):
3225         * public/WebView.h:
3226         (WebKit):
3227         * src/WebFrameImpl.cpp:
3228         (WebKit::WebFrameImpl::selectRange):
3229         (WebKit):
3230         * src/WebFrameImpl.h:
3231         (WebFrameImpl):
3232         * src/WebHitTestResult.cpp: Added.
3233         (WebKit):
3234         (WebKit::WebHitTestResult::node):
3235         (WebKit::WebHitTestResult::localPoint):
3236         (WebKit::WebHitTestResult::WebHitTestResult):
3237         (WebKit::WebHitTestResult::operator=):
3238         (WebKit::WebHitTestResult::operator HitTestResult):
3239         (WebKit::WebHitTestResult::isNull):
3240         (WebKit::WebHitTestResult::assign):
3241         (WebKit::WebHitTestResult::reset):
3242         * src/WebRange.cpp:
3243         (WebKit::WebRange::textQuads):
3244         (WebKit):
3245         * src/WebSurroundingText.cpp: Added.
3246         (WebKit):
3247         (WebKit::WebSurroundingText::initialize):
3248         (WebKit::WebSurroundingText::textContent):
3249         (WebKit::WebSurroundingText::hitOffsetInTextContent):
3250         (WebKit::WebSurroundingText::rangeFromContentOffsets):
3251         (WebKit::WebSurroundingText::isNull):
3252         (WebKit::WebSurroundingText::reset):
3253
3254 2012-04-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3255
3256         Unreviewed, rolling out r115436.
3257         http://trac.webkit.org/changeset/115436
3258         https://bugs.webkit.org/show_bug.cgi?id=85079
3259
3260         "broke the build" (Requested by tonyg-cr on #webkit).
3261
3262         * WebKit.gyp:
3263         * public/WebReferrerPolicy.h: Added.
3264
3265 2012-04-27  Gavin Peters  <gavinp@chromium.org>
3266
3267         Add new ENABLE_LINK_PRERENDER define to control the Prerendering API
3268         https://bugs.webkit.org/show_bug.cgi?id=84871
3269
3270         Reviewed by Adam Barth.
3271
3272         Prerendering is currently covered by the ENABLE_LINK_PREFETCH macro, but the new Prerendering
3273         API separates it from prefetching.  Having separate include guards lets ports enable prefetching,
3274         a relatively easy change, without needing to build the infrastructure for prerendering, which
3275         is considerably more complicated.
3276
3277 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
3278
3279         Unreviewed, rolling out r115433.
3280         http://trac.webkit.org/changeset/115433
3281         https://bugs.webkit.org/show_bug.cgi?id=85052
3282
3283         Enable unit tests again.
3284
3285         * tests/PopupMenuTest.cpp:
3286         (WebKit::TEST_F):
3287
3288 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
3289
3290         Unreviewed, rolling out r115421.
3291         http://trac.webkit.org/changeset/115421
3292         https://bugs.webkit.org/show_bug.cgi?id=85052
3293
3294         Enable unit tests again.
3295
3296         * tests/PopupMenuTest.cpp:
3297         (WebKit::TEST_F):
3298
3299 2012-04-27  Dimitri Glazkov  <dglazkov@chromium.org>
3300
3301         Unreviewed, rolling out r115400.
3302         http://trac.webkit.org/changeset/115400
3303         https://bugs.webkit.org/show_bug.cgi?id=84420
3304
3305         Broke unit tests.
3306
3307         * src/ChromeClientImpl.cpp:
3308         (WebKit::ChromeClientImpl::popupOpened):
3309         * src/WebViewImpl.cpp:
3310         (WebKit::WebViewImpl::applyAutofillSuggestions):
3311
3312 2012-04-27  Gavin Peters  <gavinp@chromium.org>
3313
3314         [Chromium] Remove Webkit/chromium/public/WebReferrerPolicy.h thunk.
3315         https://bugs.webkit.org/show_bug.cgi?id=84552
3316
3317         After http://codereview.chromium.org/10139023/ lands, this thunk is no
3318         longer needed.
3319
3320         Reviewed by Adam Barth.
3321
3322         * WebKit.gyp:
3323         * public/WebReferrerPolicy.h: Removed.
3324
3325 2012-04-27  Marcus Bulach  <bulach@chromium.org>
3326
3327         [chromium] Disables a few more webkit_unittests.
3328         https://bugs.webkit.org/show_bug.cgi?id=85052
3329
3330         Unreviewed build fix.
3331         
3332         Failing on Windows bots, probably due to r115400.
3333
3334         * tests/PopupMenuTest.cpp:
3335         (WebKit::TEST_F):
3336
3337 2012-04-27  Marcus Bulach  <bulach@chromium.org>
3338
3339         [chromium] Disables a few webkit_unittests.
3340         https://bugs.webkit.org/show_bug.cgi?id=85052
3341
3342         Unreviewed build fix.
3343
3344         * tests/PopupMenuTest.cpp:
3345         (WebKit::TEST_F):
3346
3347 2012-04-24  James Robinson  <jamesr@chromium.org>
3348
3349         [chromium] Move ProgramBinding definitions to LayerRendererChromium and normalize naming
3350         https://bugs.webkit.org/show_bug.cgi?id=84808
3351
3352         Reviewed by Adrienne Walker.
3353
3354         Add some includes needed by this test that were previously picked up by upstream headers.
3355
3356         * tests/CCLayerTreeHostImplTest.cpp:
3357
3358 2012-04-26  Ilya Sherman  <isherman@chromium.org>
3359
3360         [Chromium] Security: Autofill info can be captured by innocuous social engineering
3361         Prevent users from interacting with invisible popups rendered outside the main frame's contents view.
3362         https://bugs.webkit.org/show_bug.cgi?id=84420
3363         https://code.google.com/p/chromium/issues/detail?id=122925
3364
3365         Reviewed by Kent Tamura.
3366
3367         * src/ChromeClientImpl.cpp:
3368         (WebKit::ChromeClientImpl::popupOpened): Hide popups rendered outside the main frame's contents view.
3369         * src/WebViewImpl.cpp:
3370         (WebKit::WebViewImpl::applyAutofillSuggestions): Fix up order of operations to support immediately hiding a popup if it would not be visible
3371
3372 2012-04-26  Dana Jansens  <danakj@chromium.org>
3373
3374         [chromium] Some background filters require inflating damage on the surface behind them
3375         https://bugs.webkit.org/show_bug.cgi?id=84479
3376
3377         Reviewed by Adrienne Walker.
3378
3379         * tests/CCDamageTrackerTest.cpp:
3380         (WebKitTests::TEST_F):
3381         (WebKitTests):
3382
3383 2012-04-26  Aaron Colwell  <acolwell@chromium.org>
3384
3385         Cleanup WebMediaPlayer enum values that didn't match Chromium style guidelines
3386         https://bugs.webkit.org/show_bug.cgi?id=84998
3387
3388         Reviewed by Darin Fisher.
3389
3390         * public/WebMediaPlayer.h:
3391         (WebKit::WebMediaPlayer::generateKeyRequest):
3392         (WebKit::WebMediaPlayer::addKey):
3393         (WebKit::WebMediaPlayer::cancelKeyRequest):
3394
3395 2012-04-26  Shawn Singh  <shawnsingh@chromium.org>
3396
3397         [chromium] re-implement backFaceVisibility to avoid dealing with perspective w<0 problem
3398         https://bugs.webkit.org/show_bug.cgi?id=84059
3399
3400         Reviewed by Adrienne Walker.
3401
3402         * WebKit.gypi:
3403         * tests/CCMathUtilTest.cpp: Added.
3404         (WebCore):
3405         (WebCore::TEST):
3406
3407 2012-04-26  Justin Novosad  <junov@chromium.org>
3408
3409         [Chromium] Single buffered canvas layers with the threaded compositor
3410         https://bugs.webkit.org/show_bug.cgi?id=80540
3411
3412         Reviewed by James Robinson.
3413
3414         * tests/CCLayerTreeHostTest.cpp:
3415         (WTF::CCLayerTreeHostTest::AcquireLayerTextures):
3416         (CCLayerTreeHostTest):
3417         (WTF::CCLayerTreeHostTest::dispatchAcquireLayerTextures):
3418         (WTF::TEST_F):
3419         (WTF):
3420         (CCLayerTreeHostTestWriteLayersRedraw):
3421         (WTF::CCLayerTreeHostTestWriteLayersRedraw::CCLayerTreeHostTestWriteLayersRedraw):
3422         (WTF::CCLayerTreeHostTestWriteLayersRedraw::beginTest):
3423         (WTF::CCLayerTreeHostTestWriteLayersRedraw::drawLayersOnCCThread):
3424         (WTF::CCLayerTreeHostTestWriteLayersRedraw::commitCompleteOnCCThread):
3425         (WTF::CCLayerTreeHostTestWriteLayersRedraw::afterTest):
3426         (CCLayerTreeHostTestWriteLayersAfterVisible):
3427         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::CCLayerTreeHostTestWriteLayersAfterVisible):
3428         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::beginTest):
3429         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::commitCompleteOnCCThread):
3430         (WTF::CCLayerTreeHostTestWriteLayersAfterVisible::afterTest):
3431         * tests/CCSchedulerTest.cpp:
3432         (WebKitTests::TEST):
3433         (WebKitTests):
3434         * tests/Canvas2DLayerChromiumTest.cpp:
3435         (Canvas2DLayerChromiumTest::fullLifecycleTest):
3436
3437 2012-04-26  Joshua Bell  <jsbell@chromium.org>
3438
3439         [Chromium] IndexedDB: Use WebIDBKeyPath type for key paths in WebKit API
3440         https://bugs.webkit.org/show_bug.cgi?id=84631
3441
3442         Reviewed by James Robinson.
3443
3444         WebIDBKeyPath was previously a utility class for parsing key paths into components,
3445         but the API exposed key paths only as nullable strings. To support array-type keypaths,
3446         WebIDBKeyPath becomes a value class with type flags. For landing, several legacy methods
3447         are retained but will be cleaned up after all callers have been updated, tracked as
3448         the bug: http://webkit.org/b/84207
3449
3450         * public/WebIDBDatabase.h:
3451         (WebKit::WebIDBDatabase::createObjectStore): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
3452         * public/WebIDBIndex.h:
3453         (WebKit::WebIDBIndex::keyPath): Calls keyPathString if not overridden.
3454         (WebKit::WebIDBIndex::keyPathString): Comment change.
3455         * public/WebIDBKeyPath.h:
3456         (WebKit::WebIDBKeyPath::create): Overload added for creating array-type key paths.
3457         (WebKit::WebIDBKeyPath::array): Accessor for array-type key paths.
3458         (WebKit::WebIDBKeyPath::operator const WebString ): Temporary, for compatibility.
3459         * public/WebIDBObjectStore.h:
3460         (WebKit::WebIDBObjectStore::keyPath): Calls keyPathString if not overridden.
3461         (WebKit::WebIDBObjectStore::keyPathString): Comment change.
3462         (WebKit::WebIDBObjectStore::createIndex): Add WebIDBKeyPath overload; WebString overload delegates so implementers can switch.
3463         * public/platform/WebKitPlatformSupport.h:
3464         (WebKitPlatformSupport): WebIDBKeyPath overloads for these methods added, delegate to WebString version until implementers are updated.
3465         (WebKit::WebKitPlatformSupport::createIDBKeysFromSerializedValuesAndKeyPath):
3466         (WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
3467         * src/IDBIndexBackendProxy.cpp:
3468         (WebKit::IDBIndexBackendProxy::keyPath): Returns the string version until WebCore is updated.
3469         * src/IDBObjectStoreBackendProxy.cpp:
3470         (WebKit::IDBObjectStoreBackendProxy::keyPath): Returns the string version until WebCore is updated.
3471         * src/WebIDBDatabaseImpl.h:
3472         (WebIDBDatabaseImpl): Add createObjectStore overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
3473         * src/WebIDBIndexImpl.cpp:
3474         (WebKit::WebIDBIndexImpl::keyPath): Implements the new WebIDBKeyPath return type.
3475         (WebKit):
3476         * src/WebIDBIndexImpl.h:
3477         (WebIDBIndexImpl): Implements the new WebIDBKeyPath return type.
3478         * src/WebIDBKeyPath.cpp:
3479         (WebKit::WebIDBKeyPath::create): Support null key path types.
3480         (WebKit::WebIDBKeyPath::createNull): New API.
3481         (WebKit):
3482         (WebKit::WebIDBKeyPath::isValid): New API.
3483         (WebKit::WebIDBKeyPath::type): New API.
3484         (WebKit::WebIDBKeyPath::string): New API (value accessor).
3485         (WebKit::WebIDBKeyPath::WebIDBKeyPath):
3486         (WebKit::WebIDBKeyPath::assign): This API will be removed.
3487         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Ensure it is non-null - only used in copy constructor which guards against this.
3488         * src/WebIDBObjectStoreImpl.cpp:
3489         (WebKit::WebIDBObjectStoreImpl::keyPath): Implement the new WebIDBKeyPath return type.
3490         (WebKit):
3491         * src/WebIDBObjectStoreImpl.h:
3492         (WebIDBObjectStoreImpl): Add createIndex overload for WebIDBKeyPath type, delegates to WebString version until callers are updated.
3493
3494 2012-04-26  Alexander Pavlov  <apavlov@chromium.org>
3495
3496         Web Inspector: [CRASH] WebViewImpl::setZoomLevel when emulating device metrics
3497         https://bugs.webkit.org/show_bug.cgi?id=84938
3498
3499         Check for the presence of a live Frame/FrameView before invoking methods that depend on them.
3500
3501         Reviewed by Yury Semikhatsky.
3502
3503         * src/WebDevToolsAgentImpl.cpp:
3504   &n