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