1 2013-03-04 Tony Chang <tony@chromium.org>
3 Unreviewed, rolling out r144562.
4 http://trac.webkit.org/changeset/144562
5 https://bugs.webkit.org/show_bug.cgi?id=85642
7 Caused KeyPadInsert faluires in webkit_unittests
10 * tests/KeyCodeConversionTestGtk.cpp: Removed.
12 2013-03-04 Levi Weintraub <leviw@chromium.org>
14 Add support for 8 bit TextRuns on Chromium Linux & Mac
15 https://bugs.webkit.org/show_bug.cgi?id=99393
17 Reviewed by Eric Seidel.
19 Enabling 8 bit text runs for Linux and Mac platforms.
23 2013-03-04 Peter Beverloo <peter@chromium.org>
25 [Chromium] Add a new dependency on jsr-305 for Android
26 https://bugs.webkit.org/show_bug.cgi?id=111340
28 Unreviewed build fix; new Android dependency. This is
29 currently breaking gyp generation on the Android bots.
33 2013-03-04 Aaron Colwell <acolwell@chromium.org>
35 Remove unused return value from SourceBufferPrivate::abort() and WebSourceBuffer::abort().
36 https://bugs.webkit.org/show_bug.cgi?id=111195
38 Reviewed by Adam Barth.
40 * public/WebSourceBuffer.h:
42 * src/SourceBufferPrivateImpl.cpp:
43 (WebKit::SourceBufferPrivateImpl::abort):
44 * src/SourceBufferPrivateImpl.h:
45 (SourceBufferPrivateImpl):
46 * src/WebMediaPlayerClientImpl.cpp:
47 (WebSourceBufferImpl):
48 (WebKit::WebSourceBufferImpl::abort):
50 2013-03-04 Andrey Lushnikov <lushnikov@chromium.org>
52 Web Inspector: add Ace editor experiment
53 https://bugs.webkit.org/show_bug.cgi?id=111191
55 Reviewed by Pavel Feldman.
57 Add target to concatenate js files for Ace Text Editor.
61 2013-03-04 Kunihiko Sakamoto <ksakamoto@chromium.org>
63 Add build flag for FontLoader
64 https://bugs.webkit.org/show_bug.cgi?id=111289
66 Reviewed by Benjamin Poulain.
68 Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
72 2013-03-04 Andrey Lushnikov <lushnikov@chromium.org>
74 Web Inspector: add runtime flag to determine if inspector's source files were flattened.
75 https://bugs.webkit.org/show_bug.cgi?id=111184
77 Reviewed by Pavel Feldman.
79 Included "buildSystemOnly.js" in devtools.html by generate_devtools_html.py script.
82 * scripts/generate_devtools_html.py: Add script tag to include buildSystemOnly.js
83 (write_devtools_html):
85 2013-03-03 Alexandre Elias <aelias@chromium.org>
87 [chromium] Remove WebLayerTreeView::setViewportSize call
88 https://bugs.webkit.org/show_bug.cgi?id=110727
90 Reviewed by James Robinson.
92 After https://codereview.chromium.org/12328080 lands,
93 setViewportSize is called from the Chromium side. The multiplication
94 by deviceScaleFactor here was prone to off-by-one errors.
95 The layoutSize() function was only used here so delete it as well.
97 DumpRenderTree WebViewHost must now call this method as well.
99 * src/WebViewImpl.cpp:
100 (WebKit::WebViewImpl::updateLayerTreeViewport):
104 2013-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
106 Unreviewed, rolling out r144567.
107 http://trac.webkit.org/changeset/144567
108 https://bugs.webkit.org/show_bug.cgi?id=111266
110 Does not compile on apple-win (Requested by abarth on
114 * src/WebFrameImpl.cpp:
115 (WebKit::WebFrameImpl::iconURLs):
116 * src/WebFrameImpl.h:
119 2013-03-03 Mike West <mkwst@chromium.org>
121 CSP 1.1: Support CSP 1.1 directives on the unprefixed header.
122 https://bugs.webkit.org/show_bug.cgi?id=111254
124 Reviewed by Adam Barth.
126 The enum names no longer made sense: the difference between the
127 canonical 'Content-Security-Policy' header and 'X-WebKit-CSP' is the
128 prefix, not the functionality. This patch renames them for clarity.
130 * public/WebContentSecurityPolicy.h:
131 * src/AssertMatchingEnums.cpp:
132 Rename the Chromium side of the enums.
134 2013-03-03 Adam Barth <abarth@webkit.org>
136 Unreviewed attempted build fix. Adds back some includes removed in
137 http://trac.webkit.org/changeset/144565.
139 * src/ApplicationCacheHost.cpp:
140 * src/AssociatedURLLoader.cpp:
141 * src/EditorClientImpl.cpp:
142 * src/SharedWorkerRepository.cpp:
143 * src/WebDataSourceImpl.cpp:
144 * src/WebFrameImpl.h:
147 * src/WebSharedWorkerImpl.cpp:
148 * tests/FrameLoaderClientImplTest.cpp:
150 2013-03-03 Adam Barth <abarth@webkit.org>
152 Unreviewed rollout of http://trac.webkit.org/r144530
153 As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
154 https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
155 large number of ASSERTs in chromium-win.
157 * src/ApplicationCacheHost.cpp:
158 * src/AssociatedURLLoader.cpp:
159 * src/EditorClientImpl.cpp:
160 * src/SharedWorkerRepository.cpp:
161 * src/WebDataSourceImpl.cpp:
162 * src/WebFrameImpl.h:
165 * src/WebSharedWorkerImpl.cpp:
166 * tests/FrameLoaderClientImplTest.cpp:
168 2013-03-03 Ankur Taly <ataly@google.com>
170 WebKit API for enabling DOM logging for certain worlds
171 https://bugs.webkit.org/show_bug.cgi?id=110779
173 Reviewed by Kentaro Hara.
177 2013-03-03 James Weatherall <wez@chromium.org>
179 keydown and keyup events have zero keycode for some numeric pad keys under Chromium on Linux
180 https://bugs.webkit.org/show_bug.cgi?id=85642
182 Add tests to verify that the fixed keys generate the same keyCode values as their equivalents.
184 Reviewed by Adam Barth.
187 * tests/KeyCodeConversionTestGtk.cpp: Added.
191 2013-02-18 Darin Adler <darin@apple.com>
193 Cut down the number of source files that depend on Clipboard.h
194 https://bugs.webkit.org/show_bug.cgi?id=110030
196 Reviewed by Ryosuke Niwa.
198 * src/SharedWorkerRepository.cpp: Add include of ResourceResponse.h
199 here. We used to get this indirectly through Clipboard.h.
201 2013-02-28 Alexey Proskuryakov <ap@apple.com>
203 Reduce amount of rebuilding when touching networking headers
204 https://bugs.webkit.org/show_bug.cgi?id=111035
206 Reviewed by Eric Seidel.
208 Adding includes that are now necessary because WebCore headers don't have them
211 * src/ApplicationCacheHost.cpp:
212 * src/AssociatedURLLoader.cpp:
213 * src/EditorClientImpl.cpp:
214 * src/SharedWorkerRepository.cpp:
215 * src/WebDataSourceImpl.cpp:
216 * src/WebFrameImpl.h:
218 * src/WebSharedWorkerImpl.cpp:
219 * tests/FrameLoaderClientImplTest.cpp:
221 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
223 Unreviewed. Rolled Chromium DEPS to r185662. Requested by
224 "James Robinson" <jamesr@chromium.org> via sheriffbot.
228 2013-03-01 Terry Anderson <tdanderson@chromium.org>
230 EventHandler::handleGestureScrollUpdate() should invoke the user-generated scroll routines
231 so its behavior matches other user-initiated scrolls
232 https://bugs.webkit.org/show_bug.cgi?id=109769
234 Reviewed by James Robinson.
236 Clear the nodes corresponding to a fling scroll event when the event ends.
238 * src/WebViewImpl.cpp:
239 (WebKit::WebViewImpl::updateAnimations):
241 2013-03-01 David Dorwin <ddorwin@chromium.org>
243 [chromium] Revert r143827 to restore WebHelperPluginImpl's call to frameDetached()
244 https://bugs.webkit.org/show_bug.cgi?id=111232
246 Reviewed by Adam Barth.
248 This patch reverts r143827, which causes a crash in failure conditions:
249 http://crbug.com/178848
251 * src/WebHelperPluginImpl.cpp:
252 (WebKit::WebHelperPluginImpl::destoryPage):
254 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
256 Unreviewed, rolling out r144422 and r144424.
257 http://trac.webkit.org/changeset/144422
258 http://trac.webkit.org/changeset/144424
259 https://bugs.webkit.org/show_bug.cgi?id=111167
261 Caused over 20 tests to fail assertion on Chromium Win port as
262 ASSERTION FAILED: m_platformRequestUpdated (Requested by
263 toyoshim on #webkit).
265 * src/ApplicationCacheHost.cpp:
266 * src/AssociatedURLLoader.cpp:
267 * src/EditorClientImpl.cpp:
268 * src/SharedWorkerRepository.cpp:
269 * src/WebDataSourceImpl.cpp:
270 * src/WebFrameImpl.h:
273 * src/WebSharedWorkerImpl.cpp:
274 * tests/FrameLoaderClientImplTest.cpp:
276 2013-03-01 Jochen Eisinger <jochen@chromium.org>
278 REGRESSION(r144422): Broke compilation on chromium-mac
279 https://bugs.webkit.org/show_bug.cgi?id=111150
281 Unreviewed build fix.
283 * src/WebFrameImpl.h:
286 2013-02-28 Alexey Proskuryakov <ap@apple.com>
288 Reduce amount of rebuilding when touching networking headers
289 https://bugs.webkit.org/show_bug.cgi?id=111035
291 Reviewed by Eric Seidel.
293 Adding includes that are now necessary because WebCore headers don't have them
296 * src/ApplicationCacheHost.cpp:
297 * src/AssociatedURLLoader.cpp:
298 * src/EditorClientImpl.cpp:
299 * src/SharedWorkerRepository.cpp:
300 * src/WebDataSourceImpl.cpp:
301 * src/WebFrameImpl.h:
303 * src/WebSharedWorkerImpl.cpp:
304 * tests/FrameLoaderClientImplTest.cpp:
306 2013-02-28 Ankur Taly <ataly@google.com>
308 WebKit API for enabling DOM logging for certain worlds
309 https://bugs.webkit.org/show_bug.cgi?id=110779
311 Reviewed by Adam Barth.
313 This patch adds initial plumbing for enabling logging of DOM
314 activity by JavaScript code running withing v8, on a
315 per-world basis. In particular it adds methods to the chromium
316 WebKit API for associating a logger object with world ids for which
317 DOM activity logging is enabled.
321 * public/WebDOMActivityLogger.h: Added.
324 (WebDOMActivityLogger):
325 (WebKit::WebDOMActivityLogger::~WebDOMActivityLogger):
326 (WebKit::WebDOMActivityLogger::log):
327 * src/WebDOMActivityLogger.cpp: Added.
329 (DOMActivityLoggerContainer):
330 (WebKit::DOMActivityLoggerContainer::DOMActivityLoggerContainer):
331 (WebKit::DOMActivityLoggerContainer::~DOMActivityLoggerContainer):
332 (WebKit::DOMActivityLoggerContainer::log):
333 (WebKit::hasDOMActivityLogger):
334 (WebKit::setDOMActivityLogger):
336 2013-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
338 Unreviewed. Rolled Chromium DEPS to r185341. Requested by
339 "James Robinson" <jamesr@chromium.org> via sheriffbot.
343 2013-02-28 Varun Jain <varunjain@chromium.org>
345 Add new webkit API to invoke a context menu.
346 https://bugs.webkit.org/show_bug.cgi?id=111040
348 Reviewed by Adam Barth.
352 * src/WebViewImpl.cpp:
353 (WebKit::WebViewImpl::showContextMenu):
357 2013-02-28 Aaron Colwell <acolwell@chromium.org>
359 Factor SourceBuffer methods out of MediaSourcePrivate & WebMediaSource
360 into SourceBufferPrivate & WebSourceBuffer respectively.
361 https://bugs.webkit.org/show_bug.cgi?id=110798
363 Reviewed by Adam Barth, Jer Noble.
366 * public/WebMediaSourceClient.h:
368 (WebMediaSourceClient):
369 * public/WebSourceBuffer.h:
371 (WebSourceBuffer): Contains SourceBuffer methods extracted from WebMediaSource.
372 (WebKit::WebSourceBuffer::~WebSourceBuffer):
373 * src/AssertMatchingEnums.cpp:
374 * src/MediaSourcePrivateImpl.cpp:
376 (WebKit::MediaSourcePrivateImpl::MediaSourcePrivateImpl):
377 (WebKit::MediaSourcePrivateImpl::addSourceBuffer):
378 (WebKit::MediaSourcePrivateImpl::duration):
379 (WebKit::MediaSourcePrivateImpl::setDuration):
380 (WebKit::MediaSourcePrivateImpl::endOfStream):
381 * src/MediaSourcePrivateImpl.h:
383 (MediaSourcePrivateImpl): Adapts MediaSourcePrivate interface to WebMediaSourceClient.
384 (WebKit::MediaSourcePrivateImpl::~MediaSourcePrivateImpl):
385 * src/SourceBufferPrivateImpl.cpp:
387 (WebKit::SourceBufferPrivateImpl::SourceBufferPrivateImpl):
388 (WebKit::SourceBufferPrivateImpl::buffered):
389 (WebKit::SourceBufferPrivateImpl::append):
390 (WebKit::SourceBufferPrivateImpl::abort):
391 (WebKit::SourceBufferPrivateImpl::setTimestampOffset):
392 (WebKit::SourceBufferPrivateImpl::removedFromMediaSource):
393 * src/SourceBufferPrivateImpl.h:
395 (SourceBufferPrivateImpl): Adapts SourceBufferPrivate interface to WebSourceBuffer.
396 (WebKit::SourceBufferPrivateImpl::~SourceBufferPrivateImpl):
397 * src/WebMediaPlayerClientImpl.cpp:
398 (WebMediaSourceClientImpl):
400 (WebSourceBufferImpl): Temporary implementation of WebSourceBuffer to keep things working
401 until the Chromium side changes land.
402 (WebKit::WebMediaSourceClientImpl::addSourceBuffer):
403 (WebKit::WebMediaSourceClientImpl::duration):
404 (WebKit::WebMediaSourceClientImpl::setDuration):
405 (WebKit::WebMediaSourceClientImpl::endOfStream):
406 (WebKit::WebSourceBufferImpl::WebSourceBufferImpl):
407 (WebKit::WebSourceBufferImpl::buffered):
408 (WebKit::WebSourceBufferImpl::append):
409 (WebKit::WebSourceBufferImpl::abort):
410 (WebKit::WebSourceBufferImpl::setTimestampOffset):
411 (WebKit::WebSourceBufferImpl::removedFromMediaSource):
412 * src/WebMediaSourceImpl.cpp:
414 2013-02-28 David Grogan <dgrogan@chromium.org>
416 IndexedDB: IO error when checking schema should destroy LevelDB directory
417 https://bugs.webkit.org/show_bug.cgi?id=110675
419 Reviewed by Adam Barth.
422 This was cargo-culted. The component build wouldn't run otherwise.
425 * tests/IDBCleanupOnIOErrorTest.cpp: Added.
427 2013-02-28 Stephen Chenney <schenney@chromium.org>
429 RenderTableCellDeathTest unit test fails on mac
430 https://bugs.webkit.org/show_bug.cgi?id=110992
432 Unreviewed revert of all changes. The problem seems to have resolved.
434 * tests/RenderTableCellTest.cpp: Remove Mac disable code.
436 2013-02-28 Takashi Toyoshima <toyoshim@chromium.org>
438 Unreviewed, quick test breakage fix for android
439 https://bugs.webkit.org/show_bug.cgi?id=110740
441 Patch by Seigo Nonaka <nona@chromium.org> on 2013-02-27
443 * src/WebViewImpl.cpp:
444 (WebKit::WebViewImpl::textInputInfo): Reconstruct condition check order
446 2013-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
448 Unreviewed. Rolled Chromium DEPS to r184931. Requested by
449 "Takashi Toyoshima" <toyoshim@chromium.org> via sheriffbot.
453 2013-02-27 Seigo Nonaka <nona@chromium.org>
455 [Chromium] Should not return WebTextInputTypeNone for date input element.
456 https://bugs.webkit.org/show_bug.cgi?id=110740
458 Reviewed by Kent Tamura.
460 In the case of Windows 8, text input state including on-screen keyboard is controlled by the
461 value of WebTextInputType returned from WebViewImpl::textInputType().
462 In past, it returned WebTextInputTypeDate for date text input but now it returns
463 WebTextInputTypeNone.
464 WebTextInputTypeNone is used for non editable node, so on-screen keyboard will be hidden if
465 the date text input is focused. So there is no way to input on Windows 8 tablet without
466 physical keyboard except tapping small up/down arrow.
468 * public/WebTextInputType.h: Introduces WebTextInputTypeDateTimeField.
469 * src/WebViewImpl.cpp:
470 (WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of editable or not. It is
471 safe because textInputType returns editable type only for known editable element.
472 (WebKit::WebViewImpl::textInputType): Returns WebTextInputTypeDateTimeField for the date
475 2013-02-27 James Simonsen <simonjam@chromium.org>
477 [chromium] Lower priority of preloaded images
478 https://bugs.webkit.org/show_bug.cgi?id=110527
480 Plumb the didChangePriority signal into DRT so it can be tested.
482 Reviewed by Nate Chapin.
484 * public/WebFrameClient.h:
486 (WebKit::WebFrameClient::didChangeResourcePriority):
488 * src/FrameLoaderClientImpl.cpp:
489 (WebKit::FrameLoaderClientImpl::dispatchDidChangeResourcePriority):
491 * src/FrameLoaderClientImpl.h:
492 (FrameLoaderClientImpl):
494 2013-02-27 Min Qin <qinmin@chromium.org>
496 Unlock partially decoded images after passing them to the ImageDecodingStore
497 https://bugs.webkit.org/show_bug.cgi?id=110778
499 Reviewed by Stephen White.
501 Test for testing that image frames are unlocked after passing to ImageDecodingStore.
503 * tests/ImageFrameGeneratorTest.cpp:
504 (WebCore::ImageFrameGeneratorTest::SetUp):
505 (WebCore::ImageFrameGeneratorTest::frameBuffersUnlocked):
506 (ImageFrameGeneratorTest):
507 (WebCore::ImageFrameGeneratorTest::frameBuffersLocked):
509 * tests/MockImageDecoder.h:
510 (WebCore::MockImageDecoderClient::frameBuffersLocked):
511 (WebCore::MockImageDecoderClient::frameBuffersUnlocked):
512 (WebCore::MockImageDecoder::unlockFrameBuffers):
513 (WebCore::MockImageDecoder::lockFrameBuffers):
516 2013-02-27 John Bauman <jbauman@chromium.org>
518 Plugin in iframe may not display
519 https://bugs.webkit.org/show_bug.cgi?id=109879
521 Reviewed by Simon Fraser.
523 Use clipRectChanged to update the geometry.
525 * src/WebPluginContainerImpl.cpp:
526 (WebKit::WebPluginContainerImpl::clipRectChanged):
527 * src/WebPluginContainerImpl.h:
529 2013-02-27 Stephen Chenney <schenney@chromium.org>
531 RenderTableCellDeathTest unit test fails on mac
532 https://bugs.webkit.org/show_bug.cgi?id=110992
534 Unreviewed second attempt. Trying to get the right define for the OS.
536 * tests/RenderTableCellTest.cpp:
538 2013-02-27 Stephen Chenney <schenney@chromium.org>
540 RenderTableCellDeathTest unit test fails on mac
541 https://bugs.webkit.org/show_bug.cgi?id=110992
543 Unreviewed disabling of test that is hanging or crashing on Mac.
545 * tests/RenderTableCellTest.cpp:
547 2013-02-27 James Robinson <jamesr@chromium.org>
549 [chromium] Remove suppression invalidation logic from WebViewImpl
550 https://bugs.webkit.org/show_bug.cgi?id=110999
552 Reviewed by Adrienne Walker.
554 This suppression logic is now handled on the embedder side. In fact, scheduleComposite() is now only used
557 * src/WebViewImpl.cpp:
558 (WebKit::WebViewImpl::WebViewImpl):
559 (WebKit::WebViewImpl::suppressInvalidations):
560 (WebKit::WebViewImpl::scheduleComposite):
563 2013-02-27 Glenn Adams <glenn@skynav.com>
565 Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
566 https://bugs.webkit.org/show_bug.cgi?id=110944
568 Reviewed by Dean Jackson.
572 2013-02-26 James Robinson <jamesr@chromium.org>
574 [chromium] Remove WebViewImpl::animate shimmy out through compositor
575 https://bugs.webkit.org/show_bug.cgi?id=110935
577 Reviewed by Adrienne Walker.
579 WebViewImpl::animate() and WebViewImpl::updateAnimations() are confusingly similar. ::animate() implements
580 the WebWidget API and is called by content::RenderWidget and WebViewHost. ::updateAnimations() implements
581 the WebLayerTreeViewClient API and is called by content::RenderWidgetCompositor and by ::animate(). The
582 important part of this indirection is that whenever the compositor is active, all animation calls must
583 route through cc::LayerTreeHost before entering into WebCore's animation code so that the compositor
584 can set the appropriate rate limiting state. Animations may originate from
585 content::RenderWidget::AnimateIfNeeded when in software and single threaded mode or from
586 cc::LayerTreeHost::updateAnimations in threaded compositing mode. In the long ago, content::RenderWidget had no
587 idea if compositing was active or not and always called WebWidget::animate(), so WebViewImpl::animate() had to
588 redirect to the compositor when appropriate.
590 Now (as of chromium r180947) RenderWidget calls WebWidget::animate only when in software mode and otherwise
591 calls directly into the compositor. Thus WebViewImpl::animate() no longer needs to do this check. In a
592 follow-up, WebViewImpl::updateAnimations will go away completely in favor of just calling WebWidget::animate in
595 * src/WebViewImpl.cpp:
596 (WebKit::WebViewImpl::animate):
597 (WebKit::WebViewImpl::updateAnimations):
599 2013-02-27 Sheriff Bot <webkit.review.bot@gmail.com>
601 Unreviewed, rolling out r144179.
602 http://trac.webkit.org/changeset/144179
603 https://bugs.webkit.org/show_bug.cgi?id=110980
605 Breaks compilation (Requested by vsevik on #webkit).
607 * public/WebTextInputType.h:
608 * src/WebViewImpl.cpp:
609 (WebKit::WebViewImpl::textInputInfo):
610 (WebKit::WebViewImpl::textInputType):
612 2013-02-27 Stephen Chenney <schenney@chromium.org>
614 [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Android
615 https://bugs.webkit.org/show_bug.cgi?id=110922
617 Unreviewed build fix.
619 * tests/GIFImageDecoderTest.cpp:
621 (WebKit::TEST): Disable the entire test on Android.
623 2013-02-27 Seigo Nonaka <nona@chromium.org>
625 [Chromium] Should not return WebTextInputTypeNone for date input element.
626 https://bugs.webkit.org/show_bug.cgi?id=110740
628 Reviewed by Kent Tamura.
630 In the case of Windows 8, text input state including on-screen keyboard is controlled by the
631 value of WebTextInputType returned from WebViewImpl::textInputType().
632 In past, it returned WebTextInputTypeDate for date text input but now it returns
633 WebTextInputTypeNone.
634 WebTextInputTypeNone is used for non editable node, so on-screen keyboard will be hidden if
635 the date text input is focused. So there is no way to input on Windows 8 tablet without
636 physical keyboard except tapping small up/down arrow.
638 * public/WebTextInputType.h: Introduces WebTextInputTypeDateTimeField.
639 * src/WebViewImpl.cpp:
640 (WebKit::WebViewImpl::textInputInfo): Fills type filed regardless of editable or not. It is
641 safe because textInputType returns editable type only for known editable element.
642 (WebKit::WebViewImpl::textInputType): Returns WebTextInputTypeDateTimeField for the date
645 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
647 Unreviewed, rolling out r144129.
648 http://trac.webkit.org/changeset/144129
649 https://bugs.webkit.org/show_bug.cgi?id=110947
651 Breaks compilation on chromium mac and win (Requested by
654 * src/WebViewImpl.cpp:
655 (WebKit::WebViewImpl::willBeginFrame):
657 (WebKit::WebViewImpl::didBeginFrame):
659 * tests/WebLayerTreeViewTestCommon.h:
661 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
663 Unreviewed. Rolled Chromium DEPS to r184829. Requested by
664 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
668 2013-02-26 James Robinson <jamesr@chromium.org>
670 [chromium] Remove WebLayerTreeViewClient::(will|did)BeginFrame
671 https://bugs.webkit.org/show_bug.cgi?id=110928
673 Reviewed by Adrienne Walker.
675 * src/WebViewImpl.cpp:
677 * tests/WebLayerTreeViewTestCommon.h:
679 2013-02-26 Alpha Lam <hclam@chromium.org>
681 [chromium] GIFImageDecoderTest.parseAndDecodeByteByByte failing on Android
682 https://bugs.webkit.org/show_bug.cgi?id=110922
684 Unreviewed. Build fix.
686 * tests/GIFImageDecoderTest.cpp:
689 2013-02-26 James Robinson <jamesr@chromium.org>
691 [chromium] Remove unused WebLayerTreeViewClient calls
692 https://bugs.webkit.org/show_bug.cgi?id=110923
694 Reviewed by Adrienne Walker.
696 These notifications existed for instrumentation, but now the instrumentation routes
697 through WebDevToolsAgent.
699 * src/WebViewImpl.cpp:
701 * tests/WebLayerTreeViewTestCommon.h:
703 2013-02-26 Dirk Pranke <dpranke@chromium.org>
705 Roll Chromium DEPS from r183905 -> r184646.
711 2013-02-26 James Robinson <jamesr@chromium.org>
713 [chromium] Remove unused WebWidget::instrument calls
714 https://bugs.webkit.org/show_bug.cgi?id=110906
716 Reviewed by Jochen Eisinger.
718 These calls are now routed through WebDevToolsAgent.
720 * public/WebWidget.h:
721 * src/WebViewImpl.cpp:
722 (WebKit::WebViewImpl::willBeginFrame):
725 2013-02-20 Alpha Lam <hclam@chromium.org>
727 GIFImageReader to read from source data directly
728 https://bugs.webkit.org/show_bug.cgi?id=109662
730 Reviewed by Stephen White.
732 Added the following unit tests to test new logic in GIFImageDecoder:
734 GIFImageDecoderTest.decodeTwoFrames
735 Test that it can decode a multi-frame GIF image correctly.
737 GIFImageDecoderTest.parseAndDecode
738 First perform a parse operation and then a decode operation. Expect
739 that parse and decode operates correctly.
741 GIFImageDecoderTest.parseByteByByte
742 Test that multi-frame GIF image can be parsed correctly byte by byte.
744 GIFImageDecoderTest.parseAndDecodeByteByByte
745 Run a loop to feed decoder byte by byte, perform a parse and then
746 decode operation and make sure frames are decoded correctly.
748 GIFImageDecoderTest.brokenSecondFrame
749 Decode a GIF image with second frame broken. Expect that the first
750 frame can be decoded correctly.
753 * tests/GIFImageDecoderTest.cpp: Added.
757 * tests/data/broken.gif: Added.
759 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
761 Unreviewed, rolling out r144065.
762 http://trac.webkit.org/changeset/144065
763 https://bugs.webkit.org/show_bug.cgi?id=110896
765 Causing failures and crashes on Chromium Win7 and Win XP
766 (Requested by schenney on #webkit).
770 2013-02-26 Levi Weintraub <leviw@chromium.org>
772 Add support for 8 bit TextRuns for Chromium/HarfBuzz
773 https://bugs.webkit.org/show_bug.cgi?id=99393
775 Reviewed by Eric Seidel.
777 Enabling 8 bit text runs for Chromium.
781 2013-02-26 Dmitry Zvorygin <zvorygin@chromium.org>
783 Merged Tip and Debug log levels for web console.
784 https://bugs.webkit.org/show_bug.cgi?id=109919
786 Reviewed by Pavel Feldman.
788 In every component either TIP or DEBUG level was used for reporting,
789 but not both. This patch is prerequisite for Web Inspector console log filtering.
791 * public/WebConsoleMessage.h:
792 * src/AssertMatchingEnums.cpp:
793 * src/WebFrameImpl.cpp:
794 (WebKit::WebFrameImpl::addMessageToConsole):
796 2013-02-26 Andrey Kosyakov <caseq@chromium.org>
798 Plumbing trace events to Timeline
800 Web Inspector: plumb trace events to Timeline agent
801 https://bugs.webkit.org/show_bug.cgi?id=105796
803 Reviewed by Pavel Feldman.
805 * public/WebDevToolsAgentClient.h:
806 (WebDevToolsAgentClient):
807 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
808 * src/InspectorClientImpl.cpp:
809 (WebKit::InspectorClientImpl::setTraceEventCallback):
811 * src/InspectorClientImpl.h:
812 (InspectorClientImpl):
813 * src/WebDevToolsAgentImpl.cpp:
814 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
816 * src/WebDevToolsAgentImpl.h:
817 (WebDevToolsAgentImpl):
819 2013-02-01 Andrey Kosyakov <caseq@chromium.org>
821 Web Inspector: plumb trace events to Timeline agent
822 https://bugs.webkit.org/show_bug.cgi?id=105796
824 Reviewed by Pavel Feldman.
826 Plumb trace events to Inspector.
828 * public/WebDevToolsAgentClient.h:
829 (WebDevToolsAgentClient):
830 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
831 * src/InspectorClientImpl.cpp:
832 (WebKit::InspectorClientImpl::setTraceEventCallback):
834 * src/InspectorClientImpl.h:
835 (InspectorClientImpl):
836 * src/WebDevToolsAgentImpl.cpp:
837 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
839 * src/WebDevToolsAgentImpl.h:
840 (WebDevToolsAgentImpl):
842 2013-02-26 Andrey Kosyakov <caseq@chromium.org>
844 Unreviewed, rolling out r144041, r144044, and r144048.
845 http://trac.webkit.org/changeset/144041
846 http://trac.webkit.org/changeset/144044
847 http://trac.webkit.org/changeset/144048
848 https://bugs.webkit.org/show_bug.cgi?id=105796
852 * public/WebDevToolsAgentClient.h:
853 * src/InspectorClientImpl.cpp:
854 * src/InspectorClientImpl.h:
855 (InspectorClientImpl):
856 * src/WebDevToolsAgentImpl.cpp:
857 * src/WebDevToolsAgentImpl.h:
858 (WebDevToolsAgentImpl):
860 2013-02-01 Andrey Kosyakov <caseq@chromium.org>
862 Web Inspector: plumb trace events to Timeline agent
863 https://bugs.webkit.org/show_bug.cgi?id=105796
865 Reviewed by Pavel Feldman.
867 Plumb trace events to Inspector.
869 * public/WebDevToolsAgentClient.h:
870 (WebDevToolsAgentClient):
871 (WebKit::WebDevToolsAgentClient::setTraceEventCallback):
872 * src/InspectorClientImpl.cpp:
873 (WebKit::InspectorClientImpl::setTraceEventCallback):
875 * src/InspectorClientImpl.h:
876 (InspectorClientImpl):
877 * src/WebDevToolsAgentImpl.cpp:
878 (WebKit::WebDevToolsAgentImpl::setTraceEventCallback):
880 * src/WebDevToolsAgentImpl.h:
881 (WebDevToolsAgentImpl):
883 2013-02-26 Tien-Ren Chen <trchen@chromium.org>
885 Implement coordinated scrollbar for subframes and overflow:scroll
886 https://bugs.webkit.org/show_bug.cgi?id=109560
888 Reviewed by James Robinson.
890 Added ScrollingCoordinatorChromiumTest.iframeScrolling to verify
891 impl-side scrolling and impl-side scrollbars for frames.
893 Update ScrollingCoordinatorChromiumTest.overflowScrolling to verify
894 impl-side scrollbars.
896 * tests/ScrollingCoordinatorChromiumTest.cpp:
897 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
900 * tests/data/iframe-scrolling-inner.html: Added.
901 * tests/data/iframe-scrolling.html: Added.
903 2013-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
905 Unreviewed, rolling out r144016.
906 http://trac.webkit.org/changeset/144016
907 https://bugs.webkit.org/show_bug.cgi?id=110856
909 Breaks compilation on chromium mac (Requested by vsevik on
913 * tests/KeyCodeConversionTest.cpp: Removed.
915 2013-02-26 James Robinson <jamesr@chromium.org>
917 [chromium] Fix continuous painting mode
918 https://bugs.webkit.org/show_bug.cgi?id=110788
920 Reviewed by Adrienne Walker.
922 Recent instrumentation shuffling caused WebViewImpl::didBeginFrame to no longer be called, which
923 broke continuous painting. Since continuous painting mode is meant to simply invalidate layers
924 on each frame, it's a better fit for the animation system. This moves the invalidation calls
925 into WebViewImpl::updateAnimations along with other animation type things.
927 Tested manually by enabling continuous painting mode in the inspector. There aren't any automated
928 tests in WebKit for this feature.
930 * src/WebViewImpl.cpp:
931 (WebKit::WebViewImpl::setContinuousPaintingEnabled):
932 (WebKit::WebViewImpl::didBeginFrame):
933 (WebKit::WebViewImpl::updateAnimations):
934 * src/painting/ContinuousPainter.cpp:
935 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
937 2013-02-26 James Weatherall <wez@chromium.org>
939 keydown and keyup events have zero keycode for some numeric pad keys under Chromium on Linux
940 https://bugs.webkit.org/show_bug.cgi?id=85642
942 Add tests to verify that the fixed keys generate the same keyCode values
943 as their equivalents.
945 Reviewed by Ojan Vafai.
948 * tests/KeyCodeConversionTest.cpp: Added.
952 2013-02-25 Rouslan Solomakhin <rouslan@chromium.org>
954 Add expandedToParagraph() method to WebRange
955 https://bugs.webkit.org/show_bug.cgi?id=110618
957 Reviewed by Adam Barth.
959 Add a method expandedToParagraph() to WebRange to return a copy of the
960 range expanded to paragraph boundaries. This method is to be used to
961 query the spelling context around the misspelled word under cursor.
964 (WebRange): Added expandedToParagraph() method declaration.
966 (WebKit::WebRange::expandedToParagraph): Added method to copy range, expand the copied range to paragraph boundaries, and return the resulting range.
967 (WebKit): Added expandedToParagraph() method definition.
969 2013-02-25 James Robinson <jamesr@chromium.org>
971 [chromium] WebViewImpl::m_client can be null in some unit tests, check it before calling
972 https://bugs.webkit.org/show_bug.cgi?id=110834
974 Reviewed by Adrienne Walker.
976 * src/WebViewImpl.cpp:
977 (WebKit::WebViewImpl::suppressInvalidations):
978 (WebKit::WebViewImpl::setRootGraphicsLayer):
980 2013-02-25 Ken Kania <kkania@chromium.org>
982 Remove browser patching mechanism for handling javascript dialogs in chromium port
983 https://bugs.webkit.org/show_bug.cgi?id=110531
985 Reviewed by Pavel Feldman.
987 * public/WebDevToolsAgent.h:
988 * src/WebDevToolsAgentImpl.cpp:
989 (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
990 (WebKit::browserHintToString):
991 (WebKit::browserHintFromString):
992 (WebKit::WebDevToolsAgent::patchWithBrowserData):
994 2013-02-25 James Robinson <jamesr@chromium.org>
996 [chromium] Plumb WebViewImpl's compositor scheduling suppression out to WebWidgetClient
997 https://bugs.webkit.org/show_bug.cgi?id=110640
999 Reviewed by Adrienne Walker.
1001 This plumbs the WebViewImpl::m_suppressInvalidations logic out to the WebWidgetClient so
1002 it can be implemented by the embedder. The existing logic is left in place for now,
1003 once the embedder side has landed WebViewImpl will be purely a pass-through.
1005 * public/WebWidgetClient.h:
1007 (WebKit::WebWidgetClient::suppressCompositorScheduling):
1008 * src/WebViewImpl.cpp:
1009 (WebKit::WebViewImpl::suppressInvalidations):
1010 (WebKit::WebViewImpl::setRootGraphicsLayer):
1012 2013-02-25 Sheriff Bot <webkit.review.bot@gmail.com>
1014 Unreviewed, rolling out r143936.
1015 http://trac.webkit.org/changeset/143936
1016 https://bugs.webkit.org/show_bug.cgi?id=110789
1018 Causes webkit_unit_tests failures on android dbg (Requested by
1019 vollick on #webkit).
1023 * tests/GIFImageDecoderTest.cpp: Removed.
1024 * tests/data/broken.gif: Removed.
1026 2013-02-25 Alpha Lam <hclam@chromium.org>
1028 GIFImageReader to read from source data directly
1029 https://bugs.webkit.org/show_bug.cgi?id=109662
1031 Reviewed by Stephen White.
1033 Added the following unit tests to test new logic in GIFImageDecoder:
1035 GIFImageDecoderTest.decodeTwoFrames
1036 Test that it can decode a multi-frame GIF image correctly.
1038 GIFImageDecoderTest.parseAndDecode
1039 First perform a parse operation and then a decode operation. Expect
1040 that parse and decode operates correctly.
1042 GIFImageDecoderTest.parseByteByByte
1043 Test that multi-frame GIF image can be parsed correctly byte by byte.
1045 GIFImageDecoderTest.parseAndDecodeByteByByte
1046 Run a loop to feed decoder byte by byte, perform a parse and then
1047 decode operation and make sure frames are decoded correctly.
1049 GIFImageDecoderTest.brokenSecondFrame
1050 Decode a GIF image with second frame broken. Expect that the first
1051 frame can be decoded correctly.
1055 * tests/GIFImageDecoderTest.cpp: Added.
1059 * tests/data/broken.gif: Added.
1061 2013-02-25 Andrey Kosyakov <caseq@chromium.org>
1063 Unreviewed follow-up to r143725, reduce chances test flakes on a slow box.
1066 (.TestSuite.prototype.testPageOverlayUpdate.step2):
1068 2013-02-25 Anton Vayvod <avayvod@chromium.org>
1070 [Chromium] Disable registerProtocolHandler on Android
1071 https://bugs.webkit.org/show_bug.cgi?id=110481
1073 Reviewed by Julien Chaffraix.
1075 Chromium for Android has been exposing registerProtocolHandler, but the feature wasn't
1076 actually wired up internally. Disable the feature to avoid breaking feature detection until
1077 we can implement it properly. Previous attempt is at http://trac.webkit.org/changeset/133465
1078 See the discussion of the future implementation at http://crbug.com/156386
1080 * features.gypi: Disable the flag for Android, enable it only for non-Android platforms.
1082 * src/ChromeClientImpl.h: Declaration is now guarded by the flag, not to break Android.
1084 2013-02-24 Hajime Morrita <morrita@google.com>
1086 [Custom Elements] Implement bare-bone document.register()
1087 https://bugs.webkit.org/show_bug.cgi?id=100229
1089 Reviewed by Adam Barth.
1091 Added enableCustomDOMElements flag.
1094 * public/WebRuntimeFeatures.h:
1095 (WebRuntimeFeatures):
1096 * src/WebRuntimeFeatures.cpp:
1097 (WebKit::WebRuntimeFeatures::enableCustomDOMElements):
1099 (WebKit::WebRuntimeFeatures::isCustomDOMElementsEnabled):
1101 2013-02-23 Mark Pilgrim <pilgrim@chromium.org>
1103 [Chromium] WebKit::initialize should take a Platform* now that WebKitPlatformSupport is empty
1104 https://bugs.webkit.org/show_bug.cgi?id=110605
1106 Reviewed by Adam Barth.
1108 Part of a larger refactoring series; see tracking bug 82948.
1113 (WebKit::initialize):
1114 (WebKit::initializeWithoutV8):
1115 (WebKit::webKitPlatformSupport):
1117 2013-02-22 David Dorwin <ddorwin@chromium.org>
1119 [chromium] Remove call to detach WebHelperPluginImpl's frame since it is never attached
1120 https://bugs.webkit.org/show_bug.cgi?id=110668
1122 Reviewed by Adam Barth.
1124 This fixes http://crbug.com/172764
1126 * src/WebHelperPluginImpl.cpp:
1127 (WebKit::WebHelperPluginImpl::destoryPage):
1129 2013-02-22 Aaron Colwell <acolwell@chromium.org>
1131 Factor MediaSource methods out of MediaPlayer & MediaPlayerPrivate and into a new MediaSourcePrivate interface.
1132 https://bugs.webkit.org/show_bug.cgi?id=109857
1134 Reviewed by Adam Barth.
1136 WebMediaSource and WebMediaSource client were created to replace the MediaSource methods in WebMediaPlayer and
1137 WebMediaPlayerClient. This allows the MediaSource implementation to be updated without further polluting the
1138 media player interfaces.
1141 * public/WebMediaPlayer.h:
1143 (WebKit::WebMediaPlayer::load):
1144 * public/WebMediaPlayerClient.h:
1146 * public/WebMediaSource.h: Added.
1149 (WebKit::WebMediaSource::~WebMediaSource):
1150 * public/WebMediaSourceClient.h: Added.
1152 (WebMediaSourceClient):
1153 (WebKit::WebMediaSourceClient::~WebMediaSourceClient):
1154 * src/AssertMatchingEnums.cpp:
1155 * src/WebMediaPlayerClientImpl.cpp:
1157 (WebMediaSourceClientImpl): Temporary WebMediaSourceClient implementation to keep things working until Chromium
1159 (WebKit::WebMediaSourceClientImpl::WebMediaSourceClientImpl):
1160 (WebKit::WebMediaSourceClientImpl::~WebMediaSourceClientImpl):
1161 (WebKit::WebMediaSourceClientImpl::addId):
1162 (WebKit::WebMediaSourceClientImpl::removeId):
1163 (WebKit::WebMediaSourceClientImpl::buffered):
1164 (WebKit::WebMediaSourceClientImpl::append):
1165 (WebKit::WebMediaSourceClientImpl::abort):
1166 (WebKit::WebMediaSourceClientImpl::duration):
1167 (WebKit::WebMediaSourceClientImpl::setDuration):
1168 (WebKit::WebMediaSourceClientImpl::endOfStream):
1169 (WebKit::WebMediaSourceClientImpl::setTimestampOffset):
1170 (WebKit::WebMediaPlayerClientImpl::sourceOpened):
1171 (WebKit::WebMediaPlayerClientImpl::sourceURL):
1172 (WebKit::WebMediaPlayerClientImpl::load):
1173 (WebKit::WebMediaPlayerClientImpl::loadRequested):
1174 (WebKit::WebMediaPlayerClientImpl::loadInternal):
1175 * src/WebMediaPlayerClientImpl.h:
1176 (WebMediaPlayerClientImpl):
1177 * src/WebMediaSourceImpl.cpp: Added.
1179 (MediaSourcePrivateImpl):
1180 (WebKit::MediaSourcePrivateImpl::~MediaSourcePrivateImpl):
1181 (WebKit::MediaSourcePrivateImpl::MediaSourcePrivateImpl):
1182 (WebKit::MediaSourcePrivateImpl::addId):
1183 (WebKit::MediaSourcePrivateImpl::removeId):
1184 (WebKit::MediaSourcePrivateImpl::buffered):
1185 (WebKit::MediaSourcePrivateImpl::append):
1186 (WebKit::MediaSourcePrivateImpl::abort):
1187 (WebKit::MediaSourcePrivateImpl::duration):
1188 (WebKit::MediaSourcePrivateImpl::setDuration):
1189 (WebKit::MediaSourcePrivateImpl::endOfStream):
1190 (WebKit::MediaSourcePrivateImpl::setTimestampOffset):
1191 (WebKit::WebMediaSourceImpl::WebMediaSourceImpl):
1192 (WebKit::WebMediaSourceImpl::~WebMediaSourceImpl):
1193 (WebKit::WebMediaSourceImpl::open):
1194 * src/WebMediaSourceImpl.h: Added.
1196 (WebMediaSourceImpl):
1198 2013-02-22 Alec Flett <alecflett@chromium.org>
1200 IndexedDB: Remove old SerializedScriptValue-based get() callbacks
1201 https://bugs.webkit.org/show_bug.cgi?id=110626
1203 Reviewed by James Robinson.
1205 Removal now that refactoring is complete.
1207 * public/WebIDBCallbacks.h:
1210 2013-02-22 Ali Juma <ajuma@chromium.org>
1212 [chromium] Register newly-created layers for animation
1213 https://bugs.webkit.org/show_bug.cgi?id=106594
1215 Reviewed by James Robinson.
1218 * src/ChromeClientImpl.cpp:
1219 (WebKit::ChromeClientImpl::ChromeClientImpl):
1220 (WebKit::ChromeClientImpl::graphicsLayerFactory):
1221 * src/ChromeClientImpl.h:
1223 * src/GraphicsLayerFactoryChromium.cpp: Added.
1225 (WebKit::GraphicsLayerFactoryChromium::GraphicsLayerFactoryChromium):
1226 (WebKit::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
1227 (WebKit::GraphicsLayerFactoryChromium::createGraphicsLayer):
1228 * src/GraphicsLayerFactoryChromium.h: Added.
1230 (GraphicsLayerFactoryChromium):
1231 * src/WebViewImpl.cpp:
1232 (WebKit::WebViewImpl::WebViewImpl):
1233 (WebKit::WebViewImpl::graphicsLayerFactory):
1235 (WebKit::WebViewImpl::registerForAnimations):
1236 * src/WebViewImpl.h:
1239 2013-02-22 Fady Samuel <fsamuel@chromium.org>
1241 [Chromium] Expose shadowRoot to the WebKit API
1242 https://bugs.webkit.org/show_bug.cgi?id=110522
1244 Reviewed by Dimitri Glazkov.
1246 * public/WebElement.h:
1248 * src/WebElement.cpp:
1249 (WebKit::WebElement::shadowRoot):
1252 2013-02-22 Sheriff Bot <webkit.review.bot@gmail.com>
1254 Unreviewed, rolling out r143734.
1255 http://trac.webkit.org/changeset/143734
1256 https://bugs.webkit.org/show_bug.cgi?id=110615
1258 Causes linux build failures. (Requested by vollick on
1264 (WebKit::initialize):
1265 (WebKit::initializeWithoutV8):
1266 (WebKit::webKitPlatformSupport):
1268 2013-02-22 Mikhail Naganov <mnaganov@chromium.org>
1270 [Chromium] Add support for emulating legacy Android WebView 'setInitialScale' method
1271 https://bugs.webkit.org/show_bug.cgi?id=109946
1273 Adding a WebView method for permanently setting initial page scale.
1274 This override has higher priority than any calculated page scale
1275 and viewport meta tag value.
1277 Also, this patch eliminates a dubious "fixed layout enabled, viewport disabled" mode
1278 previously used by Android WebView.
1280 Reviewed by Adam Barth.
1284 * src/ChromeClientImpl.cpp:
1285 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1286 * src/WebViewImpl.cpp:
1287 (WebKit::WebViewImpl::WebViewImpl):
1288 (WebKit::WebViewImpl::setInitialPageScaleOverride):
1290 (WebKit::WebViewImpl::computePageScaleFactorLimits):
1291 * src/WebViewImpl.h:
1292 * tests/WebFrameTest.cpp:
1294 2013-02-22 Mark Pilgrim <pilgrim@chromium.org>
1296 [Chromium] WebKit::initialize should take a Platform* now that WebKitPlatformSupport is empty
1297 https://bugs.webkit.org/show_bug.cgi?id=110605
1299 Reviewed by Adam Barth.
1301 Part of a larger refactoring series; see tracking bug 82948.
1306 (WebKit::initialize):
1307 (WebKit::initializeWithoutV8):
1308 (WebKit::webKitPlatformSupport):
1310 2013-02-22 Andrey Kosyakov <caseq@chromium.org>
1312 Web Inspector: [Chromium] add a browser test for frames on timeline
1313 https://bugs.webkit.org/show_bug.cgi?id=110592
1315 - factor out timeline recording logic from testPageOverlayUpdate for reuse;
1316 - record timeline while running a simple DOM-based animation;
1317 - assure we have frames and Style Recalc/Layout/Paint events in between.
1319 Reviewed by Yury Semikhatsky.
1322 (.TestSuite.prototype.assertHasKey):
1323 (.TestSuite.prototype.testTimelineFrames.step1):
1324 (.TestSuite.prototype.testTimelineFrames.onTimelineRecorded):
1325 (.TestSuite.prototype.testTimelineFrames):
1326 (.TestSuite.prototype.testPageOverlayUpdate.step4):
1327 (.TestSuite.prototype.testPageOverlayUpdate.onTimelineRecorded):
1328 (.TestSuite.prototype.recordTimeline.addRecord):
1329 (.TestSuite.prototype.recordTimeline.innerAddRecord):
1330 (.TestSuite.prototype.recordTimeline.done):
1331 (.TestSuite.prototype.recordTimeline):
1332 (.TestSuite.prototype.stopTimeline):
1334 2013-02-21 Alec Flett <alecflett@chromium.org>
1336 IndexedDB: Implement SharedBuffer version of put() / onSuccess()
1337 https://bugs.webkit.org/show_bug.cgi?id=110398
1339 Reviewed by Tony Chang.
1341 Proxy new SharedBuffer calls to WebIDBCallbacks through
1342 to the new SharedBuffer-based IDBCallbacks.
1344 * public/WebIDBCursor.h:
1345 * src/IDBCallbacksProxy.cpp:
1346 (WebKit::IDBCallbacksProxy::onSuccess):
1347 (WebKit::IDBCallbacksProxy::onSuccessWithPrefetch):
1348 * src/IDBCallbacksProxy.h:
1349 (IDBCallbacksProxy):
1350 * src/WebIDBCallbacksImpl.cpp:
1351 (WebKit::WebIDBCallbacksImpl::onSuccess):
1352 * src/WebIDBCallbacksImpl.h:
1353 (WebIDBCallbacksImpl):
1354 * tests/IDBAbortOnCorruptTest.cpp:
1355 (WebCore::MockIDBCallbacks::onSuccess):
1356 (WebCore::MockIDBCallbacks::onSuccessWithPrefetch):
1357 * tests/IDBDatabaseBackendTest.cpp:
1358 * tests/IDBRequestTest.cpp:
1361 2013-02-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1363 Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
1364 https://bugs.webkit.org/show_bug.cgi?id=110208
1366 Reviewed by Hajime Morrita.
1368 * src/EditorClientImpl.cpp:
1369 (WebKit::EditorClientImpl::requestCheckingOfString):
1370 Extract the request data as it is the member of 'TextCheckingRequest'.
1372 2013-02-21 Mark Pilgrim <pilgrim@chromium.org>
1374 [Chromium] Remove chromium/public/platform directory
1375 https://bugs.webkit.org/show_bug.cgi?id=110471
1377 Reviewed by Adam Barth.
1379 Part of a larger refactoring series; see tracking bug 82948.
1382 * public/platform: Removed.
1383 * public/platform/WebKitPlatformSupport.h: Removed.
1384 * public/platform/android: Removed.
1385 * public/platform/default: Removed.
1386 * public/platform/linux: Removed.
1387 * public/platform/mac: Removed.
1388 * public/platform/win: Removed.
1391 2013-02-21 Dirk Pranke <dpranke@chromium.org>
1393 [chromium] support the lucid version of freetype on precise in DRT
1394 https://bugs.webkit.org/show_bug.cgi?id=107338
1396 Reviewed by Tony Chang.
1398 Add in a linux-only dependency on Freetype2 so that we can
1399 match the version shipped in Ubuntu Lucid.
1403 2013-02-21 Sheriff Bot <webkit.review.bot@gmail.com>
1405 Unreviewed. Rolled Chromium DEPS to r183905. Requested by
1406 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
1410 2013-02-21 Alec Flett <alecflett@chromium.org>
1412 IndexedDB: Remove copying WebIDBDatabase::put() stub
1413 https://bugs.webkit.org/show_bug.cgi?id=109967
1415 Reviewed by Darin Fisher.
1417 Now that the chromium call to this method has
1418 been removed, we can remove the stub.
1420 * public/WebIDBDatabase.h:
1422 2013-02-21 Dirk Pranke <dpranke@chromium.org>
1424 Unreviewed, roll chromium deps 183552 -> 183788
1428 2013-02-21 John Mellor <johnme@chromium.org>
1430 [chromium] Simplify computation of screenRect/windowRect.
1431 https://bugs.webkit.org/show_bug.cgi?id=110456
1433 Reviewed by Adam Barth.
1435 This patch removes applyDeviceScaleFactorInCompositor checks
1436 added by http://trac.webkit.org/changeset/139356 because
1437 Chrome for Android now sizes its screen and window in DIP
1438 units (like other platforms), so they are no longer necessary.
1440 * src/ChromeClientImpl.cpp:
1441 (WebKit::ChromeClientImpl::windowRect):
1443 2013-02-21 Vsevolod Vlasov <vsevik@chromium.org>
1445 Web Inspector: Get rid of parsedURL in uiSourceCode, use name and path for displayName instead.
1446 https://bugs.webkit.org/show_bug.cgi?id=110335
1448 Reviewed by Alexander Pavlov.
1451 (.TestSuite.prototype._scriptsAreParsed):
1453 2013-02-21 Ken Kania <kkania@chromium.org>
1455 Web Inspector: Add command for selecting files for file input element
1456 https://bugs.webkit.org/show_bug.cgi?id=109308
1458 Reviewed by Pavel Feldman.
1460 * src/InspectorClientImpl.cpp:
1461 (WebKit::InspectorClientImpl::canSetFileInputFiles):
1463 * src/InspectorClientImpl.h:
1464 (InspectorClientImpl):
1466 2013-02-20 Paweł Hajdan, Jr. <phajdan.jr@chromium.org>
1468 Add gyp option to switch ENABLE(SQL_DATABASE)
1469 https://bugs.webkit.org/show_bug.cgi?id=109303
1470 http://code.google.com/p/chromium/issues/detail?id=22208
1472 Reviewed by Tony Chang.
1474 This will be useful to implement build with system sqlite.
1477 * src/ChromeClientImpl.cpp:
1479 * src/ChromeClientImpl.h:
1482 2013-02-20 Dirk Schulze <krit@webkit.org>
1484 Enable CANVAS_PATH flag
1485 https://bugs.webkit.org/show_bug.cgi?id=108508
1487 Reviewed by Simon Fraser.
1489 Enable CANVAS_PATH flag on trunk.
1493 2013-02-15 Dirk Schulze <krit@webkit.org>
1495 [Chromium] Add runtime flag for CanvasPath
1496 https://bugs.webkit.org/show_bug.cgi?id=109997
1498 Reviewed by Adam Barth.
1500 Add runtime flag for Chromium.
1502 * public/WebRuntimeFeatures.h:
1503 (WebRuntimeFeatures):
1504 * src/WebRuntimeFeatures.cpp:
1505 (WebKit::WebRuntimeFeatures::enableCanvasPath):
1507 (WebKit::WebRuntimeFeatures::isCanvasPathEnabled):
1509 2013-02-20 Mark Pilgrim <pilgrim@chromium.org>
1511 [Chromium] Move WebKitPlatformSupport declaration to Platform.h
1512 https://bugs.webkit.org/show_bug.cgi?id=110262
1514 Reviewed by Adam Barth.
1516 In preparation for removing WebKitPlatformSupport.h entirely (once
1517 downstream references to that file have been updated). Part of a
1518 larger refactoring series; see tracking bug 82948.
1520 * public/platform/WebKitPlatformSupport.h:
1522 2013-02-20 Mark Pilgrim <pilgrim@chromium.org>
1524 [Chromium] Remove idbFactory from WebKitPlatformSupport
1525 https://bugs.webkit.org/show_bug.cgi?id=106457
1527 Reviewed by Adam Barth.
1529 Now that https://codereview.chromium.org/12230054 has landed, the
1530 idbFactory method is no longer needed. (Embedders must now call
1531 the new setIDBFactory method upon initialization.) Part of a
1532 larger refactoring series; see tracking bug 82948.
1534 * public/platform/WebKitPlatformSupport.h:
1536 * src/IDBFactoryBackendProxy.cpp:
1537 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1539 2013-02-20 Mark Lam <mark.lam@apple.com>
1541 Rename DatabaseBackend to DatabaseBackendBase.
1542 https://bugs.webkit.org/show_bug.cgi?id=110303.
1544 Rubber stamped by Alexey Proskuryakov.
1546 * public/WebDatabase.h:
1548 * src/DatabaseObserver.cpp:
1549 (WebCore::DatabaseObserver::databaseOpened):
1550 (WebCore::DatabaseObserver::databaseModified):
1551 (WebCore::DatabaseObserver::databaseClosed):
1552 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
1553 (WebCore::DatabaseObserver::reportChangeVersionResult):
1554 (WebCore::DatabaseObserver::reportStartTransactionResult):
1555 (WebCore::DatabaseObserver::reportCommitTransactionResult):
1556 (WebCore::DatabaseObserver::reportExecuteStatementResult):
1557 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
1558 * src/WebDatabase.cpp:
1559 (WebKit::WebDatabase::WebDatabase):
1561 2013-02-20 Rouslan Solomakhin <rouslan@chromium.org>
1563 Fix use after free in ContextMenuClientImpl.cpp
1564 https://bugs.webkit.org/show_bug.cgi?id=109220
1566 Reviewed by Tony Chang.
1568 ContextMenuClientImpl can use a DocumentMarker after it is freed. The DocumentMarker is originally allocated
1569 by the spell checker. When the user context-clicks on a misspelling, ContextMenuClientImpl saves a reference
1570 to the clicked DocumentMarker, changes the selection, and then uses the DocumentMarker. Changing the selection
1571 causes re-check of spelling. If the spell check client serves the spellcheck request from cache, then re-checking
1572 spelling will delete the DocumentMarker and add a new one. This invalidates the DocumentMarker reference held by
1573 ContextMenuClientImpl. When ContextMenuClientImpl attempts to use the DocumentMarker, Address Sanitizer detects
1574 use after free. The fix is to save a copy of the DocumentMarker before changing selection.
1576 * src/ContextMenuClientImpl.cpp:
1577 (WebKit::selectMisspellingAsync): Save a copy of DocumentMarker before changing selection.
1578 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Use DocumentMarker instead of Vector<DocumentMarker*>.
1580 2013-02-20 Sheriff Bot <webkit.review.bot@gmail.com>
1582 Unreviewed. Rolled Chromium DEPS to r183552. Requested by
1583 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
1587 2013-02-19 Adrienne Walker <enne@chromium.org>
1589 Unreviewed, rolling out r143382 and r143401.
1590 http://trac.webkit.org/changeset/143382
1591 http://trac.webkit.org/changeset/143401
1592 https://bugs.webkit.org/show_bug.cgi?id=106457
1594 Breaks Chromium win/mac canary compilation
1596 * public/platform/WebKitPlatformSupport.h:
1598 (WebKitPlatformSupport):
1599 (WebKit::WebKitPlatformSupport::idbFactory):
1600 (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
1601 * src/IDBFactoryBackendProxy.cpp:
1602 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1604 2013-02-19 Mark Pilgrim <pilgrim@chromium.org>
1606 [Chromium] Move WebKitPlatformSupport declaration to Platform.h
1607 https://bugs.webkit.org/show_bug.cgi?id=110262
1609 Reviewed by Adam Barth.
1611 In preparation for removing WebKitPlatformSupport.h entirely (once
1612 downstream references to that file have been updated). Part of a
1613 larger refactoring series; see tracking bug 82948.
1615 * public/platform/WebKitPlatformSupport.h:
1617 2013-02-19 Mark Pilgrim <pilgrim@chromium.org>
1619 [Chromium] Remove idbFactory from WebKitPlatformSupport
1620 https://bugs.webkit.org/show_bug.cgi?id=106457
1622 Reviewed by Kentaro Hara.
1624 Now that https://codereview.chromium.org/12230054 has landed, the
1625 idbFactory method is no longer needed. (Embedders must now call
1626 the new setIDBFactory method upon initialization.) Part of a
1627 larger refactoring series; see tracking bug 82948.
1629 * public/platform/WebKitPlatformSupport.h:
1631 * src/IDBFactoryBackendProxy.cpp:
1632 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1634 2013-02-19 Alexandre Elias <aelias@chromium.org>
1636 [chromium] Fix races in double-tap zoom minimum scale policy
1637 https://bugs.webkit.org/show_bug.cgi?id=110183
1639 Reviewed by Adam Barth.
1641 Double-tap zoom on Android is supposed to return to minimum scale
1642 if no pinch zoom occurred since the last double-tap. Because both
1643 pinch zoom and the result of double-tap zoom gets passed in from CC
1644 via applyScrollAndScale, this logic was brittle and prone to races
1645 depending on when the animation update was received. This patch
1646 keeps track of what the target double-tap scale is to make it more
1649 I also fixed double-tap zoom test mocking to exercise the entire
1650 page scale animation flow (our previous way of testing was hiding the
1651 raciness), and added a new test case in DivAutoZoomMultipleParamsTest.
1653 * src/WebViewImpl.cpp:
1654 (WebKit::WebViewImpl::WebViewImpl):
1655 (WebKit::WebViewImpl::startPageScaleAnimation):
1657 (WebKit::WebViewImpl::enableFakeDoubleTapAnimationForTesting):
1658 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1659 (WebKit::WebViewImpl::animateZoomAroundPoint):
1660 (WebKit::WebViewImpl::didCommitLoad):
1661 (WebKit::WebViewImpl::applyScrollAndScale):
1662 * src/WebViewImpl.h:
1664 (WebKit::WebViewImpl::fakeDoubleTapAnimationPendingForTesting):
1665 (WebKit::WebViewImpl::fakeDoubleTapTargetPositionForTesting):
1666 (WebKit::WebViewImpl::fakeDoubleTapPageScaleFactorForTesting):
1667 (WebKit::WebViewImpl::fakeDoubleTapUseAnchorForTesting):
1668 * tests/WebFrameTest.cpp:
1670 2013-02-19 Joshua Bell <jsbell@chromium.org>
1672 IndexedDB: additional checks on LevelDB decoding
1673 https://bugs.webkit.org/show_bug.cgi?id=109711
1675 Reviewed by Tony Chang.
1677 * tests/IDBLevelDBCodingTest.cpp: Update test with new method signatures.
1679 2013-02-19 Jochen Eisinger <jochen@chromium.org>
1681 [chromium] fix ScrollAnimatorNoneTest after r143295
1682 https://bugs.webkit.org/show_bug.cgi?id=110189
1684 Reviewed by Nico Weber.
1686 * tests/ScrollAnimatorNoneTest.cpp:
1687 (MockScrollableArea):
1689 2013-02-18 Simon Fraser <simon.fraser@apple.com>
1691 Clean up the boolean argument to visibleContentRect
1692 https://bugs.webkit.org/show_bug.cgi?id=110167
1694 Reviewed by Simon Fraser.
1696 Replace the boolean argument to visibleContentRect() with
1699 * src/ChromeClientImpl.cpp:
1700 (WebKit::ChromeClientImpl::popupOpened):
1702 2013-02-18 Sheriff Bot <webkit.review.bot@gmail.com>
1704 Unreviewed. Rolled Chromium DEPS to r183105. Requested by
1705 thakis_ via sheriffbot.
1709 2013-02-18 Nico Weber <thakis@chromium.org>
1711 [chromium] Remove ahem_path from WebKit.gyp
1712 https://bugs.webkit.org/show_bug.cgi?id=110111
1714 Reviewed by Jochen Eisinger.
1716 It's only used in DumpRenderTree.gyp, and that file defines its own
1717 copy of this variable.
1721 2013-02-18 Laszlo Gombos <l.gombos@samsung.com>
1723 Move ENABLE macros for WebCore out from Platform.h
1724 https://bugs.webkit.org/show_bug.cgi?id=105735
1726 Move the chromium specific WebCore ENABLE macro definitions
1727 from Platform.h to features.gypi.
1729 Reviewed by Darin Adler and Benjamin Poulain.
1731 * features.gypi: Set ENABLE_SUBPIXEL_LAYOUT to 1.
1733 2013-02-15 Alec Flett <alecflett@chromium.org>
1735 IndexedDB: Stub out SharedBuffer version of get()
1736 https://bugs.webkit.org/show_bug.cgi?id=108993
1738 Reviewed by Darin Fisher.
1740 All asynchronous get()-like calls go through WebIDBCallbacks,
1741 so this includes both get() and cursor callbacks.
1743 * public/WebIDBCallbacks.h:
1744 (WebKit::WebIDBCallbacks::onSuccess):
1745 (WebKit::WebIDBCallbacks::onSuccessWithPrefetch):
1747 2013-02-15 Alec Flett <alecflett@chromium.org>
1749 IndexedDB: fix chromium windows bustage
1750 https://bugs.webkit.org/show_bug.cgi?id=109970
1752 Unreviewed build fix for Chromium Windows.
1754 * tests/IDBDatabaseBackendTest.cpp:
1756 2013-02-15 Alec Flett <alecflett@chromium.org>
1758 IndexedDB: Implement SharedBuffer version of put()
1759 https://bugs.webkit.org/show_bug.cgi?id=109092
1761 Reviewed by Adam Barth.
1763 Implement SharedBuffer/WebData version of
1764 IDBDatabaseBackendInterface::put, and put
1765 temporary scaffolding in until chrome is ready.
1767 * src/IDBDatabaseBackendProxy.cpp:
1768 (WebKit::IDBDatabaseBackendProxy::put):
1769 * src/IDBDatabaseBackendProxy.h:
1770 (IDBDatabaseBackendProxy):
1771 * src/WebIDBDatabaseImpl.cpp:
1772 (WebKit::WebIDBDatabaseImpl::put):
1774 * src/WebIDBDatabaseImpl.h:
1775 (WebIDBDatabaseImpl):
1776 * tests/IDBDatabaseBackendTest.cpp:
1778 2013-02-15 Alexandre Elias <aelias@chromium.org>
1780 [chromium] WebInputEventBuilders should not reverse page scale
1781 https://bugs.webkit.org/show_bug.cgi?id=109901
1783 Reviewed by James Robinson.
1785 Though in theory logical that if WebInputEvent -> PlatformEvent
1786 conversions divide by page scale, then the reverse builders should
1787 multiply, in reality the only user of the reverse builders is
1788 plugins which expect the same coordinate space as WebCore.
1790 * src/WebInputEventConversion.cpp:
1791 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
1792 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1793 (WebKit::addTouchPoints):
1794 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
1795 * tests/WebInputEventConversionTest.cpp:
1798 2013-02-15 Anders Carlsson <andersca@apple.com>
1800 Remove const from a bunch of StorageArea member functions
1801 https://bugs.webkit.org/show_bug.cgi?id=109957
1803 Reviewed by Beth Dakin.
1805 Update for WebCore changes.
1807 * src/StorageAreaProxy.cpp:
1808 (WebCore::StorageAreaProxy::length):
1809 (WebCore::StorageAreaProxy::key):
1810 (WebCore::StorageAreaProxy::getItem):
1811 (WebCore::StorageAreaProxy::contains):
1812 (WebCore::StorageAreaProxy::canAccessStorage):
1813 (WebCore::StorageAreaProxy::memoryBytesUsedByCache):
1814 * src/StorageAreaProxy.h:
1817 2013-02-15 Keishi Hattori <keishi@webkit.org>
1819 PagePopupController.formatMonth should support short month format
1820 https://bugs.webkit.org/show_bug.cgi?id=109530
1822 Reviewed by Kent Tamura.
1824 * tests/LocaleMacTest.cpp:
1825 (LocaleMacTest::formatMonth):
1828 2013-02-15 Keishi Hattori <keishi@webkit.org>
1830 Add setValue and closePopup methods to PagePopupController
1831 https://bugs.webkit.org/show_bug.cgi?id=109897
1833 Reviewed by Kent Tamura.
1835 * src/ColorChooserPopupUIController.cpp:
1836 (WebKit::ColorChooserPopupUIController::setValue):
1838 * src/ColorChooserPopupUIController.h:
1839 (ColorChooserPopupUIController):
1840 * src/DateTimeChooserImpl.cpp:
1841 (WebKit::DateTimeChooserImpl::setValueAndClosePopup): Use setValue and closePopup.
1843 (WebKit::DateTimeChooserImpl::setValue):
1844 (WebKit::DateTimeChooserImpl::closePopup):
1845 * src/DateTimeChooserImpl.h:
1846 (DateTimeChooserImpl):
1848 2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
1850 Simplify hitTestResultAtPoint and nodesFromRect APIs
1851 https://bugs.webkit.org/show_bug.cgi?id=95720
1853 Reviewed by Julien Chaffraix.
1855 Update calls to new API.
1857 * src/ContextMenuClientImpl.cpp:
1858 (WebKit::selectMisspelledWord):
1859 * src/FrameLoaderClientImpl.cpp:
1860 (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
1861 * src/WebFrameImpl.cpp:
1862 (WebKit::WebFrameImpl::characterIndexForPoint):
1863 * src/WebPluginContainerImpl.cpp:
1864 (WebKit::WebPluginContainerImpl::isRectTopmost):
1865 * src/WebViewImpl.cpp:
1866 (WebKit::WebViewImpl::handleMouseDown):
1867 (WebKit::WebViewImpl::computeBlockBounds):
1868 (WebKit::WebViewImpl::bestTouchLinkNode):
1869 (WebKit::WebViewImpl::hitTestResultForWindowPos):
1871 2013-02-14 Vsevolod Vlasov <vsevik@chromium.org>
1873 Unreviewed chromium test fix: incorrect field was used for UISourceCode url.
1876 (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
1877 (.TestSuite.prototype.uiSourceCodesToString_):
1879 2013-02-14 David Trainor <dtrainor@chromium.org>
1881 [chromium] No triggering autofill on unfocus
1882 https://bugs.webkit.org/show_bug.cgi?id=109735
1884 Reviewed by James Robinson.
1886 Need to notify the autofill client to not process text changes when we're setting
1887 focus to false and are trying to commit a composition.
1889 * public/WebAutofillClient.h:
1890 (WebAutofillClient):
1891 (WebKit::WebAutofillClient::setIgnoreTextChanges):
1892 (WebKit::WebAutofillClient::~WebAutofillClient):
1893 * src/WebViewImpl.cpp:
1894 (WebKit::WebViewImpl::setFocus):
1895 * tests/WebViewTest.cpp:
1897 2013-02-14 Alexandre Elias <aelias@chromium.org>
1899 [chromium] Fix scaling in WebViewImpl::handleGestureEvent, second try
1900 https://bugs.webkit.org/show_bug.cgi?id=109671
1902 Reviewed by James Robinson.
1904 My patch 142571 broke a bunch of things in handleGestureEvent that
1905 assumed the event came in scaled, most notably tap highlight and
1906 double-tap zoom. Switch those to PlatformGestureEvent.
1908 142808 was an earlier version of this patch that was reverted
1909 due to fling events asserting they can't be converted to
1910 PlatformGestureEvent. This version moves fling earlier in the
1911 function to avoid that.
1913 * src/WebViewImpl.cpp:
1914 (WebKit::WebViewImpl::handleGestureEvent):
1915 (WebKit::WebViewImpl::bestTapNode):
1916 (WebKit::WebViewImpl::enableTapHighlight):
1917 * src/WebViewImpl.h:
1919 * tests/LinkHighlightTest.cpp:
1922 2013-02-14 Dirk Pranke <dpranke@chromium.org>
1924 Unreviewed, rolling out r142901.
1925 http://trac.webkit.org/changeset/142901
1927 r182258 introduces a dependency on chrome.gyp that breaks the win
1928 build. Rolling back to r182150 until I can work up a workaround.
1932 2013-02-14 Dirk Pranke <dpranke@chromium.org>
1934 Unreviewed, chromium roll 182150 -> 182448
1938 2013-02-14 Mark Pilgrim <pilgrim@chromium.org>
1940 [Chromium] Move PlatformMessagePortChannel to WebCore
1941 https://bugs.webkit.org/show_bug.cgi?id=109845
1943 Reviewed by Adam Barth.
1945 Part of a larger refactoring series; see tracking bug 106829.
1948 * src/PlatformMessagePortChannel.cpp: Removed.
1949 * src/PlatformMessagePortChannel.h: Removed.
1950 * src/SharedWorkerRepository.cpp:
1951 * src/WebDOMMessageEvent.cpp:
1952 * src/WebFrameImpl.cpp:
1953 * src/WebSharedWorkerImpl.cpp:
1954 * src/WebWorkerClientImpl.cpp:
1956 2013-02-14 Min Qin <qinmin@chromium.org>
1958 Passing alpha to DeferredImageDecoder once decoding completes
1959 https://bugs.webkit.org/show_bug.cgi?id=108892
1961 Reviewed by Stephen White.
1963 Add test to check that alpha value is passed from the decoder to ImageFrameGenerator.
1965 * tests/ImageFrameGeneratorTest.cpp:
1966 (WebCore::MockImageDecoderFactory::create):
1968 * tests/MockImageDecoder.h:
1969 (WebCore::MockImageDecoder::MockImageDecoder):
1970 (WebCore::MockImageDecoder::setFrameHasAlpha):
1972 (WebCore::MockImageDecoder::frameHasAlphaAtIndex):
1974 2013-02-08 Andrey Kosyakov <caseq@chromium.org>
1976 Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent
1977 https://bugs.webkit.org/show_bug.cgi?id=109192
1979 Reviewed by Pavel Feldman.
1981 - expose frame and compositing insturmentation methods on WebDevToolsAgent;
1982 - temporarily route them from WebViewImpl to WebDevToolsAgent;
1984 * public/WebDevToolsAgent.h:
1986 * src/WebDevToolsAgentImpl.cpp:
1987 (WebKit::WebDevToolsAgentImpl::didBeginFrame):
1989 (WebKit::WebDevToolsAgentImpl::didCancelFrame):
1990 (WebKit::WebDevToolsAgentImpl::willComposite):
1991 (WebKit::WebDevToolsAgentImpl::didComposite):
1992 * src/WebDevToolsAgentImpl.h:
1993 (WebDevToolsAgentImpl):
1994 * src/WebViewImpl.cpp:
1995 (WebKit::WebViewImpl::instrumentBeginFrame):
1996 (WebKit::WebViewImpl::instrumentCancelFrame):
1997 (WebKit::WebViewImpl::didBeginFrame):
1998 (WebKit::WebViewImpl::willCommit):
2000 2013-02-14 Mikhail Naganov <mnaganov@chromium.org>
2002 [Chromium] Add a setting to control scaling content to fit viewport
2003 https://bugs.webkit.org/show_bug.cgi?id=109584
2005 Adds a setting called 'initializeAtMinimumPageScale'. By default,
2006 it is set to 'true' which corresponds to Chrome on Android behavior--
2007 adjust the page scale to make the content fit into the viewport
2008 by width. When set to false, the setting instructs ChromeClientImpl to
2009 set page scale to 1.0, unless the scale value is set by the page
2010 in the viewport meta-tag.
2012 Reviewed by Adam Barth.
2014 * public/WebSettings.h:
2015 * src/ChromeClientImpl.cpp:
2016 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2017 * src/WebSettingsImpl.cpp:
2018 (WebKit::WebSettingsImpl::WebSettingsImpl):
2019 (WebKit::WebSettingsImpl::setInitializeAtMinimumPageScale):
2021 * src/WebSettingsImpl.h:
2023 (WebKit::WebSettingsImpl::initializeAtMinimumPageScale):
2024 * tests/WebFrameTest.cpp:
2025 * tests/data/viewport-2x-initial-scale.html: Added.
2026 * tests/data/viewport-auto-initial-scale.html: Added.
2028 2013-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
2030 Unreviewed, rolling out r142808.
2031 http://trac.webkit.org/changeset/142808
2032 https://bugs.webkit.org/show_bug.cgi?id=109816
2034 Crashes on chromium webkit canary bots (Requested by atwilson_
2037 * src/WebViewImpl.cpp:
2038 (WebKit::WebViewImpl::handleGestureEvent):
2039 (WebKit::WebViewImpl::bestTouchLinkNode):
2040 (WebKit::WebViewImpl::enableTouchHighlight):
2041 * src/WebViewImpl.h:
2043 * tests/LinkHighlightTest.cpp:
2046 2013-02-14 Sheriff Bot <webkit.review.bot@gmail.com>
2048 Unreviewed, rolling out r142841.
2049 http://trac.webkit.org/changeset/142841
2050 https://bugs.webkit.org/show_bug.cgi?id=109791
2052 Caused webkit_unit_tests to crash on chromium bots. (Requested
2053 by atwilson_ on #webkit).
2055 * tests/GraphicsLayerChromiumTest.cpp:
2056 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2057 * tests/ScrollingCoordinatorChromiumTest.cpp:
2058 (WebKit::FakeWebViewClient::initializeLayerTreeView):
2060 2013-02-13 Max Vujovic <mvujovic@adobe.com>
2062 [CSS Filters] Refactor filter outsets into a class
2063 https://bugs.webkit.org/show_bug.cgi?id=109330
2065 Update FilterOperations unit tests to use new interface for getting filter outsets.
2067 Reviewed by Dean Jackson.
2069 * tests/FilterOperationsTest.cpp:
2072 2013-02-13 Zan Dobersek <zdobersek@igalia.com>
2074 The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
2075 https://bugs.webkit.org/show_bug.cgi?id=109325
2077 Reviewed by Anders Carlsson.
2079 Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
2080 two methods as they're provided by the C++ standard library being used.
2082 * tests/DecimalTest.cpp:
2085 2013-02-13 Alexandre Elias <aelias@chromium.org>
2087 [chromium] Fix scaling in WebViewImpl::handleGestureEvent
2088 https://bugs.webkit.org/show_bug.cgi?id=109671
2090 Reviewed by James Robinson.
2092 My last patch broke a bunch of things in handleGestureEvent that
2093 assumed the event came in scaled, most notably tap highlight and
2094 double-tap zoom. Switch those to PlatformGestureEvent.
2096 * src/WebViewImpl.cpp:
2097 (WebKit::WebViewImpl::handleGestureEvent):
2098 (WebKit::WebViewImpl::bestTapNode):
2099 (WebKit::WebViewImpl::enableTapHighlight):
2100 * src/WebViewImpl.h:
2102 * tests/LinkHighlightTest.cpp:
2105 2013-02-13 Eberhard Graether <egraether@google.com>
2107 chromium: remove CompositorHUDFontAtlas
2108 https://bugs.webkit.org/show_bug.cgi?id=109328
2110 Reviewed by James Robinson.
2112 After switching the HudLayer to use skia's font rendering the
2113 CompositorHUDFontAtlas has become obsolete. This change removes
2114 this class and the related WebLayerTreeView API.
2116 * src/WebViewImpl.cpp:
2117 * src/WebViewImpl.h:
2119 2013-02-13 Sheriff Bot <webkit.review.bot@gmail.com>
2121 Unreviewed. Rolled Chromium DEPS to r182150. Requested by
2122 jamesr_ via sheriffbot.
2126 2013-02-13 Sadrul Habib Chowdhury <sadrul@chromium.org>
2128 [chromium] Add acceleration ratios for the deltas to WebMouseWheelEvents.
2129 https://bugs.webkit.org/show_bug.cgi?id=109611
2131 The deltas in mousewheel events generated by track can be accelerated (e.g. when
2132 scrolling repeatedly). Keep track of the ratio of the acceleration since that is
2133 useful for some tasks (e.g. overflow navigation gesture).
2135 Reviewed by Adam Barth.
2137 * public/WebInputEvent.h:
2138 (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2139 * src/WebInputEvent.cpp:
2140 (SameSizeAsWebMouseWheelEvent):
2142 2013-02-12 Yoshifumi Inoue <yosin@chromium.org>
2144 Unreviewed. Build fix for Chromium-Win.
2145 Add #include <functional> for std::bind1st.
2147 * tests/PrerenderingTest.cpp:
2149 2013-02-12 Joshua Bell <jsbell@chromium.org>
2151 [Chromium] IndexedDB/Worker crash during shutdown
2152 https://bugs.webkit.org/show_bug.cgi?id=109467
2154 Reviewed by Tony Chang.
2156 If the message queue has already been terminated, don't bother scheduling
2157 a new error event that will never be delivered. Speculative fix for the
2158 issue, which only repros in multiprocess ports and so far only on some
2161 * src/IDBFactoryBackendProxy.cpp:
2162 (WebKit::IDBFactoryBackendProxy::allowIndexedDB): Early exit.
2164 2013-02-12 Zan Dobersek <zdobersek@igalia.com>
2166 Remove ENABLE_XHR_RESPONSE_BLOB handling from various build systems
2167 https://bugs.webkit.org/show_bug.cgi?id=109481
2169 Reviewed by Daniel Bates.
2171 The ENABLE_XHR_RESPONSE_BLOB feature define was removed from the code
2172 back in r120574. There are still occurrences of it in various build systems
2173 which should all be removed as they are useless.
2177 2013-02-12 Jochen Eisinger <jochen@chromium.org>
2179 Disabling WebFrameTest.ReplaceMisspelledRange on Android because it crashes
2180 https://bugs.webkit.org/show_bug.cgi?id=109548
2182 Unreviewed gardening.
2184 * tests/WebFrameTest.cpp:
2186 2013-02-11 James Robinson <jamesr@chromium.org>
2188 [Chromium] Get rid of WebAnimationController
2189 https://bugs.webkit.org/show_bug.cgi?id=109235
2191 Reviewed by Benjamin Poulain.
2193 * public/WebAnimationController.h: Removed.
2194 * public/WebFrame.h:
2196 * src/WebAnimationControllerImpl.cpp: Removed.
2197 * src/WebAnimationControllerImpl.h: Removed.
2198 * src/WebFrameImpl.cpp:
2199 * src/WebFrameImpl.h:
2202 2013-02-11 James Robinson <jamesr@chromium.org>
2204 [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for webkit_unit_tests
2205 https://bugs.webkit.org/show_bug.cgi?id=109403
2207 Reviewed by Adam Barth.
2209 * tests/GraphicsLayerChromiumTest.cpp:
2210 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2211 * tests/ScrollingCoordinatorChromiumTest.cpp:
2212 (WebKit::FakeWebViewClient::initializeLayerTreeView):
2214 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
2216 Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
2217 https://bugs.webkit.org/show_bug.cgi?id=109534
2219 Reviewed by Anders Carlsson.
2221 * src/EditorClientImpl.cpp:
2223 * src/EditorClientImpl.h:
2226 2013-02-11 Alexandre Elias <aelias@chromium.org>
2228 [chromium] Apply page scale to all WebInputEvent types
2229 https://bugs.webkit.org/show_bug.cgi?id=109370
2231 Reviewed by James Robinson.
2233 Previously we only adjusted a few common input event types by page
2234 scale, but in fact almost every position and size in WebInputEvents
2237 I also took the opportunity to change some WebGestureEvent members to
2238 floats (which I checked causes no warnings in Chromium-side code with
2241 New WebInputEventConversionTest: InputEventsScaling
2243 * public/WebInputEvent.h:
2244 (WebKit::WebGestureEvent::WebGestureEvent):
2245 * src/WebInputEventConversion.cpp:
2246 (WebKit::widgetScaleFactor):
2248 (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
2249 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2250 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2251 (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
2252 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
2253 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2254 (WebKit::addTouchPoints):
2255 (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
2256 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
2257 * src/WebViewImpl.cpp:
2258 (WebKit::WebViewImpl::handleGestureEvent):
2259 (WebKit::WebViewImpl::hasTouchEventHandlersAt):
2260 (WebKit::WebViewImpl::handleInputEvent):
2261 * tests/WebInputEventConversionTest.cpp:
2265 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
2267 Unreviewed, rolling out r142568.
2268 http://trac.webkit.org/changeset/142568
2269 https://bugs.webkit.org/show_bug.cgi?id=109541
2271 Broke the build, won't compile. (Requested by alancutter on
2274 * tests/GraphicsLayerChromiumTest.cpp:
2275 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2276 * tests/ScrollingCoordinatorChromiumTest.cpp:
2277 (WebKit::FakeWebViewClient::initializeLayerTreeView):
2279 2013-02-11 James Robinson <jamesr@chromium.org>
2281 [chromium] Add WebUnitTestSupport::createLayerTreeViewForTesting for webkit_unit_tests
2282 https://bugs.webkit.org/show_bug.cgi?id=109403
2284 Reviewed by Adam Barth.
2286 * tests/GraphicsLayerChromiumTest.cpp:
2287 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2288 * tests/ScrollingCoordinatorChromiumTest.cpp:
2289 (WebKit::FakeWebViewClient::initializeLayerTreeView):
2291 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
2293 Unreviewed. Rolled Chromium DEPS to r181817. Requested by
2294 "James Robinson" <jamesr@chromium.org> via sheriffbot.
2298 2013-02-11 David Grogan <dgrogan@chromium.org>
2300 IndexedDB: Add UnknownError to WebIDBDatabaseException
2301 https://bugs.webkit.org/show_bug.cgi?id=109519
2303 Reviewed by Adam Barth.
2305 * public/WebIDBDatabaseException.h:
2306 * src/AssertMatchingEnums.cpp:
2308 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
2310 Unreviewed. Rolled Chromium DEPS to r181787. Requested by
2311 thakis_ via sheriffbot.
2315 2013-02-11 Nico Weber <thakis@chromium.org>
2317 Remove web intents code
2318 https://bugs.webkit.org/show_bug.cgi?id=109501
2320 Reviewed by Eric Seidel.
2322 See thread "Removing ENABLE(WEB_INTENTS) code" on webkit-dev.
2326 * public/WebDeliveredIntentClient.h: Removed.
2327 * public/WebFrame.h:
2330 * public/WebFrameClient.h:
2332 * public/WebIntent.h: Removed.
2333 * public/WebIntentRequest.h: Removed.
2334 * public/WebIntentServiceInfo.h: Removed.
2335 * public/WebRuntimeFeatures.h:
2336 (WebRuntimeFeatures):
2337 * src/DeliveredIntentClientImpl.cpp: Removed.
2338 * src/DeliveredIntentClientImpl.h: Removed.
2339 * src/FrameLoaderClientImpl.cpp:
2340 * src/FrameLoaderClientImpl.h:
2341 (FrameLoaderClientImpl):
2342 * src/WebFrameImpl.cpp:
2343 * src/WebFrameImpl.h:
2346 * src/WebIntent.cpp: Removed.
2347 * src/WebIntentRequest.cpp: Removed.
2348 * src/WebIntentServiceInfo.cpp: Removed.
2349 * src/WebRuntimeFeatures.cpp:
2351 2013-02-11 Florin Malita <fmalita@chromium.org>
2353 Unreviewed. Rolled Chromium DEPS to r181770.
2357 2013-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
2359 Unreviewed. Rolled Chromium DEPS to r181742. Requested by
2360 fmalita_ via sheriffbot.
2364 2013-02-11 Rouslan Solomakhin <rouslan@chromium.org>
2366 [Chromium] Replace correct misspelled range in WebKit::WebFrameImpl::replaceMisspelledRange
2367 https://bugs.webkit.org/show_bug.cgi?id=108513
2369 Reviewed by Tony Chang.
2371 WebKit::WebFrameImpl::replaceMisspelledRange is going to be used by Chromium instead of
2372 WebKit::WebFrameImpl::replaceSelection for correcting misspellings. The current implementation
2373 of WebKit::WebFrameImpl::replaceMisspelledRange sometimes replaces the wrong range. This change
2374 uses Range::create instead of TextIterator::rangeFromLocationAndLength to select the correct
2375 range. This change also disables smart replace in WebKit::WebFrameImpl::replaceMisspelledRange
2376 to avoid introducing spaces around misspellings.
2378 * src/WebFrameImpl.cpp:
2379 (WebKit::WebFrameImpl::replaceMisspelledRange): Replace correct misspelled range.
2380 * tests/WebFrameTest.cpp: Add unit test for WebKit::WebFrameImpl::replaceMisspelledRange method.
2382 2013-02-11 Alexei Filippov <alph@chromium.org>
2384 Web Inspector: Split Profiler domain in protocol into Profiler and HeapProfiler
2385 https://bugs.webkit.org/show_bug.cgi?id=108653
2387 Reviewed by Yury Semikhatsky.
2389 Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
2390 In fact these two profile types have not too much in common. So put each into its own domain.
2391 It should also help when Profiles panel gets split into several tools.
2392 This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
2393 change the original InspectorProfilerAgent.
2395 * src/WebDevToolsAgentImpl.cpp:
2396 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
2398 2013-02-11 Abhishek Arya <inferno@chromium.org>
2400 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
2401 https://bugs.webkit.org/show_bug.cgi?id=108981
2403 Reviewed by Eric Seidel.
2405 * src/AutofillPopupMenuClient.cpp:
2406 (WebKit::AutofillPopupMenuClient::getSuggestion):
2407 (WebKit::AutofillPopupMenuClient::getLabel):
2408 (WebKit::AutofillPopupMenuClient::getIcon):
2409 (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
2410 (WebKit::AutofillPopupMenuClient::valueChanged):
2411 (WebKit::AutofillPopupMenuClient::selectionChanged):
2412 * src/ChromeClientImpl.cpp:
2413 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
2415 2013-02-10 James Robinson <jamesr@chromium.org>
2417 [chromium] Enable more of webkit_unit_tests in component builds
2418 https://bugs.webkit.org/show_bug.cgi?id=109369
2420 Reviewed by Darin Fisher.
2422 Updates all webkit_unit_tests (except for LevelDBTest) to go through the Platform API instead of directly
2423 calling into webkit_support so they work in component builds.
2426 * tests/AssociatedURLLoaderTest.cpp:
2427 * tests/EventListenerTest.cpp:
2428 * tests/FrameTestHelpers.cpp:
2429 (WebKit::FrameTestHelpers::createWebViewAndLoad):
2431 (WebKit::FrameTestHelpers::QuitTask::run):
2433 (WebKit::FrameTestHelpers::runPendingTasks):
2434 * tests/FrameTestHelpers.h:
2436 * tests/ListenerLeakTest.cpp:
2437 * tests/PopupMenuTest.cpp:
2438 * tests/PrerenderingTest.cpp:
2439 * tests/ScrollingCoordinatorChromiumTest.cpp:
2440 (WebKit::ScrollingCoordinatorChromiumTest::~ScrollingCoordinatorChromiumTest):
2441 (WebKit::ScrollingCoordinatorChromiumTest::navigateTo):
2442 * tests/URLTestHelpers.cpp:
2443 (WebKit::URLTestHelpers::registerMockedURLLoad):
2444 * tests/WebFrameTest.cpp:
2445 * tests/WebImageTest.cpp:
2447 * tests/WebPageNewSerializerTest.cpp:
2448 * tests/WebPageSerializerTest.cpp:
2449 * tests/WebPluginContainerTest.cpp:
2450 (WebKit::WebPluginContainerTest::TearDown):
2452 * tests/WebViewTest.cpp:
2454 2013-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
2456 Unreviewed. Rolled Chromium DEPS to r181645. Requested by
2457 "James Robinson" <jamesr@chromium.org> via sheriffbot.
2461 2013-02-09 Stephen Chenney <schenney@chromium.org>
2463 Unreviewed. Rolled Chromium DEPS to last-known good revision. Really this time.
2467 2013-02-09 Sheriff Bot <webkit.review.bot@gmail.com>
2469 Unreviewed. Rolled Chromium DEPS to last-known good revision.
2470 Requested by "Stephen Chenney" <schenney@chromium.org> via
2475 2013-02-08 Kent Tamura <tkent@chromium.org>
2477 [Chromium] Disable ENABLE_INPUT_TYPE_DATETIME
2478 https://bugs.webkit.org/show_bug.cgi?id=109272
2480 Reviewed by Kentaro Hara.
2482 We enabled this flag for desktop Chromium, but disabled the feature by a
2483 runtime flag. We disables the compile flag too because we have no plan
2484 to ship it in near future.
2486 * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME.
2488 2013-02-08 Stephen Chenney <schenney@chromium.org>
2490 Remove Skia code suppressions
2492 Unreviewed enabling of existing optimizations
2494 Removing all skia_webkit.gyp code suppressions and adding expectations
2499 2013-02-08 Dan Carney <dcarney@google.com>
2501 [v8] isolate parameter added to all v8::peristent calls
2502 https://bugs.webkit.org/show_bug.cgi?id=109268
2504 Reviewed by Kentaro Hara.
2506 * tests/WebFrameTest.cpp:
2508 2013-02-07 Kent Tamura <tkent@chromium.org>
2510 [Chromium-Android] Disable input[type=datetime]
2511 https://bugs.webkit.org/show_bug.cgi?id=107614
2513 Reviewed by Kentaro Hara.
2516 http://lists.webkit.org/pipermail/webkit-dev/2013-January/023404.html
2519 Disable ENABLE_INPUT_TYPE_DATETIME because of a wrong UI.
2520 We enable it for non-Android ports but the runtime flag for it is
2521 disabled by default. The runtime flag is enabled only in DumpRenderTree.
2523 2013-02-07 Terry Anderson <tdanderson@chromium.org>
2525 [chromium] Flings should not bubble up to enclosing scrollables when main-thread touch scrolling
2526 https://bugs.webkit.org/show_bug.cgi?id=108719
2528 Reviewed by Eric Seidel.
2530 In the event of a main-thread touch fling, dispatch a series of
2531 GestureScrollUpdateWithoutPropagation events defined in
2532 https://bugs.webkit.org/show_bug.cgi?id=108849 (instead of
2533 GestureScrollUpdate events) so that the fling does not
2534 propagate to enclosing scrollables.
2536 * src/WebViewImpl.cpp:
2537 (WebKit::WebViewImpl::scrollBy):
2539 2013-02-07 Kent Tamura <tkent@chromium.org>
2541 [Chromium] Add a flag to enable native form validation message
2542 https://bugs.webkit.org/show_bug.cgi?id=109134
2544 Reviewed by Adam Barth.
2546 * public/WebRuntimeFeatures.h:
2547 (WebRuntimeFeatures): Add enableNativeValidationMessage and
2548 isNativeValidationMessageEnabled.
2549 * src/WebRuntimeFeatures.cpp:
2550 (WebKit): Add nativeValidationMessageEnabled.
2551 (WebKit::WebRuntimeFeatures::enableNativeValidationMessage): Added.
2552 (WebKit::WebRuntimeFeatures::isNativeValidationMessageEnabled): Addedd.
2553 * src/WebViewImpl.cpp:
2554 (WebKit::WebViewImpl::WebViewImpl):
2555 Fill Page::PageClients::validationMessageClient if the flag is true.
2557 2013-02-07 Eberhard Graether <egraether@google.com>
2559 Web Inspector: Add settings checkbox for composited layer borders
2560 https://bugs.webkit.org/show_bug.cgi?id=109096
2562 Reviewed by Pavel Feldman.
2564 This change adds a checkbox to show composited layer borders to the WebInspector's
2565 rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The setting
2566 is visible if InspectorClient::canShowDebugBorders() returns true.
2568 * src/InspectorClientImpl.cpp:
2569 (WebKit::InspectorClientImpl::canShowDebugBorders):
2571 (WebKit::InspectorClientImpl::setShowDebugBorders):
2572 * src/InspectorClientImpl.h:
2573 (InspectorClientImpl):
2574 * src/WebViewImpl.cpp:
2575 (WebKit::WebViewImpl::WebViewImpl):
2576 (WebKit::WebViewImpl::setShowDebugBorders):
2578 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2579 * src/WebViewImpl.h:
2581 2013-02-07 Stephen White <senorblanco@chromium.org>
2583 Unreviewed. Rolled DEPS.
2587 2013-02-07 David Trainor <dtrainor@chromium.org>
2589 Add null check to editable in moveCaretSelectionTowardsWindowPoint
2590 https://bugs.webkit.org/show_bug.cgi?id=108962
2592 Reviewed by Eric Seidel.
2594 * src/WebFrameImpl.cpp:
2595 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
2596 * tests/WebFrameTest.cpp:
2598 2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
2600 Unreviewed. Rolled Chromium DEPS to r180752. Requested by
2601 thakis_ via sheriffbot.
2605 2013-02-06 Terry Anderson <tdanderson@chromium.org>
2607 Add support for gesture scroll events that do not propagate to enclosing scrollables
2608 https://bugs.webkit.org/show_bug.cgi?id=108849
2610 Reviewed by Antonio Gomes.
2612 Define the new event type GestureScrollUpdateWithoutPropagation.
2614 * public/WebInputEvent.h:
2615 (WebKit::WebInputEvent::isGestureEventType):
2616 * src/PageWidgetDelegate.cpp:
2617 (WebKit::PageWidgetDelegate::handleInputEvent):
2618 * src/WebInputEventConversion.cpp:
2619 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2620 * src/WebPluginContainerImpl.cpp:
2621 * src/WebPopupMenuImpl.cpp:
2622 (WebKit::WebPopupMenuImpl::handleInputEvent):
2623 * src/WebViewImpl.cpp:
2624 (WebKit::WebViewImpl::handleGestureEvent):
2626 2013-02-06 Alexandre Elias <aelias@chromium.org>
2628 Make ScrollView::paint() clip by visibleContentRect
2629 https://bugs.webkit.org/show_bug.cgi?id=108888
2631 Reviewed by Levi Weintraub.
2633 When applyPageScaleFactorInCompositor or fixedVisibleContentRect
2634 are used, frameRect() and visibleContentRect(true).size() are
2635 no longer synonyms, and the latter is the one that should be
2636 used for clipping paints.
2638 New WebFrameTest: pageScaleFactorScalesPaintClip.
2640 * tests/WebFrameTest.cpp:
2642 2013-02-06 Sheriff Bot <webkit.review.bot@gmail.com>
2644 Unreviewed, rolling out r142025.
2645 http://trac.webkit.org/changeset/142025
2646 https://bugs.webkit.org/show_bug.cgi?id=109091
2648 broke the build (Requested by tdanderson on #webkit).
2650 * public/WebInputEvent.h:
2651 (WebKit::WebInputEvent::isGestureEventType):
2652 * src/PageWidgetDelegate.cpp:
2653 (WebKit::PageWidgetDelegate::handleInputEvent):
2654 * src/WebInputEventConversion.cpp:
2655 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2656 * src/WebPluginContainerImpl.cpp:
2657 * src/WebPopupMenuImpl.cpp:
2658 (WebKit::WebPopupMenuImpl::handleInputEvent):
2659 * src/WebViewImpl.cpp:
2660 (WebKit::WebViewImpl::handleGestureEvent):
2662 2013-02-06 Daniel Cheng <dcheng@google.com>
2664 [chromium] Remove "config.h" header from WebUnitTests.cpp
2665 https://bugs.webkit.org/show_bug.cgi?id=108966
2667 Reviewed by Tony Chang.
2669 This file includes headers from base/ in Chromium, and config.h
2670 conflicts with base/logging.h. Rather than teaching certain files in
2671 base/ not to #include base/logging.h, remove the config.h include
2672 here. The ASSERT isn't really necessary, as attempting to run a null
2673 test suite won't go very far anyway.
2675 * tests/WebUnitTests.cpp:
2676 (WebKit::RunAllUnitTests):
2678 2013-02-06 Terry Anderson <tdanderson@chromium.org>
2680 Add support for gesture scroll events that do not propagate to enclosing scrollables
2681 https://bugs.webkit.org/show_bug.cgi?id=108849
2683 Reviewed by Antonio Gomes.
2685 Define the new event type GestureScrollUpdateWithoutPropagation.
2687 * public/WebInputEvent.h:
2688 (WebKit::WebInputEvent::isGestureEventType):
2689 * src/PageWidgetDelegate.cpp:
2690 (WebKit::PageWidgetDelegate::handleInputEvent):
2691 * src/WebInputEventConversion.cpp:
2692 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2693 * src/WebPluginContainerImpl.cpp:
2694 * src/WebPopupMenuImpl.cpp:
2695 (WebKit::WebPopupMenuImpl::handleInputEvent):
2696 * src/WebViewImpl.cpp:
2697 (WebKit::WebViewImpl::handleGestureEvent):
2699 2013-02-06 Chris Hopman <cjhopman@chromium.org>
2701 [Chromium] WebWidget should expose a way to determine the start/end of the selection bounds
2702 https://bugs.webkit.org/show_bug.cgi?id=108667
2704 Reviewed by Darin Fisher.
2706 WebWidget::selectionBounds() returns the anchor and focus of the
2707 selection. This matches the arguments to WebFrame::selectRange().
2708 Add WebWidget::isSelectionAnchorFirst so that a caller can convert the
2709 anchor/focus to start/end.
2711 * public/WebWidget.h:
2713 (WebKit::WebWidget::isSelectionAnchorFirst):
2714 * src/WebViewImpl.cpp:
2715 (WebKit::WebViewImpl::isSelectionAnchorFirst):
2717 * src/WebViewImpl.h:
2718 * tests/WebViewTest.cpp:
2720 2013-02-06 Alec Flett <alecflett@chromium.org>
2722 IndexedDB: Stub out SharedBuffer version of put()
2723 https://bugs.webkit.org/show_bug.cgi?id=108986
2725 Reviewed by Darin Fisher.
2727 This is part 1 of 3 to replace Vector<uint8_t> with SharedBuffer.
2729 * public/WebIDBDatabase.h:
2731 (WebKit::WebIDBDatabase::put):
2733 2013-02-06 Stephen Chenney <schenney@chromium.org>
2735 Add Skia code suppression flags to WebKit skia.gyp
2739 This is step one in removing these flags. First we get them into
2740 WebKit, then we can remove them from Chrome.
2744 2013-02-06 Mike West <mkwst@chromium.org>
2746 Add an ENABLE_NOSNIFF feature flag.
2747 https://bugs.webkit.org/show_bug.cgi?id=109029
2749 Reviewed by Jochen Eisinger.
2751 This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
2752 when processing script and other resource types.
2756 2013-02-05 David Dorwin <ddorwin@chromium.org>
2758 [chromium] Explicitly destroy the WebMediaPlayer in WebMediaPlayerClientImpl's destructor
2759 https://bugs.webkit.org/show_bug.cgi?id=108989
2761 Reviewed by Kent Tamura.
2763 * src/WebMediaPlayerClientImpl.cpp:
2764 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2766 2013-02-04 Kentaro Hara <haraken@chromium.org>
2768 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
2769 https://bugs.webkit.org/show_bug.cgi?id=108909
2771 Reviewed by Adam Barth.
2773 No tests. No change in behavior.
2775 * src/WebBindings.cpp:
2776 (WebKit::WebBindings::toV8Value):
2778 2013-02-05 Kentaro Hara <haraken@chromium.org>
2780 [V8] Make an Isolate parameter mandatory in HasInstance()
2781 https://bugs.webkit.org/show_bug.cgi?id=108917
2783 Reviewed by Adam Barth.
2785 Because these methods do not have an Isolate, we have to call
2786 v8::Isolate::GetCurrent().
2788 No tests. No change in behavior.
2790 * src/WebArrayBuffer.cpp:
2791 (WebKit::WebArrayBuffer::createFromV8Value):
2792 * src/WebArrayBufferView.cpp:
2793 (WebKit::WebArrayBufferView::createFromV8Value):
2794 * src/WebBindings.cpp:
2795 (WebKit::getRangeImpl):
2796 (WebKit::getNodeImpl):
2797 (WebKit::getElementImpl):
2798 (WebKit::getArrayBufferImpl):
2799 (WebKit::getArrayBufferViewImpl):
2800 (WebKit::WebBindings::getRange):
2801 (WebKit::WebBindings::getArrayBuffer):
2802 (WebKit::WebBindings::getArrayBufferView):
2803 (WebKit::WebBindings::getNode):
2804 (WebKit::WebBindings::getElement):
2806 2013-02-05 Dana Jansens <danakj@chromium.org>
2808 [chromium] Provide compositor offscreen context through the WebLayerTreeViewClient interface
2809 https://bugs.webkit.org/show_bug.cgi?id=107776
2811 Reviewed by James Robinson.
2814 * src/WebGraphicsContext3D.cpp: Removed.
2816 2013-02-05 Mark Lam <mark.lam@apple.com>
2818 Introduced back-end database classes + a few small fixes.
2819 https://bugs.webkit.org/show_bug.cgi?id=108759.
2821 Reviewed by Brady Eidson.
2823 * src/DatabaseObserver.cpp:
2824 (WebCore::DatabaseObserver::databaseOpened):
2825 (WebCore::DatabaseObserver::databaseModified):
2826 (WebCore::DatabaseObserver::databaseClosed):
2828 2013-02-05 Adam Barth <abarth@webkit.org>
2830 DumpRenderTree should be able to enable the threaded parser
2831 https://bugs.webkit.org/show_bug.cgi?id=108970
2833 Reviewed by Eric Seidel.
2835 * public/WebSettings.h:
2836 * src/WebSettingsImpl.cpp:
2837 (WebKit::WebSettingsImpl::setThreadedHTMLParser):
2839 * src/WebSettingsImpl.h:
2842 2013-02-05 Sami Kyostila <skyostil@chromium.org>
2844 [chromium] Make overlay layers slow-scrolling
2845 https://bugs.webkit.org/show_bug.cgi?id=108957
2847 Reviewed by James Robinson.
2849 Since overlay layers get inserted on top of everything else, we must
2850 mark them slow-scrolling to prevent all scroll input events to the rest
2851 of the page from getting blocked. This is also more correct because
2852 generally the overlay contents need to be repainted whenever the scroll
2853 offset changes, and with this patch the painting happens in sync with
2856 2013-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
2858 Unreviewed, rolling out r141896.
2859 http://trac.webkit.org/changeset/141896
2860 https://bugs.webkit.org/show_bug.cgi?id=108956
2862 crashes indexdb security tests (Requested by gavinp on
2865 * public/platform/WebKitPlatformSupport.h:
2867 (WebKitPlatformSupport):
2868 (WebKit::WebKitPlatformSupport::idbFactory):
2869 * src/IDBFactoryBackendProxy.cpp:
2870 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2872 2013-02-05 Mark Pilgrim <pilgrim@chromium.org>
2874 [Chromium] Remove idbFactory from WebKitPlatformSupport
2875 https://bugs.webkit.org/show_bug.cgi?id=106457
2877 Reviewed by Adam Barth.
2879 Now that https://codereview.chromium.org/12181010/ has landed, the
2880 idbFactory method is no longer needed. (Embedders must now call
2881 the new setIDBFactory method upon initialization.) Part of a
2882 larger refactoring series; see tracking bug 82948.
2884 * public/platform/WebKitPlatformSupport.h:
2886 * src/IDBFactoryBackendProxy.cpp:
2887 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2889 2013-02-05 Kentaro Hara <haraken@chromium.org>
2891 Unreviewed, rolling out r141865.
2892 http://trac.webkit.org/changeset/141865
2893 https://bugs.webkit.org/show_bug.cgi?id=108909
2895 webkit unit tests are broken
2897 * src/WebBindings.cpp:
2898 (WebKit::WebBindings::toV8Value):
2900 2013-02-05 Kentaro Hara <haraken@chromium.org>
2902 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
2903 https://bugs.webkit.org/show_bug.cgi?id=108909
2905 Reviewed by Adam Barth.
2907 No tests. No change in behavior.
2909 * src/WebBindings.cpp:
2910 (WebKit::WebBindings::toV8Value):
2912 2013-02-04 Sheriff Bot <webkit.review.bot@gmail.com>
2914 Unreviewed. Rolled Chromium DEPS to r180583. Requested by
2915 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
2919 2013-02-04 James Simonsen <simonjam@chromium.org>
2921 [Chromium] Add a signal for when the body is inserted in the document
2922 https://bugs.webkit.org/show_bug.cgi?id=108725
2924 Reviewed by Adam Barth.
2926 * public/WebFrameClient.h:
2928 (WebKit::WebFrameClient::willInsertBody):
2929 * src/FrameLoaderClientImpl.cpp:
2930 (WebKit::FrameLoaderClientImpl::dispatchWillInsertBody):
2932 * src/FrameLoaderClientImpl.h:
2933 (FrameLoaderClientImpl):
2934 * tests/WebFrameTest.cpp:
2936 2013-02-04 Chris Hopman <cjhopman@chromium.org>
2938 Make moveCaretTowardsWindowPoint not snap to the beginning/end when moved above/below editable
2939 https://bugs.webkit.org/show_bug.cgi?id=107850
2941 Reviewed by Ojan Vafai.
2943 On Android, EditingBehavior::shouldMoveCaret[...] controls the
2944 behavior of insertion handles. This change adds a new Android specific
2945 editing behavior type so that we can change these settings independent
2946 of behavior for other platforms.
2948 * public/WebSettings.h:
2949 * src/AssertMatchingEnums.cpp:
2950 Just add the corresponding assertion for the new editing behavior.
2952 * public/WebSettings.h:
2953 * src/AssertMatchingEnums.cpp:
2955 * tests/WebFrameTest.cpp:
2956 * tests/data/move_caret.html: Added.
2957 Add a test that moveCaretTowardsWindowPoint works as expected on
2960 2013-01-31 Kentaro Hara <haraken@chromium.org>
2962 Implement WheelEvent::deltaMode
2963 https://bugs.webkit.org/show_bug.cgi?id=108455
2965 Reviewed by Adam Barth.
2967 * src/WebInputEventConversion.cpp:
2968 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
2970 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
2972 [Chromium] Move WorkerContextProxy to WebCore
2973 https://bugs.webkit.org/show_bug.cgi?id=108847
2975 Reviewed by Adam Barth.
2977 Part of a larger refactoring series; see tracking bug 106829.
2981 (WebKit::initializeWithoutV8):
2982 * src/WorkerContextProxy.cpp: Removed.
2984 2013-02-04 Abhishek Arya <inferno@chromium.org>
2986 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
2987 https://bugs.webkit.org/show_bug.cgi?id=108668
2989 Reviewed by Eric Seidel.
2991 * src/ContextFeaturesClientImpl.cpp:
2992 (WebKit::ContextFeaturesCache::entryFor):
2993 * src/WebFrameImpl.cpp:
2994 (WebKit::WebFrameImpl::selectFindMatch):
2996 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
2998 [Chromium] Move IDBFactoryBackendInterface to WebCore
2999 https://bugs.webkit.org/show_bug.cgi?id=108638
3001 Reviewed by Adam Barth.
3003 Part of a larger refactoring series; see tracking bug 106829.
3006 * src/AssertMatchingEnums.cpp:
3007 * src/IDBFactoryBackendInterface.cpp: Removed.
3008 * src/IDBFactoryBackendProxy.h:
3010 (WebKit::initializeWithoutV8):
3012 2013-02-04 Abhishek Arya <inferno@chromium.org>
3014 Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
3015 https://bugs.webkit.org/show_bug.cgi?id=108688
3017 Reviewed by Eric Seidel.
3019 * src/IDBFactoryBackendProxy.cpp:
3020 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
3021 (WebKit::getWebFrame):
3022 * src/LocalFileSystemChromium.cpp:
3023 (WebCore::LocalFileSystem::deleteFileSystem):
3024 * src/WebSharedWorkerImpl.cpp:
3025 (WebKit::WebSharedWorkerImpl::connectTask):
3026 (WebKit::resumeWorkerContextTask):
3027 (WebKit::connectToWorkerContextInspectorTask):
3028 (WebKit::reconnectToWorkerContextInspectorTask):
3029 (WebKit::disconnectFromWorkerContextInspectorTask):
3030 (WebKit::dispatchOnInspectorBackendTask):
3032 2013-02-04 Sami Kyostila <skyostil@chromium.org>
3034 Disable -webkit-overflow-scrolling CSS attribute on Chromium
3035 https://bugs.webkit.org/show_bug.cgi?id=108020
3037 Reviewed by James Robinson.
3039 Now that we can automatically promote overflow elements to accelerated
3040 scrolling layers there is no use for the -webkit-overflow-scrolling CSS
3041 attribute any longer on Chromium.
3043 This patch enables composited overflow scrolling in
3044 ScrollingCoordinatorChromiumTest. Because this also causes the overflow div
3045 in non-fast-scrollable.html to become composited, we also need to modify that
3046 test to opt it out of composited scrolling.
3049 * tests/ScrollingCoordinatorChromiumTest.cpp:
3050 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
3052 * tests/data/non-fast-scrollable.html:
3053 * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromium/tests/data/touch-overflow-scrolling.html.
3055 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
3057 Fix build warning after r141473
3058 https://bugs.webkit.org/show_bug.cgi?id=108782
3060 Reviewed by Kentaro Hara.
3062 Fix -Wunused-parameter build warning.
3064 * src/EditorClientImpl.cpp:
3065 (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
3067 2013-02-03 David Dorwin <ddorwin@chromium.org>
3069 [chromium] Do not call m_widgetClient->show() for WebHelperPlugin.
3070 https://bugs.webkit.org/show_bug.cgi?id=108740
3072 Reviewed by Kent Tamura.
3074 The calls to m_widgetClient->show() and setFocus() do not appear to be
3075 necessary, and the former causes problems on at least on platform.
3077 * src/WebHelperPluginImpl.cpp:
3078 (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClient->show() and setFocus().
3079 (WebKit::WebHelperPluginImpl::setFocus): Should never be called.
3081 2013-02-02 Michael Nordman <michaeln@google.com>
3083 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
3084 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
3085 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
3086 in place and in use.
3087 https://bugs.webkit.org/show_bug.cgi?id=108736
3089 Reviewed by Darin Fisher.
3091 * public/WebFileSystemCallbacks.h:
3092 (WebFileSystemCallbacks):
3093 (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile):
3095 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
3097 Unreviewed. Rolled Chromium DEPS to r180221. Requested by
3098 "Nico Weber" <thakis@chromium.org> via sheriffbot.
3102 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
3104 Unreviewed. Rolled Chromium DEPS to r180186. Requested by
3105 "Nico Weber" <thakis@chromium.org> via sheriffbot.
3109 2013-02-01 Chris Hopman <cjhopman@chromium.org>
3111 [Chromium] WebWidget::selectionBounds should return the bounds in document space
3112 https://bugs.webkit.org/show_bug.cgi?id=108386
3114 Reviewed by James Robinson.
3116 When in applyPageScaleFactorInCompositor mode, selectionBounds needs
3117 to scale the anchor/focus window points by the pageScaleFactor.
3119 * src/WebViewImpl.cpp:
3120 (WebKit::WebViewImpl::selectionBounds):
3121 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
3123 2013-02-01 Dominic Mazzoni <dmazzoni@google.com>
3125 AX: memoize expensive computation during blocks where tree doesn't change
3126 https://bugs.webkit.org/show_bug.cgi?id=106497
3128 Reviewed by Ryosuke Niwa.
3130 Expose two methods to enable and disable caching of
3131 computed WebAccessibilityObject attributes, to speed up
3132 batch read-only operations.
3134 * public/WebAccessibilityObject.h:
3135 (WebAccessibilityObject):
3136 * src/WebAccessibilityObject.cpp:
3137 (WebKit::WebAccessibilityObject::startCachingComputedObjectAttributesUntilTreeMutates):
3139 (WebKit::WebAccessibilityObject::stopCachingComputedObjectAttributes):
3141 2013-02-01 Fady Samuel <fsamuel@chromium.org>
3143 [Chromium] Expose WebNode::shadowHost()
3144 https://bugs.webkit.org/show_bug.cgi?id=108681
3146 Reviewed by Dimitri Glazkov.
3148 BrowserPlugin needs to be able to check the event listeners attached to
3149 <webview> and so we expose shadowHost to permit it to poke at the webview
3154 (WebKit::WebNode::shadowHost):
3157 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
3159 [Chromium] Ignore punctuation in spellcheck
3160 https://bugs.webkit.org/show_bug.cgi?id=108511
3162 Reviewed by Tony Chang.
3164 * src/ContextMenuClientImpl.cpp:
3165 (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect whitespace or punctuation.
3166 (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling.
3168 2013-02-01 Philip Rogers <pdr@google.com>
3170 Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
3171 https://bugs.webkit.org/show_bug.cgi?id=106966
3173 Reviewed by Stephen White.
3175 * tests/DragImageTest.cpp:
3176 (WebCore::TestImage::currentFrameKnownToBeOpaque):
3178 * tests/ImageLayerChromiumTest.cpp:
3179 (WebCore::TestImage::currentFrameKnownToBeOpaque):
3180 * tests/PlatformContextSkiaTest.cpp:
3183 2013-02-01 Nico Weber <thakis@chromium.org>
3185 [chromium] Build webkit with enable_web_intents set to 0.
3186 https://bugs.webkit.org/show_bug.cgi?id=108408
3188 Reviewed by Tony Chang.
3190 I'll then make chromium build fine with that, then switch
3191 enable_web_intents to 0, roll that into webkit, and then
3192 actually remove the code hidden behind this flag.
3194 The features.gypi bit depends on https://codereview.chromium.org/12143002/
3195 and will disable web intents support on android. Since common.gypi
3196 sets enable_web_intents to 0 explicitly, it seems this is currently on
3199 While it looks like this CL just removes ENABLE_WEB_INTENTS=1 from
3200 features.gypi completely, it's still set further down the file if
3201 enable_web_intents is on.
3205 * src/WebFrameImpl.cpp:
3207 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
3209 [Chromium] Ignore whitespace in spellcheck
3210 https://bugs.webkit.org/show_bug.cgi?id=108510
3212 Reviewed by Ryosuke Niwa.
3214 * src/ContextMenuClientImpl.cpp:
3215 (WebKit::selectMisspellingAsync): Ignore whitespace when selecting the misspelling.
3217 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
3219 Unreviewed. Rolled Chromium DEPS to r180131. Requested by
3220 "Florin Malita" <fmalita@chromium.org> via sheriffbot.
3224 2013-02-01 Alexis Menard <alexis@webkit.org>
3226 Enable unprefixed CSS transitions by default.
3227 https://bugs.webkit.org/show_bug.cgi?id=108216
3229 Reviewed by Dean Jackson.
3231 Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
3232 to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
3233 guard the unprefixing work for CSS Transforms and animations.
3237 2013-02-01 Ken Kania <kkania@chromium.org>
3239 Web Inspector: Add support for handling modal dialogs
3240 https://bugs.webkit.org/show_bug.cgi?id=107883
3242 Reviewed by Pavel Feldman.
3244 Introduce support for being notified when a JavaScript modal dialog
3245 is opening and closing, as well as a new command for accepting or
3246 dismissing the dialog.
3248 * public/WebDevToolsAgent.h:
3249 * src/InspectorClientImpl.cpp:
3250 (WebKit::InspectorClientImpl::handleJavaScriptDialog):
3252 * src/InspectorClientImpl.h:
3253 (InspectorClientImpl):
3254 * src/WebDevToolsAgentImpl.cpp:
3255 (BrowserDataHintStringValues):
3256 (WebKit::WebDevToolsAgentImpl::captureScreenshot):
3257 (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
3259 (WebKit::browserHintToString):
3260 (WebKit::browserHintFromString):
3261 (WebKit::WebDevToolsAgent::patchWithBrowserData):
3262 * src/WebDevToolsAgentImpl.h:
3263 (WebDevToolsAgentImpl):
3265 2013-02-01 Dan Alcantara <dfalcantara@chromium.org>
3267 Touch disambiguation blacklist is not being queried properly
3268 https://bugs.webkit.org/show_bug.cgi?id=108222
3270 Reviewed by Adam Barth.
3272 TEST=WebFrameTest::DisambiguationPopupBlacklist
3274 Fix the blacklist so that we check it for the right nodes.
3275 Add a test to check that the blacklist is being built and used
3276 correctly. Also update the other DisambiguationPopup tests to
3277 use the new page scale method.
3279 * tests/WebFrameTest.cpp:
3280 * tests/data/disambiguation_popup_blacklist.html: Added.
3282 2013-02-01 Eberhard Graether <egraether@google.com>
3284 [chromium] only show checkboxes for FPS meter and continuous painting when compositing mode is forced
3285 https://bugs.webkit.org/show_bug.cgi?id=108236
3287 Reviewed by Pavel Feldman.
3289 This change hides the checkboxes for FPS meter and continuous painting if compositing mode is not forced.
3290 This way the checkboxes only show up for users that can make use of these features.
3292 * src/InspectorClientImpl.cpp:
3293 (WebKit::InspectorClientImpl::canShowFPSCounter):
3294 (WebKit::InspectorClientImpl::canContinuouslyPaint):
3296 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
3298 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3299 https://bugs.webkit.org/show_bug.cgi?id=107737
3301 Reviewed by Ryosuke Niwa.
3303 * public/WebViewClient.h:
3304 (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
3305 Adding a callback to let the WebViewClient know that the composition has been cancelled.
3306 * src/EditorClientImpl.cpp:
3307 (WebKit::EditorClientImpl::respondToChangedSelection):
3308 Adding a call composition if it is no longer valid.
3310 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
3312 [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141479
3313 https://bugs.webkit.org/show_bug.cgi?id=108543
3315 Reviewed by Ryosuke Niwa.
3317 Fixing a bug that was uncovered after fixing http://trac.webkit.org/changeset/141479
3319 * src/WebViewImpl.cpp:
3320 (WebKit::WebViewImpl::setCompositionFromExistingText):
3321 * tests/WebViewTest.cpp:
3322 Re-enabling the test
3324 2013-01-31 Hajime Morrita <morrita@google.com>
3326 Unreviewed, followup fix for r141535.
3328 * tests/WebFrameTest.cpp:
3330 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
3332 Unreviewed. Rolled Chromium DEPS to r180023. Requested by
3333 thakis_ via sheriffbot.
3337 2013-01-31 Hajime Morrita <morrita@google.com>
3339 Unreviewed, disabling failing test.
3341 * tests/WebFrameTest.cpp:
3343 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
3345 Unreviewed, rolling out r141479.
3346 http://trac.webkit.org/changeset/141479
3347 https://bugs.webkit.org/show_bug.cgi?id=108564
3349 breaks chromium test (Requested by morrita on #webkit).
3351 * public/WebViewClient.h:
3352 * src/EditorClientImpl.cpp:
3353 (WebKit::EditorClientImpl::respondToChangedSelection):
3355 2013-01-31 Alec Flett <alecflett@chromium.org>
3357 IndexedDB: remove old transaction backend bootstrap code
3358 https://bugs.webkit.org/show_bug.cgi?id=103923
3360 Reviewed by Dimitri Glazkov.
3362 Remove all deprecated WebKit APIs from
3366 * public/WebIDBCallbacks.h:
3368 * public/WebIDBDatabase.h:
3370 * public/WebIDBTransaction.h: Removed.
3371 * public/WebIDBTransactionCallbacks.h: Removed.
3372 * src/AssertMatchingEnums.cpp:
3373 * src/IDBCallbacksProxy.cpp:
3374 * src/IDBDatabaseBackendProxy.cpp:
3375 * src/IDBDatabaseBackendProxy.h:
3376 (IDBDatabaseBackendProxy):
3377 * src/IDBTransactionBackendProxy.cpp: Removed.
3378 * src/IDBTransactionBackendProxy.h: Removed.
3379 * src/IDBTransactionCallbacksProxy.cpp: Removed.
3380 * src/IDBTransactionCallbacksProxy.h: Removed.
3381 * src/WebIDBCallbacksImpl.cpp:
3382 * src/WebIDBDatabaseImpl.cpp:
3384 * src/WebIDBDatabaseImpl.h:
3386 (WebIDBDatabaseImpl):
3387 * src/WebIDBTransactionCallbacksImpl.cpp: Removed.
3388 * src/WebIDBTransactionCallbacksImpl.h: Removed.
3389 * src/WebIDBTransactionImpl.cpp: Removed.
3390 * src/WebIDBTransactionImpl.h: Removed.
3391 * tests/IDBAbortOnCorruptTest.cpp:
3392 * tests/IDBDatabaseBackendTest.cpp:
3394 2013-01-31 Rouslan Solomakhin <rouslan@chromium.org>
3396 [Chromium] Select multi-word misspelling on context click
3397 https://bugs.webkit.org/show_bug.cgi?id=108509
3399 Reviewed by Tony Chang.
3401 * src/ContextMenuClientImpl.cpp:
3403 (WebKit::selectMisspellingAsync): Added utility function to get the misspelling for asynchronous spellcheck.
3404 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Select multi-word misspelling on context click.
3406 2013-01-31 Florin Malita <fmalita@chromium.org>
3408 [Chromium] Unreviewed gardening.
3410 WebViewTest.SetCompositionFromExistingText failing after r141479.
3412 * tests/WebViewTest.cpp:
3414 2013-01-31 Alexandre Elias <aelias@chromium.org>
3416 [chromium] Rework page scale factor limits initialization
3417 https://bugs.webkit.org/show_bug.cgi?id=108446
3419 Reviewed by James Robinson.
3421 When loading a page with viewportEnabled, both the limits
3422 specified by the viewport tag and the content width need to be
3423 considered before we initialize the minimum page scale (and
3424 pageScaleFactor itself usually to the same value). The timing has
3425 proven tricky to get correct.
3427 This patch simplifies the flow by computing the
3428 limits only at the end of layouts and at no other time. In combination
3429 with https://bugs.webkit.org/show_bug.cgi?id=107922 which sets
3430 needsLayout() appropriately, this results in a more robust and easy
3431 to understand sequence.
3433 Fixes FixedLayoutInitializeAtMinimumPageScale test.
3435 * src/ChromeClientImpl.cpp:
3436 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3437 * src/WebViewImpl.cpp:
3438 (WebKit::WebViewImpl::WebViewImpl):
3439 (WebKit::WebViewImpl::resize):
3440 (WebKit::WebViewImpl::setPageScaleFactorLimits):
3441 (WebKit::WebViewImpl::computePageScaleFactorLimits):
3442 (WebKit::WebViewImpl::layoutUpdated):
3443 (WebKit::WebViewImpl::didChangeContentsSize):
3444 * src/WebViewImpl.h:
3445 (WebKit::WebViewImpl::setInitialPageScaleFactor):
3447 * tests/WebFrameTest.cpp:
3449 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
3451 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3452 https://bugs.webkit.org/show_bug.cgi?id=107737
3454 Reviewed by Ryosuke Niwa.
3456 * public/WebViewClient.h:
3457 (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
3458 Adding a callback to let the WebViewClient know that the composition has been cancelled.
3459 * src/EditorClientImpl.cpp:
3460 (WebKit::EditorClientImpl::respondToChangedSelection):
3461 Adding a call composition if it is no longer valid.
3463 2013-01-31 Mark Pilgrim <pilgrim@chromium.org>
3465 [Chromium] Move LocalizedStrings to WebCore
3466 https://bugs.webkit.org/show_bug.cgi?id=108488
3468 Reviewed by Adam Barth.
3470 Part of a larger refactoring series; see tracking bug 106829.
3473 * src/LocalizedStrings.cpp: Removed.
3475 2013-01-31 Enrica Casucci <enrica@apple.com>
3477 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
3478 https://bugs.webkit.org/show_bug.cgi?id=108396.
3479 <rdar://problem/12920461>
3481 Reviewed by Alexey Proskuryakov.
3483 Adds stub implementation for WebKit of the new EditorClient methods.
3485 * src/EditorClientImpl.cpp:
3486 (WebKit::EditorClientImpl::willWriteSelectionToPasteboard):
3487 (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
3488 * src/EditorClientImpl.h:
3490 2013-01-31 Chris Hopman <cjhopman@chromium.org>
3492 [chromium] Make selection handling work in applyPageScaleInCompositor mode
3493 https://bugs.webkit.org/show_bug.cgi?id=107831
3495 Reviewed by Ryosuke Niwa.
3497 These functions expect a window point. When in
3498 applyPageScaleFactorInCompositor mode, the points need to be unscaled
3499 by the page scale factor.
3501 * src/WebFrameImpl.cpp:
3502 (WebKit::WebFrameImpl::selectRange):
3503 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
3505 2013-01-31 Tom Sepez <tsepez@chromium.org>
3507 [v8] Enable binding integrity on mac
3508 https://bugs.webkit.org/show_bug.cgi?id=108500
3510 Reviewed by Adam Barth.
3512 Patch is correct if existing tests pass without new crashes.
3515 Set ENABLE_BINDING_INTEGRITY=1 when OS=="mac"
3517 2013-01-31 Dan Alcantara <dfalcantara@chromium.org>
3519 WebFrameTest.DisambiguationPopup is failing
3520 https://bugs.webkit.org/show_bug.cgi?id=108160
3522 Reviewed by Adam Barth.
3524 Fix the unit test so that it is using the right HTML file.
3526 * tests/WebFrameTest.cpp:
3528 2013-01-31 Tony Chang <tony@chromium.org>
3530 [Chromium] webkit_unit_tests should depend on base/allocator for ASAN
3531 https://bugs.webkit.org/show_bug.cgi?id=108497
3533 Reviewed by James Robinson.
3535 * WebKitUnitTests.gyp:
3537 2013-01-31 Alexandre Elias <aelias@chromium.org>
3539 Call FrameView::contentsResized() when setting fixed layout size
3540 https://bugs.webkit.org/show_bug.cgi?id=107922
3542 Reviewed by James Robinson.
3544 In fixed layout mode, we should be calling contentsResized() when the
3545 fixed layout size is changed, but not laying out when the visible
3546 content rect changes.
3548 Previously landed as r140869 but was reverted due to a bug in bundled
3549 Chromium-specific code. This patch includes just the minimum needed in
3552 New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize. Some
3553 flaky and obsolete tests for the old page scale mode are also deleted.
3555 * tests/WebFrameTest.cpp:
3557 2013-01-31 Tommy Widenflycht <tommyw@google.com>
3559 [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
3560 https://bugs.webkit.org/show_bug.cgi?id=108458
3562 Reviewed by Adam Barth.
3564 Only renames, no other code changes.
3566 * public/WebMediaStreamRegistry.h:
3568 (WebMediaStreamRegistry):
3569 * public/WebUserMediaRequest.h:
3571 (WebUserMediaRequest):
3572 * src/WebMediaStreamRegistry.cpp:
3573 (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
3574 * src/WebUserMediaRequest.cpp:
3575 (WebKit::WebUserMediaRequest::requestSucceeded):
3577 2013-01-31 Alec Flett <alecflett@chromium.org>
3579 IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
3580 https://bugs.webkit.org/show_bug.cgi?id=108399
3582 Reviewed by Dimitri Glazkov.
3584 Cleanup now that chromium proxies the new signatures through.
3586 * src/IDBCallbacksProxy.cpp:
3587 (WebKit::IDBCallbacksProxy::onSuccess):
3588 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
3589 * src/IDBCallbacksProxy.h:
3590 (IDBCallbacksProxy):
3591 * src/WebIDBCallbacksImpl.cpp:
3592 * src/WebIDBCallbacksImpl.h:
3593 (WebIDBCallbacksImpl):
3595 2013-01-31 James Robinson <jamesr@chromium.org>
3597 [chromium] Remove dead transitional code from WebViewImpl
3598 https://bugs.webkit.org/show_bug.cgi?id=107889
3600 Reviewed by Adam Barth.
3602 The chromium side of this landed at r178256 and seems stable.
3604 * public/WebWidget.h:
3605 (WebKit::WebWidget::setCompositorSurfaceReady):
3606 * src/WebViewImpl.cpp:
3607 (WebKit::WebViewImpl::WebViewImpl):
3608 (WebKit::WebViewImpl::~WebViewImpl):
3610 (WebKit::WebViewImpl::setIsTransparent):
3611 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3612 * src/WebViewImpl.h:
3613 * tests/ScrollingCoordinatorChromiumTest.cpp:
3614 (WebKit::FakeWebViewClient::initializeLayerTreeView):
3615 (FakeWebViewClient):
3616 (WebKit::FakeWebViewClient::layerTreeView):
3617 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
3618 (ScrollingCoordinatorChromiumTest):
3620 2013-01-31 Kentaro Hara <haraken@chromium.org>
3622 Rename WheelEvent::Granularity to WheelEvent::DeltaMode
3623 https://bugs.webkit.org/show_bug.cgi?id=108434
3625 Reviewed by Ryosuke Niwa.
3627 Per the spec, WheelEvent::Granularity should be renamed to WheelEvent::DeltaMode.
3629 Spec: http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
3630 https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wheelevent
3632 No tests. No change in behavior.
3634 * src/WebInputEventConversion.cpp:
3635 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
3636 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
3638 2013-01-31 Yury Semikhatsky <yurys@chromium.org>
3640 Unreviewed. Bump Chromium dependency to 179332
3644 2013-01-31 Mark Pilgrim <pilgrim@chromium.org>
3646 [Chromium] Move MediaPlayerPrivateChromium to WebCore
3647 https://bugs.webkit.org/show_bug.cgi?id=108415
3649 Reviewed by Adam Barth.
3651 Part of a larger refactoring series; see tracking bug 106829.
3654 * src/MediaPlayerPrivateChromium.cpp: Removed.
3656 (WebKit::initializeWithoutV8): call new setter function in
3657 WebCore::MediaPlayerPrivate
3659 2013-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
3661 Unreviewed, rolling out r141358.
3662 http://trac.webkit.org/changeset/141358
3663 https://bugs.webkit.org/show_bug.cgi?id=108421
3665 breaks android builder (Requested by morrita on #webkit).
3669 * src/WebFrameImpl.cpp:
3671 2013-01-30 Nico Weber <thakis@chromium.org>
3673 [chromium] Build webkit with enable_web_intents set to 0.
3674 https://bugs.webkit.org/show_bug.cgi?id=108408
3676 Reviewed by Kentaro Hara.
3678 I'll then make chromium build fine with that, then switch
3679 enable_web_intents to 0, roll that into webkit, and then
3680 actually remove the code hidden behind this flag.
3684 * src/WebFrameImpl.cpp:
3686 2013-01-30 Levi Weintraub <leviw@chromium.org>
3688 [Chromium] WebPluginContainerImpl adding imbalanced touch handler refs
3689 https://bugs.webkit.org/show_bug.cgi?id=108381
3691 Reviewed by James Robinson.
3693 WebPluginContainerImpl would call Document::didAddTouchEventHandler every time the plugin requested
3694 touch events. Some plugins make this request more than once, leading to an imbalance in Document's
3695 touch event handler map, and a stale node pointer when the plugin is destroyed. This change
3696 has WebPluginContainerImpl only add one ref for the plugin at a time.
3698 * src/WebPluginContainerImpl.cpp:
3699 (WebKit::WebPluginContainerImpl::requestTouchEventType):
3701 2013-01-30 Yusuf Ozuysal <yusufo@google.com>
3703 Start sending scrollType as NonBubblingGesture for flings
3704 https://bugs.webkit.org/show_bug.cgi?id=108372
3706 Reviewed by James Robinson.
3708 * src/WebCompositorInputHandlerImpl.cpp:
3709 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
3711 2013-01-30 Tien-Ren Chen <trchen@chromium.org>
3713 [chromium] Add WebFrame::visibleContentRect()
3714 https://bugs.webkit.org/show_bug.cgi?id=108311
3716 Reviewed by James Robinson.
3718 * public/WebFrame.h:
3719 * src/WebFrameImpl.cpp:
3720 (WebKit::WebFrameImpl::visibleContentRect):
3722 * src/WebFrameImpl.h:
3725 2013-01-30 Kentaro Hara <haraken@chromium.org>
3727 Implement KeyboardEvent constructor
3728 https://bugs.webkit.org/show_bug.cgi?id=108320
3730 Reviewed by Adam Barth.
3732 Renamed keyboard event constant variables to avoid style errors.
3734 * src/WebInputEventConversion.cpp:
3735 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
3736 * tests/WebInputEventConversionTest.cpp:
3737 * tests/WebInputEventFactoryTestGtk.cpp:
3739 2013-01-30 Kentaro Hara <haraken@chromium.org>
3741 Implement WheelEvent constructor
3742 https://bugs.webkit.org/show_bug.cgi?id=108303
3744 Reviewed by Adam Barth.
3746 This patch just renames an enum value to avoid style check error.
3748 * src/WebViewImpl.cpp:
3749 (WebKit::WebViewImpl::scrollBy):
3751 2013-01-30 Dana Jansens <danakj@chromium.org>
3753 [chromium] Add recordRenderingStats to WebSettings
3754 https://bugs.webkit.org/show_bug.cgi?id=108358
3756 Reviewed by James Robinson.
3758 * public/WebSettings.h:
3759 * src/WebSettingsImpl.cpp:
3760 (WebKit::WebSettingsImpl::setRecordRenderingStats):
3762 * src/WebSettingsImpl.h:
3764 (WebKit::WebSettingsImpl::recordRenderingStats):
3765 * src/WebViewImpl.cpp:
3766 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3768 2013-01-30 Tony Gentilcore <tonyg@chromium.org>
3770 Fix compile error in WebFrameTest
3771 https://bugs.webkit.org/show_bug.cgi?id=108360
3773 Unreviewed build fix.
3775 Fixes compile error:
3776 ../../Source/WebKit/chromium/tests/WebFrameTest.cpp:330:5: error: converting false to pointer type for argument 1 of char testing::internal::IsNullLiteralHelper(testing::internal::Secret*) [-Werror=conversion-null]
3778 * tests/WebFrameTest.cpp:
3780 2013-01-30 John Knottenbelt <jknotten@chromium.org>
3782 [Chromium] Fix find in page rects for overflowing content.
3783 https://bugs.webkit.org/show_bug.cgi?id=104924
3785 Reviewed by Julien Chaffraix.
3787 If a div has overflowing content, we should only normalise its
3788 coordinates against the renderview or the containing scrollable block.
3790 TEST=WebFrameTest.FindInPageMatchRects
3792 * src/FindInPageCoordinates.cpp:
3793 (WebKit::enclosingScrollableAncestor):
3794 Helper function to find the enclosing containing block with an overflow clip.
3795 (WebKit::toNormalizedRect):
3796 Pass in the container as an argument.
3797 (WebKit::findInPageRectFromAbsoluteRect):
3798 Compute the container for toNormalizedRect using enclosingScrollableAncestor.
3799 * tests/WebFrameTest.cpp:
3800 Add expectations for new tests in WebFrameTest::FindInPageMatchRects and WebFrameTest::FindInPage.
3801 * tests/data/find.html:
3802 Add test case for <select> element.
3803 * tests/data/find_in_page_frame.html:
3805 - Result 15, 16 tests that containing <div> with style float:left and
3806 height:0px does not impact coordinate normalization.
3807 - Result 17, 18 tests that matches with absolute positioning are normalized containing
3808 relative positioned block, even if there is a closer parent block with overflow clip.
3809 - Result 19 adds a test case for <select> element.
3811 2013-01-30 Dominik Röttsches <dominik.rottsches@intel.com>
3813 [HarfBuzz] Remove the HarfBuzz-old code
3814 https://bugs.webkit.org/show_bug.cgi?id=108077
3816 Reviewed by Benjamin Poulain.
3818 Rename WTF_USE_HARFBUZZ_NG to WTF_USE_HARFBUZZ since there
3819 won't be a distinction between ng and non-ng HarfBuzz after
3820 removing the old code.
3824 2013-01-30 Jochen Eisinger <jochen@chromium.org>
3826 [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
3827 https://bugs.webkit.org/show_bug.cgi?id=108004
3828 http://code.google.com/p/chromium/issues/detail?id=172416
3830 console.debug triggers a NOTREACHED() assertation in Chromium. This
3831 is because WebCore::MessageLevel contains 5 levels, including debug,
3832 where WebConsoleMessage::Level is missing a "debug" level. Add a
3833 WebConsoleMessage::LevelDebug so that it can get passed up to the
3834 renderer even if it doesn't make use of that now.
3836 Requires another patch to chromium itself to fix chromium bug 172416
3837 but this is a prerequisite.
3839 Also add an enum compile time check to AssertMatchingEnums.cpp,
3841 Patch by Kevin Day <kevinday@gmail.com> on 2013-01-28
3842 Reviewed by Jochen Eisinger.
3844 * public/WebConsoleMessage.h:
3845 * src/AssertMatchingEnums.cpp:
3846 * src/WebFrameImpl.cpp:
3847 (WebKit::WebFrameImpl::addMessageToConsole):
3849 2013-01-30 Xianzhu Wang <wangxianzhu@chromium.org>
3851 [Chromium] Correct zoom for focused node when using compositor scaling
3852 https://bugs.webkit.org/show_bug.cgi?id=107599
3854 Reviewed by Adam Barth.
3856 When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
3857 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
3859 Reapply r141153. Added font-size in html to ensure same caret size across platforms.
3861 * src/WebViewImpl.cpp:
3862 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3864 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
3865 * src/WebViewImpl.h:
3867 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
3868 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
3870 2013-01-29 Mark Lam <mark.lam@apple.com>
3872 Rename AbstractDatabase to DatabaseBackend.
3873 https://bugs.webkit.org/show_bug.cgi?id=108275.
3875 Reviewed by Sam Weinig.
3877 This is a pure rename operation as part of the webdatabase refactoring
3878 effort. There is no semantic change in this patch.
3880 * public/WebDatabase.h:
3882 * src/DatabaseObserver.cpp:
3883 (WebCore::DatabaseObserver::databaseOpened):
3884 (WebCore::DatabaseObserver::databaseModified):
3885 (WebCore::DatabaseObserver::databaseClosed):
3886 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
3887 (WebCore::DatabaseObserver::reportChangeVersionResult):
3888 (WebCore::DatabaseObserver::reportStartTransactionResult):
3889 (WebCore::DatabaseObserver::reportCommitTransactionResult):
3890 (WebCore::DatabaseObserver::reportExecuteStatementResult):
3891 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
3892 * src/WebDatabase.cpp:
3893 (WebKit::WebDatabase::WebDatabase):
3895 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
3897 Unreviewed, rolling out r141153.
3898 http://trac.webkit.org/changeset/141153
3899 https://bugs.webkit.org/show_bug.cgi?id=108280
3901 Caused WebFrameTest.DivScrollIntoEditableTest to fail on Mac.
3902 (Requested by keishi on #webkit).
3904 * src/WebViewImpl.cpp:
3905 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3906 * src/WebViewImpl.h:
3908 * tests/WebFrameTest.cpp:
3909 * tests/data/get_scale_for_zoom_into_editable_test.html:
3911 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
3913 Unreviewed, rolling out r140983.
3914 http://trac.webkit.org/changeset/140983
3915 https://bugs.webkit.org/show_bug.cgi?id=108277
3917 Unfortunately, this API has one last client (Requested by
3920 * src/WebNotification.cpp:
3921 (WebKit::WebNotification::isHTML):
3922 (WebKit::WebNotification::url):
3923 (WebKit::WebNotification::iconURL):
3924 (WebKit::WebNotification::title):
3925 (WebKit::WebNotification::body):
3927 2013-01-29 Shinya Kawanaka <shinyak@chromium.org>
3929 [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
3930 https://bugs.webkit.org/show_bug.cgi?id=106287
3932 Reviewed by Hajime Morita.
3934 When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
3935 does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
3936 a document element. However, the inner element and document element have a different tree scope, selection range
3937 cannot be gotten correctly.
3939 We should use ShadowRoot instead of document so that we can stay in the same tree scope.
3941 * src/WebViewImpl.cpp:
3942 (WebKit::WebViewImpl::caretOrSelectionRange):
3943 * tests/WebViewTest.cpp:
3944 * tests/data/selection_disabled.html: Added.
3945 * tests/data/selection_readonly.html: Added.
3947 2013-01-29 Tom Sepez <tsepez@chromium.org>
3949 [v8] Enable binding integrity on linux
3950 https://bugs.webkit.org/show_bug.cgi?id=108242
3952 Reviewed by Adam Barth.
3956 2013-01-29 Xianzhu Wang <wangxianzhu@chromium.org>
3958 [Chromium] Correct zoom for focused node when using compositor scaling
3959 https://bugs.webkit.org/show_bug.cgi?id=107599
3961 Reviewed by Adam Barth.
3963 When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
3964 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
3966 * src/WebViewImpl.cpp:
3967 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
3969 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
3970 * src/WebViewImpl.h:
3972 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
3973 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
3975 2013-01-29 Alec Flett <alecflett@chromium.org>
3977 IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
3978 https://bugs.webkit.org/show_bug.cgi?id=103920
3980 Reviewed by Dimitri Glazkov.
3982 Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
3983 while maintaining chromium compatibility by shimming in the old API
3984 in the WebKit side. Future code will clean this up so that it is just a
3985 pass-through as it was before.
3987 * public/WebIDBCallbacks.h:
3989 (WebKit::WebIDBCallbacks::onSuccess): new method signature.
3990 (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
3991 * src/IDBCallbacksProxy.cpp:
3992 (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
3994 (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
3995 * src/IDBCallbacksProxy.h:
3996 (IDBCallbacksProxy):
3997 * src/WebIDBCallbacksImpl.cpp:
3998 (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
4000 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
4001 * src/WebIDBCallbacksImpl.h:
4002 (WebIDBCallbacksImpl):
4003 * tests/IDBAbortOnCorruptTest.cpp: new method signature.
4004 (WebCore::MockIDBCallbacks::onSuccess):
4005 * tests/IDBDatabaseBackendTest.cpp: new method signature.
4007 2013-01-29 Alexandre Elias <aelias@chromium.org>
4009 [chromium] Fix contents size calculation for page scale initialization
4010 https://bugs.webkit.org/show_bug.cgi?id=108204
4014 My previous patch http://webk.it/107424 had a few issues that are
4015 blocking WebKit roll.
4017 - We still need the layout in resize() given that
4018 http://webk.it/107922 was reverted.
4020 - I deleted code used only for the old page-scale mode in
4021 contentsSize(), but this needs to wait until WebKit roll since it's
4022 making bots fail in this short term.
4024 * src/WebViewImpl.cpp:
4025 (WebKit::WebViewImpl::resize):
4026 (WebKit::WebViewImpl::contentsSize):
4028 2013-01-29 Alpha Lam <hclam@chromium.org>
4030 [chromium] Unreviewed DEPS roll.
4032 Roll Chromium DEPS to 179332.
4036 2013-01-29 Joshua Bell <jsbell@chromium.org>
4038 [Chromium] IndexedDB: Let callers specify reason (error) for aborting transaction
4039 https://bugs.webkit.org/show_bug.cgi?id=107851
4041 Reviewed by Tony Chang.
4043 Let Chromium call abort() on a transaction and specify a reason, specifically for
4046 * public/WebIDBDatabase.h:
4047 (WebKit::WebIDBDatabase::abort): New overload for abort() that takes an error.
4048 * public/WebIDBDatabaseError.h:
4049 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): Overloaded constructor/assign that takes error.
4050 * src/IDBDatabaseBackendProxy.cpp:
4051 (WebKit::IDBDatabaseBackendProxy::abort): New overload for abort() that takes an error.
4052 * src/IDBDatabaseBackendProxy.h:
4053 (IDBDatabaseBackendProxy): Ditto.
4054 * src/WebIDBDatabaseError.cpp: Implementation of overload ctor/assign.
4055 * src/WebIDBDatabaseImpl.cpp:
4056 (WebKit::WebIDBDatabaseImpl::abort): New overload for abort() that takes an error.
4057 * src/WebIDBDatabaseImpl.h: Ditto.
4058 * tests/IDBDatabaseBackendTest.cpp: Overload stubs for Mock class.
4060 2013-01-29 Florin Malita <fmalita@chromium.org>
4062 [Chromium] Unreviewed gardening.
4064 Disable WebFrameTest.pageScaleFactorShrinksViewport (pending investigation after r141053).
4066 * tests/WebFrameTest.cpp:
4068 2013-01-29 Keishi Hattori <keishi@webkit.org>
4070 [Chromium] Disabling WebFrameTest.DisambiguationPopupMobileSite because WebFrameTest is still failing after r141073.
4072 Unreviewed. Gardening.
4074 * tests/WebFrameTest.cpp:
4076 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
4078 Unreviewed, rolling out r141064.
4079 http://trac.webkit.org/changeset/141064
4080 https://bugs.webkit.org/show_bug.cgi?id=108166
4082 [Chromium] WebFrameTest.DivScrollIntoEditableTest is failing
4083 on WinXP. (Requested by keishi on #webkit).
4085 * tests/WebFrameTest.cpp:
4086 * tests/data/get_scale_for_zoom_into_editable_test.html:
4088 2013-01-29 Keishi Hattori <keishi@webkit.org>
4090 [Chromium] Disabling WebFrameTest.DisambiguationPopup because it is failing.
4092 Unreviewed. Gardening.
4094 * tests/WebFrameTest.cpp:
4096 2013-01-28 Xianzhu Wang <wangxianzhu@chromium.org>
4098 Re-enable WebFrameTest.DivScrollIntoEditableTest
4099 https://bugs.webkit.org/show_bug.cgi?id=98558
4101 Reviewed by Adam Barth.
4103 * tests/WebFrameTest.cpp: Fixed several issues (onload script, the maximum scale factor, etc.) of WebFrameTest.DivScrollIntoEditableTest and enable it.
4104 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
4106 2013-01-28 Tien-Ren Chen <trchen@chromium.org>
4108 Fix disambiguation popup for new-style page scale
4109 https://bugs.webkit.org/show_bug.cgi?id=107391
4111 Reviewed by Adam Barth.
4113 This patch corrects various coordinate conversion for disambiguation
4114 popup for the new-style page scale mode.
4116 * src/WebViewImpl.cpp:
4117 (WebKit::WebViewImpl::handleGestureEvent):
4118 (WebKit::WebViewImpl::handleInputEvent):
4119 * tests/WebFrameTest.cpp:
4120 * tests/data/disambiguation_popup_page_scale.html: Added.
4122 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
4124 Unreviewed, rolling out r141049.
4125 http://trac.webkit.org/changeset/141049
4126 https://bugs.webkit.org/show_bug.cgi?id=108151
4128 Caused some indexed tests to crash. (Requested by keishi on
4131 * public/WebIDBCallbacks.h:
4133 * src/IDBCallbacksProxy.cpp:
4134 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):