1 2013-01-14 Dominic Mazzoni <dmazzoni@google.com>
3 AX: Need to implement ColorWellRole
4 https://bugs.webkit.org/show_bug.cgi?id=106756
6 Reviewed by Chris Fleizach.
8 Adds an accessibility interface to access the value of a
11 * public/WebAccessibilityObject.h:
12 (WebAccessibilityObject):
13 * src/WebAccessibilityObject.cpp:
14 (WebKit::WebAccessibilityObject::colorValue):
17 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
19 [Chromium] Move AudioDestinationChromium into WebCore
20 https://bugs.webkit.org/show_bug.cgi?id=106803
22 Reviewed by Adam Barth.
24 This doesn't really belong in WebKit/chromium/src since it defines
25 things directly in the WebCore namespace.
28 * src/AudioDestinationChromium.cpp: Removed.
29 * src/AudioDestinationChromium.h: Removed.
31 2013-01-14 Stephen Chenney <schenney@chromium.org>
33 Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
37 It turns out that the change behind this flag causes crashes and image errors.
41 2013-01-14 Kentaro Hara <haraken@chromium.org>
43 [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interruptAndRun()
44 https://bugs.webkit.org/show_bug.cgi?id=106779
46 Reviewed by Adam Barth.
48 This is one of steps to make an Isolate parameter mandatory.
50 No tests. No change in behavior.
52 * src/WebDevToolsAgentImpl.cpp:
53 (WebKit::WebDevToolsAgent::interruptAndDispatch):
55 2013-01-13 Vsevolod Vlasov <vsevik@chromium.org>
57 Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPanelSwitch fails
58 https://bugs.webkit.org/show_bug.cgi?id=106755
60 Reviewed by Alexander Pavlov.
63 (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
64 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
66 2013-01-12 David Grogan <dgrogan@chromium.org>
68 Unreviewed. Roll chromium DEPS to 176595.
69 https://bugs.webkit.org/show_bug.cgi?id=106730
73 2013-01-11 Dan Beam <dbeam@chromium.org>
75 [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of more specific Error reasons
76 https://bugs.webkit.org/show_bug.cgi?id=106610
78 Reviewed by Darin Fisher.
80 * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultError in favor of more specific error reasons.
81 * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asserts.
83 2013-01-11 Tien-Ren Chen <trchen@chromium.org>
85 WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
86 https://bugs.webkit.org/show_bug.cgi?id=104427
88 Reviewed by Adam Barth.
90 When a gesture needs to be disambiguated, WebKit doesn't update cursor focus.
91 We added an extra status for didHandleGestureEvent(), so we can distinguish
92 the case whether the event is actually delivered to the web page or cancelled.
94 * public/WebViewClient.h:
95 * public/WebWidgetClient.h:
98 (WebKit::WebWidgetClient::didHandleGestureEvent):
99 * src/WebViewImpl.cpp:
100 (WebKit::WebViewImpl::handleGestureEvent):
101 * tests/WebViewTest.cpp:
103 2013-01-11 Eberhard Graether <egraether@google.com>
105 [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers recursively in continuous painting mode
106 https://bugs.webkit.org/show_bug.cgi?id=105458
108 Reviewed by James Robinson.
110 In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
111 while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
112 calls setNeedsDisplay() on all GraphicsLayers recursively in order to force all layers to repaint. PageOverlay
113 layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
117 (WebKit::PageOverlay::graphicsLayer):
119 * src/PageOverlayList.cpp:
120 (WebKit::PageOverlayList::findGraphicsLayer):
122 * src/PageOverlayList.h:
125 * src/WebViewImpl.cpp:
126 (WebKit::WebViewImpl::WebViewImpl):
127 (WebKit::WebViewImpl::didBeginFrame):
129 * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium/src/PageOverlay.h.
131 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
132 * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/src/PageOverlay.h.
137 2013-01-11 Tony Chang <tony@chromium.org>
139 Unreviewed, revert r139157 to fix the chromium build.
140 These files were deleted in a follow up and since r139044 was reverted, we need to
141 add back these files.
144 * src/DragScrollTimer.cpp: Added.
146 (WebKit::distanceToRect):
147 (WebKit::DragScrollTimer::DragScrollTimer):
148 (WebKit::DragScrollTimer::~DragScrollTimer):
149 (WebKit::DragScrollTimer::stop):
150 (WebKit::DragScrollTimer::scroll):
151 (WebKit::DragScrollTimer::update):
152 (WebKit::DragScrollTimer::triggerScroll):
153 (WebKit::DragScrollTimer::scrollDistanceFor):
154 * src/DragScrollTimer.h: Added.
157 (WebKit::DragScrollTimer::fired):
158 (WebKit::DragScrollTimer::shouldScroll):
160 2013-01-11 Sheriff Bot <webkit.review.bot@gmail.com>
162 Unreviewed, rolling out r139044.
163 http://trac.webkit.org/changeset/139044
164 https://bugs.webkit.org/show_bug.cgi?id=106702
166 Caused various scrolling anomolies on Mac with drag and drop
167 (Requested by smfr on #webkit).
169 * src/WebViewImpl.cpp:
170 (WebKit::WebViewImpl::WebViewImpl):
171 (WebKit::WebViewImpl::dragSourceEndedAt):
172 (WebKit::WebViewImpl::dragSourceMovedTo):
173 (WebKit::WebViewImpl::dragTargetDrop):
174 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
178 2013-01-11 Tony Chang <tony@chromium.org>
180 [chromium] Don't regenerate all bindings when any idl file changes
181 https://bugs.webkit.org/show_bug.cgi?id=106604
183 Reviewed by Kentaro Hara.
185 * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python import search path
186 so we can generate idl dependencies at gyp time.
188 2013-01-11 Stephen Chenney <schenney@chromium.org>
190 Removing Skia flags that have been disabling oprtimizations and other improvements.
192 Unreviewed build fix.
194 These changes have been extensively tested by the Skia team, and
195 WebKit test result changes will be monitored.
199 2013-01-11 Pavel Feldman <pfeldman@chromium.org>
201 Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
202 https://bugs.webkit.org/show_bug.cgi?id=106560
204 Reviewed by Vsevolod Vlasov.
206 * src/js/devTools.css:
207 (body.dock-to-bottom.platform-mac #toolbar):
209 2013-01-10 Noel Gordon <noel.gordon@gmail.com>
211 [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
212 https://bugs.webkit.org/show_bug.cgi?id=106631
214 Reviewed by Eric Seidel.
216 * tests/WebImageTest.cpp:
217 (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
218 green their respective webkit-unit-test bots. The tests still pass on
219 LINUX so keep test coverage there for now.
221 2013-01-10 Dan Beam <dbeam@chromium.org>
223 Implement AutocompleteErrorEvent#reason
224 https://bugs.webkit.org/show_bug.cgi?id=105568
226 Reviewed by Adam Barth.
228 * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
229 * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
231 2013-01-10 Adam Barth <abarth@webkit.org>
233 Add an ENABLE macro and a WebCore::Setting for the threaded parser
234 https://bugs.webkit.org/show_bug.cgi?id=106595
236 Reviewed by Benjamin Poulain.
238 Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
239 more easily enable it locally.
243 2013-01-10 John Mellor <johnme@chromium.org>
245 Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
246 https://bugs.webkit.org/show_bug.cgi?id=106460
248 Reviewed by Kenneth Rohde Christiansen.
250 1. Exposes the existing applyDeviceScaleFactorInCompositor from
251 WebSettings on Settings (and stores the value there instead), so it can
252 be accessed from WebCore.
254 2. Changes ChromeClientImpl::windowRect to return values in density
255 independent (UI) pixels pixels instead of physical screen pixels (see
256 explanation in Source/WebCore/ChangeLog).
258 * src/ChromeClientImpl.cpp:
259 (WebKit::ChromeClientImpl::windowRect):
260 Normalizes window rect scale.
261 * src/WebSettingsImpl.cpp:
262 (WebKit::WebSettingsImpl::WebSettingsImpl):
263 (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
264 (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
266 * src/WebSettingsImpl.h:
269 2013-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
271 Unreviewed. Rolled DEPS.
275 2013-01-10 Dimitri Glazkov <dglazkov@chromium.org>
277 Unreviewed, rolling out r139227.
278 http://trac.webkit.org/changeset/139227
279 https://bugs.webkit.org/show_bug.cgi?id=106227
281 Broke Win component build.
283 * public/WebAccessibilityObject.h:
284 * public/WebAccessibilityRole.h:
285 * public/WebActiveWheelFlingParameters.h:
286 * public/WebAnimationController.h:
287 * public/WebApplicationCacheHost.h:
288 * public/WebApplicationCacheHostClient.h:
289 * public/WebArrayBuffer.h:
290 * public/WebAudioSourceProvider.h:
291 * public/WebBatteryStatus.h:
292 * public/WebBindings.h:
295 * public/WebCachedURLRequest.h:
296 * public/WebColorChooser.h:
297 * public/WebColorChooserClient.h:
298 * public/WebColorName.h:
299 * public/WebCommonWorkerClient.h:
300 * public/WebCompositionUnderline.h:
301 * public/WebCompositorInputHandler.h:
302 * public/WebConsoleMessage.h:
303 * public/WebContentDetectionResult.h:
304 * public/WebContextMenuData.h:
305 * public/WebCrossOriginPreflightResultCache.h:
306 * public/WebCursorInfo.h:
307 * public/WebDOMEvent.h:
308 * public/WebDOMEventListener.h:
309 * public/WebDOMStringList.h:
310 * public/WebDataSource.h:
311 * public/WebDatabase.h:
312 * public/WebDateTimeChooserCompletion.h:
313 * public/WebDateTimeChooserParams.h:
314 * public/WebDeliveredIntentClient.h:
315 * public/WebDevToolsAgent.h:
316 * public/WebDevToolsAgentClient.h:
317 * public/WebDevToolsFrontend.h:
318 * public/WebDeviceOrientationClient.h:
319 * public/WebDeviceOrientationClientMock.h:
320 * public/WebDeviceOrientationController.h:
321 * public/WebDocument.h:
322 * public/WebDraggableRegion.h:
323 * public/WebExternalPopupMenuClient.h:
324 * public/WebFileChooserCompletion.h:
325 * public/WebFileChooserParams.h:
326 * public/WebFileSystemCallbacks.h:
327 * public/WebFileSystemEntry.h:
328 * public/WebFileWriter.h:
329 * public/WebFileWriterClient.h:
330 * public/WebFindOptions.h:
332 * public/WebFontCache.h:
333 * public/WebFontDescription.h:
334 * public/WebFormControlElement.h:
335 * public/WebFormElement.h:
337 * public/WebFrameClient.h:
338 * public/WebGeolocationClientMock.h:
339 * public/WebGeolocationController.h:
340 * public/WebGeolocationError.h:
341 * public/WebGeolocationPermissionRequest.h:
342 * public/WebGeolocationPermissionRequestManager.h:
343 * public/WebGeolocationPosition.h:
344 * public/WebGlyphCache.h:
345 * public/WebHelperPlugin.h:
346 * public/WebHistoryItem.h:
347 * public/WebHitTestResult.h:
348 * public/WebIDBCallbacks.h:
349 * public/WebIDBCursor.h:
350 * public/WebIDBDatabase.h:
351 * public/WebIDBDatabaseCallbacks.h:
352 * public/WebIDBDatabaseError.h:
353 * public/WebIDBFactory.h:
354 * public/WebIDBIndex.h:
355 * public/WebIDBKey.h:
356 * public/WebIDBKeyPath.h:
357 * public/WebIDBKeyRange.h:
358 * public/WebIDBMetadata.h:
359 * public/WebIDBObjectStore.h:
360 * public/WebIDBTransaction.h:
361 * public/WebIDBTransactionCallbacks.h:
362 * public/WebIconURL.h:
363 * public/WebImageDecoder.h:
364 * public/WebInputEvent.h:
365 * public/WebIntent.h:
366 * public/WebIntentRequest.h:
367 * public/WebIntentServiceInfo.h:
368 * public/WebMediaPlayer.h:
369 * public/WebMediaStreamRegistry.h:
370 * public/WebMenuItemInfo.h:
371 * public/WebNetworkStateNotifier.h:
373 * public/WebNodeCollection.h:
374 * public/WebNodeList.h:
375 * public/WebNotification.h:
376 * public/WebNotificationPresenter.h:
377 * public/WebOptionElement.h:
378 * public/WebPageOverlay.h:
379 * public/WebPagePopup.h:
380 * public/WebPageSerializer.h:
381 * public/WebPasswordFormData.h:
382 * public/WebPerformance.h:
383 * public/WebPlugin.h:
384 * public/WebPluginContainer.h:
385 * public/WebPluginParams.h:
386 * public/WebPopupMenu.h:
387 * public/WebPopupMenuInfo.h:
388 * public/WebPrerendererClient.h:
389 * public/WebPrintParams.h:
391 * public/WebRegularExpression.h:
392 * public/WebRuntimeFeatures.h:
393 * public/WebScopedMicrotaskSuppression.h:
394 * public/WebScopedUserGesture.h:
395 * public/WebScriptController.h:
396 * public/WebScriptSource.h:
397 * public/WebSearchableFormData.h:
398 * public/WebSecurityOrigin.h:
399 * public/WebSecurityPolicy.h:
400 * public/WebSelectElement.h:
401 * public/WebSettings.h:
402 * public/WebSharedWorker.h:
403 * public/WebSharedWorkerRepository.h:
404 * public/WebSpeechGrammar.h:
405 * public/WebSpeechInputController.h:
406 * public/WebSpeechInputResult.h:
407 * public/WebSpeechRecognitionHandle.h:
408 * public/WebSpeechRecognitionParams.h:
409 * public/WebSpeechRecognitionResult.h:
410 * public/WebSpeechRecognizer.h:
411 * public/WebSpeechRecognizerClient.h:
412 * public/WebSpellCheckClient.h:
413 * public/WebStorageEventDispatcher.h:
414 * public/WebSurroundingText.h:
415 * public/WebTestingSupport.h:
416 * public/WebTextCheckingCompletion.h:
417 * public/WebTextCheckingResult.h:
418 * public/WebTextFieldDecoratorClient.h:
419 * public/WebTextInputInfo.h:
420 * public/WebTextRun.h:
421 * public/WebTimeRange.h:
422 * public/WebTouchPoint.h:
423 * public/WebUserMediaRequest.h:
425 * public/WebViewBenchmarkSupport.h:
426 * public/WebViewClient.h:
427 * public/WebWidget.h:
428 * public/WebWidgetClient.h:
429 * public/WebWindowFeatures.h:
430 * public/WebWorkerInfo.h:
432 2013-01-09 Alec Flett <alecflett@chromium.org>
434 IndexedDB: Allow createIndex/createObjectStore to be asynchronous
435 https://bugs.webkit.org/show_bug.cgi?id=106377
437 Reviewed by Tony Chang.
439 Remove this test as it makes no sense once the objectstore/index
442 * tests/IDBDatabaseBackendTest.cpp:
444 2013-01-09 Chris Rogers <crogers@google.com>
446 Allow live/local audio input to be enabled only when needed
447 https://bugs.webkit.org/show_bug.cgi?id=106490
449 Reviewed by Kenneth Russell.
451 * src/AudioDestinationChromium.cpp:
453 (WebCore::AudioDestination::create):
454 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
455 (WebCore::AudioDestinationChromium::render):
456 * src/AudioDestinationChromium.h:
457 (AudioDestinationChromium):
459 2013-01-09 Yue Zhang <zysxqn@google.com>
461 [Chromium] Always enable autocomplete for password fields
462 https://bugs.webkit.org/show_bug.cgi?id=104600
464 Reviewed by Darin Fisher.
466 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).
468 * src/WebPasswordFormUtils.cpp:
469 (WebKit::findPasswordFormFields):
470 * src/WebPasswordFormUtils.h:
472 (WebKit::findPasswordFormFields):
474 2013-01-09 James Robinson <jamesr@chromium.org>
476 [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
477 https://bugs.webkit.org/show_bug.cgi?id=106495
479 Reviewed by Adrienne Walker.
481 The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
482 of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
483 client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
484 notification to the WebWidget that the WebLayerTreeView is going to go away.
486 This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
487 which will take a bit more refactoring.
489 * public/WebWidget.h:
491 (WebKit::WebWidget::willCloseLayerTreeView):
492 * src/WebViewImpl.cpp:
493 (WebKit::WebViewImpl::willCloseLayerTreeView):
498 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
500 [Chromium] Remove stray references to WebKitPlatformSupport.h
501 https://bugs.webkit.org/show_bug.cgi?id=106493
503 Reviewed by James Robinson.
505 Part of a refactoring series. See tracking bug 82948.
507 * src/SharedWorkerRepository.cpp:
508 * tests/RunAllTests.cpp:
510 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
512 [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
513 https://bugs.webkit.org/show_bug.cgi?id=106227
515 Reviewed by Darin Fisher.
517 Part of a larger refactoring series. See tracking bug 82948.
519 * public/WebAccessibilityObject.h:
520 * public/WebAccessibilityRole.h:
521 * public/WebActiveWheelFlingParameters.h:
522 * public/WebAnimationController.h:
523 * public/WebApplicationCacheHost.h:
524 * public/WebApplicationCacheHostClient.h:
525 * public/WebArrayBuffer.h:
526 * public/WebAudioSourceProvider.h:
527 * public/WebBatteryStatus.h:
528 * public/WebBindings.h:
531 * public/WebCachedURLRequest.h:
532 * public/WebColorChooser.h:
533 * public/WebColorChooserClient.h:
534 * public/WebColorName.h:
535 * public/WebCommonWorkerClient.h:
536 * public/WebCompositionUnderline.h:
537 * public/WebCompositorInputHandler.h:
538 * public/WebConsoleMessage.h:
539 * public/WebContentDetectionResult.h:
540 * public/WebContextMenuData.h:
541 * public/WebCrossOriginPreflightResultCache.h:
542 * public/WebCursorInfo.h:
543 * public/WebDOMEvent.h:
544 * public/WebDOMEventListener.h:
545 * public/WebDOMStringList.h:
546 * public/WebDataSource.h:
547 * public/WebDatabase.h:
548 * public/WebDateTimeChooserCompletion.h:
549 * public/WebDateTimeChooserParams.h:
550 * public/WebDeliveredIntentClient.h:
551 * public/WebDevToolsAgent.h:
552 * public/WebDevToolsAgentClient.h:
553 * public/WebDevToolsFrontend.h:
554 * public/WebDeviceOrientationClient.h:
555 * public/WebDeviceOrientationClientMock.h:
556 * public/WebDeviceOrientationController.h:
557 * public/WebDocument.h:
558 * public/WebDraggableRegion.h:
559 * public/WebExternalPopupMenuClient.h:
560 * public/WebFileChooserCompletion.h:
561 * public/WebFileChooserParams.h:
562 * public/WebFileSystemCallbacks.h:
563 * public/WebFileSystemEntry.h:
564 * public/WebFileWriter.h:
565 * public/WebFileWriterClient.h:
566 * public/WebFindOptions.h:
568 * public/WebFontCache.h:
569 * public/WebFontDescription.h:
570 * public/WebFormControlElement.h:
571 * public/WebFormElement.h:
573 * public/WebFrameClient.h:
574 * public/WebGeolocationClientMock.h:
575 * public/WebGeolocationController.h:
576 * public/WebGeolocationError.h:
577 * public/WebGeolocationPermissionRequest.h:
578 * public/WebGeolocationPermissionRequestManager.h:
579 * public/WebGeolocationPosition.h:
580 * public/WebGlyphCache.h:
581 * public/WebHelperPlugin.h:
582 * public/WebHistoryItem.h:
583 * public/WebHitTestResult.h:
584 * public/WebIDBCallbacks.h:
585 * public/WebIDBCursor.h:
586 * public/WebIDBDatabase.h:
587 * public/WebIDBDatabaseCallbacks.h:
588 * public/WebIDBDatabaseError.h:
589 * public/WebIDBFactory.h:
590 * public/WebIDBIndex.h:
591 * public/WebIDBKey.h:
592 * public/WebIDBKeyPath.h:
593 * public/WebIDBKeyRange.h:
594 * public/WebIDBMetadata.h:
595 * public/WebIDBObjectStore.h:
596 * public/WebIDBTransaction.h:
597 * public/WebIDBTransactionCallbacks.h:
598 * public/WebIconURL.h:
599 * public/WebImageDecoder.h:
600 * public/WebInputEvent.h:
601 * public/WebIntent.h:
602 * public/WebIntentRequest.h:
603 * public/WebIntentServiceInfo.h:
604 * public/WebMediaPlayer.h:
605 * public/WebMediaStreamRegistry.h:
606 * public/WebMenuItemInfo.h:
607 * public/WebNetworkStateNotifier.h:
609 * public/WebNodeCollection.h:
610 * public/WebNodeList.h:
611 * public/WebNotification.h:
612 * public/WebNotificationPresenter.h:
613 * public/WebOptionElement.h:
614 * public/WebPageOverlay.h:
615 * public/WebPagePopup.h:
616 * public/WebPageSerializer.h:
617 * public/WebPasswordFormData.h:
618 * public/WebPerformance.h:
619 * public/WebPlugin.h:
620 * public/WebPluginContainer.h:
621 * public/WebPluginParams.h:
622 * public/WebPopupMenu.h:
623 * public/WebPopupMenuInfo.h:
624 * public/WebPrerendererClient.h:
625 * public/WebPrintParams.h:
627 * public/WebRegularExpression.h:
628 * public/WebRuntimeFeatures.h:
629 * public/WebScopedMicrotaskSuppression.h:
630 * public/WebScopedUserGesture.h:
631 * public/WebScriptController.h:
632 * public/WebScriptSource.h:
633 * public/WebSearchableFormData.h:
634 * public/WebSecurityOrigin.h:
635 * public/WebSecurityPolicy.h:
636 * public/WebSelectElement.h:
637 * public/WebSettings.h:
638 * public/WebSharedWorker.h:
639 * public/WebSharedWorkerRepository.h:
640 * public/WebSpeechGrammar.h:
641 * public/WebSpeechInputController.h:
642 * public/WebSpeechInputResult.h:
643 * public/WebSpeechRecognitionHandle.h:
644 * public/WebSpeechRecognitionParams.h:
645 * public/WebSpeechRecognitionResult.h:
646 * public/WebSpeechRecognizer.h:
647 * public/WebSpeechRecognizerClient.h:
648 * public/WebSpellCheckClient.h:
649 * public/WebStorageEventDispatcher.h:
650 * public/WebSurroundingText.h:
651 * public/WebTestingSupport.h:
652 * public/WebTextCheckingCompletion.h:
653 * public/WebTextCheckingResult.h:
654 * public/WebTextFieldDecoratorClient.h:
655 * public/WebTextInputInfo.h:
656 * public/WebTextRun.h:
657 * public/WebTimeRange.h:
658 * public/WebTouchPoint.h:
659 * public/WebUserMediaRequest.h:
661 * public/WebViewBenchmarkSupport.h:
662 * public/WebViewClient.h:
663 * public/WebWidget.h:
664 * public/WebWidgetClient.h:
665 * public/WebWindowFeatures.h:
666 * public/WebWorkerInfo.h:
668 2013-01-09 Stephen Chenney <schenney@chromium.org>
670 Adjust Skia build flags to WebKit skia gyp
672 Unreviewed change to enable easy layout test rebaselining.
676 2013-01-09 Mikhail Naganov <mnaganov@chromium.org>
678 [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
680 * tests/WebFrameTest.cpp:
682 2013-01-08 Mikhail Naganov <mnaganov@chromium.org>
684 [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
685 https://bugs.webkit.org/show_bug.cgi?id=106021
687 This is to emulate 'UseWideViewport' setting of Android WebView properly.
688 'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
689 When the value is false, "meta viewport" tag is ignored, and when calculating
690 layout width, display width in DIP pixels is used.
692 Reviewed by Adam Barth.
694 * src/ChromeClientImpl.cpp:
695 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
696 * src/WebViewImpl.cpp:
697 (WebKit::WebViewImpl::resize):
698 (WebKit::WebViewImpl::dipSize):
704 2013-01-08 Chris Rogers <crogers@google.com>
706 Remove unused/deprecated render() method in chromium WebKit API
707 https://bugs.webkit.org/show_bug.cgi?id=106399
709 Reviewed by Kent Tamura.
711 * src/AudioDestinationChromium.cpp:
712 * src/AudioDestinationChromium.h:
713 (AudioDestinationChromium):
715 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
717 Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
718 https://bugs.webkit.org/show_bug.cgi?id=106403
720 This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
723 Reviewed by Hajime Morita.
725 * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
726 * src/DragScrollTimer.cpp: Removed.
727 * src/DragScrollTimer.h: Removed.
729 2013-01-08 Keishi Hattori <keishi@webkit.org>
731 [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
732 https://bugs.webkit.org/show_bug.cgi?id=106312
734 Reviewed by Kent Tamura.
736 We had to removed the code that closed popups on mouse wheel events from
737 content::RenderWidgetHostViewMac because it no longer had access to
738 child popups. WebViewImpl will hide the popups on mouse wheel events so
739 we can maintain the same behavior.
741 https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
743 * src/WebViewImpl.cpp:
744 (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
748 2013-01-08 James Robinson <jamesr@chromium.org>
750 [chromium] Remove transitional #defines from WebKit API headers
751 https://bugs.webkit.org/show_bug.cgi?id=106381
753 Reviewed by Adam Barth.
755 * public/WebWidget.h:
757 2013-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
759 Unreviewed. Rolled DEPS.
763 2013-01-08 Tom Sepez <tsepez@chromium.org>
765 Copy-paste preserves <embed> tags containing active content.
766 https://bugs.webkit.org/show_bug.cgi?id=77625
768 Reviewed by Ryosuke Niwa.
770 Adds chromium API to new unsafePluginPastingEnabled setting.
772 * public/WebSettings.h:
773 * src/WebSettingsImpl.cpp:
774 (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
776 * src/WebSettingsImpl.h:
779 2013-01-08 Mark Lam <mark.lam@apple.com>
781 Removed the need for the ProposedDatabase mechanism.
782 https://bugs.webkit.org/show_bug.cgi?id=106292.
784 Reviewed by Sam Weinig.
786 * src/ChromeClientImpl.cpp:
787 (WebKit::ChromeClientImpl::exceededDatabaseQuota):
788 * src/ChromeClientImpl.h:
791 2013-01-08 Keishi Hattori <keishi@webkit.org>
793 [Chromium] Don't confine page popups to root view on Mac
794 https://bugs.webkit.org/show_bug.cgi?id=106315
796 Reviewed by Kent Tamura.
798 Page popups on Mac no longer get clipped to the web view so we can
799 remove the code to confine to root view.
801 * src/ColorChooserPopupUIController.cpp:
802 (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
803 * src/DateTimeChooserImpl.cpp:
804 (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
806 2012-12-20 Antonio Gomes <a1.gomes@sisa.samsung.com>
808 Introduce a compositing trigger for scrollable frames
809 https://bugs.webkit.org/show_bug.cgi?id=105573
811 Reviewed by James Robinson.
813 Set the newly added scrollable-inner-frames bit to compositing-trigger
814 bitset in accordance to the respective setting value.
816 * src/ChromeClientImpl.cpp:
817 (WebKit::ChromeClientImpl::allowedCompositingTriggers):
819 2013-01-08 Steve Block <steveblock@chromium.org>
821 Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
822 https://bugs.webkit.org/show_bug.cgi?id=106307
824 This matches other method names which distinguish between sizes and
825 points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
827 Reviewed by Kentaro Hara.
829 * src/NonCompositedContentHost.cpp:
830 (WebKit::NonCompositedContentHost::setViewport):
831 * src/WebFrameImpl.cpp:
832 (WebKit::WebFrameImpl::minimumScrollOffset):
833 (WebKit::WebFrameImpl::maximumScrollOffset):
835 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
837 Dragging over an element with scrollbars should scroll the element when dragging near edges
838 https://bugs.webkit.org/show_bug.cgi?id=39725
840 Reviewed by Hajime Morita.
842 This patch removes DragScrollTimer used for automatic scrolling of main
843 frame drag-and-drop which is now implemented in EventHandler.
845 Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
846 make patch size small.
848 No tests. Existing test covers this change.
850 * src/WebViewImpl.cpp:
851 (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
852 (WebKit::WebViewImpl::dragSourceEndedAt): ditto
853 (WebKit::WebViewImpl::dragSourceMovedTo): ditto
854 (WebKit::WebViewImpl::dragTargetDrop): ditto
855 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
857 (WebKit): Chagned to remove DragScrollTimer.
859 2013-01-07 Steve Block <steveblock@chromium.org>
861 Use toSize() to convert from Int/FloatPoint to Int/FloatSize
862 https://bugs.webkit.org/show_bug.cgi?id=105992
864 Reviewed by Kentaro Hara.
866 * src/LinkHighlight.cpp:
867 (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
868 * src/WebFrameImpl.cpp:
869 (WebKit::WebFrameImpl::minimumScrollOffset):
870 (WebKit::WebFrameImpl::maximumScrollOffset):
872 2013-01-07 Xianzhu Wang <wangxianzhu@chromium.org>
874 [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
875 https://bugs.webkit.org/show_bug.cgi?id=106262
877 Reviewed by James Robinson.
879 * public/WebSettings.h:
880 * src/WebSettingsImpl.cpp:
881 (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
883 * src/WebSettingsImpl.h:
886 2013-01-07 Stephen White <senorblanco@chromium.org>
888 Add a flag to control canvas antialiasing.
889 https://bugs.webkit.org/show_bug.cgi?id=106255
891 Reviewed by Darin Fisher.
893 * public/WebSettings.h:
894 * src/WebSettingsImpl.cpp:
895 (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
896 * src/WebSettingsImpl.h:
898 2013-01-07 Yusuf Ozuysal <yusufo@google.com>
900 Don't use double tap zoom if minimum and maximum page scale is the same
901 https://bugs.webkit.org/show_bug.cgi?id=106272
903 Reviewed by James Robinson.
905 We should only try to computed relevant scale and scrollOffset and start the animation
906 if the page is zoomable. This now creates an undesired animation for mobile pages which
909 * src/WebViewImpl.cpp:
910 (WebKit::WebViewImpl::handleGestureEvent):
912 2013-01-07 Tony Chang <tony@chromium.org>
914 Unreviewed. Rolled DEPS.
918 2013-01-07 Alok Priyadarshi <alokp@chromium.org>
920 [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
921 https://bugs.webkit.org/show_bug.cgi?id=104956
923 Reviewed by James Robinson.
925 Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
927 * src/NonCompositedContentHost.cpp:
928 (WebKit::NonCompositedContentHost::paintContents):
930 (WebKit::NonCompositedContentHost::setShowDebugBorders):
931 * src/PageWidgetDelegate.cpp:
932 (WebKit::PageWidgetDelegate::paint):
933 * src/WebFontImpl.cpp:
934 (WebKit::WebFontImpl::drawText):
936 2013-01-07 Mike West <mkwst@chromium.org>
938 Make the IFRAME_SEAMLESS flag runtime-enabled.
939 https://bugs.webkit.org/show_bug.cgi?id=106213
941 Reviewed by Ojan Vafai.
943 * public/WebRuntimeFeatures.h:
944 (WebRuntimeFeatures):
945 * src/WebRuntimeFeatures.cpp:
946 (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
948 (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
949 Expose the new runtime feature to the Chromium port.
951 2013-01-07 Alec Flett <alecflett@chromium.org>
953 IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
954 https://bugs.webkit.org/show_bug.cgi?id=106148
956 Reviewed by Adam Barth.
958 Stub out WebKit API for async createObjectStore.
960 * public/WebIDBDatabase.h:
962 * src/IDBDatabaseBackendProxy.cpp:
963 (WebKit::IDBDatabaseBackendProxy::createObjectStore):
965 (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
966 * src/IDBDatabaseBackendProxy.h:
967 (IDBDatabaseBackendProxy):
968 * src/WebIDBDatabaseImpl.cpp:
969 (WebKit::WebIDBDatabaseImpl::createObjectStore):
971 (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
972 * src/WebIDBDatabaseImpl.h:
973 (WebIDBDatabaseImpl):
975 2013-01-07 Stephen Chenney <schenney@chromium.org>
977 Add comment to WebKit skia gyp
979 Unreviewed additon of a comment.
981 * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
983 2013-01-07 Stephen Chenney <schenney@chromium.org>
985 Add Skia build flags to WebKit skia gyp
987 Unreviewed change to enable easy layout test rebaselining.
989 * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
991 2013-01-05 Alec Flett <alecflett@chromium.org>
993 IndexedDB: Migrate backend ObjectStore calls to use transaction id
994 https://bugs.webkit.org/show_bug.cgi?id=102741
996 Reviewed by Tony Chang.
998 Fix a bug where an array was initialized with a large empty buffer,
999 clean up whitespace, and update to match signatures that changed
1002 * public/WebIDBDatabase.h:
1003 (WebKit::WebIDBDatabase::clear):
1004 * src/WebIDBDatabaseImpl.cpp:
1005 (WebKit::WebIDBDatabaseImpl::put):
1006 * src/WebIDBIndexImpl.cpp:
1007 * tests/IDBDatabaseBackendTest.cpp:
1009 2013-01-05 Alec Flett <alecflett@chromium.org>
1011 IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
1012 https://bugs.webkit.org/show_bug.cgi?id=106117
1014 Reviewed by Adam Barth.
1016 Stubs for migration from WebIDBObjectStore.
1018 * public/WebIDBDatabase.h:
1019 (WebKit::WebIDBDatabase::createIndex):
1020 (WebKit::WebIDBDatabase::deleteIndex):
1022 * src/IDBDatabaseBackendProxy.cpp:
1023 (WebKit::IDBDatabaseBackendProxy::createIndex):
1025 (WebKit::IDBDatabaseBackendProxy::deleteIndex):
1026 * src/IDBDatabaseBackendProxy.h:
1027 (IDBDatabaseBackendProxy):
1028 * src/WebIDBDatabaseImpl.cpp:
1029 (WebKit::WebIDBDatabaseImpl::createIndex):
1031 (WebKit::WebIDBDatabaseImpl::deleteIndex):
1032 * src/WebIDBDatabaseImpl.h:
1033 (WebIDBDatabaseImpl):
1034 * tests/IDBDatabaseBackendTest.cpp:
1036 2013-01-05 Chris Hopman <cjhopman@google.com>
1038 Add function to move caret selection towards a point
1039 https://bugs.webkit.org/show_bug.cgi?id=105189
1041 Reviewed by Eric Seidel.
1043 This function moves the selection to the corresponding point in the
1044 rootEditableElement of the current selection. Used on Android for
1045 the behavior of insertion handles (i.e. dragging the caret around).
1047 * public/WebFrame.h:
1049 * src/WebFrameImpl.cpp:
1050 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
1052 * src/WebFrameImpl.h:
1055 2013-01-04 James Robinson <jamesr@chromium.org>
1057 [chromium] Remove WebWidget::layerTreeView(), ownership is the other way around
1058 https://bugs.webkit.org/show_bug.cgi?id=106139
1060 Reviewed by Adrienne Walker.
1062 This was added with the thought that it would be useful for transitioning code for a world where the
1063 WebLayerTreeView for a given widget was owned by the WebWidgetClient instead of the WebWidget, but as it turns
1064 out we've transitioned without every adding any callers to this.
1066 * public/WebWidget.h:
1068 * src/WebViewImpl.cpp:
1070 2013-01-04 Dana Jansens <danakj@chromium.org>
1072 [chromium] Remove lost-compositor-context layout tests
1073 https://bugs.webkit.org/show_bug.cgi?id=106089
1075 Reviewed by James Robinson.
1077 Remove the loseCompositorContext() test function.
1081 * src/WebViewImpl.cpp:
1082 * src/WebViewImpl.h:
1085 2013-01-04 Adam Klein <adamk@chromium.org>
1087 Remove ENABLE_MUTATION_OBSERVERS #define
1088 https://bugs.webkit.org/show_bug.cgi?id=105459
1090 Reviewed by Ryosuke Niwa.
1094 (WebKit::initialize):
1097 2013-01-04 Mark Pilgrim <pilgrim@chromium.org>
1099 [Chromium] Update some #includes to use headers in the new Platform directory
1100 https://bugs.webkit.org/show_bug.cgi?id=106092
1102 Reviewed by Kentaro Hara.
1104 Working towards getting rid of legacy header files in
1105 WebKit/chromium/public/ and WebKit/chromium/public/platform/
1107 * src/AsyncFileSystemChromium.cpp:
1108 * src/StorageAreaProxy.cpp:
1109 * src/StorageNamespaceProxy.cpp:
1110 * src/WebFileSystemCallbacksImpl.cpp:
1111 * src/WebGraphicsContext3D.cpp:
1112 * src/WebIDBCursorImpl.h:
1113 * src/WebIDBDatabaseCallbacksImpl.cpp:
1114 * src/WebIDBDatabaseCallbacksImpl.h:
1115 * src/WebIDBDatabaseError.cpp:
1116 * src/WebIDBDatabaseImpl.h:
1117 * src/WebIDBIndexImpl.h:
1118 * src/WebIDBKeyPath.cpp:
1119 * src/WebIDBMetadata.cpp:
1120 * src/WebIDBObjectStoreImpl.h:
1121 * src/WebWorkerClientImpl.cpp:
1122 * src/WebWorkerRunLoop.cpp:
1123 * src/WorkerFileSystemCallbacksBridge.cpp:
1124 * tests/AssociatedURLLoaderTest.cpp:
1125 * tests/FrameTestHelpers.cpp:
1126 * tests/PopupMenuTest.cpp:
1127 * tests/URLTestHelpers.cpp:
1128 * tests/WebFrameTest.cpp:
1129 * tests/WebPageNewSerializerTest.cpp:
1130 * tests/WebPageSerializerTest.cpp:
1131 * tests/WebURLRequestTest.cpp:
1132 * tests/WebURLResponseTest.cpp:
1133 * tests/WebUnitTests.h:
1134 * tests/WebViewTest.cpp:
1136 2013-01-04 Sheriff Bot <webkit.review.bot@gmail.com>
1138 Unreviewed. Rolled DEPS.
1142 2013-01-03 Sami Kyostila <skyostil@chromium.org>
1144 [chromium] Rename low latency rendering mode setting to vsync notification
1145 https://bugs.webkit.org/show_bug.cgi?id=106020
1147 Reviewed by James Robinson.
1149 Rename low latency rendering mode setting to vsync notification because
1150 the old name was ambiguous and bad. This setting is meant to control
1151 whether the renderer uses a vsync signal provided by the browser to
1154 2013-01-03 Mark Pilgrim <pilgrim@chromium.org>
1156 [Chromium] Remove all references to sharedWorkerRepository()
1157 https://bugs.webkit.org/show_bug.cgi?id=104704
1159 Reviewed by Adam Barth.
1161 Now that Chromium calls setSharedWorkerRepository upon
1162 initializing WebKit (
1163 https://codereview.chromium.org/10990121/ and
1164 https://codereview.chromium.org/11576028/ ) and no longer
1165 tries to override sharedWorkerRepository, it is safe to remove
1166 all references to this function.
1168 * public/platform/WebKitPlatformSupport.h:
1170 (WebKit::WebKitPlatformSupport::idbFactory):
1171 * src/SharedWorkerRepository.cpp:
1172 (WebKit::sharedWorkerRepository):
1173 (WebCore::SharedWorkerRepository::isAvailable):
1175 2013-01-03 Tommy Widenflycht <tommyw@google.com>
1177 MediaStream API: Add a missing state to RTCPeerConnection
1178 https://bugs.webkit.org/show_bug.cgi?id=106017
1180 Reviewed by Adam Barth.
1182 Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
1184 * src/AssertMatchingEnums.cpp:
1186 2013-01-03 Joshua Bell <jsbell@chromium.org>
1188 IndexedDB: Simplify IDBTransactionBackendImpl::scheduleTask usage
1189 https://bugs.webkit.org/show_bug.cgi?id=103536
1191 Reviewed by Tony Chang.
1193 Track whether IDBCallbacks has fired before being destructed. If not it probably
1194 came in after a transaction had asynchronously aborted; fire an abort error which
1195 will be ignored on the front-end but will clean up lingering IPC tracking.
1197 * public/WebIDBDatabaseException.h:
1198 * src/AssertMatchingEnums.cpp:
1199 * src/IDBCallbacksProxy.cpp:
1200 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1201 (WebKit::IDBCallbacksProxy::~IDBCallbacksProxy):
1202 (WebKit::IDBCallbacksProxy::onError):
1203 (WebKit::IDBCallbacksProxy::onSuccess):
1204 * src/IDBCallbacksProxy.h:
1205 (IDBCallbacksProxy):
1207 2013-01-02 Kenneth Russell <kbr@google.com>
1209 [chromium] Creation of dedicated workers (isolates) leaks reference to HTMLDocument
1210 https://bugs.webkit.org/show_bug.cgi?id=105367
1212 Reviewed by Dmitry Titov.
1214 Made WebWorkerClientImpl a subclass of WorkerMessagingProxy rather than an object wrapping
1215 WorkerMessagingProxy. WorkerMessagingProxy manages its own lifetime and it is impossible to
1216 properly synchronize the lifetime of WebWorkerClientImpl separately.
1218 This allowed most of WebWorkerClientImpl to be deleted, but forced a divergence in the class
1219 hierarchies of WebWorkerClientImpl and WebSharedWorkerImpl. Conversion methods were added to
1220 WorkerLoaderProxy and WebWorkerBase to bridge the hierarchies of in-process and
1221 out-of-process workers.
1223 * src/DatabaseObserver.cpp:
1224 (WebCore::DatabaseObserver::canEstablishDatabase):
1225 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1226 * src/IDBFactoryBackendProxy.cpp:
1227 (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
1228 Adjusted how WorkerLoaderProxy's methods are called.
1229 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1230 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1231 * src/LocalFileSystemChromium.cpp:
1232 (WebCore::openFileSystemHelper):
1233 Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
1234 * src/WebSharedWorkerImpl.cpp:
1235 (WebKit::WebSharedWorkerImpl::toWebWorkerBase):
1236 Implemented new conversion method.
1237 * src/WebSharedWorkerImpl.h:
1238 (WebSharedWorkerImpl):
1239 Explicitly derive from WorkerLoaderProxy now that WebWorkerBase no longer does.
1240 (WebKit::WebSharedWorkerImpl::workerLoaderProxy):
1241 Added new conversion method.
1242 * src/WebWorkerBase.h:
1244 Removed derivation from WorkerLoaderProxy. Added method to convert to WorkerLoaderProxy.
1245 * src/WebWorkerClientImpl.cpp:
1248 (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
1249 Adjusted whitespace.
1250 (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1251 Eliminated delegation to separate object.
1252 (WebKit::WebWorkerClientImpl::toWebWorkerBase):
1253 Implemented new conversion method.
1254 (WebKit::WebWorkerClientImpl::view):
1255 (WebKit::WebWorkerClientImpl::allowDatabase):
1256 (WebKit::WebWorkerClientImpl::allowFileSystem):
1257 (WebKit::WebWorkerClientImpl::openFileSystem):
1258 (WebKit::WebWorkerClientImpl::allowIndexedDB):
1259 Eliminated delegation to separate object.
1260 (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1261 * src/WebWorkerClientImpl.h:
1263 Changed to inherit from WorkerMessagingProxy directly.
1264 (WebWorkerClientImpl):
1265 Deleted most methods previously overridden from WorkerContextProxy, etc.
1266 * src/WorkerAsyncFileSystemChromium.cpp:
1267 (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1268 (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
1269 Hold on to, and use, WorkerLoaderProxy rather than WebWorkerBase.
1270 * src/WorkerAsyncFileSystemChromium.h:
1273 (WorkerAsyncFileSystemChromium):
1274 Hold on to WorkerLoaderProxy rather than WebWorkerBase.
1276 2013-01-02 James Robinson <jamesr@chromium.org>
1278 [chromium] Remove unused transitional #defines from WebKit Client API
1279 https://bugs.webkit.org/show_bug.cgi?id=105974
1281 Reviewed by Adam Barth.
1283 The transitions these #defines helped with have completed.
1285 * public/WebFileSystemCallbacks.h:
1288 * public/WebRuntimeFeatures.h:
1289 * public/WebSettings.h:
1290 * public/WebWidget.h:
1292 2013-01-02 Cris Neckar <cdn@chromium.org>
1294 Initialize WebInputEvent to prevent sending uninitialized bytes with IPC messages.
1295 https://bugs.webkit.org/show_bug.cgi?id=105934
1297 Reviewed by James Robinson.
1299 * public/WebInputEvent.h:
1300 (WebKit::WebInputEvent::WebInputEvent):
1302 2013-01-02 David Tseng <dtseng@google.com>
1304 AX: Chromium needs platform localized strings for media controls.
1305 https://bugs.webkit.org/show_bug.cgi?id=105940
1307 Reviewed by Tony Chang.
1309 * src/LocalizedStrings.cpp:
1310 (WebCore::localizedMediaControlElementString):
1312 (WebCore::localizedMediaControlElementHelpText):
1314 2013-01-02 Mark Pilgrim <pilgrim@chromium.org>
1316 [Chromium] Add Platform/chromium to include_dirs
1317 https://bugs.webkit.org/show_bug.cgi?id=105955
1319 Reviewed by James Robinson.
1321 Currently the headers in WebKit/chromium/public/Web*.h can not
1322 include headers from the new Platform/chromium/ directory with the
1323 "#include <public/WebFoo.h>" syntax, because the include_dirs for
1324 dependent builds (like Chromium-within-WebKit) do not include the
1325 new Platform/chromium/ directory. This patch adds that capability
1326 without managing to break anything else.
1330 2013-01-02 Alec Flett <alecflett@chromium.org>
1332 IndexedDB: Use non-const buffers in put() to avoid copies
1333 https://bugs.webkit.org/show_bug.cgi?id=105572
1335 Reviewed by Adam Barth.
1337 Pass on non-const Vectors to allow buffer adoption rather than copies.
1339 * public/WebIDBDatabase.h:
1341 (WebKit::WebIDBDatabase::put):
1342 * src/IDBDatabaseBackendProxy.cpp:
1343 (WebKit::IDBDatabaseBackendProxy::put):
1344 * src/IDBDatabaseBackendProxy.h:
1345 (IDBDatabaseBackendProxy):
1346 * src/WebIDBDatabaseImpl.cpp:
1347 (WebKit::WebIDBDatabaseImpl::put):
1348 * src/WebIDBDatabaseImpl.h:
1349 (WebIDBDatabaseImpl):
1350 * tests/IDBDatabaseBackendTest.cpp:
1352 2013-01-02 Robert Kroeger <rjkroege@chromium.org>
1354 [chromium] Use top level field for gesture event source
1355 https://bugs.webkit.org/show_bug.cgi?id=105664
1357 Reviewed by Adam Barth.
1359 Previously, only GestureFlingStart subtypes of WebGestureEvent
1360 had a deviceSource flag. A previous CL added a top-level
1361 deviceSource field for all WebGestureEvent. Now that this field
1362 is populated in Chromium, use it as necessary in the Chromium
1365 No new tests: covered by existing tests.
1367 * src/WebCompositorInputHandlerImpl.cpp:
1368 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1369 * src/WebViewImpl.cpp:
1370 (WebKit::WebViewImpl::handleGestureEvent):
1371 * tests/WebCompositorInputHandlerImplTest.cpp:
1374 2012-12-28 Fady Samuel <fsamuel@chromium.org>
1376 Roll Chromium DEPS to r174739
1377 https://bugs.webkit.org/show_bug.cgi?id=105813
1383 2012-12-26 Nico Weber <thakis@chromium.org>
1385 [chromium] Disable unprefixed css transitions until they're functional
1386 https://bugs.webkit.org/show_bug.cgi?id=105771
1388 Reviewed by Eric Seidel.
1390 Bug 105647 mentions that this is not fully implemented yet, and the
1391 partial support breaks feature detection in modernizr and friends.
1395 2012-12-26 Yury Semikhatsky <yurys@chromium.org>
1397 Web Inspector: extract JS heap profiler specifics into JSHeapSnapshot.js
1398 https://bugs.webkit.org/show_bug.cgi?id=105768
1400 Reviewed by Pavel Feldman.
1402 * WebKit.gyp: added new file to JS heap profiler.
1404 2012-12-21 Xianzhu Wang <wangxianzhu@chromium.org>
1406 [Chromium-Android] Use harfbuzz-ng instead of harfbuzz-old on Android
1407 https://bugs.webkit.org/show_bug.cgi?id=104410
1409 Reviewed by Eric Seidel.
1411 * features.gypi: Enable harfbuzz-ng on Android.
1413 2012-12-21 Joshua Bell <jsbell@chromium.org>
1415 IndexedDB: Combine openConnection and openConnectionWithVersion
1416 https://bugs.webkit.org/show_bug.cgi?id=105658
1418 Reviewed by Tony Chang.
1420 * tests/IDBDatabaseBackendTest.cpp:
1422 2012-12-20 Noel Gordon <noel.gordon@gmail.com>
1424 [chromium] Disable color profile support for WebImageSkia users
1425 https://bugs.webkit.org/show_bug.cgi?id=105493
1427 Reviewed by Eric Seidel.
1429 Disable color profiles to prevent null pointer dereference under some
1430 conditions. Tested by unittests at src.chromium.org.
1432 * src/WebImageSkia.cpp:
1433 (WebKit::WebImage::fromData):
1434 (WebKit::WebImage::framesFromData):
1436 2012-12-20 Nate Chapin <japhet@chromium.org>
1438 Rename shouldBufferData to dataBufferingPolicy
1439 https://bugs.webkit.org/show_bug.cgi?id=105450
1441 Reviewed by Alexey Proskuryakov.
1443 No new tests, simple rename.
1445 * src/AssociatedURLLoader.cpp:
1446 (WebKit::AssociatedURLLoader::loadAsynchronously):
1448 2012-12-20 Dominic Mazzoni <dmazzoni@google.com>
1450 AX: support clickPoint in DRT for chromium
1451 https://bugs.webkit.org/show_bug.cgi?id=97359
1453 Reviewed by Chris Fleizach.
1455 Exposes the clickPoint accessibility method in WebAccessibilityObject.
1457 * public/WebAccessibilityObject.h:
1458 (WebAccessibilityObject):
1459 * src/WebAccessibilityObject.cpp:
1460 (WebKit::WebAccessibilityObject::clickPoint):
1463 2012-12-19 Pavel Feldman <pfeldman@chromium.org>
1465 Web Inspector: introduce Page.captureScreenshot
1466 https://bugs.webkit.org/show_bug.cgi?id=105315
1468 Reviewed by Yury Semikhatsky.
1470 Introduces a way for browser to handle protocol commands:
1471 embedder will ask WebKit whether it should override the command
1472 result and will get a hint value. Based on that hint, browser
1473 will prepare the data and ask WebKit again to patch this data in.
1475 * public/WebDevToolsAgent.h:
1477 * src/InspectorClientImpl.cpp:
1478 (WebKit::InspectorClientImpl::captureScreenshot):
1480 * src/InspectorClientImpl.h:
1481 (InspectorClientImpl):
1482 * src/WebDevToolsAgentImpl.cpp:
1483 (BrowserDataHintStringValues):
1485 (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1486 (WebKit::WebDevToolsAgentImpl::captureScreenshot):
1487 (WebKit::browserHintToString):
1488 (WebKit::browserHintFromString):
1489 (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1490 (WebKit::WebDevToolsAgent::shouldPatchWithBrowserData):
1491 (WebKit::WebDevToolsAgent::patchWithBrowserData):
1492 * src/WebDevToolsAgentImpl.h:
1493 (WebDevToolsAgentImpl):
1495 2012-12-20 Sheriff Bot <webkit.review.bot@gmail.com>
1497 Unreviewed, rolling out r138215.
1498 http://trac.webkit.org/changeset/138215
1499 https://bugs.webkit.org/show_bug.cgi?id=105505
1501 it broke downstream compilation with clang (Requested by
1504 * public/platform/WebKitPlatformSupport.h:
1506 (WebKitPlatformSupport):
1507 (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
1508 * src/SharedWorkerRepository.cpp:
1509 (WebKit::sharedWorkerRepository):
1510 (WebCore::SharedWorkerRepository::isAvailable):
1512 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1514 [Chromium] Remove idbFactory from PlatformSupport
1515 https://bugs.webkit.org/show_bug.cgi?id=105460
1517 Reviewed by Darin Fisher.
1519 Part of a larger refactoring series; see tracking bug 82948.
1522 * src/IDBFactoryBackendInterface.cpp: Added.
1524 (WebCore::IDBFactoryBackendInterface::create):
1525 * src/PlatformSupport.cpp: Removed.
1527 2012-12-19 Antoine Labour <piman@chromium.org>
1529 [chromium] Remove old setBackingTextureId/setBackingIOSurfaceId API on WebPluginContainer
1530 https://bugs.webkit.org/show_bug.cgi?id=105472
1532 Reviewed by James Robinson.
1534 This is not called anymore by chromium (as of r173545), using
1535 setWebPlugin instead.
1537 * public/WebPluginContainer.h:
1538 * src/WebPluginContainerImpl.cpp:
1539 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
1540 * src/WebPluginContainerImpl.h:
1541 (WebPluginContainerImpl):
1543 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1545 [Chromium] add setIDBFactory method for embedders to call
1546 https://bugs.webkit.org/show_bug.cgi?id=105465
1548 Reviewed by Darin Fisher.
1550 This is step 1 of getting rid of WebKitPlatform::idbFactory. This
1551 adds a setter for embedders to call upon initialization, which (if
1552 set) will be used instead of calling the idbFactory()
1553 method. Eventually the idbFactory() method will go away, and this
1554 setter will be the only way to initialize the Indexed Database API.
1556 * public/WebIDBFactory.h:
1558 * src/IDBFactoryBackendProxy.cpp:
1560 (WebKit::setIDBFactory):
1561 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1563 2012-12-19 Rachel Blum <groby@chromium.org>
1565 [Chromium] Check Document now should work with continuous check off
1566 https://bugs.webkit.org/show_bug.cgi?id=105228
1568 Reviewed by Anders Carlsson.
1570 * src/EditorClientImpl.cpp:
1571 (WebKit::EditorClientImpl::checkSpellingOfString):
1573 2012-12-19 Rachel Blum <groby@chromium.org>
1575 [Chromium] Spellchecker should provide suggestions for non-caret selection, too
1576 https://bugs.webkit.org/show_bug.cgi?id=104841
1578 Reviewed by Anders Carlsson.
1580 Allow spelling suggestions for a word if the word is already selected. No suggestion
1581 if subset of a word or more than a word is selected.
1583 * src/ContextMenuClientImpl.cpp:
1584 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1586 2012-12-19 Mark Pilgrim <pilgrim@chromium.org>
1588 [Chromium] Remove all references to sharedWorkerRepository()
1589 https://bugs.webkit.org/show_bug.cgi?id=104704
1591 Reviewed by Darin Fisher.
1593 Now that Chromium calls setSharedWorkerRepository upon
1594 initializing WebKit (
1595 https://codereview.chromium.org/10990121/ and
1596 https://codereview.chromium.org/11576028/ ) and no longer
1597 tries to override sharedWorkerRepository, it is safe to remove
1598 all references to this function.
1600 * public/platform/WebKitPlatformSupport.h:
1602 (WebKit::WebKitPlatformSupport::idbFactory):
1603 * src/SharedWorkerRepository.cpp:
1604 (WebKit::sharedWorkerRepository):
1605 (WebCore::SharedWorkerRepository::isAvailable):
1607 2012-12-19 Alexis Menard <alexis@webkit.org>
1609 Implement CSS parsing for CSS transitions unprefixed.
1610 https://bugs.webkit.org/show_bug.cgi?id=104804
1612 Reviewed by Dean Jackson.
1614 Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1615 to cover the work of unprefixing Transforms, Animations and
1616 Transitions. It will let the possibility of each ports to turn it off
1617 in their release branches until we're confident that these CSS
1618 properties are ready to be unprefixed.
1622 2012-12-19 Dominic Mazzoni <dmazzoni@google.com>
1624 Support titleUIElement in chromium DRT
1625 https://bugs.webkit.org/show_bug.cgi?id=96529
1627 Reviewed by Chris Fleizach.
1629 Fix implementation of titleUIElement - it shouldn't return anything
1630 if supportsTitleUIElement returns false, so that accessible label
1631 overriding logic works correctly.
1633 * src/WebAccessibilityObject.cpp:
1634 (WebKit::WebAccessibilityObject::titleUIElement):
1636 2012-12-19 Gavin Peters <gavinp@chromium.org>
1638 [chromium] WebCore::Prerender::didStartPrerender depends on LinkLoader
1639 https://bugs.webkit.org/show_bug.cgi?id=105290
1641 Reviewed by Abhishek Arya.
1643 The LinkLoader now removes itself from its prerender in time.
1645 * tests/PrerenderingTest.cpp:
1647 2012-12-18 Ilya Tikhonovsky <loislo@chromium.org>
1649 Unreviewed, rolling out r138061.
1650 https://bugs.webkit.org/show_bug.cgi?id=105396
1653 http://trac.webkit.org/changeset/138061
1654 https://bugs.webkit.org/show_bug.cgi?id=97359
1656 It is crashing on Debug bots
1658 * public/WebAccessibilityObject.h:
1659 (WebAccessibilityObject):
1660 * src/WebAccessibilityObject.cpp:
1662 2012-12-18 David Dorwin <ddorwin@chromium.org>
1664 [Chromium] Remove temporary backwards compatible interface code (from r137724).
1665 https://bugs.webkit.org/show_bug.cgi?id=105205
1667 Reviewed by James Robinson.
1669 * public/WebMediaPlayerClient.h:
1670 * src/WebMediaPlayerClientImpl.cpp:
1672 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1674 [chromium] pull in the CDM module recently added to media
1675 https://bugs.webkit.org/show_bug.cgi?id=105360
1677 Unreiviewed build fix, but sanity checked by ddorwin.
1681 2012-12-18 Dean Jackson <dino@apple.com>
1683 Unreviewed attempted build fix for Chromium.
1685 Insert stub methods for localized text track menu labels.
1687 * src/LocalizedStrings.cpp:
1689 (WebCore::textTrackClosedCaptionsText):
1690 (WebCore::textTrackSubtitlesText):
1691 (WebCore::textTrackOffText):
1692 (WebCore::textTrackNoLabelText):
1694 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1696 Pull in the opus codec sources.
1698 Unreviewed, build fix.
1702 2012-12-18 Dirk Pranke <dpranke@chromium.org>
1704 Unreviewed, roll chromium deps to r173769
1708 2012-12-18 Dominic Mazzoni <dmazzoni@google.com>
1710 AX: support clickPoint in DRT for chromium
1711 https://bugs.webkit.org/show_bug.cgi?id=97359
1713 Reviewed by Chris Fleizach.
1715 Exposes the clickPoint accessibility method in WebAccessibilityObject.
1717 * public/WebAccessibilityObject.h:
1718 (WebAccessibilityObject):
1719 * src/WebAccessibilityObject.cpp:
1720 (WebKit::WebAccessibilityObject::clickPoint):
1723 2012-12-18 Wei Jia <wjia@chromium.org>
1725 Enable media stream on Android for Chromium
1726 https://bugs.webkit.org/show_bug.cgi?id=102545
1728 Reviewed by Eric Seidel.
1730 Put all webrtc related stuff under one flag "enable_webrtc" which is set to 1
1731 on Linux/Windows/Mac and 0 on Android.
1735 2012-12-18 Yaron Friedman <yfriedman@chromium.org>
1737 Chrome Android java output is too verbose
1738 https://bugs.webkit.org/show_bug.cgi?id=105247
1740 Reviewed by Tony Chang.
1742 Pass -quiet to ant to suppress extraneous output.
1744 * WebKitUnitTests.gyp:
1746 2012-12-17 Andrey Kosyakov <caseq@chromium.org>
1748 Web Inspector: paint inspector overlay on a transparency layer
1749 https://bugs.webkit.org/show_bug.cgi?id=97659
1751 Reviewed by Yury Semikhatsky.
1753 Add a call to PlatformContextSkia::setDrawingToImageBuffer(true) to
1754 fix wrong rendering of content on transparent background.
1756 * src/WebDevToolsAgentImpl.cpp:
1757 (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1759 2012-12-17 Alex Hutter <ahutter@chromium.org>
1761 Exposing querySelector function on WebNode
1762 https://bugs.webkit.org/show_bug.cgi?id=105193
1764 Reviewed by Darin Fisher.
1766 This change is necessitated by the new autofill flows in chromium.
1770 (WebKit::WebNode::querySelector):
1773 2012-12-17 Chris Fleizach <cfleizach@apple.com>
1775 Seamless iframe should not announce a new browsing context
1776 https://bugs.webkit.org/show_bug.cgi?id=86317
1778 Reviewed by Eric Seidel.
1780 * public/WebAccessibilityRole.h:
1781 * src/AssertMatchingEnums.cpp:
1783 2012-12-17 Levi Weintraub <leviw@chromium.org>
1785 Add support for tracking hit test rectangles to enable fast event rejection in the compositor
1786 https://bugs.webkit.org/show_bug.cgi?id=103914
1788 Reviewed by James Robinson.
1790 Enabling touch event target region tracking.
1793 * src/WebPluginContainerImpl.cpp:
1794 (WebKit::WebPluginContainerImpl::requestTouchEventType):
1795 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
1797 2012-12-17 James Robinson <jamesr@chromium.org>
1799 [chromium] Move ownership of WebLayerTreeView to WebWidgetClient
1800 https://bugs.webkit.org/show_bug.cgi?id=105071
1802 Reviewed by Adrienne Walker.
1804 This moves ownership of a given WebWidget's WebLayerTreeView from WebViewImpl out to the embedder by way of
1805 WebWidgetClient. To deal with the two-sided nature of the patch, if construction by the new path fails
1806 WebViewImpl constructs a WebLayerTreeView by the old path, which means it keeps ownership.
1808 * public/WebWidgetClient.h:
1810 (WebKit::WebWidgetClient::initializeLayerTreeView):
1811 (WebKit::WebWidgetClient::layerTreeView):
1812 * src/WebViewImpl.cpp:
1813 (WebKit::WebViewImpl::WebViewImpl):
1814 (WebKit::WebViewImpl::~WebViewImpl):
1815 (WebKit::WebViewImpl::webLayerTreeView):
1816 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1817 * src/WebViewImpl.h:
1819 2012-12-17 Pavel Feldman <pfeldman@chromium.org>
1821 Web Inspector: [chromium] make toolbar render with Mountain Lion-friendly colors
1822 https://bugs.webkit.org/show_bug.cgi?id=105177
1824 Reviewed by Vsevolod Vlasov.
1826 * src/js/devTools.css:
1827 (body.dock-to-bottom #toolbar):
1828 (body.undocked.platform-mac-leopard #toolbar):
1829 (body.undocked.platform-mac-leopard.inactive #toolbar):
1830 (body.undocked.platform-mac-snowleopard #toolbar):
1831 (body.undocked.platform-mac-snowleopard.inactive #toolbar):
1832 (body.undocked.platform-mac-mountain-lion #toolbar):
1833 (body.undocked.platform-mac-mountain-lion.inactive #toolbar):
1835 2012-12-16 Levi Weintraub <leviw@chromium.org>
1837 Push pixel snapping logic into TransformState
1838 https://bugs.webkit.org/show_bug.cgi?id=101779
1840 Reviewed by Simon Fraser.
1842 Eliminating use of SnapOffsetForTransforms as it's no longer needed.
1844 * src/FindInPageCoordinates.cpp:
1845 (WebKit::toNormalizedRect):
1846 * src/LinkHighlight.cpp:
1847 (WebKit::convertTargetSpaceQuadToCompositedLayer):
1848 * src/WebInputEventConversion.cpp:
1849 (WebKit::convertAbsoluteLocationForRenderObject):
1850 * src/WebPluginContainerImpl.cpp:
1851 (WebKit::WebPluginContainerImpl::windowToLocalPoint):
1853 2012-05-21 Jochen Eisinger <jochen@chromium.org>
1855 [chromium] Build content_shell from within WebKit
1856 https://bugs.webkit.org/show_bug.cgi?id=87045
1858 Reviewed by Simon Fraser.
1863 2012-12-15 Anders Carlsson <andersca@apple.com>
1865 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
1866 https://bugs.webkit.org/show_bug.cgi?id=105122
1868 Reviewed by Andreas Kling.
1870 Update for WebCore changes.
1872 * src/FrameLoaderClientImpl.cpp:
1873 (WebKit::FrameLoaderClientImpl::convertMainResourceLoadToDownload):
1874 * src/FrameLoaderClientImpl.h:
1875 (FrameLoaderClientImpl):
1877 2012-12-15 Simon Fraser <simon.fraser@apple.com>
1879 Fix repaint issues when resizing a window with centered content, for platforms with a tile cache
1880 https://bugs.webkit.org/show_bug.cgi?id=105073
1882 Reviewed by Dan Bernstein.
1884 Include RenderLayerBacking.h, which is no longer included by RenderLayerCompositor.h.
1886 * tests/ScrollingCoordinatorChromiumTest.cpp:
1888 2012-12-14 Dan Alcantara <dfalcantara@chromium.org>
1890 WebViewImpl::resetScrollAndScaleState() causes the page to render incorrectly
1891 https://bugs.webkit.org/show_bug.cgi?id=104767
1893 Reviewed by Darin Fisher.
1895 Change WebViewImpl::resetScrollAndScaleState() so that it directly
1896 alters values in the HistoryItem instead of indirectly changing the
1899 Adds a method in HistoryController to clear the scroll and scale state of
1900 its current HistoryItem.
1904 * src/WebViewImpl.cpp:
1905 (WebKit::WebViewImpl::resetScrollAndScaleState):
1906 * tests/WebViewTest.cpp:
1908 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
1910 Unreviewed, rolling out r137765.
1911 http://trac.webkit.org/changeset/137765
1912 https://bugs.webkit.org/show_bug.cgi?id=105067
1914 Breaks webkit_unit_tests and transferred flings (Requested by
1915 jamesr_ on #webkit).
1917 * src/WebCompositorInputHandlerImpl.cpp:
1918 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1919 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1920 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1921 * src/WebCompositorInputHandlerImpl.h:
1922 (WebCompositorInputHandlerImpl):
1923 * src/WebViewImpl.cpp:
1924 (WebKit::WebViewImpl::handleGestureEvent):
1925 (WebKit::WebViewImpl::handleKeyEvent):
1926 (WebKit::WebViewImpl::updateAnimations):
1927 (WebKit::WebViewImpl::didCommitLoad):
1929 2012-12-14 Fady Samuel <fsamuel@chromium.org>
1931 Allow embedder to observe changes to frame names
1932 https://bugs.webkit.org/show_bug.cgi?id=104404
1934 Reviewed by Darin Fisher.
1936 * public/WebFrameClient.h:
1938 (WebKit::WebFrameClient::didChangeName):
1939 * src/FrameLoaderClientImpl.cpp:
1940 (WebKit::FrameLoaderClientImpl::didChangeName):
1942 * src/FrameLoaderClientImpl.h:
1943 (FrameLoaderClientImpl):
1945 2012-12-14 Joshua Bell <jsbell@chromium.org>
1947 [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
1948 https://bugs.webkit.org/show_bug.cgi?id=104615
1950 Reviewed by Tony Chang.
1952 Don't create (and leak) a new wrapper object for onSuccess if one was created for onUpgradeNeeded.
1954 * src/IDBCallbacksProxy.cpp:
1955 (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
1956 (WebKit::IDBCallbacksProxy::onSuccess):
1957 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1958 * src/IDBCallbacksProxy.h:
1959 (IDBCallbacksProxy):
1961 2012-12-14 Yusuf Ozuysal <yusufo@google.com>
1963 Send a message from WebViewImpl to the compositor to inform about end of flings
1964 https://bugs.webkit.org/show_bug.cgi?id=104947
1966 Reviewed by James Robinson.
1968 Whenever we have a fling animation finished on cancelled on main thread this sends
1969 a message that will be relayed to the compositor input handler. Then the input handler
1970 keeps track of main thread fling with a boolean and doesn't send flingCancels
1973 * src/WebCompositorInputHandlerImpl.cpp:
1974 (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
1975 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
1976 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1977 (WebKit::WebCompositorInputHandlerImpl::mainThreadHasStoppedFlinging):
1979 * src/WebCompositorInputHandlerImpl.h:
1980 (WebCompositorInputHandlerImpl):
1981 * src/WebViewImpl.cpp:
1982 (WebKit::WebViewImpl::handleGestureEvent):
1983 (WebKit::WebViewImpl::handleKeyEvent):
1984 (WebKit::WebViewImpl::updateAnimations):
1985 (WebKit::WebViewImpl::didCommitLoad):
1987 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
1989 Unreviewed, rolling out r137570.
1990 http://trac.webkit.org/changeset/137570
1991 https://bugs.webkit.org/show_bug.cgi?id=105048
1993 Stale nodes in the touchEventTarget HashCountedSet are
1994 triggering crashes. Rolling out while I find the root cause.
1995 (Requested by leviw on #webkit).
1998 * src/WebPluginContainerImpl.cpp:
1999 (WebKit::WebPluginContainerImpl::requestTouchEventType):
2000 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2002 2012-12-14 Stephen White <senorblanco@chromium.org>
2004 Unreviewed. Rolled DEPS.
2008 2012-12-14 Stephen White <senorblanco@chromium.org>
2010 Unreviewed. Rolled DEPS.
2014 2012-12-14 David Dorwin <ddorwin@chromium.org>
2016 EME v0.1: Report defaultURL in KeyMessage.
2017 https://bugs.webkit.org/show_bug.cgi?id=104284
2019 Reviewed by Darin Fisher.
2021 Passes defaultURL down from the media engine to HTMLMediaElement.
2022 Only Valid URLs will be passed.
2024 No test because Clear Key does not provide a defaultURL (in v0.1).
2026 * public/WebMediaPlayerClient.h:
2027 * src/WebMediaPlayerClientImpl.cpp:
2028 (WebKit::WebMediaPlayerClientImpl::keyMessage):
2030 (WebKit::WebMediaPlayerClient::keyMessage):
2031 * src/WebMediaPlayerClientImpl.h:
2032 (WebMediaPlayerClientImpl):
2034 2012-12-13 Tien-Ren Chen <trchen@chromium.org>
2036 Don't consider container nodes of other disambiguated nodes
2037 https://bugs.webkit.org/show_bug.cgi?id=104619
2039 Reviewed by Eric Seidel.
2041 Added a test to track the new disambiguation popup heuristics.
2043 * tests/WebFrameTest.cpp:
2044 * tests/data/disambiguation_popup_no_container.html: Added.
2046 2012-12-13 James Robinson <jamesr@chromium.org>
2048 [chromium] Expose a WebLayerTreeView getter on WebWidget to make it easier for the embedder to interface with the compositor
2049 https://bugs.webkit.org/show_bug.cgi?id=104968
2051 Reviewed by Adrienne Walker.
2053 This is an intermediate step on the way to https://code.google.com/p/chromium/issues/detail?id=156175.
2055 * public/WebWidget.h:
2058 (WebKit::WebWidget::layerTreeView):
2059 * src/WebViewImpl.cpp:
2060 (WebKit::WebViewImpl::webLayerTreeView):
2062 * src/WebViewImpl.h:
2065 2012-12-13 Antoine Labour <piman@chromium.org>
2067 [chromium] Small fixes for WebPluginContainer::setWebLayer
2068 https://bugs.webkit.org/show_bug.cgi?id=104953
2070 Reviewed by James Robinson.
2072 * src/WebPluginContainerImpl.cpp:
2073 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): Allow
2074 WebPlugin to clean up dangling pointers.
2076 2012-12-13 Antoine Labour <piman@chromium.org>
2078 [chromium] Add WebPluginContainer::setWebLayer to supersede setBackingTextureId/setBackingIOSurfaceId
2079 https://bugs.webkit.org/show_bug.cgi?id=104875
2081 Reviewed by James Robinson.
2083 * public/WebPluginContainer.h:
2085 (WebPluginContainer):
2086 * src/WebPluginContainerImpl.cpp:
2087 (WebKit::WebPluginContainerImpl::setWebLayer):
2089 (WebKit::WebPluginContainerImpl::setBackingTextureId):
2090 (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
2091 (WebKit::WebPluginContainerImpl::commitBackingTexture):
2092 (WebKit::WebPluginContainerImpl::setOpaque):
2093 (WebKit::WebPluginContainerImpl::platformLayer):
2094 (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2095 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2096 * src/WebPluginContainerImpl.h:
2097 (WebPluginContainerImpl):
2099 2012-12-13 Yusuf Ozuysal <yusufo@google.com>
2101 Check whether a touchDown lands on a registered touch event handler from the compositor
2102 https://bugs.webkit.org/show_bug.cgi?id=104863
2104 Reviewed by James Robinson.
2106 * src/WebCompositorInputHandlerImpl.cpp:
2107 (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2109 2012-12-07 Levi Weintraub <leviw@chromium.org>
2111 Add support for tracking hit test rectangles to enable fast event rejection in the compositor
2112 https://bugs.webkit.org/show_bug.cgi?id=103914
2114 Reviewed by Simon Fraser.
2116 Enabling touch event target region tracking.
2119 * src/WebPluginContainerImpl.cpp:
2120 (WebKit::WebPluginContainerImpl::requestTouchEventType):
2121 (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2123 2012-12-12 Andy Estes <aestes@apple.com>
2125 Fix the Chromium build after r137539.
2127 * src/ScrollbarGroup.cpp:
2128 (WebKit::ScrollbarGroup::lastKnownMousePosition): Renamed from currentMousePosition().
2129 * src/ScrollbarGroup.h: Ditto.
2131 2012-12-12 Sheriff Bot <webkit.review.bot@gmail.com>
2133 Unreviewed. Rolled DEPS.
2137 2012-12-12 Charlie Reis <creis@chromium.org>
2139 [chromium] Expose quickRedirectComing via WebDataSource
2140 https://bugs.webkit.org/show_bug.cgi?id=104586
2142 Reviewed by Nate Chapin.
2144 Exposes whether the current navigation is a client redirect, and
2145 thus should replace the current history item.
2147 * public/WebDataSource.h:
2148 (WebDataSource): Adds isClientRedirect.
2149 * src/WebDataSourceImpl.cpp:
2150 (WebKit::WebDataSourceImpl::isClientRedirect):
2152 * src/WebDataSourceImpl.h:
2153 (WebDataSourceImpl):
2155 2012-12-12 Mark Lam <mark.lam@apple.com>
2157 Encapsulate externally used webdatabase APIs in DatabaseManager.
2158 https://bugs.webkit.org/show_bug.cgi?id=104741.
2160 Reviewed by Sam Weinig.
2162 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2163 and DatabaseContext directly. This is to prepare for upcoming webkit2
2166 * src/ChromeClientImpl.cpp:
2167 * src/WebDatabase.cpp:
2168 (WebKit::WebDatabase::closeDatabaseImmediately):
2169 * src/WebRuntimeFeatures.cpp:
2170 (WebKit::WebRuntimeFeatures::enableDatabase):
2171 (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
2173 2012-12-12 Sheriff Bot <webkit.review.bot@gmail.com>
2175 Unreviewed, rolling out r137490.
2176 http://trac.webkit.org/changeset/137490
2177 https://bugs.webkit.org/show_bug.cgi?id=104838
2179 Breaks Chromium build due to references to
2180 WebSharedWorkerRepository (Requested by aklein on #webkit).
2182 * public/platform/WebKitPlatformSupport.h:
2184 (WebKitPlatformSupport):
2185 (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
2186 * src/SharedWorkerRepository.cpp:
2187 (WebKit::sharedWorkerRepository):
2188 (WebCore::SharedWorkerRepository::isAvailable):
2190 2012-12-12 Alpha Lam <hclam@chromium.org>
2192 [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator
2193 https://bugs.webkit.org/show_bug.cgi?id=103797
2195 Reviewed by Stephen White.
2197 Added unit tests for ThreadSafeDataTransport.
2199 Added unit tests for ImageFrameGenerator to test behavior with and without
2203 ThreadSafeDataTransportTest.hasNewData
2204 ThreadSafeDataTransportTest.setData
2205 ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeNoNewData
2208 * tests/ThreadSafeDataTransportTest.cpp: Added.
2212 2012-12-12 Mark Pilgrim <pilgrim@chromium.org>
2214 [Chromium] Remove all references to sharedWorkerRepository()
2215 https://bugs.webkit.org/show_bug.cgi?id=104704
2217 Reviewed by James Robinson.
2219 Now that Chromium calls setSharedWorkerRepository upon
2220 initializing WebKit (
2221 https://chromiumcodereview.appspot.com/10990121/ ) and no longer
2222 tries to override sharedWorkerRepository, it is safe to remove
2223 all references to this function.
2225 * public/platform/WebKitPlatformSupport.h:
2227 (WebKit::WebKitPlatformSupport::idbFactory):
2228 * src/SharedWorkerRepository.cpp:
2229 (WebKit::sharedWorkerRepository):
2230 (WebCore::SharedWorkerRepository::isAvailable):
2232 2012-12-12 Tommy Widenflycht <tommyw@google.com>
2234 MediaStream API: Change the data channel descriptor pattern to a handler pattern
2235 https://bugs.webkit.org/show_bug.cgi?id=104543
2237 Reviewed by Kent Tamura.
2239 * src/AssertMatchingEnums.cpp:
2241 2012-12-11 Dominic Mazzoni <dmazzoni@google.com>
2243 AX: Make isActionSupported cross-platform.
2244 https://bugs.webkit.org/show_bug.cgi?id=104681
2246 Reviewed by Chris Fleizach.
2248 Add support for press, increment, and decrement actions,
2249 including tests to see whether they're supported on a given
2250 object. This allows Chromium to pass three tests that were
2253 * public/WebAccessibilityObject.h:
2254 (WebAccessibilityObject):
2255 * src/WebAccessibilityObject.cpp:
2256 (WebKit::WebAccessibilityObject::canDecrement):
2258 (WebKit::WebAccessibilityObject::canIncrement):
2259 (WebKit::WebAccessibilityObject::canPress):
2260 (WebKit::WebAccessibilityObject::increment):
2261 (WebKit::WebAccessibilityObject::decrement):
2262 (WebKit::WebAccessibilityObject::press):
2264 2012-12-11 Sheriff Bot <webkit.review.bot@gmail.com>
2266 Unreviewed. Rolled DEPS.
2270 2012-12-11 Alec Flett <alecflett@chromium.org>
2272 IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
2273 https://bugs.webkit.org/show_bug.cgi?id=104592
2275 Reviewed by Dimitri Glazkov.
2277 Stub out chromium side of data operations for refactor.
2279 * public/WebIDBDatabase.h:
2281 (WebKit::WebIDBDatabase::get):
2282 (WebKit::WebIDBDatabase::put):
2283 (WebKit::WebIDBDatabase::setIndexKeys):
2284 (WebKit::WebIDBDatabase::setIndexesReady):
2285 (WebKit::WebIDBDatabase::openCursor):
2286 (WebKit::WebIDBDatabase::count):
2287 (WebKit::WebIDBDatabase::deleteRange):
2288 (WebKit::WebIDBDatabase::clear):
2290 * src/IDBDatabaseBackendProxy.cpp:
2291 (WebKit::IDBDatabaseBackendProxy::openCursor):
2293 (WebKit::IDBDatabaseBackendProxy::count):
2294 (WebKit::IDBDatabaseBackendProxy::get):
2295 (WebKit::IDBDatabaseBackendProxy::put):
2296 (WebKit::IDBDatabaseBackendProxy::setIndexKeys):
2297 (WebKit::IDBDatabaseBackendProxy::setIndexesReady):
2298 (WebKit::IDBDatabaseBackendProxy::deleteRange):
2299 (WebKit::IDBDatabaseBackendProxy::clear):
2300 * src/IDBDatabaseBackendProxy.h:
2301 (IDBDatabaseBackendProxy):
2302 * src/WebIDBDatabaseImpl.cpp:
2304 (WebKit::WebIDBDatabaseImpl::openCursor):
2305 (WebKit::WebIDBDatabaseImpl::count):
2306 (WebKit::WebIDBDatabaseImpl::get):
2307 (WebKit::WebIDBDatabaseImpl::put):
2308 (WebKit::WebIDBDatabaseImpl::setIndexKeys):
2309 (WebKit::WebIDBDatabaseImpl::setIndexesReady):
2310 (WebKit::WebIDBDatabaseImpl::deleteRange):
2311 (WebKit::WebIDBDatabaseImpl::clear):
2312 * src/WebIDBDatabaseImpl.h:
2313 (WebIDBDatabaseImpl):
2314 * tests/IDBDatabaseBackendTest.cpp:
2316 2012-12-11 Sheriff Bot <webkit.review.bot@gmail.com>
2318 Unreviewed, rolling out r137330.
2319 http://trac.webkit.org/changeset/137330
2320 https://bugs.webkit.org/show_bug.cgi?id=104719
2322 Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
2323 (Requested by aklein on #webkit).
2325 * src/WebIDBCallbacksImpl.cpp:
2326 (WebKit::WebIDBCallbacksImpl::onSuccess):
2328 2012-12-11 Joshua Bell <jsbell@chromium.org>
2330 [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
2331 https://bugs.webkit.org/show_bug.cgi?id=104615
2333 Reviewed by Tony Chang.
2335 Ensure passed pointer is treated with ownership semantics.
2337 * src/WebIDBCallbacksImpl.cpp:
2338 (WebKit::WebIDBCallbacksImpl::onSuccess):
2340 2012-12-11 Mark Pilgrim <pilgrim@chromium.org>
2342 [Chromium] Clean up unused interfaces in PlatformSupport
2343 https://bugs.webkit.org/show_bug.cgi?id=104674
2345 Reviewed by Darin Fisher.
2347 Part of a refactoring series. See tracking bug 82948.
2349 * public/platform/WebKitPlatformSupport.h:
2350 * src/PlatformSupport.cpp:
2352 2012-12-11 Mike West <mkwst@chromium.org>
2354 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2355 https://bugs.webkit.org/show_bug.cgi?id=66371
2357 Reviewed by Pavel Feldman.
2359 Drops WebCore::MessageType from the addMessageToConsole method, and all
2360 the ancilliary places it touches.
2362 Aliases postConsoleMessageToWorkerObject with the old interface in
2363 order to maintain back-compat. Will remove it in a future patch once
2364 Chromium is updated.
2366 * public/WebSharedWorkerClient.h:
2367 (WebSharedWorkerClient):
2368 (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
2369 * src/ChromeClientImpl.cpp:
2370 * src/ChromeClientImpl.h:
2372 * src/WebFrameImpl.cpp:
2373 (WebKit::WebFrameImpl::addMessageToConsole):
2374 * src/WebPagePopupImpl.cpp:
2375 * src/WebSharedWorkerImpl.cpp:
2376 (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
2377 (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
2378 * src/WebSharedWorkerImpl.h:
2379 (WebSharedWorkerImpl):
2380 * src/WebWorkerClientImpl.cpp:
2381 (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2382 * src/WebWorkerClientImpl.h:
2383 (WebWorkerClientImpl):
2385 2012-12-11 Mark Pilgrim <pilgrim@chromium.org>
2387 [Chromium] Call createLocalStorageNamespace through Platform.h
2388 https://bugs.webkit.org/show_bug.cgi?id=104675
2390 Reviewed by Kentaro Hara.
2392 Some #include cleanup missing from bug 85766. Part of a
2393 refactoring series; see tracking bug 82948.
2395 * src/StorageNamespaceProxy.cpp:
2396 (WebCore::StorageNamespace::localStorageNamespace):
2398 2012-12-11 Stephen White <senorblanco@chromium.org>
2400 Unreviewed. Rolled DEPS.
2404 2012-12-10 Dana Jansens <danakj@chromium.org>
2406 [chromium] Remove WebCompositorOutputSurface implementations from DRT
2407 https://bugs.webkit.org/show_bug.cgi?id=104046
2409 Reviewed by Darin Fisher.
2411 Use WebCompositorSupport to create an OutputSurface.
2414 * src/WebViewImpl.cpp:
2416 * tests/Canvas2DLayerBridgeTest.cpp:
2417 * tests/FakeWebCompositorOutputSurface.h: Removed.
2418 * tests/WebLayerTreeViewTestCommon.h:
2420 2012-12-10 Stephen White <senorblanco@chromium.org>
2422 [Chromium] Re-enable a failing test. Disabling it just seemed to
2423 move the problem to another test. Unreviewed.
2425 * tests/GraphicsLayerChromiumTest.cpp:
2427 2012-12-10 David Grogan <dgrogan@chromium.org>
2429 IndexedDB: Propagate more leveldb errors to script
2430 https://bugs.webkit.org/show_bug.cgi?id=104422
2432 Reviewed by Tony Chang.
2434 * tests/IDBFakeBackingStore.h:
2435 Delete method override that doesn't match new signature.
2437 2012-12-09 Antti Koivisto <antti@apple.com>
2439 Factor node traversal into standalone functions
2440 https://bugs.webkit.org/show_bug.cgi?id=104507
2442 Reviewed by Eric Seidel.
2444 * src/WebFrameImpl.cpp:
2445 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2447 2012-12-10 Mark Pilgrim <pilgrim@chromium.org>
2449 [Chromium][Win] Remove theme-related functions from PlatformSupport
2450 https://bugs.webkit.org/show_bug.cgi?id=102699
2452 Reviewed by Adam Barth.
2454 Call theme engine directly instead of going through
2455 PlatformSupport. Part of a refactoring series. See tracking bug 82948.
2457 * src/PlatformSupport.cpp:
2458 (WebCore::PlatformSupport::pluginScriptableObject):
2460 2012-12-10 Mark Pilgrim <pilgrim@chromium.org>
2462 [Chromium] Move getPluginsList out of PlatformSupport
2463 https://bugs.webkit.org/show_bug.cgi?id=96507
2465 Reviewed by Darin Fisher.
2467 Part of a refactoring series. See tracking bug 82948.
2470 * public/WebPluginListBuilder.h:
2471 * public/platform/WebKitPlatformSupport.h:
2473 (WebKit::WebKitPlatformSupport::idbFactory):
2474 * src/PlatformSupport.cpp:
2475 (WebCore::PlatformSupport::idbFactory):
2476 * src/WebPluginListBuilderImpl.cpp: Removed.
2477 * src/WebPluginListBuilderImpl.h: Removed.
2479 2012-12-10 Alexis Menard <alexis@webkit.org>
2481 [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
2482 https://bugs.webkit.org/show_bug.cgi?id=104539
2484 Reviewed by Antonio Gomes.
2486 As discussed on webkit-dev it is not needed to keep this feature flag
2487 as support for <position> type is a small feature that is already
2488 implemented by three other UAs. It was useful while landing this
2489 feature as partial bits were landed one after one.
2493 2012-12-10 Mike West <mkwst@chromium.org>
2495 [chromium] Add 'WebKit/chromium/win8' to .gitignore
2496 https://bugs.webkit.org/show_bug.cgi?id=104534
2498 Reviewed by Jochen Eisinger.
2500 I've now added it via 'git add' once, and via 'git commit -a' twice.
2501 Let's make that more difficult, shall we?
2505 2012-12-10 Kent Tamura <tkent@chromium.org>
2507 Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
2508 https://bugs.webkit.org/show_bug.cgi?id=104508
2510 Reviewed by Kentaro Hara.
2512 * src/WebViewImpl.cpp:
2513 (WebKit::WebViewImpl::textInputType):
2514 Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
2516 2012-12-09 Sheriff Bot <webkit.review.bot@gmail.com>
2518 Unreviewed, rolling out r137103.
2519 http://trac.webkit.org/changeset/137103
2520 https://bugs.webkit.org/show_bug.cgi?id=104503
2522 Didn't resolve the chrome win build bot failure, problem moved
2523 elsewhere. (Requested by noel_ on #webkit).
2525 * tests/GraphicsLayerChromiumTest.cpp:
2528 2012-12-09 Noel Gordon <noel.gordon@gmail.com>
2530 [chromium] webkit_unit_tests tests are failing on win
2531 https://bugs.webkit.org/show_bug.cgi?id=104502
2533 Unreviewed test fix: disable applyScrollToScrollableArea test.
2535 * tests/GraphicsLayerChromiumTest.cpp:
2538 2012-12-09 Stephen White <senorblanco@chromium.org>
2540 [Chromium] Unreviewed. Temporarily disable a webkit_unit_tests test
2541 that's failing on Windows.
2543 * tests/GraphicsLayerChromiumTest.cpp:
2546 2012-12-09 Stephen White <senorblanco@chromium.org>
2548 Unreviewed. Rolled DEPS.
2552 2012-12-08 Gavin Peters <gavinp@chromium.org>
2554 Add status events on <link rel=prerender> elements.
2555 https://bugs.webkit.org/show_bug.cgi?id=96474
2557 Reviewed by Adam Barth.
2559 The new PrerenderStatusEvent is sent to link elements when
2560 prerenders are started by the embedder, and also sent when they
2561 are stopped. Pages using this feature can now serialize launching
2562 prerenders, and track timing performance.
2566 * tests/FrameTestHelpers.cpp:
2567 (WebKit::FrameTestHelpers::createWebView):
2569 (WebKit::FrameTestHelpers::createWebViewAndLoad):
2570 * tests/FrameTestHelpers.h:
2572 * tests/PrerenderingTest.cpp: Added.
2573 * tests/data/prerender/multiple_prerenders.html: Added.
2574 * tests/data/prerender/single_prerender.html: Added.
2576 2012-12-07 Rik Cabanier <cabanier@adobe.com>
2578 Extend platform layer so it can pass blend modes to the compositing calls
2579 https://bugs.webkit.org/show_bug.cgi?id=104176
2581 Reviewed by Dirk Schulze.
2583 Adding blend mode enumeration to draw functions
2585 * tests/DragImageTest.cpp:
2586 (WebCore::TestImage::draw):
2587 * tests/ImageLayerChromiumTest.cpp:
2588 (WebCore::TestImage::draw):
2590 2012-12-07 Alpha Lam <hclam@chromium.org>
2592 [chromium] ImageDecodingStore should cache partially decoded images
2593 https://bugs.webkit.org/show_bug.cgi?id=103796
2595 Reviewed by Stephen White.
2597 Added unit tests to verify caching behavior for partially decoded images.
2599 - ImageDecodingStoreTest.insertIncompleteCache
2600 Insert incomplete image with a decoder into cache.
2602 - ImageDecodingStoreTest.insertCompleteCacheWithDecoder
2603 Insert complete image with a decoder, decoder is deleted.
2605 - ImageDecodingStoreTest.incompleteCacheBecomesComplete
2606 Progressive downloading of a file. Image becomes complete, decoder deleted.
2608 - ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeAndScale
2609 Cache lookup failed and start a decoding that decoded an incomplete image.
2611 ImageFrameGeneratorTest.incompleteDecodeBecomesComplete
2612 Image decoded as incomplete, file fully downloaded and cache entry becomes complete.
2614 ImageFrameGeneratorTest.incompleteDecodeAndScaleBecomesComplete
2615 Image decoded and scaled as incomplete, becomes complete after file is fully dowloaded.
2617 ImageFrameGeneratorTest.incompleteDecodeBecomesCompleteMultiThreaded
2618 Transition from incomplete to complete, entire lifecycle happens on 2 threads.
2620 * tests/DeferredImageDecoderTest.cpp:
2621 (WebCore::DeferredImageDecoderTest::SetUp):
2622 * tests/ImageDecodingStoreTest.cpp:
2623 (WebCore::ImageDecodingStoreTest::SetUp):
2624 (WebCore::ImageDecodingStoreTest::decoderBeingDestroyed):
2625 (ImageDecodingStoreTest):
2626 (WebCore::ImageDecodingStoreTest::frameBufferRequested):
2627 (WebCore::ImageDecodingStoreTest::frameStatus):
2628 (WebCore::ImageDecodingStoreTest::createIncompleteImage):
2629 (WebCore::ImageDecodingStoreTest::lockCache):
2632 * tests/ImageFrameGeneratorTest.cpp:
2633 (WebCore::ImageFrameGeneratorTest::SetUp):
2634 (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
2635 (ImageFrameGeneratorTest):
2636 (WebCore::MockImageDecoderFactory::create):
2639 (WebCore::decodeThreadMain):
2640 * tests/MockImageDecoder.h:
2641 (WebCore::MockImageDecoder::create):
2643 (WebCore::MockImageDecoder::setSize):
2644 (WebCore::MockImageDecoder::frameBufferAtIndex):
2646 2012-12-07 Sheriff Bot <webkit.review.bot@gmail.com>
2648 Unreviewed, rolling out r136993.
2649 http://trac.webkit.org/changeset/136993
2650 https://bugs.webkit.org/show_bug.cgi?id=104415
2652 This patch breaks the mac build (Requested by cabanier on
2655 * tests/DragImageTest.cpp:
2656 (WebCore::TestImage::draw):
2657 * tests/ImageLayerChromiumTest.cpp:
2658 (WebCore::TestImage::draw):
2660 2012-12-07 Rik Cabanier <cabanier@adobe.com>
2662 Extend platform layer so it can pass blend modes to the compositing calls
2663 https://bugs.webkit.org/show_bug.cgi?id=104176
2665 Reviewed by Dirk Schulze.
2667 Adding blend mode enumeration to draw functions
2669 * tests/DragImageTest.cpp:
2670 (WebCore::TestImage::draw):
2671 * tests/ImageLayerChromiumTest.cpp:
2672 (WebCore::TestImage::draw):
2674 2012-12-07 Alec Flett <alecflett@chromium.org>
2676 IndexedDB: propagate transaction_ids through open/upgradeneeded
2677 https://bugs.webkit.org/show_bug.cgi?id=103922
2679 Reviewed by Tony Chang.
2681 Update test to account for pre-generated transaction ids.
2683 * tests/IDBDatabaseBackendTest.cpp:
2685 2012-12-07 Scott Violet <sky@chromium.org>
2687 [chromium] Remove linux theme related files and switch to default
2688 https://bugs.webkit.org/show_bug.cgi?id=103897
2690 Reviewed by Dimitri Glazkov.
2692 Linux theme related files are now named Default.
2695 * public/linux/WebRenderTheme.h: Removed.
2696 * public/platform/linux/WebThemeEngine.h: Removed.
2697 * src/WebViewImpl.cpp:
2698 (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
2699 (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
2700 * src/linux/WebRenderTheme.cpp: Removed.
2702 2012-12-07 Stephen White <senorblanco@chromium.org>
2704 Unreviewed. Rolled DEPS.
2708 2012-12-07 Alexis Menard <alexis@webkit.org>
2710 [Chromium] Enable CSS3 background-position offset by default.
2711 https://bugs.webkit.org/show_bug.cgi?id=104253
2713 Reviewed by Tony Chang.
2715 Turn on the feature by default.
2719 2012-12-07 Mark Pilgrim <pilgrim@chromium.org>
2721 [Chromium] Move WorkerContextProxy::create out of PlatformSupport
2722 https://bugs.webkit.org/show_bug.cgi?id=104151
2724 Reviewed by Kentaro Hara.
2726 Doesn't really solve the layering violation as much as kick it
2727 down the road a bit. Part of a refactoring series; see tracking
2731 * src/PlatformSupport.cpp:
2733 * src/WorkerContextProxy.cpp: Added.
2735 (WebCore::WebCore::WorkerContextProxy::create):
2737 2012-12-07 Ilya Tikhonovsky <loislo@chromium.org>
2739 Unreviewed roll crhomium to r171707.
2743 2012-12-07 Kent Tamura <tkent@chromium.org>
2745 REGRESSION(r136631): Fix null pointer dereference in WebPagePopupImpl::paint
2746 https://bugs.webkit.org/show_bug.cgi?id=104350
2748 Reviewed by Hajime Morita.
2750 We changed WebPagePopupImpl so that it deleted m_page in
2751 closePopup. However, paint function is still called.
2753 * src/WebPagePopupImpl.cpp:
2754 (WebKit::WebPagePopupImpl::paint): Block by m_closing.
2756 2012-12-06 Kent Tamura <tkent@chromium.org>
2758 Refactoring: Clean up placeholder attribute usage
2759 https://bugs.webkit.org/show_bug.cgi?id=104337
2761 Reviewed by Kentaro Hara.
2763 * src/WebInputElement.cpp:
2764 (WebKit::WebInputElement::setPlaceholder):
2766 (WebKit::WebInputElement::placeholder):
2767 Use fastGetAttribute.
2769 2012-12-06 Sami Kyostila <skyostil@chromium.org>
2771 [chromium] Introduce setting for low latency rendering
2772 https://bugs.webkit.org/show_bug.cgi?id=104011
2774 Reviewed by James Robinson.
2776 This low latency rendering setting will be used to enable alternate
2777 render signaling and scheduling to reduce latency.
2779 * public/WebSettings.h:
2780 * src/WebSettingsImpl.cpp:
2781 (WebKit::WebSettingsImpl::WebSettingsImpl):
2782 (WebKit::WebSettingsImpl::setLowLatencyRenderingEnabled):
2784 * src/WebSettingsImpl.h:
2786 (WebKit::WebSettingsImpl::lowLatencyRenderingEnabled):
2787 * src/WebViewImpl.cpp:
2788 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2790 2012-12-06 Kent Tamura <tkent@chromium.org>
2792 [Chromium] Rename some init* functions to initialize*
2793 https://bugs.webkit.org/show_bug.cgi?id=104335
2795 Reviewed by Kentaro Hara.
2797 We should use full words.
2798 http://www.webkit.org/coding/coding-style.html#names-full-words
2800 * src/WebHelperPluginImpl.cpp:
2801 (WebKit::WebHelperPluginImpl::initialize): Renamed from init.
2802 (WebKit::WebHelperPluginImpl::initializePage): Renamed from initPage.
2803 * src/WebHelperPluginImpl.h:
2804 (WebHelperPluginImpl):
2805 * src/WebPagePopupImpl.cpp:
2806 (WebKit::WebPagePopupImpl::initialize): Renamed from init.
2807 (WebKit::WebPagePopupImpl::initializePage): Renamed from initPage.
2808 * src/WebPagePopupImpl.h:
2810 * src/WebPopupMenuImpl.cpp:
2811 (WebKit::WebPopupMenuImpl::initialize): Renamed from init.
2812 * src/WebPopupMenuImpl.h:
2814 * src/WebViewImpl.cpp:
2815 (WebKit::WebViewImpl::openPagePopup): Follow the renamings.
2816 (WebKit::WebViewImpl::createHelperPlugin): Ditto.
2817 * src/ChromeClientImpl.cpp:
2818 (WebKit::ChromeClientImpl::popupOpened): Ditto.
2820 2012-12-06 Rick Byers <rbyers@chromium.org>
2822 CSS cursor property should support webkit-image-set
2823 https://bugs.webkit.org/show_bug.cgi?id=99493
2825 Reviewed by Beth Dakin.
2827 Add ENABLE_MOUSE_CURSOR_SCALE and enable it on the chromium port.
2828 Plumb cursor image scale factor through to chromium API.
2831 * public/WebCursorInfo.h:
2832 * src/WebCursorInfo.cpp:
2833 (WebKit::WebCursorInfo::WebCursorInfo):
2835 2012-12-06 James Simonsen <simonjam@chromium.org>
2837 [Chromium] Enable Resource Timing and User Timing
2838 https://bugs.webkit.org/show_bug.cgi?id=103788
2840 Reviewed by Tony Gentilcore.
2844 2012-12-06 Jochen Eisinger <jochen@chromium.org>
2846 [chromium] when forwarding events through the WebPluginContainer, create a UserGestureIndicator if processing a user gesture
2847 https://bugs.webkit.org/show_bug.cgi?id=104306
2849 Reviewed by Dimitri Glazkov.
2851 In http://trac.webkit.org/changeset/65964 a UserGestureIndicator was
2852 introduced in chromium's WebKit layer intended to fix a problem with
2853 plugins, however, it also affected regular event handling, so I removed
2854 it in http://trac.webkit.org/changeset/128273. Turns out it still is a
2855 problem for plugins. This change adds the UserGestureIndicator back,
2856 however, only for the WebPluginContainer.
2858 * public/WebInputEvent.h:
2860 (WebKit::WebInputEvent::isUserGestureEventType):
2861 * src/WebPluginContainerImpl.cpp:
2862 (WebKit::WebPluginContainerImpl::handleEvent):
2864 2012-12-06 David Grogan <dgrogan@chromium.org>
2866 IndexedDB: Abort transactions because of leveldb errors part 4
2867 https://bugs.webkit.org/show_bug.cgi?id=103964
2869 Reviewed by Tony Chang.
2871 * tests/IDBFakeBackingStore.h:
2872 Update one overridden method signature, delete another.
2874 2012-12-06 Tony Chang <tony@chromium.org>
2876 REGRESSION(r135082): Restore the ability to insert author level style sheets from script
2877 https://bugs.webkit.org/show_bug.cgi?id=104042
2879 Reviewed by Antti Koivisto.
2881 * src/WebDocument.cpp:
2882 (WebKit::WebDocument::insertUserStyleSheet): Use addAuthorSheet if an author level script is requested.
2884 2012-12-06 Sadrul Habib Chowdhury <sadrul@chromium.org>
2886 [chromium] Add some null-checks for the touch-lists in TouchEvent
2887 https://bugs.webkit.org/show_bug.cgi?id=104098
2889 Reviewed by Adam Barth.
2891 It is possible for the touch-lists to be NULL in a TouchEvent. V8TouchEvent checks for NULL
2892 touches(), targetTouches() and changedTouches(). So do the same for WebMouseEventBuilder.
2894 * src/WebInputEventConversion.cpp:
2895 (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2896 * tests/WebInputEventConversionTest.cpp:
2898 2012-12-06 Xianzhu Wang <wangxianzhu@chromium.org>
2900 [Chromium] Expose acceleratedCompositingForScrollableFramesEnabled in WebKit API
2901 https://bugs.webkit.org/show_bug.cgi?id=104272
2903 We may need the API to enable compositing scrollable frames in Chromium.
2905 Reviewed by Darin Fisher.
2907 * public/WebSettings.h:
2908 * src/WebSettingsImpl.cpp:
2909 (WebKit::WebSettingsImpl::setAcceleratedCompositingForScrollableFramesEnabled):
2911 * src/WebSettingsImpl.h:
2914 2012-12-06 W. James MacLean <wjmaclean@chromium.org>
2916 [chromium] Should apply link highlight to largest enclosing node with a handCursor.
2917 https://bugs.webkit.org/show_bug.cgi?id=104264
2919 Reviewed by Adrienne Walker.
2921 Link highlights sometimes only apply to part of a link, if we select an enclosed
2922 node (e.g. font changes in link text). The highlight should be applied to the
2923 largest enclosing node that still has handCursor set.
2925 * src/WebViewImpl.cpp:
2926 (WebKit::WebViewImpl::bestTouchLinkNode):
2928 2012-12-06 Tommy Widenflycht <tommyw@google.com>
2930 Speech Recognition API: Change the error code to a string on SpeechRecognitionError
2931 https://bugs.webkit.org/show_bug.cgi?id=104254
2933 Reviewed by Adam Barth.
2935 Minor WebCore type changes.
2937 * src/AssertMatchingEnums.cpp:
2938 * src/SpeechRecognitionClientProxy.cpp:
2939 (WebKit::SpeechRecognitionClientProxy::didReceiveError):
2941 2012-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
2943 Unreviewed, rolling out r136784 and r136802.
2944 http://trac.webkit.org/changeset/136784
2945 http://trac.webkit.org/changeset/136802
2946 https://bugs.webkit.org/show_bug.cgi?id=104231
2948 breaks chromium canary (Requested by morrita on #webkit).
2951 * public/linux/WebRenderTheme.h: Added.
2953 * public/platform/linux/WebThemeEngine.h: Added.
2954 * src/WebViewImpl.cpp:
2955 (WebKit::WebViewImpl::setScrollbarColors):
2956 (WebKit::WebViewImpl::setSelectionColors):
2957 * src/linux/WebRenderTheme.cpp: Added.
2959 (WebKit::setCaretBlinkInterval):
2961 2012-12-05 Takashi Sakamoto <tasak@google.com>
2963 Add win8/* to Chromium DEPS (r171376)
2964 https://bugs.webkit.org/show_bug.cgi?id=104228
2966 Reviewed by Hajime Morita.
2968 Since updated chromium DEPS to r171376, now printing/printing.gyp
2969 requires win8/* for windows build.
2973 2012-12-05 Takashi Sakamoto <tasak@google.com>
2975 Unreviewed, WebKit gardening.
2978 Removed public/linux/WebRenderTheme.h. The file was removed.
2980 2012-12-05 Sheriff Bot <webkit.review.bot@gmail.com>
2982 Unreviewed. Rolled DEPS.
2986 2012-12-05 Greg Billock <gbillock@google.com>
2988 Add runtime enable for web intents.
2989 https://bugs.webkit.org/show_bug.cgi?id=103669
2991 Reviewed by Adam Barth.
2993 Propagate runtime setting to enable/disable web intents Javascript API.
2995 * public/WebRuntimeFeatures.h:
2996 (WebRuntimeFeatures):
2997 * src/WebRuntimeFeatures.cpp:
2998 (WebKit::WebRuntimeFeatures::enableWebIntents):
3000 (WebKit::WebRuntimeFeatures::isWebIntentsEnabled):
3002 2012-12-05 Scott Violet <sky@chromium.org>
3004 [chromium] Remove linux theme related files and switch to default
3005 https://bugs.webkit.org/show_bug.cgi?id=103897
3007 Reviewed by Tony Chang.
3009 Linux theme related files are now named Default.
3012 * public/linux/WebRenderTheme.h: Removed.
3013 * public/platform/linux/WebThemeEngine.h: Removed.
3014 * src/WebViewImpl.cpp:
3015 (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
3016 (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
3017 * src/linux/WebRenderTheme.cpp: Removed.
3019 2012-12-05 Joshua Bell <jsbell@chromium.org>
3021 IndexedDB: Allow multiple transactions to interleave request execution
3022 https://bugs.webkit.org/show_bug.cgi?id=97570
3024 Reviewed by Tony Chang.
3026 Map to IDBTransaction::Mode enum as appropriate.
3028 * src/IDBDatabaseBackendProxy.cpp:
3029 (WebKit::IDBDatabaseBackendProxy::createTransaction):
3030 * src/IDBDatabaseBackendProxy.h:
3031 (IDBDatabaseBackendProxy):
3032 * src/WebIDBDatabaseImpl.cpp:
3033 (WebKit::WebIDBDatabaseImpl::createTransaction):
3034 * tests/IDBDatabaseBackendTest.cpp:
3036 2012-12-05 Eberhard Graether <egraether@google.com>
3038 [chromium] Remove WebLayerTreeView API to set font atlas
3039 https://bugs.webkit.org/show_bug.cgi?id=102960
3041 Reviewed by James Robinson.
3043 Removes old font atlas creation from WebViewImpl.
3045 * src/WebViewImpl.cpp:
3046 (WebKit::WebViewImpl::WebViewImpl):
3047 (WebKit::WebViewImpl::setShowFPSCounter):
3048 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3050 * src/WebViewImpl.h:
3052 2012-12-05 Stephen White <senorblanco@chromium.org>
3054 Unreviewed, rolling out r136735.
3055 http://trac.webkit.org/changeset/136735
3056 https://bugs.webkit.org/show_bug.cgi?id=102699
3058 Broke Chrome/Win build.
3060 * src/PlatformSupport.cpp:
3062 (WebCore::PlatformSupport::paintButton):
3063 (WebCore::PlatformSupport::paintMenuList):
3064 (WebCore::PlatformSupport::paintScrollbarArrow):
3065 (WebCore::PlatformSupport::paintScrollbarThumb):
3066 (WebCore::PlatformSupport::paintScrollbarTrack):
3067 (WebCore::PlatformSupport::paintSpinButton):
3068 (WebCore::PlatformSupport::paintTextField):
3069 (WebCore::PlatformSupport::paintTrackbar):
3070 (WebCore::PlatformSupport::paintProgressBar):
3072 2012-12-05 Stephen White <senorblanco@chromium.org>
3074 Unreviewed, rolling out r136741.
3075 http://trac.webkit.org/changeset/136741
3076 https://bugs.webkit.org/show_bug.cgi?id=104151
3078 Broke Chrome/Win build.
3081 * src/PlatformSupport.cpp:
3083 (WebCore::WorkerContextProxy::create):
3084 * src/WorkerContextProxy.cpp: Removed.
3086 2012-12-05 Mark Pilgrim <pilgrim@chromium.org>
3088 [Chromium] Move WorkerContextProxy::create out of PlatformSupport
3089 https://bugs.webkit.org/show_bug.cgi?id=104151
3091 Reviewed by Adam Barth.
3093 Doesn't really solve the layering violation as much as kick it
3094 down the road a bit. Part of a refactoring series; see tracking
3098 * src/PlatformSupport.cpp:
3100 * src/WorkerContextProxy.cpp: Added.
3102 (WebCore::WebCore::WorkerContextProxy::create):
3104 2012-12-05 Mark Pilgrim <pilgrim@chromium.org>
3106 [Chromium][Win] Remove theme-related functions from PlatformSupport
3107 https://bugs.webkit.org/show_bug.cgi?id=102699
3109 Reviewed by Adam Barth.
3111 Call theme engine directly instead of going through
3112 PlatformSupport. Part of a refactoring series. See tracking bug 82948.
3114 * src/PlatformSupport.cpp:
3115 (WebCore::PlatformSupport::pluginScriptableObject):
3117 2012-12-05 Stephen White <senorblanco@chromium.org>
3119 Unreviewed, rolling out r136609.
3120 http://trac.webkit.org/changeset/136609
3121 https://bugs.webkit.org/show_bug.cgi?id=103793
3123 Breaking Chrome/Mac Debug builds.
3127 2012-12-05 Alec Flett <alecflett@chromium.org>
3129 IndexedDB: Stub out transaction-backend methods
3130 https://bugs.webkit.org/show_bug.cgi?id=103921
3132 Reviewed by Dimitri Glazkov.
3134 Add new signatures for refactoring, to allow
3135 transaction_ids to make is through the open/onUpgradeNeeded
3138 * public/WebIDBCallbacks.h:
3139 (WebKit::WebIDBCallbacks::onUpgradeNeeded):
3140 * public/WebIDBDatabase.h:
3141 (WebKit::WebIDBDatabase::createTransaction):
3142 (WebKit::WebIDBDatabase::abort):
3143 (WebKit::WebIDBDatabase::commit):
3145 * public/WebIDBDatabaseCallbacks.h:
3146 (WebIDBDatabaseCallbacks):
3147 (WebKit::WebIDBDatabaseCallbacks::onAbort):
3148 (WebKit::WebIDBDatabaseCallbacks::onComplete):
3149 * public/WebIDBFactory.h:
3150 (WebKit::WebIDBFactory::open):
3151 * src/IDBCallbacksProxy.cpp:
3152 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
3154 * src/IDBCallbacksProxy.h:
3155 (IDBCallbacksProxy):
3156 * src/IDBDatabaseBackendProxy.cpp:
3157 (WebKit::IDBDatabaseBackendProxy::createTransaction):
3159 (WebKit::IDBDatabaseBackendProxy::commit):
3160 (WebKit::IDBDatabaseBackendProxy::abort):
3161 * src/IDBDatabaseBackendProxy.h:
3162 (IDBDatabaseBackendProxy):
3163 * src/IDBDatabaseCallbacksProxy.cpp:
3164 (WebKit::IDBDatabaseCallbacksProxy::onAbort):
3166 (WebKit::IDBDatabaseCallbacksProxy::onComplete):
3167 * src/IDBDatabaseCallbacksProxy.h:
3168 (IDBDatabaseCallbacksProxy):
3169 * src/IDBFactoryBackendProxy.cpp:
3170 (WebKit::IDBFactoryBackendProxy::open):
3172 * src/IDBFactoryBackendProxy.h:
3173 (IDBFactoryBackendProxy):
3174 * src/WebIDBCallbacksImpl.cpp:
3175 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3177 * src/WebIDBCallbacksImpl.h:
3178 (WebIDBCallbacksImpl):
3179 * src/WebIDBDatabaseCallbacksImpl.cpp:
3180 (WebKit::WebIDBDatabaseCallbacksImpl::onAbort):
3182 (WebKit::WebIDBDatabaseCallbacksImpl::onComplete):
3183 * src/WebIDBDatabaseCallbacksImpl.h:
3184 (WebIDBDatabaseCallbacksImpl):
3185 * src/WebIDBDatabaseImpl.cpp:
3186 (WebKit::WebIDBDatabaseImpl::createTransaction):
3188 (WebKit::WebIDBDatabaseImpl::abort):
3189 (WebKit::WebIDBDatabaseImpl::commit):
3190 * src/WebIDBDatabaseImpl.h:
3191 (WebIDBDatabaseImpl):
3192 * src/WebIDBFactoryImpl.cpp:
3193 (WebKit::WebIDBFactoryImpl::open):
3195 * src/WebIDBFactoryImpl.h:
3196 (WebIDBFactoryImpl):
3197 * tests/IDBAbortOnCorruptTest.cpp:
3198 * tests/IDBDatabaseBackendTest.cpp:
3200 2012-11-27 Alec Flett <alecflett@chromium.org>
3202 IndexedDB: remove IDBDatabaseBackendInterface::transaction()
3203 https://bugs.webkit.org/show_bug.cgi?id=102733
3205 Reviewed by Darin Fisher.
3207 Part 3 of a refactor - just remove the proxy code for the now
3208 defunct transaction method.
3210 * public/WebIDBDatabase.h:
3211 * src/IDBDatabaseBackendProxy.cpp:
3212 * src/IDBDatabaseBackendProxy.h:
3213 (IDBDatabaseBackendProxy):
3214 * src/WebIDBDatabaseImpl.cpp:
3215 * src/WebIDBDatabaseImpl.h:
3216 (WebIDBDatabaseImpl):
3217 * tests/IDBDatabaseBackendTest.cpp:
3219 2012-12-05 Joshua Bell <jsbell@chromium.org>
3221 IndexedDB: Replace use of ScriptExecutionContext::Task (Part 2)
3222 https://bugs.webkit.org/show_bug.cgi?id=103931
3224 Reviewed by Tony Chang.
3226 Now that IDBCallbacks uses real RefPtr<> a mock class needs to be heap allocated.
3228 * tests/IDBAbortOnCorruptTest.cpp:
3229 (WebCore::MockIDBCallbacks::create):
3230 (WebCore::MockIDBCallbacks::MockIDBCallbacks):
3234 2012-12-05 Stephen White <senorblanco@chromium.org>
3236 Unreviewed. Rolled DEPS.
3240 2012-12-05 Keishi Hattori <keishi@webkit.org>
3242 Fix text direction in datalist popup for time controls
3243 https://bugs.webkit.org/show_bug.cgi?id=103853
3245 Reviewed by Kent Tamura.
3247 * src/DateTimeChooserImpl.cpp:
3248 (WebKit::DateTimeChooserImpl::writeDocument): Renamed isCalendarRTL to isLocaleRTL.
3250 2012-12-04 Kentaro Hara <haraken@chromium.org>
3252 [V8] Remove toV8Object()
3253 https://bugs.webkit.org/show_bug.cgi?id=103987
3255 Reviewed by Adam Barth.
3257 toV8Object() is used only for MessagePort and ArrayBuffer
3258 only by SerializedScriptValue. It is wasteful to generate
3259 toV8Object() for all interfaces.
3261 No tests. No change in behavior.
3263 * src/WebArrayBuffer.cpp:
3264 (WebKit::WebArrayBuffer::toV8Value):
3266 (WebKit::WebBlob::toV8Value):
3268 2012-12-04 David Dorwin <ddorwin@chromium.org>
3270 [Chromium] Detach the frame and destroy the page immediately upon request to closeHelperPlugin().
3271 https://bugs.webkit.org/show_bug.cgi?id=103947
3273 Reviewed by Kent Tamura.
3275 In the case that the host page is being destroyed, some of the objects
3276 the page depends on, specifically RenderViewImpl, may be destroyed by
3277 the time close() is called asynchronously.
3278 The frameDetached() calling code was originally copied from
3279 WebViewImpl::close(), but WebViewImpl does not have an asynchronous
3280 closing mechanism like the WebWidgets.
3282 This is the fix for http://crbug.com/160650
3284 * src/WebHelperPluginImpl.cpp:
3285 (WebKit::WebHelperPluginImpl::init):
3286 (WebKit::WebHelperPluginImpl::closeHelperPlugin):
3287 (WebKit::WebHelperPluginImpl::destoryPage):
3289 (WebKit::WebHelperPluginImpl::close):.
3290 (WebKit::WebHelperPlugin::create):
3291 * src/WebHelperPluginImpl.h:
3292 (WebHelperPluginImpl):
3293 * 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.)
3294 (WebKit::WebPagePopupImpl::destoryPage):
3296 (WebKit::WebPagePopupImpl::close):
3297 (WebKit::WebPagePopupImpl::closePopup):
3298 * src/WebPagePopupImpl.h:
3301 2012-12-04 David Dorwin <ddorwin@chromium.org>
3303 [Chromium] Removed obsolete local variable from WebViewImpl.cpp.
3304 https://bugs.webkit.org/show_bug.cgi?id=104050
3306 Reviewed by Kent Tamura.
3308 These lines were added with the file in 50739#L761 but the later use
3309 of this variable at L779 has since been removed.
3311 * src/WebViewImpl.cpp:
3312 (WebKit::WebViewImpl::close):
3314 2012-12-04 Alpha Lam <hclam@chromium.org>
3316 [chromium] Implement cache eviction logic in ImageDecodingStore
3317 https://bugs.webkit.org/show_bug.cgi?id=103480
3319 Reviewed by James Robinson.
3321 Added ImageDecodingStoreTest for unit testing new image cache.
3325 ImageDecodingStoreTest.evictOneCache
3327 Test eviction of one cache entry by setting a smaller cache limit.
3329 ImageDecodingStoreTest.pruneOrderIsLeastRecentlyUsed
3331 Test eviction order is least recently used.
3333 ImageDecodingStoreTest.pruneCausedByInsertion
3335 Test that eviction is triggered also by cache insertion.
3337 ImageDecodingStoreTest.cacheInUseNotEvicted
3339 Test that cache in use is not evicted.
3341 ImageDecodingStoreTest.destroyImageFrameGenerator
3343 Test that deleting a ImageFrameGenerator causes associated cache
3344 entries to be removed.
3347 * tests/ImageDecodingStoreTest.cpp: Added.
3349 (ImageDecodingStoreTest):
3350 (WebCore::ImageDecodingStoreTest::SetUp):
3351 (WebCore::ImageDecodingStoreTest::TearDown):
3352 (WebCore::ImageDecodingStoreTest::createCompleteImage):
3353 (WebCore::ImageDecodingStoreTest::insertCache):
3354 (WebCore::ImageDecodingStoreTest::lockCache):
3355 (WebCore::ImageDecodingStoreTest::unlockCache):
3356 (WebCore::ImageDecodingStoreTest::evictOneCache):
3357 (WebCore::ImageDecodingStoreTest::isCacheAlive):
3360 2012-12-04 Kenneth Russell <kbr@google.com>
3362 Associate URLs with GraphicsContext3D instances created for WebGL
3363 https://bugs.webkit.org/show_bug.cgi?id=103793
3365 Reviewed by Adam Barth.
3368 Allow WebURL.h to be included directly or indirectly from Platform.h.
3370 2012-12-04 Adam Barth <abarth@webkit.org>
3372 [V8] Cleanup style in V8DOMWrapper
3373 https://bugs.webkit.org/show_bug.cgi?id=104062
3375 Reviewed by Kentaro Hara.
3377 * src/WebBindings.cpp:
3378 (WebKit::getRangeImpl):
3380 2012-12-04 Stephen White <senorblanco@chromium.org>
3382 [chromium] Turn on the new Skia mask blur algorithm.
3383 https://bugs.webkit.org/show_bug.cgi?id=103906
3385 Reviewed by Adrienne Walker.
3389 2012-12-04 Stephen White <senorblanco@chromium.org>
3391 Unreviewed. Rolled DEPS.
3395 2012-12-04 David Grogan <dgrogan@chromium.org>
3397 IndexedDB: Propagate more leveldb errors to IDBIndex and IDBObjectStore
3398 https://bugs.webkit.org/show_bug.cgi?id=103782
3400 Reviewed by Tony Chang.
3402 * tests/IDBFakeBackingStore.h:
3403 Remove changed methods that are no longer necessary.
3405 2012-12-04 Stephen White <senorblanco@chromium.org>
3407 Rolled DEPS (w/Linux build fix). Unreviewed.
3411 2012-12-04 Stephen White <senorblanco@chromium.org>
3413 Unreviewed, rolling out r136530.
3414 http://trac.webkit.org/changeset/136530
3416 Broke build.webkit.org linux build
3420 2012-12-04 Stephen White <senorblanco@chromium.org>
3422 Unreviewed. Rolled DEPS.
3426 2012-12-04 Eberhard Graether <egraether@google.com>
3428 [chromium] fix showFPScounter and showPaintRects not toggleable after page change
3429 https://bugs.webkit.org/show_bug.cgi?id=103937
3431 Reviewed by Pavel Feldman.
3433 This change avoids updating the WebSettings and uses fields for showFPSCounter and
3434 showPaintRects in WebViewImpl instead, which hold the values between InspectorPageAgent::restore()
3435 and WebViewImpl::setIsAcceleratedCompositingActive().
3437 * src/WebViewImpl.cpp:
3438 (WebKit::WebViewImpl::WebViewImpl):
3439 (WebKit::WebViewImpl::setShowFPSCounter):
3440 (WebKit::WebViewImpl::setShowPaintRects):
3441 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3442 * src/WebViewImpl.h:
3444 2012-12-04 Charlie Reis <creis@chromium.org>
3446 Add FrameLoaderClient::didDisownOpener
3447 https://bugs.webkit.org/show_bug.cgi?id=103789
3449 Reviewed by Darin Fisher.
3451 Forwards the didDisownOpener notification to the WebFrameClient.
3453 * public/WebFrameClient.h:
3455 (WebKit::WebFrameClient::didDisownOpener):
3456 * src/FrameLoaderClientImpl.cpp:
3457 (WebKit::FrameLoaderClientImpl::didDisownOpener):
3459 * src/FrameLoaderClientImpl.h:
3460 (FrameLoaderClientImpl):
3462 2012-12-04 Stephen Chenney <schenney@chromium.org>
3464 [chromium] Turn on the new Skia mask blur algorithm.
3465 https://bugs.webkit.org/show_bug.cgi?id=103906
3467 Unreviewed roll out.
3469 The previous patch was premature and is causing issues rolling skia deps and Chromium deps.
3473 2012-12-03 Joshua Bell <jsbell@chromium.org>
3475 IndexedDB: Correct database version after aborted upgrade
3476 https://bugs.webkit.org/show_bug.cgi?id=103763
3478 Reviewed by Tony Chang.
3480 Pass previously created proxy along in an open onSuccess, rather than a useless wrapper.
3482 * src/WebIDBCallbacksImpl.cpp:
3483 (WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
3484 (WebKit::WebIDBCallbacksImpl::onSuccess):
3485 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
3486 * src/WebIDBCallbacksImpl.h:
3488 (WebIDBCallbacksImpl):
3490 2012-12-03 Rafael Weinstein <rafaelw@chromium.org>
3492 Implement HTMLTemplateElement
3493 https://bugs.webkit.org/show_bug.cgi?id=86031
3495 Reviewed by Adam Barth.
3497 Turning on HTMLTemplateElement for chromium port.
3501 2012-12-03 Sheriff Bot <webkit.review.bot@gmail.com>
3503 Unreviewed, rolling out r136460.
3504 http://trac.webkit.org/changeset/136460
3505 https://bugs.webkit.org/show_bug.cgi?id=103958
3507 This patch caused compile error when building DumpRenderTree
3508 (Requested by tasak on #webkit).
3511 * public/linux/WebRenderTheme.h: Added.
3513 * src/WebViewImpl.cpp:
3514 (WebKit::WebViewImpl::setScrollbarColors):
3515 (WebKit::WebViewImpl::setSelectionColors):
3516 * src/linux/WebRenderTheme.cpp: Added.
3518 (WebKit::setCaretBlinkInterval):
3520 2012-12-03 Scott Violet <sky@chromium.org>
3522 [chromium] Remove linux theme related files and switch to default
3523 https://bugs.webkit.org/show_bug.cgi?id=103897
3525 Reviewed by Darin Fisher.
3527 linux theme related files are now named default. This removes
3528 linux files updates build files and removes ifdefs.
3530 * WebKit.gyp: update rules.
3531 * public/linux/WebRenderTheme.h: Removed.
3532 * src/WebViewImpl.cpp:
3533 (WebKit::WebViewImpl::setScrollbarColors): Update ifdefs
3534 (WebKit::WebViewImpl::setSelectionColors): Update ifdefs
3535 * src/linux/WebRenderTheme.cpp: Removed.
3537 2012-12-03 Fady Samuel <fsamuel@chromium.org>