WinCairo build fails to link.
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2013-04-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2
3         Regression(r142765) Broke Custom SVG cursors and SVG canvas drawing for Chromium
4         https://bugs.webkit.org/show_bug.cgi?id=113420
5
6         Reviewed by Stephen White.
7
8         Update code now that Image::nativeImageForCurrentFrame() and
9         ImageFrame::asNewNativeImage() return a smart pointer instead
10         of a raw one.
11
12         * src/WebImageDecoder.cpp:
13         (WebKit::WebImageDecoder::getFrameAtIndex):
14         * src/WebImageSkia.cpp:
15         (WebKit::WebImage::fromData):
16         (WebKit::WebImage::framesFromData):
17         (WebKit::WebImage::operator=):
18         * tests/DeferredImageDecoderTest.cpp:
19         (WebCore::TEST_F):
20         * tests/DragImageTest.cpp:
21         (WebCore::TestImage::TestImage):
22         (WebCore::TestImage::nativeImageForCurrentFrame):
23         (TestImage):
24         * tests/ImageLayerChromiumTest.cpp:
25         (WebCore::TestImage::TestImage):
26         (WebCore::TestImage::nativeImageForCurrentFrame):
27         (TestImage):
28         * tests/PlatformContextSkiaTest.cpp:
29         (WebCore::TEST):
30
31 2013-04-03  Christophe Dumez  <ch.dumez@sisa.samsung.com>
32
33         [Chromium] Bad cast from BitmapImageSingleFrameSkia to BitmapImage
34         https://bugs.webkit.org/show_bug.cgi?id=113492
35
36         Reviewed by Stephen White.
37
38         Update test now that BitmapImageSingleFrameSkia no longer exists.
39         BitmapImage is now used instead.
40
41         * tests/PlatformContextSkiaTest.cpp:
42         (WebCore::TEST):
43
44 2013-04-03  Mikhail Naganov  <mnaganov@chromium.org>
45
46         [Chromium] Implement target-densityDpi viewport property emulation
47         https://bugs.webkit.org/show_bug.cgi?id=110835
48
49         The value is only used in the Chromium port, when the corresponding
50         setting is enabled.
51
52         This is needed for supporting existing WebView-based applications
53         that rely on this property.
54
55         Reviewed by Adam Barth.
56
57         * public/WebSettings.h:
58         (WebSettings):
59         * src/ChromeClientImpl.cpp:
60         (WebKit):
61         (WebKit::calculateTargetDensityDPIFactor):
62         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
63         * src/WebSettingsImpl.cpp:
64         (WebKit::WebSettingsImpl::WebSettingsImpl):
65         (WebKit::WebSettingsImpl::setSupportDeprecatedTargetDensityDPI):
66         (WebKit):
67         * src/WebSettingsImpl.h:
68         (WebSettingsImpl):
69         (WebKit::WebSettingsImpl::supportDeprecatedTargetDensityDPI):
70         * tests/WebFrameTest.cpp:
71         * tests/data/viewport-target-densitydpi-high.html: Added.
72
73 2013-04-02  James Craig  <james@cookiecrook.com>
74
75         AXRoleDescripton for DL is "list"; should be "description list"
76         https://bugs.webkit.org/show_bug.cgi?id=111665
77
78         Reviewed by Chris Fleizach.
79
80         Defining the role and description strings.
81
82         * public/WebAccessibilityRole.h:
83         * src/AssertMatchingEnums.cpp:
84
85 2013-04-02  Raymond Toy  <rtoy@google.com>
86
87         Add support for using ARM FFT in WebAudio
88         https://bugs.webkit.org/show_bug.cgi?id=109755
89
90         Reviewed by Chris Rogers.
91
92         * features.gypi: Support building with the OpenMAX DL FFT.
93
94 2013-04-01  <webkit.review.bot@gmail.com>
95
96         [chromium] Roll chromium deps to 191760.
97         https://bugs.webkit.org/show_bug.cgi?id=113745
98
99         Unreviewed, rolling deps.
100
101         * DEPS:
102
103 2013-04-01  Alexandre Elias  <aelias@chromium.org>
104
105         [chromium] Delete code behind if (!applyXYZScaleInCompositor)
106         https://bugs.webkit.org/show_bug.cgi?id=111809
107
108         Reviewed by James Robinson.
109
110         Chromium is setting the flags applyPageScaleFactorInCompositor and
111         applyDeviceScaleFactorInCompositor permanently to true, so any code
112         in platform/chromium with the false setting is dead. Delete all of
113         it.
114
115         I also switched FrameTestHelpers and DumpRenderTree to always turn the
116         setting to true so that they test the code we're actually running.
117         This exposed a number of failing tests which I added in the
118         expectations file.
119
120         Note also that I made calls to setPageScaleFactor turn on
121         force-compositing-mode to make the layout tests work, as
122         pageScaleFactor is now ignored in non-composited mode.
123
124         * src/ChromeClientImpl.cpp:
125         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
126         * src/NonCompositedContentHost.cpp:
127         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
128         * src/PageWidgetDelegate.cpp:
129         (WebKit::PageWidgetDelegate::paint):
130         * src/PageWidgetDelegate.h:
131         * src/WebFrameImpl.cpp:
132         (WebKit::WebFrameImpl::selectRange):
133         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
134         * src/WebPagePopupImpl.cpp:
135         (WebKit::WebPagePopupImpl::paint):
136         * src/WebViewImpl.cpp:
137         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
138         (WebKit::WebViewImpl::scaledSize):
139         (WebKit::WebViewImpl::resize):
140         (WebKit::WebViewImpl::paint):
141         (WebKit::WebViewImpl::selectionBounds):
142         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
143         (WebKit::WebViewImpl::clampOffsetAtScale):
144         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
145         (WebKit::WebViewImpl::setDeviceScaleFactor):
146         (WebKit::WebViewImpl::contentsSize):
147         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
148         (WebKit::WebViewImpl::applyScrollAndScale):
149         * src/WebViewImpl.h:
150         * tests/FrameTestHelpers.cpp:
151         (WebKit::FrameTestHelpers::createWebView):
152         * tests/WebFrameTest.cpp:
153         * tests/WebInputEventConversionTest.cpp:
154         (WebCore::TEST):
155
156 2013-03-30  Adam Barth  <abarth@webkit.org>
157
158         [Chromium] Remove unused includes of stdio.h
159         https://bugs.webkit.org/show_bug.cgi?id=113650
160
161         Reviewed by Dimitri Glazkov.
162
163         We shouldn't include stdio.h. These includes aren't used anyway.
164
165         * src/WebInputEvent.cpp:
166         * src/x11/WebScreenInfoFactory.cpp:
167
168 2013-03-30  Tom Sepez  <tsepez@chromium.org>
169
170         View-source iframes are dangerous (and not very useful).
171         https://bugs.webkit.org/show_bug.cgi?id=113345
172
173         Reviewed by Adam Barth.
174
175         * features.gypi:
176         Disable VIEWSOURCE_ATTRIBUTE for chromium.
177
178 2013-03-30  Alexei Filippov  <alph@chromium.org>
179
180         Web Inspector: Fonts refactoring
181         https://bugs.webkit.org/show_bug.cgi?id=113047
182
183         Reviewed by Pavel Feldman.
184
185         Unify fonts usage across inspector.
186         Make inspector default font depend on platform.
187
188         * src/js/devTools.css:
189         (body.platform-linux):
190         (body.platform-mac):
191         (body.platform-windows):
192
193 2013-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
194
195         Unreviewed.  Rolled Chromium DEPS to r191432.  Requested by
196         "Philip Rogers" <pdr@google.com> via sheriffbot.
197
198         * DEPS:
199
200 2013-03-29  Joshua Bell  <jsbell@chromium.org>
201
202         IndexedDB: Bind lifetime of in-memory backing stores to IDBFactory backend
203         https://bugs.webkit.org/show_bug.cgi?id=110820
204
205         Reviewed by Tony Chang.
206
207         * tests/IDBBackingStoreTest.cpp:
208         (WebCore::IDBBackingStoreTest::SetUp): Use openInMemory rather than empty path.
209         (WebCore::TEST): Added IDBFactoryBackendTest.MemoryBackingStoreLifetime to verify refs.
210
211 2013-03-28  James Robinson  <jamesr@chromium.org>
212
213         [chromium] Remove unused WebRegularExpression API
214         https://bugs.webkit.org/show_bug.cgi?id=113520
215
216         Reviewed by Kent Tamura.
217
218         Last reference to these files removed in r190880.
219
220         * WebKit.gyp:
221         * public/WebRegularExpression.h: Removed.
222         * public/WebTextCaseSensitivity.h: Removed.
223         * src/AssertMatchingEnums.cpp:
224         * src/WebRegularExpression.cpp: Removed.
225
226 2013-03-28  Alexandre Elias  <aelias@chromium.org>
227
228         [chromium] Use widget.parent() for plugin WebMouseEvents
229         https://bugs.webkit.org/show_bug.cgi?id=113543
230
231         Reviewed by James Robinson.
232
233         In r142571 I switches widget.parent() to widget.root() in the plugin
234         WebCore event -> WebMouseEvent creator, to make the converter the
235         inverse of the one going the other way and avoid null pointer crashes.
236         But the plugin code expects it to be parent() (see
237         http://crbug.com/223335).
238
239         * src/WebInputEventConversion.cpp:
240         (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
241
242 2013-03-28  Xianzhu Wang  <wangxianzhu@chromium.org>
243
244         [Chromium] Don't create SolidColorLayer for full transparent background
245         https://bugs.webkit.org/show_bug.cgi?id=113524
246
247         Reviewed by James Robinson.
248
249         * tests/GraphicsLayerChromiumTest.cpp:
250         (GraphicsLayerChromiumTest::setContentsToSolidColor):
251
252 2013-03-28  Kent Tamura  <tkent@chromium.org>
253
254         [Chromium] REGRESSION(r88030): Right-click on invalid form controls unexpectedly dispatches 'invalid' events
255         https://bugs.webkit.org/show_bug.cgi?id=113377
256
257         Reviewed by Dimitri Glazkov.
258
259         * src/ContextMenuClientImpl.cpp:
260         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
261         We don't need to call HTMLFormElement::checkValidity here.
262
263 2013-03-28  Sheriff Bot  <webkit.review.bot@gmail.com>
264
265         Unreviewed.  Rolled Chromium DEPS to r191172.  Requested by
266         pdr2 via sheriffbot.
267
268         * DEPS:
269
270 2013-03-28  Matt Falkenhagen  <falken@chromium.org>
271
272         Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormControl
273         https://bugs.webkit.org/show_bug.cgi?id=113273
274
275         Reviewed by Kent Tamura.
276
277         Element::disabled is about form controls and Element::isEnabledFormControl
278         is redundant with it, so replace them with a single function
279         Element::isDisabledFormControl.
280
281         * src/WebFormControlElement.cpp:
282         (WebKit::WebFormControlElement::isEnabled):
283         * src/WebOptionElement.cpp:
284         (WebKit::WebOptionElement::isEnabled):
285         * src/WebPasswordFormUtils.cpp:
286         (WebKit::findPasswordFormFields):
287         * src/WebSearchableFormData.cpp:
288         (HTMLNames::findSuitableSearchInputElement):
289         (HTMLNames::buildSearchString):
290
291 2013-03-27  Keishi Hattori  <keishi@webkit.org>
292
293         [Chromium] Enable touch events in PagePopup
294         https://bugs.webkit.org/show_bug.cgi?id=113380
295
296         We want to use touch events inside the calendar picker. This patch adds
297         PagePopupChromeClient::needTouchEvents() and moved hasTouchEventHandlers()
298         from WebViewClient to WebWidgetClient.
299
300         Reviewed by Kent Tamura.
301
302         * public/WebViewClient.h:
303         * public/WebWidgetClient.h:
304         (WebWidgetClient):
305         (WebKit::WebWidgetClient::hasTouchEventHandlers): Moved from WebViewClient.
306         * src/WebPagePopupImpl.cpp:
307         (WebKit):
308
309 2013-03-27  Timothy Hatcher  <timothy@apple.com>
310
311         Add support for dock-to-right of the Web Inspector in the Mac port.
312
313         Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
314
315         https://webkit.org/b/113341
316         rdar://problem/10368152
317
318         Reviewed by Joseph Pecoraro.
319
320         * src/InspectorFrontendClientImpl.cpp:
321         (WebKit::InspectorFrontendClientImpl::changeAttachedWindowWidth):
322         * src/InspectorFrontendClientImpl.h:
323         (InspectorFrontendClientImpl):
324
325 2013-03-27  Kent Tamura  <tkent@chromium.org>
326
327         Rename HTMLFormControlElement::readOnly to isReadOnly
328         https://bugs.webkit.org/show_bug.cgi?id=113297
329
330         Reviewed by Alexey Proskuryakov.
331
332         * src/WebFormControlElement.cpp:
333         (WebKit::WebFormControlElement::isReadOnly):
334
335 2013-03-26  Hayato Ito  <hayato@chromium.org>
336
337         Allow ShadowContents in HitTests by default.
338         https://bugs.webkit.org/show_bug.cgi?id=113171
339
340         Reviewed by Dimitri Glazkov.
341
342         * src/ContextMenuClientImpl.cpp:
343         (WebKit::selectMisspelledWord):
344         * src/WebFrameImpl.cpp:
345         (WebKit::WebFrameImpl::visiblePositionForWindowPoint):
346         * src/WebPluginContainerImpl.cpp:
347         (WebKit::WebPluginContainerImpl::isRectTopmost):
348         * src/WebViewImpl.cpp:
349         (WebKit::WebViewImpl::computeBlockBounds):
350         (WebKit::WebViewImpl::bestTapNode):
351
352 2013-03-26  Dana Jansens  <danakj@chromium.org>
353
354         [chromium] Remove the WebVideoFrame, WebVideoFrameProvider, WebStreamTextureClient, and WebVideoLayer classes.
355         https://bugs.webkit.org/show_bug.cgi?id=112483
356
357         Reviewed by James Robinson.
358
359         These classes are no longer used, so remove them.
360
361         * WebKit.gyp:
362         * public/WebMediaPlayer.h:
363         (WebKit):
364         (WebMediaPlayer):
365         * public/WebStreamTextureClient.h: Removed.
366         * public/WebVideoFrame.h: Removed.
367
368 2013-03-26  Sheriff Bot  <webkit.review.bot@gmail.com>
369
370         Unreviewed.  Rolled Chromium DEPS to r190706.  Requested by
371         danakj_ via sheriffbot.
372
373         * DEPS:
374
375 2013-03-26  Ryosuke Niwa  <rniwa@webkit.org>
376
377         Heap-use-after-free regression
378         https://bugs.webkit.org/show_bug.cgi?id=113337
379
380         Reviewed by Abhishek Arya and Alexey Proskuryakov.
381
382         * src/ChromeClientImpl.cpp:
383         (WebKit::ChromeClientImpl::didAssociateFormControls):
384         * src/ChromeClientImpl.h:
385         (ChromeClientImpl):
386
387 2013-03-26  Tony Chang  <tony@chromium.org>
388
389         Autogenerate the scrollAnimatorEnabled setting in Settings.in
390         https://bugs.webkit.org/show_bug.cgi?id=113253
391
392         Reviewed by James Robinson.
393
394         * src/WebSettingsImpl.cpp:
395         (WebKit::WebSettingsImpl::setEnableScrollAnimator): Update call to WebCore to use setScrollAnimatorEnabled(bool).
396
397 2013-03-26  Tony Chang  <tony@chromium.org>
398
399         [chromium] Expose setSelectionIncludesAltImageText in WebSettings
400         https://bugs.webkit.org/show_bug.cgi?id=113316
401
402         Reviewed by Dimitri Glazkov.
403
404         Enabling this setting allows plain text clipboard content to include alt
405         text like on Firefox and IE10.
406
407         * public/WebSettings.h:
408         (WebSettings):
409         * src/WebSettingsImpl.cpp:
410         (WebKit::WebSettingsImpl::setSelectionIncludesAltImageText):
411         * src/WebSettingsImpl.h:
412         (WebSettingsImpl):
413
414 2013-03-26  Christophe Dumez  <ch.dumez@sisa.samsung.com>
415
416         Code duplication between HTTPParsers and HTTPValidation
417         https://bugs.webkit.org/show_bug.cgi?id=113283
418
419         Reviewed by Alexey Proskuryakov.
420
421         * src/AssociatedURLLoader.cpp: Include HTTPParsers.h instead
422         of HTTPValidation.h to use isValidHTTPToken().
423
424 2013-03-26  Yufeng Shen  <miletus@chromium.org>
425
426         Convert WebInputEvent::GestureDoubleTap to  PlatformEvent::NoType
427         https://bugs.webkit.org/show_bug.cgi?id=113215
428
429         In bug 93045 we removed PlatformEvent::GestureDoubleTap since now DoubleTap gesture
430         is implemented as a Tap gesture with tap_count = 2.
431
432         In WebViewImpl::handleGestureEvent(), a PlatformEvent is built from the WebGestureEvent
433         regardless, even though the PlatfromEvent will never reach the WebCore. DoubleTap, in
434         our case, is only handled in WebViewImpl for doube-tap-to-zoom, will also go through
435         conversion in WebInpuEventConversion.cpp::PlatformGestureEventBuilder() and reach
436         ASSERT_NOT_REACHED()
437
438         This patch converts WebGestureEvent::DoubleTap to PlatformEvent::NoType, this makes the
439         conversion list from WebInputEvent to PlatformEvent complete and we don't need a special
440         handling for the DoubleTap event in WebViewImpl::handleGestureEvent()
441
442         Reviewed by Antonio Gomes.
443
444         * src/WebInputEventConversion.cpp:
445         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
446
447 2013-03-26  Sheriff Bot  <webkit.review.bot@gmail.com>
448
449         Unreviewed, rolling out r146767.
450         http://trac.webkit.org/changeset/146767
451         https://bugs.webkit.org/show_bug.cgi?id=113295
452
453         Rolling out until nicer fonts / sizes are chosen (Requested by
454         pfeldman on #webkit).
455
456         * src/js/devTools.css:
457
458 2013-03-25  Kent Tamura  <tkent@chromium.org>
459
460         Rename ENABLE_INPUT_TYPE_DATETIME
461         https://bugs.webkit.org/show_bug.cgi?id=113254
462
463         Reviewed by Kentaro Hara.
464
465         Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
466         Actually I'd like to remove the code, but we shouldn't remove it yet
467         because we shipped products with it on some platforms.
468
469         * src/WebRuntimeFeatures.cpp:
470         (WebKit::WebRuntimeFeatures::enableInputTypeDateTime):
471         (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled):
472         * tests/WebViewTest.cpp:
473
474 2013-03-25  Dana Jansens  <danakj@chromium.org>
475
476         [chromium] Move ownership of compositor VideoLayer to WebMediaPlayer
477         https://bugs.webkit.org/show_bug.cgi?id=112971
478
479         Reviewed by James Robinson.
480
481         This moves ownership of the compositor's video layer over to the
482         implementation of WebMediaPlayer, as well as all interaction
483         between the media player system and the compositor layer or its
484         interfaces such as cc::VideoFrameProvider.
485
486         Now, the WebMediaPlayer implementation calls setWebLayer() to
487         provide the WebLayer* to the WebMediaPlayerClientImpl so that
488         it can be inserted into the GraphicsLayer tree appropriately.
489
490         Defines REMOVE_WEBVIDEOFRAME in related headers to enable this code
491         path in chromium.
492
493         Once chromium removes its use of WebVideoFrame and its related
494         classes, we can remove them from WebKit entirely.
495
496         * WebKit.gypi:
497         * public/WebMediaPlayer.h:
498         (WebKit):
499         * public/WebMediaPlayerClient.h:
500         * public/WebStreamTextureClient.h:
501         * src/WebMediaPlayerClientImpl.cpp:
502         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
503         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
504         (WebKit::WebMediaPlayerClientImpl::repaint):
505         (WebKit::WebMediaPlayerClientImpl::setOpaque):
506         (WebKit::WebMediaPlayerClientImpl::setWebLayer):
507         (WebKit::WebMediaPlayerClientImpl::loadRequested):
508         (WebKit::WebMediaPlayerClientImpl::platformLayer):
509         (WebKit::WebMediaPlayerClientImpl::paint):
510         (WebKit::WebMediaPlayerClientImpl::needsWebLayer):
511         (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
512         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
513         (WebKit::WebMediaPlayerClientImpl::create):
514         (WebKit::WebMediaPlayerClientImpl::supportsType):
515         * src/WebMediaPlayerClientImpl.h:
516         (WebKit):
517         (WebMediaPlayerClientImpl):
518         * tests/WebMediaPlayerClientImplTest.cpp: Removed.
519
520 2013-03-25  Sheriff Bot  <webkit.review.bot@gmail.com>
521
522         Unreviewed.  Rolled Chromium DEPS to r190515.  Requested by
523         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
524
525         * DEPS:
526
527 2013-03-25  James Robinson  <jamesr@chromium.org>
528
529         [chromium] Support GraphicsLayer::setContentsToSolidColor
530         https://bugs.webkit.org/show_bug.cgi?id=104396
531
532         Reviewed by Adrienne Walker.
533
534         Updates some unit tests for better include discipline.
535
536         * tests/GraphicsLayerChromiumTest.cpp:
537         * tests/ImageLayerChromiumTest.cpp:
538
539 2013-03-25  Sheriff Bot  <webkit.review.bot@gmail.com>
540
541         Unreviewed, rolling out r146819.
542         http://trac.webkit.org/changeset/146819
543         https://bugs.webkit.org/show_bug.cgi?id=113249
544
545         broke component build (Requested by danakj on #webkit).
546
547         * WebKit.gypi:
548         * public/WebMediaPlayerClient.h:
549         (WebKit):
550         * src/WebMediaPlayerClientImpl.cpp:
551         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
552         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
553         (WebKit::WebMediaPlayerClientImpl::repaint):
554         (WebKit::WebMediaPlayerClientImpl::setOpaque):
555         (WebKit::WebMediaPlayerClientImpl::disableAcceleratedCompositing):
556         (WebKit::WebMediaPlayerClientImpl::loadRequested):
557         (WebKit::WebMediaPlayerClientImpl::loadInternal):
558         (WebKit):
559         (WebKit::WebMediaPlayerClientImpl::platformLayer):
560         (WebKit::WebMediaPlayerClientImpl::paint):
561         (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
562         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
563         (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
564         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
565         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
566         (WebKit::WebMediaPlayerClientImpl::create):
567         (WebKit::WebMediaPlayerClientImpl::supportsType):
568         * src/WebMediaPlayerClientImpl.h:
569         (WebKit):
570         (WebMediaPlayerClientImpl):
571         * tests/WebMediaPlayerClientImplTest.cpp: Added.
572         (WebKit):
573         (FakeWebMediaPlayerClientImpl):
574         (WebKit::FakeWebMediaPlayerClientImpl::create):
575         (WebKit::FakeWebMediaPlayerClientImpl::FakeWebMediaPlayerClientImpl):
576         (FakeVideoFrameProviderClient):
577         (WebKit::FakeVideoFrameProviderClient::create):
578         (WebKit::FakeVideoFrameProviderClient::~FakeVideoFrameProviderClient):
579         (WebKit::FakeVideoFrameProviderClient::didReceiveFrame):
580         (WebKit::FakeVideoFrameProviderClient::didUpdateMatrix):
581         (WebKit::FakeVideoFrameProviderClient::stopUsingProvider):
582         (WebKit::FakeVideoFrameProviderClient::provider):
583         (WebKit::FakeVideoFrameProviderClient::FakeVideoFrameProviderClient):
584         (WebKit::TEST):
585
586 2013-03-25  Dana Jansens  <danakj@chromium.org>
587
588         [chromium] Move ownership of compositor VideoLayer to WebMediaPlayer
589         https://bugs.webkit.org/show_bug.cgi?id=112971
590
591         Reviewed by James Robinson.
592
593         This moves ownership of the compositor's video layer over to the
594         implementation of WebMediaPlayer, as well as all interaction
595         between the media player system and the compositor layer or its
596         interfaces such as cc::VideoFrameProvider.
597
598         Now, the WebMediaPlayer implementation calls setWebLayer() to
599         provide the WebLayer* to the WebMediaPlayerClientImpl so that
600         it can be inserted into the GraphicsLayer tree appropriately.
601
602         Defines REMOVE_WEBVIDEOFRAME in related headers to enable this code
603         path in chromium.
604
605         Once chromium removes its use of WebVideoFrame and its related
606         classes, we can remove them from WebKit entirely.
607
608         * WebKit.gypi:
609         * public/WebMediaPlayer.h:
610         (WebKit):
611         * public/WebMediaPlayerClient.h:
612         * public/WebStreamTextureClient.h:
613         * src/WebMediaPlayerClientImpl.cpp:
614         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
615         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
616         (WebKit::WebMediaPlayerClientImpl::repaint):
617         (WebKit::WebMediaPlayerClientImpl::setOpaque):
618         (WebKit::WebMediaPlayerClientImpl::setWebLayer):
619         (WebKit::WebMediaPlayerClientImpl::loadRequested):
620         (WebKit::WebMediaPlayerClientImpl::platformLayer):
621         (WebKit::WebMediaPlayerClientImpl::paint):
622         (WebKit::WebMediaPlayerClientImpl::needsWebLayer):
623         (WebKit::WebMediaPlayerClientImpl::supportsAcceleratedRendering):
624         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
625         (WebKit::WebMediaPlayerClientImpl::create):
626         (WebKit::WebMediaPlayerClientImpl::supportsType):
627         * src/WebMediaPlayerClientImpl.h:
628         (WebKit):
629         (WebMediaPlayerClientImpl):
630         * tests/WebMediaPlayerClientImplTest.cpp: Removed.
631
632 2013-03-25  Alexei Filippov  <alph@chromium.org>
633
634         Web Inspector: Fonts refactoring
635         https://bugs.webkit.org/show_bug.cgi?id=113047
636
637         Reviewed by Pavel Feldman.
638
639         Unify fonts usage across inspector.
640         Make inspector default font depend on platform.
641
642         * src/js/devTools.css:
643         (body.platform-linux):
644         (body.platform-mac):
645         (body.platform-windows):
646
647 2013-03-24  Dana Jansens  <danakj@chromium.org>
648
649         [chromium] Roll chromium deps to 190311.
650         https://bugs.webkit.org/show_bug.cgi?id=113161
651
652         Unreviewed, rolling deps.
653
654         * DEPS:
655
656 2013-03-24  Alpha Lam  <hclam@chromium.org>
657
658         GIFImageReader should reports parsing error to client
659         https://bugs.webkit.org/show_bug.cgi?id=113141
660
661         Reviewed by Stephen White.
662
663         Updated unit test that runs on a broken GIF image file, decoding should fail.
664
665         * tests/GIFImageDecoderTest.cpp:
666         (WebKit::TEST):
667
668 2013-03-22  James Robinson  <jamesr@chromium.org>
669
670         [chromium] Wire windows scrollByPage enum up to compositor thread input handling
671         https://bugs.webkit.org/show_bug.cgi?id=113117
672
673         Reviewed by Adrienne Walker.
674
675         * src/WebCompositorInputHandlerImpl.cpp:
676         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
677         * tests/WebCompositorInputHandlerImplTest.cpp:
678         (MockWebInputHandlerClient):
679
680 2013-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
681
682         Unreviewed.  Rolled Chromium DEPS to r190276.  Requested by
683         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
684
685         * DEPS:
686
687 2013-03-22  Dane Wallinga  <dgwallinga@chromium.org>
688
689         Add client callbacks to notify of changes of associated from controls
690         https://bugs.webkit.org/show_bug.cgi?id=110375
691
692         Reviewed by Ryosuke Niwa.
693
694         Implement form association methods of ChromeClient
695         to inform autofill of form changes after a page has loaded
696
697         * public/WebAutofillClient.h:
698         (WebAutofillClient):
699         (WebKit::WebAutofillClient::didAssociateInput):
700         (WebKit::WebAutofillClient::didAddForm):
701         (WebKit::WebAutofillClient::didAssociateFormControls):
702         * src/ChromeClientImpl.cpp:
703         (WebKit::ChromeClientImpl::didAssociateFormControls):
704         (WebKit):
705         (WebKit::ChromeClientImpl::shouldNotifyOnFormChanges):
706         * src/ChromeClientImpl.h:
707         (ChromeClientImpl):
708
709 2013-03-22  Alec Flett  <alecflett@chromium.org>
710
711         [chromium] Support Quota API in Worker
712         https://bugs.webkit.org/show_bug.cgi?id=112713
713
714         Hook up WebKit side of queryUsageAndQuota. Tests
715         and WebCore code will come in https://bugs.webkit.org/show_bug.cgi?id=112972
716
717         Reviewed by David Levin.
718
719         * WebKit.gyp:
720         * public/WebCommonWorkerClient.h:
721         (WebKit::WebCommonWorkerClient::queryUsageAndQuota):
722         * src/StorageQuotaChromium.cpp:
723         (WebCore::StorageQuota::queryUsageAndQuota):
724         (WebCore::StorageQuota::requestQuota):
725         * src/WebWorkerClientImpl.cpp:
726         (WebKit::WebWorkerClientImpl::queryUsageAndQuota):
727         (WebKit):
728         * src/WebWorkerClientImpl.h:
729         * src/WorkerStorageQuotaCallbacksBridge.cpp: Added.
730         (WebKit):
731         (MainThreadStorageQuotaCallbacks):
732         (WebKit::MainThreadStorageQuotaCallbacks::createLeakedPtr):
733         (WebKit::MainThreadStorageQuotaCallbacks::~MainThreadStorageQuotaCallbacks):
734         (WebKit::MainThreadStorageQuotaCallbacks::didQueryStorageUsageAndQuota):
735         (WebKit::MainThreadStorageQuotaCallbacks::didFail):
736         (WebKit::MainThreadStorageQuotaCallbacks::didGrantStorageQuota):
737         (WebKit::MainThreadStorageQuotaCallbacks::MainThreadStorageQuotaCallbacks):
738         (WorkerStorageQuotaContextObserver):
739         (WebKit::WorkerStorageQuotaContextObserver::create):
740         (WebKit::WorkerStorageQuotaContextObserver::notifyStop):
741         (WebKit::WorkerStorageQuotaContextObserver::WorkerStorageQuotaContextObserver):
742         (WebKit::WorkerStorageQuotaCallbacksBridge::stop):
743         (WebKit::WorkerStorageQuotaCallbacksBridge::cleanUpAfterCallback):
744         (WebKit::WorkerStorageQuotaCallbacksBridge::WorkerStorageQuotaCallbacksBridge):
745         (WebKit::WorkerStorageQuotaCallbacksBridge::~WorkerStorageQuotaCallbacksBridge):
746         (WebKit::WorkerStorageQuotaCallbacksBridge::postQueryUsageAndQuotaToMainThread):
747         (WebKit::WorkerStorageQuotaCallbacksBridge::queryUsageAndQuotaOnMainThread):
748         (WebKit::WorkerStorageQuotaCallbacksBridge::didFailOnMainThread):
749         (WebKit::WorkerStorageQuotaCallbacksBridge::didQueryStorageUsageAndQuotaOnMainThread):
750         (WebKit::WorkerStorageQuotaCallbacksBridge::didFailOnWorkerThread):
751         (WebKit::WorkerStorageQuotaCallbacksBridge::didQueryStorageUsageAndQuotaOnWorkerThread):
752         (WebKit::WorkerStorageQuotaCallbacksBridge::runTaskOnMainThread):
753         (WebKit::WorkerStorageQuotaCallbacksBridge::runTaskOnWorkerThread):
754         (WebKit::WorkerStorageQuotaCallbacksBridge::dispatchTaskToMainThread):
755         (WebKit::WorkerStorageQuotaCallbacksBridge::mayPostTaskToWorker):
756         * src/WorkerStorageQuotaCallbacksBridge.h: Added.
757         (WebCore):
758         (WebKit):
759         (WorkerStorageQuotaCallbacksBridge):
760         (WebKit::WorkerStorageQuotaCallbacksBridge::create):
761
762 2013-03-22  Stephen Chenney  <schenney@chromium.org>
763
764         Skia flag removal to enable bug fixes and performance improvements.
765
766         Unreviewed code enabling.
767
768         * skia_webkit.gyp:
769
770 2013-03-22  Tommy Widenflycht  <tommyw@google.com>
771
772         Clean up the speach recognintion API
773         https://bugs.webkit.org/show_bug.cgi?id=112916
774
775         Reviewed by Adam Barth.
776
777         * public/WebSpeechRecognizerClient.h:
778         * src/SpeechRecognitionClientProxy.cpp:
779         * src/SpeechRecognitionClientProxy.h:
780         (SpeechRecognitionClientProxy):
781
782 2013-03-22  Hajime Morrita  <morrita@google.com>
783
784         Custom Elements: "readyCallback" lifecycle callback should be called.
785         https://bugs.webkit.org/show_bug.cgi?id=112538
786
787         Reviewed by Elliott Sprehn.
788
789         * src/WebKit.cpp: Added deliverAllLifecycleCallbacks()
790
791 2013-03-22  Tommy Widenflycht  <tommyw@google.com>
792
793         MediaStream API: Finalize the RTCPeerConnection states
794         https://bugs.webkit.org/show_bug.cgi?id=112792
795
796         Reviewed by Adam Barth.
797
798         * src/AssertMatchingEnums.cpp:
799
800 2013-03-22  Sheriff Bot  <webkit.review.bot@gmail.com>
801
802         Unreviewed, rolling out r146534 and r146565.
803         http://trac.webkit.org/changeset/146534
804         http://trac.webkit.org/changeset/146565
805         https://bugs.webkit.org/show_bug.cgi?id=113017
806
807         "r146534 caused perf regression on Chromium Linux x64"
808         (Requested by yurys on #webkit).
809
810         * src/WebKit.cpp:
811
812 2013-03-21  Hajime Morrita  <morrita@google.com>
813
814         Custom Elements: "readyCallback" lifecycle callback should be called.
815         https://bugs.webkit.org/show_bug.cgi?id=112538
816
817         Reviewed by Elliott Sprehn.
818
819         * src/WebKit.cpp: Added deliverAllLifecycleCallbacks()
820
821 2013-03-21  Garrett Casto  <gcasto@chromium.org>
822
823         [chromium] Add possibleUserNames to WebPasswordFormData
824         https://bugs.webkit.org/show_bug.cgi?id=112375
825
826         Reviewed by Adam Barth.
827
828         * public/WebPasswordFormData.h:
829         (WebPasswordFormData):
830         * src/WebPasswordFormData.cpp:
831         (WebKit::WebPasswordFormData::WebPasswordFormData):
832         * src/WebPasswordFormUtils.cpp:
833         (WebKit::findPasswordFormFields):
834         * src/WebPasswordFormUtils.h:
835         (PasswordFormFields):
836
837 2013-03-21  Terry Anderson  <tdanderson@chromium.org>
838
839         [chromium] Remove SK_SUPPORT_HINTING_SCALE_FACTOR flag and code
840         https://bugs.webkit.org/show_bug.cgi?id=112928
841
842         Reviewed by Stephen White.
843
844         This flag was only for ChromeOS builds with HighDPI. It is no longer needed and can be removed. 
845         See http://crbug.com/17550
846
847         * features.gypi:
848         * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
849         * tests/PlatformContextSkiaTest.cpp:
850
851 2013-03-21  Joshua Bell  <jsbell@chromium.org>
852
853         IndexedDB: Remove onVersionChange(string) plumbing
854         https://bugs.webkit.org/show_bug.cgi?id=112712
855
856         Reviewed by Adam Barth.
857
858         * public/WebIDBDatabaseCallbacks.h: Remove onVersionChange(string) overload.
859         * src/IDBDatabaseCallbacksProxy.cpp: Ditto.
860         * src/IDBDatabaseCallbacksProxy.h: Ditto.
861         * src/WebIDBDatabaseCallbacksImpl.cpp: Ditto.
862         * src/WebIDBDatabaseCallbacksImpl.h: Ditto.
863         * tests/IDBAbortOnCorruptTest.cpp: Ditto.
864         * tests/IDBDatabaseBackendTest.cpp: Ditto.
865
866 2013-03-20  Sheriff Bot  <webkit.review.bot@gmail.com>
867
868         Unreviewed.  Rolled Chromium DEPS to r189497.  Requested by
869         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
870
871         * DEPS:
872
873 2013-03-20  Tien-Ren Chen  <trchen@chromium.org>
874
875         Correct coordinated scrolling for RTL iframe and overflow:scroll
876         https://bugs.webkit.org/show_bug.cgi?id=112088
877
878         Reviewed by James Robinson.
879
880         Added test to ensure RTL iframe has appropriate impl-side scroll position.
881
882         * tests/ScrollingCoordinatorChromiumTest.cpp:
883         (WebKit::TEST_F):
884         (WebKit):
885         * tests/data/rtl-iframe-inner.html: Added.
886         * tests/data/rtl-iframe.html: Added.
887
888 2013-03-20  Yufeng Shen  <miletus@chromium.org>
889
890         Remove PlatformEvent::GestureDoubleTap
891         https://bugs.webkit.org/show_bug.cgi?id=93045
892
893         Reviewed by Antonio Gomes.
894
895         PlatformEvent::GestureDoubleTap is not currently
896         used in WebCore so remove it.
897
898         * src/WebInputEventConversion.cpp:
899         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
900
901 2013-03-20  Justin Novosad  <junov@google.com>
902
903         [Chromium] Code cleanup: removing support for non-deferred 2d canvas rendering
904         https://bugs.webkit.org/show_bug.cgi?id=112605
905
906         Reviewed by James Robinson.
907
908         Deleting all the code that was used for propagating and supporting
909         the Chromium setting for disabling deferred 2d canvas rendering.
910
911         * public/WebSettings.h:
912         (WebKit::WebSettings::setDeferred2dCanvasEnabled):
913         * src/WebSettingsImpl.cpp:
914         (WebKit::WebSettingsImpl::setDeferred2dCanvasEnabled):
915         * tests/Canvas2DLayerBridgeTest.cpp:
916         (Canvas2DLayerBridgeTest::fullLifecycleTest):
917         * tests/Canvas2DLayerManagerTest.cpp:
918         (FakeCanvas2DLayerBridge::FakeCanvas2DLayerBridge):
919
920 2013-03-20  Ken Kania  <kkania@chromium.org>
921
922         Web Inspector: Add promptText param to Page.handleJavaScriptDialog
923         https://bugs.webkit.org/show_bug.cgi?id=112706
924
925         Reviewed by Pavel Feldman.
926
927         * src/InspectorClientImpl.cpp:
928         (WebKit::InspectorClientImpl::handleJavaScriptDialog):
929         * src/InspectorClientImpl.h:
930         (InspectorClientImpl):
931         * src/WebDevToolsAgentImpl.cpp:
932         (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
933         * src/WebDevToolsAgentImpl.h:
934         (WebDevToolsAgentImpl):
935
936 2013-03-19  Mark Pilgrim  <pilgrim@chromium.org>
937
938         [Chromium] Migrate to WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
939         https://bugs.webkit.org/show_bug.cgi?id=112754
940
941         Reviewed by Darin Fisher.
942
943         Remove old code behind ifndef WEBKIT_USE_NEW_WEBFILESYSTEMTYPE
944         now that it's always defined.
945
946         * public/WebCommonWorkerClient.h:
947         (WebCommonWorkerClient):
948         * public/WebFrame.h:
949         (WebFrame):
950         * public/WebFrameClient.h:
951         (WebFrameClient):
952         (WebKit::WebFrameClient::openFileSystem):
953         (WebKit::WebFrameClient::deleteFileSystem):
954         * src/LocalFileSystemChromium.cpp:
955         (WebCore):
956         (WebCore::openFileSystemHelper):
957         (WebCore::LocalFileSystem::deleteFileSystem):
958         * src/WebFrameImpl.cpp:
959         * src/WebFrameImpl.h:
960         (WebFrameImpl):
961         * src/WebWorkerClientImpl.cpp:
962         (WebKit::WebWorkerClientImpl::openFileSystem):
963         * src/WebWorkerClientImpl.h:
964         * src/WorkerFileSystemCallbacksBridge.cpp:
965         * src/WorkerFileSystemCallbacksBridge.h:
966         (WorkerFileSystemCallbacksBridge):
967
968 2013-03-19  Kenneth Russell  <kbr@google.com>
969
970         Unreviewed, rolling out r146277.
971         http://trac.webkit.org/changeset/146277
972         https://bugs.webkit.org/show_bug.cgi?id=111695
973
974         Broke Chromium Android build
975
976         * features.gypi:
977
978 2013-03-19  James Robinson  <jamesr@chromium.org>
979
980         [chromium] Remove compositor settings that don't go through WebKit
981         https://bugs.webkit.org/show_bug.cgi?id=112718
982
983         Reviewed by Adam Barth.
984
985         This removes settings that used to propagate through WebLayerTreeView::Settings by way of WebViewImpl but are
986         now directly set by the embedder.
987
988         * public/WebSettings.h:
989         * src/WebSettingsImpl.cpp:
990         (WebKit::WebSettingsImpl::WebSettingsImpl):
991         * src/WebSettingsImpl.h:
992         (WebSettingsImpl):
993
994 2013-03-19  Alpha Lam  <hclam@chromium.org>
995
996         GIFImageReader to count frames and decode in one pass
997         https://bugs.webkit.org/show_bug.cgi?id=111144
998
999         Reviewed by Stephen White.
1000
1001         Added a new GIF unit test for progressive decoding. The test is to verify
1002         that continually re-decoding an image one additional byte at a time produces
1003         the same outputs as repeatedly decoding (with brand new decoders) truncated
1004         versions of the image that are one byte longer each time.
1005
1006         * tests/GIFImageDecoderTest.cpp:
1007         (WebKit::TEST):
1008
1009 2013-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1010
1011         Unreviewed.  Rolled Chromium DEPS to r189038.  Requested by
1012         "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
1013
1014         * DEPS:
1015
1016 2013-03-19  Alexei Filippov  <alph@chromium.org>
1017
1018         Web Inspector: Remove flaky part of testRendererProcessNativeMemorySize test.
1019         https://bugs.webkit.org/show_bug.cgi?id=112703
1020
1021         Reviewed by Yury Semikhatsky.
1022
1023         The memory increase size check happened to be flaky. Remove it.
1024
1025         * src/js/Tests.js:
1026         (.TestSuite.prototype.testRendererProcessNativeMemorySize.step1):
1027         (.TestSuite.prototype.testRendererProcessNativeMemorySize):
1028
1029 2013-03-18  W. James MacLean  <wjmaclean@chromium.org>
1030
1031         [chromium] Remove NCCH code that relies on boundsContainsPageScale().
1032         https://bugs.webkit.org/show_bug.cgi?id=112465
1033
1034         Reviewed by James Robinson.
1035
1036         The boundContainsPageScale API is going away, remove code that relies
1037         on it.
1038
1039         * src/NonCompositedContentHost.cpp:
1040         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
1041         (WebKit::NonCompositedContentHost::setViewport):
1042
1043 2013-03-18  Alec Flett  <alecflett@chromium.org>
1044
1045         IndexedDB: Protect against key prefix overflows
1046         https://bugs.webkit.org/show_bug.cgi?id=111138
1047
1048         Reviewed by Tony Chang.
1049
1050         Add tests for invalid indexIds in basic get/put operations.
1051
1052 2013-03-18  Mark Pilgrim  <pilgrim@chromium.org>
1053
1054         [Chromium] Create WebFileSystemType enum to allow easier filesystem refactoring
1055         https://bugs.webkit.org/show_bug.cgi?id=112571
1056
1057         Reviewed by Adam Barth.
1058
1059         Update function declarations for new WebFileSystemType enum. (All
1060         changes are behind an #ifdef so we can sync required changes in embedders.)
1061
1062         * public/WebCommonWorkerClient.h:
1063         (WebCommonWorkerClient):
1064         (WebKit::WebCommonWorkerClient::openFileSystem):
1065         * public/WebFrame.h:
1066         (WebFrame):
1067         * public/WebFrameClient.h:
1068         (WebFrameClient):
1069         (WebKit::WebFrameClient::openFileSystem):
1070         (WebKit::WebFrameClient::deleteFileSystem):
1071         * src/LocalFileSystemChromium.cpp:
1072         (WebCore):
1073         (WebCore::openFileSystemHelper):
1074         (WebCore::LocalFileSystem::deleteFileSystem):
1075         * src/WebFrameImpl.cpp:
1076         (WebKit):
1077         (WebKit::WebFrameImpl::createFileSystem):
1078         (WebKit::WebFrameImpl::createSerializableFileSystem):
1079         (WebKit::WebFrameImpl::createFileEntry):
1080         * src/WebFrameImpl.h:
1081         (WebFrameImpl):
1082         * src/WebWorkerClientImpl.cpp:
1083         (WebKit):
1084         (WebKit::WebWorkerClientImpl::openFileSystem):
1085         * src/WebWorkerClientImpl.h:
1086         * src/WorkerFileSystemCallbacksBridge.cpp:
1087         (WebKit):
1088         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1089         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1090         * src/WorkerFileSystemCallbacksBridge.h:
1091         (WorkerFileSystemCallbacksBridge):
1092
1093 2013-03-18  John Knottenbelt  <jknotten@chromium.org>
1094
1095         [Chromium] Compositor is applying scroll offset using 'programmatic' API
1096         https://bugs.webkit.org/show_bug.cgi?id=109712
1097
1098         Reviewed by James Robinson.
1099
1100         Ensure that the compositor uses non-programmatic APIs to scroll and
1101         scale.
1102
1103         * src/WebViewImpl.cpp:
1104         (WebKit::WebViewImpl::setPageScaleFactor):
1105         (WebKit::WebViewImpl::updateMainFrameScrollPosition):
1106         (WebKit):
1107         (WebKit::WebViewImpl::applyScrollAndScale):
1108         * src/WebViewImpl.h:
1109         (WebViewImpl):
1110         * tests/WebFrameTest.cpp:
1111         * tests/WebViewTest.cpp:
1112         * tests/data/long_scroll.html: Added.
1113         * tests/data/short_scroll.html: Added.
1114
1115 2013-03-18  Tao Bai  <michaelbai@chromium.org>
1116
1117         Access settings.defaultVideoPosterURL
1118         https://bugs.webkit.org/show_bug.cgi?id=112378
1119
1120         Reviewed by Dimitri Glazkov.
1121
1122         The defaultVideoPosterURL setting has been added in
1123         https://bugs.webkit.org/show_bug.cgi?id=110263,
1124         this added methods to access it in Chromium.
1125         The settings will be used by Android WebView API
1126         WebChromeClient.getDefaultVideoPoster()
1127
1128         * public/WebSettings.h: add setDefaultVideoPosterURL
1129         * src/WebSettingsImpl.cpp:
1130         (WebKit::WebSettingsImpl::setDefaultVideoPosterURL): set defaultVideoPosterURL
1131         * src/WebSettingsImpl.h: add setDefaultVideoPosterURL
1132
1133 2013-03-17  Adam Barth  <abarth@webkit.org>
1134
1135         [Chromium] Remove unused WebNode::hasEventListeners API
1136         https://bugs.webkit.org/show_bug.cgi?id=112529
1137
1138         Reviewed by James Robinson.
1139
1140         This API no longer has any callers and can be removed.
1141
1142         * public/WebNode.h:
1143         * src/WebNode.cpp:
1144
1145 2013-03-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1146
1147         Unreviewed, rolling out r145898.
1148         http://trac.webkit.org/changeset/145898
1149         https://bugs.webkit.org/show_bug.cgi?id=112512
1150
1151         Causing flakiness on webkit_unit_tests on android bots on
1152         chromium.webkit and chromium.linux (Requested by jochen__ on
1153         #webkit).
1154
1155         * src/WebViewImpl.cpp:
1156         (WebKit::WebViewImpl::setPageScaleFactor):
1157         (WebKit::WebViewImpl::applyScrollAndScale):
1158         * src/WebViewImpl.h:
1159         (WebViewImpl):
1160         * tests/WebFrameTest.cpp:
1161         * tests/WebViewTest.cpp:
1162
1163 2013-03-16  Hans Wennborg  <hans@chromium.org>
1164
1165         Remove redundant checks from WebInputEvent::isGestureEventType
1166         https://bugs.webkit.org/show_bug.cgi?id=112503
1167
1168         Reviewed by Darin Fisher.
1169
1170         GesturePinchBegin, GesturePinchEnd and GesturePinchUpdate were checked
1171         for twice.
1172
1173         This was found by experimenting with a potential new Clang warning.
1174
1175         * public/WebInputEvent.h:
1176         (WebKit::WebInputEvent::isGestureEventType):
1177
1178 2013-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1179
1180         Unreviewed.  Rolled Chromium DEPS to r188504.  Requested by
1181         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
1182
1183         * DEPS:
1184
1185 2013-03-15  Fady Samuel  <fsamuel@chromium.org>
1186
1187         [Chromium] Focus Plugin on TouchStart
1188         https://bugs.webkit.org/show_bug.cgi?id=112385
1189
1190         Reviewed by Adam Barth.
1191
1192         * src/WebPluginContainerImpl.cpp:
1193         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1194         * src/WebPluginContainerImpl.h:
1195         (WebPluginContainerImpl):
1196
1197 2013-03-15  Jochen Eisinger  <jochen@chromium.org>
1198
1199         Expose whether a UserGestureToken still has gestures via WebKit API
1200         https://bugs.webkit.org/show_bug.cgi?id=112342
1201
1202         Reviewed by Adam Barth.
1203
1204         * public/WebUserGestureToken.h:
1205         (WebUserGestureToken):
1206         * src/WebUserGestureToken.cpp:
1207         (WebKit::WebUserGestureToken::hasGestures):
1208         (WebKit):
1209         * tests/WebUserGestureTokenTest.cpp:
1210         (WebCore::TEST):
1211
1212 2013-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1213
1214         Unreviewed.  Rolled Chromium DEPS to r188418.  Requested by
1215         "Adam Barth" <abarth@webkit.org> via sheriffbot.
1216
1217         * DEPS:
1218
1219 2013-03-15  Joshua Bell  <jsbell@chromium.org>
1220
1221         IndexedDB: Handle success events arriving after context stopped
1222         https://bugs.webkit.org/show_bug.cgi?id=112451
1223
1224         Reviewed by Tony Chang.
1225
1226         * tests/IDBRequestTest.cpp:
1227         (WebKit::TEST_F): Add cases for onSuccess() and onSuccess(int64_t)
1228
1229 2013-03-15  Nate Chapin  <japhet@chromium.org>
1230
1231         Hide MainResourceLoader from the outside world
1232         https://bugs.webkit.org/show_bug.cgi?id=109971
1233
1234         Reviewed by Adam Barth.
1235
1236         * src/FrameLoaderClientImpl.cpp:
1237         (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
1238         * src/FrameLoaderClientImpl.h:
1239         (FrameLoaderClientImpl):
1240
1241 2013-03-15  Abhishek Arya  <inferno@chromium.org>
1242
1243         Replace static_casts with to* helper functions.
1244         https://bugs.webkit.org/show_bug.cgi?id=112401
1245
1246         Reviewed by Stephen Chenney.
1247
1248         to* helper functions are preferred over static_cast calls since they
1249         help to catch bad casts easily on the testing infrastructure.
1250
1251         * src/WebPluginContainerImpl.cpp:
1252         (WebKit::WebPluginContainerImpl::scrollRect):
1253         (WebKit::WebPluginContainerImpl::setWantsWheelEvents):
1254         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1255         * tests/ScrollingCoordinatorChromiumTest.cpp:
1256         (WebKit::TEST_F):
1257
1258 2013-03-15  Marja Hölttä  <marja@chromium.org>
1259
1260         [V8] Store main world and non-main world templates separately.
1261         https://bugs.webkit.org/show_bug.cgi?id=111724
1262
1263         Reviewed by Jochen Eisinger.
1264
1265         This is needed for generating specialized bindings for the main
1266         world (bug 110874).
1267
1268         * src/WebArrayBuffer.cpp:
1269         (WebKit::WebArrayBuffer::createFromV8Value):
1270         * src/WebArrayBufferView.cpp:
1271         (WebKit::WebArrayBufferView::createFromV8Value):
1272         * src/WebBindings.cpp:
1273         (WebKit::getRangeImpl):
1274         (WebKit::getNodeImpl):
1275         (WebKit::getElementImpl):
1276         (WebKit::getArrayBufferImpl):
1277         (WebKit::getArrayBufferViewImpl):
1278
1279 2013-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1280
1281         Unreviewed, rolling out r145802.
1282         http://trac.webkit.org/changeset/145802
1283         https://bugs.webkit.org/show_bug.cgi?id=112444
1284
1285         This broke Chrome. (Requested by marja____ on #webkit).
1286
1287         * src/WebArrayBuffer.cpp:
1288         (WebKit::WebArrayBuffer::createFromV8Value):
1289         * src/WebArrayBufferView.cpp:
1290         (WebKit::WebArrayBufferView::createFromV8Value):
1291         * src/WebBindings.cpp:
1292         (WebKit::getRangeImpl):
1293         (WebKit::getNodeImpl):
1294         (WebKit::getElementImpl):
1295         (WebKit::getArrayBufferImpl):
1296         (WebKit::getArrayBufferViewImpl):
1297
1298 2013-03-15  John Knottenbelt  <jknotten@chromium.org>
1299
1300         [Chromium] Compositor is applying scroll offset using 'programmatic' API
1301         https://bugs.webkit.org/show_bug.cgi?id=109712
1302
1303         Reviewed by James Robinson.
1304
1305         Ensure that the compositor uses non-programmatic APIs to scroll and
1306         scale.
1307
1308         * src/WebViewImpl.cpp:
1309         (WebKit::WebViewImpl::setPageScaleFactor):
1310         (WebKit::WebViewImpl::updateMainFrameScrollPosition):
1311         (WebKit):
1312         (WebKit::WebViewImpl::applyScrollAndScale):
1313         * src/WebViewImpl.h:
1314         (WebViewImpl):
1315         * tests/WebFrameTest.cpp:
1316         * tests/WebViewTest.cpp:
1317
1318 2013-03-14  Dana Jansens  <danakj@chromium.org>
1319
1320         [chromium] Make zoom filter independent of the layer size.
1321         https://bugs.webkit.org/show_bug.cgi?id=112221
1322
1323         Reviewed by Stephen White.
1324
1325         * tests/FilterOperationsTest.cpp:
1326         (WebKit):
1327         (WebKit::TEST):
1328
1329 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
1330
1331         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
1332         https://bugs.webkit.org/show_bug.cgi?id=109404
1333
1334         Reviewed by Tony Chang.
1335
1336         Use new Page settings for smartInsertDeleteEnabled and
1337         selectTrailingWhitespaceEnabled and update API accordingly.
1338
1339         WebSettings API is required by DRT in order to set the proper default
1340         values which are different from browser defaults.
1341
1342         * public/WebSettings.h: Add new API to manage smartInsertDeleteEnabled
1343         and selectTrailingWhitespaceEnabled settings.
1344         * public/WebViewClient.h: Remove API related to smartInsertDeleteEnabled
1345         and selectTrailingWhitespaceEnabled as they will be managed from page
1346         settings from now on.
1347         * src/EditorClientImpl.cpp:
1348         (WebKit::EditorClientImpl::smartInsertDeleteEnabled):
1349         (WebKit::EditorClientImpl::isSelectTrailingWhitespaceEnabled): Use new
1350         settings for smartInsertDeleteEnabled and
1351         selectTrailingWhitespaceEnabled.
1352         * src/WebSettingsImpl.cpp: Implement methods establishing the page
1353         settings.
1354         (WebKit::WebSettingsImpl::setSelectTrailingWhitespaceEnabled):
1355         (WebKit):
1356         (WebKit::WebSettingsImpl::setSmartInsertDeleteEnabled):
1357         * src/WebSettingsImpl.h:
1358         (WebSettingsImpl): Implement new API to manage the new settings.
1359
1360 2013-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1361
1362         Unreviewed.  Rolled Chromium DEPS to r188004.  Requested by
1363         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
1364
1365         * DEPS:
1366
1367 2013-03-14  James Robinson  <jamesr@chromium.org>
1368
1369         [chromium] Add tools/protoc_wrapper to directories pulled in Chromium-in-WebKit configuration
1370         https://bugs.webkit.org/show_bug.cgi?id=112363
1371
1372         Reviewed by Kenneth Russell.
1373
1374         Chromium r187704 added a reference to this script to src/gpu/gpu.gyp, which we pull in the Chromium-in-WebKit
1375         configuration. This adds the script to DEPS so we can roll past that rev.
1376
1377         * DEPS:
1378
1379 2013-03-14  Abhishek Arya  <inferno@chromium.org>
1380
1381         Replace static_casts with to* helper functions.
1382         https://bugs.webkit.org/show_bug.cgi?id=112296
1383
1384         Reviewed by Kentaro Hara.
1385
1386         to* helper functions are preferred over static_cast calls since they
1387         help to catch bad casts easily on the testing infrastructure.
1388
1389         * src/WebDocument.cpp:
1390         (WebKit::WebDocument::images):
1391         * src/WebElement.cpp:
1392         (WebKit::WebElement::operator PassRefPtr<Element>):
1393         * src/WebPageSerializer.cpp:
1394         (WebCore::retrieveResourcesForFrame):
1395         * src/WebViewImpl.cpp:
1396         (WebKit::WebViewImpl::setFocus):
1397         (WebKit::WebViewImpl::clearFocusedNode):
1398         (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
1399         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1400
1401 2013-03-14  Marja Hölttä  <marja@chromium.org>
1402
1403         [V8] Store main world and non-main world templates separately.
1404         https://bugs.webkit.org/show_bug.cgi?id=111724
1405
1406         Reviewed by Jochen Eisinger.
1407
1408         This is needed for generating specialized bindings for the main
1409         world (bug 110874).
1410
1411         * src/WebArrayBuffer.cpp:
1412         (WebKit::WebArrayBuffer::createFromV8Value):
1413         * src/WebArrayBufferView.cpp:
1414         (WebKit::WebArrayBufferView::createFromV8Value):
1415         * src/WebBindings.cpp:
1416         (WebKit::getRangeImpl):
1417         (WebKit::getNodeImpl):
1418         (WebKit::getElementImpl):
1419         (WebKit::getArrayBufferImpl):
1420         (WebKit::getArrayBufferViewImpl):
1421
1422 2013-03-13  Rik Cabanier  <cabanier@adobe.com>
1423
1424         create runtime flags for CSS Compositing
1425         https://bugs.webkit.org/show_bug.cgi?id=111818
1426
1427         Reviewed by Ryosuke Niwa.
1428
1429         Added a runtime flags to enable CSS compositing for chromium.
1430
1431         * public/WebRuntimeFeatures.h:
1432         (WebRuntimeFeatures):
1433         * src/WebRuntimeFeatures.cpp:
1434         (WebKit::WebRuntimeFeatures::enableCSSCompositing):
1435         (WebKit):
1436         (WebKit::WebRuntimeFeatures::isCSSCompositingEnabled):
1437
1438 2013-03-11  Kinuko Yasuda  <kinuko@chromium.org>
1439
1440         Quota API: Update IDL to make it match the latest WD
1441         https://bugs.webkit.org/show_bug.cgi?id=88396
1442
1443         Reviewed by Adam Barth.
1444
1445         Add a new interface object (navigator.StorageQuota) and deprecate the old one (window.StorageInfo)
1446         to make the code match with the latest Quota API WD:
1447         http://www.w3.org/TR/quota-api/
1448
1449         * WebKit.gyp:
1450         * src/AssertMatchingEnums.cpp:
1451         * src/StorageQuotaChromium.cpp: Renamed from Source/WebKit/chromium/src/StorageInfoChromium.cpp.
1452         (WebCore):
1453         (WebCore::StorageQuota::queryUsageAndQuota):
1454         (WebCore::StorageQuota::requestQuota):
1455         * src/WebStorageQuotaCallbacksImpl.cpp:
1456         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
1457         * src/WebStorageQuotaCallbacksImpl.h:
1458         (WebCore):
1459         (WebStorageQuotaCallbacksImpl):
1460
1461 2013-03-13  Chris Palmer  <palmer@google.com>
1462
1463         Enable V8 binding integriy on Android.
1464         https://bugs.webkit.org/show_bug.cgi?id=112297
1465
1466         Reviewed by Adam Barth.
1467
1468         * features.gypi:
1469
1470 2013-03-13  Michael Nordman  <michaeln@google.com>
1471
1472         [Chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
1473         No longer send a |blobURL| to the browser process, no longer expect the browser process
1474         to have registered a blob with that url.
1475         https://bugs.webkit.org/show_bug.cgi?id=108851
1476
1477         Reviewed by Adam Barth.
1478
1479         * src/AsyncFileSystemChromium.cpp:
1480         (WebCore):
1481         (WebCore::FileWriterHelperCallbacks::didCreateSnapshotFile):
1482         (WebCore::AsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
1483         * src/AsyncFileSystemChromium.h:
1484         (AsyncFileSystemChromium):
1485         * src/LocalFileSystemChromium.cpp:
1486         (WebCore):
1487         * src/WebFileSystemCallbacksImpl.cpp:
1488         (WebKit::WebFileSystemCallbacksImpl::didCreateSnapshotFile):
1489         (WebKit):
1490         * src/WebFileSystemCallbacksImpl.h:
1491         (WebCore):
1492         (WebFileSystemCallbacksImpl):
1493         * src/WorkerAsyncFileSystemChromium.cpp:
1494         (WebCore::WorkerAsyncFileSystemChromium::createSnapshotFileAndReadMetadata):
1495         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
1496         * src/WorkerFileSystemCallbacksBridge.cpp:
1497         (WebKit::MainThreadFileSystemCallbacks::didCreateSnapshotFile):
1498         (MainThreadFileSystemCallbacks):
1499         (WebKit::WorkerFileSystemCallbacksBridge::postCreateSnapshotFileToMainThread):
1500         (WebKit::WorkerFileSystemCallbacksBridge::createSnapshotFileOnMainThread):
1501         (WebKit::WorkerFileSystemCallbacksBridge::didCreateSnapshotFileOnMainThread):
1502         (WebKit):
1503         (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
1504         (WebKit::WorkerFileSystemCallbacksBridge::didCreateSnapshotFileOnWorkerThread):
1505         * src/WorkerFileSystemCallbacksBridge.h:
1506         (WebCore):
1507         (WebKit):
1508         (WebKit::WorkerFileSystemCallbacksBridge::create):
1509         (WorkerFileSystemCallbacksBridge):
1510
1511 2013-03-13  Adam Barth  <abarth@webkit.org>
1512
1513         [Chromium] Restrict WebNode::addEventListener and friends to a whitelist of event types
1514         https://bugs.webkit.org/show_bug.cgi?id=112195
1515
1516         Reviewed by Eric Seidel.
1517
1518         Chromium only uses these APIs in extremely narrow ways. In order to
1519         discourage Chromium from using these APIs in broader ways, this patch
1520         restricts the APIs to a small whitelist of event types.
1521
1522         We might want to add some sort of flag to let CEF use expose these APIs
1523         more broadly.
1524
1525         * WebKit.gypi:
1526         * public/WebNode.h:
1527         * src/WebNode.cpp:
1528         (WebKit::WebNode::hasEventListeners):
1529         (WebKit::WebNode::addEventListener):
1530         * tests/EventListenerTest.cpp: Removed.
1531             - These tests of DOM mutation events are no longer needed because we
1532               don't support listening for DOM mutation events via the API
1533               anymore.
1534
1535 2013-03-13  Stephen Chenney  <schenney@chromium.org>
1536
1537         Add new Skia code suppression flags
1538
1539         Unreviewed build update.
1540
1541         * skia_webkit.gyp: Add 'SK_DISABLE_BLUR_ROUNDING', 'SK_IGNORE_SUBPIXEL_AXIS_ALIGN_FIX',
1542             'SK_IGNORE_PICTURE_RECORD_SAVE_LAYER_OPT', 'SK_IGNORE_FAST_RECT_BLUR', 'SK_IGNORE_CUBIC_STROKE_FIX'
1543
1544 2013-03-13  Aaron Colwell  <acolwell@chromium.org>
1545
1546         Cleanup dead MediaSource code now that the Chromium-side refactor is complete.
1547         https://bugs.webkit.org/show_bug.cgi?id=110371
1548
1549         Reviewed by Adam Barth.
1550
1551         * public/WebMediaPlayer.h:
1552         (WebKit):
1553         (WebMediaPlayer): Remove old MediaSource methods and default MediaSource load() implementation.
1554         * public/WebMediaPlayerClient.h: Remove old MediaSource methods.
1555         * src/WebMediaPlayerClientImpl.cpp: Remove WebMediaSourceClientImpl & WebSourceBufferImpl classes that
1556                                             are no longer needed.
1557         * src/WebMediaPlayerClientImpl.h: Remove old MediaSource methods.
1558         (WebMediaPlayerClientImpl):
1559
1560 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
1561
1562         Web Inspector: get rid of hiddenPanels filter
1563         https://bugs.webkit.org/show_bug.cgi?id=112252
1564
1565         Reviewed by Vsevolod Vlasov.
1566
1567         * src/InspectorFrontendClientImpl.cpp:
1568         * src/InspectorFrontendClientImpl.h:
1569         (InspectorFrontendClientImpl):
1570
1571 2013-03-13  Mikhail Naganov  <mnaganov@chromium.org>
1572
1573         [Chromium] Rename android_build_type to android_webview_build in .gyp files.
1574         https://bugs.webkit.org/show_bug.cgi?id=112129
1575
1576         Reviewed by Adam Barth.
1577
1578         Following Chromium
1579         http://src.chromium.org/viewvc/chrome?view=rev&revision=187556
1580         this is being renamed to better explain what it does.
1581
1582         * WebKitUnitTests.gyp:
1583
1584 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
1585
1586         Web Inspector: convert workers inspection into capability
1587         https://bugs.webkit.org/show_bug.cgi?id=112251
1588
1589         Reviewed by Vsevolod Vlasov.
1590
1591         * src/InspectorFrontendClientImpl.cpp:
1592         * src/InspectorFrontendClientImpl.h:
1593         (InspectorFrontendClientImpl):
1594
1595 2013-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1596
1597         Unreviewed.  Rolled Chromium DEPS to r187688.  Requested by
1598         "James Robinson" <jamesr@chromium.org> via sheriffbot.
1599
1600         * DEPS:
1601
1602 2013-03-12  Jun Jiang  <jun.a.jiang@intel.com>
1603
1604         Enable GPU-GPU texture copy in texImage2D() for HTMLVideoElement if hardware accelerated video decode is in use
1605         https://bugs.webkit.org/show_bug.cgi?id=111126
1606
1607         Reviewed by Kenneth Russell.
1608
1609         * public/WebMediaPlayer.h:
1610         (WebKit::WebMediaPlayer::copyVideoTextureToPlatformTexture):
1611         * src/WebMediaPlayerClientImpl.cpp:
1612         (WebKit::WebMediaPlayerClientImpl::copyVideoTextureToPlatformTexture): do a GPU-GPU textures copy if possible.
1613         * src/WebMediaPlayerClientImpl.h:
1614         (WebMediaPlayerClientImpl):
1615
1616 2013-03-12  Adam Barth  <abarth@webkit.org>
1617
1618         [Chromium] WebFrame event listener APIs are unused and can be removed
1619         https://bugs.webkit.org/show_bug.cgi?id=112189
1620
1621         Reviewed by Darin Fisher.
1622
1623         As far as I can tell, there are no callers for these APIs. They appear
1624         to have been added for out-of-process postMessages, but those are now
1625         implemented using a different mechanism.
1626
1627         * public/WebFrame.h:
1628         (WebFrame):
1629         * src/WebFrameImpl.cpp:
1630         * src/WebFrameImpl.h:
1631         (WebFrameImpl):
1632
1633 2013-03-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1634
1635         Unreviewed.  Rolled Chromium DEPS to r187660.  Requested by
1636         "Adam Barth" <abarth@webkit.org> via sheriffbot.
1637
1638         * DEPS:
1639
1640 2013-03-12  Adam Barth  <abarth@webkit.org>
1641
1642         [Chromium] Remove WEBKIT_USING_V8 from the WebKit API
1643         https://bugs.webkit.org/show_bug.cgi?id=112120
1644
1645         Reviewed by Tony Chang.
1646
1647         Chromium always uses V8. This macro has outlived it's usefulness. It's
1648         now just noise.
1649
1650         * README:
1651         * public/WebArrayBuffer.h:
1652         (WebArrayBuffer):
1653         * public/WebArrayBufferView.h:
1654         (WebArrayBufferView):
1655         * public/WebBindings.h:
1656         (WebBindings):
1657         * public/WebBlob.h:
1658         (WebBlob):
1659         * public/WebFrame.h:
1660         (WebFrame):
1661         * public/WebFrameClient.h:
1662         * public/WebSerializedScriptValue.h:
1663         (WebSerializedScriptValue):
1664         * src/WebArrayBuffer.cpp:
1665         (WebKit::WebArrayBuffer::createFromV8Value):
1666         * src/WebArrayBufferView.cpp:
1667         (WebKit::WebArrayBufferView::createFromV8Value):
1668         * src/WebBindings.cpp:
1669         (WebKit::WebBindings::toV8Value):
1670         * src/WebBlob.cpp:
1671         (WebKit::WebBlob::toV8Value):
1672         * src/WebFrameImpl.cpp:
1673         (WebKit::WebFrame::frameForContext):
1674         * src/WebFrameImpl.h:
1675         (WebFrameImpl):
1676         * src/WebSerializedScriptValue.cpp:
1677         (WebKit::WebSerializedScriptValue::serialize):
1678         (WebKit::WebSerializedScriptValue::deserialize):
1679
1680 2013-03-12  Abhishek Arya  <inferno@chromium.org>
1681
1682         Replace static_casts with to* functions.
1683         https://bugs.webkit.org/show_bug.cgi?id=112072
1684
1685         Reviewed by Philip Rogers.
1686
1687         to* functions are preferred over static_cast calls since they
1688         help to catch bad casts easily on the testing infrastructure.
1689
1690         * src/ChromeClientImpl.cpp:
1691         (WebKit::ChromeClientImpl::focusedNodeChanged):
1692         * src/ContextMenuClientImpl.cpp:
1693         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1694         * src/DOMUtilitiesPrivate.cpp:
1695         (WebCore::toHTMLElement):
1696         * src/WebSearchableFormData.cpp:
1697         (HTMLNames::IsSelectInDefaultState):
1698
1699 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1700
1701         Unreviewed, rolling out r145462.
1702         http://trac.webkit.org/changeset/145462
1703         https://bugs.webkit.org/show_bug.cgi?id=112097
1704
1705         Compilation failure in PluginView.cpp (Requested by jamesr_ on
1706         #webkit).
1707
1708         * src/ChromeClientImpl.cpp:
1709         (WebKit::ChromeClientImpl::focusedNodeChanged):
1710         * src/ContextMenuClientImpl.cpp:
1711         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1712         * src/DOMUtilitiesPrivate.cpp:
1713         (WebCore::toHTMLElement):
1714         * src/WebSearchableFormData.cpp:
1715         (HTMLNames::IsSelectInDefaultState):
1716
1717 2013-03-11  Abhishek Arya  <inferno@chromium.org>
1718
1719         Replace static_casts with to* functions.
1720         https://bugs.webkit.org/show_bug.cgi?id=112072
1721
1722         Reviewed by Philip Rogers.
1723
1724         to* functions are preferred over static_cast calls since they
1725         help to catch bad casts easily on the testing infrastructure.
1726
1727         * src/ChromeClientImpl.cpp:
1728         (WebKit::ChromeClientImpl::focusedNodeChanged):
1729         * src/ContextMenuClientImpl.cpp:
1730         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1731         * src/DOMUtilitiesPrivate.cpp:
1732         (WebCore::toHTMLElement):
1733         * src/WebSearchableFormData.cpp:
1734         (HTMLNames::IsSelectInDefaultState):
1735
1736 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1737
1738         Unreviewed.  Rolled Chromium DEPS to r187216.  Requested by
1739         "James Robinson" <jamesr@chromium.org> via sheriffbot.
1740
1741         * DEPS:
1742
1743 2013-03-11  Jochen Eisinger  <jochen@chromium.org>
1744
1745         Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
1746         https://bugs.webkit.org/show_bug.cgi?id=111959
1747
1748         Reviewed by Alexey Proskuryakov.
1749
1750         * src/WebFrameImpl.cpp:
1751         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1752         * src/WebNotification.cpp:
1753         (WebKit::WebNotification::dispatchClickEvent):
1754         * src/WebPluginContainerImpl.cpp:
1755         (WebKit::WebPluginContainerImpl::handleEvent):
1756         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1757         * src/WebScopedUserGesture.cpp:
1758         (WebKit::WebScopedUserGesture::initialize):
1759         * tests/WebUserGestureTokenTest.cpp:
1760         (WebCore::TEST):
1761
1762 2013-03-11  Mark Pilgrim  <pilgrim@chromium.org>
1763
1764         [Chromium] Move WebFileSystemCallbacks to Platform/
1765         https://bugs.webkit.org/show_bug.cgi?id=112049
1766
1767         Reviewed by Adam Barth.
1768
1769         In preparation for moving filesystem-related methods from
1770         WebFrameClient to Platform.
1771
1772         * WebKit.gyp:
1773         * public/WebFileError.h:
1774         * public/WebFileSystemCallbacks.h:
1775         * public/WebFileSystemEntry.h:
1776         * public/WebFileWriterClient.h:
1777         * src/AssertMatchingEnums.cpp:
1778         * src/AsyncFileWriterChromium.h:
1779         * src/LocalFileSystemChromium.cpp:
1780         * src/WebFileSystemCallbacksImpl.cpp:
1781         * src/WebFileSystemCallbacksImpl.h:
1782         * src/WebSharedWorkerImpl.cpp:
1783         * src/WebWorkerClientImpl.cpp:
1784         * src/WorkerFileSystemCallbacksBridge.cpp:
1785         * src/WorkerFileSystemCallbacksBridge.h:
1786         * src/WorkerFileWriterCallbacksBridge.h:
1787
1788 2013-03-11  Abhishek Arya  <inferno@chromium.org>
1789
1790         Replace static_cast with to* helper functions.
1791         https://bugs.webkit.org/show_bug.cgi?id=112045
1792
1793         Reviewed by Eric Seidel.
1794
1795         * src/WebFrameImpl.cpp:
1796         (WebKit::WebFrameImpl::findChildByExpression):
1797         (WebKit::WebFrameImpl::fromFrameOwnerElement):
1798         * src/WebHelperPluginImpl.cpp:
1799         (WebKit::WebHelperPluginImpl::getPlugin):
1800         * src/WebMediaPlayerClientImpl.cpp:
1801         (WebKit::WebMediaPlayerClientImpl::loadInternal):
1802         (WebKit::WebMediaPlayerClientImpl::create):
1803         * src/WebPageSerializerImpl.cpp:
1804         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
1805         (WebKit::WebPageSerializerImpl::endTagToString):
1806         (WebKit::WebPageSerializerImpl::buildContentForNode):
1807         (WebKit::WebPageSerializerImpl::collectTargetFrames):
1808         * src/WebViewImpl.cpp:
1809         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1810         (WebKit::WebViewImpl::enterFullScreenForElement):
1811
1812 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1813
1814         Unreviewed, rolling out r145435.
1815         http://trac.webkit.org/changeset/145435
1816         https://bugs.webkit.org/show_bug.cgi?id=112082
1817
1818         Still does not compile (Requested by jamesr on #webkit).
1819
1820         * tests/IDBBackingStoreTest.cpp:
1821         (WebCore::IDBBackingStoreTest::SetUp):
1822         (IDBBackingStoreTest):
1823         (WebCore::TEST_F):
1824         * tests/IDBFakeBackingStore.h:
1825         * tests/IDBLevelDBCodingTest.cpp:
1826         (IDBLevelDBCoding):
1827         (IDBLevelDBCoding::TEST):
1828
1829 2013-03-11  Alec Flett  <alecflett@chromium.org>
1830
1831         IndexedDB: Protect against key prefix overflows
1832         https://bugs.webkit.org/show_bug.cgi?id=111138
1833
1834         Reviewed by Tony Chang.
1835
1836         Add tests for invalid indexIds in basic get/put operations.
1837
1838 2013-03-11  Xiyuan Xia  <xiyuan@chromium.org>
1839
1840         [Chromium] chromium/linux breaks expectation of select popup background due to bad UA css rules
1841         https://bugs.webkit.org/show_bug.cgi?id=111873
1842
1843         Reviewed by Tony Chang.
1844
1845         Update PopupMenuStyle constructor call sites.
1846
1847         * src/AutofillPopupMenuClient.cpp:
1848         (WebKit::AutofillPopupMenuClient::initialize):
1849
1850 2013-03-11  Abhishek Arya  <inferno@chromium.org>
1851
1852         Add ASSERT_WITH_SECURITY_IMPLICATION to catch bad casts.
1853         https://bugs.webkit.org/show_bug.cgi?id=112060
1854
1855         Reviewed by Eric Seidel.
1856
1857         * src/FrameLoaderClientImpl.cpp:
1858         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
1859
1860 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1861
1862         Unreviewed, rolling out r145375.
1863         http://trac.webkit.org/changeset/145375
1864         https://bugs.webkit.org/show_bug.cgi?id=112050
1865
1866         Does not compile (Requested by jamesr on #webkit).
1867
1868         * tests/IDBBackingStoreTest.cpp:
1869         (WebCore::IDBBackingStoreTest::SetUp):
1870         (IDBBackingStoreTest):
1871         (WebCore::TEST_F):
1872         * tests/IDBFakeBackingStore.h:
1873
1874 2013-03-11  Alec Flett  <alecflett@chromium.org>
1875
1876         IndexedDB: Protect against key prefix overflows
1877         https://bugs.webkit.org/show_bug.cgi?id=111138
1878
1879         Reviewed by Tony Chang.
1880
1881         Add tests for invalid indexIds in basic get/put operations.
1882
1883 2013-03-11  Chris Hopman  <cjhopman@chromium.org>
1884
1885         [chromium] Android apk targets should depend directly on Java library targets
1886         https://bugs.webkit.org/show_bug.cgi?id=111746
1887
1888         Reviewed by Eric Seidel.
1889
1890         * WebKitUnitTests.gyp:
1891         Make webkit_unit_tests_apk depend directly on base_java and net_java.
1892
1893 2013-03-11  Jochen Eisinger  <jochen@chromium.org>
1894
1895         [chromium] remove obsolete user gesture methods from WebFrame
1896         https://bugs.webkit.org/show_bug.cgi?id=111696
1897
1898         Reviewed by Adam Barth.
1899
1900         * public/WebFrame.h:
1901         (WebFrame):
1902         * src/FrameLoaderClientImpl.cpp:
1903         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
1904         * src/WebFrameImpl.cpp:
1905         * src/WebFrameImpl.h:
1906         (WebFrameImpl):
1907
1908 2013-03-09  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1909
1910         [chromium] Remove deprecated flingStart.sourceDevice from WebGestureEvent
1911         https://bugs.webkit.org/show_bug.cgi?id=111866
1912
1913         Reviewed by James Robinson.
1914
1915         * public/WebInputEvent.h:
1916
1917 2013-03-09  David Dorwin  <ddorwin@chromium.org>
1918
1919         [chromium] Set the Helper Plugin's URL to that of the host document.
1920         https://bugs.webkit.org/show_bug.cgi?id=111913
1921
1922         This allows content settings, etc. to be based on the document hosting
1923         the element that requested the Helper Plugin.
1924
1925         Reviewed by Adam Barth.
1926
1927         * src/WebHelperPluginImpl.cpp:
1928         (WebKit::writeDocument):
1929         (WebKit::WebHelperPluginImpl::initialize):
1930         (WebKit::WebHelperPluginImpl::initializePage):
1931         * src/WebHelperPluginImpl.h:
1932         (WebKit):
1933         (WebHelperPluginImpl):
1934         * src/WebMediaPlayerClientImpl.cpp:
1935         (WebKit::WebMediaPlayerClientImpl::createHelperPlugin):
1936         * src/WebViewImpl.cpp:
1937         (WebKit::WebViewImpl::createHelperPlugin):
1938         * src/WebViewImpl.h:
1939         (WebViewImpl):
1940
1941 2013-03-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1942
1943         Unreviewed.  Rolled Chromium DEPS to r187037.  Requested by
1944         "James Robinson" <jamesr@chromium.org> via sheriffbot.
1945
1946         * DEPS:
1947
1948 2013-03-08  James Robinson  <jamesr@chromium.org>
1949
1950         [chromium] Remove WebLayerTreeViewClient and WebLayerTreeView::Settings
1951         https://bugs.webkit.org/show_bug.cgi?id=111632
1952
1953         Reviewed by Adrienne Walker.
1954
1955         * public/WebWidgetClient.h:
1956         (WebWidgetClient):
1957         (WebKit::WebWidgetClient::initializeLayerTreeView):
1958         * src/WebViewImpl.cpp:
1959         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1960         * src/WebViewImpl.h:
1961         * tests/ScrollingCoordinatorChromiumTest.cpp:
1962         (WebKit::FakeWebViewClient::initializeLayerTreeView):
1963
1964 2013-03-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1965
1966         Unreviewed.  Rolled Chromium DEPS to r186991.  Requested by
1967         "James Robinson" <jamesr@chromium.org> via sheriffbot.
1968
1969         * DEPS:
1970
1971 2013-03-08  Joshua Bell  <jsbell@chromium.org>
1972
1973         IndexedDB: Use WeakPtr for Factory-to-BackingStore reference
1974         https://bugs.webkit.org/show_bug.cgi?id=111459
1975
1976         Reviewed by Adam Barth.
1977
1978         Add new test that verifies refcounts.
1979
1980         * WebKit.gyp: Don't include files depending on webkit_support.
1981         * tests/IDBBackingStoreTest.cpp:
1982         (WebCore::IDBBackingStoreTest::SetUp): No need for dummy factory.
1983         (MockIDBFactoryBackend): Allow access to protected openBackingStore method.
1984         (WebCore::TEST): Add new test that verifies refcounts.
1985         * tests/IDBCleanupOnIOErrorTest.cpp:
1986         (WebCore::TEST): No need for dummy factory.
1987
1988 2013-03-07  Keishi Hattori  <keishi@webkit.org>
1989
1990         Update calendar picker UI
1991         https://bugs.webkit.org/show_bug.cgi?id=109439
1992
1993         Reviewed by Kent Tamura.
1994
1995         * src/DateTimeChooserImpl.cpp:
1996         (WebKit::DateTimeChooserImpl::writeDocument): Adding shortMonthLabels property.
1997
1998 2013-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1999
2000         Unreviewed, rolling out r145166.
2001         http://trac.webkit.org/changeset/145166
2002         https://bugs.webkit.org/show_bug.cgi?id=111819
2003
2004         build break - no symbol
2005         webkit_support::CreateScopedTempDirectory() (Requested by
2006         hayato on #webkit).
2007
2008         * tests/IDBBackingStoreTest.cpp:
2009         (WebCore::IDBBackingStoreTest::SetUp):
2010         (IDBBackingStoreTest):
2011         * tests/IDBCleanupOnIOErrorTest.cpp:
2012         (WebCore::TEST):
2013
2014 2013-03-07  Joshua Bell  <jsbell@chromium.org>
2015
2016         IndexedDB: Use WeakPtr for Factory-to-BackingStore reference
2017         https://bugs.webkit.org/show_bug.cgi?id=111459
2018
2019         Reviewed by Adam Barth.
2020
2021         Added tests to verify refcounts on backing stores, update method signatures.
2022
2023         * tests/IDBBackingStoreTest.cpp:
2024         (WebCore::IDBBackingStoreTest::SetUp): No dummy factory needed.
2025         (MockIDBFactoryBackend): Expose protected method to tests.
2026         (WebCore::TEST): Added BackingStoreLifetime test.
2027         * tests/IDBCleanupOnIOErrorTest.cpp: No dummy factory needed.
2028
2029 2013-03-06  James Robinson  <jamesr@chromium.org>
2030
2031         [chromium] Stop using WebTransformationMatrix on WebLayer
2032         https://bugs.webkit.org/show_bug.cgi?id=111635
2033
2034         Reviewed by Adrienne Walker.
2035
2036         * src/LinkHighlight.cpp:
2037         (WebKit::LinkHighlight::computeEnclosingCompositingLayer):
2038         * tests/GraphicsLayerChromiumTest.cpp:
2039         (GraphicsLayerChromiumTest):
2040
2041 2013-03-07  Mark Pilgrim  <pilgrim@chromium.org>
2042
2043         [Chromium] Update some #includes for WebMessagePortChannel.h
2044         https://bugs.webkit.org/show_bug.cgi?id=111752
2045
2046         Reviewed by James Robinson.
2047
2048         In anticipation of removing
2049         WK/chromium/public/WebMessagePortChannel.h (once all downstream
2050         references have been updated)
2051
2052         * public/WebDOMMessageEvent.h:
2053         * public/WebFrame.h:
2054         * public/WebSharedWorkerClient.h:
2055
2056 2013-03-07  Mark Pilgrim  <pilgrim@chromium.org>
2057
2058         [Chromium] Remove WK/chromium/public/WebStorageArea.h
2059         https://bugs.webkit.org/show_bug.cgi?id=111744
2060
2061         Reviewed by James Robinson.
2062
2063         File moved to new Platform/ directory. All references have already
2064         been updated (including downstream).
2065
2066         * public/WebStorageArea.h: Removed.
2067
2068 2013-03-07  Mark Pilgrim  <pilgrim@chromium.org>
2069
2070         [Chromium] Update some #includes for WebFileInfo.h in WK/chromium/src/
2071         https://bugs.webkit.org/show_bug.cgi?id=111741
2072
2073         Reviewed by James Robinson.
2074
2075         In preparation for removing WK/chromium/public/WebFileInfo.h.
2076
2077         * src/AssertMatchingEnums.cpp:
2078
2079 2013-03-07  Mark Pilgrim  <pilgrim@chromium.org>
2080
2081         [Chromium] Remove WK/chromium/public/WebWorkerRunLoop.h
2082         https://bugs.webkit.org/show_bug.cgi?id=111740
2083
2084         Reviewed by James Robinson.
2085
2086         No longer needed; all references have been updated to new version
2087         in top-level Platform/ directory.
2088
2089         * public/WebWorkerRunLoop.h: Removed.
2090
2091 2013-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2092
2093         Unreviewed.  Rolled Chromium DEPS to r186592.  Requested by
2094         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
2095
2096         * DEPS:
2097
2098 2013-03-07  Mark Pilgrim  <pilgrim@chromium.org>
2099
2100         [Chromium] Update some #includes for WebVideoFrame.h
2101         https://bugs.webkit.org/show_bug.cgi?id=111739
2102
2103         Reviewed by James Robinson.
2104
2105         In anticipation of removing WebVideoFrame.h from WK/chromium/public/.
2106
2107         * public/WebMediaPlayer.h:
2108
2109 2013-03-07  Dana Jansens  <danakj@chromium.org>
2110
2111         [chromium] Remove WebView's sharedGraphicsContext3D method.
2112         https://bugs.webkit.org/show_bug.cgi?id=111499
2113
2114         Reviewed by James Robinson.
2115
2116         * public/WebView.h:
2117         (WebView):
2118         * src/WebViewImpl.cpp:
2119         * src/WebViewImpl.h:
2120         (WebViewImpl):
2121
2122 2013-03-07  Vsevolod Vlasov  <vsevik@chromium.org>
2123
2124         Web Inspector: Support a shortcut for reloading front-end in debug mode.
2125         https://bugs.webkit.org/show_bug.cgi?id=111709
2126
2127         Reviewed by Pavel Feldman.
2128
2129         * src/js/DevTools.js:
2130
2131 2013-03-07  Alexei Filippov  <alph@chromium.org>
2132
2133         Web Inspector: Add more diagnostics output to testRendererProcessNativeMemorySize
2134         https://bugs.webkit.org/show_bug.cgi?id=111599
2135
2136         Reviewed by Yury Semikhatsky.
2137
2138         Add the process size to the test output.
2139
2140         * src/js/Tests.js:
2141
2142 2013-03-07  Jochen Eisinger  <jochen@chromium.org>
2143
2144         [chromium] expose UserGestureToken via WebKit API so PPAPI plugins can correctly consume it
2145         https://bugs.webkit.org/show_bug.cgi?id=104268
2146
2147         Reviewed by Darin Fisher.
2148
2149         Currently, the PPAPI creates a WebScopedUserGesture up to 10 seconds
2150         after a call with an currently active user gesture was made. It should
2151         use the newly added WebUserGestureToken to make sure this user gesture
2152         is not consumed multiple times.
2153
2154         We can't require a WebUserGestureToken for a WebScopedUserGesture, since
2155         e.g. the extension API needs to be able to create a WebScopedUserGesture
2156         out of the blue.
2157
2158         * WebKit.gyp:
2159         * WebKit.gypi:
2160         * public/WebScopedUserGesture.h:
2161         (WebKit):
2162         (WebKit::WebScopedUserGesture::WebScopedUserGesture):
2163         (WebScopedUserGesture):
2164         * public/WebUserGestureIndicator.h:
2165         (WebKit):
2166         (WebUserGestureIndicator):
2167         * public/WebUserGestureToken.h: Copied from Source/WebKit/chromium/public/WebScopedUserGesture.h.
2168         (WebCore):
2169         (WebKit):
2170         (WebUserGestureToken):
2171         (WebKit::WebUserGestureToken::WebUserGestureToken):
2172         (WebKit::WebUserGestureToken::operator=):
2173         (WebKit::WebUserGestureToken::~WebUserGestureToken):
2174         (WebKit::WebUserGestureToken::isNull):
2175         * src/WebScopedUserGesture.cpp:
2176         (WebKit::WebScopedUserGesture::initializeWithToken):
2177         (WebKit):
2178         * src/WebUserGestureIndicator.cpp:
2179         (WebKit::WebUserGestureIndicator::currentUserGestureToken):
2180         (WebKit):
2181         * src/WebUserGestureToken.cpp: Copied from Source/WebKit/chromium/src/WebUserGestureIndicator.cpp.
2182         (WebKit):
2183         (WebKit::WebUserGestureToken::WebUserGestureToken):
2184         (WebKit::WebUserGestureToken::operator WebCore::UserGestureToken*):
2185         (WebKit::WebUserGestureToken::assign):
2186         (WebKit::WebUserGestureToken::reset):
2187         * tests/WebUserGestureTokenTest.cpp: Copied from Source/WebKit/chromium/src/WebUserGestureIndicator.cpp.
2188         (WebCore):
2189         (WebCore::TEST):
2190
2191 2013-03-06  David Dorwin  <ddorwin@chromium.org>
2192
2193         [chromium] Fix typo: destoryPage() => destroyPage()
2194         https://bugs.webkit.org/show_bug.cgi?id=111664
2195
2196         Reviewed by Kentaro Hara.
2197
2198         * src/WebHelperPluginImpl.cpp:
2199         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
2200         (WebKit::WebHelperPluginImpl::destroyPage):
2201         * src/WebHelperPluginImpl.h:
2202         (WebHelperPluginImpl):
2203         * src/WebPagePopupImpl.cpp:
2204         (WebKit::WebPagePopupImpl::destroyPage):
2205         (WebKit::WebPagePopupImpl::close):
2206         (WebKit::WebPagePopupImpl::closePopup):
2207         * src/WebPagePopupImpl.h:
2208         (WebPagePopupImpl):
2209
2210 2013-03-06  Ankur Taly  <ataly@google.com>
2211
2212         Modify log method in WebDOMActivityLogger so that the apiName and
2213         extraInfo arguments are of type const WebString& instead of const char*.
2214         This change gets rid of some of the memory ownership issues that arise
2215         with char* pointers.
2216         https://bugs.webkit.org/show_bug.cgi?id=111483
2217
2218         Reviewed by Adam Barth.
2219
2220         There are no new tests as there is no change in behavior.
2221
2222         * public/WebDOMActivityLogger.h: Added property svn:eol-style.
2223         (WebKit::WebDOMActivityLogger::log):
2224         * src/WebDOMActivityLogger.cpp: Added property svn:eol-style.
2225         (WebKit::DOMActivityLoggerContainer::log):
2226
2227 2013-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2228
2229         Unreviewed.  Rolled Chromium DEPS to r186511.  Requested by
2230         "James Robinson" <jamesr@chromium.org> via sheriffbot.
2231
2232         * DEPS:
2233
2234 2013-03-06  Terry Anderson  <tdanderson@chromium.org>
2235
2236         [chromium] |m_gestureScrollOnImplThread| is not reset to false following the end of a fling on the fast path
2237         https://bugs.webkit.org/show_bug.cgi?id=111390
2238
2239         Reviewed by James Robinson.
2240
2241         If there is a fast path gesture scroll which turns into a fling, the member
2242         |m_gestureScrollOnImplThread| is not reset to false once the fling ends. As a
2243         result, GestureScrollUpdate events belonging to a subsequent scroll are always
2244         handled on the fast path, even if they should have been handled on the slow
2245         path instead.
2246
2247         * src/WebCompositorInputHandlerImpl.cpp:
2248         (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
2249         * src/WebCompositorInputHandlerImpl.h:
2250         (WebCompositorInputHandlerImpl):
2251         (WebKit::WebCompositorInputHandlerImpl::isGestureScrollOnImplThread):
2252         * tests/WebCompositorInputHandlerImplTest.cpp:
2253         (WebKit::TEST_F):
2254         (WebKit):
2255
2256 2013-03-06  James Robinson  <jamesr@chromium.org>
2257
2258         [chromium] Express webkit_unit_tests' dependency on DumpRenderTree.pak in gyp
2259         https://bugs.webkit.org/show_bug.cgi?id=111508
2260
2261         Reviewed by Dirk Pranke.
2262
2263         Some tests in webkit_unit_tests, for example WebPageSerializerTest.HTMLNodes, depend on localizable resources
2264         from a pak file. Since unit tests initialize for testing with the same webkit_support functions as layout tests
2265         they end up using DumpRenderTree.pak, but this dependency isn't listed explicitly in the gyp so if you manage to
2266         run webkit_unit_tests without building DumpRenderTree first these tests just crash.
2267
2268         This adds a dependency from webkit_unit_tests to DumpRenderTree_resources so the pak is always built. It's a bit
2269         weird for a gyp file in Source/WebKit/chromium/ to reach into Tools/DumpRenderTree, but I can't think of
2270         anything better.
2271
2272         * WebKitUnitTests.gyp:
2273
2274 2013-03-06  Jochen Eisinger  <jochen@chromium.org>
2275
2276         [chromium] introduce WebUserGestureIndicator
2277         https://bugs.webkit.org/show_bug.cgi?id=111531
2278
2279         Reviewed by Adam Barth.
2280
2281         Currently, an embedder needs to have a WebFrame to check whether a
2282         user gesture is being processed and to consume a user gesture. However,
2283         the user gesture state is independed of a frame.
2284
2285         * WebKit.gyp:
2286         * public/WebFrame.h:
2287         (WebFrame):
2288         * public/WebUserGestureIndicator.h: Added.
2289         (WebKit):
2290         (WebUserGestureIndicator):
2291         * src/WebFrameImpl.cpp:
2292         (WebKit::WebFrameImpl::isProcessingUserGesture):
2293         (WebKit::WebFrameImpl::consumeUserGesture):
2294         * src/WebUserGestureIndicator.cpp: Added.
2295         (WebKit):
2296         (WebKit::WebUserGestureIndicator::isProcessingUserGesture):
2297         (WebKit::WebUserGestureIndicator::consumeUserGesture):
2298
2299 2013-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2300
2301         Unreviewed.  Rolled Chromium DEPS to r186371.  Requested by
2302         "Dana Jansens" <danakj@chromium.org> via sheriffbot.
2303
2304         * DEPS:
2305
2306 2013-03-06  Andrey Lushnikov  <lushnikov@chromium.org>
2307
2308         Web Inspector: test that "importScript" is used only in module heads.
2309         https://bugs.webkit.org/show_bug.cgi?id=111548
2310
2311         Reviewed by Pavel Feldman.
2312
2313         Test that output file after all inlines does not have any 'importScript(s)' statements.
2314
2315         * scripts/inline_js_imports.py:
2316         (main):
2317
2318 2013-03-05  Alexandre Elias  <aelias@chromium.org>
2319
2320         [chromium] Scroll deltas should be floats
2321         https://bugs.webkit.org/show_bug.cgi?id=111465
2322
2323         Reviewed by James Robinson.
2324
2325         This converts the remaining scroll delta fields to floats so that
2326         we no longer lose precision due to DIP conversion. The natural
2327         type for deltas is WebFloatSize, which was missing, so I also created
2328         that type based on the existing WebSize header.
2329
2330         * src/WebCompositorInputHandlerImpl.cpp:
2331         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2332         (WebKit::WebCompositorInputHandlerImpl::touchpadFlingScroll):
2333         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
2334         * src/WebCompositorInputHandlerImpl.h:
2335         (WebCompositorInputHandlerImpl):
2336         * src/WebViewImpl.cpp:
2337         (WebKit::WebViewImpl::scrollBy):
2338         * src/WebViewImpl.h:
2339         (WebViewImpl):
2340         * tests/WebCompositorInputHandlerImplTest.cpp:
2341         (MockWebInputHandlerClient):
2342         (WebKit::TEST_F):
2343
2344 2013-03-05  Alec Flett  <alecflett@chromium.org>
2345
2346         IndexedDB: Add IDBBackingStoreTest
2347         https://bugs.webkit.org/show_bug.cgi?id=111233
2348
2349         Reviewed by Adam Barth.
2350
2351         Add some really simple IDBBackingStore tests
2352         as a seed for additional tests later.
2353
2354         * WebKit.gypi:
2355         * tests/IDBBackingStoreTest.cpp: Added.
2356
2357 2013-03-04  James Robinson  <jamesr@chromium.org>
2358
2359         [chromium] Move check for threaded compositing from WebCompositorSupport to Platform
2360         https://bugs.webkit.org/show_bug.cgi?id=111386
2361
2362         Reviewed by Adrienne Walker.
2363
2364         * src/WebViewImpl.cpp:
2365         (WebKit::WebViewImpl::composite):
2366         (WebKit::WebViewImpl::scheduleAnimation):
2367         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2368         (WebKit::WebViewImpl::scheduleComposite):
2369         * tests/Canvas2DLayerBridgeTest.cpp:
2370         (Canvas2DLayerBridgeTest::fullLifecycleTest):
2371         * tests/Canvas2DLayerManagerTest.cpp:
2372         (FakeCanvas2DLayerBridge::FakeCanvas2DLayerBridge):
2373
2374 2013-03-05  James Weatherall  <wez@chromium.org>
2375
2376         keydown and keyup events have zero keycode for some numeric pad keys under Chromium on Linux
2377         https://bugs.webkit.org/show_bug.cgi?id=85642
2378
2379         Add tests to verify that the fixed keys generate the same keyCode values as their equivalents.
2380
2381         Reviewed by Ojan Vafai.
2382
2383         * WebKit.gypi:
2384         * tests/KeyCodeConversionTestGtk.cpp: Added.
2385         (WebCore):
2386         (WebCore::TEST):
2387
2388 2013-03-05  Alec Flett  <alecflett@chromium.org>
2389
2390         IndexedDB: Properly refactor frontend/backend code by #includes
2391         https://bugs.webkit.org/show_bug.cgi?id=110653
2392
2393         Reviewed by Dimitri Glazkov.
2394
2395         Clean up the frontend/backend WebIDB* implementations to
2396         match the changes to webkit.
2397
2398 2013-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2399
2400         Unreviewed, rolling out r144798.
2401         http://trac.webkit.org/changeset/144798
2402         https://bugs.webkit.org/show_bug.cgi?id=111478
2403
2404         "broke chromium windows build" (Requested by dpranke on
2405         #webkit).
2406
2407         * src/AssertMatchingEnums.cpp:
2408         * src/IDBDatabaseBackendProxy.cpp:
2409         (WebKit::IDBDatabaseBackendProxy::openCursor):
2410         * src/IDBDatabaseBackendProxy.h:
2411         (IDBDatabaseBackendProxy):
2412         * src/WebIDBCallbacksImpl.cpp:
2413         * src/WebIDBDatabaseImpl.cpp:
2414         (WebKit::WebIDBDatabaseImpl::openCursor):
2415         * tests/IDBAbortOnCorruptTest.cpp:
2416         * tests/IDBDatabaseBackendTest.cpp:
2417         * tests/IDBFakeBackingStore.h:
2418
2419 2013-03-05  Charlie Reis  <creis@chromium.org>
2420
2421         Add FrameLoaderClient::didAccessInitialDocument
2422         https://bugs.webkit.org/show_bug.cgi?id=107963
2423
2424         Notifies WebFrameClient if another page accesses the initial
2425         empty document of a main frame.  In this case, it is no longer
2426         safe to display the provisional URL.
2427
2428         Reviewed by Adam Barth.
2429
2430         * public/WebFrameClient.h:
2431         (WebFrameClient):
2432         (WebKit::WebFrameClient::didAccessInitialDocument):
2433         * src/FrameLoaderClientImpl.cpp:
2434         (WebKit::FrameLoaderClientImpl::didAccessInitialDocument):
2435         (WebKit):
2436         * src/FrameLoaderClientImpl.h:
2437         (FrameLoaderClientImpl):
2438         * tests/WebFrameTest.cpp:
2439
2440 2013-03-05  Alec Flett  <alecflett@chromium.org>
2441
2442         IndexedDB: Properly refactor frontend/backend code by #includes
2443         https://bugs.webkit.org/show_bug.cgi?id=110653
2444
2445         Reviewed by Dimitri Glazkov.
2446
2447         Clean up the frontend/backend WebIDB* implementations to
2448         match the changes to webkit.
2449
2450 2013-03-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2451
2452         Unreviewed.  Rolled Chromium DEPS to r186200.  Requested by
2453         "James Robinson" <jamesr@chromium.org> via sheriffbot.
2454
2455         * DEPS:
2456
2457 2013-03-05  James Robinson  <jamesr@chromium.org>
2458
2459         [chromium] Clean up WebWidget / WebLayerTreeView interactions
2460         https://bugs.webkit.org/show_bug.cgi?id=109125
2461
2462         Reviewed by Adrienne Walker.
2463
2464         This removes most of the compositing control flow logic from WebViewImpl since
2465         it is now handled in the embedding layer (by the implementation of WebViewClient/WebWidgetClient).
2466
2467         * public/WebViewClient.h:
2468         * public/WebWidget.h:
2469         (WebKit):
2470         (WebKit::WebWidget::animate):
2471         (WebWidget):
2472         (WebKit::WebWidget::didExitCompositingMode):
2473         (WebKit::WebWidget::createInputHandler):
2474         (WebKit::WebWidget::applyScrollAndScale):
2475         (WebKit::WebWidget::instrumentBeginFrame):
2476         (WebKit::WebWidget::instrumentWillBeginFrame):
2477         (WebKit::WebWidget::instrumentDidCancelFrame):
2478         (WebKit::WebWidget::instrumentDidBeginFrame):
2479         (WebKit::WebWidget::instrumentWillComposite):
2480         * src/WebHelperPluginImpl.cpp:
2481         * src/WebHelperPluginImpl.h:
2482         (WebHelperPluginImpl):
2483         * src/WebPagePopupImpl.cpp:
2484         * src/WebPagePopupImpl.h:
2485         (WebPagePopupImpl):
2486         * src/WebPopupMenuImpl.cpp:
2487         * src/WebPopupMenuImpl.h:
2488         * src/WebViewImpl.cpp:
2489         (WebKit::WebViewImpl::instrumentWillBeginFrame):
2490         (WebKit::WebViewImpl::instrumentDidBeginFrame):
2491         (WebKit::WebViewImpl::instrumentDidCancelFrame):
2492         (WebKit::WebViewImpl::instrumentWillComposite):
2493         (WebKit):
2494         (WebKit::WebViewImpl::updateBatteryStatus):
2495         (WebKit::WebViewImpl::animate):
2496         (WebKit::WebViewImpl::didExitCompositingMode):
2497         * src/WebViewImpl.h:
2498         * tests/WebLayerTreeViewTestCommon.h:
2499         (MockWebLayerTreeViewClient):
2500
2501 2013-03-05  Alexei Filippov  <alph@chromium.org>
2502
2503         Web Inspector: Add a renderer process memory size test.
2504         https://bugs.webkit.org/show_bug.cgi?id=111337
2505
2506         Reviewed by Yury Semikhatsky.
2507
2508         The test checks that the renderer process memory size
2509         is obtained from the browser and reported to the inspector
2510         frontend correctly.
2511
2512         * src/js/Tests.js:
2513         (.TestSuite.prototype.testRendererProcessNativeMemorySize.checkFuzzyValue):
2514         (.TestSuite.prototype.testRendererProcessNativeMemorySize.step2):
2515
2516 2013-03-04  Chris Fleizach  <cfleizach@apple.com>
2517
2518         AX: cellForColumnAndRow fails for tables with hidden table cells
2519         https://bugs.webkit.org/show_bug.cgi?id=110050
2520
2521         Reviewed by Tim Horton.
2522
2523         * src/WebAccessibilityObject.cpp:
2524         (WebKit::WebAccessibilityObject::cellColumnIndex):
2525         (WebKit::WebAccessibilityObject::cellColumnSpan):
2526         (WebKit::WebAccessibilityObject::cellRowIndex):
2527         (WebKit::WebAccessibilityObject::cellRowSpan):
2528
2529 2013-03-04  Kunihiko Sakamoto  <ksakamoto@chromium.org>
2530
2531         [Chromium] Add runtime flag for font load events
2532         https://bugs.webkit.org/show_bug.cgi?id=111296
2533
2534         Reviewed by Kent Tamura.
2535
2536         Add a runtime feature flag for FontLoader interface (disabled by default),
2537         and enable ENABLE_FONT_LOAD_EVENTS build flag for chromium.
2538
2539         * features.gypi:
2540         * public/WebRuntimeFeatures.h:
2541         (WebRuntimeFeatures):
2542         * src/WebRuntimeFeatures.cpp:
2543         (WebKit::WebRuntimeFeatures::enableFontLoadEvents):
2544         (WebKit):
2545         (WebKit::WebRuntimeFeatures::isFontLoadEventsEnabled):
2546
2547 2013-03-04  Sheriff Bot  <webkit.review.bot@gmail.com>
2548
2549         Unreviewed.  Rolled Chromium DEPS to r185990.  Requested by
2550         jamesr_ via sheriffbot.
2551
2552         * DEPS:
2553
2554 2013-02-26  Kentaro Hara  <haraken@chromium.org>
2555
2556         [chromium] Implement TRACE_EVENT macros for sampling profiling
2557         https://bugs.webkit.org/show_bug.cgi?id=110932
2558
2559         Reviewed by Adam Barth.
2560
2561         We are implementing TRACE_EVENT macros for sampling profiling.
2562         It works in the following mechanism:
2563
2564         - Chromium defines global state variables for sampling profiling.
2565         (i.e. g_trace_state0, g_trace_state1, g_trace_state2 in trace_event.h)
2566
2567         - WebKit gets the addresses of the global state variables at the
2568         initialization step. (i.e. EventTracer::initialize())
2569
2570         - WebKit updates the global states by using TRACE_EVENT_SAMPLING_STATE()
2571         macros every time WebKit changes its state. (e.g. DOM attribute
2572         getters/setters/methods)
2573
2574         - A sampling thread running in Chrome reads the global states
2575         periodically and visualizes the profiling results into about://tracing.
2576
2577         This patch implements (1) a WebKit API to get the addresses of
2578         the global states and (2) the TRACE_EVENT_SAMPLING_STATE() macro.
2579
2580         * src/WebKit.cpp:
2581         (WebKit::initializeWithoutV8):
2582
2583 2013-03-04  James Robinson  <jamesr@chromium.org>
2584
2585         [chromium] Roll chromium DEPS 185662 -> 185963
2586
2587         Roll roll roll the deps
2588           Gently from downstream.
2589         Merrily merrily merrily merrily
2590           Green bots are but a dream.
2591
2592         * DEPS:
2593
2594 2013-03-04  Tony Chang  <tony@chromium.org>
2595
2596         Unreviewed, rolling out r144562.
2597         http://trac.webkit.org/changeset/144562
2598         https://bugs.webkit.org/show_bug.cgi?id=85642
2599
2600         Caused KeyPadInsert faluires in webkit_unittests
2601
2602         * WebKit.gypi:
2603         * tests/KeyCodeConversionTestGtk.cpp: Removed.
2604
2605 2013-03-04  Levi Weintraub  <leviw@chromium.org>
2606
2607         Add support for 8 bit TextRuns on Chromium Linux & Mac
2608         https://bugs.webkit.org/show_bug.cgi?id=99393
2609
2610         Reviewed by Eric Seidel.
2611
2612         Enabling 8 bit text runs for Linux and Mac platforms.
2613
2614         * features.gypi:
2615
2616 2013-03-04  Peter Beverloo  <peter@chromium.org>
2617
2618         [Chromium] Add a new dependency on jsr-305 for Android
2619         https://bugs.webkit.org/show_bug.cgi?id=111340
2620
2621         Unreviewed build fix; new Android dependency. This is
2622         currently breaking gyp generation on the Android bots.
2623
2624         * DEPS:
2625
2626 2013-03-04  Aaron Colwell  <acolwell@chromium.org>
2627
2628         Remove unused return value from SourceBufferPrivate::abort() and WebSourceBuffer::abort().
2629         https://bugs.webkit.org/show_bug.cgi?id=111195
2630
2631         Reviewed by Adam Barth.
2632
2633         * public/WebSourceBuffer.h:
2634         (WebSourceBuffer):
2635         * src/SourceBufferPrivateImpl.cpp:
2636         (WebKit::SourceBufferPrivateImpl::abort):
2637         * src/SourceBufferPrivateImpl.h:
2638         (SourceBufferPrivateImpl):
2639         * src/WebMediaPlayerClientImpl.cpp:
2640         (WebSourceBufferImpl):
2641         (WebKit::WebSourceBufferImpl::abort):
2642
2643 2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
2644
2645         Web Inspector: add Ace editor experiment
2646         https://bugs.webkit.org/show_bug.cgi?id=111191
2647
2648         Reviewed by Pavel Feldman.
2649
2650         Add target to concatenate js files for Ace Text Editor.
2651
2652         * WebKit.gyp:
2653
2654 2013-03-04  Kunihiko Sakamoto  <ksakamoto@chromium.org>
2655
2656         Add build flag for FontLoader
2657         https://bugs.webkit.org/show_bug.cgi?id=111289
2658
2659         Reviewed by Benjamin Poulain.
2660
2661         Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
2662
2663         * features.gypi:
2664
2665 2013-03-04  Andrey Lushnikov  <lushnikov@chromium.org>
2666
2667         Web Inspector: add runtime flag to determine if inspector's source files were flattened.
2668         https://bugs.webkit.org/show_bug.cgi?id=111184
2669
2670         Reviewed by Pavel Feldman.
2671
2672         Included "buildSystemOnly.js" in devtools.html by generate_devtools_html.py script.
2673
2674         * WebKit.gyp:
2675         * scripts/generate_devtools_html.py: Add script tag to include buildSystemOnly.js
2676         (write_devtools_html):
2677
2678 2013-03-03  Alexandre Elias  <aelias@chromium.org>
2679
2680         [chromium] Remove WebLayerTreeView::setViewportSize call
2681         https://bugs.webkit.org/show_bug.cgi?id=110727
2682
2683         Reviewed by James Robinson.
2684
2685         After https://codereview.chromium.org/12328080 lands,
2686         setViewportSize is called from the Chromium side. The multiplication
2687         by deviceScaleFactor here was prone to off-by-one errors.
2688         The layoutSize() function was only used here so delete it as well.
2689
2690         DumpRenderTree WebViewHost must now call this method as well.
2691
2692         * src/WebViewImpl.cpp:
2693         (WebKit::WebViewImpl::updateLayerTreeViewport):
2694         * src/WebViewImpl.h:
2695         (WebViewImpl):
2696
2697 2013-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
2698
2699         Unreviewed, rolling out r144567.
2700         http://trac.webkit.org/changeset/144567
2701         https://bugs.webkit.org/show_bug.cgi?id=111266
2702
2703         Does not compile on apple-win (Requested by abarth on
2704         #webkit).
2705
2706         * public/WebFrame.h:
2707         * src/WebFrameImpl.cpp:
2708         (WebKit::WebFrameImpl::iconURLs):
2709         * src/WebFrameImpl.h:
2710         (WebFrameImpl):
2711
2712 2013-03-03  Mike West  <mkwst@chromium.org>
2713
2714         CSP 1.1: Support CSP 1.1 directives on the unprefixed header.
2715         https://bugs.webkit.org/show_bug.cgi?id=111254
2716
2717         Reviewed by Adam Barth.
2718
2719         The enum names no longer made sense: the difference between the
2720         canonical 'Content-Security-Policy' header and 'X-WebKit-CSP' is the
2721         prefix, not the functionality. This patch renames them for clarity.
2722
2723         * public/WebContentSecurityPolicy.h:
2724         * src/AssertMatchingEnums.cpp:
2725             Rename the Chromium side of the enums.
2726
2727 2013-03-03  Adam Barth  <abarth@webkit.org>
2728
2729         Unreviewed attempted build fix. Adds back some includes removed in
2730         http://trac.webkit.org/changeset/144565.
2731
2732         * src/ApplicationCacheHost.cpp:
2733         * src/AssociatedURLLoader.cpp:
2734         * src/EditorClientImpl.cpp:
2735         * src/SharedWorkerRepository.cpp:
2736         * src/WebDataSourceImpl.cpp:
2737         * src/WebFrameImpl.h:
2738         (WebCore):
2739         * src/WebNode.cpp:
2740         * src/WebSharedWorkerImpl.cpp:
2741         * tests/FrameLoaderClientImplTest.cpp:
2742
2743 2013-03-03  Adam Barth  <abarth@webkit.org>
2744
2745         Unreviewed rollout of http://trac.webkit.org/r144530
2746         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
2747         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
2748         large number of ASSERTs in chromium-win.
2749
2750         * src/ApplicationCacheHost.cpp:
2751         * src/AssociatedURLLoader.cpp:
2752         * src/EditorClientImpl.cpp:
2753         * src/SharedWorkerRepository.cpp:
2754         * src/WebDataSourceImpl.cpp:
2755         * src/WebFrameImpl.h:
2756         (WebCore):
2757         * src/WebNode.cpp:
2758         * src/WebSharedWorkerImpl.cpp:
2759         * tests/FrameLoaderClientImplTest.cpp:
2760
2761 2013-03-03  Ankur Taly  <ataly@google.com>
2762
2763         WebKit API for enabling DOM logging for certain worlds
2764         https://bugs.webkit.org/show_bug.cgi?id=110779
2765
2766         Reviewed by Kentaro Hara.
2767
2768         * WebKit.gyp:
2769
2770 2013-03-03  James Weatherall  <wez@chromium.org>
2771
2772         keydown and keyup events have zero keycode for some numeric pad keys under Chromium on Linux
2773         https://bugs.webkit.org/show_bug.cgi?id=85642
2774
2775         Add tests to verify that the fixed keys generate the same keyCode values as their equivalents.
2776
2777         Reviewed by Adam Barth.
2778
2779         * WebKit.gypi:
2780         * tests/KeyCodeConversionTestGtk.cpp: Added.
2781         (WebCore):
2782         (WebCore::TEST):
2783
2784 2013-02-18  Darin Adler  <darin@apple.com>
2785
2786         Cut down the number of source files that depend on Clipboard.h
2787         https://bugs.webkit.org/show_bug.cgi?id=110030
2788
2789         Reviewed by Ryosuke Niwa.
2790
2791         * src/SharedWorkerRepository.cpp: Add include of ResourceResponse.h
2792         here. We used to get this indirectly through Clipboard.h.
2793
2794 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
2795
2796         Reduce amount of rebuilding when touching networking headers
2797         https://bugs.webkit.org/show_bug.cgi?id=111035
2798
2799         Reviewed by Eric Seidel.
2800
2801         Adding includes that are now necessary because WebCore headers don't have them
2802         any more.
2803
2804         * src/ApplicationCacheHost.cpp:
2805         * src/AssociatedURLLoader.cpp:
2806         * src/EditorClientImpl.cpp:
2807         * src/SharedWorkerRepository.cpp:
2808         * src/WebDataSourceImpl.cpp:
2809         * src/WebFrameImpl.h:
2810         * src/WebNode.cpp:
2811         * src/WebSharedWorkerImpl.cpp:
2812         * tests/FrameLoaderClientImplTest.cpp:
2813
2814 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2815
2816         Unreviewed.  Rolled Chromium DEPS to r185662.  Requested by
2817         "James Robinson" <jamesr@chromium.org> via sheriffbot.
2818
2819         * DEPS:
2820
2821 2013-03-01  Terry Anderson  <tdanderson@chromium.org>
2822
2823         EventHandler::handleGestureScrollUpdate() should invoke the user-generated scroll routines 
2824         so its behavior matches other user-initiated scrolls
2825         https://bugs.webkit.org/show_bug.cgi?id=109769
2826
2827         Reviewed by James Robinson.
2828
2829         Clear the nodes corresponding to a fling scroll event when the event ends.
2830
2831         * src/WebViewImpl.cpp:
2832         (WebKit::WebViewImpl::updateAnimations):
2833
2834 2013-03-01  David Dorwin  <ddorwin@chromium.org>
2835
2836         [chromium] Revert r143827 to restore WebHelperPluginImpl's call to frameDetached()
2837         https://bugs.webkit.org/show_bug.cgi?id=111232
2838
2839         Reviewed by Adam Barth.
2840
2841         This patch reverts r143827, which causes a crash in failure conditions:
2842         http://crbug.com/178848
2843
2844         * src/WebHelperPluginImpl.cpp:
2845         (WebKit::WebHelperPluginImpl::destoryPage):
2846
2847 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2848
2849         Unreviewed, rolling out r144422 and r144424.
2850         http://trac.webkit.org/changeset/144422
2851         http://trac.webkit.org/changeset/144424
2852         https://bugs.webkit.org/show_bug.cgi?id=111167
2853
2854         Caused over 20 tests to fail assertion on Chromium Win port as
2855         ASSERTION FAILED: m_platformRequestUpdated (Requested by
2856         toyoshim on #webkit).
2857
2858         * src/ApplicationCacheHost.cpp:
2859         * src/AssociatedURLLoader.cpp:
2860         * src/EditorClientImpl.cpp:
2861         * src/SharedWorkerRepository.cpp:
2862         * src/WebDataSourceImpl.cpp:
2863         * src/WebFrameImpl.h:
2864         (WebCore):
2865         * src/WebNode.cpp:
2866         * src/WebSharedWorkerImpl.cpp:
2867         * tests/FrameLoaderClientImplTest.cpp:
2868
2869 2013-03-01  Jochen Eisinger  <jochen@chromium.org>
2870
2871         REGRESSION(r144422): Broke compilation on chromium-mac
2872         https://bugs.webkit.org/show_bug.cgi?id=111150
2873
2874         Unreviewed build fix.
2875
2876         * src/WebFrameImpl.h:
2877         (WebCore):
2878
2879 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
2880
2881         Reduce amount of rebuilding when touching networking headers
2882         https://bugs.webkit.org/show_bug.cgi?id=111035
2883
2884         Reviewed by Eric Seidel.
2885
2886         Adding includes that are now necessary because WebCore headers don't have them
2887         any more.
2888
2889         * src/ApplicationCacheHost.cpp:
2890         * src/AssociatedURLLoader.cpp:
2891         * src/EditorClientImpl.cpp:
2892         * src/SharedWorkerRepository.cpp:
2893         * src/WebDataSourceImpl.cpp:
2894         * src/WebFrameImpl.h:
2895         * src/WebNode.cpp:
2896         * src/WebSharedWorkerImpl.cpp:
2897         * tests/FrameLoaderClientImplTest.cpp:
2898
2899 2013-02-28  Ankur Taly  <ataly@google.com>
2900
2901         WebKit API for enabling DOM logging for certain worlds
2902         https://bugs.webkit.org/show_bug.cgi?id=110779
2903
2904         Reviewed by Adam Barth.
2905
2906         This patch adds initial plumbing for enabling logging of DOM
2907         activity by JavaScript code running withing v8, on a 
2908         per-world basis. In particular it adds methods to the chromium
2909         WebKit API for associating a logger object with world ids for which
2910         DOM activity logging is enabled.
2911
2912
2913         * WebKit.gyp:
2914         * public/WebDOMActivityLogger.h: Added.
2915         (v8):
2916         (WebKit):
2917         (WebDOMActivityLogger):
2918         (WebKit::WebDOMActivityLogger::~WebDOMActivityLogger):
2919         (WebKit::WebDOMActivityLogger::log):
2920         * src/WebDOMActivityLogger.cpp: Added.
2921         (WebKit):
2922         (DOMActivityLoggerContainer):
2923         (WebKit::DOMActivityLoggerContainer::DOMActivityLoggerContainer):
2924         (WebKit::DOMActivityLoggerContainer::~DOMActivityLoggerContainer):
2925         (WebKit::DOMActivityLoggerContainer::log):
2926         (WebKit::hasDOMActivityLogger):
2927         (WebKit::setDOMActivityLogger):
2928
2929 2013-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2930
2931         Unreviewed.  Rolled Chromium DEPS to r185341.  Requested by
2932         "James Robinson" <jamesr@chromium.org> via sheriffbot.
2933
2934         * DEPS:
2935
2936 2013-02-28  Varun Jain  <varunjain@chromium.org>
2937
2938         Add new webkit API to invoke a context menu.
2939         https://bugs.webkit.org/show_bug.cgi?id=111040
2940
2941         Reviewed by Adam Barth.
2942
2943         * public/WebView.h:
2944         (WebView):
2945         * src/WebViewImpl.cpp:
2946         (WebKit::WebViewImpl::showContextMenu):
2947         (WebKit):
2948         * src/WebViewImpl.h:
2949
2950 2013-02-28  Aaron Colwell  <acolwell@chromium.org>
2951
2952         Factor SourceBuffer methods out of MediaSourcePrivate & WebMediaSource
2953         into SourceBufferPrivate & WebSourceBuffer respectively.
2954         https://bugs.webkit.org/show_bug.cgi?id=110798
2955
2956         Reviewed by Adam Barth, Jer Noble.
2957
2958         * WebKit.gyp:
2959         * public/WebMediaSourceClient.h:
2960         (WebKit):
2961         (WebMediaSourceClient):
2962         * public/WebSourceBuffer.h: 
2963         (WebKit):
2964         (WebSourceBuffer): Contains SourceBuffer methods extracted from WebMediaSource.
2965         (WebKit::WebSourceBuffer::~WebSourceBuffer):
2966         * src/AssertMatchingEnums.cpp:
2967         * src/MediaSourcePrivateImpl.cpp:
2968         (WebKit):
2969         (WebKit::MediaSourcePrivateImpl::MediaSourcePrivateImpl):
2970         (WebKit::MediaSourcePrivateImpl::addSourceBuffer):
2971         (WebKit::MediaSourcePrivateImpl::duration):
2972         (WebKit::MediaSourcePrivateImpl::setDuration):
2973         (WebKit::MediaSourcePrivateImpl::endOfStream):
2974         * src/MediaSourcePrivateImpl.h:
2975         (WebKit):
2976         (MediaSourcePrivateImpl): Adapts MediaSourcePrivate interface to WebMediaSourceClient.
2977         (WebKit::MediaSourcePrivateImpl::~MediaSourcePrivateImpl):
2978         * src/SourceBufferPrivateImpl.cpp:
2979         (WebKit):
2980         (WebKit::SourceBufferPrivateImpl::SourceBufferPrivateImpl):
2981         (WebKit::SourceBufferPrivateImpl::buffered):
2982         (WebKit::SourceBufferPrivateImpl::append):
2983         (WebKit::SourceBufferPrivateImpl::abort):
2984         (WebKit::SourceBufferPrivateImpl::setTimestampOffset):
2985         (WebKit::SourceBufferPrivateImpl::removedFromMediaSource):
2986         * src/SourceBufferPrivateImpl.h:
2987         (WebKit):
2988         (SourceBufferPrivateImpl): Adapts SourceBufferPrivate interface to WebSourceBuffer.
2989         (WebKit::SourceBufferPrivateImpl::~SourceBufferPrivateImpl):
2990         * src/WebMediaPlayerClientImpl.cpp:
2991         (WebMediaSourceClientImpl):
2992         (WebKit):
2993         (WebSourceBufferImpl): Temporary implementation of WebSourceBuffer to keep things working
2994                                until the Chromium side changes land.
2995         (WebKit::WebMediaSourceClientImpl::addSourceBuffer):
2996         (WebKit::WebMediaSourceClientImpl::duration):
2997         (WebKit::WebMediaSourceClientImpl::setDuration):
2998         (WebKit::WebMediaSourceClientImpl::endOfStream):
2999         (WebKit::WebSourceBufferImpl::WebSourceBufferImpl):
3000         (WebKit::WebSourceBufferImpl::buffered):
3001         (WebKit::WebSourceBufferImpl::append):
3002         (WebKit::WebSourceBufferImpl::abort):
3003         (WebKit::WebSourceBufferImpl::setTimestampOffset):
3004         (WebKit::WebSourceBufferImpl::removedFromMediaSource):
3005         * src/WebMediaSourceImpl.cpp:
3006
3007 2013-02-28  David Grogan  <dgrogan@chromium.org>
3008
3009         IndexedDB: IO error when checking schema should destroy LevelDB directory
3010         https://bugs.webkit.org/show_bug.cgi?id=110675
3011
3012         Reviewed by Adam Barth.
3013
3014         * WebKit.gyp:
3015         This was cargo-culted. The component build wouldn't run otherwise.
3016
3017         * WebKit.gypi:
3018         * tests/IDBCleanupOnIOErrorTest.cpp: Added.
3019
3020 2013-02-28  Stephen Chenney  <schenney@chromium.org>
3021
3022         RenderTableCellDeathTest unit test fails on mac
3023         https://bugs.webkit.org/show_bug.cgi?id=110992
3024
3025         Unreviewed revert of all changes. The problem seems to have resolved.
3026
3027         * tests/RenderTableCellTest.cpp: Remove Mac disable code.
3028
3029 2013-02-28  Takashi Toyoshima  <toyoshim@chromium.org>
3030
3031         Unreviewed, quick test breakage fix for android
3032         https://bugs.webkit.org/show_bug.cgi?id=110740
3033
3034         Patch by Seigo Nonaka <nona@chromium.org> on 2013-02-27
3035
3036         * src/WebViewImpl.cpp:
3037         (WebKit::WebViewImpl::textInputInfo): Reconstruct condition check order
3038
3039 2013-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3040
3041         Unreviewed.  Rolled Chromium DEPS to r184931.  Requested by
3042         "Takashi Toyoshima" <toyoshim@chromium.org> via sheriffbot.
3043
3044         * DEPS:
3045
3046 2013-02-27  Seigo Nonaka  <nona@chromium.org>
3047
3048         [Chromium] Should not return WebTextInputTypeNone for date input element.
3049         https://bugs.webkit.org/show_bug.cgi?id=110740
3050
3051         Reviewed by Kent Tamura.
3052
3053         In the case of Windows 8, text input state including on-screen keyboard is controlled by the
3054         value of WebTextInputType returned from WebViewImpl::textInputType().
3055         In past, it returned WebTextInputTypeDate for date text input but now it returns
3056         WebTextInputTypeNone.
3057         WebTextInputTypeNone is used for non editable node, so on-screen keyboard will be hidden if
3058         the date text input is focused.  So there is no way to input on Windows 8 tablet without
3059         physical keyboard except tapping small up/down arrow.
3060
3061         * public/WebTextInputType.h: Introduces WebTextInputTypeDateTimeField.
3062         * src/WebViewImpl.cpp:
3063         (WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of editable or not. It is
3064         safe because textInputType returns editable type only for known editable element.
3065         (WebKit::WebViewImpl::textInputType): Returns WebTextInputTypeDateTimeField for the date
3066         time field element.
3067
3068 2013-02-27  James Simonsen  <simonjam@chromium.org>
3069
3070         [chromium] Lower priority of preloaded images
3071         https://bugs.webkit.org/show_bug.cgi?id=110527
3072
3073         Plumb the didChangePriority signal into DRT so it can be tested.
3074
3075         Reviewed by Nate Chapin.
3076
3077         * public/WebFrameClient.h:
3078         (WebKit):
3079         (WebKit::WebFrameClient::didChangeResourcePriority):
3080         (WebFrameClient):
3081         * src/FrameLoaderClientImpl.cpp:
3082         (WebKit::FrameLoaderClientImpl::dispatchDidChangeResourcePriority):
3083         (WebKit):
3084         * src/FrameLoaderClientImpl.h:
3085         (FrameLoaderClientImpl):
3086
3087 2013-02-27  Min Qin  <qinmin@chromium.org>
3088
3089         Unlock partially decoded images after passing them to the ImageDecodingStore
3090         https://bugs.webkit.org/show_bug.cgi?id=110778
3091
3092         Reviewed by Stephen White.
3093
3094         Test for testing that image frames are unlocked after passing to ImageDecodingStore.
3095
3096         * tests/ImageFrameGeneratorTest.cpp:
3097         (WebCore::ImageFrameGeneratorTest::SetUp):
3098         (WebCore::ImageFrameGeneratorTest::frameBuffersUnlocked):
3099         (ImageFrameGeneratorTest):
3100         (WebCore::ImageFrameGeneratorTest::frameBuffersLocked):
3101         (WebCore::TEST_F):
3102         * tests/MockImageDecoder.h:
3103         (WebCore::MockImageDecoderClient::frameBuffersLocked):
3104         (WebCore::MockImageDecoderClient::frameBuffersUnlocked):
3105         (WebCore::MockImageDecoder::unlockFrameBuffers):
3106         (WebCore::MockImageDecoder::lockFrameBuffers):
3107         (MockImageDecoder):
3108
3109 2013-02-27  John Bauman  <jbauman@chromium.org>
3110
3111         Plugin in iframe may not display
3112         https://bugs.webkit.org/show_bug.cgi?id=109879
3113
3114         Reviewed by Simon Fraser.
3115
3116         Use clipRectChanged to update the geometry.
3117
3118         * src/WebPluginContainerImpl.cpp:
3119         (WebKit::WebPluginContainerImpl::clipRectChanged):
3120         * src/WebPluginContainerImpl.h:
3121
3122 2013-02-27  Stephen Chenney  <schenney@chromium.org>
3123
3124         RenderTableCellDeathTest unit test fails on mac
3125         https://bugs.webkit.org/show_bug.cgi?id=110992
3126
3127         Unreviewed second attempt. Trying to get the right define for the OS.
3128
3129         * tests/RenderTableCellTest.cpp:
3130
3131 2013-02-27  Stephen Chenney  <schenney@chromium.org>
3132
3133         RenderTableCellDeathTest unit test fails on mac
3134         https://bugs.webkit.org/show_bug.cgi?id=110992
3135
3136         Unreviewed disabling of test that is hanging or crashing on Mac.
3137
3138         * tests/RenderTableCellTest.cpp:
3139
3140 2013-02-27  James Robinson  <jamesr@chromium.org>
3141
3142         [chromium] Remove suppression invalidation logic from WebViewImpl
3143         https://bugs.webkit.org/show_bug.cgi?id=110999
3144
3145         Reviewed by Adrienne Walker.
3146
3147         This suppression logic is now handled on the embedder side. In fact, scheduleComposite() is now only used
3148         by DumpRenderTree.
3149
3150         * src/WebViewImpl.cpp:
3151         (WebKit::WebViewImpl::WebViewImpl):
3152         (WebKit::WebViewImpl::suppressInvalidations):
3153         (WebKit::WebViewImpl::scheduleComposite):
3154         * src/WebViewImpl.h:
3155
3156 2013-02-27  Glenn Adams  <glenn@skynav.com>
3157
3158         Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
3159         https://bugs.webkit.org/show_bug.cgi?id=110944
3160
3161         Reviewed by Dean Jackson.
3162
3163         * features.gypi:
3164
3165 2013-02-26  James Robinson  <jamesr@chromium.org>
3166
3167         [chromium] Remove WebViewImpl::animate shimmy out through compositor
3168         https://bugs.webkit.org/show_bug.cgi?id=110935
3169
3170         Reviewed by Adrienne Walker.
3171
3172         WebViewImpl::animate() and WebViewImpl::updateAnimations() are confusingly similar. ::animate() implements
3173         the WebWidget API and is called by content::RenderWidget and WebViewHost. ::updateAnimations() implements
3174         the WebLayerTreeViewClient API and is called by content::RenderWidgetCompositor and by ::animate(). The
3175         important part of this indirection is that whenever the compositor is active, all animation calls must
3176         route through cc::LayerTreeHost before entering into WebCore's animation code so that the compositor
3177         can set the appropriate rate limiting state. Animations may originate from
3178         content::RenderWidget::AnimateIfNeeded when in software and single threaded mode or from
3179         cc::LayerTreeHost::updateAnimations in threaded compositing mode. In the long ago, content::RenderWidget had no
3180         idea if compositing was active or not and always called WebWidget::animate(), so WebViewImpl::animate() had to
3181         redirect to the compositor when appropriate.
3182         
3183         Now (as of chromium r180947) RenderWidget calls WebWidget::animate only when in software mode and otherwise
3184         calls directly into the compositor. Thus WebViewImpl::animate() no longer needs to do this check. In a
3185         follow-up, WebViewImpl::updateAnimations will go away completely in favor of just calling WebWidget::animate in
3186         all cases.
3187
3188         * src/WebViewImpl.cpp:
3189         (WebKit::WebViewImpl::animate):
3190         (WebKit::WebViewImpl::updateAnimations):
3191
3192 2013-02-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3193
3194         Unreviewed, rolling out r144179.
3195         http://trac.webkit.org/changeset/144179
3196         https://bugs.webkit.org/show_bug.cgi?id=110980
3197
3198         Breaks compilation (Requested by vsevik on #webkit).
3199
3200         * public/WebTextInputType.h:
3201         * src/WebViewImpl.cpp:
3202         (WebKit::WebViewImpl::textInputInfo):
3203         (WebKit::WebViewImpl::textInputType):
3204
3205 2013-02-27  Stephen Chenney  <schenney@chromium.org>
3206
3207         [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Android
3208         https://bugs.webkit.org/show_bug.cgi?id=110922
3209
3210         Unreviewed build fix.
3211
3212         * tests/GIFImageDecoderTest.cpp:
3213         (WebKit):
3214         (WebKit::TEST): Disable the entire test on Android.
3215
3216 2013-02-27  Seigo Nonaka  <nona@chromium.org>
3217
3218         [Chromium] Should not return WebTextInputTypeNone for date input element.
3219         https://bugs.webkit.org/show_bug.cgi?id=110740
3220
3221         Reviewed by Kent Tamura.
3222
3223         In the case of Windows 8, text input state including on-screen keyboard is controlled by the
3224         value of WebTextInputType returned from WebViewImpl::textInputType().
3225         In past, it returned WebTextInputTypeDate for date text input but now it returns
3226         WebTextInputTypeNone.
3227         WebTextInputTypeNone is used for non editable node, so on-screen keyboard will be hidden if
3228         the date text input is focused.  So there is no way to input on Windows 8 tablet without
3229         physical keyboard except tapping small up/down arrow.
3230
3231         * public/WebTextInputType.h: Introduces WebTextInputTypeDateTimeField.
3232         * src/WebViewImpl.cpp:
3233         (WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of editable or not. It is
3234         safe because textInputType returns editable type only for known editable element.
3235         (WebKit::WebViewImpl::textInputType): Returns WebTextInputTypeDateTimeField for the date
3236         time field element.
3237
3238 2013-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3239
3240         Unreviewed, rolling out r144129.
3241         http://trac.webkit.org/changeset/144129
3242         https://bugs.webkit.org/show_bug.cgi?id=110947
3243
3244         Breaks compilation on chromium mac and win (Requested by
3245         vsevik on #webkit).
3246
3247         * src/WebViewImpl.cpp:
3248         (WebKit::WebViewImpl::willBeginFrame):
3249         (WebKit):
3250         (WebKit::WebViewImpl::didBeginFrame):
3251         * src/WebViewImpl.h:
3252         * tests/WebLayerTreeViewTestCommon.h:
3253
3254 2013-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3255
3256         Unreviewed.  Rolled Chromium DEPS to r184829.  Requested by
3257         "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
3258
3259         * DEPS:
3260
3261 2013-02-26  James Robinson  <jamesr@chromium.org>
3262
3263         [chromium] Remove WebLayerTreeViewClient::(will|did)BeginFrame
3264         https://bugs.webkit.org/show_bug.cgi?id=110928
3265
3266         Reviewed by Adrienne Walker.
3267
3268         * src/WebViewImpl.cpp:
3269         * src/WebViewImpl.h:
3270         * tests/WebLayerTreeViewTestCommon.h:
3271
3272 2013-02-26  Alpha Lam  <hclam@chromium.org>
3273
3274         [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Android
3275         https://bugs.webkit.org/show_bug.cgi?id=110922
3276
3277         Unreviewed. Build fix.
3278
3279         * tests/GIFImageDecoderTest.cpp:
3280         (WebKit):
3281
3282 2013-02-26  James Robinson  <jamesr@chromium.org>
3283
3284         [chromium] Remove unused WebLayerTreeViewClient calls
3285         https://bugs.webkit.org/show_bug.cgi?id=110923
3286
3287         Reviewed by Adrienne Walker.
3288
3289         These notifications existed for instrumentation, but now the instrumentation routes
3290         through WebDevToolsAgent.
3291
3292         * src/WebViewImpl.cpp:
3293         * src/WebViewImpl.h:
3294         * tests/WebLayerTreeViewTestCommon.h:
3295
3296 2013-02-26  Dirk Pranke  <dpranke@chromium.org>
3297
3298         Roll Chromium DEPS from r183905 -> r184646.
3299
3300         Unreviewed.
3301
3302         * DEPS:
3303
3304 2013-02-26  James Robinson  <jamesr@chromium.org>
3305
3306         [chromium] Remove unused WebWidget::instrument calls
3307         https://bugs.webkit.org/show_bug.cgi?id=110906
3308
3309         Reviewed by Jochen Eisinger.
3310
3311         These calls are now routed through WebDevToolsAgent.
3312
3313         * public/WebWidget.h:
3314         * src/WebViewImpl.cpp:
3315         (WebKit::WebViewImpl::willBeginFrame):
3316         * src/WebViewImpl.h:
3317
3318 2013-02-20  Alpha Lam  <hclam@chromium.org>
3319
3320         GIFImageReader to read from source data directly
3321         https://bugs.webkit.org/show_bug.cgi?id=109662
3322
3323         Reviewed by Stephen White.
3324
3325         Added the following unit tests to test new logic in GIFImageDecoder:
3326
3327         GIFImageDecoderTest.decodeTwoFrames
3328         Test that it can decode a multi-frame GIF image correctly.
3329
3330         GIFImageDecoderTest.parseAndDecode
3331         First perform a parse operation and then a decode operation. Expect
3332         that parse and decode operates correctly.
3333
3334         GIFImageDecoderTest.parseByteByByte
3335         Test that multi-frame GIF image can be parsed correctly byte by byte.
3336
3337         GIFImageDecoderTest.parseAndDecodeByteByByte
3338         Run a loop to feed decoder byte by byte, perform a parse and then
3339         decode operation and make sure frames are decoded correctly.
3340
3341         GIFImageDecoderTest.brokenSecondFrame
3342         Decode a GIF image with second frame broken. Expect that the first
3343         frame can be decoded correctly.
3344
3345         * WebKit.gypi:
3346         * tests/GIFImageDecoderTest.cpp: Added.
3347         (WebKit):
3348         (WebKit::readFile):
3349         (WebKit::TEST):
3350         * tests/data/broken.gif: Added.
3351
3352 2013-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3353
3354         Unreviewed, rolling out r144065.
3355         http://trac.webkit.org/changeset/144065
3356         https://bugs.webkit.org/show_bug.cgi?id=110896
3357
3358         Causing failures and crashes on Chromium Win7 and Win XP
3359         (Requested by schenney on #webkit).
3360
3361         * features.gypi:
3362
3363 2013-02-26  Levi Weintraub  <leviw@chromium.org>
3364
3365         Add support for 8 bit TextRuns for Chromium/HarfBuzz
3366         https://bugs.webkit.org/show_bug.cgi?id=99393
3367
3368         Reviewed by Eric Seidel.
3369
3370         Enabling 8 bit text runs for Chromium.
3371
3372         * features.gypi:
3373
3374 2013-02-26  Dmitry Zvorygin  <zvorygin@chromium.org>
3375
3376         Merged Tip and Debug log levels for web console.
3377         https://bugs.webkit.org/show_bug.cgi?id=109919
3378
3379         Reviewed by Pavel Feldman.
3380
3381         In every component either TIP or DEBUG level was used for reporting,
3382         but not both. This patch is prerequisite for Web Inspector console log filtering.
3383
3384         * public/WebConsoleMessage.h:
3385         * src/AssertMatchingEnums.cpp:
3386         * src/WebFrameImpl.cpp:
3387         (WebKit::WebFrameImpl::addMessageToConsole):
3388
3389 2013-02-26  Andrey Kosyakov  <caseq@chromium.org>
3390
3391         Plumbing trace events to Timeline
3392
3393         Web Inspector: plumb trace events to Timeline agent
3394         https://bugs.webkit.org/show_bug.cgi?id=105796
3395
3396         Reviewed by Pavel Feldman.
3397
3398         * public/WebDevToolsAgentClient.h:
3399         (WebDevToolsAgentClient):
3400         (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
3401         * src/InspectorClientImpl.cpp:
3402         (WebKit::InspectorClientImpl::setTraceEventCallback):
3403         (WebKit):
3404         * src/InspectorClientImpl.h:
3405         (InspectorClientImpl):
3406         * src/WebDevToolsAgentImpl.cpp:
3407         (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
3408         (WebKit):
3409         * src/WebDevToolsAgentImpl.h:
3410         (WebDevToolsAgentImpl):
3411
3412 2013-02-01  Andrey Kosyakov  <caseq@chromium.org>
3413
3414         Web Inspector: plumb trace events to Timeline agent
3415         https://bugs.webkit.org/show_bug.cgi?id=105796
3416
3417         Reviewed by Pavel Feldman.
3418
3419         Plumb trace events to Inspector.
3420
3421         * public/WebDevToolsAgentClient.h:
3422         (WebDevToolsAgentClient):
3423         (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
3424         * src/InspectorClientImpl.cpp:
3425         (WebKit::InspectorClientImpl::setTraceEventCallback):
3426         (WebKit):
3427         * src/InspectorClientImpl.h:
3428         (InspectorClientImpl):
3429         * src/WebDevToolsAgentImpl.cpp:
3430         (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
3431         (WebKit):
3432         * src/WebDevToolsAgentImpl.h:
3433         (WebDevToolsAgentImpl):
3434
3435 2013-02-26  Andrey Kosyakov  <caseq@chromium.org>
3436
3437         Unreviewed, rolling out r144041, r144044, and r144048.
3438         http://trac.webkit.org/changeset/144041
3439         http://trac.webkit.org/changeset/144044
3440         http://trac.webkit.org/changeset/144048
3441         https://bugs.webkit.org/show_bug.cgi?id=105796
3442
3443         Broke build
3444
3445         * public/WebDevToolsAgentClient.h:
3446         * src/InspectorClientImpl.cpp:
3447         * src/InspectorClientImpl.h:
3448         (InspectorClientImpl):
3449         * src/WebDevToolsAgentImpl.cpp:
3450         * src/WebDevToolsAgentImpl.h:
3451         (WebDevToolsAgentImpl):
3452
3453 2013-02-01  Andrey Kosyakov  <caseq@chromium.org>
3454
3455         Web Inspector: plumb trace events to Timeline agent
3456         https://bugs.webkit.org/show_bug.cgi?id=105796
3457
3458         Reviewed by Pavel Feldman.
3459
3460         Plumb trace events to Inspector.
3461
3462         * public/WebDevToolsAgentClient.h:
3463         (WebDevToolsAgentClient):
3464         (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
3465         * src/InspectorClientImpl.cpp:
3466         (WebKit::InspectorClientImpl::setTraceEventCallback):
3467         (WebKit):
3468         * src/InspectorClientImpl.h:
3469         (InspectorClientImpl):
3470         * src/WebDevToolsAgentImpl.cpp:
3471         (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
3472         (WebKit):
3473         * src/WebDevToolsAgentImpl.h:
3474         (WebDevToolsAgentImpl):
3475
3476 2013-02-26  Tien-Ren Chen  <trchen@chromium.org>
3477
3478         Implement coordinated scrollbar for subframes and overflow:scroll
3479         https://bugs.webkit.org/show_bug.cgi?id=109560
3480
3481         Reviewed by James Robinson.
3482
3483         Added ScrollingCoordinatorChromiumTest.iframeScrolling to verify
3484         impl-side scrolling and impl-side scrollbars for frames.
3485
3486         Update ScrollingCoordinatorChromiumTest.overflowScrolling to verify
3487         impl-side scrollbars.
3488
3489         * tests/ScrollingCoordinatorChromiumTest.cpp:
3490         (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
3491         (WebKit::TEST_F):
3492         (WebKit):
3493         * tests/data/iframe-scrolling-inner.html: Added.
3494         * tests/data/iframe-scrolling.html: Added.
3495
3496 2013-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3497
3498         Unreviewed, rolling out r144016.
3499         http://trac.webkit.org/changeset/144016
3500         https://bugs.webkit.org/show_bug.cgi?id=110856
3501
3502         Breaks compilation on chromium mac (Requested by vsevik on
3503         #webkit).
3504
3505         * WebKit.gypi:
3506         * tests/KeyCodeConversionTest.cpp: Removed.
3507
3508 2013-02-26  James Robinson  <jamesr@chromium.org>
3509
3510         [chromium] Fix continuous painting mode
3511         https://bugs.webkit.org/show_bug.cgi?id=110788
3512
3513         Reviewed by Adrienne Walker.
3514
3515         Recent instrumentation shuffling caused WebViewImpl::didBeginFrame to no longer be called, which
3516         broke continuous painting.  Since continuous painting mode is meant to simply invalidate layers
3517         on each frame, it's a better fit for the animation system. This moves the invalidation calls
3518         into WebViewImpl::updateAnimations along with other animation type things.
3519
3520         Tested manually by enabling continuous painting mode in the inspector. There aren't any automated
3521         tests in WebKit for this feature.
3522
3523         * src/WebViewImpl.cpp:
3524         (WebKit::WebViewImpl::setContinuousPaintingEnabled):
3525         (WebKit::WebViewImpl::didBeginFrame):