1 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
3 [Chromium] Move AudioDestinationChromium into WebCore
4 https://bugs.webkit.org/show_bug.cgi?id=106803
6 Reviewed by Adam Barth.
8 This doesn't really belong in WebKit/chromium/src since it defines
9 things directly in the WebCore namespace.
12 * src/AudioDestinationChromium.cpp: Removed.
13 * src/AudioDestinationChromium.h: Removed.
15 2013-01-14 Stephen Chenney <schenney@chromium.org>
17 Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
21 It turns out that the change behind this flag causes crashes and image errors.
25 2013-01-14 Kentaro Hara <haraken@chromium.org>
27 [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interruptAndRun()
28 https://bugs.webkit.org/show_bug.cgi?id=106779
30 Reviewed by Adam Barth.
32 This is one of steps to make an Isolate parameter mandatory.
34 No tests. No change in behavior.
36 * src/WebDevToolsAgentImpl.cpp:
37 (WebKit::WebDevToolsAgent::interruptAndDispatch):
39 2013-01-13 Vsevolod Vlasov <vsevik@chromium.org>
41 Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPanelSwitch fails
42 https://bugs.webkit.org/show_bug.cgi?id=106755
44 Reviewed by Alexander Pavlov.
47 (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
48 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
50 2013-01-12 David Grogan <dgrogan@chromium.org>
52 Unreviewed. Roll chromium DEPS to 176595.
53 https://bugs.webkit.org/show_bug.cgi?id=106730
57 2013-01-11 Dan Beam <dbeam@chromium.org>
59 [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of more specific Error reasons
60 https://bugs.webkit.org/show_bug.cgi?id=106610
62 Reviewed by Darin Fisher.
64 * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultError in favor of more specific error reasons.
65 * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asserts.
67 2013-01-11 Tien-Ren Chen <trchen@chromium.org>
69 WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
70 https://bugs.webkit.org/show_bug.cgi?id=104427
72 Reviewed by Adam Barth.
74 When a gesture needs to be disambiguated, WebKit doesn't update cursor focus.
75 We added an extra status for didHandleGestureEvent(), so we can distinguish
76 the case whether the event is actually delivered to the web page or cancelled.
78 * public/WebViewClient.h:
79 * public/WebWidgetClient.h:
82 (WebKit::WebWidgetClient::didHandleGestureEvent):
83 * src/WebViewImpl.cpp:
84 (WebKit::WebViewImpl::handleGestureEvent):
85 * tests/WebViewTest.cpp:
87 2013-01-11 Eberhard Graether <egraether@google.com>
89 [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers recursively in continuous painting mode
90 https://bugs.webkit.org/show_bug.cgi?id=105458
92 Reviewed by James Robinson.
94 In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
95 while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
96 calls setNeedsDisplay() on all GraphicsLayers recursively in order to force all layers to repaint. PageOverlay
97 layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
101 (WebKit::PageOverlay::graphicsLayer):
103 * src/PageOverlayList.cpp:
104 (WebKit::PageOverlayList::findGraphicsLayer):
106 * src/PageOverlayList.h:
109 * src/WebViewImpl.cpp:
110 (WebKit::WebViewImpl::WebViewImpl):
111 (WebKit::WebViewImpl::didBeginFrame):
113 * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium/src/PageOverlay.h.
115 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
116 * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/src/PageOverlay.h.
121 2013-01-11 Tony Chang <tony@chromium.org>
123 Unreviewed, revert r139157 to fix the chromium build.
124 These files were deleted in a follow up and since r139044 was reverted, we need to
125 add back these files.
128 * src/DragScrollTimer.cpp: Added.
130 (WebKit::distanceToRect):
131 (WebKit::DragScrollTimer::DragScrollTimer):
132 (WebKit::DragScrollTimer::~DragScrollTimer):
133 (WebKit::DragScrollTimer::stop):
134 (WebKit::DragScrollTimer::scroll):
135 (WebKit::DragScrollTimer::update):
136 (WebKit::DragScrollTimer::triggerScroll):
137 (WebKit::DragScrollTimer::scrollDistanceFor):
138 * src/DragScrollTimer.h: Added.
141 (WebKit::DragScrollTimer::fired):
142 (WebKit::DragScrollTimer::shouldScroll):
144 2013-01-11 Sheriff Bot <webkit.review.bot@gmail.com>
146 Unreviewed, rolling out r139044.
147 http://trac.webkit.org/changeset/139044
148 https://bugs.webkit.org/show_bug.cgi?id=106702
150 Caused various scrolling anomolies on Mac with drag and drop
151 (Requested by smfr on #webkit).
153 * src/WebViewImpl.cpp:
154 (WebKit::WebViewImpl::WebViewImpl):
155 (WebKit::WebViewImpl::dragSourceEndedAt):
156 (WebKit::WebViewImpl::dragSourceMovedTo):
157 (WebKit::WebViewImpl::dragTargetDrop):
158 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
162 2013-01-11 Tony Chang <tony@chromium.org>
164 [chromium] Don't regenerate all bindings when any idl file changes
165 https://bugs.webkit.org/show_bug.cgi?id=106604
167 Reviewed by Kentaro Hara.
169 * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python import search path
170 so we can generate idl dependencies at gyp time.
172 2013-01-11 Stephen Chenney <schenney@chromium.org>
174 Removing Skia flags that have been disabling oprtimizations and other improvements.
176 Unreviewed build fix.
178 These changes have been extensively tested by the Skia team, and
179 WebKit test result changes will be monitored.
183 2013-01-11 Pavel Feldman <pfeldman@chromium.org>
185 Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
186 https://bugs.webkit.org/show_bug.cgi?id=106560
188 Reviewed by Vsevolod Vlasov.
190 * src/js/devTools.css:
191 (body.dock-to-bottom.platform-mac #toolbar):
193 2013-01-10 Noel Gordon <noel.gordon@gmail.com>
195 [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
196 https://bugs.webkit.org/show_bug.cgi?id=106631
198 Reviewed by Eric Seidel.
200 * tests/WebImageTest.cpp:
201 (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
202 green their respective webkit-unit-test bots. The tests still pass on
203 LINUX so keep test coverage there for now.
205 2013-01-10 Dan Beam <dbeam@chromium.org>
207 Implement AutocompleteErrorEvent#reason
208 https://bugs.webkit.org/show_bug.cgi?id=105568
210 Reviewed by Adam Barth.
212 * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
213 * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
215 2013-01-10 Adam Barth <abarth@webkit.org>
217 Add an ENABLE macro and a WebCore::Setting for the threaded parser
218 https://bugs.webkit.org/show_bug.cgi?id=106595
220 Reviewed by Benjamin Poulain.
222 Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
223 more easily enable it locally.
227 2013-01-10 John Mellor <johnme@chromium.org>
229 Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
230 https://bugs.webkit.org/show_bug.cgi?id=106460
232 Reviewed by Kenneth Rohde Christiansen.
234 1. Exposes the existing applyDeviceScaleFactorInCompositor from
235 WebSettings on Settings (and stores the value there instead), so it can
236 be accessed from WebCore.
238 2. Changes ChromeClientImpl::windowRect to return values in density
239 independent (UI) pixels pixels instead of physical screen pixels (see
240 explanation in Source/WebCore/ChangeLog).
242 * src/ChromeClientImpl.cpp:
243 (WebKit::ChromeClientImpl::windowRect):
244 Normalizes window rect scale.
245 * src/WebSettingsImpl.cpp:
246 (WebKit::WebSettingsImpl::WebSettingsImpl):
247 (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
248 (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
250 * src/WebSettingsImpl.h:
253 2013-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
255 Unreviewed. Rolled DEPS.
259 2013-01-10 Dimitri Glazkov <dglazkov@chromium.org>
261 Unreviewed, rolling out r139227.
262 http://trac.webkit.org/changeset/139227
263 https://bugs.webkit.org/show_bug.cgi?id=106227
265 Broke Win component build.
267 * public/WebAccessibilityObject.h:
268 * public/WebAccessibilityRole.h:
269 * public/WebActiveWheelFlingParameters.h:
270 * public/WebAnimationController.h:
271 * public/WebApplicationCacheHost.h:
272 * public/WebApplicationCacheHostClient.h:
273 * public/WebArrayBuffer.h:
274 * public/WebAudioSourceProvider.h:
275 * public/WebBatteryStatus.h:
276 * public/WebBindings.h:
279 * public/WebCachedURLRequest.h:
280 * public/WebColorChooser.h:
281 * public/WebColorChooserClient.h:
282 * public/WebColorName.h:
283 * public/WebCommonWorkerClient.h:
284 * public/WebCompositionUnderline.h:
285 * public/WebCompositorInputHandler.h:
286 * public/WebConsoleMessage.h:
287 * public/WebContentDetectionResult.h:
288 * public/WebContextMenuData.h:
289 * public/WebCrossOriginPreflightResultCache.h:
290 * public/WebCursorInfo.h:
291 * public/WebDOMEvent.h:
292 * public/WebDOMEventListener.h:
293 * public/WebDOMStringList.h:
294 * public/WebDataSource.h:
295 * public/WebDatabase.h:
296 * public/WebDateTimeChooserCompletion.h:
297 * public/WebDateTimeChooserParams.h:
298 * public/WebDeliveredIntentClient.h:
299 * public/WebDevToolsAgent.h:
300 * public/WebDevToolsAgentClient.h:
301 * public/WebDevToolsFrontend.h:
302 * public/WebDeviceOrientationClient.h:
303 * public/WebDeviceOrientationClientMock.h:
304 * public/WebDeviceOrientationController.h:
305 * public/WebDocument.h:
306 * public/WebDraggableRegion.h:
307 * public/WebExternalPopupMenuClient.h:
308 * public/WebFileChooserCompletion.h:
309 * public/WebFileChooserParams.h:
310 * public/WebFileSystemCallbacks.h:
311 * public/WebFileSystemEntry.h:
312 * public/WebFileWriter.h:
313 * public/WebFileWriterClient.h:
314 * public/WebFindOptions.h:
316 * public/WebFontCache.h:
317 * public/WebFontDescription.h:
318 * public/WebFormControlElement.h:
319 * public/WebFormElement.h:
321 * public/WebFrameClient.h:
322 * public/WebGeolocationClientMock.h:
323 * public/WebGeolocationController.h:
324 * public/WebGeolocationError.h:
325 * public/WebGeolocationPermissionRequest.h:
326 * public/WebGeolocationPermissionRequestManager.h:
327 * public/WebGeolocationPosition.h:
328 * public/WebGlyphCache.h:
329 * public/WebHelperPlugin.h:
330 * public/WebHistoryItem.h:
331 * public/WebHitTestResult.h:
332 * public/WebIDBCallbacks.h:
333 * public/WebIDBCursor.h:
334 * public/WebIDBDatabase.h:
335 * public/WebIDBDatabaseCallbacks.h:
336 * public/WebIDBDatabaseError.h:
337 * public/WebIDBFactory.h:
338 * public/WebIDBIndex.h:
339 * public/WebIDBKey.h:
340 * public/WebIDBKeyPath.h:
341 * public/WebIDBKeyRange.h:
342 * public/WebIDBMetadata.h:
343 * public/WebIDBObjectStore.h:
344 * public/WebIDBTransaction.h:
345 * public/WebIDBTransactionCallbacks.h:
346 * public/WebIconURL.h:
347 * public/WebImageDecoder.h:
348 * public/WebInputEvent.h:
349 * public/WebIntent.h:
350 * public/WebIntentRequest.h:
351 * public/WebIntentServiceInfo.h:
352 * public/WebMediaPlayer.h:
353 * public/WebMediaStreamRegistry.h:
354 * public/WebMenuItemInfo.h:
355 * public/WebNetworkStateNotifier.h:
357 * public/WebNodeCollection.h:
358 * public/WebNodeList.h:
359 * public/WebNotification.h:
360 * public/WebNotificationPresenter.h:
361 * public/WebOptionElement.h:
362 * public/WebPageOverlay.h:
363 * public/WebPagePopup.h:
364 * public/WebPageSerializer.h:
365 * public/WebPasswordFormData.h:
366 * public/WebPerformance.h:
367 * public/WebPlugin.h:
368 * public/WebPluginContainer.h:
369 * public/WebPluginParams.h:
370 * public/WebPopupMenu.h:
371 * public/WebPopupMenuInfo.h:
372 * public/WebPrerendererClient.h:
373 * public/WebPrintParams.h:
375 * public/WebRegularExpression.h:
376 * public/WebRuntimeFeatures.h:
377 * public/WebScopedMicrotaskSuppression.h:
378 * public/WebScopedUserGesture.h:
379 * public/WebScriptController.h:
380 * public/WebScriptSource.h:
381 * public/WebSearchableFormData.h:
382 * public/WebSecurityOrigin.h:
383 * public/WebSecurityPolicy.h:
384 * public/WebSelectElement.h:
385 * public/WebSettings.h:
386 * public/WebSharedWorker.h:
387 * public/WebSharedWorkerRepository.h:
388 * public/WebSpeechGrammar.h:
389 * public/WebSpeechInputController.h:
390 * public/WebSpeechInputResult.h:
391 * public/WebSpeechRecognitionHandle.h:
392 * public/WebSpeechRecognitionParams.h:
393 * public/WebSpeechRecognitionResult.h:
394 * public/WebSpeechRecognizer.h:
395 * public/WebSpeechRecognizerClient.h:
396 * public/WebSpellCheckClient.h:
397 * public/WebStorageEventDispatcher.h:
398 * public/WebSurroundingText.h:
399 * public/WebTestingSupport.h:
400 * public/WebTextCheckingCompletion.h:
401 * public/WebTextCheckingResult.h:
402 * public/WebTextFieldDecoratorClient.h:
403 * public/WebTextInputInfo.h:
404 * public/WebTextRun.h:
405 * public/WebTimeRange.h:
406 * public/WebTouchPoint.h:
407 * public/WebUserMediaRequest.h:
409 * public/WebViewBenchmarkSupport.h:
410 * public/WebViewClient.h:
411 * public/WebWidget.h:
412 * public/WebWidgetClient.h:
413 * public/WebWindowFeatures.h:
414 * public/WebWorkerInfo.h:
416 2013-01-09 Alec Flett <alecflett@chromium.org>
418 IndexedDB: Allow createIndex/createObjectStore to be asynchronous
419 https://bugs.webkit.org/show_bug.cgi?id=106377
421 Reviewed by Tony Chang.
423 Remove this test as it makes no sense once the objectstore/index
426 * tests/IDBDatabaseBackendTest.cpp:
428 2013-01-09 Chris Rogers <crogers@google.com>
430 Allow live/local audio input to be enabled only when needed
431 https://bugs.webkit.org/show_bug.cgi?id=106490
433 Reviewed by Kenneth Russell.
435 * src/AudioDestinationChromium.cpp:
437 (WebCore::AudioDestination::create):
438 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
439 (WebCore::AudioDestinationChromium::render):
440 * src/AudioDestinationChromium.h:
441 (AudioDestinationChromium):
443 2013-01-09 Yue Zhang <zysxqn@google.com>
445 [Chromium] Always enable autocomplete for password fields
446 https://bugs.webkit.org/show_bug.cgi?id=104600
448 Reviewed by Darin Fisher.
450 Don't check autocomplete in webkit code. Rather, we check it in chrome code in the following way: if the password field is chrome generated password, we ignore autocomplete=off and always fill the password; otherwise, we respect the autocomplete set. Since this is a chrome only feature, we make it configurable (default to false but enable this in chrome code).
452 * src/WebPasswordFormUtils.cpp:
453 (WebKit::findPasswordFormFields):
454 * src/WebPasswordFormUtils.h:
456 (WebKit::findPasswordFormFields):
458 2013-01-09 James Robinson <jamesr@chromium.org>
460 [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
461 https://bugs.webkit.org/show_bug.cgi?id=106495
463 Reviewed by Adrienne Walker.
465 The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
466 of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
467 client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
468 notification to the WebWidget that the WebLayerTreeView is going to go away.
470 This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
471 which will take a bit more refactoring.
473 * public/WebWidget.h:
475 (WebKit::WebWidget::willCloseLayerTreeView):
476 * src/WebViewImpl.cpp:
477 (WebKit::WebViewImpl::willCloseLayerTreeView):
482 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
484 [Chromium] Remove stray references to WebKitPlatformSupport.h
485 https://bugs.webkit.org/show_bug.cgi?id=106493
487 Reviewed by James Robinson.
489 Part of a refactoring series. See tracking bug 82948.
491 * src/SharedWorkerRepository.cpp:
492 * tests/RunAllTests.cpp:
494 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
496 [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
497 https://bugs.webkit.org/show_bug.cgi?id=106227
499 Reviewed by Darin Fisher.
501 Part of a larger refactoring series. See tracking bug 82948.
503 * public/WebAccessibilityObject.h:
504 * public/WebAccessibilityRole.h:
505 * public/WebActiveWheelFlingParameters.h:
506 * public/WebAnimationController.h:
507 * public/WebApplicationCacheHost.h:
508 * public/WebApplicationCacheHostClient.h:
509 * public/WebArrayBuffer.h:
510 * public/WebAudioSourceProvider.h:
511 * public/WebBatteryStatus.h:
512 * public/WebBindings.h:
515 * public/WebCachedURLRequest.h:
516 * public/WebColorChooser.h:
517 * public/WebColorChooserClient.h:
518 * public/WebColorName.h:
519 * public/WebCommonWorkerClient.h:
520 * public/WebCompositionUnderline.h:
521 * public/WebCompositorInputHandler.h:
522 * public/WebConsoleMessage.h:
523 * public/WebContentDetectionResult.h:
524 * public/WebContextMenuData.h:
525 * public/WebCrossOriginPreflightResultCache.h:
526 * public/WebCursorInfo.h:
527 * public/WebDOMEvent.h:
528 * public/WebDOMEventListener.h:
529 * public/WebDOMStringList.h:
530 * public/WebDataSource.h:
531 * public/WebDatabase.h:
532 * public/WebDateTimeChooserCompletion.h:
533 * public/WebDateTimeChooserParams.h:
534 * public/WebDeliveredIntentClient.h:
535 * public/WebDevToolsAgent.h:
536 * public/WebDevToolsAgentClient.h:
537 * public/WebDevToolsFrontend.h:
538 * public/WebDeviceOrientationClient.h:
539 * public/WebDeviceOrientationClientMock.h:
540 * public/WebDeviceOrientationController.h:
541 * public/WebDocument.h:
542 * public/WebDraggableRegion.h:
543 * public/WebExternalPopupMenuClient.h:
544 * public/WebFileChooserCompletion.h:
545 * public/WebFileChooserParams.h:
546 * public/WebFileSystemCallbacks.h:
547 * public/WebFileSystemEntry.h:
548 * public/WebFileWriter.h:
549 * public/WebFileWriterClient.h:
550 * public/WebFindOptions.h:
552 * public/WebFontCache.h:
553 * public/WebFontDescription.h:
554 * public/WebFormControlElement.h:
555 * public/WebFormElement.h:
557 * public/WebFrameClient.h:
558 * public/WebGeolocationClientMock.h:
559 * public/WebGeolocationController.h:
560 * public/WebGeolocationError.h:
561 * public/WebGeolocationPermissionRequest.h:
562 * public/WebGeolocationPermissionRequestManager.h:
563 * public/WebGeolocationPosition.h:
564 * public/WebGlyphCache.h:
565 * public/WebHelperPlugin.h:
566 * public/WebHistoryItem.h:
567 * public/WebHitTestResult.h:
568 * public/WebIDBCallbacks.h:
569 * public/WebIDBCursor.h:
570 * public/WebIDBDatabase.h:
571 * public/WebIDBDatabaseCallbacks.h:
572 * public/WebIDBDatabaseError.h:
573 * public/WebIDBFactory.h:
574 * public/WebIDBIndex.h:
575 * public/WebIDBKey.h:
576 * public/WebIDBKeyPath.h:
577 * public/WebIDBKeyRange.h:
578 * public/WebIDBMetadata.h:
579 * public/WebIDBObjectStore.h:
580 * public/WebIDBTransaction.h:
581 * public/WebIDBTransactionCallbacks.h:
582 * public/WebIconURL.h:
583 * public/WebImageDecoder.h:
584 * public/WebInputEvent.h:
585 * public/WebIntent.h:
586 * public/WebIntentRequest.h:
587 * public/WebIntentServiceInfo.h:
588 * public/WebMediaPlayer.h:
589 * public/WebMediaStreamRegistry.h:
590 * public/WebMenuItemInfo.h:
591 * public/WebNetworkStateNotifier.h:
593 * public/WebNodeCollection.h:
594 * public/WebNodeList.h:
595 * public/WebNotification.h:
596 * public/WebNotificationPresenter.h:
597 * public/WebOptionElement.h:
598 * public/WebPageOverlay.h:
599 * public/WebPagePopup.h:
600 * public/WebPageSerializer.h:
601 * public/WebPasswordFormData.h:
602 * public/WebPerformance.h:
603 * public/WebPlugin.h:
604 * public/WebPluginContainer.h:
605 * public/WebPluginParams.h:
606 * public/WebPopupMenu.h:
607 * public/WebPopupMenuInfo.h:
608 * public/WebPrerendererClient.h:
609 * public/WebPrintParams.h:
611 * public/WebRegularExpression.h:
612 * public/WebRuntimeFeatures.h:
613 * public/WebScopedMicrotaskSuppression.h:
614 * public/WebScopedUserGesture.h:
615 * public/WebScriptController.h:
616 * public/WebScriptSource.h:
617 * public/WebSearchableFormData.h:
618 * public/WebSecurityOrigin.h:
619 * public/WebSecurityPolicy.h:
620 * public/WebSelectElement.h:
621 * public/WebSettings.h:
622 * public/WebSharedWorker.h:
623 * public/WebSharedWorkerRepository.h:
624 * public/WebSpeechGrammar.h:
625 * public/WebSpeechInputController.h:
626 * public/WebSpeechInputResult.h:
627 * public/WebSpeechRecognitionHandle.h:
628 * public/WebSpeechRecognitionParams.h:
629 * public/WebSpeechRecognitionResult.h:
630 * public/WebSpeechRecognizer.h:
631 * public/WebSpeechRecognizerClient.h:
632 * public/WebSpellCheckClient.h:
633 * public/WebStorageEventDispatcher.h:
634 * public/WebSurroundingText.h:
635 * public/WebTestingSupport.h:
636 * public/WebTextCheckingCompletion.h:
637 * public/WebTextCheckingResult.h:
638 * public/WebTextFieldDecoratorClient.h:
639 * public/WebTextInputInfo.h:
640 * public/WebTextRun.h:
641 * public/WebTimeRange.h:
642 * public/WebTouchPoint.h:
643 * public/WebUserMediaRequest.h:
645 * public/WebViewBenchmarkSupport.h:
646 * public/WebViewClient.h:
647 * public/WebWidget.h:
648 * public/WebWidgetClient.h:
649 * public/WebWindowFeatures.h:
650 * public/WebWorkerInfo.h:
652 2013-01-09 Stephen Chenney <schenney@chromium.org>
654 Adjust Skia build flags to WebKit skia gyp
656 Unreviewed change to enable easy layout test rebaselining.
660 2013-01-09 Mikhail Naganov <mnaganov@chromium.org>
662 [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
664 * tests/WebFrameTest.cpp:
666 2013-01-08 Mikhail Naganov <mnaganov@chromium.org>
668 [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
669 https://bugs.webkit.org/show_bug.cgi?id=106021
671 This is to emulate 'UseWideViewport' setting of Android WebView properly.
672 'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
673 When the value is false, "meta viewport" tag is ignored, and when calculating
674 layout width, display width in DIP pixels is used.
676 Reviewed by Adam Barth.
678 * src/ChromeClientImpl.cpp:
679 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
680 * src/WebViewImpl.cpp:
681 (WebKit::WebViewImpl::resize):
682 (WebKit::WebViewImpl::dipSize):
688 2013-01-08 Chris Rogers <crogers@google.com>
690 Remove unused/deprecated render() method in chromium WebKit API
691 https://bugs.webkit.org/show_bug.cgi?id=106399
693 Reviewed by Kent Tamura.
695 * src/AudioDestinationChromium.cpp:
696 * src/AudioDestinationChromium.h:
697 (AudioDestinationChromium):
699 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
701 Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
702 https://bugs.webkit.org/show_bug.cgi?id=106403
704 This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
707 Reviewed by Hajime Morita.
709 * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
710 * src/DragScrollTimer.cpp: Removed.
711 * src/DragScrollTimer.h: Removed.
713 2013-01-08 Keishi Hattori <keishi@webkit.org>
715 [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
716 https://bugs.webkit.org/show_bug.cgi?id=106312
718 Reviewed by Kent Tamura.
720 We had to removed the code that closed popups on mouse wheel events from
721 content::RenderWidgetHostViewMac because it no longer had access to
722 child popups. WebViewImpl will hide the popups on mouse wheel events so
723 we can maintain the same behavior.
725 https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
727 * src/WebViewImpl.cpp:
728 (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
732 2013-01-08 James Robinson <jamesr@chromium.org>
734 [chromium] Remove transitional #defines from WebKit API headers
735 https://bugs.webkit.org/show_bug.cgi?id=106381
737 Reviewed by Adam Barth.
739 * public/WebWidget.h:
741 2013-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
743 Unreviewed. Rolled DEPS.
747 2013-01-08 Tom Sepez <tsepez@chromium.org>
749 Copy-paste preserves <embed> tags containing active content.
750 https://bugs.webkit.org/show_bug.cgi?id=77625
752 Reviewed by Ryosuke Niwa.
754 Adds chromium API to new unsafePluginPastingEnabled setting.
756 * public/WebSettings.h:
757 * src/WebSettingsImpl.cpp:
758 (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
760 * src/WebSettingsImpl.h:
763 2013-01-08 Mark Lam <mark.lam@apple.com>
765 Removed the need for the ProposedDatabase mechanism.
766 https://bugs.webkit.org/show_bug.cgi?id=106292.
768 Reviewed by Sam Weinig.
770 * src/ChromeClientImpl.cpp:
771 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
772 * src/ChromeClientImpl.h:
775 2013-01-08 Keishi Hattori <keishi@webkit.org>
777 [Chromium] Don't confine page popups to root view on Mac
778 https://bugs.webkit.org/show_bug.cgi?id=106315
780 Reviewed by Kent Tamura.
782 Page popups on Mac no longer get clipped to the web view so we can
783 remove the code to confine to root view.
785 * src/ColorChooserPopupUIController.cpp:
786 (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
787 * src/DateTimeChooserImpl.cpp:
788 (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
790 2012-12-20 Antonio Gomes <a1.gomes@sisa.samsung.com>
792 Introduce a compositing trigger for scrollable frames
793 https://bugs.webkit.org/show_bug.cgi?id=105573
795 Reviewed by James Robinson.
797 Set the newly added scrollable-inner-frames bit to compositing-trigger
798 bitset in accordance to the respective setting value.
800 * src/ChromeClientImpl.cpp:
801 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
803 2013-01-08 Steve Block <steveblock@chromium.org>
805 Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
806 https://bugs.webkit.org/show_bug.cgi?id=106307
808 This matches other method names which distinguish between sizes and
809 points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
811 Reviewed by Kentaro Hara.
813 * src/NonCompositedContentHost.cpp:
814 (WebKit::NonCompositedContentHost::setViewport):
815 * src/WebFrameImpl.cpp:
816 (WebKit::WebFrameImpl::minimumScrollOffset):
817 (WebKit::WebFrameImpl::maximumScrollOffset):
819 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
821 Dragging over an element with scrollbars should scroll the element when dragging near edges
822 https://bugs.webkit.org/show_bug.cgi?id=39725
824 Reviewed by Hajime Morita.
826 This patch removes DragScrollTimer used for automatic scrolling of main
827 frame drag-and-drop which is now implemented in EventHandler.
829 Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
830 make patch size small.
832 No tests. Existing test covers this change.
834 * src/WebViewImpl.cpp:
835 (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
836 (WebKit::WebViewImpl::dragSourceEndedAt): ditto
837 (WebKit::WebViewImpl::dragSourceMovedTo): ditto
838 (WebKit::WebViewImpl::dragTargetDrop): ditto
839 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
841 (WebKit): Chagned to remove DragScrollTimer.
843 2013-01-07 Steve Block <steveblock@chromium.org>
845 Use toSize() to convert from Int/FloatPoint to Int/FloatSize
846 https://bugs.webkit.org/show_bug.cgi?id=105992
848 Reviewed by Kentaro Hara.
850 * src/LinkHighlight.cpp:
851 (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
852 * src/WebFrameImpl.cpp:
853 (WebKit::WebFrameImpl::minimumScrollOffset):
854 (WebKit::WebFrameImpl::maximumScrollOffset):
856 2013-01-07 Xianzhu Wang <wangxianzhu@chromium.org>
858 [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
859 https://bugs.webkit.org/show_bug.cgi?id=106262
861 Reviewed by James Robinson.
863 * public/WebSettings.h:
864 * src/WebSettingsImpl.cpp:
865 (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
867 * src/WebSettingsImpl.h:
870 2013-01-07 Stephen White <senorblanco@chromium.org>
872 Add a flag to control canvas antialiasing.
873 https://bugs.webkit.org/show_bug.cgi?id=106255
875 Reviewed by Darin Fisher.
877 * public/WebSettings.h:
878 * src/WebSettingsImpl.cpp:
879 (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
880 * src/WebSettingsImpl.h:
882 2013-01-07 Yusuf Ozuysal <yusufo@google.com>
884 Don't use double tap zoom if minimum and maximum page scale is the same
885 https://bugs.webkit.org/show_bug.cgi?id=106272
887 Reviewed by James Robinson.
889 We should only try to computed relevant scale and scrollOffset and start the animation
890 if the page is zoomable. This now creates an undesired animation for mobile pages which
893 * src/WebViewImpl.cpp:
894 (WebKit::WebViewImpl::handleGestureEvent):
896 2013-01-07 Tony Chang <tony@chromium.org>
898 Unreviewed. Rolled DEPS.
902 2013-01-07 Alok Priyadarshi <alokp@chromium.org>
904 [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
905 https://bugs.webkit.org/show_bug.cgi?id=104956
907 Reviewed by James Robinson.
909 Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
911 * src/NonCompositedContentHost.cpp:
912 (WebKit::NonCompositedContentHost::paintContents):
914 (WebKit::NonCompositedContentHost::setShowDebugBorders):
915 * src/PageWidgetDelegate.cpp:
916 (WebKit::PageWidgetDelegate::paint):
917 * src/WebFontImpl.cpp:
918 (WebKit::WebFontImpl::drawText):
920 2013-01-07 Mike West <mkwst@chromium.org>
922 Make the IFRAME_SEAMLESS flag runtime-enabled.
923 https://bugs.webkit.org/show_bug.cgi?id=106213
925 Reviewed by Ojan Vafai.
927 * public/WebRuntimeFeatures.h:
928 (WebRuntimeFeatures):
929 * src/WebRuntimeFeatures.cpp:
930 (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
932 (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
933 Expose the new runtime feature to the Chromium port.
935 2013-01-07 Alec Flett <alecflett@chromium.org>
937 IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
938 https://bugs.webkit.org/show_bug.cgi?id=106148
940 Reviewed by Adam Barth.
942 Stub out WebKit API for async createObjectStore.
944 * public/WebIDBDatabase.h:
946 * src/IDBDatabaseBackendProxy.cpp:
947 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
949 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
950 * src/IDBDatabaseBackendProxy.h:
951 (IDBDatabaseBackendProxy):
952 * src/WebIDBDatabaseImpl.cpp:
953 (WebKit::WebIDBDatabaseImpl::createObjectStore):
955 (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
956 * src/WebIDBDatabaseImpl.h:
957 (WebIDBDatabaseImpl):
959 2013-01-07 Stephen Chenney <schenney@chromium.org>
961 Add comment to WebKit skia gyp
963 Unreviewed additon of a comment.
965 * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
967 2013-01-07 Stephen Chenney <schenney@chromium.org>
969 Add Skia build flags to WebKit skia gyp
971 Unreviewed change to enable easy layout test rebaselining.
973 * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
975 2013-01-05 Alec Flett <alecflett@chromium.org>
977 IndexedDB: Migrate backend ObjectStore calls to use transaction id
978 https://bugs.webkit.org/show_bug.cgi?id=102741
980 Reviewed by Tony Chang.
982 Fix a bug where an array was initialized with a large empty buffer,
983 clean up whitespace, and update to match signatures that changed
986 * public/WebIDBDatabase.h:
987 (WebKit::WebIDBDatabase::clear):
988 * src/WebIDBDatabaseImpl.cpp:
989 (WebKit::WebIDBDatabaseImpl::put):
990 * src/WebIDBIndexImpl.cpp:
991 * tests/IDBDatabaseBackendTest.cpp:
993 2013-01-05 Alec Flett <alecflett@chromium.org>
995 IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
996 https://bugs.webkit.org/show_bug.cgi?id=106117
998 Reviewed by Adam Barth.
1000 Stubs for migration from WebIDBObjectStore.
1002 * public/WebIDBDatabase.h:
1003 (WebKit::WebIDBDatabase::createIndex):
1004 (WebKit::WebIDBDatabase::deleteIndex):
1006 * src/IDBDatabaseBackendProxy.cpp:
1007 (WebKit::IDBDatabaseBackendProxy::createIndex):
1009 (WebKit::IDBDatabaseBackendProxy::deleteIndex):
1010 * src/IDBDatabaseBackendProxy.h:
1011 (IDBDatabaseBackendProxy):
1012 * src/WebIDBDatabaseImpl.cpp:
1013 (WebKit::WebIDBDatabaseImpl::createIndex):
1015 (WebKit::WebIDBDatabaseImpl::deleteIndex):
1016 * src/WebIDBDatabaseImpl.h:
1017 (WebIDBDatabaseImpl):
1018 * tests/IDBDatabaseBackendTest.cpp:
1020 2013-01-05 Chris Hopman <cjhopman@google.com>
1022 Add function to move caret selection towards a point
1023 https://bugs.webkit.org/show_bug.cgi?id=105189
1025 Reviewed by Eric Seidel.
1027 This function moves the selection to the corresponding point in the
1028 rootEditableElement of the current selection. Used on Android for
1029 the behavior of insertion handles (i.e. dragging the caret around).
1031 * public/WebFrame.h:
1033 * src/WebFrameImpl.cpp:
1034 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
1036 * src/WebFrameImpl.h:
1039 2013-01-04 James Robinson <jamesr@chromium.org>
1041 [chromium] Remove WebWidget::layerTreeView(), ownership is the other way around
1042 https://bugs.webkit.org/show_bug.cgi?id=106139
1044 Reviewed by Adrienne Walker.
1046 This was added with the thought that it would be useful for transitioning code for a world where the
1047 WebLayerTreeView for a given widget was owned by the WebWidgetClient instead of the WebWidget, but as it turns
1048 out we've transitioned without every adding any callers to this.
1050 * public/WebWidget.h:
1052 * src/WebViewImpl.cpp:
1054 2013-01-04 Dana Jansens <danakj@chromium.org>
1056 [chromium] Remove lost-compositor-context layout tests
1057 https://bugs.webkit.org/show_bug.cgi?id=106089
1059 Reviewed by James Robinson.
1061 Remove the loseCompositorContext() test function.
1065 * src/WebViewImpl.cpp:
1066 * src/WebViewImpl.h:
1069 2013-01-04 Adam Klein <adamk@chromium.org>
1071 Remove ENABLE_MUTATION_OBSERVERS #define
1072 https://bugs.webkit.org/show_bug.cgi?id=105459
1074 Reviewed by Ryosuke Niwa.
1078 (WebKit::initialize):
1081 2013-01-04 Mark Pilgrim <pilgrim@chromium.org>
1083 [Chromium] Update some #includes to use headers in the new Platform directory
1084 https://bugs.webkit.org/show_bug.cgi?id=106092
1086 Reviewed by Kentaro Hara.
1088 Working towards getting rid of legacy header files in
1089 WebKit/chromium/public/ and WebKit/chromium/public/platform/
1091 * src/AsyncFileSystemChromium.cpp:
1092 * src/StorageAreaProxy.cpp:
1093 * src/StorageNamespaceProxy.cpp:
1094 * src/WebFileSystemCallbacksImpl.cpp:
1095 * src/WebGraphicsContext3D.cpp:
1096 * src/WebIDBCursorImpl.h:
1097 * src/WebIDBDatabaseCallbacksImpl.cpp:
1098 * src/WebIDBDatabaseCallbacksImpl.h:
1099 * src/WebIDBDatabaseError.cpp:
1100 * src/WebIDBDatabaseImpl.h:
1101 * src/WebIDBIndexImpl.h:
1102 * src/WebIDBKeyPath.cpp:
1103 * src/WebIDBMetadata.cpp:
1104 * src/WebIDBObjectStoreImpl.h:
1105 * src/WebWorkerClientImpl.cpp:
1106 * src/WebWorkerRunLoop.cpp:
1107 * src/WorkerFileSystemCallbacksBridge.cpp:
1108 * tests/AssociatedURLLoaderTest.cpp:
1109 * tests/FrameTestHelpers.cpp:
1110 * tests/PopupMenuTest.cpp:
1111 * tests/URLTestHelpers.cpp:
1112 * tests/WebFrameTest.cpp:
1113 * tests/WebPageNewSerializerTest.cpp:
1114 * tests/WebPageSerializerTest.cpp:
1115 * tests/WebURLRequestTest.cpp:
1116 * tests/WebURLResponseTest.cpp:
1117 * tests/WebUnitTests.h:
1118 * tests/WebViewTest.cpp:
1120 2013-01-04 Sheriff Bot <webkit.review.bot@gmail.com>
1122 Unreviewed. Rolled DEPS.
1126 2013-01-03 Sami Kyostila <skyostil@chromium.org>
1128 [chromium] Rename low latency rendering mode setting to vsync notification
1129 https://bugs.webkit.org/show_bug.cgi?id=106020
1131 Reviewed by James Robinson.
1133 Rename low latency rendering mode setting to vsync notification because
1134 the old name was ambiguous and bad. This setting is meant to control
1135 whether the renderer uses a vsync signal provided by the browser to
1138 2013-01-03 Mark Pilgrim <pilgrim@chromium.org>
1140 [Chromium] Remove all references to sharedWorkerRepository()
1141 https://bugs.webkit.org/show_bug.cgi?id=104704
1143 Reviewed by Adam Barth.
1145 Now that Chromium calls setSharedWorkerRepository upon
1146 initializing WebKit (
1147 https://codereview.chromium.org/10990121/ and
1148 https://codereview.chromium.org/11576028/ ) and no longer
1149 tries to override sharedWorkerRepository, it is safe to remove
1150 all references to this function.
1152 * public/platform/WebKitPlatformSupport.h:
1154 (WebKit::WebKitPlatformSupport::idbFactory):
1155 * src/SharedWorkerRepository.cpp:
1156 (WebKit::sharedWorkerRepository):
1157 (WebCore::SharedWorkerRepository::isAvailable):
1159 2013-01-03 Tommy Widenflycht <tommyw@google.com>
1161 MediaStream API: Add a missing state to RTCPeerConnection
1162 https://bugs.webkit.org/show_bug.cgi?id=106017
1164 Reviewed by Adam Barth.
1166 Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
1168 * src/AssertMatchingEnums.cpp:
1170 2013-01-03 Joshua Bell <jsbell@chromium.org>
1172 IndexedDB: Simplify IDBTransactionBackendImpl::scheduleTask usage
1173 https://bugs.webkit.org/show_bug.cgi?id=103536
1175 Reviewed by Tony Chang.
1177 Track whether IDBCallbacks has fired before being destructed. If not it probably
1178 came in after a transaction had asynchronously aborted; fire an abort error which
1179 will be ignored on the front-end but will clean up lingering IPC tracking.
1181 * public/WebIDBDatabaseException.h:
1182 * src/AssertMatchingEnums.cpp:
1183 * src/IDBCallbacksProxy.cpp:
1184 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1185 (WebKit::IDBCallbacksProxy::~IDBCallbacksProxy):
1186 (WebKit::IDBCallbacksProxy::onError):
1187 (WebKit::IDBCallbacksProxy::onSuccess):
1188 * src/IDBCallbacksProxy.h:
1189 (IDBCallbacksProxy):
1191 2013-01-02 Kenneth Russell <kbr@google.com>
1193 [chromium] Creation of dedicated workers (isolates) leaks reference to HTMLDocument
1194 https://bugs.webkit.org/show_bug.cgi?id=105367
1196 Reviewed by Dmitry Titov.
1198 Made WebWorkerClientImpl a subclass of WorkerMessagingProxy rather than an object wrapping
1199 WorkerMessagingProxy. WorkerMessagingProxy manages its own lifetime and it is impossible to
1200 properly synchronize the lifetime of WebWorkerClientImpl separately.
1202 This allowed most of WebWorkerClientImpl to be deleted, but forced a divergence in the class
1203 hierarchies of WebWorkerClientImpl and WebSharedWorkerImpl. Conversion methods were added to
1204 WorkerLoaderProxy and WebWorkerBase to bridge the hierarchies of in-process and
1205 out-of-process workers.
1207 * src/DatabaseObserver.cpp:
1208 (WebCore::DatabaseObserver::canEstablishDatabase):
1209 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1210 * src/IDBFactoryBackendProxy.cpp:
1211 (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1212 Adjusted how WorkerLoaderProxy's methods are called.
1213 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1214 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1215 * src/LocalFileSystemChromium.cpp:
1216 (WebCore::openFileSystemHelper):
1217 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1218 * src/WebSharedWorkerImpl.cpp:
1219 (WebKit::WebSharedWorkerImpl::toWebWorkerBase):
1220 Implemented new conversion method.
1221 * src/WebSharedWorkerImpl.h:
1222 (WebSharedWorkerImpl):
1223 Explicitly derive from WorkerLoaderProxy now that WebWorkerBase no longer does.
1224 (WebKit::WebSharedWorkerImpl::workerLoaderProxy):
1225 Added new conversion method.
1226 * src/WebWorkerBase.h:
1228 Removed derivation from WorkerLoaderProxy. Added method to convert to WorkerLoaderProxy.
1229 * src/WebWorkerClientImpl.cpp:
1232 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
1233 Adjusted whitespace.
1234 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1235 Eliminated delegation to separate object.
1236 (WebKit::WebWorkerClientImpl::toWebWorkerBase):
1237 Implemented new conversion method.
1238 (WebKit::WebWorkerClientImpl::view):
1239 (WebKit::WebWorkerClientImpl::allowDatabase):
1240 (WebKit::WebWorkerClientImpl::allowFileSystem):
1241 (WebKit::WebWorkerClientImpl::openFileSystem):
1242 (WebKit::WebWorkerClientImpl::allowIndexedDB):
1243 Eliminated delegation to separate object.
1244 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1245 * src/WebWorkerClientImpl.h:
1247 Changed to inherit from WorkerMessagingProxy directly.
1248 (WebWorkerClientImpl):
1249 Deleted most methods previously overridden from WorkerContextProxy, etc.
1250 * src/WorkerAsyncFileSystemChromium.cpp:
1251 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1252 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
1253 Hold on to, and use, WorkerLoaderProxy rather than WebWorkerBase.
1254 * src/WorkerAsyncFileSystemChromium.h:
1257 (WorkerAsyncFileSystemChromium):
1258 Hold on to WorkerLoaderProxy rather than WebWorkerBase.
1260 2013-01-02 James Robinson <jamesr@chromium.org>
1262 [chromium] Remove unused transitional #defines from WebKit Client API
1263 https://bugs.webkit.org/show_bug.cgi?id=105974
1265 Reviewed by Adam Barth.
1267 The transitions these #defines helped with have completed.
1269 * public/WebFileSystemCallbacks.h:
1272 * public/WebRuntimeFeatures.h:
1273 * public/WebSettings.h:
1274 * public/WebWidget.h:
1276 2013-01-02 Cris Neckar <cdn@chromium.org>
1278 Initialize WebInputEvent to prevent sending uninitialized bytes with IPC messages.
1279 https://bugs.webkit.org/show_bug.cgi?id=105934
1281 Reviewed by James Robinson.
1283 * public/WebInputEvent.h:
1284 (WebKit::WebInputEvent::WebInputEvent):
1286 2013-01-02 David Tseng <dtseng@google.com>
1288 AX: Chromium needs platform localized strings for media controls.
1289 https://bugs.webkit.org/show_bug.cgi?id=105940
1291 Reviewed by Tony Chang.
1293 * src/LocalizedStrings.cpp:
1294 (WebCore::localizedMediaControlElementString):
1296 (WebCore::localizedMediaControlElementHelpText):
1298 2013-01-02 Mark Pilgrim <pilgrim@chromium.org>
1300 [Chromium] Add Platform/chromium to include_dirs
1301 https://bugs.webkit.org/show_bug.cgi?id=105955
1303 Reviewed by James Robinson.
1305 Currently the headers in WebKit/chromium/public/Web*.h can not
1306 include headers from the new Platform/chromium/ directory with the
1307 "#include <public/WebFoo.h>" syntax, because the include_dirs for
1308 dependent builds (like Chromium-within-WebKit) do not include the
1309 new Platform/chromium/ directory. This patch adds that capability
1310 without managing to break anything else.
1314 2013-01-02 Alec Flett <alecflett@chromium.org>
1316 IndexedDB: Use non-const buffers in put() to avoid copies
1317 https://bugs.webkit.org/show_bug.cgi?id=105572
1319 Reviewed by Adam Barth.
1321 Pass on non-const Vectors to allow buffer adoption rather than copies.
1323 * public/WebIDBDatabase.h:
1325 (WebKit::WebIDBDatabase::put):
1326 * src/IDBDatabaseBackendProxy.cpp:
1327 (WebKit::IDBDatabaseBackendProxy::put):
1328 * src/IDBDatabaseBackendProxy.h:
1329 (IDBDatabaseBackendProxy):
1330 * src/WebIDBDatabaseImpl.cpp:
1331 (WebKit::WebIDBDatabaseImpl::put):
1332 * src/WebIDBDatabaseImpl.h:
1333 (WebIDBDatabaseImpl):
1334 * tests/IDBDatabaseBackendTest.cpp:
1336 2013-01-02 Robert Kroeger <rjkroege@chromium.org>
1338 [chromium] Use top level field for gesture event source
1339 https://bugs.webkit.org/show_bug.cgi?id=105664
1341 Reviewed by Adam Barth.
1343 Previously, only GestureFlingStart subtypes of WebGestureEvent
1344 had a deviceSource flag. A previous CL added a top-level
1345 deviceSource field for all WebGestureEvent. Now that this field
1346 is populated in Chromium, use it as necessary in the Chromium
1349 No new tests: covered by existing tests.
1351 * src/WebCompositorInputHandlerImpl.cpp:
1352 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1353 * src/WebViewImpl.cpp:
1354 (WebKit::WebViewImpl::handleGestureEvent):
1355 * tests/WebCompositorInputHandlerImplTest.cpp:
1358 2012-12-28 Fady Samuel <fsamuel@chromium.org>
1360 Roll Chromium DEPS to r174739
1361 https://bugs.webkit.org/show_bug.cgi?id=105813
1367 2012-12-26 Nico Weber <thakis@chromium.org>
1369 [chromium] Disable unprefixed css transitions until they're functional
1370 https://bugs.webkit.org/show_bug.cgi?id=105771
1372 Reviewed by Eric Seidel.
1374 Bug 105647 mentions that this is not fully implemented yet, and the
1375 partial support breaks feature detection in modernizr and friends.
1379 2012-12-26 Yury Semikhatsky <yurys@chromium.org>
1381 Web Inspector: extract JS heap profiler specifics into JSHeapSnapshot.js
1382 https://bugs.webkit.org/show_bug.cgi?id=105768
1384 Reviewed by Pavel Feldman.
1386 * WebKit.gyp: added new file to JS heap profiler.
1388 2012-12-21 Xianzhu Wang <wangxianzhu@chromium.org>
1390 [Chromium-Android] Use harfbuzz-ng instead of harfbuzz-old on Android
1391 https://bugs.webkit.org/show_bug.cgi?id=104410
1393 Reviewed by Eric Seidel.
1395 * features.gypi: Enable harfbuzz-ng on Android.
1397 2012-12-21 Joshua Bell <jsbell@chromium.org>
1399 IndexedDB: Combine openConnection and openConnectionWithVersion
1400 https://bugs.webkit.org/show_bug.cgi?id=105658
1402 Reviewed by Tony Chang.
1404 * tests/IDBDatabaseBackendTest.cpp:
1406 2012-12-20 Noel Gordon <noel.gordon@gmail.com>
1408 [chromium] Disable color profile support for WebImageSkia users
1409 https://bugs.webkit.org/show_bug.cgi?id=105493
1411 Reviewed by Eric Seidel.
1413 Disable color profiles to prevent null pointer dereference under some
1414 conditions. Tested by unittests at src.chromium.org.
1416 * src/WebImageSkia.cpp:
1417 (WebKit::WebImage::fromData):
1418 (WebKit::WebImage::framesFromData):
1420 2012-12-20 Nate Chapin <japhet@chromium.org>
1422 Rename shouldBufferData to dataBufferingPolicy
1423 https://bugs.webkit.org/show_bug.cgi?id=105450
1425 Reviewed by Alexey Proskuryakov.
1427 No new tests, simple rename.
1429 * src/AssociatedURLLoader.cpp:
1430 (WebKit::AssociatedURLLoader::loadAsynchronously):
1432 2012-12-20 Dominic Mazzoni <dmazzoni@google.com>
1434 AX: support clickPoint in DRT for chromium
1435 https://bugs.webkit.org/show_bug.cgi?id=97359
1437 Reviewed by Chris Fleizach.
1439 Exposes the clickPoint accessibility method in WebAccessibilityObject.
1441 * public/WebAccessibilityObject.h:
1442 (WebAccessibilityObject):
1443 * src/WebAccessibilityObject.cpp:
1444 (WebKit::WebAccessibilityObject::clickPoint):
1447 2012-12-19 Pavel Feldman <pfeldman@chromium.org>
1449 Web Inspector: introduce Page.captureScreenshot
1450 https://bugs.webkit.org/show_bug.cgi?id=105315
1452 Reviewed by Yury Semikhatsky.
1454 Introduces a way for browser to handle protocol commands:
1455 embedder will ask WebKit whether it should override the command
1456 result and will get a hint value. Based on that hint, browser
1457 will prepare the data and ask WebKit again to patch this data in.
1459 * public/WebDevToolsAgent.h:
1461 * src/InspectorClientImpl.cpp:
1462 (WebKit::InspectorClientImpl::captureScreenshot):
1464 * src/InspectorClientImpl.h:
1465 (InspectorClientImpl):
1466 * src/WebDevToolsAgentImpl.cpp:
1467 (BrowserDataHintStringValues):
1469 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1470 (WebKit::WebDevToolsAgentImpl::captureScreenshot):
1471 (WebKit::browserHintToString):
1472 (WebKit::browserHintFromString):
1473 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1474 (WebKit::WebDevToolsAgent::shouldPatchWithBrowserData):
1475 (WebKit::WebDevToolsAgent::patchWithBrowserData):
1476 * src/WebDevToolsAgentImpl.h:
1477 (WebDevToolsAgentImpl):
1479 2012-12-20 Sheriff Bot <webkit.review.bot@gmail.com>
1481 Unreviewed, rolling out r138215.
1482 http://trac.webkit.org/changeset/138215
1483 https://bugs.webkit.org/show_bug.cgi?id=105505
1485 it broke downstream compilation with clang (Requested by
1488 * public/platform/WebKitPlatformSupport.h:
1490 (WebKitPlatformSupport):
1491 (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
1492 * src/SharedWorkerRepository.cpp:
1493 (WebKit::sharedWorkerRepository):
1494 (WebCore::SharedWorkerRepository::isAvailable):
1496 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1498 [Chromium] Remove idbFactory from PlatformSupport
1499 https://bugs.webkit.org/show_bug.cgi?id=105460
1501 Reviewed by Darin Fisher.
1503 Part of a larger refactoring series; see tracking bug 82948.
1506 * src/IDBFactoryBackendInterface.cpp: Added.
1508 (WebCore::IDBFactoryBackendInterface::create):
1509 * src/PlatformSupport.cpp: Removed.
1511 2012-12-19 Antoine Labour <piman@chromium.org>
1513 [chromium] Remove old setBackingTextureId/setBackingIOSurfaceId API on WebPluginContainer
1514 https://bugs.webkit.org/show_bug.cgi?id=105472
1516 Reviewed by James Robinson.
1518 This is not called anymore by chromium (as of r173545), using
1519 setWebPlugin instead.
1521 * public/WebPluginContainer.h:
1522 * src/WebPluginContainerImpl.cpp:
1523 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
1524 * src/WebPluginContainerImpl.h:
1525 (WebPluginContainerImpl):
1527 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1529 [Chromium] add setIDBFactory method for embedders to call
1530 https://bugs.webkit.org/show_bug.cgi?id=105465
1532 Reviewed by Darin Fisher.
1534 This is step 1 of getting rid of WebKitPlatform::idbFactory. This
1535 adds a setter for embedders to call upon initialization, which (if
1536 set) will be used instead of calling the idbFactory()
1537 method. Eventually the idbFactory() method will go away, and this
1538 setter will be the only way to initialize the Indexed Database API.
1540 * public/WebIDBFactory.h:
1542 * src/IDBFactoryBackendProxy.cpp:
1544 (WebKit::setIDBFactory):
1545 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1547 2012-12-19 Rachel Blum <groby@chromium.org>
1549 [Chromium] Check Document now should work with continuous check off
1550 https://bugs.webkit.org/show_bug.cgi?id=105228
1552 Reviewed by Anders Carlsson.
1554 * src/EditorClientImpl.cpp:
1555 (WebKit::EditorClientImpl::checkSpellingOfString):
1557 2012-12-19 Rachel Blum <groby@chromium.org>
1559 [Chromium] Spellchecker should provide suggestions for non-caret selection, too
1560 https://bugs.webkit.org/show_bug.cgi?id=104841
1562 Reviewed by Anders Carlsson.
1564 Allow spelling suggestions for a word if the word is already selected. No suggestion
1565 if subset of a word or more than a word is selected.
1567 * src/ContextMenuClientImpl.cpp:
1568 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1570 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1572 [Chromium] Remove all references to sharedWorkerRepository()
1573 https://bugs.webkit.org/show_bug.cgi?id=104704
1575 Reviewed by Darin Fisher.
1577 Now that Chromium calls setSharedWorkerRepository upon
1578 initializing WebKit (
1579 https://codereview.chromium.org/10990121/ and
1580 https://codereview.chromium.org/11576028/ ) and no longer
1581 tries to override sharedWorkerRepository, it is safe to remove
1582 all references to this function.
1584 * public/platform/WebKitPlatformSupport.h:
1586 (WebKit::WebKitPlatformSupport::idbFactory):
1587 * src/SharedWorkerRepository.cpp:
1588 (WebKit::sharedWorkerRepository):
1589 (WebCore::SharedWorkerRepository::isAvailable):
1591 2012-12-19 Alexis Menard <alexis@webkit.org>
1593 Implement CSS parsing for CSS transitions unprefixed.
1594 https://bugs.webkit.org/show_bug.cgi?id=104804
1596 Reviewed by Dean Jackson.
1598 Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1599 to cover the work of unprefixing Transforms, Animations and
1600 Transitions. It will let the possibility of each ports to turn it off
1601 in their release branches until we're confident that these CSS
1602 properties are ready to be unprefixed.
1606 2012-12-19 Dominic Mazzoni <dmazzoni@google.com>
1608 Support titleUIElement in chromium DRT
1609 https://bugs.webkit.org/show_bug.cgi?id=96529
1611 Reviewed by Chris Fleizach.
1613 Fix implementation of titleUIElement - it shouldn't return anything
1614 if supportsTitleUIElement returns false, so that accessible label
1615 overriding logic works correctly.
1617 * src/WebAccessibilityObject.cpp:
1618 (WebKit::WebAccessibilityObject::titleUIElement):
1620 2012-12-19 Gavin Peters <gavinp@chromium.org>
1622 [chromium] WebCore::Prerender::didStartPrerender depends on LinkLoader
1623 https://bugs.webkit.org/show_bug.cgi?id=105290
1625 Reviewed by Abhishek Arya.
1627 The LinkLoader now removes itself from its prerender in time.
1629 * tests/PrerenderingTest.cpp:
1631 2012-12-18 Ilya Tikhonovsky <loislo@chromium.org>
1633 Unreviewed, rolling out r138061.
1634 https://bugs.webkit.org/show_bug.cgi?id=105396
1637 http://trac.webkit.org/changeset/138061
1638 https://bugs.webkit.org/show_bug.cgi?id=97359
1640 It is crashing on Debug bots
1642 * public/WebAccessibilityObject.h:
1643 (WebAccessibilityObject):
1644 * src/WebAccessibilityObject.cpp:
1646 2012-12-18 David Dorwin <ddorwin@chromium.org>
1648 [Chromium] Remove temporary backwards compatible interface code (from r137724).
1649 https://bugs.webkit.org/show_bug.cgi?id=105205
1651 Reviewed by James Robinson.
1653 * public/WebMediaPlayerClient.h:
1654 * src/WebMediaPlayerClientImpl.cpp:
1656 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1658 [chromium] pull in the CDM module recently added to media
1659 https://bugs.webkit.org/show_bug.cgi?id=105360
1661 Unreiviewed build fix, but sanity checked by ddorwin.
1665 2012-12-18 Dean Jackson <dino@apple.com>
1667 Unreviewed attempted build fix for Chromium.
1669 Insert stub methods for localized text track menu labels.
1671 * src/LocalizedStrings.cpp:
1673 (WebCore::textTrackClosedCaptionsText):
1674 (WebCore::textTrackSubtitlesText):
1675 (WebCore::textTrackOffText):
1676 (WebCore::textTrackNoLabelText):
1678 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1680 Pull in the opus codec sources.
1682 Unreviewed, build fix.
1686 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1688 Unreviewed, roll chromium deps to r173769
1692 2012-12-18 Dominic Mazzoni <dmazzoni@google.com>
1694 AX: support clickPoint in DRT for chromium
1695 https://bugs.webkit.org/show_bug.cgi?id=97359
1697 Reviewed by Chris Fleizach.
1699 Exposes the clickPoint accessibility method in WebAccessibilityObject.
1701 * public/WebAccessibilityObject.h:
1702 (WebAccessibilityObject):
1703 * src/WebAccessibilityObject.cpp:
1704 (WebKit::WebAccessibilityObject::clickPoint):
1707 2012-12-18 Wei Jia <wjia@chromium.org>
1709 Enable media stream on Android for Chromium
1710 https://bugs.webkit.org/show_bug.cgi?id=102545
1712 Reviewed by Eric Seidel.
1714 Put all webrtc related stuff under one flag "enable_webrtc" which is set to 1
1715 on Linux/Windows/Mac and 0 on Android.
1719 2012-12-18 Yaron Friedman <yfriedman@chromium.org>
1721 Chrome Android java output is too verbose
1722 https://bugs.webkit.org/show_bug.cgi?id=105247
1724 Reviewed by Tony Chang.
1726 Pass -quiet to ant to suppress extraneous output.
1728 * WebKitUnitTests.gyp:
1730 2012-12-17 Andrey Kosyakov <caseq@chromium.org>
1732 Web Inspector: paint inspector overlay on a transparency layer
1733 https://bugs.webkit.org/show_bug.cgi?id=97659
1735 Reviewed by Yury Semikhatsky.
1737 Add a call to PlatformContextSkia::setDrawingToImageBuffer(true) to
1738 fix wrong rendering of content on transparent background.
1740 * src/WebDevToolsAgentImpl.cpp:
1741 (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1743 2012-12-17 Alex Hutter <ahutter@chromium.org>
1745 Exposing querySelector function on WebNode
1746 https://bugs.webkit.org/show_bug.cgi?id=105193
1748 Reviewed by Darin Fisher.
1750 This change is necessitated by the new autofill flows in chromium.
1754 (WebKit::WebNode::querySelector):
1757 2012-12-17 Chris Fleizach <cfleizach@apple.com>
1759 Seamless iframe should not announce a new browsing context
1760 https://bugs.webkit.org/show_bug.cgi?id=86317
1762 Reviewed by Eric Seidel.
1764 * public/WebAccessibilityRole.h:
1765 * src/AssertMatchingEnums.cpp:
1767 2012-12-17 Levi Weintraub <leviw@chromium.org>
1769 Add support for tracking hit test rectangles to enable fast event rejection in the compositor
1770 https://bugs.webkit.org/show_bug.cgi?id=103914
1772 Reviewed by James Robinson.
1774 Enabling touch event target region tracking.
1777 * src/WebPluginContainerImpl.cpp:
1778 (WebKit::WebPluginContainerImpl::requestTouchEventType):
1779 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1781 2012-12-17 James Robinson <jamesr@chromium.org>
1783 [chromium] Move ownership of WebLayerTreeView to WebWidgetClient
1784 https://bugs.webkit.org/show_bug.cgi?id=105071
1786 Reviewed by Adrienne Walker.
1788 This moves ownership of a given WebWidget's WebLayerTreeView from WebViewImpl out to the embedder by way of
1789 WebWidgetClient. To deal with the two-sided nature of the patch, if construction by the new path fails
1790 WebViewImpl constructs a WebLayerTreeView by the old path, which means it keeps ownership.
1792 * public/WebWidgetClient.h:
1794 (WebKit::WebWidgetClient::initializeLayerTreeView):
1795 (WebKit::WebWidgetClient::layerTreeView):
1796 * src/WebViewImpl.cpp:
1797 (WebKit::WebViewImpl::WebViewImpl):
1798 (WebKit::WebViewImpl::~WebViewImpl):
1799 (WebKit::WebViewImpl::webLayerTreeView):
1800 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1801 * src/WebViewImpl.h:
1803 2012-12-17 Pavel Feldman <pfeldman@chromium.org>
1805 Web Inspector: [chromium] make toolbar render with Mountain Lion-friendly colors
1806 https://bugs.webkit.org/show_bug.cgi?id=105177
1808 Reviewed by Vsevolod Vlasov.
1810 * src/js/devTools.css:
1811 (body.dock-to-bottom #toolbar):
1812 (body.undocked.platform-mac-leopard #toolbar):
1813 (body.undocked.platform-mac-leopard.inactive #toolbar):
1814 (body.undocked.platform-mac-snowleopard #toolbar):
1815 (body.undocked.platform-mac-snowleopard.inactive #toolbar):
1816 (body.undocked.platform-mac-mountain-lion #toolbar):
1817 (body.undocked.platform-mac-mountain-lion.inactive #toolbar):
1819 2012-12-16 Levi Weintraub <leviw@chromium.org>
1821 Push pixel snapping logic into TransformState
1822 https://bugs.webkit.org/show_bug.cgi?id=101779
1824 Reviewed by Simon Fraser.
1826 Eliminating use of SnapOffsetForTransforms as it's no longer needed.
1828 * src/FindInPageCoordinates.cpp:
1829 (WebKit::toNormalizedRect):
1830 * src/LinkHighlight.cpp:
1831 (WebKit::convertTargetSpaceQuadToCompositedLayer):
1832 * src/WebInputEventConversion.cpp:
1833 (WebKit::convertAbsoluteLocationForRenderObject):
1834 * src/WebPluginContainerImpl.cpp:
1835 (WebKit::WebPluginContainerImpl::windowToLocalPoint):
1837 2012-05-21 Jochen Eisinger <jochen@chromium.org>
1839 [chromium] Build content_shell from within WebKit
1840 https://bugs.webkit.org/show_bug.cgi?id=87045
1842 Reviewed by Simon Fraser.
1847 2012-12-15 Anders Carlsson <andersca@apple.com>
1849 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
1850 https://bugs.webkit.org/show_bug.cgi?id=105122
1852 Reviewed by Andreas Kling.
1854 Update for WebCore changes.
1856 * src/FrameLoaderClientImpl.cpp:
1857 (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
1858 * src/FrameLoaderClientImpl.h:
1859 (FrameLoaderClientImpl):
1861 2012-12-15 Simon Fraser <simon.fraser@apple.com>
1863 Fix repaint issues when resizing a window with centered content, for platforms with a tile cache
1864 https://bugs.webkit.org/show_bug.cgi?id=105073
1866 Reviewed by Dan Bernstein.
1868 Include RenderLayerBacking.h, which is no longer included by RenderLayerCompositor.h.
1870 * tests/ScrollingCoordinatorChromiumTest.cpp:
1872 2012-12-14 Dan Alcantara <dfalcantara@chromium.org>
1874 WebViewImpl::resetScrollAndScaleState() causes the page to render incorrectly
1875 https://bugs.webkit.org/show_bug.cgi?id=104767
1877 Reviewed by Darin Fisher.
1879 Change WebViewImpl::resetScrollAndScaleState() so that it directly
1880 alters values in the HistoryItem instead of indirectly changing the
1883 Adds a method in HistoryController to clear the scroll and scale state of
1884 its current HistoryItem.
1888 * src/WebViewImpl.cpp:
1889 (WebKit::WebViewImpl::resetScrollAndScaleState):
1890 * tests/WebViewTest.cpp:
1892 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
1894 Unreviewed, rolling out r137765.
1895 http://trac.webkit.org/changeset/137765
1896 https://bugs.webkit.org/show_bug.cgi?id=105067
1898 Breaks webkit_unit_tests and transferred flings (Requested by
1899 jamesr_ on #webkit).
1901 * src/WebCompositorInputHandlerImpl.cpp:
1902 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1903 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1904 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1905 * src/WebCompositorInputHandlerImpl.h:
1906 (WebCompositorInputHandlerImpl):
1907 * src/WebViewImpl.cpp:
1908 (WebKit::WebViewImpl::handleGestureEvent):
1909 (WebKit::WebViewImpl::handleKeyEvent):
1910 (WebKit::WebViewImpl::updateAnimations):
1911 (WebKit::WebViewImpl::didCommitLoad):
1913 2012-12-14 Fady Samuel <fsamuel@chromium.org>
1915 Allow embedder to observe changes to frame names
1916 https://bugs.webkit.org/show_bug.cgi?id=104404
1918 Reviewed by Darin Fisher.
1920 * public/WebFrameClient.h:
1922 (WebKit::WebFrameClient::didChangeName):
1923 * src/FrameLoaderClientImpl.cpp:
1924 (WebKit::FrameLoaderClientImpl::didChangeName):
1926 * src/FrameLoaderClientImpl.h:
1927 (FrameLoaderClientImpl):
1929 2012-12-14 Joshua Bell <jsbell@chromium.org>
1931 [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
1932 https://bugs.webkit.org/show_bug.cgi?id=104615
1934 Reviewed by Tony Chang.
1936 Don't create (and leak) a new wrapper object for onSuccess if one was created for onUpgradeNeeded.
1938 * src/IDBCallbacksProxy.cpp:
1939 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1940 (WebKit::IDBCallbacksProxy::onSuccess):
1941 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1942 * src/IDBCallbacksProxy.h:
1943 (IDBCallbacksProxy):
1945 2012-12-14 Yusuf Ozuysal <yusufo@google.com>
1947 Send a message from WebViewImpl to the compositor to inform about end of flings
1948 https://bugs.webkit.org/show_bug.cgi?id=104947
1950 Reviewed by James Robinson.
1952 Whenever we have a fling animation finished on cancelled on main thread this sends
1953 a message that will be relayed to the compositor input handler. Then the input handler
1954 keeps track of main thread fling with a boolean and doesn't send flingCancels
1957 * src/WebCompositorInputHandlerImpl.cpp:
1958 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1959 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1960 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1961 (WebKit::WebCompositorInputHandlerImpl::mainThreadHasStoppedFlinging):
1963 * src/WebCompositorInputHandlerImpl.h:
1964 (WebCompositorInputHandlerImpl):
1965 * src/WebViewImpl.cpp:
1966 (WebKit::WebViewImpl::handleGestureEvent):
1967 (WebKit::WebViewImpl::handleKeyEvent):
1968 (WebKit::WebViewImpl::updateAnimations):
1969 (WebKit::WebViewImpl::didCommitLoad):
1971 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
1973 Unreviewed, rolling out r137570.
1974 http://trac.webkit.org/changeset/137570
1975 https://bugs.webkit.org/show_bug.cgi?id=105048
1977 Stale nodes in the touchEventTarget HashCountedSet are
1978 triggering crashes. Rolling out while I find the root cause.
1979 (Requested by leviw on #webkit).
1982 * src/WebPluginContainerImpl.cpp:
1983 (WebKit::WebPluginContainerImpl::requestTouchEventType):
1984 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1986 2012-12-14 Stephen White <senorblanco@chromium.org>
1988 Unreviewed. Rolled DEPS.
1992 2012-12-14 Stephen White <senorblanco@chromium.org>
1994 Unreviewed. Rolled DEPS.
1998 2012-12-14 David Dorwin <ddorwin@chromium.org>
2000 EME v0.1: Report defaultURL in KeyMessage.
2001 https://bugs.webkit.org/show_bug.cgi?id=104284
2003 Reviewed by Darin Fisher.
2005 Passes defaultURL down from the media engine to HTMLMediaElement.
2006 Only Valid URLs will be passed.
2008 No test because Clear Key does not provide a defaultURL (in v0.1).
2010 * public/WebMediaPlayerClient.h:
2011 * src/WebMediaPlayerClientImpl.cpp:
2012 (WebKit::WebMediaPlayerClientImpl::keyMessage):
2014 (WebKit::WebMediaPlayerClient::keyMessage):
2015 * src/WebMediaPlayerClientImpl.h:
2016 (WebMediaPlayerClientImpl):
2018 2012-12-13 Tien-Ren Chen <trchen@chromium.org>
2020 Don't consider container nodes of other disambiguated nodes
2021 https://bugs.webkit.org/show_bug.cgi?id=104619
2023 Reviewed by Eric Seidel.
2025 Added a test to track the new disambiguation popup heuristics.
2027 * tests/WebFrameTest.cpp:
2028 * tests/data/disambiguation_popup_no_container.html: Added.
2030 2012-12-13 James Robinson <jamesr@chromium.org>
2032 [chromium] Expose a WebLayerTreeView getter on WebWidget to make it easier for the embedder to interface with the compositor
2033 https://bugs.webkit.org/show_bug.cgi?id=104968
2035 Reviewed by Adrienne Walker.
2037 This is an intermediate step on the way to https://code.google.com/p/chromium/issues/detail?id=156175.
2039 * public/WebWidget.h:
2042 (WebKit::WebWidget::layerTreeView):
2043 * src/WebViewImpl.cpp:
2044 (WebKit::WebViewImpl::webLayerTreeView):
2046 * src/WebViewImpl.h:
2049 2012-12-13 Antoine Labour <piman@chromium.org>
2051 [chromium] Small fixes for WebPluginContainer::setWebLayer
2052 https://bugs.webkit.org/show_bug.cgi?id=104953
2054 Reviewed by James Robinson.
2056 * src/WebPluginContainerImpl.cpp:
2057 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): Allow
2058 WebPlugin to clean up dangling pointers.
2060 2012-12-13 Antoine Labour <piman@chromium.org>
2062 [chromium] Add WebPluginContainer::setWebLayer to supersede setBackingTextureId/setBackingIOSurfaceId
2063 https://bugs.webkit.org/show_bug.cgi?id=104875
2065 Reviewed by James Robinson.
2067 * public/WebPluginContainer.h:
2069 (WebPluginContainer):
2070 * src/WebPluginContainerImpl.cpp:
2071 (WebKit::WebPluginContainerImpl::setWebLayer):
2073 (WebKit::WebPluginContainerImpl::setBackingTextureId):
2074 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2075 (WebKit::WebPluginContainerImpl::commitBackingTexture):
2076 (WebKit::WebPluginContainerImpl::setOpaque):
2077 (WebKit::WebPluginContainerImpl::platformLayer):
2078 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2079 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2080 * src/WebPluginContainerImpl.h:
2081 (WebPluginContainerImpl):
2083 2012-12-13 Yusuf Ozuysal <yusufo@google.com>
2085 Check whether a touchDown lands on a registered touch event handler from the compositor
2086 https://bugs.webkit.org/show_bug.cgi?id=104863
2088 Reviewed by James Robinson.
2090 * src/WebCompositorInputHandlerImpl.cpp:
2091 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2093 2012-12-07 Levi Weintraub <leviw@chromium.org>
2095 Add support for tracking hit test rectangles to enable fast event rejection in the compositor
2096 https://bugs.webkit.org/show_bug.cgi?id=103914
2098 Reviewed by Simon Fraser.
2100 Enabling touch event target region tracking.
2103 * src/WebPluginContainerImpl.cpp:
2104 (WebKit::WebPluginContainerImpl::requestTouchEventType):
2105 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2107 2012-12-12 Andy Estes <aestes@apple.com>
2109 Fix the Chromium build after r137539.
2111 * src/ScrollbarGroup.cpp:
2112 (WebKit::ScrollbarGroup::lastKnownMousePosition): Renamed from currentMousePosition().
2113 * src/ScrollbarGroup.h: Ditto.
2115 2012-12-12 Sheriff Bot <webkit.review.bot@gmail.com>
2117 Unreviewed. Rolled DEPS.
2121 2012-12-12 Charlie Reis <creis@chromium.org>
2123 [chromium] Expose quickRedirectComing via WebDataSource
2124 https://bugs.webkit.org/show_bug.cgi?id=104586
2126 Reviewed by Nate Chapin.
2128 Exposes whether the current navigation is a client redirect, and
2129 thus should replace the current history item.
2131 * public/WebDataSource.h:
2132 (WebDataSource): Adds isClientRedirect.
2133 * src/WebDataSourceImpl.cpp:
2134 (WebKit::WebDataSourceImpl::isClientRedirect):
2136 * src/WebDataSourceImpl.h:
2137 (WebDataSourceImpl):
2139 2012-12-12 Mark Lam <mark.lam@apple.com>
2141 Encapsulate externally used webdatabase APIs in DatabaseManager.
2142 https://bugs.webkit.org/show_bug.cgi?id=104741.
2144 Reviewed by Sam Weinig.
2146 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2147 and DatabaseContext directly. This is to prepare for upcoming webkit2
2150 * src/ChromeClientImpl.cpp:
2151 * src/WebDatabase.cpp:
2152 (WebKit::WebDatabase::closeDatabaseImmediately):
2153 * src/WebRuntimeFeatures.cpp:
2154 (WebKit::WebRuntimeFeatures::enableDatabase):
2155 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2157 2012-12-12 Sheriff Bot <webkit.review.bot@gmail.com>
2159 Unreviewed, rolling out r137490.
2160 http://trac.webkit.org/changeset/137490
2161 https://bugs.webkit.org/show_bug.cgi?id=104838
2163 Breaks Chromium build due to references to
2164 WebSharedWorkerRepository (Requested by aklein on #webkit).
2166 * public/platform/WebKitPlatformSupport.h:
2168 (WebKitPlatformSupport):
2169 (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
2170 * src/SharedWorkerRepository.cpp:
2171 (WebKit::sharedWorkerRepository):
2172 (WebCore::SharedWorkerRepository::isAvailable):
2174 2012-12-12 Alpha Lam <hclam@chromium.org>
2176 [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator
2177 https://bugs.webkit.org/show_bug.cgi?id=103797
2179 Reviewed by Stephen White.
2181 Added unit tests for ThreadSafeDataTransport.
2183 Added unit tests for ImageFrameGenerator to test behavior with and without
2187 ThreadSafeDataTransportTest.hasNewData
2188 ThreadSafeDataTransportTest.setData
2189 ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeNoNewData
2192 * tests/ThreadSafeDataTransportTest.cpp: Added.
2196 2012-12-12 Mark Pilgrim <pilgrim@chromium.org>
2198 [Chromium] Remove all references to sharedWorkerRepository()
2199 https://bugs.webkit.org/show_bug.cgi?id=104704
2201 Reviewed by James Robinson.
2203 Now that Chromium calls setSharedWorkerRepository upon
2204 initializing WebKit (
2205 https://chromiumcodereview.appspot.com/10990121/ ) and no longer
2206 tries to override sharedWorkerRepository, it is safe to remove
2207 all references to this function.
2209 * public/platform/WebKitPlatformSupport.h:
2211 (WebKit::WebKitPlatformSupport::idbFactory):
2212 * src/SharedWorkerRepository.cpp:
2213 (WebKit::sharedWorkerRepository):
2214 (WebCore::SharedWorkerRepository::isAvailable):
2216 2012-12-12 Tommy Widenflycht <tommyw@google.com>
2218 MediaStream API: Change the data channel descriptor pattern to a handler pattern
2219 https://bugs.webkit.org/show_bug.cgi?id=104543
2221 Reviewed by Kent Tamura.
2223 * src/AssertMatchingEnums.cpp:
2225 2012-12-11 Dominic Mazzoni <dmazzoni@google.com>
2227 AX: Make isActionSupported cross-platform.
2228 https://bugs.webkit.org/show_bug.cgi?id=104681
2230 Reviewed by Chris Fleizach.
2232 Add support for press, increment, and decrement actions,
2233 including tests to see whether they're supported on a given
2234 object. This allows Chromium to pass three tests that were
2237 * public/WebAccessibilityObject.h:
2238 (WebAccessibilityObject):
2239 * src/WebAccessibilityObject.cpp:
2240 (WebKit::WebAccessibilityObject::canDecrement):
2242 (WebKit::WebAccessibilityObject::canIncrement):
2243 (WebKit::WebAccessibilityObject::canPress):
2244 (WebKit::WebAccessibilityObject::increment):
2245 (WebKit::WebAccessibilityObject::decrement):
2246 (WebKit::WebAccessibilityObject::press):
2248 2012-12-11 Sheriff Bot <webkit.review.bot@gmail.com>
2250 Unreviewed. Rolled DEPS.
2254 2012-12-11 Alec Flett <alecflett@chromium.org>
2256 IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
2257 https://bugs.webkit.org/show_bug.cgi?id=104592
2259 Reviewed by Dimitri Glazkov.
2261 Stub out chromium side of data operations for refactor.
2263 * public/WebIDBDatabase.h:
2265 (WebKit::WebIDBDatabase::get):
2266 (WebKit::WebIDBDatabase::put):
2267 (WebKit::WebIDBDatabase::setIndexKeys):
2268 (WebKit::WebIDBDatabase::setIndexesReady):
2269 (WebKit::WebIDBDatabase::openCursor):
2270 (WebKit::WebIDBDatabase::count):
2271 (WebKit::WebIDBDatabase::deleteRange):
2272 (WebKit::WebIDBDatabase::clear):
2274 * src/IDBDatabaseBackendProxy.cpp:
2275 (WebKit::IDBDatabaseBackendProxy::openCursor):
2277 (WebKit::IDBDatabaseBackendProxy::count):
2278 (WebKit::IDBDatabaseBackendProxy::get):
2279 (WebKit::IDBDatabaseBackendProxy::put):
2280 (WebKit::IDBDatabaseBackendProxy::setIndexKeys):
2281 (WebKit::IDBDatabaseBackendProxy::setIndexesReady):
2282 (WebKit::IDBDatabaseBackendProxy::deleteRange):
2283 (WebKit::IDBDatabaseBackendProxy::clear):
2284 * src/IDBDatabaseBackendProxy.h:
2285 (IDBDatabaseBackendProxy):
2286 * src/WebIDBDatabaseImpl.cpp:
2288 (WebKit::WebIDBDatabaseImpl::openCursor):
2289 (WebKit::WebIDBDatabaseImpl::count):
2290 (WebKit::WebIDBDatabaseImpl::get):
2291 (WebKit::WebIDBDatabaseImpl::put):
2292 (WebKit::WebIDBDatabaseImpl::setIndexKeys):
2293 (WebKit::WebIDBDatabaseImpl::setIndexesReady):
2294 (WebKit::WebIDBDatabaseImpl::deleteRange):
2295 (WebKit::WebIDBDatabaseImpl::clear):
2296 * src/WebIDBDatabaseImpl.h:
2297 (WebIDBDatabaseImpl):
2298 * tests/IDBDatabaseBackendTest.cpp:
2300 2012-12-11 Sheriff Bot <webkit.review.bot@gmail.com>
2302 Unreviewed, rolling out r137330.
2303 http://trac.webkit.org/changeset/137330
2304 https://bugs.webkit.org/show_bug.cgi?id=104719
2306 Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
2307 (Requested by aklein on #webkit).
2309 * src/WebIDBCallbacksImpl.cpp:
2310 (WebKit::WebIDBCallbacksImpl::onSuccess):
2312 2012-12-11 Joshua Bell <jsbell@chromium.org>
2314 [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
2315 https://bugs.webkit.org/show_bug.cgi?id=104615
2317 Reviewed by Tony Chang.
2319 Ensure passed pointer is treated with ownership semantics.
2321 * src/WebIDBCallbacksImpl.cpp:
2322 (WebKit::WebIDBCallbacksImpl::onSuccess):
2324 2012-12-11 Mark Pilgrim <pilgrim@chromium.org>
2326 [Chromium] Clean up unused interfaces in PlatformSupport
2327 https://bugs.webkit.org/show_bug.cgi?id=104674
2329 Reviewed by Darin Fisher.
2331 Part of a refactoring series. See tracking bug 82948.
2333 * public/platform/WebKitPlatformSupport.h:
2334 * src/PlatformSupport.cpp:
2336 2012-12-11 Mike West <mkwst@chromium.org>
2338 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2339 https://bugs.webkit.org/show_bug.cgi?id=66371
2341 Reviewed by Pavel Feldman.
2343 Drops WebCore::MessageType from the addMessageToConsole method, and all
2344 the ancilliary places it touches.
2346 Aliases postConsoleMessageToWorkerObject with the old interface in
2347 order to maintain back-compat. Will remove it in a future patch once
2348 Chromium is updated.
2350 * public/WebSharedWorkerClient.h:
2351 (WebSharedWorkerClient):
2352 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
2353 * src/ChromeClientImpl.cpp:
2354 * src/ChromeClientImpl.h:
2356 * src/WebFrameImpl.cpp:
2357 (WebKit::WebFrameImpl::addMessageToConsole):
2358 * src/WebPagePopupImpl.cpp:
2359 * src/WebSharedWorkerImpl.cpp:
2360 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
2361 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
2362 * src/WebSharedWorkerImpl.h:
2363 (WebSharedWorkerImpl):
2364 * src/WebWorkerClientImpl.cpp:
2365 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2366 * src/WebWorkerClientImpl.h:
2367 (WebWorkerClientImpl):
2369 2012-12-11 Mark Pilgrim <pilgrim@chromium.org>
2371 [Chromium] Call createLocalStorageNamespace through Platform.h
2372 https://bugs.webkit.org/show_bug.cgi?id=104675
2374 Reviewed by Kentaro Hara.
2376 Some #include cleanup missing from bug 85766. Part of a
2377 refactoring series; see tracking bug 82948.
2379 * src/StorageNamespaceProxy.cpp:
2380 (WebCore::StorageNamespace::localStorageNamespace):
2382 2012-12-11 Stephen White <senorblanco@chromium.org>
2384 Unreviewed. Rolled DEPS.
2388 2012-12-10 Dana Jansens <danakj@chromium.org>
2390 [chromium] Remove WebCompositorOutputSurface implementations from DRT
2391 https://bugs.webkit.org/show_bug.cgi?id=104046
2393 Reviewed by Darin Fisher.
2395 Use WebCompositorSupport to create an OutputSurface.
2398 * src/WebViewImpl.cpp:
2400 * tests/Canvas2DLayerBridgeTest.cpp:
2401 * tests/FakeWebCompositorOutputSurface.h: Removed.
2402 * tests/WebLayerTreeViewTestCommon.h:
2404 2012-12-10 Stephen White <senorblanco@chromium.org>
2406 [Chromium] Re-enable a failing test. Disabling it just seemed to
2407 move the problem to another test. Unreviewed.
2409 * tests/GraphicsLayerChromiumTest.cpp:
2411 2012-12-10 David Grogan <dgrogan@chromium.org>
2413 IndexedDB: Propagate more leveldb errors to script
2414 https://bugs.webkit.org/show_bug.cgi?id=104422
2416 Reviewed by Tony Chang.
2418 * tests/IDBFakeBackingStore.h:
2419 Delete method override that doesn't match new signature.
2421 2012-12-09 Antti Koivisto <antti@apple.com>
2423 Factor node traversal into standalone functions
2424 https://bugs.webkit.org/show_bug.cgi?id=104507
2426 Reviewed by Eric Seidel.
2428 * src/WebFrameImpl.cpp:
2429 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2431 2012-12-10 Mark Pilgrim <pilgrim@chromium.org>
2433 [Chromium][Win] Remove theme-related functions from PlatformSupport
2434 https://bugs.webkit.org/show_bug.cgi?id=102699
2436 Reviewed by Adam Barth.
2438 Call theme engine directly instead of going through
2439 PlatformSupport. Part of a refactoring series. See tracking bug 82948.
2441 * src/PlatformSupport.cpp:
2442 (WebCore::PlatformSupport::pluginScriptableObject):
2444 2012-12-10 Mark Pilgrim <pilgrim@chromium.org>
2446 [Chromium] Move getPluginsList out of PlatformSupport
2447 https://bugs.webkit.org/show_bug.cgi?id=96507
2449 Reviewed by Darin Fisher.
2451 Part of a refactoring series. See tracking bug 82948.
2454 * public/WebPluginListBuilder.h:
2455 * public/platform/WebKitPlatformSupport.h:
2457 (WebKit::WebKitPlatformSupport::idbFactory):
2458 * src/PlatformSupport.cpp:
2459 (WebCore::PlatformSupport::idbFactory):
2460 * src/WebPluginListBuilderImpl.cpp: Removed.
2461 * src/WebPluginListBuilderImpl.h: Removed.
2463 2012-12-10 Alexis Menard <alexis@webkit.org>
2465 [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
2466 https://bugs.webkit.org/show_bug.cgi?id=104539
2468 Reviewed by Antonio Gomes.
2470 As discussed on webkit-dev it is not needed to keep this feature flag
2471 as support for <position> type is a small feature that is already
2472 implemented by three other UAs. It was useful while landing this
2473 feature as partial bits were landed one after one.
2477 2012-12-10 Mike West <mkwst@chromium.org>
2479 [chromium] Add 'WebKit/chromium/win8' to .gitignore
2480 https://bugs.webkit.org/show_bug.cgi?id=104534
2482 Reviewed by Jochen Eisinger.
2484 I've now added it via 'git add' once, and via 'git commit -a' twice.
2485 Let's make that more difficult, shall we?
2489 2012-12-10 Kent Tamura <tkent@chromium.org>
2491 Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
2492 https://bugs.webkit.org/show_bug.cgi?id=104508
2494 Reviewed by Kentaro Hara.
2496 * src/WebViewImpl.cpp:
2497 (WebKit::WebViewImpl::textInputType):
2498 Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
2500 2012-12-09 Sheriff Bot <webkit.review.bot@gmail.com>
2502 Unreviewed, rolling out r137103.
2503 http://trac.webkit.org/changeset/137103
2504 https://bugs.webkit.org/show_bug.cgi?id=104503
2506 Didn't resolve the chrome win build bot failure, problem moved
2507 elsewhere. (Requested by noel_ on #webkit).
2509 * tests/GraphicsLayerChromiumTest.cpp:
2512 2012-12-09 Noel Gordon <noel.gordon@gmail.com>
2514 [chromium] webkit_unit_tests tests are failing on win
2515 https://bugs.webkit.org/show_bug.cgi?id=104502
2517 Unreviewed test fix: disable applyScrollToScrollableArea test.
2519 * tests/GraphicsLayerChromiumTest.cpp:
2522 2012-12-09 Stephen White <senorblanco@chromium.org>
2524 [Chromium] Unreviewed. Temporarily disable a webkit_unit_tests test
2525 that's failing on Windows.
2527 * tests/GraphicsLayerChromiumTest.cpp:
2530 2012-12-09 Stephen White <senorblanco@chromium.org>
2532 Unreviewed. Rolled DEPS.
2536 2012-12-08 Gavin Peters <gavinp@chromium.org>
2538 Add status events on <link rel=prerender> elements.
2539 https://bugs.webkit.org/show_bug.cgi?id=96474
2541 Reviewed by Adam Barth.
2543 The new PrerenderStatusEvent is sent to link elements when
2544 prerenders are started by the embedder, and also sent when they
2545 are stopped. Pages using this feature can now serialize launching
2546 prerenders, and track timing performance.
2550 * tests/FrameTestHelpers.cpp:
2551 (WebKit::FrameTestHelpers::createWebView):
2553 (WebKit::FrameTestHelpers::createWebViewAndLoad):
2554 * tests/FrameTestHelpers.h:
2556 * tests/PrerenderingTest.cpp: Added.
2557 * tests/data/prerender/multiple_prerenders.html: Added.
2558 * tests/data/prerender/single_prerender.html: Added.
2560 2012-12-07 Rik Cabanier <cabanier@adobe.com>
2562 Extend platform layer so it can pass blend modes to the compositing calls
2563 https://bugs.webkit.org/show_bug.cgi?id=104176
2565 Reviewed by Dirk Schulze.
2567 Adding blend mode enumeration to draw functions
2569 * tests/DragImageTest.cpp:
2570 (WebCore::TestImage::draw):
2571 * tests/ImageLayerChromiumTest.cpp:
2572 (WebCore::TestImage::draw):
2574 2012-12-07 Alpha Lam <hclam@chromium.org>
2576 [chromium] ImageDecodingStore should cache partially decoded images
2577 https://bugs.webkit.org/show_bug.cgi?id=103796
2579 Reviewed by Stephen White.
2581 Added unit tests to verify caching behavior for partially decoded images.
2583 - ImageDecodingStoreTest.insertIncompleteCache
2584 Insert incomplete image with a decoder into cache.
2586 - ImageDecodingStoreTest.insertCompleteCacheWithDecoder
2587 Insert complete image with a decoder, decoder is deleted.
2589 - ImageDecodingStoreTest.incompleteCacheBecomesComplete
2590 Progressive downloading of a file. Image becomes complete, decoder deleted.
2592 - ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeAndScale
2593 Cache lookup failed and start a decoding that decoded an incomplete image.
2595 ImageFrameGeneratorTest.incompleteDecodeBecomesComplete
2596 Image decoded as incomplete, file fully downloaded and cache entry becomes complete.
2598 ImageFrameGeneratorTest.incompleteDecodeAndScaleBecomesComplete
2599 Image decoded and scaled as incomplete, becomes complete after file is fully dowloaded.
2601 ImageFrameGeneratorTest.incompleteDecodeBecomesCompleteMultiThreaded
2602 Transition from incomplete to complete, entire lifecycle happens on 2 threads.
2604 * tests/DeferredImageDecoderTest.cpp:
2605 (WebCore::DeferredImageDecoderTest::SetUp):
2606 * tests/ImageDecodingStoreTest.cpp:
2607 (WebCore::ImageDecodingStoreTest::SetUp):
2608 (WebCore::ImageDecodingStoreTest::decoderBeingDestroyed):
2609 (ImageDecodingStoreTest):
2610 (WebCore::ImageDecodingStoreTest::frameBufferRequested):
2611 (WebCore::ImageDecodingStoreTest::frameStatus):
2612 (WebCore::ImageDecodingStoreTest::createIncompleteImage):
2613 (WebCore::ImageDecodingStoreTest::lockCache):
2616 * tests/ImageFrameGeneratorTest.cpp:
2617 (WebCore::ImageFrameGeneratorTest::SetUp):
2618 (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
2619 (ImageFrameGeneratorTest):
2620 (WebCore::MockImageDecoderFactory::create):
2623 (WebCore::decodeThreadMain):
2624 * tests/MockImageDecoder.h:
2625 (WebCore::MockImageDecoder::create):
2627 (WebCore::MockImageDecoder::setSize):
2628 (WebCore::MockImageDecoder::frameBufferAtIndex):
2630 2012-12-07 Sheriff Bot <webkit.review.bot@gmail.com>
2632 Unreviewed, rolling out r136993.
2633 http://trac.webkit.org/changeset/136993
2634 https://bugs.webkit.org/show_bug.cgi?id=104415
2636 This patch breaks the mac build (Requested by cabanier on
2639 * tests/DragImageTest.cpp:
2640 (WebCore::TestImage::draw):
2641 * tests/ImageLayerChromiumTest.cpp:
2642 (WebCore::TestImage::draw):
2644 2012-12-07 Rik Cabanier <cabanier@adobe.com>
2646 Extend platform layer so it can pass blend modes to the compositing calls
2647 https://bugs.webkit.org/show_bug.cgi?id=104176
2649 Reviewed by Dirk Schulze.
2651 Adding blend mode enumeration to draw functions
2653 * tests/DragImageTest.cpp:
2654 (WebCore::TestImage::draw):
2655 * tests/ImageLayerChromiumTest.cpp:
2656 (WebCore::TestImage::draw):
2658 2012-12-07 Alec Flett <alecflett@chromium.org>
2660 IndexedDB: propagate transaction_ids through open/upgradeneeded
2661 https://bugs.webkit.org/show_bug.cgi?id=103922
2663 Reviewed by Tony Chang.
2665 Update test to account for pre-generated transaction ids.
2667 * tests/IDBDatabaseBackendTest.cpp:
2669 2012-12-07 Scott Violet <sky@chromium.org>
2671 [chromium] Remove linux theme related files and switch to default
2672 https://bugs.webkit.org/show_bug.cgi?id=103897
2674 Reviewed by Dimitri Glazkov.
2676 Linux theme related files are now named Default.
2679 * public/linux/WebRenderTheme.h: Removed.
2680 * public/platform/linux/WebThemeEngine.h: Removed.
2681 * src/WebViewImpl.cpp:
2682 (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
2683 (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
2684 * src/linux/WebRenderTheme.cpp: Removed.
2686 2012-12-07 Stephen White <senorblanco@chromium.org>
2688 Unreviewed. Rolled DEPS.
2692 2012-12-07 Alexis Menard <alexis@webkit.org>
2694 [Chromium] Enable CSS3 background-position offset by default.
2695 https://bugs.webkit.org/show_bug.cgi?id=104253
2697 Reviewed by Tony Chang.
2699 Turn on the feature by default.
2703 2012-12-07 Mark Pilgrim <pilgrim@chromium.org>
2705 [Chromium] Move WorkerContextProxy::create out of PlatformSupport
2706 https://bugs.webkit.org/show_bug.cgi?id=104151
2708 Reviewed by Kentaro Hara.
2710 Doesn't really solve the layering violation as much as kick it
2711 down the road a bit. Part of a refactoring series; see tracking
2715 * src/PlatformSupport.cpp:
2717 * src/WorkerContextProxy.cpp: Added.
2719 (WebCore::WebCore::WorkerContextProxy::create):
2721 2012-12-07 Ilya Tikhonovsky <loislo@chromium.org>
2723 Unreviewed roll crhomium to r171707.
2727 2012-12-07 Kent Tamura <tkent@chromium.org>
2729 REGRESSION(r136631): Fix null pointer dereference in WebPagePopupImpl::paint
2730 https://bugs.webkit.org/show_bug.cgi?id=104350
2732 Reviewed by Hajime Morita.
2734 We changed WebPagePopupImpl so that it deleted m_page in
2735 closePopup. However, paint function is still called.
2737 * src/WebPagePopupImpl.cpp:
2738 (WebKit::WebPagePopupImpl::paint): Block by m_closing.
2740 2012-12-06 Kent Tamura <tkent@chromium.org>
2742 Refactoring: Clean up placeholder attribute usage
2743 https://bugs.webkit.org/show_bug.cgi?id=104337
2745 Reviewed by Kentaro Hara.
2747 * src/WebInputElement.cpp:
2748 (WebKit::WebInputElement::setPlaceholder):
2750 (WebKit::WebInputElement::placeholder):
2751 Use fastGetAttribute.
2753 2012-12-06 Sami Kyostila <skyostil@chromium.org>
2755 [chromium] Introduce setting for low latency rendering
2756 https://bugs.webkit.org/show_bug.cgi?id=104011
2758 Reviewed by James Robinson.
2760 This low latency rendering setting will be used to enable alternate
2761 render signaling and scheduling to reduce latency.
2763 * public/WebSettings.h:
2764 * src/WebSettingsImpl.cpp:
2765 (WebKit::WebSettingsImpl::WebSettingsImpl):
2766 (WebKit::WebSettingsImpl::setLowLatencyRenderingEnabled):
2768 * src/WebSettingsImpl.h:
2770 (WebKit::WebSettingsImpl::lowLatencyRenderingEnabled):
2771 * src/WebViewImpl.cpp:
2772 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2774 2012-12-06 Kent Tamura <tkent@chromium.org>
2776 [Chromium] Rename some init* functions to initialize*
2777 https://bugs.webkit.org/show_bug.cgi?id=104335
2779 Reviewed by Kentaro Hara.
2781 We should use full words.
2782 http://www.webkit.org/coding/coding-style.html#names-full-words
2784 * src/WebHelperPluginImpl.cpp:
2785 (WebKit::WebHelperPluginImpl::initialize): Renamed from init.
2786 (WebKit::WebHelperPluginImpl::initializePage): Renamed from initPage.
2787 * src/WebHelperPluginImpl.h:
2788 (WebHelperPluginImpl):
2789 * src/WebPagePopupImpl.cpp:
2790 (WebKit::WebPagePopupImpl::initialize): Renamed from init.
2791 (WebKit::WebPagePopupImpl::initializePage): Renamed from initPage.
2792 * src/WebPagePopupImpl.h:
2794 * src/WebPopupMenuImpl.cpp:
2795 (WebKit::WebPopupMenuImpl::initialize): Renamed from init.
2796 * src/WebPopupMenuImpl.h:
2798 * src/WebViewImpl.cpp:
2799 (WebKit::WebViewImpl::openPagePopup): Follow the renamings.
2800 (WebKit::WebViewImpl::createHelperPlugin): Ditto.
2801 * src/ChromeClientImpl.cpp:
2802 (WebKit::ChromeClientImpl::popupOpened): Ditto.
2804 2012-12-06 Rick Byers <rbyers@chromium.org>
2806 CSS cursor property should support webkit-image-set
2807 https://bugs.webkit.org/show_bug.cgi?id=99493
2809 Reviewed by Beth Dakin.
2811 Add ENABLE_MOUSE_CURSOR_SCALE and enable it on the chromium port.
2812 Plumb cursor image scale factor through to chromium API.
2815 * public/WebCursorInfo.h:
2816 * src/WebCursorInfo.cpp:
2817 (WebKit::WebCursorInfo::WebCursorInfo):
2819 2012-12-06 James Simonsen <simonjam@chromium.org>
2821 [Chromium] Enable Resource Timing and User Timing
2822 https://bugs.webkit.org/show_bug.cgi?id=103788
2824 Reviewed by Tony Gentilcore.
2828 2012-12-06 Jochen Eisinger <jochen@chromium.org>
2830 [chromium] when forwarding events through the WebPluginContainer, create a UserGestureIndicator if processing a user gesture
2831 https://bugs.webkit.org/show_bug.cgi?id=104306
2833 Reviewed by Dimitri Glazkov.
2835 In http://trac.webkit.org/changeset/65964 a UserGestureIndicator was
2836 introduced in chromium's WebKit layer intended to fix a problem with
2837 plugins, however, it also affected regular event handling, so I removed
2838 it in http://trac.webkit.org/changeset/128273. Turns out it still is a
2839 problem for plugins. This change adds the UserGestureIndicator back,
2840 however, only for the WebPluginContainer.
2842 * public/WebInputEvent.h:
2844 (WebKit::WebInputEvent::isUserGestureEventType):
2845 * src/WebPluginContainerImpl.cpp:
2846 (WebKit::WebPluginContainerImpl::handleEvent):
2848 2012-12-06 David Grogan <dgrogan@chromium.org>
2850 IndexedDB: Abort transactions because of leveldb errors part 4
2851 https://bugs.webkit.org/show_bug.cgi?id=103964
2853 Reviewed by Tony Chang.
2855 * tests/IDBFakeBackingStore.h:
2856 Update one overridden method signature, delete another.
2858 2012-12-06 Tony Chang <tony@chromium.org>
2860 REGRESSION(r135082): Restore the ability to insert author level style sheets from script
2861 https://bugs.webkit.org/show_bug.cgi?id=104042
2863 Reviewed by Antti Koivisto.
2865 * src/WebDocument.cpp:
2866 (WebKit::WebDocument::insertUserStyleSheet): Use addAuthorSheet if an author level script is requested.
2868 2012-12-06 Sadrul Habib Chowdhury <sadrul@chromium.org>
2870 [chromium] Add some null-checks for the touch-lists in TouchEvent
2871 https://bugs.webkit.org/show_bug.cgi?id=104098
2873 Reviewed by Adam Barth.
2875 It is possible for the touch-lists to be NULL in a TouchEvent. V8TouchEvent checks for NULL
2876 touches(), targetTouches() and changedTouches(). So do the same for WebMouseEventBuilder.
2878 * src/WebInputEventConversion.cpp:
2879 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2880 * tests/WebInputEventConversionTest.cpp:
2882 2012-12-06 Xianzhu Wang <wangxianzhu@chromium.org>
2884 [Chromium] Expose acceleratedCompositingForScrollableFramesEnabled in WebKit API
2885 https://bugs.webkit.org/show_bug.cgi?id=104272
2887 We may need the API to enable compositing scrollable frames in Chromium.
2889 Reviewed by Darin Fisher.
2891 * public/WebSettings.h:
2892 * src/WebSettingsImpl.cpp:
2893 (WebKit::WebSettingsImpl::setAcceleratedCompositingForScrollableFramesEnabled):
2895 * src/WebSettingsImpl.h:
2898 2012-12-06 W. James MacLean <wjmaclean@chromium.org>
2900 [chromium] Should apply link highlight to largest enclosing node with a handCursor.
2901 https://bugs.webkit.org/show_bug.cgi?id=104264
2903 Reviewed by Adrienne Walker.
2905 Link highlights sometimes only apply to part of a link, if we select an enclosed
2906 node (e.g. font changes in link text). The highlight should be applied to the
2907 largest enclosing node that still has handCursor set.
2909 * src/WebViewImpl.cpp:
2910 (WebKit::WebViewImpl::bestTouchLinkNode):
2912 2012-12-06 Tommy Widenflycht <tommyw@google.com>
2914 Speech Recognition API: Change the error code to a string on SpeechRecognitionError
2915 https://bugs.webkit.org/show_bug.cgi?id=104254
2917 Reviewed by Adam Barth.
2919 Minor WebCore type changes.
2921 * src/AssertMatchingEnums.cpp:
2922 * src/SpeechRecognitionClientProxy.cpp:
2923 (WebKit::SpeechRecognitionClientProxy::didReceiveError):
2925 2012-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
2927 Unreviewed, rolling out r136784 and r136802.
2928 http://trac.webkit.org/changeset/136784
2929 http://trac.webkit.org/changeset/136802
2930 https://bugs.webkit.org/show_bug.cgi?id=104231
2932 breaks chromium canary (Requested by morrita on #webkit).
2935 * public/linux/WebRenderTheme.h: Added.
2937 * public/platform/linux/WebThemeEngine.h: Added.
2938 * src/WebViewImpl.cpp:
2939 (WebKit::WebViewImpl::setScrollbarColors):
2940 (WebKit::WebViewImpl::setSelectionColors):
2941 * src/linux/WebRenderTheme.cpp: Added.
2943 (WebKit::setCaretBlinkInterval):
2945 2012-12-05 Takashi Sakamoto <tasak@google.com>
2947 Add win8/* to Chromium DEPS (r171376)
2948 https://bugs.webkit.org/show_bug.cgi?id=104228
2950 Reviewed by Hajime Morita.
2952 Since updated chromium DEPS to r171376, now printing/printing.gyp
2953 requires win8/* for windows build.
2957 2012-12-05 Takashi Sakamoto <tasak@google.com>
2959 Unreviewed, WebKit gardening.
2962 Removed public/linux/WebRenderTheme.h. The file was removed.
2964 2012-12-05 Sheriff Bot <webkit.review.bot@gmail.com>
2966 Unreviewed. Rolled DEPS.
2970 2012-12-05 Greg Billock <gbillock@google.com>
2972 Add runtime enable for web intents.
2973 https://bugs.webkit.org/show_bug.cgi?id=103669
2975 Reviewed by Adam Barth.
2977 Propagate runtime setting to enable/disable web intents Javascript API.
2979 * public/WebRuntimeFeatures.h:
2980 (WebRuntimeFeatures):
2981 * src/WebRuntimeFeatures.cpp:
2982 (WebKit::WebRuntimeFeatures::enableWebIntents):
2984 (WebKit::WebRuntimeFeatures::isWebIntentsEnabled):
2986 2012-12-05 Scott Violet <sky@chromium.org>
2988 [chromium] Remove linux theme related files and switch to default
2989 https://bugs.webkit.org/show_bug.cgi?id=103897
2991 Reviewed by Tony Chang.
2993 Linux theme related files are now named Default.
2996 * public/linux/WebRenderTheme.h: Removed.
2997 * public/platform/linux/WebThemeEngine.h: Removed.
2998 * src/WebViewImpl.cpp:
2999 (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
3000 (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
3001 * src/linux/WebRenderTheme.cpp: Removed.
3003 2012-12-05 Joshua Bell <jsbell@chromium.org>
3005 IndexedDB: Allow multiple transactions to interleave request execution
3006 https://bugs.webkit.org/show_bug.cgi?id=97570
3008 Reviewed by Tony Chang.
3010 Map to IDBTransaction::Mode enum as appropriate.
3012 * src/IDBDatabaseBackendProxy.cpp:
3013 (WebKit::IDBDatabaseBackendProxy::createTransaction):
3014 * src/IDBDatabaseBackendProxy.h:
3015 (IDBDatabaseBackendProxy):
3016 * src/WebIDBDatabaseImpl.cpp:
3017 (WebKit::WebIDBDatabaseImpl::createTransaction):
3018 * tests/IDBDatabaseBackendTest.cpp:
3020 2012-12-05 Eberhard Graether <egraether@google.com>
3022 [chromium] Remove WebLayerTreeView API to set font atlas
3023 https://bugs.webkit.org/show_bug.cgi?id=102960
3025 Reviewed by James Robinson.
3027 Removes old font atlas creation from WebViewImpl.
3029 * src/WebViewImpl.cpp:
3030 (WebKit::WebViewImpl::WebViewImpl):
3031 (WebKit::WebViewImpl::setShowFPSCounter):
3032 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3034 * src/WebViewImpl.h:
3036 2012-12-05 Stephen White <senorblanco@chromium.org>
3038 Unreviewed, rolling out r136735.
3039 http://trac.webkit.org/changeset/136735
3040 https://bugs.webkit.org/show_bug.cgi?id=102699
3042 Broke Chrome/Win build.
3044 * src/PlatformSupport.cpp:
3046 (WebCore::PlatformSupport::paintButton):
3047 (WebCore::PlatformSupport::paintMenuList):
3048 (WebCore::PlatformSupport::paintScrollbarArrow):
3049 (WebCore::PlatformSupport::paintScrollbarThumb):
3050 (WebCore::PlatformSupport::paintScrollbarTrack):
3051 (WebCore::PlatformSupport::paintSpinButton):
3052 (WebCore::PlatformSupport::paintTextField):
3053 (WebCore::PlatformSupport::paintTrackbar):
3054 (WebCore::PlatformSupport::paintProgressBar):
3056 2012-12-05 Stephen White <senorblanco@chromium.org>
3058 Unreviewed, rolling out r136741.
3059 http://trac.webkit.org/changeset/136741
3060 https://bugs.webkit.org/show_bug.cgi?id=104151
3062 Broke Chrome/Win build.
3065 * src/PlatformSupport.cpp:
3067 (WebCore::WorkerContextProxy::create):
3068 * src/WorkerContextProxy.cpp: Removed.
3070 2012-12-05 Mark Pilgrim <pilgrim@chromium.org>
3072 [Chromium] Move WorkerContextProxy::create out of PlatformSupport
3073 https://bugs.webkit.org/show_bug.cgi?id=104151
3075 Reviewed by Adam Barth.
3077 Doesn't really solve the layering violation as much as kick it
3078 down the road a bit. Part of a refactoring series; see tracking
3082 * src/PlatformSupport.cpp:
3084 * src/WorkerContextProxy.cpp: Added.
3086 (WebCore::WebCore::WorkerContextProxy::create):
3088 2012-12-05 Mark Pilgrim <pilgrim@chromium.org>
3090 [Chromium][Win] Remove theme-related functions from PlatformSupport
3091 https://bugs.webkit.org/show_bug.cgi?id=102699
3093 Reviewed by Adam Barth.
3095 Call theme engine directly instead of going through
3096 PlatformSupport. Part of a refactoring series. See tracking bug 82948.
3098 * src/PlatformSupport.cpp:
3099 (WebCore::PlatformSupport::pluginScriptableObject):
3101 2012-12-05 Stephen White <senorblanco@chromium.org>
3103 Unreviewed, rolling out r136609.
3104 http://trac.webkit.org/changeset/136609
3105 https://bugs.webkit.org/show_bug.cgi?id=103793
3107 Breaking Chrome/Mac Debug builds.
3111 2012-12-05 Alec Flett <alecflett@chromium.org>
3113 IndexedDB: Stub out transaction-backend methods
3114 https://bugs.webkit.org/show_bug.cgi?id=103921
3116 Reviewed by Dimitri Glazkov.
3118 Add new signatures for refactoring, to allow
3119 transaction_ids to make is through the open/onUpgradeNeeded
3122 * public/WebIDBCallbacks.h:
3123 (WebKit::WebIDBCallbacks::onUpgradeNeeded):
3124 * public/WebIDBDatabase.h:
3125 (WebKit::WebIDBDatabase::createTransaction):
3126 (WebKit::WebIDBDatabase::abort):
3127 (WebKit::WebIDBDatabase::commit):
3129 * public/WebIDBDatabaseCallbacks.h:
3130 (WebIDBDatabaseCallbacks):
3131 (WebKit::WebIDBDatabaseCallbacks::onAbort):
3132 (WebKit::WebIDBDatabaseCallbacks::onComplete):
3133 * public/WebIDBFactory.h:
3134 (WebKit::WebIDBFactory::open):
3135 * src/IDBCallbacksProxy.cpp:
3136 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
3138 * src/IDBCallbacksProxy.h:
3139 (IDBCallbacksProxy):
3140 * src/IDBDatabaseBackendProxy.cpp:
3141 (WebKit::IDBDatabaseBackendProxy::createTransaction):
3143 (WebKit::IDBDatabaseBackendProxy::commit):
3144 (WebKit::IDBDatabaseBackendProxy::abort):
3145 * src/IDBDatabaseBackendProxy.h:
3146 (IDBDatabaseBackendProxy):
3147 * src/IDBDatabaseCallbacksProxy.cpp:
3148 (WebKit::IDBDatabaseCallbacksProxy::onAbort):
3150 (WebKit::IDBDatabaseCallbacksProxy::onComplete):
3151 * src/IDBDatabaseCallbacksProxy.h:
3152 (IDBDatabaseCallbacksProxy):
3153 * src/IDBFactoryBackendProxy.cpp:
3154 (WebKit::IDBFactoryBackendProxy::open):
3156 * src/IDBFactoryBackendProxy.h:
3157 (IDBFactoryBackendProxy):
3158 * src/WebIDBCallbacksImpl.cpp:
3159 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3161 * src/WebIDBCallbacksImpl.h:
3162 (WebIDBCallbacksImpl):
3163 * src/WebIDBDatabaseCallbacksImpl.cpp:
3164 (WebKit::WebIDBDatabaseCallbacksImpl::onAbort):
3166 (WebKit::WebIDBDatabaseCallbacksImpl::onComplete):
3167 * src/WebIDBDatabaseCallbacksImpl.h:
3168 (WebIDBDatabaseCallbacksImpl):
3169 * src/WebIDBDatabaseImpl.cpp:
3170 (WebKit::WebIDBDatabaseImpl::createTransaction):
3172 (WebKit::WebIDBDatabaseImpl::abort):
3173 (WebKit::WebIDBDatabaseImpl::commit):
3174 * src/WebIDBDatabaseImpl.h:
3175 (WebIDBDatabaseImpl):
3176 * src/WebIDBFactoryImpl.cpp:
3177 (WebKit::WebIDBFactoryImpl::open):
3179 * src/WebIDBFactoryImpl.h:
3180 (WebIDBFactoryImpl):
3181 * tests/IDBAbortOnCorruptTest.cpp:
3182 * tests/IDBDatabaseBackendTest.cpp:
3184 2012-11-27 Alec Flett <alecflett@chromium.org>
3186 IndexedDB: remove IDBDatabaseBackendInterface::transaction()
3187 https://bugs.webkit.org/show_bug.cgi?id=102733
3189 Reviewed by Darin Fisher.
3191 Part 3 of a refactor - just remove the proxy code for the now
3192 defunct transaction method.
3194 * public/WebIDBDatabase.h:
3195 * src/IDBDatabaseBackendProxy.cpp:
3196 * src/IDBDatabaseBackendProxy.h:
3197 (IDBDatabaseBackendProxy):
3198 * src/WebIDBDatabaseImpl.cpp:
3199 * src/WebIDBDatabaseImpl.h:
3200 (WebIDBDatabaseImpl):
3201 * tests/IDBDatabaseBackendTest.cpp:
3203 2012-12-05 Joshua Bell <jsbell@chromium.org>
3205 IndexedDB: Replace use of ScriptExecutionContext::Task (Part 2)
3206 https://bugs.webkit.org/show_bug.cgi?id=103931
3208 Reviewed by Tony Chang.
3210 Now that IDBCallbacks uses real RefPtr<> a mock class needs to be heap allocated.
3212 * tests/IDBAbortOnCorruptTest.cpp:
3213 (WebCore::MockIDBCallbacks::create):
3214 (WebCore::MockIDBCallbacks::MockIDBCallbacks):
3218 2012-12-05 Stephen White <senorblanco@chromium.org>
3220 Unreviewed. Rolled DEPS.
3224 2012-12-05 Keishi Hattori <keishi@webkit.org>
3226 Fix text direction in datalist popup for time controls
3227 https://bugs.webkit.org/show_bug.cgi?id=103853
3229 Reviewed by Kent Tamura.
3231 * src/DateTimeChooserImpl.cpp:
3232 (WebKit::DateTimeChooserImpl::writeDocument): Renamed isCalendarRTL to isLocaleRTL.
3234 2012-12-04 Kentaro Hara <haraken@chromium.org>
3236 [V8] Remove toV8Object()
3237 https://bugs.webkit.org/show_bug.cgi?id=103987
3239 Reviewed by Adam Barth.
3241 toV8Object() is used only for MessagePort and ArrayBuffer
3242 only by SerializedScriptValue. It is wasteful to generate
3243 toV8Object() for all interfaces.
3245 No tests. No change in behavior.
3247 * src/WebArrayBuffer.cpp:
3248 (WebKit::WebArrayBuffer::toV8Value):
3250 (WebKit::WebBlob::toV8Value):
3252 2012-12-04 David Dorwin <ddorwin@chromium.org>
3254 [Chromium] Detach the frame and destroy the page immediately upon request to closeHelperPlugin().
3255 https://bugs.webkit.org/show_bug.cgi?id=103947
3257 Reviewed by Kent Tamura.
3259 In the case that the host page is being destroyed, some of the objects
3260 the page depends on, specifically RenderViewImpl, may be destroyed by
3261 the time close() is called asynchronously.
3262 The frameDetached() calling code was originally copied from
3263 WebViewImpl::close(), but WebViewImpl does not have an asynchronous
3264 closing mechanism like the WebWidgets.
3266 This is the fix for http://crbug.com/160650
3268 * src/WebHelperPluginImpl.cpp:
3269 (WebKit::WebHelperPluginImpl::init):
3270 (WebKit::WebHelperPluginImpl::closeHelperPlugin):
3271 (WebKit::WebHelperPluginImpl::destoryPage):
3273 (WebKit::WebHelperPluginImpl::close):.
3274 (WebKit::WebHelperPlugin::create):
3275 * src/WebHelperPluginImpl.h:
3276 (WebHelperPluginImpl):
3277 * src/WebPagePopupImpl.cpp: Made similar changes since it follows the same model. (I think the way popups are closed has prevented the race condition from occurring for popups.)
3278 (WebKit::WebPagePopupImpl::destoryPage):
3280 (WebKit::WebPagePopupImpl::close):
3281 (WebKit::WebPagePopupImpl::closePopup):
3282 * src/WebPagePopupImpl.h:
3285 2012-12-04 David Dorwin <ddorwin@chromium.org>
3287 [Chromium] Removed obsolete local variable from WebViewImpl.cpp.
3288 https://bugs.webkit.org/show_bug.cgi?id=104050
3290 Reviewed by Kent Tamura.
3292 These lines were added with the file in 50739#L761 but the later use
3293 of this variable at L779 has since been removed.
3295 * src/WebViewImpl.cpp:
3296 (WebKit::WebViewImpl::close):
3298 2012-12-04 Alpha Lam <hclam@chromium.org>
3300 [chromium] Implement cache eviction logic in ImageDecodingStore
3301 https://bugs.webkit.org/show_bug.cgi?id=103480
3303 Reviewed by James Robinson.
3305 Added ImageDecodingStoreTest for unit testing new image cache.
3309 ImageDecodingStoreTest.evictOneCache
3311 Test eviction of one cache entry by setting a smaller cache limit.
3313 ImageDecodingStoreTest.pruneOrderIsLeastRecentlyUsed
3315 Test eviction order is least recently used.
3317 ImageDecodingStoreTest.pruneCausedByInsertion
3319 Test that eviction is triggered also by cache insertion.
3321 ImageDecodingStoreTest.cacheInUseNotEvicted
3323 Test that cache in use is not evicted.
3325 ImageDecodingStoreTest.destroyImageFrameGenerator
3327 Test that deleting a ImageFrameGenerator causes associated cache
3328 entries to be removed.
3331 * tests/ImageDecodingStoreTest.cpp: Added.
3333 (ImageDecodingStoreTest):
3334 (WebCore::ImageDecodingStoreTest::SetUp):
3335 (WebCore::ImageDecodingStoreTest::TearDown):
3336 (WebCore::ImageDecodingStoreTest::createCompleteImage):
3337 (WebCore::ImageDecodingStoreTest::insertCache):
3338 (WebCore::ImageDecodingStoreTest::lockCache):
3339 (WebCore::ImageDecodingStoreTest::unlockCache):
3340 (WebCore::ImageDecodingStoreTest::evictOneCache):
3341 (WebCore::ImageDecodingStoreTest::isCacheAlive):
3344 2012-12-04 Kenneth Russell <kbr@google.com>
3346 Associate URLs with GraphicsContext3D instances created for WebGL
3347 https://bugs.webkit.org/show_bug.cgi?id=103793
3349 Reviewed by Adam Barth.
3352 Allow WebURL.h to be included directly or indirectly from Platform.h.
3354 2012-12-04 Adam Barth <abarth@webkit.org>
3356 [V8] Cleanup style in V8DOMWrapper
3357 https://bugs.webkit.org/show_bug.cgi?id=104062
3359 Reviewed by Kentaro Hara.
3361 * src/WebBindings.cpp:
3362 (WebKit::getRangeImpl):
3364 2012-12-04 Stephen White <senorblanco@chromium.org>
3366 [chromium] Turn on the new Skia mask blur algorithm.
3367 https://bugs.webkit.org/show_bug.cgi?id=103906
3369 Reviewed by Adrienne Walker.
3373 2012-12-04 Stephen White <senorblanco@chromium.org>
3375 Unreviewed. Rolled DEPS.
3379 2012-12-04 David Grogan <dgrogan@chromium.org>
3381 IndexedDB: Propagate more leveldb errors to IDBIndex and IDBObjectStore
3382 https://bugs.webkit.org/show_bug.cgi?id=103782
3384 Reviewed by Tony Chang.
3386 * tests/IDBFakeBackingStore.h:
3387 Remove changed methods that are no longer necessary.
3389 2012-12-04 Stephen White <senorblanco@chromium.org>
3391 Rolled DEPS (w/Linux build fix). Unreviewed.
3395 2012-12-04 Stephen White <senorblanco@chromium.org>
3397 Unreviewed, rolling out r136530.
3398 http://trac.webkit.org/changeset/136530
3400 Broke build.webkit.org linux build
3404 2012-12-04 Stephen White <senorblanco@chromium.org>
3406 Unreviewed. Rolled DEPS.
3410 2012-12-04 Eberhard Graether <egraether@google.com>
3412 [chromium] fix showFPScounter and showPaintRects not toggleable after page change
3413 https://bugs.webkit.org/show_bug.cgi?id=103937
3415 Reviewed by Pavel Feldman.
3417 This change avoids updating the WebSettings and uses fields for showFPSCounter and
3418 showPaintRects in WebViewImpl instead, which hold the values between InspectorPageAgent::restore()
3419 and WebViewImpl::setIsAcceleratedCompositingActive().
3421 * src/WebViewImpl.cpp:
3422 (WebKit::WebViewImpl::WebViewImpl):
3423 (WebKit::WebViewImpl::setShowFPSCounter):
3424 (WebKit::WebViewImpl::setShowPaintRects):
3425 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3426 * src/WebViewImpl.h:
3428 2012-12-04 Charlie Reis <creis@chromium.org>
3430 Add FrameLoaderClient::didDisownOpener
3431 https://bugs.webkit.org/show_bug.cgi?id=103789
3433 Reviewed by Darin Fisher.
3435 Forwards the didDisownOpener notification to the WebFrameClient.
3437 * public/WebFrameClient.h:
3439 (WebKit::WebFrameClient::didDisownOpener):
3440 * src/FrameLoaderClientImpl.cpp:
3441 (WebKit::FrameLoaderClientImpl::didDisownOpener):
3443 * src/FrameLoaderClientImpl.h:
3444 (FrameLoaderClientImpl):
3446 2012-12-04 Stephen Chenney <schenney@chromium.org>
3448 [chromium] Turn on the new Skia mask blur algorithm.
3449 https://bugs.webkit.org/show_bug.cgi?id=103906
3451 Unreviewed roll out.
3453 The previous patch was premature and is causing issues rolling skia deps and Chromium deps.
3457 2012-12-03 Joshua Bell <jsbell@chromium.org>
3459 IndexedDB: Correct database version after aborted upgrade
3460 https://bugs.webkit.org/show_bug.cgi?id=103763
3462 Reviewed by Tony Chang.
3464 Pass previously created proxy along in an open onSuccess, rather than a useless wrapper.
3466 * src/WebIDBCallbacksImpl.cpp:
3467 (WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
3468 (WebKit::WebIDBCallbacksImpl::onSuccess):
3469 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3470 * src/WebIDBCallbacksImpl.h:
3472 (WebIDBCallbacksImpl):
3474 2012-12-03 Rafael Weinstein <rafaelw@chromium.org>
3476 Implement HTMLTemplateElement
3477 https://bugs.webkit.org/show_bug.cgi?id=86031
3479 Reviewed by Adam Barth.
3481 Turning on HTMLTemplateElement for chromium port.
3485 2012-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
3487 Unreviewed, rolling out r136460.
3488 http://trac.webkit.org/changeset/136460
3489 https://bugs.webkit.org/show_bug.cgi?id=103958
3491 This patch caused compile error when building DumpRenderTree
3492 (Requested by tasak on #webkit).
3495 * public/linux/WebRenderTheme.h: Added.
3497 * src/WebViewImpl.cpp:
3498 (WebKit::WebViewImpl::setScrollbarColors):
3499 (WebKit::WebViewImpl::setSelectionColors):
3500 * src/linux/WebRenderTheme.cpp: Added.
3502 (WebKit::setCaretBlinkInterval):
3504 2012-12-03 Scott Violet <sky@chromium.org>
3506 [chromium] Remove linux theme related files and switch to default
3507 https://bugs.webkit.org/show_bug.cgi?id=103897
3509 Reviewed by Darin Fisher.
3511 linux theme related files are now named default. This removes
3512 linux files updates build files and removes ifdefs.
3514 * WebKit.gyp: update rules.
3515 * public/linux/WebRenderTheme.h: Removed.
3516 * src/WebViewImpl.cpp:
3517 (WebKit::WebViewImpl::setScrollbarColors): Update ifdefs
3518 (WebKit::WebViewImpl::setSelectionColors): Update ifdefs
3519 * src/linux/WebRenderTheme.cpp: Removed.
3521 2012-12-03 Fady Samuel <fsamuel@chromium.org>
3523 [Chromium] Expose removeAttribute in WebElement
3524 https://bugs.webkit.org/show_bug.cgi?id=103780
3526 Reviewed by Darin Fisher.
3528 * public/WebElement.h:
3530 * src/WebElement.cpp:
3531 (WebKit::WebElement::removeAttribute):
3534 2012-12-03 Eugene Klyuchnikov <eustas@chromium.org>
3536 Web Inspector: Make main-thread monitoring go through InspectorController
3537 https://bugs.webkit.org/show_bug.cgi?id=103550
3539 Reviewed by Pavel Feldman.
3541 InspectorInstrumentation was a wrong path.
3543 * src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and
3544 listen/unlisten methods.
3545 * src/InspectorClientImpl.h: Ditto.
3546 * src/WebDevToolsAgentImpl.cpp:
3547 (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
3548 Unsubscribe for main thread activity events.
3549 (WebKit::WebDevToolsAgentImpl::detach): Ditto.
3550 (WebKit::WebDevToolsAgentImpl::attach):
3551 Subscribe for main thread activity events.
3552 (WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TasObserver
3553 interface. Froward to InspectorController.
3554 (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
3555 * src/WebDevToolsAgentImpl.h: Implement TasObserver interface.
3557 2012-12-03 Alec Flett <alecflett@chromium.org>
3559 IndexedDB: remove IDBDatabaseBackendInterface::transaction()
3560 https://bugs.webkit.org/show_bug.cgi?id=102733
3562 Reviewed by Darin Fisher.
3564 Part 3 of a refactor - just remove the proxy code for the now
3565 defunct transaction method.
3567 * public/WebIDBDatabase.h:
3568 * src/IDBDatabaseBackendProxy.cpp:
3569 * src/IDBDatabaseBackendProxy.h:
3570 (IDBDatabaseBackendProxy):
3571 * src/WebIDBDatabaseImpl.cpp:
3572 * src/WebIDBDatabaseImpl.h:
3573 (WebIDBDatabaseImpl):
3574 * tests/IDBDatabaseBackendTest.cpp:
3576 2012-12-03 Sami Kyostila <skyostil@chromium.org>
3578 [chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
3579 https://bugs.webkit.org/show_bug.cgi?id=103648
3581 Reviewed by James Robinson.
3583 Let the WebInputHandlerClient know when we've received the final input event
3584 for the current vsync period.
3586 Test: WebCompositorInputHandlerImplTest.lastInputEventForVSync
3588 * src/WebCompositorInputHandlerImpl.cpp:
3589 (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
3591 2012-12-03 Stephen White <senorblanco@chromium.org>
3593 [chromium] Turn on the new Skia mask blur algorithm.
3594 https://bugs.webkit.org/show_bug.cgi?id=103906
3596 Reviewed by Adrienne Walker.
3600 2012-12-03 Erik Arvidsson <arv@chromium.org>
3602 [Chromium] Fix issue with hard coded error codes in quota error
3603 https://bugs.webkit.org/show_bug.cgi?id=103892
3605 Reviewed by Darin Fisher.
3607 Chromium currently hard codes the enum values for QuotaStatusCode. To fix
3608 this we need to do a few iteration of changes. This is the first step and
3609 it exposes the enums that Chromium depends on.
3611 * public/WebStorageQuotaError.h:
3613 2012-12-03 Joshua Bell <jsbell@chromium.org>
3615 IndexedDB: Rename exception enum members from UGLY_ERR to PrettyError
3616 https://bugs.webkit.org/show_bug.cgi?id=103759
3618 Reviewed by Darin Fisher.
3620 Update IDBDatabaseException enum names/values to match WebCore.
3622 * public/WebIDBDatabaseException.h:
3623 * src/AssertMatchingEnums.cpp:
3624 * src/IDBFactoryBackendProxy.cpp:
3625 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
3626 * tests/IDBRequestTest.cpp:
3628 2012-12-03 Tommy Widenflycht <tommyw@google.com>
3630 Speech Recognition API: Update SpeechRecognitionEvent to match the specification
3631 https://bugs.webkit.org/show_bug.cgi?id=103407
3633 Reviewed by Kentaro Hara.
3635 Adding the new didReceiveResults method.
3637 * public/WebSpeechRecognizerClient.h:
3638 * src/SpeechRecognitionClientProxy.cpp:
3639 (WebKit::SpeechRecognitionClientProxy::didReceiveResults):
3641 * src/SpeechRecognitionClientProxy.h:
3642 (SpeechRecognitionClientProxy):
3644 2012-12-03 Sami Kyostila <skyostil@chromium.org>
3646 [chromium] Mark last input event for current vsync interval
3647 https://bugs.webkit.org/show_bug.cgi?id=103647
3649 Reviewed by James Robinson.
3651 On Android all input events are triggered at the start of a vsync to maximize
3652 the amount of time an application has for painting. Add a field to
3653 WebInputEvent to indicate when the input event is the final one for the
3654 current vsync interval. This information will be used for more efficient
3657 * public/WebInputEvent.h:
3658 (WebKit::WebInputEvent::WebInputEvent):
3660 2012-12-02 Sadrul Habib Chowdhury <sadrul@chromium.org>
3662 [chromium] Correct the location of synthetic mouse events when page is zoomed
3663 https://bugs.webkit.org/show_bug.cgi?id=103823
3665 Reviewed by Adam Barth.
3667 The event-location conversion function expects absolute locations. Change the
3668 function name to reflect that, and use the absolute location of the touch-points
3669 when converting from touch events.
3671 * src/WebInputEventConversion.cpp:
3672 (WebKit::convertAbsoluteLocationForRenderObject):
3673 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
3674 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3675 (WebKit::addTouchPoints):
3676 (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
3678 2012-12-02 Miguel Garcia <miguelg@chromium.org>
3680 [Chromium] Create an enum for the kind of date input and use that on WebDateTimeChooserParams instead of a bare WebString
3681 https://bugs.webkit.org/show_bug.cgi?id=103746
3683 Reviewed by Kent Tamura.
3685 Using an enum makes the chromium part much simpler and prevents makes sure that new items are added explicitly.
3688 * public/WebDateTimeChooserParams.h:
3689 (WebDateTimeChooserParams):
3690 * public/WebDateTimeInputType.h: Copied from Source/WebKit/chromium/public/WebTextInputType.h.
3692 * public/WebTextInputType.h:
3693 * public/WebViewClient.h:
3695 * src/ExternalDateTimeChooser.cpp:
3696 (WebKit::ExternalDateTimeChooser::openDateTimeChooser):
3697 (WebKit::ExternalDateTimeChooser::webType):
3699 * src/ExternalDateTimeChooser.h:
3700 (ExternalDateTimeChooser):
3702 2012-12-02 Robert Kroeger <rjkroege@chromium.org>
3704 [chromium] make sourceDevice available to more WebGestureEvent subtypes
3705 https://bugs.webkit.org/show_bug.cgi?id=103551
3707 Reviewed by James Robinson.
3709 Added an additional data payload to WebGestureEvent that can
3710 contain the source device (touchpad or touchscreen).
3712 * public/WebInputEvent.h:
3713 * src/WebInputEvent.cpp:
3714 (SameSizeAsWebGestureEvent):
3716 2012-12-02 Sheriff Bot <webkit.review.bot@gmail.com>
3718 Unreviewed, rolling out r136236.
3719 http://trac.webkit.org/changeset/136236
3720 https://bugs.webkit.org/show_bug.cgi?id=103833
3722 [chromium] Flakey crashes in SpeechRecognitionEvent::emma
3723 during GC. (Requested by mkwst on #webkit).
3725 * public/WebSpeechRecognizerClient.h:
3726 * src/SpeechRecognitionClientProxy.cpp:
3727 * src/SpeechRecognitionClientProxy.h:
3728 (SpeechRecognitionClientProxy):
3730 2012-11-30 Mike West <mkwst@chromium.org>
3732 CSP 1.1: Make the CSP_NEXT flag runtime enabled.
3733 https://bugs.webkit.org/show_bug.cgi?id=103652
3735 Reviewed by Adam Barth.
3737 The CSP_NEXT flag continues to be enabled on the Chromium port, but this
3738 patch now locks the features away behind the securityPolicy runtime
3741 * public/WebRuntimeFeatures.h:
3742 (WebRuntimeFeatures):
3743 * src/WebRuntimeFeatures.cpp:
3744 (WebKit::WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures):
3746 (WebKit::WebRuntimeFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled):
3747 Adds the feature to WebRuntimeFeatures so it can be toggled from
3750 2012-11-30 Stephen White <senorblanco@chromium.org>
3752 [Chromium] Suppress the new separable mask blurs in skia until the tests can be rebaselined.
3753 https://bugs.webkit.org/show_bug.cgi?id=103766
3759 2012-11-30 Stephen White <senorblanco@chromium.org>
3761 Unreviewed. Rolled DEPS.
3765 2012-11-29 Tommy Widenflycht <tommyw@google.com>
3767 Speech Recognition API: Update SpeechRecognitionEvent to match the specification
3768 https://bugs.webkit.org/show_bug.cgi?id=103407
3770 Reviewed by Adam Barth.
3772 Adding the new didReceiveResults method.
3774 * public/WebSpeechRecognizerClient.h:
3775 * src/SpeechRecognitionClientProxy.cpp:
3776 (WebKit::SpeechRecognitionClientProxy::didReceiveResults):
3778 * src/SpeechRecognitionClientProxy.h:
3779 (SpeechRecognitionClientProxy):
3781 2012-11-30 Keishi Hattori <keishi@webkit.org>
3783 [Chromium] Page popup doesn't change mouse cursor
3784 https://bugs.webkit.org/show_bug.cgi?id=97454
3786 Reviewed by Kent Tamura.
3788 The mouse cursor should change based on the page popup content and not the main window content.
3789 On Mac the mousemove event propagates to both the page popup and main window causing the cursor to flicker.
3790 The change to ChromeClientImpl stops that.
3792 * src/ChromeClientImpl.cpp:
3793 (WebKit::ChromeClientImpl::setCursor): On Mac, don't update the mouse cursor if a popup is open.
3794 * src/WebPagePopupImpl.cpp: Implement setCursor so the mouse cursor gets set based on the page popup content.
3796 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
3798 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
3799 https://bugs.webkit.org/show_bug.cgi?id=101192
3801 Reviewed by Hajime Morita.
3803 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
3805 Tests: No new tests because there is no functional change.
3807 * public/WebRuntimeFeatures.h:
3808 (WebRuntimeFeatures):
3809 * public/WebSettings.h: moved setExperimentalCSSRegionsEnabled to the bottom of the interface and made it a
3810 no-op. After this patch lands and Chromium's webkit_rev is increased, we'll remove any callers in Chromium. Once
3811 the Chromium callers are gone and WebKit's chromium_rev is increased, we'll remove the deprecated API.
3812 * src/WebRuntimeFeatures.cpp:
3813 (WebKit::WebRuntimeFeatures::enableCSSRegions):
3815 (WebKit::WebRuntimeFeatures::isCSSRegionsEnabled):
3816 * src/WebSettingsImpl.cpp:
3817 * src/WebSettingsImpl.h:
3820 2012-11-29 Rafael Weinstein <rafaelw@chromium.org>
3822 [HTMLTemplateElement] Add feature flag
3823 https://bugs.webkit.org/show_bug.cgi?id=103694
3825 Reviewed by Adam Barth.
3827 This flag will guard the implementation of the HTMLTemplateElement.
3828 http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
3833 2012-11-29 David Grogan <dgrogan@chromium.org>
3835 IndexedDB: Propagate more leveldb errors to script
3836 https://bugs.webkit.org/show_bug.cgi?id=103580
3838 Reviewed by Tony Chang.
3840 * tests/IDBFakeBackingStore.h:
3841 Update method signatures.
3843 2012-11-29 Sheriff Bot <webkit.review.bot@gmail.com>
3845 Unreviewed, rolling out r136171.
3846 http://trac.webkit.org/changeset/136171
3847 https://bugs.webkit.org/show_bug.cgi?id=103695
3849 Likely caused ReOpenedWithID and ReOpenedWithURL to fail in
3850 linux/chromeos (Requested by zhenyao on #webkit).
3852 * src/InspectorClientImpl.cpp:
3853 (WebKit::InspectorClientImpl::startMainThreadMonitoring):
3855 (WebKit::InspectorClientImpl::stopMainThreadMonitoring):
3856 (WebKit::InspectorClientImpl::willProcessTask):
3857 (WebKit::InspectorClientImpl::didProcessTask):
3858 * src/InspectorClientImpl.h:
3859 (InspectorClientImpl):
3860 * src/WebDevToolsAgentImpl.cpp:
3861 (WebKit::WebDevToolsAgentImpl::attach):
3862 (WebKit::WebDevToolsAgentImpl::detach):
3863 * src/WebDevToolsAgentImpl.h:
3864 (WebDevToolsAgentImpl):
3866 2012-11-29 Sadrul Habib Chowdhury <sadrul@chromium.org>
3868 [chromium] Remove deprecated API since it is no longer used
3869 https://bugs.webkit.org/show_bug.cgi?id=103570
3871 Reviewed by Adam Barth.
3873 Remove WebPluginContainer::setIsAcceptingTouchEvents, since this is not used anymore,
3874 in favour of WebPluginContainer::requestTouchEventType.
3876 * public/WebPluginContainer.h:
3877 (WebPluginContainer):
3878 * src/WebPluginContainerImpl.cpp:
3879 * src/WebPluginContainerImpl.h:
3880 (WebPluginContainerImpl):
3882 2012-11-29 Sheriff Bot <webkit.review.bot@gmail.com>
3884 Unreviewed. Rolled DEPS.
3888 2012-11-29 Eugene Klyuchnikov <eustas@chromium.org>
3890 Web Inspector: Make main-thread monitoring go through InspectorController.
3891 https://bugs.webkit.org/show_bug.cgi?id=103550
3893 Reviewed by Pavel Feldman.
3895 InspectorInstrumentation was a wrong path
3897 * src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and
3898 listen/unlisten methods.
3899 * src/InspectorClientImpl.h: Ditto.
3900 * src/WebDevToolsAgentImpl.cpp:
3901 (WebKit::WebDevToolsAgentImpl::attach):
3902 Subscribe for main thread activity events.
3903 (WebKit::WebDevToolsAgentImpl::detach):
3904 Unsubscribe for main thread activity events.
3905 (WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TaskObserver
3906 interface. Froward to InspectorController.
3907 (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
3908 * src/WebDevToolsAgentImpl.h: Implement TaskObserver interface.
3910 2012-11-29 Stephen Chenney <schenney@chromium.org>
3912 [Chromium] Add code supppression flags for skia
3914 Unreviewed addition of Skia build flags to allow for their removal from Chromium's skia.gyp.
3916 * skia_webkit.gyp: Added defines for SK_DISABLE_DITHER_32BIT_GRADIENT and SK_DISABLE_DASHING_OPTIMIZATION
3918 2012-11-29 Florin Malita <fmalita@chromium.org>
3920 [Skia] Add missing OpaqueRegionSkia notifier calls
3921 https://bugs.webkit.org/show_bug.cgi?id=102824
3923 Reviewed by Stephen White.
3925 Add opaque region tracking unit tests for the new PlatformContextSkia draw methods.
3927 * tests/PlatformContextSkiaTest.cpp:
3931 2012-11-29 Miguel Garcia <miguelg@chromium.org>
3933 Fix typo in description of openDateTimeChooser documentation
3934 https://bugs.webkit.org/show_bug.cgi?id=103622
3936 Reviewed by Kent Tamura.
3939 * public/WebViewClient.h:
3942 2012-11-28 Robert Kroeger <rjkroege@chromium.org>
3944 remove unused PlatformGestureCurve code
3945 https://bugs.webkit.org/show_bug.cgi?id=103296
3947 Reviewed by Adam Barth.
3949 Previous CLs have made the Chromium embedder provide gesture fling
3950 curve implementation to WebKit. Consequently no platform uses the
3951 gestural fling code currently found in WebKit. This CL removes this code.
3953 Code removal only: covered by existing tests.
3956 * tests/PlatformGestureCurveTest.cpp: Removed.
3958 2012-11-28 Mark Pilgrim <pilgrim@chromium.org>
3960 [Chromium] Remove pluginsScriptableObject from PlatformSupport
3961 https://bugs.webkit.org/show_bug.cgi?id=103542
3963 Reviewed by Adam Barth.
3965 Part of a refactoring series. See tracking bug 82948.
3967 * src/PlatformSupport.cpp:
3969 * src/WebPluginContainerImpl.h:
3970 (WebPluginContainerImpl):
3972 2012-11-28 Mark Pilgrim <pilgrim@chromium.org>
3974 [Chromium][Win] Remove ensureFontLoaded from PlatformSupport
3975 https://bugs.webkit.org/show_bug.cgi?id=97696
3977 Reviewed by Adam Barth.
3979 Move ensureFontLoaded() from PlatformSupport to
3980 FontPlatformDataChromiumWin. Part of a refactoring series; see
3983 * src/PlatformSupport.cpp:
3986 2012-11-28 Eric Uhrhane <ericu@chromium.org>
3988 [chromium] Add unit tests for ChromeClientImpl::getNavigationPolicy
3989 https://bugs.webkit.org/show_bug.cgi?id=102424
3991 Reviewed by Adam Barth.
3993 This tests a bunch of basic scenarios regarding what will produce a
3994 popup, a new foreground/background tab, or a new window.
3996 * WebKit.gypi: Added test file.
3997 * src/WebViewImpl.h:
3998 (WebViewImpl): Added friend declaration for setCurrentInputEventForTest.
3999 * tests/ChromeClientImplTest.cpp: Added.
4001 2012-11-28 Alexandre Elias <aelias@chromium.org>
4003 [chromium] Handle pinch correctly in slow-scrolling area
4004 https://bugs.webkit.org/show_bug.cgi?id=102740
4006 Reviewed by James Robinson.
4008 With the nonmodal gesture event model, pinch zoom gestures involve
4009 interleaved pinch and scroll events. This caused a bug on slow-scroll
4010 areas: the scroll events were sent to the main thread and
4011 the pinch events were handled in the impl thread.
4013 This patch makes it so that scroll events are always handled in the impl
4014 thread if a pinch is active.
4016 * src/WebCompositorInputHandlerImpl.cpp:
4017 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
4018 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
4019 * src/WebCompositorInputHandlerImpl.h:
4020 * tests/WebCompositorInputHandlerImplTest.cpp:
4024 2012-11-28 Sadrul Habib Chowdhury <sadrul@chromium.org>
4026 [chromium] Allow plugins to opt-in to receive synthetic mouse events out of touch events.
4027 https://bugs.webkit.org/show_bug.cgi?id=103092
4029 Reviewed by Tony Chang.
4031 A plugin can now request to receive raw touch events, or to receive mouse events synthesized
4032 from the touch events, or to not receive any touch events at all.
4034 * public/WebPluginContainer.h:
4035 (WebPluginContainer):
4036 * src/WebInputEventConversion.cpp:
4037 (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
4038 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
4040 * src/WebInputEventConversion.h:
4041 (WebMouseEventBuilder):
4042 * src/WebPluginContainerImpl.cpp:
4043 (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents):
4045 (WebKit::WebPluginContainerImpl::requestTouchEventType):
4046 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
4047 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
4048 * src/WebPluginContainerImpl.h:
4049 (WebPluginContainerImpl):
4051 2012-11-28 David Grogan <dgrogan@chromium.org>
4053 IndexedDB: Remove setVersion from WK API
4054 https://bugs.webkit.org/show_bug.cgi?id=103456
4056 Reviewed by Darin Fisher.
4058 These are the last vestiges of this ancient API. The bulk of the
4059 removal was done in bug 94972.
4061 * public/WebIDBCallbacks.h:
4062 * public/WebIDBDatabase.h:
4064 2012-11-28 Sheriff Bot <webkit.review.bot@gmail.com>
4066 Unreviewed. Rolled DEPS.
4070 2012-11-27 James Simonsen <simonjam@chromium.org>
4072 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
4073 https://bugs.webkit.org/show_bug.cgi?id=102151
4075 Reviewed by Adam Barth.
4077 * src/WebFrameImpl.cpp:
4078 (WebKit::WebFrameImpl::loadRequest):
4079 (WebKit::WebFrameImpl::loadData):
4080 * src/WebSharedWorkerImpl.cpp:
4081 (WebKit::WebSharedWorkerImpl::initializeLoader):
4083 2012-11-27 Eberhard Graether <egraether@google.com>
4085 [chromium] Add WebLayerTreeViewClient API to request font atlas
4086 https://bugs.webkit.org/show_bug.cgi?id=102958
4088 Reviewed by James Robinson.
4090 This change makes the font atlas creation accessible to the WebLayerTreeView.
4092 * src/WebViewImpl.cpp:
4093 (WebKit::WebViewImpl::createFontAtlas):
4095 * src/WebViewImpl.h:
4098 2012-11-27 Joshua Bell <jsbell@chromium.org>
4100 IndexedDB: Simplify transaction timers and event tracking
4101 https://bugs.webkit.org/show_bug.cgi?id=102984
4103 Reviewed by Tony Chang.
4105 Remove now-unused didCompleteTaskEvents() method.
4107 * src/IDBTransactionBackendProxy.cpp:
4108 * src/IDBTransactionBackendProxy.h:
4109 (IDBTransactionBackendProxy):
4110 * src/WebIDBTransactionImpl.cpp:
4111 * src/WebIDBTransactionImpl.h:
4113 2012-11-27 Alpha Lam <hclam@chromium.org>
4115 [chromium] Implement full-featured image cache
4116 https://bugs.webkit.org/show_bug.cgi?id=99784
4118 Reviewed by Stephen White.
4120 Added ImageFrameGeneratorTest to test cache logic and generation
4121 of new cache entries.
4123 ImageFrameGeneratorTest.cacheHit
4124 Test that a complete cached entry is reused.
4126 ImageFrameGeneratorTest.cacheMissWithScale
4127 Cache miss for a scaled image but cache hit on a full size image.
4128 Scaled image is created from cached full size image.
4130 ImageFrameGeneratorTest.cacheMissWithDecodeAndScale
4131 Cache miss for both scaled image and full size image.
4133 ImageFrameGeneratorTest.cacheMissWithIncompleteDecode
4134 Test the logic for handling incomplete cache objects.
4138 (WebKit::initializeWithoutV8):
4139 * src/WebSettingsImpl.cpp:
4140 (WebKit::WebSettingsImpl::setDeferredImageDecodingEnabled):
4141 * tests/DeferredImageDecoderTest.cpp:
4142 (WebCore::DeferredImageDecoderTest::SetUp):
4143 (WebCore::DeferredImageDecoderTest::decoderBeingDestroyed):
4144 (WebCore::DeferredImageDecoderTest::frameBufferRequested):
4145 (DeferredImageDecoderTest):
4146 (WebCore::DeferredImageDecoderTest::frameStatus):
4147 * tests/ImageFrameGeneratorTest.cpp: Added.
4149 (WebCore::fullSize):
4150 (WebCore::scaledSize):
4151 (MockImageDecoderFactory):
4152 (WebCore::MockImageDecoderFactory::create):
4153 (WebCore::MockImageDecoderFactory::MockImageDecoderFactory):
4154 (ImageFrameGeneratorTest):
4155 (WebCore::ImageFrameGeneratorTest::SetUp):
4156 (WebCore::ImageFrameGeneratorTest::TearDown):
4157 (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
4158 (WebCore::ImageFrameGeneratorTest::frameBufferRequested):