1 2013-02-11 Alexei Filippov <alph@chromium.org>
3 Web Inspector: Split Profiler domain in protocol into Profiler and HeapProfiler
4 https://bugs.webkit.org/show_bug.cgi?id=108653
6 Reviewed by Yury Semikhatsky.
8 Currently CPU and heap profilers share the same domain 'Profiler' in the protocol.
9 In fact these two profile types have not too much in common. So put each into its own domain.
10 It should also help when Profiles panel gets split into several tools.
11 This is the phase 1 which adds InspectorHeapProfilerAgent but doesn't
12 change the original InspectorProfilerAgent.
14 * src/WebDevToolsAgentImpl.cpp:
15 (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
17 2013-02-11 Abhishek Arya <inferno@chromium.org>
19 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
20 https://bugs.webkit.org/show_bug.cgi?id=108981
22 Reviewed by Eric Seidel.
24 * src/AutofillPopupMenuClient.cpp:
25 (WebKit::AutofillPopupMenuClient::getSuggestion):
26 (WebKit::AutofillPopupMenuClient::getLabel):
27 (WebKit::AutofillPopupMenuClient::getIcon):
28 (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
29 (WebKit::AutofillPopupMenuClient::valueChanged):
30 (WebKit::AutofillPopupMenuClient::selectionChanged):
31 * src/ChromeClientImpl.cpp:
32 (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
34 2013-02-10 James Robinson <jamesr@chromium.org>
36 [chromium] Enable more of webkit_unit_tests in component builds
37 https://bugs.webkit.org/show_bug.cgi?id=109369
39 Reviewed by Darin Fisher.
41 Updates all webkit_unit_tests (except for LevelDBTest) to go through the Platform API instead of directly
42 calling into webkit_support so they work in component builds.
45 * tests/AssociatedURLLoaderTest.cpp:
46 * tests/EventListenerTest.cpp:
47 * tests/FrameTestHelpers.cpp:
48 (WebKit::FrameTestHelpers::createWebViewAndLoad):
50 (WebKit::FrameTestHelpers::QuitTask::run):
52 (WebKit::FrameTestHelpers::runPendingTasks):
53 * tests/FrameTestHelpers.h:
55 * tests/ListenerLeakTest.cpp:
56 * tests/PopupMenuTest.cpp:
57 * tests/PrerenderingTest.cpp:
58 * tests/ScrollingCoordinatorChromiumTest.cpp:
59 (WebKit::ScrollingCoordinatorChromiumTest::~ScrollingCoordinatorChromiumTest):
60 (WebKit::ScrollingCoordinatorChromiumTest::navigateTo):
61 * tests/URLTestHelpers.cpp:
62 (WebKit::URLTestHelpers::registerMockedURLLoad):
63 * tests/WebFrameTest.cpp:
64 * tests/WebImageTest.cpp:
66 * tests/WebPageNewSerializerTest.cpp:
67 * tests/WebPageSerializerTest.cpp:
68 * tests/WebPluginContainerTest.cpp:
69 (WebKit::WebPluginContainerTest::TearDown):
71 * tests/WebViewTest.cpp:
73 2013-02-10 Sheriff Bot <webkit.review.bot@gmail.com>
75 Unreviewed. Rolled Chromium DEPS to r181645. Requested by
76 "James Robinson" <jamesr@chromium.org> via sheriffbot.
80 2013-02-09 Stephen Chenney <schenney@chromium.org>
82 Unreviewed. Rolled Chromium DEPS to last-known good revision. Really this time.
86 2013-02-09 Sheriff Bot <webkit.review.bot@gmail.com>
88 Unreviewed. Rolled Chromium DEPS to last-known good revision.
89 Requested by "Stephen Chenney" <schenney@chromium.org> via
94 2013-02-08 Kent Tamura <tkent@chromium.org>
96 [Chromium] Disable ENABLE_INPUT_TYPE_DATETIME
97 https://bugs.webkit.org/show_bug.cgi?id=109272
99 Reviewed by Kentaro Hara.
101 We enabled this flag for desktop Chromium, but disabled the feature by a
102 runtime flag. We disables the compile flag too because we have no plan
103 to ship it in near future.
105 * features.gypi: Remove ENABLE_INPUT_TYPE_DATETIME.
107 2013-02-08 Stephen Chenney <schenney@chromium.org>
109 Remove Skia code suppressions
111 Unreviewed enabling of existing optimizations
113 Removing all skia_webkit.gyp code suppressions and adding expectations
118 2013-02-08 Dan Carney <dcarney@google.com>
120 [v8] isolate parameter added to all v8::peristent calls
121 https://bugs.webkit.org/show_bug.cgi?id=109268
123 Reviewed by Kentaro Hara.
125 * tests/WebFrameTest.cpp:
127 2013-02-07 Kent Tamura <tkent@chromium.org>
129 [Chromium-Android] Disable input[type=datetime]
130 https://bugs.webkit.org/show_bug.cgi?id=107614
132 Reviewed by Kentaro Hara.
135 http://lists.webkit.org/pipermail/webkit-dev/2013-January/023404.html
138 Disable ENABLE_INPUT_TYPE_DATETIME because of a wrong UI.
139 We enable it for non-Android ports but the runtime flag for it is
140 disabled by default. The runtime flag is enabled only in DumpRenderTree.
142 2013-02-07 Terry Anderson <tdanderson@chromium.org>
144 [chromium] Flings should not bubble up to enclosing scrollables when main-thread touch scrolling
145 https://bugs.webkit.org/show_bug.cgi?id=108719
147 Reviewed by Eric Seidel.
149 In the event of a main-thread touch fling, dispatch a series of
150 GestureScrollUpdateWithoutPropagation events defined in
151 https://bugs.webkit.org/show_bug.cgi?id=108849 (instead of
152 GestureScrollUpdate events) so that the fling does not
153 propagate to enclosing scrollables.
155 * src/WebViewImpl.cpp:
156 (WebKit::WebViewImpl::scrollBy):
158 2013-02-07 Kent Tamura <tkent@chromium.org>
160 [Chromium] Add a flag to enable native form validation message
161 https://bugs.webkit.org/show_bug.cgi?id=109134
163 Reviewed by Adam Barth.
165 * public/WebRuntimeFeatures.h:
166 (WebRuntimeFeatures): Add enableNativeValidationMessage and
167 isNativeValidationMessageEnabled.
168 * src/WebRuntimeFeatures.cpp:
169 (WebKit): Add nativeValidationMessageEnabled.
170 (WebKit::WebRuntimeFeatures::enableNativeValidationMessage): Added.
171 (WebKit::WebRuntimeFeatures::isNativeValidationMessageEnabled): Addedd.
172 * src/WebViewImpl.cpp:
173 (WebKit::WebViewImpl::WebViewImpl):
174 Fill Page::PageClients::validationMessageClient if the flag is true.
176 2013-02-07 Eberhard Graether <egraether@google.com>
178 Web Inspector: Add settings checkbox for composited layer borders
179 https://bugs.webkit.org/show_bug.cgi?id=109096
181 Reviewed by Pavel Feldman.
183 This change adds a checkbox to show composited layer borders to the WebInspector's
184 rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The setting
185 is visible if InspectorClient::canShowDebugBorders() returns true.
187 * src/InspectorClientImpl.cpp:
188 (WebKit::InspectorClientImpl::canShowDebugBorders):
190 (WebKit::InspectorClientImpl::setShowDebugBorders):
191 * src/InspectorClientImpl.h:
192 (InspectorClientImpl):
193 * src/WebViewImpl.cpp:
194 (WebKit::WebViewImpl::WebViewImpl):
195 (WebKit::WebViewImpl::setShowDebugBorders):
197 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
200 2013-02-07 Stephen White <senorblanco@chromium.org>
202 Unreviewed. Rolled DEPS.
206 2013-02-07 David Trainor <dtrainor@chromium.org>
208 Add null check to editable in moveCaretSelectionTowardsWindowPoint
209 https://bugs.webkit.org/show_bug.cgi?id=108962
211 Reviewed by Eric Seidel.
213 * src/WebFrameImpl.cpp:
214 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
215 * tests/WebFrameTest.cpp:
217 2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
219 Unreviewed. Rolled Chromium DEPS to r180752. Requested by
220 thakis_ via sheriffbot.
224 2013-02-06 Terry Anderson <tdanderson@chromium.org>
226 Add support for gesture scroll events that do not propagate to enclosing scrollables
227 https://bugs.webkit.org/show_bug.cgi?id=108849
229 Reviewed by Antonio Gomes.
231 Define the new event type GestureScrollUpdateWithoutPropagation.
233 * public/WebInputEvent.h:
234 (WebKit::WebInputEvent::isGestureEventType):
235 * src/PageWidgetDelegate.cpp:
236 (WebKit::PageWidgetDelegate::handleInputEvent):
237 * src/WebInputEventConversion.cpp:
238 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
239 * src/WebPluginContainerImpl.cpp:
240 * src/WebPopupMenuImpl.cpp:
241 (WebKit::WebPopupMenuImpl::handleInputEvent):
242 * src/WebViewImpl.cpp:
243 (WebKit::WebViewImpl::handleGestureEvent):
245 2013-02-06 Alexandre Elias <aelias@chromium.org>
247 Make ScrollView::paint() clip by visibleContentRect
248 https://bugs.webkit.org/show_bug.cgi?id=108888
250 Reviewed by Levi Weintraub.
252 When applyPageScaleFactorInCompositor or fixedVisibleContentRect
253 are used, frameRect() and visibleContentRect(true).size() are
254 no longer synonyms, and the latter is the one that should be
255 used for clipping paints.
257 New WebFrameTest: pageScaleFactorScalesPaintClip.
259 * tests/WebFrameTest.cpp:
261 2013-02-06 Sheriff Bot <webkit.review.bot@gmail.com>
263 Unreviewed, rolling out r142025.
264 http://trac.webkit.org/changeset/142025
265 https://bugs.webkit.org/show_bug.cgi?id=109091
267 broke the build (Requested by tdanderson on #webkit).
269 * public/WebInputEvent.h:
270 (WebKit::WebInputEvent::isGestureEventType):
271 * src/PageWidgetDelegate.cpp:
272 (WebKit::PageWidgetDelegate::handleInputEvent):
273 * src/WebInputEventConversion.cpp:
274 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
275 * src/WebPluginContainerImpl.cpp:
276 * src/WebPopupMenuImpl.cpp:
277 (WebKit::WebPopupMenuImpl::handleInputEvent):
278 * src/WebViewImpl.cpp:
279 (WebKit::WebViewImpl::handleGestureEvent):
281 2013-02-06 Daniel Cheng <dcheng@google.com>
283 [chromium] Remove "config.h" header from WebUnitTests.cpp
284 https://bugs.webkit.org/show_bug.cgi?id=108966
286 Reviewed by Tony Chang.
288 This file includes headers from base/ in Chromium, and config.h
289 conflicts with base/logging.h. Rather than teaching certain files in
290 base/ not to #include base/logging.h, remove the config.h include
291 here. The ASSERT isn't really necessary, as attempting to run a null
292 test suite won't go very far anyway.
294 * tests/WebUnitTests.cpp:
295 (WebKit::RunAllUnitTests):
297 2013-02-06 Terry Anderson <tdanderson@chromium.org>
299 Add support for gesture scroll events that do not propagate to enclosing scrollables
300 https://bugs.webkit.org/show_bug.cgi?id=108849
302 Reviewed by Antonio Gomes.
304 Define the new event type GestureScrollUpdateWithoutPropagation.
306 * public/WebInputEvent.h:
307 (WebKit::WebInputEvent::isGestureEventType):
308 * src/PageWidgetDelegate.cpp:
309 (WebKit::PageWidgetDelegate::handleInputEvent):
310 * src/WebInputEventConversion.cpp:
311 (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
312 * src/WebPluginContainerImpl.cpp:
313 * src/WebPopupMenuImpl.cpp:
314 (WebKit::WebPopupMenuImpl::handleInputEvent):
315 * src/WebViewImpl.cpp:
316 (WebKit::WebViewImpl::handleGestureEvent):
318 2013-02-06 Chris Hopman <cjhopman@chromium.org>
320 [Chromium] WebWidget should expose a way to determine the start/end of the selection bounds
321 https://bugs.webkit.org/show_bug.cgi?id=108667
323 Reviewed by Darin Fisher.
325 WebWidget::selectionBounds() returns the anchor and focus of the
326 selection. This matches the arguments to WebFrame::selectRange().
327 Add WebWidget::isSelectionAnchorFirst so that a caller can convert the
328 anchor/focus to start/end.
330 * public/WebWidget.h:
332 (WebKit::WebWidget::isSelectionAnchorFirst):
333 * src/WebViewImpl.cpp:
334 (WebKit::WebViewImpl::isSelectionAnchorFirst):
337 * tests/WebViewTest.cpp:
339 2013-02-06 Alec Flett <alecflett@chromium.org>
341 IndexedDB: Stub out SharedBuffer version of put()
342 https://bugs.webkit.org/show_bug.cgi?id=108986
344 Reviewed by Darin Fisher.
346 This is part 1 of 3 to replace Vector<uint8_t> with SharedBuffer.
348 * public/WebIDBDatabase.h:
350 (WebKit::WebIDBDatabase::put):
352 2013-02-06 Stephen Chenney <schenney@chromium.org>
354 Add Skia code suppression flags to WebKit skia.gyp
358 This is step one in removing these flags. First we get them into
359 WebKit, then we can remove them from Chrome.
363 2013-02-06 Mike West <mkwst@chromium.org>
365 Add an ENABLE_NOSNIFF feature flag.
366 https://bugs.webkit.org/show_bug.cgi?id=109029
368 Reviewed by Jochen Eisinger.
370 This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
371 when processing script and other resource types.
375 2013-02-05 David Dorwin <ddorwin@chromium.org>
377 [chromium] Explicitly destroy the WebMediaPlayer in WebMediaPlayerClientImpl's destructor
378 https://bugs.webkit.org/show_bug.cgi?id=108989
380 Reviewed by Kent Tamura.
382 * src/WebMediaPlayerClientImpl.cpp:
383 (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
385 2013-02-04 Kentaro Hara <haraken@chromium.org>
387 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
388 https://bugs.webkit.org/show_bug.cgi?id=108909
390 Reviewed by Adam Barth.
392 No tests. No change in behavior.
394 * src/WebBindings.cpp:
395 (WebKit::WebBindings::toV8Value):
397 2013-02-05 Kentaro Hara <haraken@chromium.org>
399 [V8] Make an Isolate parameter mandatory in HasInstance()
400 https://bugs.webkit.org/show_bug.cgi?id=108917
402 Reviewed by Adam Barth.
404 Because these methods do not have an Isolate, we have to call
405 v8::Isolate::GetCurrent().
407 No tests. No change in behavior.
409 * src/WebArrayBuffer.cpp:
410 (WebKit::WebArrayBuffer::createFromV8Value):
411 * src/WebArrayBufferView.cpp:
412 (WebKit::WebArrayBufferView::createFromV8Value):
413 * src/WebBindings.cpp:
414 (WebKit::getRangeImpl):
415 (WebKit::getNodeImpl):
416 (WebKit::getElementImpl):
417 (WebKit::getArrayBufferImpl):
418 (WebKit::getArrayBufferViewImpl):
419 (WebKit::WebBindings::getRange):
420 (WebKit::WebBindings::getArrayBuffer):
421 (WebKit::WebBindings::getArrayBufferView):
422 (WebKit::WebBindings::getNode):
423 (WebKit::WebBindings::getElement):
425 2013-02-05 Dana Jansens <danakj@chromium.org>
427 [chromium] Provide compositor offscreen context through the WebLayerTreeViewClient interface
428 https://bugs.webkit.org/show_bug.cgi?id=107776
430 Reviewed by James Robinson.
433 * src/WebGraphicsContext3D.cpp: Removed.
435 2013-02-05 Mark Lam <mark.lam@apple.com>
437 Introduced back-end database classes + a few small fixes.
438 https://bugs.webkit.org/show_bug.cgi?id=108759.
440 Reviewed by Brady Eidson.
442 * src/DatabaseObserver.cpp:
443 (WebCore::DatabaseObserver::databaseOpened):
444 (WebCore::DatabaseObserver::databaseModified):
445 (WebCore::DatabaseObserver::databaseClosed):
447 2013-02-05 Adam Barth <abarth@webkit.org>
449 DumpRenderTree should be able to enable the threaded parser
450 https://bugs.webkit.org/show_bug.cgi?id=108970
452 Reviewed by Eric Seidel.
454 * public/WebSettings.h:
455 * src/WebSettingsImpl.cpp:
456 (WebKit::WebSettingsImpl::setThreadedHTMLParser):
458 * src/WebSettingsImpl.h:
461 2013-02-05 Sami Kyostila <skyostil@chromium.org>
463 [chromium] Make overlay layers slow-scrolling
464 https://bugs.webkit.org/show_bug.cgi?id=108957
466 Reviewed by James Robinson.
468 Since overlay layers get inserted on top of everything else, we must
469 mark them slow-scrolling to prevent all scroll input events to the rest
470 of the page from getting blocked. This is also more correct because
471 generally the overlay contents need to be repainted whenever the scroll
472 offset changes, and with this patch the painting happens in sync with
475 2013-02-05 Sheriff Bot <webkit.review.bot@gmail.com>
477 Unreviewed, rolling out r141896.
478 http://trac.webkit.org/changeset/141896
479 https://bugs.webkit.org/show_bug.cgi?id=108956
481 crashes indexdb security tests (Requested by gavinp on
484 * public/platform/WebKitPlatformSupport.h:
486 (WebKitPlatformSupport):
487 (WebKit::WebKitPlatformSupport::idbFactory):
488 * src/IDBFactoryBackendProxy.cpp:
489 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
491 2013-02-05 Mark Pilgrim <pilgrim@chromium.org>
493 [Chromium] Remove idbFactory from WebKitPlatformSupport
494 https://bugs.webkit.org/show_bug.cgi?id=106457
496 Reviewed by Adam Barth.
498 Now that https://codereview.chromium.org/12181010/ has landed, the
499 idbFactory method is no longer needed. (Embedders must now call
500 the new setIDBFactory method upon initialization.) Part of a
501 larger refactoring series; see tracking bug 82948.
503 * public/platform/WebKitPlatformSupport.h:
505 * src/IDBFactoryBackendProxy.cpp:
506 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
508 2013-02-05 Kentaro Hara <haraken@chromium.org>
510 Unreviewed, rolling out r141865.
511 http://trac.webkit.org/changeset/141865
512 https://bugs.webkit.org/show_bug.cgi?id=108909
514 webkit unit tests are broken
516 * src/WebBindings.cpp:
517 (WebKit::WebBindings::toV8Value):
519 2013-02-05 Kentaro Hara <haraken@chromium.org>
521 [V8] Reduce usage of deprecatedString() and deprecatedInteger()
522 https://bugs.webkit.org/show_bug.cgi?id=108909
524 Reviewed by Adam Barth.
526 No tests. No change in behavior.
528 * src/WebBindings.cpp:
529 (WebKit::WebBindings::toV8Value):
531 2013-02-04 Sheriff Bot <webkit.review.bot@gmail.com>
533 Unreviewed. Rolled Chromium DEPS to r180583. Requested by
534 "Mark Pilgrim" <pilgrim@chromium.org> via sheriffbot.
538 2013-02-04 James Simonsen <simonjam@chromium.org>
540 [Chromium] Add a signal for when the body is inserted in the document
541 https://bugs.webkit.org/show_bug.cgi?id=108725
543 Reviewed by Adam Barth.
545 * public/WebFrameClient.h:
547 (WebKit::WebFrameClient::willInsertBody):
548 * src/FrameLoaderClientImpl.cpp:
549 (WebKit::FrameLoaderClientImpl::dispatchWillInsertBody):
551 * src/FrameLoaderClientImpl.h:
552 (FrameLoaderClientImpl):
553 * tests/WebFrameTest.cpp:
555 2013-02-04 Chris Hopman <cjhopman@chromium.org>
557 Make moveCaretTowardsWindowPoint not snap to the beginning/end when moved above/below editable
558 https://bugs.webkit.org/show_bug.cgi?id=107850
560 Reviewed by Ojan Vafai.
562 On Android, EditingBehavior::shouldMoveCaret[...] controls the
563 behavior of insertion handles. This change adds a new Android specific
564 editing behavior type so that we can change these settings independent
565 of behavior for other platforms.
567 * public/WebSettings.h:
568 * src/AssertMatchingEnums.cpp:
569 Just add the corresponding assertion for the new editing behavior.
571 * public/WebSettings.h:
572 * src/AssertMatchingEnums.cpp:
574 * tests/WebFrameTest.cpp:
575 * tests/data/move_caret.html: Added.
576 Add a test that moveCaretTowardsWindowPoint works as expected on
579 2013-01-31 Kentaro Hara <haraken@chromium.org>
581 Implement WheelEvent::deltaMode
582 https://bugs.webkit.org/show_bug.cgi?id=108455
584 Reviewed by Adam Barth.
586 * src/WebInputEventConversion.cpp:
587 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
589 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
591 [Chromium] Move WorkerContextProxy to WebCore
592 https://bugs.webkit.org/show_bug.cgi?id=108847
594 Reviewed by Adam Barth.
596 Part of a larger refactoring series; see tracking bug 106829.
600 (WebKit::initializeWithoutV8):
601 * src/WorkerContextProxy.cpp: Removed.
603 2013-02-04 Abhishek Arya <inferno@chromium.org>
605 Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
606 https://bugs.webkit.org/show_bug.cgi?id=108668
608 Reviewed by Eric Seidel.
610 * src/ContextFeaturesClientImpl.cpp:
611 (WebKit::ContextFeaturesCache::entryFor):
612 * src/WebFrameImpl.cpp:
613 (WebKit::WebFrameImpl::selectFindMatch):
615 2013-02-04 Mark Pilgrim <pilgrim@chromium.org>
617 [Chromium] Move IDBFactoryBackendInterface to WebCore
618 https://bugs.webkit.org/show_bug.cgi?id=108638
620 Reviewed by Adam Barth.
622 Part of a larger refactoring series; see tracking bug 106829.
625 * src/AssertMatchingEnums.cpp:
626 * src/IDBFactoryBackendInterface.cpp: Removed.
627 * src/IDBFactoryBackendProxy.h:
629 (WebKit::initializeWithoutV8):
631 2013-02-04 Abhishek Arya <inferno@chromium.org>
633 Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
634 https://bugs.webkit.org/show_bug.cgi?id=108688
636 Reviewed by Eric Seidel.
638 * src/IDBFactoryBackendProxy.cpp:
639 (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
640 (WebKit::getWebFrame):
641 * src/LocalFileSystemChromium.cpp:
642 (WebCore::LocalFileSystem::deleteFileSystem):
643 * src/WebSharedWorkerImpl.cpp:
644 (WebKit::WebSharedWorkerImpl::connectTask):
645 (WebKit::resumeWorkerContextTask):
646 (WebKit::connectToWorkerContextInspectorTask):
647 (WebKit::reconnectToWorkerContextInspectorTask):
648 (WebKit::disconnectFromWorkerContextInspectorTask):
649 (WebKit::dispatchOnInspectorBackendTask):
651 2013-02-04 Sami Kyostila <skyostil@chromium.org>
653 Disable -webkit-overflow-scrolling CSS attribute on Chromium
654 https://bugs.webkit.org/show_bug.cgi?id=108020
656 Reviewed by James Robinson.
658 Now that we can automatically promote overflow elements to accelerated
659 scrolling layers there is no use for the -webkit-overflow-scrolling CSS
660 attribute any longer on Chromium.
662 This patch enables composited overflow scrolling in
663 ScrollingCoordinatorChromiumTest. Because this also causes the overflow div
664 in non-fast-scrollable.html to become composited, we also need to modify that
665 test to opt it out of composited scrolling.
668 * tests/ScrollingCoordinatorChromiumTest.cpp:
669 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
671 * tests/data/non-fast-scrollable.html:
672 * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromium/tests/data/touch-overflow-scrolling.html.
674 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
676 Fix build warning after r141473
677 https://bugs.webkit.org/show_bug.cgi?id=108782
679 Reviewed by Kentaro Hara.
681 Fix -Wunused-parameter build warning.
683 * src/EditorClientImpl.cpp:
684 (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
686 2013-02-03 David Dorwin <ddorwin@chromium.org>
688 [chromium] Do not call m_widgetClient->show() for WebHelperPlugin.
689 https://bugs.webkit.org/show_bug.cgi?id=108740
691 Reviewed by Kent Tamura.
693 The calls to m_widgetClient->show() and setFocus() do not appear to be
694 necessary, and the former causes problems on at least on platform.
696 * src/WebHelperPluginImpl.cpp:
697 (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClient->show() and setFocus().
698 (WebKit::WebHelperPluginImpl::setFocus): Should never be called.
700 2013-02-02 Michael Nordman <michaeln@google.com>
702 [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
703 This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
704 sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
706 https://bugs.webkit.org/show_bug.cgi?id=108736
708 Reviewed by Darin Fisher.
710 * public/WebFileSystemCallbacks.h:
711 (WebFileSystemCallbacks):
712 (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile):
714 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
716 Unreviewed. Rolled Chromium DEPS to r180221. Requested by
717 "Nico Weber" <thakis@chromium.org> via sheriffbot.
721 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
723 Unreviewed. Rolled Chromium DEPS to r180186. Requested by
724 "Nico Weber" <thakis@chromium.org> via sheriffbot.
728 2013-02-01 Chris Hopman <cjhopman@chromium.org>
730 [Chromium] WebWidget::selectionBounds should return the bounds in document space
731 https://bugs.webkit.org/show_bug.cgi?id=108386
733 Reviewed by James Robinson.
735 When in applyPageScaleFactorInCompositor mode, selectionBounds needs
736 to scale the anchor/focus window points by the pageScaleFactor.
738 * src/WebViewImpl.cpp:
739 (WebKit::WebViewImpl::selectionBounds):
740 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
742 2013-02-01 Dominic Mazzoni <dmazzoni@google.com>
744 AX: memoize expensive computation during blocks where tree doesn't change
745 https://bugs.webkit.org/show_bug.cgi?id=106497
747 Reviewed by Ryosuke Niwa.
749 Expose two methods to enable and disable caching of
750 computed WebAccessibilityObject attributes, to speed up
751 batch read-only operations.
753 * public/WebAccessibilityObject.h:
754 (WebAccessibilityObject):
755 * src/WebAccessibilityObject.cpp:
756 (WebKit::WebAccessibilityObject::startCachingComputedObjectAttributesUntilTreeMutates):
758 (WebKit::WebAccessibilityObject::stopCachingComputedObjectAttributes):
760 2013-02-01 Fady Samuel <fsamuel@chromium.org>
762 [Chromium] Expose WebNode::shadowHost()
763 https://bugs.webkit.org/show_bug.cgi?id=108681
765 Reviewed by Dimitri Glazkov.
767 BrowserPlugin needs to be able to check the event listeners attached to
768 <webview> and so we expose shadowHost to permit it to poke at the webview
773 (WebKit::WebNode::shadowHost):
776 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
778 [Chromium] Ignore punctuation in spellcheck
779 https://bugs.webkit.org/show_bug.cgi?id=108511
781 Reviewed by Tony Chang.
783 * src/ContextMenuClientImpl.cpp:
784 (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect whitespace or punctuation.
785 (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling.
787 2013-02-01 Philip Rogers <pdr@google.com>
789 Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
790 https://bugs.webkit.org/show_bug.cgi?id=106966
792 Reviewed by Stephen White.
794 * tests/DragImageTest.cpp:
795 (WebCore::TestImage::currentFrameKnownToBeOpaque):
797 * tests/ImageLayerChromiumTest.cpp:
798 (WebCore::TestImage::currentFrameKnownToBeOpaque):
799 * tests/PlatformContextSkiaTest.cpp:
802 2013-02-01 Nico Weber <thakis@chromium.org>
804 [chromium] Build webkit with enable_web_intents set to 0.
805 https://bugs.webkit.org/show_bug.cgi?id=108408
807 Reviewed by Tony Chang.
809 I'll then make chromium build fine with that, then switch
810 enable_web_intents to 0, roll that into webkit, and then
811 actually remove the code hidden behind this flag.
813 The features.gypi bit depends on https://codereview.chromium.org/12143002/
814 and will disable web intents support on android. Since common.gypi
815 sets enable_web_intents to 0 explicitly, it seems this is currently on
818 While it looks like this CL just removes ENABLE_WEB_INTENTS=1 from
819 features.gypi completely, it's still set further down the file if
820 enable_web_intents is on.
824 * src/WebFrameImpl.cpp:
826 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org>
828 [Chromium] Ignore whitespace in spellcheck
829 https://bugs.webkit.org/show_bug.cgi?id=108510
831 Reviewed by Ryosuke Niwa.
833 * src/ContextMenuClientImpl.cpp:
834 (WebKit::selectMisspellingAsync): Ignore whitespace when selecting the misspelling.
836 2013-02-01 Sheriff Bot <webkit.review.bot@gmail.com>
838 Unreviewed. Rolled Chromium DEPS to r180131. Requested by
839 "Florin Malita" <fmalita@chromium.org> via sheriffbot.
843 2013-02-01 Alexis Menard <alexis@webkit.org>
845 Enable unprefixed CSS transitions by default.
846 https://bugs.webkit.org/show_bug.cgi?id=108216
848 Reviewed by Dean Jackson.
850 Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
851 to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
852 guard the unprefixing work for CSS Transforms and animations.
856 2013-02-01 Ken Kania <kkania@chromium.org>
858 Web Inspector: Add support for handling modal dialogs
859 https://bugs.webkit.org/show_bug.cgi?id=107883
861 Reviewed by Pavel Feldman.
863 Introduce support for being notified when a JavaScript modal dialog
864 is opening and closing, as well as a new command for accepting or
865 dismissing the dialog.
867 * public/WebDevToolsAgent.h:
868 * src/InspectorClientImpl.cpp:
869 (WebKit::InspectorClientImpl::handleJavaScriptDialog):
871 * src/InspectorClientImpl.h:
872 (InspectorClientImpl):
873 * src/WebDevToolsAgentImpl.cpp:
874 (BrowserDataHintStringValues):
875 (WebKit::WebDevToolsAgentImpl::captureScreenshot):
876 (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
878 (WebKit::browserHintToString):
879 (WebKit::browserHintFromString):
880 (WebKit::WebDevToolsAgent::patchWithBrowserData):
881 * src/WebDevToolsAgentImpl.h:
882 (WebDevToolsAgentImpl):
884 2013-02-01 Dan Alcantara <dfalcantara@chromium.org>
886 Touch disambiguation blacklist is not being queried properly
887 https://bugs.webkit.org/show_bug.cgi?id=108222
889 Reviewed by Adam Barth.
891 TEST=WebFrameTest::DisambiguationPopupBlacklist
893 Fix the blacklist so that we check it for the right nodes.
894 Add a test to check that the blacklist is being built and used
895 correctly. Also update the other DisambiguationPopup tests to
896 use the new page scale method.
898 * tests/WebFrameTest.cpp:
899 * tests/data/disambiguation_popup_blacklist.html: Added.
901 2013-02-01 Eberhard Graether <egraether@google.com>
903 [chromium] only show checkboxes for FPS meter and continuous painting when compositing mode is forced
904 https://bugs.webkit.org/show_bug.cgi?id=108236
906 Reviewed by Pavel Feldman.
908 This change hides the checkboxes for FPS meter and continuous painting if compositing mode is not forced.
909 This way the checkboxes only show up for users that can make use of these features.
911 * src/InspectorClientImpl.cpp:
912 (WebKit::InspectorClientImpl::canShowFPSCounter):
913 (WebKit::InspectorClientImpl::canContinuouslyPaint):
915 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
917 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
918 https://bugs.webkit.org/show_bug.cgi?id=107737
920 Reviewed by Ryosuke Niwa.
922 * public/WebViewClient.h:
923 (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
924 Adding a callback to let the WebViewClient know that the composition has been cancelled.
925 * src/EditorClientImpl.cpp:
926 (WebKit::EditorClientImpl::respondToChangedSelection):
927 Adding a call composition if it is no longer valid.
929 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
931 [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141479
932 https://bugs.webkit.org/show_bug.cgi?id=108543
934 Reviewed by Ryosuke Niwa.
936 Fixing a bug that was uncovered after fixing http://trac.webkit.org/changeset/141479
938 * src/WebViewImpl.cpp:
939 (WebKit::WebViewImpl::setCompositionFromExistingText):
940 * tests/WebViewTest.cpp:
943 2013-01-31 Hajime Morrita <morrita@google.com>
945 Unreviewed, followup fix for r141535.
947 * tests/WebFrameTest.cpp:
949 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
951 Unreviewed. Rolled Chromium DEPS to r180023. Requested by
952 thakis_ via sheriffbot.
956 2013-01-31 Hajime Morrita <morrita@google.com>
958 Unreviewed, disabling failing test.
960 * tests/WebFrameTest.cpp:
962 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
964 Unreviewed, rolling out r141479.
965 http://trac.webkit.org/changeset/141479
966 https://bugs.webkit.org/show_bug.cgi?id=108564
968 breaks chromium test (Requested by morrita on #webkit).
970 * public/WebViewClient.h:
971 * src/EditorClientImpl.cpp:
972 (WebKit::EditorClientImpl::respondToChangedSelection):
974 2013-01-31 Alec Flett <alecflett@chromium.org>
976 IndexedDB: remove old transaction backend bootstrap code
977 https://bugs.webkit.org/show_bug.cgi?id=103923
979 Reviewed by Dimitri Glazkov.
981 Remove all deprecated WebKit APIs from
985 * public/WebIDBCallbacks.h:
987 * public/WebIDBDatabase.h:
989 * public/WebIDBTransaction.h: Removed.
990 * public/WebIDBTransactionCallbacks.h: Removed.
991 * src/AssertMatchingEnums.cpp:
992 * src/IDBCallbacksProxy.cpp:
993 * src/IDBDatabaseBackendProxy.cpp:
994 * src/IDBDatabaseBackendProxy.h:
995 (IDBDatabaseBackendProxy):
996 * src/IDBTransactionBackendProxy.cpp: Removed.
997 * src/IDBTransactionBackendProxy.h: Removed.
998 * src/IDBTransactionCallbacksProxy.cpp: Removed.
999 * src/IDBTransactionCallbacksProxy.h: Removed.
1000 * src/WebIDBCallbacksImpl.cpp:
1001 * src/WebIDBDatabaseImpl.cpp:
1003 * src/WebIDBDatabaseImpl.h:
1005 (WebIDBDatabaseImpl):
1006 * src/WebIDBTransactionCallbacksImpl.cpp: Removed.
1007 * src/WebIDBTransactionCallbacksImpl.h: Removed.
1008 * src/WebIDBTransactionImpl.cpp: Removed.
1009 * src/WebIDBTransactionImpl.h: Removed.
1010 * tests/IDBAbortOnCorruptTest.cpp:
1011 * tests/IDBDatabaseBackendTest.cpp:
1013 2013-01-31 Rouslan Solomakhin <rouslan@chromium.org>
1015 [Chromium] Select multi-word misspelling on context click
1016 https://bugs.webkit.org/show_bug.cgi?id=108509
1018 Reviewed by Tony Chang.
1020 * src/ContextMenuClientImpl.cpp:
1022 (WebKit::selectMisspellingAsync): Added utility function to get the misspelling for asynchronous spellcheck.
1023 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Select multi-word misspelling on context click.
1025 2013-01-31 Florin Malita <fmalita@chromium.org>
1027 [Chromium] Unreviewed gardening.
1029 WebViewTest.SetCompositionFromExistingText failing after r141479.
1031 * tests/WebViewTest.cpp:
1033 2013-01-31 Alexandre Elias <aelias@chromium.org>
1035 [chromium] Rework page scale factor limits initialization
1036 https://bugs.webkit.org/show_bug.cgi?id=108446
1038 Reviewed by James Robinson.
1040 When loading a page with viewportEnabled, both the limits
1041 specified by the viewport tag and the content width need to be
1042 considered before we initialize the minimum page scale (and
1043 pageScaleFactor itself usually to the same value). The timing has
1044 proven tricky to get correct.
1046 This patch simplifies the flow by computing the
1047 limits only at the end of layouts and at no other time. In combination
1048 with https://bugs.webkit.org/show_bug.cgi?id=107922 which sets
1049 needsLayout() appropriately, this results in a more robust and easy
1050 to understand sequence.
1052 Fixes FixedLayoutInitializeAtMinimumPageScale test.
1054 * src/ChromeClientImpl.cpp:
1055 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
1056 * src/WebViewImpl.cpp:
1057 (WebKit::WebViewImpl::WebViewImpl):
1058 (WebKit::WebViewImpl::resize):
1059 (WebKit::WebViewImpl::setPageScaleFactorLimits):
1060 (WebKit::WebViewImpl::computePageScaleFactorLimits):
1061 (WebKit::WebViewImpl::layoutUpdated):
1062 (WebKit::WebViewImpl::didChangeContentsSize):
1063 * src/WebViewImpl.h:
1064 (WebKit::WebViewImpl::setInitialPageScaleFactor):
1066 * tests/WebFrameTest.cpp:
1068 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
1070 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1071 https://bugs.webkit.org/show_bug.cgi?id=107737
1073 Reviewed by Ryosuke Niwa.
1075 * public/WebViewClient.h:
1076 (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
1077 Adding a callback to let the WebViewClient know that the composition has been cancelled.
1078 * src/EditorClientImpl.cpp:
1079 (WebKit::EditorClientImpl::respondToChangedSelection):
1080 Adding a call composition if it is no longer valid.
1082 2013-01-31 Mark Pilgrim <pilgrim@chromium.org>
1084 [Chromium] Move LocalizedStrings to WebCore
1085 https://bugs.webkit.org/show_bug.cgi?id=108488
1087 Reviewed by Adam Barth.
1089 Part of a larger refactoring series; see tracking bug 106829.
1092 * src/LocalizedStrings.cpp: Removed.
1094 2013-01-31 Enrica Casucci <enrica@apple.com>
1096 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
1097 https://bugs.webkit.org/show_bug.cgi?id=108396.
1098 <rdar://problem/12920461>
1100 Reviewed by Alexey Proskuryakov.
1102 Adds stub implementation for WebKit of the new EditorClient methods.
1104 * src/EditorClientImpl.cpp:
1105 (WebKit::EditorClientImpl::willWriteSelectionToPasteboard):
1106 (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
1107 * src/EditorClientImpl.h:
1109 2013-01-31 Chris Hopman <cjhopman@chromium.org>
1111 [chromium] Make selection handling work in applyPageScaleInCompositor mode
1112 https://bugs.webkit.org/show_bug.cgi?id=107831
1114 Reviewed by Ryosuke Niwa.
1116 These functions expect a window point. When in
1117 applyPageScaleFactorInCompositor mode, the points need to be unscaled
1118 by the page scale factor.
1120 * src/WebFrameImpl.cpp:
1121 (WebKit::WebFrameImpl::selectRange):
1122 (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
1124 2013-01-31 Tom Sepez <tsepez@chromium.org>
1126 [v8] Enable binding integrity on mac
1127 https://bugs.webkit.org/show_bug.cgi?id=108500
1129 Reviewed by Adam Barth.
1131 Patch is correct if existing tests pass without new crashes.
1134 Set ENABLE_BINDING_INTEGRITY=1 when OS=="mac"
1136 2013-01-31 Dan Alcantara <dfalcantara@chromium.org>
1138 WebFrameTest.DisambiguationPopup is failing
1139 https://bugs.webkit.org/show_bug.cgi?id=108160
1141 Reviewed by Adam Barth.
1143 Fix the unit test so that it is using the right HTML file.
1145 * tests/WebFrameTest.cpp:
1147 2013-01-31 Tony Chang <tony@chromium.org>
1149 [Chromium] webkit_unit_tests should depend on base/allocator for ASAN
1150 https://bugs.webkit.org/show_bug.cgi?id=108497
1152 Reviewed by James Robinson.
1154 * WebKitUnitTests.gyp:
1156 2013-01-31 Alexandre Elias <aelias@chromium.org>
1158 Call FrameView::contentsResized() when setting fixed layout size
1159 https://bugs.webkit.org/show_bug.cgi?id=107922
1161 Reviewed by James Robinson.
1163 In fixed layout mode, we should be calling contentsResized() when the
1164 fixed layout size is changed, but not laying out when the visible
1165 content rect changes.
1167 Previously landed as r140869 but was reverted due to a bug in bundled
1168 Chromium-specific code. This patch includes just the minimum needed in
1171 New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize. Some
1172 flaky and obsolete tests for the old page scale mode are also deleted.
1174 * tests/WebFrameTest.cpp:
1176 2013-01-31 Tommy Widenflycht <tommyw@google.com>
1178 [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
1179 https://bugs.webkit.org/show_bug.cgi?id=108458
1181 Reviewed by Adam Barth.
1183 Only renames, no other code changes.
1185 * public/WebMediaStreamRegistry.h:
1187 (WebMediaStreamRegistry):
1188 * public/WebUserMediaRequest.h:
1190 (WebUserMediaRequest):
1191 * src/WebMediaStreamRegistry.cpp:
1192 (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
1193 * src/WebUserMediaRequest.cpp:
1194 (WebKit::WebUserMediaRequest::requestSucceeded):
1196 2013-01-31 Alec Flett <alecflett@chromium.org>
1198 IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
1199 https://bugs.webkit.org/show_bug.cgi?id=108399
1201 Reviewed by Dimitri Glazkov.
1203 Cleanup now that chromium proxies the new signatures through.
1205 * src/IDBCallbacksProxy.cpp:
1206 (WebKit::IDBCallbacksProxy::onSuccess):
1207 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1208 * src/IDBCallbacksProxy.h:
1209 (IDBCallbacksProxy):
1210 * src/WebIDBCallbacksImpl.cpp:
1211 * src/WebIDBCallbacksImpl.h:
1212 (WebIDBCallbacksImpl):
1214 2013-01-31 James Robinson <jamesr@chromium.org>
1216 [chromium] Remove dead transitional code from WebViewImpl
1217 https://bugs.webkit.org/show_bug.cgi?id=107889
1219 Reviewed by Adam Barth.
1221 The chromium side of this landed at r178256 and seems stable.
1223 * public/WebWidget.h:
1224 (WebKit::WebWidget::setCompositorSurfaceReady):
1225 * src/WebViewImpl.cpp:
1226 (WebKit::WebViewImpl::WebViewImpl):
1227 (WebKit::WebViewImpl::~WebViewImpl):
1229 (WebKit::WebViewImpl::setIsTransparent):
1230 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1231 * src/WebViewImpl.h:
1232 * tests/ScrollingCoordinatorChromiumTest.cpp:
1233 (WebKit::FakeWebViewClient::initializeLayerTreeView):
1234 (FakeWebViewClient):
1235 (WebKit::FakeWebViewClient::layerTreeView):
1236 (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
1237 (ScrollingCoordinatorChromiumTest):
1239 2013-01-31 Kentaro Hara <haraken@chromium.org>
1241 Rename WheelEvent::Granularity to WheelEvent::DeltaMode
1242 https://bugs.webkit.org/show_bug.cgi?id=108434
1244 Reviewed by Ryosuke Niwa.
1246 Per the spec, WheelEvent::Granularity should be renamed to WheelEvent::DeltaMode.
1248 Spec: http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
1249 https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wheelevent
1251 No tests. No change in behavior.
1253 * src/WebInputEventConversion.cpp:
1254 (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1255 (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
1257 2013-01-31 Yury Semikhatsky <yurys@chromium.org>
1259 Unreviewed. Bump Chromium dependency to 179332
1263 2013-01-31 Mark Pilgrim <pilgrim@chromium.org>
1265 [Chromium] Move MediaPlayerPrivateChromium to WebCore
1266 https://bugs.webkit.org/show_bug.cgi?id=108415
1268 Reviewed by Adam Barth.
1270 Part of a larger refactoring series; see tracking bug 106829.
1273 * src/MediaPlayerPrivateChromium.cpp: Removed.
1275 (WebKit::initializeWithoutV8): call new setter function in
1276 WebCore::MediaPlayerPrivate
1278 2013-01-30 Sheriff Bot <webkit.review.bot@gmail.com>
1280 Unreviewed, rolling out r141358.
1281 http://trac.webkit.org/changeset/141358
1282 https://bugs.webkit.org/show_bug.cgi?id=108421
1284 breaks android builder (Requested by morrita on #webkit).
1288 * src/WebFrameImpl.cpp:
1290 2013-01-30 Nico Weber <thakis@chromium.org>
1292 [chromium] Build webkit with enable_web_intents set to 0.
1293 https://bugs.webkit.org/show_bug.cgi?id=108408
1295 Reviewed by Kentaro Hara.
1297 I'll then make chromium build fine with that, then switch
1298 enable_web_intents to 0, roll that into webkit, and then
1299 actually remove the code hidden behind this flag.
1303 * src/WebFrameImpl.cpp:
1305 2013-01-30 Levi Weintraub <leviw@chromium.org>
1307 [Chromium] WebPluginContainerImpl adding imbalanced touch handler refs
1308 https://bugs.webkit.org/show_bug.cgi?id=108381
1310 Reviewed by James Robinson.
1312 WebPluginContainerImpl would call Document::didAddTouchEventHandler every time the plugin requested
1313 touch events. Some plugins make this request more than once, leading to an imbalance in Document's
1314 touch event handler map, and a stale node pointer when the plugin is destroyed. This change
1315 has WebPluginContainerImpl only add one ref for the plugin at a time.
1317 * src/WebPluginContainerImpl.cpp:
1318 (WebKit::WebPluginContainerImpl::requestTouchEventType):
1320 2013-01-30 Yusuf Ozuysal <yusufo@google.com>
1322 Start sending scrollType as NonBubblingGesture for flings
1323 https://bugs.webkit.org/show_bug.cgi?id=108372
1325 Reviewed by James Robinson.
1327 * src/WebCompositorInputHandlerImpl.cpp:
1328 (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
1330 2013-01-30 Tien-Ren Chen <trchen@chromium.org>
1332 [chromium] Add WebFrame::visibleContentRect()
1333 https://bugs.webkit.org/show_bug.cgi?id=108311
1335 Reviewed by James Robinson.
1337 * public/WebFrame.h:
1338 * src/WebFrameImpl.cpp:
1339 (WebKit::WebFrameImpl::visibleContentRect):
1341 * src/WebFrameImpl.h:
1344 2013-01-30 Kentaro Hara <haraken@chromium.org>
1346 Implement KeyboardEvent constructor
1347 https://bugs.webkit.org/show_bug.cgi?id=108320
1349 Reviewed by Adam Barth.
1351 Renamed keyboard event constant variables to avoid style errors.
1353 * src/WebInputEventConversion.cpp:
1354 (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
1355 * tests/WebInputEventConversionTest.cpp:
1356 * tests/WebInputEventFactoryTestGtk.cpp:
1358 2013-01-30 Kentaro Hara <haraken@chromium.org>
1360 Implement WheelEvent constructor
1361 https://bugs.webkit.org/show_bug.cgi?id=108303
1363 Reviewed by Adam Barth.
1365 This patch just renames an enum value to avoid style check error.
1367 * src/WebViewImpl.cpp:
1368 (WebKit::WebViewImpl::scrollBy):
1370 2013-01-30 Dana Jansens <danakj@chromium.org>
1372 [chromium] Add recordRenderingStats to WebSettings
1373 https://bugs.webkit.org/show_bug.cgi?id=108358
1375 Reviewed by James Robinson.
1377 * public/WebSettings.h:
1378 * src/WebSettingsImpl.cpp:
1379 (WebKit::WebSettingsImpl::setRecordRenderingStats):
1381 * src/WebSettingsImpl.h:
1383 (WebKit::WebSettingsImpl::recordRenderingStats):
1384 * src/WebViewImpl.cpp:
1385 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1387 2013-01-30 Tony Gentilcore <tonyg@chromium.org>
1389 Fix compile error in WebFrameTest
1390 https://bugs.webkit.org/show_bug.cgi?id=108360
1392 Unreviewed build fix.
1394 Fixes compile error:
1395 ../../Source/WebKit/chromium/tests/WebFrameTest.cpp:330:5: error: converting false to pointer type for argument 1 of char testing::internal::IsNullLiteralHelper(testing::internal::Secret*) [-Werror=conversion-null]
1397 * tests/WebFrameTest.cpp:
1399 2013-01-30 John Knottenbelt <jknotten@chromium.org>
1401 [Chromium] Fix find in page rects for overflowing content.
1402 https://bugs.webkit.org/show_bug.cgi?id=104924
1404 Reviewed by Julien Chaffraix.
1406 If a div has overflowing content, we should only normalise its
1407 coordinates against the renderview or the containing scrollable block.
1409 TEST=WebFrameTest.FindInPageMatchRects
1411 * src/FindInPageCoordinates.cpp:
1412 (WebKit::enclosingScrollableAncestor):
1413 Helper function to find the enclosing containing block with an overflow clip.
1414 (WebKit::toNormalizedRect):
1415 Pass in the container as an argument.
1416 (WebKit::findInPageRectFromAbsoluteRect):
1417 Compute the container for toNormalizedRect using enclosingScrollableAncestor.
1418 * tests/WebFrameTest.cpp:
1419 Add expectations for new tests in WebFrameTest::FindInPageMatchRects and WebFrameTest::FindInPage.
1420 * tests/data/find.html:
1421 Add test case for <select> element.
1422 * tests/data/find_in_page_frame.html:
1424 - Result 15, 16 tests that containing <div> with style float:left and
1425 height:0px does not impact coordinate normalization.
1426 - Result 17, 18 tests that matches with absolute positioning are normalized containing
1427 relative positioned block, even if there is a closer parent block with overflow clip.
1428 - Result 19 adds a test case for <select> element.
1430 2013-01-30 Dominik Röttsches <dominik.rottsches@intel.com>
1432 [HarfBuzz] Remove the HarfBuzz-old code
1433 https://bugs.webkit.org/show_bug.cgi?id=108077
1435 Reviewed by Benjamin Poulain.
1437 Rename WTF_USE_HARFBUZZ_NG to WTF_USE_HARFBUZZ since there
1438 won't be a distinction between ng and non-ng HarfBuzz after
1439 removing the old code.
1443 2013-01-30 Jochen Eisinger <jochen@chromium.org>
1445 [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
1446 https://bugs.webkit.org/show_bug.cgi?id=108004
1447 http://code.google.com/p/chromium/issues/detail?id=172416
1449 console.debug triggers a NOTREACHED() assertation in Chromium. This
1450 is because WebCore::MessageLevel contains 5 levels, including debug,
1451 where WebConsoleMessage::Level is missing a "debug" level. Add a
1452 WebConsoleMessage::LevelDebug so that it can get passed up to the
1453 renderer even if it doesn't make use of that now.
1455 Requires another patch to chromium itself to fix chromium bug 172416
1456 but this is a prerequisite.
1458 Also add an enum compile time check to AssertMatchingEnums.cpp,
1460 Patch by Kevin Day <kevinday@gmail.com> on 2013-01-28
1461 Reviewed by Jochen Eisinger.
1463 * public/WebConsoleMessage.h:
1464 * src/AssertMatchingEnums.cpp:
1465 * src/WebFrameImpl.cpp:
1466 (WebKit::WebFrameImpl::addMessageToConsole):
1468 2013-01-30 Xianzhu Wang <wangxianzhu@chromium.org>
1470 [Chromium] Correct zoom for focused node when using compositor scaling
1471 https://bugs.webkit.org/show_bug.cgi?id=107599
1473 Reviewed by Adam Barth.
1475 When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
1476 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
1478 Reapply r141153. Added font-size in html to ensure same caret size across platforms.
1480 * src/WebViewImpl.cpp:
1481 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1483 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
1484 * src/WebViewImpl.h:
1486 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
1487 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1489 2013-01-29 Mark Lam <mark.lam@apple.com>
1491 Rename AbstractDatabase to DatabaseBackend.
1492 https://bugs.webkit.org/show_bug.cgi?id=108275.
1494 Reviewed by Sam Weinig.
1496 This is a pure rename operation as part of the webdatabase refactoring
1497 effort. There is no semantic change in this patch.
1499 * public/WebDatabase.h:
1501 * src/DatabaseObserver.cpp:
1502 (WebCore::DatabaseObserver::databaseOpened):
1503 (WebCore::DatabaseObserver::databaseModified):
1504 (WebCore::DatabaseObserver::databaseClosed):
1505 (WebCore::DatabaseObserver::reportOpenDatabaseResult):
1506 (WebCore::DatabaseObserver::reportChangeVersionResult):
1507 (WebCore::DatabaseObserver::reportStartTransactionResult):
1508 (WebCore::DatabaseObserver::reportCommitTransactionResult):
1509 (WebCore::DatabaseObserver::reportExecuteStatementResult):
1510 (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
1511 * src/WebDatabase.cpp:
1512 (WebKit::WebDatabase::WebDatabase):
1514 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
1516 Unreviewed, rolling out r141153.
1517 http://trac.webkit.org/changeset/141153
1518 https://bugs.webkit.org/show_bug.cgi?id=108280
1520 Caused WebFrameTest.DivScrollIntoEditableTest to fail on Mac.
1521 (Requested by keishi on #webkit).
1523 * src/WebViewImpl.cpp:
1524 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1525 * src/WebViewImpl.h:
1527 * tests/WebFrameTest.cpp:
1528 * tests/data/get_scale_for_zoom_into_editable_test.html:
1530 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
1532 Unreviewed, rolling out r140983.
1533 http://trac.webkit.org/changeset/140983
1534 https://bugs.webkit.org/show_bug.cgi?id=108277
1536 Unfortunately, this API has one last client (Requested by
1539 * src/WebNotification.cpp:
1540 (WebKit::WebNotification::isHTML):
1541 (WebKit::WebNotification::url):
1542 (WebKit::WebNotification::iconURL):
1543 (WebKit::WebNotification::title):
1544 (WebKit::WebNotification::body):
1546 2013-01-29 Shinya Kawanaka <shinyak@chromium.org>
1548 [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
1549 https://bugs.webkit.org/show_bug.cgi?id=106287
1551 Reviewed by Hajime Morita.
1553 When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
1554 does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
1555 a document element. However, the inner element and document element have a different tree scope, selection range
1556 cannot be gotten correctly.
1558 We should use ShadowRoot instead of document so that we can stay in the same tree scope.
1560 * src/WebViewImpl.cpp:
1561 (WebKit::WebViewImpl::caretOrSelectionRange):
1562 * tests/WebViewTest.cpp:
1563 * tests/data/selection_disabled.html: Added.
1564 * tests/data/selection_readonly.html: Added.
1566 2013-01-29 Tom Sepez <tsepez@chromium.org>
1568 [v8] Enable binding integrity on linux
1569 https://bugs.webkit.org/show_bug.cgi?id=108242
1571 Reviewed by Adam Barth.
1575 2013-01-29 Xianzhu Wang <wangxianzhu@chromium.org>
1577 [Chromium] Correct zoom for focused node when using compositor scaling
1578 https://bugs.webkit.org/show_bug.cgi?id=107599
1580 Reviewed by Adam Barth.
1582 When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
1583 When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
1585 * src/WebViewImpl.cpp:
1586 (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1588 (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
1589 * src/WebViewImpl.h:
1591 * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
1592 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1594 2013-01-29 Alec Flett <alecflett@chromium.org>
1596 IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
1597 https://bugs.webkit.org/show_bug.cgi?id=103920
1599 Reviewed by Dimitri Glazkov.
1601 Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
1602 while maintaining chromium compatibility by shimming in the old API
1603 in the WebKit side. Future code will clean this up so that it is just a
1604 pass-through as it was before.
1606 * public/WebIDBCallbacks.h:
1608 (WebKit::WebIDBCallbacks::onSuccess): new method signature.
1609 (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
1610 * src/IDBCallbacksProxy.cpp:
1611 (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
1613 (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
1614 * src/IDBCallbacksProxy.h:
1615 (IDBCallbacksProxy):
1616 * src/WebIDBCallbacksImpl.cpp:
1617 (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
1619 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
1620 * src/WebIDBCallbacksImpl.h:
1621 (WebIDBCallbacksImpl):
1622 * tests/IDBAbortOnCorruptTest.cpp: new method signature.
1623 (WebCore::MockIDBCallbacks::onSuccess):
1624 * tests/IDBDatabaseBackendTest.cpp: new method signature.
1626 2013-01-29 Alexandre Elias <aelias@chromium.org>
1628 [chromium] Fix contents size calculation for page scale initialization
1629 https://bugs.webkit.org/show_bug.cgi?id=108204
1633 My previous patch http://webk.it/107424 had a few issues that are
1634 blocking WebKit roll.
1636 - We still need the layout in resize() given that
1637 http://webk.it/107922 was reverted.
1639 - I deleted code used only for the old page-scale mode in
1640 contentsSize(), but this needs to wait until WebKit roll since it's
1641 making bots fail in this short term.
1643 * src/WebViewImpl.cpp:
1644 (WebKit::WebViewImpl::resize):
1645 (WebKit::WebViewImpl::contentsSize):
1647 2013-01-29 Alpha Lam <hclam@chromium.org>
1649 [chromium] Unreviewed DEPS roll.
1651 Roll Chromium DEPS to 179332.
1655 2013-01-29 Joshua Bell <jsbell@chromium.org>
1657 [Chromium] IndexedDB: Let callers specify reason (error) for aborting transaction
1658 https://bugs.webkit.org/show_bug.cgi?id=107851
1660 Reviewed by Tony Chang.
1662 Let Chromium call abort() on a transaction and specify a reason, specifically for
1665 * public/WebIDBDatabase.h:
1666 (WebKit::WebIDBDatabase::abort): New overload for abort() that takes an error.
1667 * public/WebIDBDatabaseError.h:
1668 (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): Overloaded constructor/assign that takes error.
1669 * src/IDBDatabaseBackendProxy.cpp:
1670 (WebKit::IDBDatabaseBackendProxy::abort): New overload for abort() that takes an error.
1671 * src/IDBDatabaseBackendProxy.h:
1672 (IDBDatabaseBackendProxy): Ditto.
1673 * src/WebIDBDatabaseError.cpp: Implementation of overload ctor/assign.
1674 * src/WebIDBDatabaseImpl.cpp:
1675 (WebKit::WebIDBDatabaseImpl::abort): New overload for abort() that takes an error.
1676 * src/WebIDBDatabaseImpl.h: Ditto.
1677 * tests/IDBDatabaseBackendTest.cpp: Overload stubs for Mock class.
1679 2013-01-29 Florin Malita <fmalita@chromium.org>
1681 [Chromium] Unreviewed gardening.
1683 Disable WebFrameTest.pageScaleFactorShrinksViewport (pending investigation after r141053).
1685 * tests/WebFrameTest.cpp:
1687 2013-01-29 Keishi Hattori <keishi@webkit.org>
1689 [Chromium] Disabling WebFrameTest.DisambiguationPopupMobileSite because WebFrameTest is still failing after r141073.
1691 Unreviewed. Gardening.
1693 * tests/WebFrameTest.cpp:
1695 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
1697 Unreviewed, rolling out r141064.
1698 http://trac.webkit.org/changeset/141064
1699 https://bugs.webkit.org/show_bug.cgi?id=108166
1701 [Chromium] WebFrameTest.DivScrollIntoEditableTest is failing
1702 on WinXP. (Requested by keishi on #webkit).
1704 * tests/WebFrameTest.cpp:
1705 * tests/data/get_scale_for_zoom_into_editable_test.html:
1707 2013-01-29 Keishi Hattori <keishi@webkit.org>
1709 [Chromium] Disabling WebFrameTest.DisambiguationPopup because it is failing.
1711 Unreviewed. Gardening.
1713 * tests/WebFrameTest.cpp:
1715 2013-01-28 Xianzhu Wang <wangxianzhu@chromium.org>
1717 Re-enable WebFrameTest.DivScrollIntoEditableTest
1718 https://bugs.webkit.org/show_bug.cgi?id=98558
1720 Reviewed by Adam Barth.
1722 * tests/WebFrameTest.cpp: Fixed several issues (onload script, the maximum scale factor, etc.) of WebFrameTest.DivScrollIntoEditableTest and enable it.
1723 * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1725 2013-01-28 Tien-Ren Chen <trchen@chromium.org>
1727 Fix disambiguation popup for new-style page scale
1728 https://bugs.webkit.org/show_bug.cgi?id=107391
1730 Reviewed by Adam Barth.
1732 This patch corrects various coordinate conversion for disambiguation
1733 popup for the new-style page scale mode.
1735 * src/WebViewImpl.cpp:
1736 (WebKit::WebViewImpl::handleGestureEvent):
1737 (WebKit::WebViewImpl::handleInputEvent):
1738 * tests/WebFrameTest.cpp:
1739 * tests/data/disambiguation_popup_page_scale.html: Added.
1741 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
1743 Unreviewed, rolling out r141049.
1744 http://trac.webkit.org/changeset/141049
1745 https://bugs.webkit.org/show_bug.cgi?id=108151
1747 Caused some indexed tests to crash. (Requested by keishi on
1750 * public/WebIDBCallbacks.h:
1752 * src/IDBCallbacksProxy.cpp:
1753 (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1754 * src/IDBCallbacksProxy.h:
1755 (IDBCallbacksProxy):
1756 * src/WebIDBCallbacksImpl.cpp:
1757 (WebKit::WebIDBCallbacksImpl::onSuccess):
1758 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
1759 * src/WebIDBCallbacksImpl.h:
1760 (WebIDBCallbacksImpl):
1761 * tests/IDBAbortOnCorruptTest.cpp:
1762 (WebCore::MockIDBCallbacks::onSuccess):
1763 * tests/IDBDatabaseBackendTest.cpp:
1765 2013-01-28 Raman Kumar <ramankk@chromium.org>
1767 Expose isRadioButton and isCheckbox API in chromium-webkit glue layer.
1768 https://bugs.webkit.org/show_bug.cgi?id=108031
1770 Reviewed by Adam Barth.
1772 In chromium, to know if an InputElement is radiobutton or a checkbox,
1773 we are checking for formControlType (a string comparision), which is
1774 very slow. Exposing these API to chromium will make them faster.
1776 * public/WebInputElement.h:
1778 * src/WebInputElement.cpp:
1779 (WebKit::WebInputElement::isRadioButton):
1781 (WebKit::WebInputElement::isCheckbox):
1783 2013-01-28 Alexandre Elias <aelias@chromium.org>
1785 Make page scale shrink FrameView in applyPageScaleInCompositor mode
1786 https://bugs.webkit.org/show_bug.cgi?id=107424
1788 Reviewed by Levi Weintraub.
1790 If applyPageScaleFactorInCompositor is enabled (Chromium-only setting),
1791 instead of the entire document expanding as the user pinch zooms, the
1792 viewport shrinks instead. This patch applies the pageScaleFactor to
1793 visibleContentRect to get this behavior, and simplifies Chromium's
1794 resize logic to stop hiding the true viewport size from WebCore.
1796 I verified that the scaling makes sense for all the callers of
1797 visibleContentRect. The exceptions are clip-layer size,
1798 layout size in non-fixed-layout mode, and text autosizing, which need
1799 the original unscaled size. Therefore I added a new method
1800 unscaledVisibleContentSize() to ScrollView/FrameView.
1802 This patch also modifies Page::setPageScaleFactor to perform no
1803 invalidates or layout when applyPageScaleFactorInCompositor is true,
1804 and also writes pageScaleFactor into HistoryItems instead of using
1807 Since all behavior changes are tied to applyPageScaleFactorInCompositor,
1808 this patch should be a no-op for non-Chromium ports.
1810 * src/WebViewImpl.cpp:
1811 (WebKit::WebViewImpl::scaledSize): Returns the post page-scale size
1812 similar to what visibleContentRect() now returns, except that it may
1813 be at a different scale than the current one.
1814 (WebKit::WebViewImpl::size): Back to returning density-independent
1815 size without any tricks, not the "layoutSize()" fake viewport.
1816 (WebKit::WebViewImpl::resize):
1817 (WebKit::WebViewImpl::handleInputEvent): No need to apply
1818 implTransform anymore as WebKit knows the true scroll offset; just
1819 divide event coords by pageScaleFactor.
1820 (WebKit::WebViewImpl::clampOffsetAtScale): Make this method support
1821 applyPageScaleFactorInCompositor. This is used to pre-clamp scroll
1822 offsets at a given viewport size.
1823 (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset): Make
1824 this method support applyPageScaleFactorInCompositor (don't scale
1825 scroll offsets as they are now scale-independent).
1826 (WebKit::WebViewImpl::setPageScaleFactor): Make this method always use
1827 clampOffsetAtScale instead of bypassing it, since it's now supported.
1828 Also notify the compositor to update its state.
1829 (WebKit::WebViewImpl::contentsSize): Convenience method, removed
1830 difference between scaled and unscaled.
1831 (WebKit::WebViewImpl::layoutSize): This method returned the "fake"
1832 size we used to give FrameView. Now no longer used for much.
1833 (WebKit::WebViewImpl::computePageScaleFactorLimits):
1834 (WebKit::WebViewImpl::didChangeContentsSize): Remove unnecessary
1835 resize() now that we can give the true size to FrameView.
1836 (WebKit::WebViewImpl::updateLayerTreeViewport): Use layoutSize()
1837 directly now that FrameView no longer uses it.
1838 * src/WebViewImpl.h:
1840 * tests/WebFrameTest.cpp:
1842 2013-01-28 Alec Flett <alecflett@chromium.org>
1844 IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
1845 https://bugs.webkit.org/show_bug.cgi?id=103920
1847 Reviewed by Dimitri Glazkov.
1849 Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
1850 while maintaining chromium compatibility by shimming in the old API
1851 in the WebKit side. Future code will clean this up so that it is just a
1852 pass-through as it was before.
1854 * public/WebIDBCallbacks.h:
1856 (WebKit::WebIDBCallbacks::onSuccess): new method signature.
1857 (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
1858 * src/IDBCallbacksProxy.cpp:
1859 (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
1861 (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
1862 * src/IDBCallbacksProxy.h:
1863 (IDBCallbacksProxy):
1864 * src/WebIDBCallbacksImpl.cpp:
1865 (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
1867 (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
1868 * src/WebIDBCallbacksImpl.h:
1869 (WebIDBCallbacksImpl):
1870 * tests/IDBAbortOnCorruptTest.cpp: new method signature.
1871 (WebCore::MockIDBCallbacks::onSuccess):
1872 * tests/IDBDatabaseBackendTest.cpp: new method signature.
1874 2013-01-28 Tom Sepez <tsepez@chromium.org>
1876 [v8] Security feature: JavaScript Bindings hardening
1877 https://bugs.webkit.org/show_bug.cgi?id=106608
1879 Reviewed by Adam Barth.
1882 Added ENABLE_BINDING_INTEGRITY option.
1884 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
1886 Unreviewed, rolling out r141006.
1887 http://trac.webkit.org/changeset/141006
1888 https://bugs.webkit.org/show_bug.cgi?id=108123
1890 Broke chromium build (Requested by arv on #webkit).
1892 * public/WebConsoleMessage.h:
1893 * src/AssertMatchingEnums.cpp:
1894 * src/WebFrameImpl.cpp:
1895 (WebKit::WebFrameImpl::addMessageToConsole):
1897 2013-01-28 Min Qin <qinmin@chromium.org>
1899 adding support for DiscardablePixelRef for caching lazily decoded images
1900 https://bugs.webkit.org/show_bug.cgi?id=106842
1902 Reviewed by Stephen White.
1904 Adding new tests for ImageDecodingStore
1907 * tests/ImageDecodingStoreTest.cpp:
1908 (WebCore::ImageDecodingStoreTest::createCompleteImage):
1909 (WebCore::ImageDecodingStoreTest::createIncompleteImage):
1912 * tests/MockDiscardablePixelRef.h: Added.
1914 (MockDiscardablePixelRef):
1915 (WebCore::MockDiscardablePixelRef::MockDiscardablePixelRef):
1916 (WebCore::MockDiscardablePixelRef::~MockDiscardablePixelRef):
1917 (WebCore::MockDiscardablePixelRef::discard):
1918 (WebCore::MockDiscardablePixelRef::onLockPixels):
1919 (WebCore::MockDiscardablePixelRef::onUnlockPixels):
1921 2013-01-28 Stephen Chenney <schenney@chromium.org>
1923 [Chromium] Fix the build.
1925 Unreviewed build fix.
1927 * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
1929 2013-01-28 Dan Alcantara <dfalcantara@chromium.org>
1931 [Chromium, Mobile] Do not show disambiguation pop up in mobile sites
1932 https://bugs.webkit.org/show_bug.cgi?id=107607
1934 Reviewed by Adam Barth.
1936 Add a check before showing the disambiguation popup to prevent it from appearing
1937 on mobile sites. Makes a similar test to the current disambiguation popup test
1938 that expects the popup to never appear.
1940 * src/WebViewImpl.cpp:
1941 (WebKit::WebViewImpl::handleGestureEvent):
1943 (WebKit::WebViewImpl::isLikelyMobileSite):
1944 * src/WebViewImpl.h:
1946 * tests/WebFrameTest.cpp:
1947 * tests/data/disambiguation_popup_mobile_site.html: Added.
1949 * src/WebViewImpl.cpp:
1950 (WebKit::WebViewImpl::handleGestureEvent):
1952 (WebKit::WebViewImpl::shouldDisableDesktopWorkarounds):
1953 * src/WebViewImpl.h:
1955 * tests/WebFrameTest.cpp:
1956 * tests/data/disambiguation_popup_mobile_site.html: Added.
1958 2013-01-28 Stephen Chenney <schenney@chromium.org>
1960 [Chromium] Fix the build.
1962 Unreviewed build fix.
1964 * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
1966 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
1968 Unreviewed, rolling out r140869.
1969 http://trac.webkit.org/changeset/140869
1970 https://bugs.webkit.org/show_bug.cgi?id=108120
1972 "Crashes on http://en.wikipedia.org/wiki/Wikipedia" (Requested
1973 by tonyg-cr on #webkit).
1975 * src/WebViewImpl.cpp:
1976 (WebKit::WebViewImpl::resize):
1977 (WebKit::WebViewImpl::computePageScaleFactorLimits):
1978 * tests/WebFrameTest.cpp:
1980 2013-01-28 Sheriff Bot <webkit.review.bot@gmail.com>
1982 Unreviewed, rolling out r140934, r140935, and r140937.
1983 http://trac.webkit.org/changeset/140934
1984 http://trac.webkit.org/changeset/140935
1985 http://trac.webkit.org/changeset/140937
1986 https://bugs.webkit.org/show_bug.cgi?id=108117
1988 Re-land some speculative rollouts - see wkbug.com/108048 for
1989 context (Requested by jsbell on #webkit).
1991 * public/WebIDBCallbacks.h:
1993 * src/AssertMatchingEnums.cpp:
1994 * src/IDBCallbacksProxy.cpp:
1995 * src/IDBCallbacksProxy.h:
1996 (IDBCallbacksProxy):
1997 * src/WebIDBCallbacksImpl.cpp:
1998 * src/WebIDBCallbacksImpl.h:
1999 (WebIDBCallbacksImpl):
2000 * tests/IDBAbortOnCorruptTest.cpp:
2001 * tests/IDBDatabaseBackendTest.cpp:
2003 2013-01-28 Kevin Day <kevinday@gmail.com>
2005 [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
2006 https://bugs.webkit.org/show_bug.cgi?id=108004
2007 http://code.google.com/p/chromium/issues/detail?id=172416
2009 console.debug triggers a NOTREACHED() assertation in Chromium. This
2010 is because WebCore::MessageLevel contains 5 levels, including debug,
2011 where WebConsoleMessage::Level is missing a "debug" level. Add a
2012 WebConsoleMessage::LevelDebug so that it can get passed up to the
2013 renderer even if it doesn't make use of that now.
2015 Requires another patch to chromium itself to fix chromium bug 172416
2016 but this is a prerequisite.
2018 Also add an enum compile time check to AssertMatchingEnums.cpp,
2020 Reviewed by Jochen Eisinger.
2022 * public/WebConsoleMessage.h:
2023 * src/AssertMatchingEnums.cpp:
2024 * src/WebFrameImpl.cpp:
2025 (WebKit::WebFrameImpl::addMessageToConsole):
2027 2013-01-28 Xianzhu Wang <wangxianzhu@chromium.org>
2029 [Chromium] Correct auto-zoom when using compositor scaling
2030 https://bugs.webkit.org/show_bug.cgi?id=107592
2032 Reviewed by Adam Barth.
2034 1. The scale of auto-zoom should exclude deviceScaleFactor because the compositor will handle the scaling;
2035 2. Scroll location needs to be calculated differently when pageScaleFactor is handled by the compositor.
2037 * src/WebViewImpl.cpp:
2038 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2039 * tests/WebFrameTest.cpp: Updated tests DivAutoZoomParamsTest, DivAutoZoomMultipleDivsTest, DivAutoZoomScaleBoundsTest and DivAutoZoomScaleFontScaleFactorTest, to make two versions of them (WebKitScaling and CompositorScaling).
2041 2013-01-28 Laszlo Gombos <l.gombos@samsung.com>
2043 Collapse OS(UNIX)||OS(ANDROID) to OS(UNIX)
2044 https://bugs.webkit.org/show_bug.cgi?id=108091
2046 Reviewed by Adam Barth.
2048 OS(UNIX) is defined when OS(ANDROID) is defined.
2050 * src/WebViewImpl.cpp:
2051 (WebKit::WebViewImpl::handleMouseDown):
2053 2013-01-28 Adam Barth <abarth@webkit.org>
2055 Remove webkitNotifications.createHTMLNotification
2056 https://bugs.webkit.org/show_bug.cgi?id=107598
2058 Reviewed by Benjamin Poulain.
2060 We can remove these stubs once we've removed the Chromium-side code
2061 that depends on them.
2063 * src/WebNotification.cpp:
2064 (WebKit::WebNotification::isHTML):
2065 (WebKit::WebNotification::url):
2066 (WebKit::WebNotification::iconURL):
2067 (WebKit::WebNotification::title):
2068 (WebKit::WebNotification::body):
2070 2013-01-28 James Craig <james@cookiecrook.com>
2072 HTML5 promotes DL from specific 'definition list' to superset 'description list'; accessibility strings and accessors should be updated to match.
2073 https://bugs.webkit.org/show_bug.cgi?id=107650
2075 Reviewed by Chris Fleizach.
2077 Updating accessibility strings and accessors for DL/DT/DD; new one for [role="definition"] (previously it reused the role/desc for DD).
2079 * public/WebAccessibilityRole.h:
2080 * src/AssertMatchingEnums.cpp:
2081 * src/LocalizedStrings.cpp:
2082 (WebCore::AXDefinitionText):
2084 (WebCore::AXDescriptionListTermText):
2085 (WebCore::AXDescriptionListDetailText):
2087 2013-01-28 Mike West <mkwst@chromium.org>
2089 [chromium] Unreviewed build fix, missing include in AssertMatchingEnums.cpp
2090 https://bugs.webkit.org/show_bug.cgi?id=108086
2092 Disabling SVG exposed a missing include in AssertMatchingEnums. This
2095 * src/AssertMatchingEnums.cpp:
2096 Include 'ResourceLoadPriority.h'.
2098 2013-01-28 Marja Hölttä <marja@chromium.org>
2100 Add an API for retrieving native memory information without going through the remote inspecting protocol
2101 https://bugs.webkit.org/show_bug.cgi?id=107651
2103 Reviewed by Adam Barth.
2106 * public/WebDevToolsAgent.h:
2109 * public/WebMemoryUsageInfo.h: Added.
2111 (WebKit::WebMemoryUsageInfo::WebMemoryUsageInfo):
2112 (WebMemoryUsageInfo):
2113 * src/WebDevToolsAgentImpl.cpp:
2114 (WebKit::WebDevToolsAgentImpl::processMemoryDistribution):
2116 * src/WebDevToolsAgentImpl.h:
2118 (WebDevToolsAgentImpl):
2120 2013-01-27 Sheriff Bot <webkit.review.bot@gmail.com>
2122 Unreviewed, rolling out r140602.
2123 http://trac.webkit.org/changeset/140602
2124 https://bugs.webkit.org/show_bug.cgi?id=108045
2126 Caused 8 indexed tests to crash. (Requested by keishi on
2129 * public/WebIDBCallbacks.h:
2130 * src/IDBCallbacksProxy.cpp:
2131 (WebKit::IDBCallbacksProxy::onBlocked):
2133 * src/IDBCallbacksProxy.h:
2134 (IDBCallbacksProxy):
2135 * src/WebIDBCallbacksImpl.cpp:
2136 (WebKit::WebIDBCallbacksImpl::onBlocked):
2138 * src/WebIDBCallbacksImpl.h:
2139 (WebIDBCallbacksImpl):
2140 * tests/IDBAbortOnCorruptTest.cpp:
2141 (WebCore::MockIDBCallbacks::onBlocked):
2142 * tests/IDBDatabaseBackendTest.cpp:
2144 2013-01-27 Keishi Hattori <keishi@webkit.org>
2146 Unreviewed, rolling out r140850.
2147 http://trac.webkit.org/changeset/140850
2148 https://bugs.webkit.org/show_bug.cgi?id=107960
2150 r14602 caused 8 indexed tests to crash.
2152 * src/AssertMatchingEnums.cpp:
2154 2013-01-27 Jochen Eisinger <jochen@chromium.org>
2156 [chromium] add missing plumbing for Notification.requestPermission
2157 https://bugs.webkit.org/show_bug.cgi?id=108012
2159 Reviewed by Adam Barth.
2161 * src/NotificationPresenterImpl.cpp:
2163 (WebKit::VoidCallbackClient::VoidCallbackClient):
2164 (NotificationPermissionCallbackClient):
2165 (WebKit::NotificationPermissionCallbackClient::NotificationPermissionCallbackClient):
2166 (WebKit::NotificationPermissionCallbackClient::permissionRequestComplete):
2167 (WebKit::NotificationPermissionCallbackClient::~NotificationPermissionCallbackClient):
2168 (WebKit::NotificationPresenterImpl::requestPermission):
2169 * src/NotificationPresenterImpl.h:
2170 (NotificationPresenterImpl):
2172 2013-01-26 James Simonsen <simonjam@chromium.org>
2174 [chromium] Export ResourceRequest's priority through WebURLRequest
2175 https://bugs.webkit.org/show_bug.cgi?id=107985
2177 Reviewed by Adam Barth.
2179 * src/AssertMatchingEnums.cpp:
2181 2013-01-25 Alexandre Elias <aelias@chromium.org>
2183 Call FrameView::contentsResized() when setting fixed layout size
2184 https://bugs.webkit.org/show_bug.cgi?id=107922
2186 Reviewed by James Robinson.
2188 In fixed layout mode, we should be calling contentsResized() when the
2189 fixed layout size is changed; on the other hand, we don't need to layout
2190 when the visible contents size changes.
2192 This fixes test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
2194 * src/WebViewImpl.cpp:
2195 (WebKit::WebViewImpl::resize):
2196 (WebKit::WebViewImpl::computePageScaleFactorLimits):
2197 * tests/WebFrameTest.cpp:
2199 2013-01-25 Alec Flett <alecflett@chromium.org>
2201 IndexedDB: Move TaskType enum to IDBDatabaseBackendInterface
2202 https://bugs.webkit.org/show_bug.cgi?id=107960
2204 Reviewed by Tony Chang.
2206 Update asserts to reflect new enum location.
2208 * src/AssertMatchingEnums.cpp:
2210 2013-01-25 Sheriff Bot <webkit.review.bot@gmail.com>
2212 Unreviewed, rolling out r140774.
2213 http://trac.webkit.org/changeset/140774
2214 https://bugs.webkit.org/show_bug.cgi?id=107932
2216 Tests ScrollingCoordinatorChromiumTest.fastScrollingByDefault
2217 and fastScrollingForFixedPosition are failing (Requested by
2220 * public/WebWidget.h:
2222 (WebKit::WebWidget::isInputThrottled):
2223 (WebKit::WebWidget::renderingStats):
2224 * src/WebViewImpl.cpp:
2225 (WebKit::WebViewImpl::WebViewImpl):
2226 (WebKit::WebViewImpl::~WebViewImpl):
2227 (WebKit::WebViewImpl::renderingStats):
2229 (WebKit::WebViewImpl::setCompositorSurfaceReady):
2230 (WebKit::WebViewImpl::isInputThrottled):
2231 (WebKit::WebViewImpl::setIsTransparent):
2232 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2233 * src/WebViewImpl.h:
2235 2013-01-25 Eberhard Graether <egraether@google.com>
2237 Web Inspector: add checkbox for continuous painting to the inspector's settings
2238 https://bugs.webkit.org/show_bug.cgi?id=107352
2240 Reviewed by Pavel Feldman.
2242 This change adds a checkbox to activate continuous painting to the WebInspector's
2243 rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The
2244 setting is visible if InspectorClient::canContinuouslyPaint() returns true.
2248 * src/InspectorClientImpl.cpp:
2249 (WebKit::InspectorClientImpl::canContinuouslyPaint):
2251 (WebKit::InspectorClientImpl::setContinuousPaintingEnabled):
2252 * src/InspectorClientImpl.h:
2253 (InspectorClientImpl):
2254 * src/WebViewImpl.cpp:
2255 (WebKit::WebViewImpl::setContinuousPaintingEnabled):
2257 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2258 * src/WebViewImpl.h:
2260 2013-01-24 Keishi Hattori <keishi@webkit.org>
2262 Adjust design of the Calendar Picker
2263 https://bugs.webkit.org/show_bug.cgi?id=107507
2265 Reviewed by Kent Tamura.
2267 * src/DateTimeChooserImpl.cpp:
2268 (WebKit::DateTimeChooserImpl::writeDocument): Include pickerCommonChromium.css and calendarPickerChromium.css.
2270 2013-01-24 James Robinson <jamesr@chromium.org>
2272 [chromium] Remove dead transitional code from WebViewImpl
2273 https://bugs.webkit.org/show_bug.cgi?id=107889
2275 Reviewed by Adrienne Walker.
2277 The chromium side of this landed at r178256 and seems stable.
2279 * public/WebWidget.h:
2280 (WebKit::WebWidget::setCompositorSurfaceReady):
2281 * src/WebViewImpl.cpp:
2282 (WebKit::WebViewImpl::WebViewImpl):
2283 (WebKit::WebViewImpl::~WebViewImpl):
2285 (WebKit::WebViewImpl::setIsTransparent):
2286 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2287 * src/WebViewImpl.h:
2289 2013-01-24 James Robinson <jamesr@chromium.org>
2291 [chromium] Null check WebLayerTreeView before dereffing in WebViewImpl::invalidateRect
2292 https://bugs.webkit.org/show_bug.cgi?id=107855
2294 Reviewed by Adrienne Walker.
2296 During frame shutdown, WebViewImpl::m_layerTreeView may become 0 while commits are deferred but we still
2297 may get invalidateRect() calls before shutdown completes.
2299 * src/WebViewImpl.cpp:
2300 (WebKit::WebViewImpl::invalidateRect):
2302 2013-01-24 Mihai Maerean <mmaerean@adobe.com>
2304 [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit/chromium/public/WebSettings.h
2305 https://bugs.webkit.org/show_bug.cgi?id=104564
2307 Reviewed by Adam Barth.
2309 Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEnabled.
2310 After http://code.google.com/p/chromium/issues/detail?id=164162 , setExperimentalCSSRegionsEnabled is no longer used anywhere.
2312 * public/WebSettings.h:
2313 removed setExperimentalCSSRegionsEnabled.
2315 2013-01-23 Sheriff Bot <webkit.review.bot@gmail.com>
2317 Unreviewed. Rolled Chromium DEPS to r178434. Requested by
2318 "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
2322 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
2324 [Chromium] Remove unused header files in chromium/public/platform/
2325 https://bugs.webkit.org/show_bug.cgi?id=107741
2327 Reviewed by James Robinson.
2329 These header files have migrated to the new Platform directory.
2330 This patch updates the remaining #include references and removes
2331 the old files that did nothing but redirect to the new ones.
2334 * public/WebAccessibilityObject.h:
2335 * public/WebAccessibilityRole.h:
2336 * public/WebActiveWheelFlingParameters.h:
2337 * public/WebAnimationController.h:
2338 * public/WebApplicationCacheHost.h:
2339 * public/WebApplicationCacheHostClient.h:
2340 * public/WebArrayBuffer.h:
2341 * public/WebArrayBufferView.h:
2342 * public/WebAudioSourceProvider.h:
2343 * public/WebBatteryStatus.h:
2344 * public/WebBindings.h:
2346 * public/WebCache.h:
2347 * public/WebCachedURLRequest.h:
2348 * public/WebColorChooser.h:
2349 * public/WebColorChooserClient.h:
2350 * public/WebColorName.h:
2351 * public/WebCommonWorkerClient.h:
2352 * public/WebCompositionUnderline.h:
2353 * public/WebCompositorInputHandler.h:
2354 * public/WebConsoleMessage.h:
2355 * public/WebContentDetectionResult.h:
2356 * public/WebContextMenuData.h:
2357 * public/WebCrossOriginPreflightResultCache.h:
2358 * public/WebCursorInfo.h:
2359 * public/WebDOMEvent.h:
2360 * public/WebDOMEventListener.h:
2361 * public/WebDOMStringList.h:
2362 * public/WebDataSource.h:
2363 * public/WebDatabase.h:
2364 * public/WebDateTimeChooserCompletion.h:
2365 * public/WebDateTimeChooserParams.h:
2366 * public/WebDeliveredIntentClient.h:
2367 * public/WebDevToolsAgent.h:
2368 * public/WebDevToolsAgentClient.h:
2369 * public/WebDevToolsFrontend.h:
2370 * public/WebDeviceOrientationClient.h:
2371 * public/WebDeviceOrientationClientMock.h:
2372 * public/WebDeviceOrientationController.h:
2373 * public/WebDocument.h:
2374 * public/WebDraggableRegion.h:
2375 * public/WebExternalPopupMenuClient.h:
2376 * public/WebFileChooserCompletion.h:
2377 * public/WebFileChooserParams.h:
2378 * public/WebFileSystemCallbacks.h:
2379 * public/WebFileSystemEntry.h:
2380 * public/WebFileWriter.h:
2381 * public/WebFileWriterClient.h:
2382 * public/WebFindOptions.h:
2384 * public/WebFontCache.h:
2385 * public/WebFontDescription.h:
2386 * public/WebFormControlElement.h:
2387 * public/WebFormElement.h:
2388 * public/WebFrame.h:
2389 * public/WebFrameClient.h:
2390 * public/WebGeolocationClientMock.h:
2391 * public/WebGeolocationController.h:
2392 * public/WebGeolocationError.h:
2393 * public/WebGeolocationPermissionRequest.h:
2394 * public/WebGeolocationPermissionRequestManager.h:
2395 * public/WebGeolocationPosition.h:
2396 * public/WebGlyphCache.h:
2397 * public/WebHelperPlugin.h:
2398 * public/WebHistoryItem.h:
2399 * public/WebHitTestResult.h:
2400 * public/WebIDBCallbacks.h:
2401 * public/WebIDBCursor.h:
2402 * public/WebIDBDatabase.h:
2403 * public/WebIDBDatabaseCallbacks.h:
2404 * public/WebIDBDatabaseError.h:
2405 * public/WebIDBFactory.h:
2406 * public/WebIDBKey.h:
2407 * public/WebIDBKeyPath.h:
2408 * public/WebIDBKeyRange.h:
2409 * public/WebIDBMetadata.h:
2410 * public/WebIDBTransaction.h:
2411 * public/WebIDBTransactionCallbacks.h:
2412 * public/WebIconURL.h:
2413 * public/WebImageDecoder.h:
2414 * public/WebInputEvent.h:
2415 * public/WebIntent.h:
2416 * public/WebIntentRequest.h:
2417 * public/WebIntentServiceInfo.h:
2419 * public/WebMediaPlayer.h:
2420 * public/WebMediaStreamRegistry.h:
2421 * public/WebMenuItemInfo.h:
2422 * public/WebNetworkStateNotifier.h:
2424 * public/WebNodeCollection.h:
2425 * public/WebNodeList.h:
2426 * public/WebNotification.h:
2427 * public/WebNotificationPresenter.h:
2428 * public/WebOptionElement.h:
2429 * public/WebPageOverlay.h:
2430 * public/WebPagePopup.h:
2431 * public/WebPageSerializer.h:
2432 * public/WebPasswordFormData.h:
2433 * public/WebPerformance.h:
2434 * public/WebPlugin.h:
2435 * public/WebPluginContainer.h:
2436 * public/WebPluginParams.h:
2437 * public/WebPopupMenu.h:
2438 * public/WebPopupMenuInfo.h:
2439 * public/WebPrerendererClient.h:
2440 * public/WebPrintParams.h:
2441 * public/WebRange.h:
2442 * public/WebRegularExpression.h:
2443 * public/WebRuntimeFeatures.h:
2444 * public/WebScopedMicrotaskSuppression.h:
2445 * public/WebScopedUserGesture.h:
2446 * public/WebScriptController.h:
2447 * public/WebScriptSource.h:
2448 * public/WebSearchableFormData.h:
2449 * public/WebSecurityOrigin.h:
2450 * public/WebSecurityPolicy.h:
2451 * public/WebSelectElement.h:
2452 * public/WebSerializedScriptValue.h:
2453 * public/WebSettings.h:
2454 * public/WebSharedWorker.h:
2455 * public/WebSharedWorkerRepository.h:
2456 * public/WebSocket.h:
2457 * public/WebSocketClient.h:
2458 * public/WebSpeechGrammar.h:
2459 * public/WebSpeechInputController.h:
2460 * public/WebSpeechInputResult.h:
2461 * public/WebSpeechRecognitionHandle.h:
2462 * public/WebSpeechRecognitionParams.h:
2463 * public/WebSpeechRecognitionResult.h:
2464 * public/WebSpeechRecognizer.h:
2465 * public/WebSpeechRecognizerClient.h:
2466 * public/WebSpellCheckClient.h:
2467 * public/WebStorageEventDispatcher.h:
2468 * public/WebSurroundingText.h:
2469 * public/WebTestingSupport.h:
2470 * public/WebTextCheckingCompletion.h:
2471 * public/WebTextCheckingResult.h:
2472 * public/WebTextFieldDecoratorClient.h:
2473 * public/WebTextInputInfo.h:
2474 * public/WebTextRun.h:
2475 * public/WebTimeRange.h:
2476 * public/WebTouchPoint.h:
2477 * public/WebUserMediaRequest.h:
2479 * public/WebViewBenchmarkSupport.h:
2480 * public/WebViewClient.h:
2481 * public/WebWidget.h:
2482 * public/WebWidgetClient.h:
2483 * public/WebWindowFeatures.h:
2484 * public/WebWorkerInfo.h:
2485 * public/android/WebInputEventFactory.h:
2486 * public/android/WebSandboxSupport.h:
2487 * public/default/WebRenderTheme.h:
2488 * public/gtk/WebInputEventFactory.h:
2489 * public/linux/WebFontRendering.h:
2490 * public/linux/WebSandboxSupport.h:
2491 * public/mac/WebInputEventFactory.h:
2492 * public/mac/WebSandboxSupport.h:
2493 * public/mac/WebScreenInfoFactory.h:
2494 * public/mac/WebSubstringUtil.h:
2495 * public/platform/WebAudioBus.h: Removed.
2496 * public/platform/WebAudioDevice.h: Removed.
2497 * public/platform/WebBlobData.h: Removed.
2498 * public/platform/WebBlobRegistry.h: Removed.
2499 * public/platform/WebCString.h: Removed.
2500 * public/platform/WebCanvas.h: Removed.
2501 * public/platform/WebClipboard.h: Removed.
2502 * public/platform/WebColor.h: Removed.
2503 * public/platform/WebCommon.h: Removed.
2504 * public/platform/WebCookie.h: Removed.
2505 * public/platform/WebCookieJar.h: Removed.
2506 * public/platform/WebData.h: Removed.
2507 * public/platform/WebDragData.h: Removed.
2508 * public/platform/WebFileSystem.h: Removed.
2509 * public/platform/WebFloatPoint.h: Removed.
2510 * public/platform/WebFloatQuad.h: Removed.
2511 * public/platform/WebFloatRect.h: Removed.
2512 * public/platform/WebGamepad.h: Removed.
2513 * public/platform/WebGamepads.h: Removed.
2514 * public/platform/WebGraphicsContext3D.h: Removed.
2515 * public/platform/WebHTTPBody.h: Removed.
2516 * public/platform/WebHTTPHeaderVisitor.h: Removed.
2517 * public/platform/WebHTTPLoadInfo.h: Removed.
2518 * public/platform/WebImage.h: Removed.
2519 * public/platform/WebLocalizedString.h: Removed.
2520 * public/platform/WebMediaStreamCenter.h: Removed.
2521 * public/platform/WebMediaStreamCenterClient.h: Removed.
2522 * public/platform/WebMediaStreamComponent.h: Removed.
2523 * public/platform/WebMediaStreamDescriptor.h: Removed.
2524 * public/platform/WebMediaStreamSource.h: Removed.
2525 * public/platform/WebMediaStreamSourcesRequest.h: Removed.
2526 * public/platform/WebNonCopyable.h: Removed.
2527 * public/platform/WebPoint.h: Removed.
2528 * public/platform/WebPrivateOwnPtr.h: Removed.
2529 * public/platform/WebPrivatePtr.h: Removed.
2530 * public/platform/WebRect.h: Removed.
2531 * public/platform/WebReferrerPolicy.h: Removed.
2532 * public/platform/WebSize.h: Removed.
2533 * public/platform/WebSocketStreamError.h: Removed.
2534 * public/platform/WebSocketStreamHandle.h: Removed.
2535 * public/platform/WebSocketStreamHandleClient.h: Removed.
2536 * public/platform/WebString.h: Removed.
2537 * public/platform/WebThread.h: Removed.
2538 * public/platform/WebThreadSafeData.h: Removed.
2539 * public/platform/WebURL.h: Removed.
2540 * public/platform/WebURLError.h: Removed.
2541 * public/platform/WebURLLoadTiming.h: Removed.
2542 * public/platform/WebURLLoader.h: Removed.
2543 * public/platform/WebURLLoaderClient.h: Removed.
2544 * public/platform/WebURLRequest.h: Removed.
2545 * public/platform/WebURLResponse.h: Removed.
2546 * public/platform/WebVector.h: Removed.
2547 * public/platform/android/WebSandboxSupport.h: Removed.
2548 * public/platform/android/WebThemeEngine.h: Removed.
2549 * public/platform/default/WebThemeEngine.h: Removed.
2550 * public/platform/linux/WebFontFamily.h: Removed.
2551 * public/platform/linux/WebSandboxSupport.h: Removed.
2552 * public/platform/mac/WebSandboxSupport.h: Removed.
2553 * public/platform/mac/WebThemeEngine.h: Removed.
2554 * public/platform/win/WebSandboxSupport.h: Removed.
2555 * public/platform/win/WebThemeEngine.h: Removed.
2556 * public/win/WebInputEventFactory.h:
2557 * public/win/WebSandboxSupport.h:
2558 * public/win/WebScreenInfoFactory.h:
2559 * public/x11/WebScreenInfoFactory.h:
2561 2013-01-23 Joshua Bell <jsbell@chromium.org>
2563 IndexedDB: Remove IDBVersionChangeRequest
2564 https://bugs.webkit.org/show_bug.cgi?id=107711
2566 Reviewed by Tony Chang.
2568 * public/WebIDBCallbacks.h: Note to delete onBlocked() once Chromium is cleaned up.
2569 * src/IDBCallbacksProxy.cpp: Remove unused onBlocked() overload.
2570 * src/IDBCallbacksProxy.h: Ditto.
2571 * src/WebIDBCallbacksImpl.cpp: Ditto.
2572 * src/WebIDBCallbacksImpl.h: Ditto.
2573 * tests/IDBAbortOnCorruptTest.cpp: Ditto.
2574 * tests/IDBDatabaseBackendTest.cpp: Ditto.
2576 2013-01-23 Tien-Ren Chen <trchen@chromium.org>
2578 Partially revert 104427, change WebWidgetClient::didHandleGestureEvent semantics.
2579 https://bugs.webkit.org/show_bug.cgi?id=107605
2581 Reviewed by Darin Fisher.
2583 Per discussion in https://codereview.chromium.org/11473027/ we decided
2584 not to introduce an enum to WebWidgetClient::didHandleGestureEvent().
2585 Instead, change the semantics of the bool flag to indicate whether the
2586 gesture event is cancelled for disambiguation.
2588 * public/WebWidgetClient.h:
2589 (WebKit::WebWidgetClient::didHandleGestureEvent):
2590 * src/WebViewImpl.cpp:
2591 (WebKit::WebViewImpl::handleGestureEvent):
2592 * tests/WebViewTest.cpp:
2594 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
2596 [Chromium] Remove WebArrayBufferView and WebSerializedScriptValue from chromium/public/platform/
2597 https://bugs.webkit.org/show_bug.cgi?id=107720
2599 Reviewed by Darin Fisher.
2601 These headers have been moved to chromium/public/ and all
2602 references downstream were changed in
2603 https://codereview.chromium.org/11946050/.
2604 No DEPS roll necessary because it's already above 177695.
2607 * public/platform/WebArrayBufferView.h: Removed.
2608 * public/platform/WebSerializedScriptValue.h: Removed.
2609 * src/DeliveredIntentClientImpl.cpp:
2610 * src/IDBCallbacksProxy.cpp:
2611 * src/IDBCursorBackendProxy.cpp:
2612 * src/WebArrayBufferView.cpp:
2613 * src/WebBindings.cpp:
2614 * src/WebDOMCustomEvent.cpp:
2615 * src/WebDOMMessageEvent.cpp:
2616 * src/WebFrameImpl.cpp:
2617 * src/WebHistoryItem.cpp:
2618 * src/WebIDBCallbacksImpl.cpp:
2619 * src/WebIntent.cpp:
2620 * src/WebIntentRequest.cpp:
2621 * src/WebSerializedScriptValue.cpp:
2623 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
2625 [Chromium] Fix some #includes to headers in chromium/public/platform/ that have been moved to the new Platform directory
2626 https://bugs.webkit.org/show_bug.cgi?id=107722
2628 Reviewed by Darin Fisher.
2630 These headers just redirect to the new versions, so call the new
2633 * src/linux/WebFontInfo.cpp:
2634 * src/mac/WebSubstringUtil.mm:
2636 2013-01-23 Mark Pilgrim <pilgrim@chromium.org>
2638 [Chromium] Fix some #includes for WebSerializedScriptValue
2639 https://bugs.webkit.org/show_bug.cgi?id=107697
2641 Reviewed by Adam Barth.
2643 WebSerializedScriptValue has been moved to chromium/public/.
2645 * public/WebDOMCustomEvent.h:
2646 * public/WebDOMMessageEvent.h:
2647 * public/WebIDBCursor.h:
2649 2013-01-23 Dmitry Gozman <dgozman@chromium.org>
2651 Added changeAttachedWindowHeight method to inspector frontend API, which
2652 allows to change inspector window height from inside.
2653 https://bugs.webkit.org/show_bug.cgi?id=107648
2655 Reviewed by Pavel Feldman.
2657 * public/WebDevToolsFrontendClient.h:
2658 (WebKit::WebDevToolsFrontendClient::changeAttachedWindowHeight):
2659 * src/InspectorFrontendClientImpl.cpp:
2660 (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
2662 2013-01-23 Shinya Kawanaka <shinyak@chromium.org>
2664 shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
2665 https://bugs.webkit.org/show_bug.cgi?id=107624
2667 Reviewed by Dimitri Glazkov.
2669 Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
2671 * src/WebFrameImpl.cpp:
2672 (WebKit::WebFrameImpl::scopeStringMatches):
2673 (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2675 2013-01-22 Pavel Feldman <pfeldman@chromium.org>
2677 Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
2678 https://bugs.webkit.org/show_bug.cgi?id=107523
2680 Reviewed by Yury Semikhatsky.
2682 * public/WebDevToolsFrontendClient.h:
2683 (WebKit::WebDevToolsFrontendClient::isUnderTest):
2684 (WebDevToolsFrontendClient):
2685 * src/InspectorFrontendClientImpl.cpp:
2686 (WebKit::InspectorFrontendClientImpl::isUnderTest):
2687 * src/InspectorFrontendClientImpl.h:
2688 (InspectorFrontendClientImpl):
2690 2013-01-22 Mark Lam <mark.lam@apple.com>
2692 Change the Supplementable class to not use AtomicString.
2693 https://bugs.webkit.org/show_bug.cgi?id=107535.
2695 Reviewed by Adam Barth.
2697 Replaced the use of AtomicString keys with literal const char* keys.
2698 This simplifies the SupplementMap and makes it slightly leaner and faster.
2700 * src/ContextFeaturesClientImpl.cpp:
2701 (ContextFeaturesCache):
2702 (WebKit::ContextFeaturesCache::supplementName):
2704 2013-01-22 Leandro Gracia Gil <leandrogracia@chromium.org>
2706 [Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
2707 https://bugs.webkit.org/show_bug.cgi?id=107325
2709 Reviewed by James Robinson.
2711 Add a notification on WebWidgetClient called when the compositor commits a frame.
2713 * public/WebWidgetClient.h:
2715 (WebKit::WebWidgetClient::didCommitCompositorFrame):
2716 * src/WebViewImpl.cpp:
2717 (WebKit::WebViewImpl::didCommit):
2719 2013-01-21 Kentaro Hara <haraken@chromium.org>
2721 Implement UIEvent constructor
2722 https://bugs.webkit.org/show_bug.cgi?id=107430
2724 Reviewed by Adam Barth.
2726 Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
2728 UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
2729 which is enabled on Safari and Chromium for now.
2733 2013-01-22 Alpha Lam <hclam@chromium.org>
2735 REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
2736 https://bugs.webkit.org/show_bug.cgi?id=107578
2738 Unreviewed build fix. Disabled 2 tests that are crashing after r140392.
2740 * tests/IDBBindingUtilitiesTest.cpp:
2743 2013-01-22 Eric Seidel <eric@webkit.org>
2745 Turn on ENABLE_THREADED_HTML_PARSER for Chromium (it's still disabled at runtime)
2746 https://bugs.webkit.org/show_bug.cgi?id=107519
2748 Reviewed by Adam Barth.
2750 This makes our development lives easier, and makes it possible for the bots
2751 to run threaded-parser-only tests by toggling the runtime enable
2752 via window.internals.settings.
2756 2013-01-22 Kentaro Hara <haraken@chromium.org>
2758 [V8] Make an Isolate parameter mandatory in toV8()
2759 https://bugs.webkit.org/show_bug.cgi?id=107520
2761 Reviewed by Adam Barth.
2763 Now it's safe to remove an optional Isolate parameter.
2765 No tests. No change in behavior.
2767 * src/InspectorFrontendClientImpl.cpp:
2768 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
2769 * src/WebArrayBuffer.cpp:
2770 (WebKit::WebArrayBuffer::toV8Value):
2772 (WebKit::WebBlob::toV8Value):
2773 * src/WebFrameImpl.cpp:
2774 (WebKit::WebFrameImpl::createFileSystem):
2775 (WebKit::WebFrameImpl::createSerializableFileSystem):
2776 (WebKit::WebFrameImpl::createFileEntry):
2778 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
2780 Unreviewed. Rolled Chromium DEPS to r177962. Requested by
2781 "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
2785 2013-01-21 Noel Gordon <noel.gordon@gmail.com>
2787 [chromium] REGRESSION(r139347) roll chromium deps broke webkit-unit-tests
2788 https://bugs.webkit.org/show_bug.cgi?id=106631
2790 Reviewed by Kent Tamura.
2792 Fixed in http://crrev.com/177931 and rolled. Renable these tests.
2794 * tests/WebImageTest.cpp:
2796 2013-01-21 Dirk Schulze <dschulze@adobe.com>
2798 Add build flag for Canvas's Path object (disabled by default)
2799 https://bugs.webkit.org/show_bug.cgi?id=107473
2801 Reviewed by Dean Jackson.
2803 Add CANVAS_PATH build flag to build systems.
2807 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
2809 Unreviewed. Rolled Chromium DEPS to r177956. Requested by
2810 thakis_ via sheriffbot.
2814 2013-01-21 Sheriff Bot <webkit.review.bot@gmail.com>
2816 Unreviewed. Rolled Chromium DEPS to r177953. Requested by
2817 thakis_ via sheriffbot.
2821 2013-01-21 Tommy Widenflycht <tommyw@google.com>
2823 MediaStream API: Update the RTCPeerConnection states to match the latest specification
2824 https://bugs.webkit.org/show_bug.cgi?id=107120
2826 Reviewed by Adam Barth.
2828 * src/AssertMatchingEnums.cpp:
2830 2013-01-20 Dominic Mazzoni <dmazzoni@google.com>
2832 Make SpeechSynthesis compile in the Chromium port
2833 https://bugs.webkit.org/show_bug.cgi?id=107382
2835 Reviewed by Adam Barth.
2837 Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
2841 2013-01-20 Yoshifumi Inoue <yosin@chromium.org>
2843 Dragging over an element with scrollbars should scroll the element when dragging near edges
2844 https://bugs.webkit.org/show_bug.cgi?id=39725
2846 Reviewed by Hajime Morita.
2848 This patch removes DragScrollTimer used for automatic scrolling of main
2849 frame drag-and-drop which is now implemented in EventHandler.
2851 Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
2852 make patch size small.
2854 No tests. Existing test covers this change.
2856 * src/ChromeClientImpl.cpp:
2857 (WebKit::ChromeClientImpl::shouldAutoscrollForDragAndDrop): Added.
2858 * src/ChromeClientImpl.h:
2859 (ChromeClientImpl): Changed to add shouldAutoscrollForDragAndDrop().
2860 * src/WebViewImpl.cpp:
2861 (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
2862 (WebKit::WebViewImpl::dragSourceEndedAt): ditto
2863 (WebKit::WebViewImpl::dragSourceMovedTo): ditto
2864 (WebKit::WebViewImpl::dragTargetDrop): ditto
2865 (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
2866 * src/WebViewImpl.h:
2867 (WebKit): Chagned to remove DragScrollTimer.
2869 2013-01-18 Alec Flett <alecflett@chromium.org>
2871 IndexedDB: Switch to new createTransaction call
2872 https://bugs.webkit.org/show_bug.cgi?id=107311
2874 Reviewed by Tony Chang.
2876 * public/WebIDBTransaction.h:
2878 Remove an old method that nobody calls.
2880 2013-01-18 Alpha Lam <hclam@chromium.org>
2882 [chromium] Roll Chromium DEPS to 177676
2884 Unreviewed DEPS roll.
2888 2013-01-18 Robert Kroeger <rjkroege@chromium.org>
2890 [chromium] Use new-style gesture scrolling events for fling and
2891 for plugin scrolling: https://bugs.webkit.org/show_bug.cgi?id=106589
2893 Reviewed by James Robinson.
2895 https://bugs.webkit.org/show_bug.cgi?id=103952 modified touchscreen
2896 scrolling to not use synthetic mouse wheel events. Update the fling facility
2897 in WebViewImpl to use these events for touchscreen-initiated flings. Also
2898 modify the WebPluginContainerImpl to scroll in response to touchscreen
2899 scroll gestures if the plugin does not itself implement gesture events.
2901 * src/WebPluginContainerImpl.cpp:
2902 * src/WebViewImpl.cpp:
2903 (WebKit::WebViewImpl::WebViewImpl):
2904 (WebKit::WebViewImpl::scrollBy): Handle fling callback conditionally based
2905 on initiating device. Touchpad flings generate wheels. Touchscreen flings
2907 (WebKit::WebViewImpl::handleGestureEvent):
2908 (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
2909 * src/WebViewImpl.h:
2911 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
2913 Add explicit keyword to constructors in platform-specific InspectorClient
2914 https://bugs.webkit.org/show_bug.cgi?id=107255
2916 Reviewed by Kentaro Hara.
2918 Add explicit keyword to constructors that take one argument
2919 in platform-specific implementation of InspectorClient.
2921 * src/InspectorClientImpl.h:
2922 (InspectorClientImpl):
2924 2013-01-17 Dominic Cooney <dominicc@chromium.org>
2926 [Chromium] Unreviewed gardening.
2928 Roll Chromium to 177561.
2932 2013-01-17 Alpha Lam <hclam@chromium.org>
2934 [chromium] Disable a unit test
2935 https://bugs.webkit.org/show_bug.cgi?id=107206
2937 Unreviewed. Disable a failing test due to 140025.
2939 * tests/WebFrameTest.cpp:
2941 2013-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
2943 Unreviewed, rolling out r140023.
2944 http://trac.webkit.org/changeset/140023
2945 https://bugs.webkit.org/show_bug.cgi?id=107176
2947 Broke some tests (Requested by anttik on #webkit).
2949 * tests/RenderTableCellTest.cpp:
2950 * tests/RenderTableRowTest.cpp:
2952 2013-01-17 John Mellor <johnme@chromium.org>
2954 [chromium] Double-tap zoom should take into account accessibility fontScaleFactor
2955 https://bugs.webkit.org/show_bug.cgi?id=107123
2957 Reviewed by Adam Barth.
2959 Platforms which support Text Autosizing (currently just Chrome for
2960 Android) may provide a textAutosizingFontScaleFactor (defaults to 1.0).
2962 This value is intended to be chosen by the user to indicate how large
2963 they want text to appear, for example Chrome for Android has a "Text
2964 scaling" slider in Settings > Accessibility that lets you choose a value
2965 in the range 50% - 200% (defaults to 100%*).
2967 For text in wide columns that typically gets autosized, this value is
2968 applied by multiplying the textAutosizingMultiplier computed for each
2969 cluster by the textAutosizingFontScaleFactor. Double-tap zoom will fit
2970 the column to the screen (ignoring the textAutosizingFontScaleFactor)
2971 since the column is wide. This part already works.
2973 For text in narrow columns that doesn't get autosized, the
2974 textAutosizingFontScaleFactor is not applied through Text Autosizing,
2975 and instead needs to be applied by adjusting the double-tap zoom level.
2976 When double-tapping on narrow columns, instead of fitting the column to
2977 the screen (which would often zoom in excessively far), the existing
2978 logic in computeScaleAndScrollForHitRect applies a maximum zoom level
2979 called the legibleScale. This value needs to be multiplied by the
2980 textAutosizingFontScaleFactor, so that we zoom in proportionately
2981 further on non-autosized narrow columns, hence the effective text size
2982 (taking into account zoom) will have increased in proportion to the
2983 textAutosizingFontScaleFactor as expected.
2985 * src/WebViewImpl.cpp:
2986 (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2987 Multiplies legibleScale (the maximum zoom level) by the
2988 textAutosizingFontScaleFactor.
2989 * tests/WebFrameTest.cpp:
2990 Added WebFrameTest.DivAutoZoomScaleFontScaleFactorTest based on
2991 WebFrameTest.DivAutoZoomScaleBoundsTest to test the interaction
2992 between textAutosizingFontScaleFactor and the double-tap zoom logic.
2993 Also did minor cleanup to WebFrameTest.DivAutoZoomScaleBoundsTest.
2995 2013-01-17 Alexandre Elias <aelias@chromium.org>
2997 [chromium] Make new-style page scale work with fixed layout
2998 https://bugs.webkit.org/show_bug.cgi?id=106951
3000 Reviewed by Adam Barth.
3002 This makes non-CSS-transform page scaling work with fixed-layout mode,
3003 including viewport tag support.
3005 - dispatchViewportPropertiesDidChange() now works entirely with DIP
3006 pixels instead of physical pixels, and is made compatible with
3007 separating deviceScaleFactor from pageScaleFactor.
3009 - In this mode, the "layout viewport" size in the pinch-zoom model is
3010 made a first-class concept separate from the device size. This
3011 is a viewport with the same aspect ratio as the device but with the
3012 layout width of the page. This viewport is used:
3013 - As FrameView::visibleContentRect.
3014 - Returned from WebView::size().
3015 - Given to the compositor as layoutViewportSize.
3017 - m_deviceScaleInCompositor is deleted as it's clearer to use the
3018 applyDeviceScaleInCompositor setting directly.
3020 * src/ChromeClientImpl.cpp:
3021 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3022 * src/WebViewImpl.cpp:
3023 (WebKit::WebViewImpl::WebViewImpl):
3024 (WebKit::WebViewImpl::size):
3026 (WebKit::WebViewImpl::resize):
3027 (WebKit::WebViewImpl::setPageScaleFactor):
3028 (WebKit::WebViewImpl::setDeviceScaleFactor):
3029 (WebKit::WebViewImpl::layoutSize):
3030 (WebKit::WebViewImpl::computePageScaleFactorLimits):
3031 (WebKit::WebViewImpl::dipSize):
3032 (WebKit::WebViewImpl::didChangeContentsSize):
3033 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3034 (WebKit::WebViewImpl::updateLayerTreeViewport):
3035 * src/WebViewImpl.h:
3038 2013-01-17 Sheriff Bot <webkit.review.bot@gmail.com>
3040 Unreviewed. Rolled Chromium DEPS to r177369. Requested by
3041 ajuma via sheriffbot.
3045 2013-01-17 Eugene Klyuchnikov <eustas@chromium.org>
3047 Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "loadHeapSnapshot"
3048 https://bugs.webkit.org/show_bug.cgi?id=104545
3050 Reviewed by Yury Semikhatsky.
3052 Adopt changes: mimic old behavior.
3054 * src/WebDevToolsAgentImpl.cpp: Adopt signature changes.
3056 2013-01-17 Yury Semikhatsky <yurys@chromium.org>
3058 Web Inspector: add WebDeToolsAgentImpl as task observer on reattach
3059 https://bugs.webkit.org/show_bug.cgi?id=107106
3061 Reviewed by Pavel Feldman.
3063 Register WebDevToolsAgentImpl as task observer when it client is reattached.
3065 * src/WebDevToolsAgentImpl.cpp:
3066 (WebKit::WebDevToolsAgentImpl::reattach):
3068 2013-01-16 Dominic Cooney <dominicc@chromium.org>
3070 [Chromium] Unreviewed gardening.
3072 Roll Chromium to 177350.
3076 2013-01-16 Kristian Monsen <kristianm@google.com>
3078 Fix build break for Android webview.
3079 https://bugs.webkit.org/show_bug.cgi?id=107072
3081 Reviewed by Steve Block.
3083 Add extra guards when checking for OS=="Android" to make sure it is not included
3086 * WebKitUnitTests.gyp:
3088 2013-01-16 Dominic Cooney <dominicc@chromium.org>
3090 [Chromium] Unreviewed gardening.
3092 Roll Chromium to 177310.
3096 2013-01-16 W. James MacLean <wjmaclean@chromium.org>
3098 LinkHighlight should use touch adjustment to match active state on GestureTapDown.
3099 https://bugs.webkit.org/show_bug.cgi?id=107032
3101 Reviewed by Adam Barth.
3103 LinkHighlight node selection should produce results that match the node marked
3104 active during GestureTapDown.
3106 * src/WebViewImpl.cpp:
3107 (WebKit::WebViewImpl::bestTouchLinkNode):
3108 * tests/LinkHighlightTest.cpp:
3111 2013-01-16 Kentaro Hara <haraken@chromium.org>
3113 [V8] Make a creationContext parameter of toV8() mandatory
3114 https://bugs.webkit.org/show_bug.cgi?id=107020
3116 Reviewed by Adam Barth.
3118 We pass Handle<Object>() to a creationContext parameter of
3119 toV8() when we do not have a creationContext.
3121 No tests. No change in behavior.
3123 * src/InspectorFrontendClientImpl.cpp:
3124 (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
3125 * src/WebArrayBuffer.cpp:
3126 (WebKit::WebArrayBuffer::toV8Value):
3128 (WebKit::WebBlob::toV8Value):
3129 * src/WebFrameImpl.cpp:
3130 (WebKit::WebFrameImpl::createFileSystem):
3131 (WebKit::WebFrameImpl::createSerializableFileSystem):
3132 (WebKit::WebFrameImpl::createFileEntry):
3134 2013-01-16 Mark Pilgrim <pilgrim@chromium.org>
3136 [Chromium] Move WebArrayBufferView and WebSerializedScriptValue out of public/platform/
3137 https://bugs.webkit.org/show_bug.cgi?id=106863
3139 Reviewed by Adam Barth.
3141 These are not being moved into the new top-level Platform
3142 directory, so into public they go.
3145 * public/WebArrayBufferView.h: Added.
3148 (WebArrayBufferView):
3149 (WebKit::WebArrayBufferView::~WebArrayBufferView):
3150 (WebKit::WebArrayBufferView::WebArrayBufferView):
3151 * public/WebSerializedScriptValue.h: Added.
3154 (WebSerializedScriptValue):
3155 (WebKit::WebSerializedScriptValue::~WebSerializedScriptValue):
3156 (WebKit::WebSerializedScriptValue::WebSerializedScriptValue):
3157 (WebKit::WebSerializedScriptValue::operator=):
3158 (WebKit::WebSerializedScriptValue::isNull):
3159 * public/platform/WebArrayBufferView.h:
3160 * public/platform/WebSerializedScriptValue.h:
3162 2013-01-16 Chris Hopman <cjhopman@chromium.org>
3164 [Chromium] Remove hardcoded chromium_*.jar in gyp files
3165 https://bugs.webkit.org/show_bug.cgi?id=104049
3167 Reviewed by Eric Seidel.
3169 Targets with dependencies (direct/indirect) on a java target receive
3170 the chromium_*.jar paths in the variable input_jars_paths. Targets
3171 should use that rather than hardcoding where they think the jar will
3172 be. These can be passed directly to ant as INPUT_JARS_PATHS rather
3173 than as --jars to generate_native_test.py.
3175 * WebKitUnitTests.gyp:
3177 2013-01-16 Dominic Cooney <dominicc@chromium.org>
3179 [Chromium] Unreviewed gardening.
3181 Roll Chromium to 177117.
3185 2013-01-16 Dominic Cooney <dominicc@chromium.org>
3187 [Chromium] Unreviewed gardening.
3189 Roll Chromium to r177080.
3193 2013-01-15 Ian Vollick <vollick@chromium.org>
3195 [chromium] Create GraphicsLayerChromiums using a factory
3196 https://bugs.webkit.org/show_bug.cgi?id=103635
3198 Reviewed by James Robinson.
3200 Refactor graphics layer creation for chromium to go through a factory.
3202 * src/ChromeClientImpl.cpp:
3204 (GraphicsLayerFactoryChromium):
3205 (WebCore::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
3206 (WebKit::ChromeClientImpl::ChromeClientImpl):
3207 (WebKit::ChromeClientImpl::graphicsLayerFactory):
3209 * src/ChromeClientImpl.h:
3212 * src/NonCompositedContentHost.cpp:
3213 (WebKit::NonCompositedContentHost::NonCompositedContentHost):
3214 * src/NonCompositedContentHost.h:
3216 (WebKit::NonCompositedContentHost::create):
3217 (NonCompositedContentHost):
3218 * src/PageOverlay.cpp:
3219 (WebKit::PageOverlay::update):
3220 * src/WebViewImpl.cpp:
3221 (WebKit::WebViewImpl::graphicsLayerFactory):
3223 (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3224 * src/WebViewImpl.h:
3227 * tests/GraphicsLayerChromiumTest.cpp:
3228 (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
3229 * tests/ImageLayerChromiumTest.cpp:
3232 2013-01-15 Mark Pilgrim <pilgrim@chromium.org>
3234 [Chromium] Move SocketStreamHandle and SocketStreamHandleInternal to WebCore/platform
3235 https://bugs.webkit.org/show_bug.cgi?id=106899
3237 Reviewed by Adam Barth.
3239 Part of a larger refactoring series; see tracking bug 106829.
3242 * src/SocketStreamHandle.cpp: Removed.
3243 * src/SocketStreamHandleInternal.h: Removed.
3245 2013-01-15 Florin Malita <fmalita@chromium.org>
3247 [Chromium] Incorrect opaque region tracking for PlatformContextSkia::drawRRect
3248 https://bugs.webkit.org/show_bug.cgi?id=106898
3250 Reviewed by Stephen White.
3252 * tests/PlatformContextSkiaTest.cpp:
3256 2012-12-28 Vsevolod Vlasov <vsevik@chromium.org>
3258 Web Inspector: Support inspector file system access with isolated file system through InspectorFrontendHost.
3259 https://bugs.webkit.org/show_bug.cgi?id=105727
3261 Reviewed by Pavel Feldman.
3263 File system access methods plumbing made for Chromium.
3265 * public/WebDevToolsFrontendClient.h:
3266 (WebKit::WebDevToolsFrontendClient::requestFileSystems):
3267 (WebKit::WebDevToolsFrontendClient::addFileSystem):
3268 (WebKit::WebDevToolsFrontendClient::removeFileSystem):
3269 (WebDevToolsFrontendClient):
3270 * src/InspectorFrontendClientImpl.cpp:
3271 (WebKit::InspectorFrontendClientImpl::supportsFileSystems):
3273 (WebKit::InspectorFrontendClientImpl::requestFileSystems):
3274 (WebKit::InspectorFrontendClientImpl::addFileSystem):
3275 (WebKit::InspectorFrontendClientImpl::removeFileSystem):
3276 * src/InspectorFrontendClientImpl.h:
3277 (InspectorFrontendClientImpl):
3279 2013-01-14 Dominic Cooney <dominicc@chromium.org>
3281 [Chromium] Unreviewed gardening.
3283 Roll Chromium to r176801.
3285 * DEPS: Rollin' on the river.
3287 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
3289 [Chromium] Remove unused public/platform/WebColorName.h
3290 https://bugs.webkit.org/show_bug.cgi?id=106865
3292 Reviewed by Adam Barth.
3294 This file is no longer referenced anywhere in WebKit or Chromium.
3296 * public/platform/WebColorName.h: Removed.
3298 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
3300 [Chromium] Move BlobRegistryProxy into WebCore
3301 https://bugs.webkit.org/show_bug.cgi?id=106831
3303 Reviewed by Adam Barth.
3305 Part of a larger refactoring series to remove layering violations
3306 in Chromium. See tracking bug 106829.
3309 * src/BlobRegistryProxy.cpp: Removed.
3310 * src/BlobRegistryProxy.h: Removed.
3312 2013-01-14 Alec Flett <alecflett@chromium.org>
3314 IndexedDB: Remove IDBObjectStore/IndexBackendImpl and support functions
3315 https://bugs.webkit.org/show_bug.cgi?id=106605
3317 Remove all references to IDBObjectStoreBackend* and IDBIndexBackend*
3318 as they no longer exist in WebCore.
3320 Reviewed by Darin Fisher.
3323 * public/WebIDBCallbacks.h:
3325 * public/WebIDBDatabase.h:
3327 (WebKit::WebIDBDatabase::metadata):
3328 * public/WebIDBFactory.h:
3330 * public/WebIDBIndex.h: Removed.
3331 * public/WebIDBObjectStore.h: Removed.
3332 * public/WebIDBTransaction.h:
3333 * src/IDBCallbacksProxy.cpp:
3334 * src/IDBDatabaseBackendProxy.cpp:
3335 * src/IDBDatabaseBackendProxy.h:
3336 (IDBDatabaseBackendProxy):
3337 * src/IDBFactoryBackendProxy.cpp:
3338 * src/IDBFactoryBackendProxy.h:
3339 (IDBFactoryBackendProxy):
3340 * src/IDBIndexBackendProxy.cpp: Removed.
3341 * src/IDBIndexBackendProxy.h: Removed.
3342 * src/IDBObjectStoreBackendProxy.cpp: Removed.
3343 * src/IDBObjectStoreBackendProxy.h: Removed.
3344 * src/IDBTransactionBackendProxy.cpp:
3345 * src/IDBTransactionBackendProxy.h:
3346 (IDBTransactionBackendProxy):
3347 * src/WebIDBDatabaseImpl.cpp:
3348 (WebKit::WebIDBDatabaseImpl::put):
3349 (WebKit::WebIDBDatabaseImpl::setIndexKeys):
3350 * src/WebIDBDatabaseImpl.h:
3352 (WebIDBDatabaseImpl):
3353 * src/WebIDBFactoryImpl.cpp:
3354 (WebKit::WebIDBFactoryImpl::getDatabaseNames):
3355 * src/WebIDBFactoryImpl.h:
3356 (WebIDBFactoryImpl):
3357 * src/WebIDBIndexImpl.cpp: Removed.
3358 * src/WebIDBIndexImpl.h: Removed.
3359 * src/WebIDBObjectStoreImpl.cpp: Removed.
3360 * src/WebIDBObjectStoreImpl.h: Removed.
3361 * src/WebIDBTransactionImpl.cpp:
3362 * src/WebIDBTransactionImpl.h:
3363 * tests/IDBAbortOnCorruptTest.cpp:
3365 * tests/IDBDatabaseBackendTest.cpp:
3367 2013-01-14 Dominic Mazzoni <dmazzoni@google.com>
3369 AX: Need to implement ColorWellRole
3370 https://bugs.webkit.org/show_bug.cgi?id=106756
3372 Reviewed by Chris Fleizach.
3374 Adds an accessibility interface to access the value of a
3377 * public/WebAccessibilityObject.h:
3378 (WebAccessibilityObject):
3379 * src/WebAccessibilityObject.cpp:
3380 (WebKit::WebAccessibilityObject::colorValue):
3383 2013-01-14 Mark Pilgrim <pilgrim@chromium.org>
3385 [Chromium] Move AudioDestinationChromium into WebCore
3386 https://bugs.webkit.org/show_bug.cgi?id=106803
3388 Reviewed by Adam Barth.
3390 This doesn't really belong in WebKit/chromium/src since it defines
3391 things directly in the WebCore namespace.
3394 * src/AudioDestinationChromium.cpp: Removed.
3395 * src/AudioDestinationChromium.h: Removed.
3397 2013-01-14 Stephen Chenney <schenney@chromium.org>
3399 Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
3401 Unreviewed build fix.
3403 It turns out that the change behind this flag causes crashes and image errors.
3407 2013-01-14 Kentaro Hara <haraken@chromium.org>
3409 [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interruptAndRun()
3410 https://bugs.webkit.org/show_bug.cgi?id=106779
3412 Reviewed by Adam Barth.
3414 This is one of steps to make an Isolate parameter mandatory.
3416 No tests. No change in behavior.
3418 * src/WebDevToolsAgentImpl.cpp:
3419 (WebKit::WebDevToolsAgent::interruptAndDispatch):
3421 2013-01-13 Vsevolod Vlasov <vsevik@chromium.org>
3423 Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPanelSwitch fails
3424 https://bugs.webkit.org/show_bug.cgi?id=106755
3426 Reviewed by Alexander Pavlov.
3429 (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
3430 (.TestSuite.prototype.nonAnonymousUISourceCodes_):
3432 2013-01-12 David Grogan <dgrogan@chromium.org>
3434 Unreviewed. Roll chromium DEPS to 176595.
3435 https://bugs.webkit.org/show_bug.cgi?id=106730
3439 2013-01-11 Dan Beam <dbeam@chromium.org>
3441 [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of more specific Error reasons
3442 https://bugs.webkit.org/show_bug.cgi?id=106610
3444 Reviewed by Darin Fisher.
3446 * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultError in favor of more specific error reasons.
3447 * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asserts.
3449 2013-01-11 Tien-Ren Chen <trchen@chromium.org>
3451 WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
3452 https://bugs.webkit.org/show_bug.cgi?id=104427
3454 Reviewed by Adam Barth.
3456 When a gesture needs to be disambiguated, WebKit doesn't update cursor focus.
3457 We added an extra status for didHandleGestureEvent(), so we can distinguish
3458 the case whether the event is actually delivered to the web page or cancelled.
3460 * public/WebViewClient.h:
3461 * public/WebWidgetClient.h:
3464 (WebKit::WebWidgetClient::didHandleGestureEvent):
3465 * src/WebViewImpl.cpp:
3466 (WebKit::WebViewImpl::handleGestureEvent):
3467 * tests/WebViewTest.cpp:
3469 2013-01-11 Eberhard Graether <egraether@google.com>
3471 [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers recursively in continuous painting mode
3472 https://bugs.webkit.org/show_bug.cgi?id=105458
3474 Reviewed by James Robinson.
3476 In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
3477 while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
3478 calls setNeedsDisplay() on all GraphicsLayers recursively in order to force all layers to repaint. PageOverlay
3479 layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
3482 * src/PageOverlay.h:
3483 (WebKit::PageOverlay::graphicsLayer):
3485 * src/PageOverlayList.cpp:
3486 (WebKit::PageOverlayList::findGraphicsLayer):
3488 * src/PageOverlayList.h:
3491 * src/WebViewImpl.cpp:
3492 (WebKit::WebViewImpl::WebViewImpl):
3493 (WebKit::WebViewImpl::didBeginFrame):
3494 * src/WebViewImpl.h:
3495 * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium/src/PageOverlay.h.
3497 (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
3498 * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/src/PageOverlay.h.
3501 (ContinuousPainter):
3503 2013-01-11 Tony Chang <tony@chromium.org>
3505 Unreviewed, revert r139157 to fix the chromium build.
3506 These files were deleted in a follow up and since r139044 was reverted, we need to
3507 add back these files.
3510 * src/DragScrollTimer.cpp: Added.
3512 (WebKit::distanceToRect):
3513 (WebKit::DragScrollTimer::DragScrollTimer):
3514 (WebKit::DragScrollTimer::~DragScrollTimer):
3515 (WebKit::DragScrollTimer::stop):
3516 (WebKit::DragScrollTimer::scroll):
3517 (WebKit::DragScrollTimer::update):
3518 (WebKit::DragScrollTimer::triggerScroll):
3519 (WebKit::DragScrollTimer::scrollDistanceFor):
3520 * src/DragScrollTimer.h: Added.
3523 (WebKit::DragScrollTimer::fired):
3524 (WebKit::DragScrollTimer::shouldScroll):
3526 2013-01-11 Sheriff Bot <webkit.review.bot@gmail.com>
3528 Unreviewed, rolling out r139044.
3529 http://trac.webkit.org/changeset/139044
3530 https://bugs.webkit.org/show_bug.cgi?id=106702
3532 Caused various scrolling anomolies on Mac with drag and drop
3533 (Requested by smfr on #webkit).
3535 * src/WebViewImpl.cpp:
3536 (WebKit::WebViewImpl::WebViewImpl):
3537 (WebKit::WebViewImpl::dragSourceEndedAt):
3538 (WebKit::WebViewImpl::dragSourceMovedTo):
3539 (WebKit::WebViewImpl::dragTargetDrop):
3540 (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
3541 * src/WebViewImpl.h:
3544 2013-01-11 Tony Chang <tony@chromium.org>
3546 [chromium] Don't regenerate all bindings when any idl file changes
3547 https://bugs.webkit.org/show_bug.cgi?id=106604
3549 Reviewed by Kentaro Hara.
3551 * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python import search path
3552 so we can generate idl dependencies at gyp time.
3554 2013-01-11 Stephen Chenney <schenney@chromium.org>
3556 Removing Skia flags that have been disabling oprtimizations and other improvements.
3558 Unreviewed build fix.
3560 These changes have been extensively tested by the Skia team, and
3561 WebKit test result changes will be monitored.
3565 2013-01-11 Pavel Feldman <pfeldman@chromium.org>
3567 Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
3568 https://bugs.webkit.org/show_bug.cgi?id=106560
3570 Reviewed by Vsevolod Vlasov.
3572 * src/js/devTools.css:
3573 (body.dock-to-bottom.platform-mac #toolbar):
3575 2013-01-10 Noel Gordon <noel.gordon@gmail.com>
3577 [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
3578 https://bugs.webkit.org/show_bug.cgi?id=106631
3580 Reviewed by Eric Seidel.
3582 * tests/WebImageTest.cpp:
3583 (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
3584 green their respective webkit-unit-test bots. The tests still pass on
3585 LINUX so keep test coverage there for now.
3587 2013-01-10 Dan Beam <dbeam@chromium.org>
3589 Implement AutocompleteErrorEvent#reason
3590 https://bugs.webkit.org/show_bug.cgi?id=105568
3592 Reviewed by Adam Barth.
3594 * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
3595 * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
3597 2013-01-10 Adam Barth <abarth@webkit.org>
3599 Add an ENABLE macro and a WebCore::Setting for the threaded parser
3600 https://bugs.webkit.org/show_bug.cgi?id=106595
3602 Reviewed by Benjamin Poulain.
3604 Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
3605 more easily enable it locally.
3609 2013-01-10 John Mellor <johnme@chromium.org>
3611 Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
3612 https://bugs.webkit.org/show_bug.cgi?id=106460
3614 Reviewed by Kenneth Rohde Christiansen.
3616 1. Exposes the existing applyDeviceScaleFactorInCompositor from
3617 WebSettings on Settings (and stores the value there instead), so it can
3618 be accessed from WebCore.
3620 2. Changes ChromeClientImpl::windowRect to return values in density
3621 independent (UI) pixels pixels instead of physical screen pixels (see
3622 explanation in Source/WebCore/ChangeLog).
3624 * src/ChromeClientImpl.cpp:
3625 (WebKit::ChromeClientImpl::windowRect):
3626 Normalizes window rect scale.
3627 * src/WebSettingsImpl.cpp:
3628 (WebKit::WebSettingsImpl::WebSettingsImpl):
3629 (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
3630 (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
3632 * src/WebSettingsImpl.h:
3635 2013-01-10 Sheriff Bot <webkit.review.bot@gmail.com>
3637 Unreviewed. Rolled DEPS.
3641 2013-01-10 Dimitri Glazkov <dglazkov@chromium.org>
3643 Unreviewed, rolling out r139227.
3644 http://trac.webkit.org/changeset/139227
3645 https://bugs.webkit.org/show_bug.cgi?id=106227
3647 Broke Win component build.
3649 * public/WebAccessibilityObject.h:
3650 * public/WebAccessibilityRole.h:
3651 * public/WebActiveWheelFlingParameters.h:
3652 * public/WebAnimationController.h:
3653 * public/WebApplicationCacheHost.h:
3654 * public/WebApplicationCacheHostClient.h:
3655 * public/WebArrayBuffer.h:
3656 * public/WebAudioSourceProvider.h:
3657 * public/WebBatteryStatus.h:
3658 * public/WebBindings.h:
3660 * public/WebCache.h:
3661 * public/WebCachedURLRequest.h:
3662 * public/WebColorChooser.h:
3663 * public/WebColorChooserClient.h:
3664 * public/WebColorName.h:
3665 * public/WebCommonWorkerClient.h:
3666 * public/WebCompositionUnderline.h:
3667 * public/WebCompositorInputHandler.h:
3668 * public/WebConsoleMessage.h:
3669 * public/WebContentDetectionResult.h:
3670 * public/WebContextMenuData.h:
3671 * public/WebCrossOriginPreflightResultCache.h:
3672 * public/WebCursorInfo.h:
3673 * public/WebDOMEvent.h:
3674 * public/WebDOMEventListener.h:
3675 * public/WebDOMStringList.h:
3676 * public/WebDataSource.h:
3677 * public/WebDatabase.h:
3678 * public/WebDateTimeChooserCompletion.h:
3679 * public/WebDateTimeChooserParams.h:
3680 * public/WebDeliveredIntentClient.h:
3681 * public/WebDevToolsAgent.h:
3682 * public/WebDevToolsAgentClient.h:
3683 * public/WebDevToolsFrontend.h:
3684 * public/WebDeviceOrientationClient.h:
3685 * public/WebDeviceOrientationClientMock.h:
3686 * public/WebDeviceOrientationController.h:
3687 * public/WebDocument.h:
3688 * public/WebDraggableRegion.h:
3689 * public/WebExternalPopupMenuClient.h:
3690 * public/WebFileChooserCompletion.h:
3691 * public/WebFileChooserParams.h:
3692 * public/WebFileSystemCallbacks.h:
3693 * public/WebFileSystemEntry.h:
3694 * public/WebFileWriter.h:
3695 * public/WebFileWriterClient.h:
3696 * public/WebFindOptions.h:
3698 * public/WebFontCache.h:
3699 * public/WebFontDescription.h:
3700 * public/WebFormControlElement.h:
3701 * public/WebFormElement.h:
3702 * public/WebFrame.h:
3703 * public/WebFrameClient.h:
3704 * public/WebGeolocationClientMock.h:
3705 * public/WebGeolocationController.h:
3706 * public/WebGeolocationError.h:
3707 * public/WebGeolocationPermissionRequest.h:
3708 * public/WebGeolocationPermissionRequestManager.h:
3709 * public/WebGeolocationPosition.h:
3710 * public/WebGlyphCache.h:
3711 * public/WebHelperPlugin.h:
3712 * public/WebHistoryItem.h:
3713 * public/WebHitTestResult.h:
3714 * public/WebIDBCallbacks.h:
3715 * public/WebIDBCursor.h:
3716 * public/WebIDBDatabase.h:
3717 * public/WebIDBDatabaseCallbacks.h:
3718 * public/WebIDBDatabaseError.h:
3719 * public/WebIDBFactory.h:
3720 * public/WebIDBIndex.h:
3721 * public/WebIDBKey.h:
3722 * public/WebIDBKeyPath.h:
3723 * public/WebIDBKeyRange.h:
3724 * public/WebIDBMetadata.h:
3725 * public/WebIDBObjectStore.h:
3726 * public/WebIDBTransaction.h:
3727 * public/WebIDBTransactionCallbacks.h:
3728 * public/WebIconURL.h:
3729 * public/WebImageDecoder.h:
3730 * public/WebInputEvent.h:
3731 * public/WebIntent.h:
3732 * public/WebIntentRequest.h:
3733 * public/WebIntentServiceInfo.h:
3734 * public/WebMediaPlayer.h:
3735 * public/WebMediaStreamRegistry.h:
3736 * public/WebMenuItemInfo.h:
3737 * public/WebNetworkStateNotifier.h:
3739 * public/WebNodeCollection.h:
3740 * public/WebNodeList.h:
3741 * public/WebNotification.h:
3742 * public/WebNotificationPresenter.h:
3743 * public/WebOptionElement.h:
3744 * public/WebPageOverlay.h:
3745 * public/WebPagePopup.h:
3746 * public/WebPageSerializer.h:
3747 * public/WebPasswordFormData.h:
3748 * public/WebPerformance.h:
3749 * public/WebPlugin.h:
3750 * public/WebPluginContainer.h:
3751 * public/WebPluginParams.h:
3752 * public/WebPopupMenu.h:
3753 * public/WebPopupMenuInfo.h:
3754 * public/WebPrerendererClient.h:
3755 * public/WebPrintParams.h:
3756 * public/WebRange.h:
3757 * public/WebRegularExpression.h:
3758 * public/WebRuntimeFeatures.h:
3759 * public/WebScopedMicrotaskSuppression.h:
3760 * public/WebScopedUserGesture.h:
3761 * public/WebScriptController.h:
3762 * public/WebScriptSource.h:
3763 * public/WebSearchableFormData.h:
3764 * public/WebSecurityOrigin.h:
3765 * public/WebSecurityPolicy.h:
3766 * public/WebSelectElement.h:
3767 * public/WebSettings.h:
3768 * public/WebSharedWorker.h:
3769 * public/WebSharedWorkerRepository.h:
3770 * public/WebSpeechGrammar.h:
3771 * public/WebSpeechInputController.h:
3772 * public/WebSpeechInputResult.h:
3773 * public/WebSpeechRecognitionHandle.h:
3774 * public/WebSpeechRecognitionParams.h:
3775 * public/WebSpeechRecognitionResult.h:
3776 * public/WebSpeechRecognizer.h:
3777 * public/WebSpeechRecognizerClient.h:
3778 * public/WebSpellCheckClient.h:
3779 * public/WebStorageEventDispatcher.h:
3780 * public/WebSurroundingText.h:
3781 * public/WebTestingSupport.h:
3782 * public/WebTextCheckingCompletion.h:
3783 * public/WebTextCheckingResult.h:
3784 * public/WebTextFieldDecoratorClient.h:
3785 * public/WebTextInputInfo.h:
3786 * public/WebTextRun.h:
3787 * public/WebTimeRange.h:
3788 * public/WebTouchPoint.h:
3789 * public/WebUserMediaRequest.h:
3791 * public/WebViewBenchmarkSupport.h:
3792 * public/WebViewClient.h:
3793 * public/WebWidget.h:
3794 * public/WebWidgetClient.h:
3795 * public/WebWindowFeatures.h:
3796 * public/WebWorkerInfo.h:
3798 2013-01-09 Alec Flett <alecflett@chromium.org>
3800 IndexedDB: Allow createIndex/createObjectStore to be asynchronous
3801 https://bugs.webkit.org/show_bug.cgi?id=106377
3803 Reviewed by Tony Chang.
3805 Remove this test as it makes no sense once the objectstore/index
3808 * tests/IDBDatabaseBackendTest.cpp:
3810 2013-01-09 Chris Rogers <crogers@google.com>
3812 Allow live/local audio input to be enabled only when needed
3813 https://bugs.webkit.org/show_bug.cgi?id=106490
3815 Reviewed by Kenneth Russell.
3817 * src/AudioDestinationChromium.cpp:
3819 (WebCore::AudioDestination::create):
3820 (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3821 (WebCore::AudioDestinationChromium::render):
3822 * src/AudioDestinationChromium.h:
3823 (AudioDestinationChromium):
3825 2013-01-09 Yue Zhang <zysxqn@google.com>
3827 [Chromium] Always enable autocomplete for password fields
3828 https://bugs.webkit.org/show_bug.cgi?id=104600
3830 Reviewed by Darin Fisher.
3832 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).
3834 * src/WebPasswordFormUtils.cpp:
3835 (WebKit::findPasswordFormFields):
3836 * src/WebPasswordFormUtils.h:
3838 (WebKit::findPasswordFormFields):
3840 2013-01-09 James Robinson <jamesr@chromium.org>
3842 [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
3843 https://bugs.webkit.org/show_bug.cgi?id=106495
3845 Reviewed by Adrienne Walker.
3847 The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
3848 of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
3849 client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
3850 notification to the WebWidget that the WebLayerTreeView is going to go away.
3852 This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
3853 which will take a bit more refactoring.
3855 * public/WebWidget.h:
3857 (WebKit::WebWidget::willCloseLayerTreeView):
3858 * src/WebViewImpl.cpp:
3859 (WebKit::WebViewImpl::willCloseLayerTreeView):
3861 * src/WebViewImpl.h:
3864 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
3866 [Chromium] Remove stray references to WebKitPlatformSupport.h
3867 https://bugs.webkit.org/show_bug.cgi?id=106493
3869 Reviewed by James Robinson.
3871 Part of a refactoring series. See tracking bug 82948.
3873 * src/SharedWorkerRepository.cpp:
3874 * tests/RunAllTests.cpp:
3876 2013-01-09 Mark Pilgrim <pilgrim@chromium.org>
3878 [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
3879 https://bugs.webkit.org/show_bug.cgi?id=106227
3881 Reviewed by Darin Fisher.
3883 Part of a larger refactoring series. See tracking bug 82948.
3885 * public/WebAccessibilityObject.h:
3886 * public/WebAccessibilityRole.h:
3887 * public/WebActiveWheelFlingParameters.h:
3888 * public/WebAnimationController.h:
3889 * public/WebApplicationCacheHost.h:
3890 * public/WebApplicationCacheHostClient.h:
3891 * public/WebArrayBuffer.h:
3892 * public/WebAudioSourceProvider.h:
3893 * public/WebBatteryStatus.h:
3894 * public/WebBindings.h:
3896 * public/WebCache.h:
3897 * public/WebCachedURLRequest.h:
3898 * public/WebColorChooser.h:
3899 * public/WebColorChooserClient.h:
3900 * public/WebColorName.h:
3901 * public/WebCommonWorkerClient.h:
3902 * public/WebCompositionUnderline.h:
3903 * public/WebCompositorInputHandler.h:
3904 * public/WebConsoleMessage.h:
3905 * public/WebContentDetectionResult.h:
3906 * public/WebContextMenuData.h:
3907 * public/WebCrossOriginPreflightResultCache.h:
3908 * public/WebCursorInfo.h:
3909 * public/WebDOMEvent.h:
3910 * public/WebDOMEventListener.h:
3911 * public/WebDOMStringList.h:
3912 * public/WebDataSource.h:
3913 * public/WebDatabase.h:
3914 * public/WebDateTimeChooserCompletion.h:
3915 * public/WebDateTimeChooserParams.h:
3916 * public/WebDeliveredIntentClient.h:
3917 * public/WebDevToolsAgent.h:
3918 * public/WebDevToolsAgentClient.h:
3919 * public/WebDevToolsFrontend.h:
3920 * public/WebDeviceOrientationClient.h:
3921 * public/WebDeviceOrientationClientMock.h:
3922 * public/WebDeviceOrientationController.h:
3923 * public/WebDocument.h:
3924 * public/WebDraggableRegion.h:
3925 * public/WebExternalPopupMenuClient.h:
3926 * public/WebFileChooserCompletion.h:
3927 * public/WebFileChooserParams.h:
3928 * public/WebFileSystemCallbacks.h:
3929 * public/WebFileSystemEntry.h:
3930 * public/WebFileWriter.h:
3931 * public/WebFileWriterClient.h:
3932 * public/WebFindOptions.h:
3934 * public/WebFontCache.h:
3935 * public/WebFontDescription.h:
3936 * public/WebFormControlElement.h:
3937 * public/WebFormElement.h:
3938 * public/WebFrame.h:
3939 * public/WebFrameClient.h:
3940 * public/WebGeolocationClientMock.h:
3941 * public/WebGeolocationController.h:
3942 * public/WebGeolocationError.h:
3943 * public/WebGeolocationPermissionRequest.h:
3944 * public/WebGeolocationPermissionRequestManager.h:
3945 * public/WebGeolocationPosition.h:
3946 * public/WebGlyphCache.h:
3947 * public/WebHelperPlugin.h:
3948 * public/WebHistoryItem.h:
3949 * public/WebHitTestResult.h:
3950 * public/WebIDBCallbacks.h:
3951 * public/WebIDBCursor.h:
3952 * public/WebIDBDatabase.h:
3953 * public/WebIDBDatabaseCallbacks.h:
3954 * public/WebIDBDatabaseError.h:
3955 * public/WebIDBFactory.h:
3956 * public/WebIDBIndex.h:
3957 * public/WebIDBKey.h:
3958 * public/WebIDBKeyPath.h:
3959 * public/WebIDBKeyRange.h:
3960 * public/WebIDBMetadata.h:
3961 * public/WebIDBObjectStore.h:
3962 * public/WebIDBTransaction.h:
3963 * public/WebIDBTransactionCallbacks.h:
3964 * public/WebIconURL.h:
3965 * public/WebImageDecoder.h:
3966 * public/WebInputEvent.h:
3967 * public/WebIntent.h:
3968 * public/WebIntentRequest.h:
3969 * public/WebIntentServiceInfo.h:
3970 * public/WebMediaPlayer.h:
3971 * public/WebMediaStreamRegistry.h:
3972 * public/WebMenuItemInfo.h:
3973 * public/WebNetworkStateNotifier.h:
3975 * public/WebNodeCollection.h:
3976 * public/WebNodeList.h:
3977 * public/WebNotification.h:
3978 * public/WebNotificationPresenter.h:
3979 * public/WebOptionElement.h:
3980 * public/WebPageOverlay.h:
3981 * public/WebPagePopup.h:
3982 * public/WebPageSerializer.h:
3983 * public/WebPasswordFormData.h:
3984 * public/WebPerformance.h:
3985 * public/WebPlugin.h:
3986 * public/WebPluginContainer.h:
3987 * public/WebPluginParams.h:
3988 * public/WebPopupMenu.h:
3989 * public/WebPopupMenuInfo.h:
3990 * public/WebPrerendererClient.h:
3991 * public/WebPrintParams.h:
3992 * public/WebRange.h:
3993 * public/WebRegularExpression.h:
3994 * public/WebRuntimeFeatures.h:
3995 * public/WebScopedMicrotaskSuppression.h:
3996 * public/WebScopedUserGesture.h:
3997 * public/WebScriptController.h:
3998 * public/WebScriptSource.h:
3999 * public/WebSearchableFormData.h:
4000 * public/WebSecurityOrigin.h:
4001 * public/WebSecurityPolicy.h:
4002 * public/WebSelectElement.h:
4003 * public/WebSettings.h:
4004 * public/WebSharedWorker.h:
4005 * public/WebSharedWorkerRepository.h:
4006 * public/WebSpeechGrammar.h:
4007 * public/WebSpeechInputController.h:
4008 * public/WebSpeechInputResult.h:
4009 * public/WebSpeechRecognitionHandle.h:
4010 * public/WebSpeechRecognitionParams.h:
4011 * public/WebSpeechRecognitionResult.h:
4012 * public/WebSpeechRecognizer.h:
4013 * public/WebSpeechRecognizerClient.h:
4014 * public/WebSpellCheckClient.h:
4015 * public/WebStorageEventDispatcher.h:
4016 * public/WebSurroundingText.h:
4017 * public/WebTestingSupport.h:
4018 * public/WebTextCheckingCompletion.h:
4019 * public/WebTextCheckingResult.h:
4020 * public/WebTextFieldDecoratorClient.h:
4021 * public/WebTextInputInfo.h:
4022 * public/WebTextRun.h:
4023 * public/WebTimeRange.h:
4024 * public/WebTouchPoint.h:
4025 * public/WebUserMediaRequest.h:
4027 * public/WebViewBenchmarkSupport.h:
4028 * public/WebViewClient.h:
4029 * public/WebWidget.h:
4030 * public/WebWidgetClient.h:
4031 * public/WebWindowFeatures.h:
4032 * public/WebWorkerInfo.h:
4034 2013-01-09 Stephen Chenney <schenney@chromium.org>
4036 Adjust Skia build flags to WebKit skia gyp
4038 Unreviewed change to enable easy layout test rebaselining.
4042 2013-01-09 Mikhail Naganov <mnaganov@chromium.org>
4044 [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
4046 * tests/WebFrameTest.cpp:
4048 2013-01-08 Mikhail Naganov <mnaganov@chromium.org>
4050 [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
4051 https://bugs.webkit.org/show_bug.cgi?id=106021
4053 This is to emulate 'UseWideViewport' setting of Android WebView properly.
4054 'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
4055 When the value is false, "meta viewport" tag is ignored, and when calculating
4056 layout width, display width in DIP pixels is used.
4058 Reviewed by Adam Barth.
4060 * src/ChromeClientImpl.cpp:
4061 (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
4062 * src/WebViewImpl.cpp:
4063 (WebKit::WebViewImpl::resize):
4064 (WebKit::WebViewImpl::dipSize):
4066 * src/WebViewImpl.h:
4070 2013-01-08 Chris Rogers <crogers@google.com>
4072 Remove unused/deprecated render() method in chromium WebKit API
4073 https://bugs.webkit.org/show_bug.cgi?id=106399
4075 Reviewed by Kent Tamura.
4077 * src/AudioDestinationChromium.cpp:
4078 * src/AudioDestinationChromium.h:
4079 (AudioDestinationChromium):
4081 2013-01-08 Yoshifumi Inoue <yosin@chromium.org>
4083 Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
4084 https://bugs.webkit.org/show_bug.cgi?id=106403
4086 This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
4089 Reviewed by Hajime Morita.
4091 * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
4092 * src/DragScrollTimer.cpp: Removed.
4093 * src/DragScrollTimer.h: Removed.
4095 2013-01-08 Keishi Hattori <keishi@webkit.org>
4097 [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
4098 https://bugs.webkit.org/show_bug.cgi?id=106312