043199eea85985bdf5d3de1ccddfa9b2a731737f
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2013-02-04  James Simonsen  <simonjam@chromium.org>
2
3         [Chromium] Add a signal for when the body is inserted in the document
4         https://bugs.webkit.org/show_bug.cgi?id=108725
5
6         Reviewed by Adam Barth.
7
8         * public/WebFrameClient.h:
9         (WebFrameClient):
10         (WebKit::WebFrameClient::willInsertBody):
11         * src/FrameLoaderClientImpl.cpp:
12         (WebKit::FrameLoaderClientImpl::dispatchWillInsertBody):
13         (WebKit):
14         * src/FrameLoaderClientImpl.h:
15         (FrameLoaderClientImpl):
16         * tests/WebFrameTest.cpp:
17
18 2013-02-04  Chris Hopman  <cjhopman@chromium.org>
19
20         Make moveCaretTowardsWindowPoint not snap to the beginning/end when moved above/below editable
21         https://bugs.webkit.org/show_bug.cgi?id=107850
22
23         Reviewed by Ojan Vafai.
24
25         On Android, EditingBehavior::shouldMoveCaret[...] controls the
26         behavior of insertion handles. This change adds a new Android specific
27         editing behavior type so that we can change these settings independent
28         of behavior for other platforms.
29
30         * public/WebSettings.h:
31         * src/AssertMatchingEnums.cpp:
32         Just add the corresponding assertion for the new editing behavior.
33
34         * public/WebSettings.h:
35         * src/AssertMatchingEnums.cpp:
36
37         * tests/WebFrameTest.cpp:
38         * tests/data/move_caret.html: Added.
39         Add a test that moveCaretTowardsWindowPoint works as expected on
40         Android.
41
42 2013-01-31  Kentaro Hara  <haraken@chromium.org>
43
44         Implement WheelEvent::deltaMode
45         https://bugs.webkit.org/show_bug.cgi?id=108455
46
47         Reviewed by Adam Barth.
48
49         * src/WebInputEventConversion.cpp:
50         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
51
52 2013-02-04  Mark Pilgrim  <pilgrim@chromium.org>
53
54         [Chromium] Move WorkerContextProxy to WebCore
55         https://bugs.webkit.org/show_bug.cgi?id=108847
56
57         Reviewed by Adam Barth.
58
59         Part of a larger refactoring series; see tracking bug 106829.
60
61         * WebKit.gyp:
62         * src/WebKit.cpp:
63         (WebKit::initializeWithoutV8):
64         * src/WorkerContextProxy.cpp: Removed.
65
66 2013-02-04  Abhishek Arya  <inferno@chromium.org>
67
68         Add ASSERT_WITH_SECURITY_IMPLICATION to detect out of bounds access
69         https://bugs.webkit.org/show_bug.cgi?id=108668
70
71         Reviewed by Eric Seidel.
72
73         * src/ContextFeaturesClientImpl.cpp:
74         (WebKit::ContextFeaturesCache::entryFor):
75         * src/WebFrameImpl.cpp:
76         (WebKit::WebFrameImpl::selectFindMatch):
77
78 2013-02-04  Mark Pilgrim  <pilgrim@chromium.org>
79
80         [Chromium] Move IDBFactoryBackendInterface to WebCore
81         https://bugs.webkit.org/show_bug.cgi?id=108638
82
83         Reviewed by Adam Barth.
84
85         Part of a larger refactoring series; see tracking bug 106829.
86
87         * WebKit.gyp:
88         * src/AssertMatchingEnums.cpp:
89         * src/IDBFactoryBackendInterface.cpp: Removed.
90         * src/IDBFactoryBackendProxy.h:
91         * src/WebKit.cpp:
92         (WebKit::initializeWithoutV8):
93
94 2013-02-04  Abhishek Arya  <inferno@chromium.org>
95
96         Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
97         https://bugs.webkit.org/show_bug.cgi?id=108688
98
99         Reviewed by Eric Seidel.
100
101         * src/IDBFactoryBackendProxy.cpp:
102         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
103         (WebKit::getWebFrame):
104         * src/LocalFileSystemChromium.cpp:
105         (WebCore::LocalFileSystem::deleteFileSystem):
106         * src/WebSharedWorkerImpl.cpp:
107         (WebKit::WebSharedWorkerImpl::connectTask):
108         (WebKit::resumeWorkerContextTask):
109         (WebKit::connectToWorkerContextInspectorTask):
110         (WebKit::reconnectToWorkerContextInspectorTask):
111         (WebKit::disconnectFromWorkerContextInspectorTask):
112         (WebKit::dispatchOnInspectorBackendTask):
113
114 2013-02-04  Sami Kyostila  <skyostil@chromium.org>
115
116         Disable -webkit-overflow-scrolling CSS attribute on Chromium
117         https://bugs.webkit.org/show_bug.cgi?id=108020
118
119         Reviewed by James Robinson.
120
121         Now that we can automatically promote overflow elements to accelerated
122         scrolling layers there is no use for the -webkit-overflow-scrolling CSS
123         attribute any longer on Chromium.
124
125         This patch enables composited overflow scrolling in
126         ScrollingCoordinatorChromiumTest. Because this also causes the overflow div
127         in non-fast-scrollable.html to become composited, we also need to modify that
128         test to opt it out of composited scrolling.
129
130         * features.gypi:
131         * tests/ScrollingCoordinatorChromiumTest.cpp:
132         (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
133         (WebKit::TEST_F):
134         * tests/data/non-fast-scrollable.html:
135         * tests/data/overflow-scrolling.html: Renamed from Source/WebKit/chromium/tests/data/touch-overflow-scrolling.html.
136
137 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
138
139         Fix build warning after r141473
140         https://bugs.webkit.org/show_bug.cgi?id=108782
141
142         Reviewed by Kentaro Hara.
143
144         Fix -Wunused-parameter build warning.
145
146         * src/EditorClientImpl.cpp:
147         (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
148
149 2013-02-03  David Dorwin  <ddorwin@chromium.org>
150
151         [chromium] Do not call m_widgetClient->show() for WebHelperPlugin.
152         https://bugs.webkit.org/show_bug.cgi?id=108740
153
154         Reviewed by Kent Tamura.
155
156         The calls to m_widgetClient->show() and setFocus() do not appear to be
157         necessary, and the former causes problems on at least on platform.
158
159         * src/WebHelperPluginImpl.cpp:
160         (WebKit::WebHelperPluginImpl::initialize): Removed calls to m_widgetClient->show() and setFocus().
161         (WebKit::WebHelperPluginImpl::setFocus): Should never be called.
162
163 2013-02-02  Michael Nordman  <michaeln@google.com>
164
165         [chromium] FileSystem mods: Changes to snapshot file creation to reduce dependencies on blobs.
166         This patch just alters the WebKitAPI in advance of coding to the new API in chromium and webkit
167         sources, defining two new virtual methods (unimplemented and uncalled). The existing API remains
168         in place and in use.
169         https://bugs.webkit.org/show_bug.cgi?id=108736
170
171         Reviewed by Darin Fisher.
172
173         * public/WebFileSystemCallbacks.h:
174         (WebFileSystemCallbacks):
175         (WebKit::WebFileSystemCallbacks::didCreateSnapshotFile):
176
177 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
178
179         Unreviewed.  Rolled Chromium DEPS to r180221.  Requested by
180         "Nico Weber" <thakis@chromium.org> via sheriffbot.
181
182         * DEPS:
183
184 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
185
186         Unreviewed.  Rolled Chromium DEPS to r180186.  Requested by
187         "Nico Weber" <thakis@chromium.org> via sheriffbot.
188
189         * DEPS:
190
191 2013-02-01  Chris Hopman  <cjhopman@chromium.org>
192
193         [Chromium] WebWidget::selectionBounds should return the bounds in document space
194         https://bugs.webkit.org/show_bug.cgi?id=108386
195
196         Reviewed by James Robinson.
197
198         When in applyPageScaleFactorInCompositor mode, selectionBounds needs
199         to scale the anchor/focus window points by the pageScaleFactor.
200
201         * src/WebViewImpl.cpp:
202         (WebKit::WebViewImpl::selectionBounds):
203         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
204
205 2013-02-01  Dominic Mazzoni  <dmazzoni@google.com>
206
207         AX: memoize expensive computation during blocks where tree doesn't change
208         https://bugs.webkit.org/show_bug.cgi?id=106497
209
210         Reviewed by Ryosuke Niwa.
211
212         Expose two methods to enable and disable caching of
213         computed WebAccessibilityObject attributes, to speed up
214         batch read-only operations.
215
216         * public/WebAccessibilityObject.h:
217         (WebAccessibilityObject):
218         * src/WebAccessibilityObject.cpp:
219         (WebKit::WebAccessibilityObject::startCachingComputedObjectAttributesUntilTreeMutates):
220         (WebKit):
221         (WebKit::WebAccessibilityObject::stopCachingComputedObjectAttributes):
222
223 2013-02-01  Fady Samuel  <fsamuel@chromium.org>
224
225         [Chromium] Expose WebNode::shadowHost()
226         https://bugs.webkit.org/show_bug.cgi?id=108681
227
228         Reviewed by Dimitri Glazkov.
229
230         BrowserPlugin needs to be able to check the event listeners attached to
231         <webview> and so we expose shadowHost to permit it to poke at the webview
232         node.
233
234         * public/WebNode.h:
235         * src/WebNode.cpp:
236         (WebKit::WebNode::shadowHost):
237         (WebKit):
238
239 2013-02-01  Rouslan Solomakhin  <rouslan@chromium.org>
240
241         [Chromium] Ignore punctuation in spellcheck
242         https://bugs.webkit.org/show_bug.cgi?id=108511
243
244         Reviewed by Tony Chang.
245
246         * src/ContextMenuClientImpl.cpp:
247         (WebKit::IsWhiteSpaceOrPunctuation): Added utility function to detect whitespace or punctuation.
248         (WebKit::selectMisspellingAsync): Ignore punctuation when selecting the misspelling.
249
250 2013-02-01  Philip Rogers  <pdr@google.com>
251
252         Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
253         https://bugs.webkit.org/show_bug.cgi?id=106966
254
255         Reviewed by Stephen White.
256
257         * tests/DragImageTest.cpp:
258         (WebCore::TestImage::currentFrameKnownToBeOpaque):
259         (TestImage):
260         * tests/ImageLayerChromiumTest.cpp:
261         (WebCore::TestImage::currentFrameKnownToBeOpaque):
262         * tests/PlatformContextSkiaTest.cpp:
263         (WebCore::TEST):
264
265 2013-02-01  Nico Weber  <thakis@chromium.org>
266
267         [chromium] Build webkit with enable_web_intents set to 0.
268         https://bugs.webkit.org/show_bug.cgi?id=108408
269
270         Reviewed by Tony Chang.
271
272         I'll then make chromium build fine with that, then switch
273         enable_web_intents to 0, roll that into webkit, and then
274         actually remove the code hidden behind this flag.
275
276         The features.gypi bit depends on https://codereview.chromium.org/12143002/
277         and will disable web intents support on android. Since common.gypi
278         sets enable_web_intents to 0 explicitly, it seems this is currently on
279         by accident anyway.
280
281         While it looks like this CL just removes ENABLE_WEB_INTENTS=1 from
282         features.gypi completely, it's still set further down the file if
283         enable_web_intents is on.
284
285         * WebKit.gyp:
286         * features.gypi:
287         * src/WebFrameImpl.cpp:
288
289 2013-02-01  Rouslan Solomakhin  <rouslan@chromium.org>
290
291         [Chromium] Ignore whitespace in spellcheck
292         https://bugs.webkit.org/show_bug.cgi?id=108510
293
294         Reviewed by Ryosuke Niwa.
295
296         * src/ContextMenuClientImpl.cpp:
297         (WebKit::selectMisspellingAsync): Ignore whitespace when selecting the misspelling.
298
299 2013-02-01  Sheriff Bot  <webkit.review.bot@gmail.com>
300
301         Unreviewed.  Rolled Chromium DEPS to r180131.  Requested by
302         "Florin Malita" <fmalita@chromium.org> via sheriffbot.
303
304         * DEPS:
305
306 2013-02-01  Alexis Menard  <alexis@webkit.org>
307
308         Enable unprefixed CSS transitions by default.
309         https://bugs.webkit.org/show_bug.cgi?id=108216
310
311         Reviewed by Dean Jackson.
312
313         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
314         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
315         guard the unprefixing work for CSS Transforms and animations.
316
317         * features.gypi:
318
319 2013-02-01  Ken Kania  <kkania@chromium.org>
320
321         Web Inspector: Add support for handling modal dialogs
322         https://bugs.webkit.org/show_bug.cgi?id=107883
323
324         Reviewed by Pavel Feldman.
325
326         Introduce support for being notified when a JavaScript modal dialog
327         is opening and closing, as well as a new command for accepting or
328         dismissing the dialog.
329
330         * public/WebDevToolsAgent.h:
331         * src/InspectorClientImpl.cpp:
332         (WebKit::InspectorClientImpl::handleJavaScriptDialog):
333         (WebKit):
334         * src/InspectorClientImpl.h:
335         (InspectorClientImpl):
336         * src/WebDevToolsAgentImpl.cpp:
337         (BrowserDataHintStringValues):
338         (WebKit::WebDevToolsAgentImpl::captureScreenshot):
339         (WebKit::WebDevToolsAgentImpl::handleJavaScriptDialog):
340         (WebKit):
341         (WebKit::browserHintToString):
342         (WebKit::browserHintFromString):
343         (WebKit::WebDevToolsAgent::patchWithBrowserData):
344         * src/WebDevToolsAgentImpl.h:
345         (WebDevToolsAgentImpl):
346
347 2013-02-01  Dan Alcantara  <dfalcantara@chromium.org>
348
349         Touch disambiguation blacklist is not being queried properly
350         https://bugs.webkit.org/show_bug.cgi?id=108222
351
352         Reviewed by Adam Barth.
353
354         TEST=WebFrameTest::DisambiguationPopupBlacklist
355
356         Fix the blacklist so that we check it for the right nodes.
357         Add a test to check that the blacklist is being built and used
358         correctly.  Also update the other DisambiguationPopup tests to
359         use the new page scale method.
360
361         * tests/WebFrameTest.cpp:
362         * tests/data/disambiguation_popup_blacklist.html: Added.
363
364 2013-02-01  Eberhard Graether  <egraether@google.com>
365
366         [chromium] only show checkboxes for FPS meter and continuous painting when compositing mode is forced
367         https://bugs.webkit.org/show_bug.cgi?id=108236
368
369         Reviewed by Pavel Feldman.
370
371         This change hides the checkboxes for FPS meter and continuous painting if compositing mode is not forced.
372         This way the checkboxes only show up for users that can make use of these features.
373
374         * src/InspectorClientImpl.cpp:
375         (WebKit::InspectorClientImpl::canShowFPSCounter):
376         (WebKit::InspectorClientImpl::canContinuouslyPaint):
377
378 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
379
380         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
381         https://bugs.webkit.org/show_bug.cgi?id=107737
382
383         Reviewed by Ryosuke Niwa.
384
385         * public/WebViewClient.h:
386         (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
387             Adding a callback to let the WebViewClient know that the composition has been cancelled.
388         * src/EditorClientImpl.cpp:
389         (WebKit::EditorClientImpl::respondToChangedSelection):
390             Adding a call composition if it is no longer valid.
391
392 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
393
394         [Chromium] WebViewTest.SetCompositionFromExistingText failing after r141479
395         https://bugs.webkit.org/show_bug.cgi?id=108543
396
397         Reviewed by Ryosuke Niwa.
398
399         Fixing a bug that was uncovered after fixing http://trac.webkit.org/changeset/141479
400
401         * src/WebViewImpl.cpp:
402         (WebKit::WebViewImpl::setCompositionFromExistingText):
403         * tests/WebViewTest.cpp:
404             Re-enabling the test
405
406 2013-01-31  Hajime Morrita  <morrita@google.com> 
407
408         Unreviewed, followup fix for r141535.
409
410         * tests/WebFrameTest.cpp:
411
412 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
413
414         Unreviewed.  Rolled Chromium DEPS to r180023.  Requested by
415         thakis_ via sheriffbot.
416
417         * DEPS:
418
419 2013-01-31  Hajime Morrita  <morrita@google.com>
420
421         Unreviewed, disabling failing test.
422
423         * tests/WebFrameTest.cpp:
424
425 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
426
427         Unreviewed, rolling out r141479.
428         http://trac.webkit.org/changeset/141479
429         https://bugs.webkit.org/show_bug.cgi?id=108564
430
431         breaks chromium test (Requested by morrita on #webkit).
432
433         * public/WebViewClient.h:
434         * src/EditorClientImpl.cpp:
435         (WebKit::EditorClientImpl::respondToChangedSelection):
436
437 2013-01-31  Alec Flett  <alecflett@chromium.org>
438
439         IndexedDB: remove old transaction backend bootstrap code
440         https://bugs.webkit.org/show_bug.cgi?id=103923
441
442         Reviewed by Dimitri Glazkov.
443
444         Remove all deprecated WebKit APIs from
445         the IDB backend.
446
447         * WebKit.gyp:
448         * public/WebIDBCallbacks.h:
449         (WebKit):
450         * public/WebIDBDatabase.h:
451         (WebKit):
452         * public/WebIDBTransaction.h: Removed.
453         * public/WebIDBTransactionCallbacks.h: Removed.
454         * src/AssertMatchingEnums.cpp:
455         * src/IDBCallbacksProxy.cpp:
456         * src/IDBDatabaseBackendProxy.cpp:
457         * src/IDBDatabaseBackendProxy.h:
458         (IDBDatabaseBackendProxy):
459         * src/IDBTransactionBackendProxy.cpp: Removed.
460         * src/IDBTransactionBackendProxy.h: Removed.
461         * src/IDBTransactionCallbacksProxy.cpp: Removed.
462         * src/IDBTransactionCallbacksProxy.h: Removed.
463         * src/WebIDBCallbacksImpl.cpp:
464         * src/WebIDBDatabaseImpl.cpp:
465         (WebKit):
466         * src/WebIDBDatabaseImpl.h:
467         (WebKit):
468         (WebIDBDatabaseImpl):
469         * src/WebIDBTransactionCallbacksImpl.cpp: Removed.
470         * src/WebIDBTransactionCallbacksImpl.h: Removed.
471         * src/WebIDBTransactionImpl.cpp: Removed.
472         * src/WebIDBTransactionImpl.h: Removed.
473         * tests/IDBAbortOnCorruptTest.cpp:
474         * tests/IDBDatabaseBackendTest.cpp:
475
476 2013-01-31  Rouslan Solomakhin  <rouslan@chromium.org>
477
478         [Chromium] Select multi-word misspelling on context click
479         https://bugs.webkit.org/show_bug.cgi?id=108509
480
481         Reviewed by Tony Chang.
482
483         * src/ContextMenuClientImpl.cpp:
484         (WebKit):
485         (WebKit::selectMisspellingAsync): Added utility function to get the misspelling for asynchronous spellcheck.
486         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Select multi-word misspelling on context click.
487
488 2013-01-31  Florin Malita  <fmalita@chromium.org>
489
490         [Chromium] Unreviewed gardening.
491
492         WebViewTest.SetCompositionFromExistingText failing after r141479.
493
494         * tests/WebViewTest.cpp:
495
496 2013-01-31  Alexandre Elias  <aelias@chromium.org>
497
498         [chromium] Rework page scale factor limits initialization
499         https://bugs.webkit.org/show_bug.cgi?id=108446
500
501         Reviewed by James Robinson.
502
503         When loading a page with viewportEnabled, both the limits
504         specified by the viewport tag and the content width need to be
505         considered before we initialize the minimum page scale (and
506         pageScaleFactor itself usually to the same value). The timing has
507         proven tricky to get correct.
508
509         This patch simplifies the flow by computing the
510         limits only at the end of layouts and at no other time. In combination
511         with https://bugs.webkit.org/show_bug.cgi?id=107922 which sets
512         needsLayout() appropriately, this results in a more robust and easy
513         to understand sequence.
514
515         Fixes FixedLayoutInitializeAtMinimumPageScale test.
516
517         * src/ChromeClientImpl.cpp:
518         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
519         * src/WebViewImpl.cpp:
520         (WebKit::WebViewImpl::WebViewImpl):
521         (WebKit::WebViewImpl::resize):
522         (WebKit::WebViewImpl::setPageScaleFactorLimits):
523         (WebKit::WebViewImpl::computePageScaleFactorLimits):
524         (WebKit::WebViewImpl::layoutUpdated):
525         (WebKit::WebViewImpl::didChangeContentsSize):
526         * src/WebViewImpl.h:
527         (WebKit::WebViewImpl::setInitialPageScaleFactor):
528         (WebViewImpl):
529         * tests/WebFrameTest.cpp:
530
531 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
532
533         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
534         https://bugs.webkit.org/show_bug.cgi?id=107737
535
536         Reviewed by Ryosuke Niwa.
537
538         * public/WebViewClient.h:
539         (WebKit::WebViewClient::didCancelCompositionOnSelectionChange):
540             Adding a callback to let the WebViewClient know that the composition has been cancelled.
541         * src/EditorClientImpl.cpp:
542         (WebKit::EditorClientImpl::respondToChangedSelection):
543             Adding a call composition if it is no longer valid.
544
545 2013-01-31  Mark Pilgrim  <pilgrim@chromium.org>
546
547         [Chromium] Move LocalizedStrings to WebCore
548         https://bugs.webkit.org/show_bug.cgi?id=108488
549
550         Reviewed by Adam Barth.
551
552         Part of a larger refactoring series; see tracking bug 106829.
553
554         * WebKit.gyp:
555         * src/LocalizedStrings.cpp: Removed.
556
557 2013-01-31  Enrica Casucci  <enrica@apple.com>
558
559         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
560         https://bugs.webkit.org/show_bug.cgi?id=108396.
561         <rdar://problem/12920461>
562
563         Reviewed by Alexey Proskuryakov.
564
565         Adds stub implementation for WebKit of the new EditorClient methods.
566
567         * src/EditorClientImpl.cpp:
568         (WebKit::EditorClientImpl::willWriteSelectionToPasteboard):
569         (WebKit::EditorClientImpl::getClientPasteboardDataForRange):
570         * src/EditorClientImpl.h:
571
572 2013-01-31  Chris Hopman  <cjhopman@chromium.org>
573
574         [chromium] Make selection handling work in applyPageScaleInCompositor mode
575         https://bugs.webkit.org/show_bug.cgi?id=107831
576
577         Reviewed by Ryosuke Niwa.
578
579         These functions expect a window point. When in
580         applyPageScaleFactorInCompositor mode, the points need to be unscaled
581         by the page scale factor.
582
583         * src/WebFrameImpl.cpp:
584         (WebKit::WebFrameImpl::selectRange):
585         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
586
587 2013-01-31  Tom Sepez  <tsepez@chromium.org>
588
589         [v8] Enable binding integrity on mac
590         https://bugs.webkit.org/show_bug.cgi?id=108500
591
592         Reviewed by Adam Barth.
593
594         Patch is correct if existing tests pass without new crashes.
595         
596         * features.gypi:
597         Set ENABLE_BINDING_INTEGRITY=1 when OS=="mac"
598
599 2013-01-31  Dan Alcantara  <dfalcantara@chromium.org>
600
601         WebFrameTest.DisambiguationPopup is failing
602         https://bugs.webkit.org/show_bug.cgi?id=108160
603
604         Reviewed by Adam Barth.
605
606         Fix the unit test so that it is using the right HTML file.
607
608         * tests/WebFrameTest.cpp:
609
610 2013-01-31  Tony Chang  <tony@chromium.org>
611
612         [Chromium] webkit_unit_tests should depend on base/allocator for ASAN
613         https://bugs.webkit.org/show_bug.cgi?id=108497
614
615         Reviewed by James Robinson.
616
617         * WebKitUnitTests.gyp:
618
619 2013-01-31  Alexandre Elias  <aelias@chromium.org>
620
621         Call FrameView::contentsResized() when setting fixed layout size
622         https://bugs.webkit.org/show_bug.cgi?id=107922
623
624         Reviewed by James Robinson.
625
626         In fixed layout mode, we should be calling contentsResized() when the
627         fixed layout size is changed, but not laying out when the visible
628         content rect changes.
629
630         Previously landed as r140869 but was reverted due to a bug in bundled
631         Chromium-specific code. This patch includes just the minimum needed in
632         WebCore.
633
634         New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize.  Some
635         flaky and obsolete tests for the old page scale mode are also deleted.
636
637         * tests/WebFrameTest.cpp:
638
639 2013-01-31  Tommy Widenflycht  <tommyw@google.com>
640
641         [chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
642         https://bugs.webkit.org/show_bug.cgi?id=108458
643
644         Reviewed by Adam Barth.
645
646         Only renames, no other code changes.
647
648         * public/WebMediaStreamRegistry.h:
649         (WebKit):
650         (WebMediaStreamRegistry):
651         * public/WebUserMediaRequest.h:
652         (WebKit):
653         (WebUserMediaRequest):
654         * src/WebMediaStreamRegistry.cpp:
655         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
656         * src/WebUserMediaRequest.cpp:
657         (WebKit::WebUserMediaRequest::requestSucceeded):
658
659 2013-01-31  Alec Flett  <alecflett@chromium.org>
660
661         IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
662         https://bugs.webkit.org/show_bug.cgi?id=108399
663
664         Reviewed by Dimitri Glazkov.
665
666         Cleanup now that chromium proxies the new signatures through.
667
668         * src/IDBCallbacksProxy.cpp:
669         (WebKit::IDBCallbacksProxy::onSuccess):
670         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
671         * src/IDBCallbacksProxy.h:
672         (IDBCallbacksProxy):
673         * src/WebIDBCallbacksImpl.cpp:
674         * src/WebIDBCallbacksImpl.h:
675         (WebIDBCallbacksImpl):
676
677 2013-01-31  James Robinson  <jamesr@chromium.org>
678
679         [chromium] Remove dead transitional code from WebViewImpl
680         https://bugs.webkit.org/show_bug.cgi?id=107889
681
682         Reviewed by Adam Barth.
683
684         The chromium side of this landed at r178256 and seems stable.
685
686         * public/WebWidget.h:
687         (WebKit::WebWidget::setCompositorSurfaceReady):
688         * src/WebViewImpl.cpp:
689         (WebKit::WebViewImpl::WebViewImpl):
690         (WebKit::WebViewImpl::~WebViewImpl):
691         (WebKit):
692         (WebKit::WebViewImpl::setIsTransparent):
693         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
694         * src/WebViewImpl.h:
695         * tests/ScrollingCoordinatorChromiumTest.cpp:
696         (WebKit::FakeWebViewClient::initializeLayerTreeView):
697         (FakeWebViewClient):
698         (WebKit::FakeWebViewClient::layerTreeView):
699         (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
700         (ScrollingCoordinatorChromiumTest):
701
702 2013-01-31  Kentaro Hara  <haraken@chromium.org>
703
704         Rename WheelEvent::Granularity to WheelEvent::DeltaMode
705         https://bugs.webkit.org/show_bug.cgi?id=108434
706
707         Reviewed by Ryosuke Niwa.
708
709         Per the spec, WheelEvent::Granularity should be renamed to WheelEvent::DeltaMode.
710
711         Spec: http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
712         https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm#constructor-wheelevent
713
714         No tests. No change in behavior.
715
716         * src/WebInputEventConversion.cpp:
717         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
718         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
719
720 2013-01-31  Yury Semikhatsky  <yurys@chromium.org>
721
722         Unreviewed. Bump Chromium dependency to 179332
723
724         * DEPS:
725
726 2013-01-31  Mark Pilgrim  <pilgrim@chromium.org>
727
728         [Chromium] Move MediaPlayerPrivateChromium to WebCore
729         https://bugs.webkit.org/show_bug.cgi?id=108415
730
731         Reviewed by Adam Barth.
732
733         Part of a larger refactoring series; see tracking bug 106829.
734
735         * WebKit.gyp:
736         * src/MediaPlayerPrivateChromium.cpp: Removed.
737         * src/WebKit.cpp:
738         (WebKit::initializeWithoutV8): call new setter function in
739         WebCore::MediaPlayerPrivate
740
741 2013-01-30  Sheriff Bot  <webkit.review.bot@gmail.com>
742
743         Unreviewed, rolling out r141358.
744         http://trac.webkit.org/changeset/141358
745         https://bugs.webkit.org/show_bug.cgi?id=108421
746
747         breaks android builder (Requested by morrita on #webkit).
748
749         * WebKit.gyp:
750         * features.gypi:
751         * src/WebFrameImpl.cpp:
752
753 2013-01-30  Nico Weber  <thakis@chromium.org>
754
755         [chromium] Build webkit with enable_web_intents set to 0.
756         https://bugs.webkit.org/show_bug.cgi?id=108408
757
758         Reviewed by Kentaro Hara.
759
760         I'll then make chromium build fine with that, then switch
761         enable_web_intents to 0, roll that into webkit, and then
762         actually remove the code hidden behind this flag.
763
764         * WebKit.gyp:
765         * features.gypi:
766         * src/WebFrameImpl.cpp:
767
768 2013-01-30  Levi Weintraub  <leviw@chromium.org>
769
770         [Chromium] WebPluginContainerImpl adding imbalanced touch handler refs
771         https://bugs.webkit.org/show_bug.cgi?id=108381
772
773         Reviewed by James Robinson.
774
775         WebPluginContainerImpl would call Document::didAddTouchEventHandler every time the plugin requested
776         touch events. Some plugins make this request more than once, leading to an imbalance in Document's
777         touch event handler map, and a stale node pointer when the plugin is destroyed. This change
778         has WebPluginContainerImpl only add one ref for the plugin at a time.
779
780         * src/WebPluginContainerImpl.cpp:
781         (WebKit::WebPluginContainerImpl::requestTouchEventType):
782
783 2013-01-30  Yusuf Ozuysal  <yusufo@google.com>
784
785         Start sending scrollType as NonBubblingGesture for flings
786         https://bugs.webkit.org/show_bug.cgi?id=108372
787
788         Reviewed by James Robinson.
789
790         * src/WebCompositorInputHandlerImpl.cpp:
791         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
792
793 2013-01-30  Tien-Ren Chen  <trchen@chromium.org>
794
795         [chromium] Add WebFrame::visibleContentRect()
796         https://bugs.webkit.org/show_bug.cgi?id=108311
797
798         Reviewed by James Robinson.
799
800         * public/WebFrame.h:
801         * src/WebFrameImpl.cpp:
802         (WebKit::WebFrameImpl::visibleContentRect):
803         (WebKit):
804         * src/WebFrameImpl.h:
805         (WebFrameImpl):
806
807 2013-01-30  Kentaro Hara  <haraken@chromium.org>
808
809         Implement KeyboardEvent constructor
810         https://bugs.webkit.org/show_bug.cgi?id=108320
811
812         Reviewed by Adam Barth.
813
814         Renamed keyboard event constant variables to avoid style errors.
815
816         * src/WebInputEventConversion.cpp:
817         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
818         * tests/WebInputEventConversionTest.cpp:
819         * tests/WebInputEventFactoryTestGtk.cpp:
820
821 2013-01-30  Kentaro Hara  <haraken@chromium.org>
822
823         Implement WheelEvent constructor
824         https://bugs.webkit.org/show_bug.cgi?id=108303
825
826         Reviewed by Adam Barth.
827
828         This patch just renames an enum value to avoid style check error.
829
830         * src/WebViewImpl.cpp:
831         (WebKit::WebViewImpl::scrollBy):
832
833 2013-01-30  Dana Jansens  <danakj@chromium.org>
834
835         [chromium] Add recordRenderingStats to WebSettings
836         https://bugs.webkit.org/show_bug.cgi?id=108358
837
838         Reviewed by James Robinson.
839
840         * public/WebSettings.h:
841         * src/WebSettingsImpl.cpp:
842         (WebKit::WebSettingsImpl::setRecordRenderingStats):
843         (WebKit):
844         * src/WebSettingsImpl.h:
845         (WebSettingsImpl):
846         (WebKit::WebSettingsImpl::recordRenderingStats):
847         * src/WebViewImpl.cpp:
848         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
849
850 2013-01-30  Tony Gentilcore  <tonyg@chromium.org>
851
852         Fix compile error in WebFrameTest
853         https://bugs.webkit.org/show_bug.cgi?id=108360
854
855         Unreviewed build fix.
856
857         Fixes compile error:
858         ../../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]
859
860         * tests/WebFrameTest.cpp:
861
862 2013-01-30  John Knottenbelt  <jknotten@chromium.org>
863
864         [Chromium] Fix find in page rects for overflowing content.
865         https://bugs.webkit.org/show_bug.cgi?id=104924
866
867         Reviewed by Julien Chaffraix.
868
869         If a div has overflowing content, we should only normalise its
870         coordinates against the renderview or the containing scrollable block.
871
872         TEST=WebFrameTest.FindInPageMatchRects
873
874         * src/FindInPageCoordinates.cpp:
875         (WebKit::enclosingScrollableAncestor):
876             Helper function to find the enclosing containing block with an overflow clip.
877         (WebKit::toNormalizedRect):
878             Pass in the container as an argument.
879         (WebKit::findInPageRectFromAbsoluteRect):
880             Compute the container for toNormalizedRect using enclosingScrollableAncestor.
881         * tests/WebFrameTest.cpp:
882             Add expectations for new tests in WebFrameTest::FindInPageMatchRects and WebFrameTest::FindInPage.
883         * tests/data/find.html:
884             Add test case for <select> element.
885         * tests/data/find_in_page_frame.html:
886             Add test cases:
887               - Result 15, 16 tests that containing <div> with style float:left and
888                 height:0px does not impact coordinate normalization.
889               - Result 17, 18 tests that matches with absolute positioning are normalized containing
890                 relative positioned block, even if there is a closer parent block with overflow clip.
891               - Result 19 adds a test case for <select> element.
892
893 2013-01-30  Dominik Röttsches  <dominik.rottsches@intel.com>
894
895         [HarfBuzz] Remove the HarfBuzz-old code
896         https://bugs.webkit.org/show_bug.cgi?id=108077
897
898         Reviewed by Benjamin Poulain.
899
900         Rename WTF_USE_HARFBUZZ_NG to WTF_USE_HARFBUZZ since there
901         won't be a distinction between ng and non-ng HarfBuzz after
902         removing the old code.
903
904         * features.gypi:
905
906 2013-01-30  Jochen Eisinger  <jochen@chromium.org>
907
908         [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
909         https://bugs.webkit.org/show_bug.cgi?id=108004
910         http://code.google.com/p/chromium/issues/detail?id=172416
911
912         console.debug triggers a NOTREACHED() assertation in Chromium. This
913         is because WebCore::MessageLevel contains 5 levels, including debug,
914         where WebConsoleMessage::Level is missing a "debug" level. Add a
915         WebConsoleMessage::LevelDebug so that it can get passed up to the
916         renderer even if it doesn't make use of that now.
917
918         Requires another patch to chromium itself to fix chromium bug 172416
919         but this is a prerequisite.
920
921         Also add an enum compile time check to AssertMatchingEnums.cpp,
922
923         Patch by Kevin Day <kevinday@gmail.com> on 2013-01-28
924         Reviewed by Jochen Eisinger.
925
926         * public/WebConsoleMessage.h:
927         * src/AssertMatchingEnums.cpp:
928         * src/WebFrameImpl.cpp:
929         (WebKit::WebFrameImpl::addMessageToConsole):
930
931 2013-01-30  Xianzhu Wang  <wangxianzhu@chromium.org>
932
933         [Chromium] Correct zoom for focused node when using compositor scaling
934         https://bugs.webkit.org/show_bug.cgi?id=107599
935
936         Reviewed by Adam Barth.
937
938         When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
939         When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
940
941         Reapply r141153. Added font-size in html to ensure same caret size across platforms.
942
943         * src/WebViewImpl.cpp:
944         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
945         (WebKit):
946         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
947         * src/WebViewImpl.h:
948         (WebViewImpl):
949         * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
950         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
951
952 2013-01-29  Mark Lam  <mark.lam@apple.com>
953
954         Rename AbstractDatabase to DatabaseBackend.
955         https://bugs.webkit.org/show_bug.cgi?id=108275.
956
957         Reviewed by Sam Weinig.
958
959         This is a pure rename operation as part of the webdatabase refactoring
960         effort. There is no semantic change in this patch.
961
962         * public/WebDatabase.h:
963         (WebDatabase):
964         * src/DatabaseObserver.cpp:
965         (WebCore::DatabaseObserver::databaseOpened):
966         (WebCore::DatabaseObserver::databaseModified):
967         (WebCore::DatabaseObserver::databaseClosed):
968         (WebCore::DatabaseObserver::reportOpenDatabaseResult):
969         (WebCore::DatabaseObserver::reportChangeVersionResult):
970         (WebCore::DatabaseObserver::reportStartTransactionResult):
971         (WebCore::DatabaseObserver::reportCommitTransactionResult):
972         (WebCore::DatabaseObserver::reportExecuteStatementResult):
973         (WebCore::DatabaseObserver::reportVacuumDatabaseResult):
974         * src/WebDatabase.cpp:
975         (WebKit::WebDatabase::WebDatabase):
976
977 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
978
979         Unreviewed, rolling out r141153.
980         http://trac.webkit.org/changeset/141153
981         https://bugs.webkit.org/show_bug.cgi?id=108280
982
983         Caused WebFrameTest.DivScrollIntoEditableTest to fail on Mac.
984         (Requested by keishi on #webkit).
985
986         * src/WebViewImpl.cpp:
987         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
988         * src/WebViewImpl.h:
989         (WebViewImpl):
990         * tests/WebFrameTest.cpp:
991         * tests/data/get_scale_for_zoom_into_editable_test.html:
992
993 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
994
995         Unreviewed, rolling out r140983.
996         http://trac.webkit.org/changeset/140983
997         https://bugs.webkit.org/show_bug.cgi?id=108277
998
999         Unfortunately, this API has one last client (Requested by
1000         abarth on #webkit).
1001
1002         * src/WebNotification.cpp:
1003         (WebKit::WebNotification::isHTML):
1004         (WebKit::WebNotification::url):
1005         (WebKit::WebNotification::iconURL):
1006         (WebKit::WebNotification::title):
1007         (WebKit::WebNotification::body):
1008
1009 2013-01-29  Shinya Kawanaka  <shinyak@chromium.org>
1010
1011         [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
1012         https://bugs.webkit.org/show_bug.cgi?id=106287
1013
1014         Reviewed by Hajime Morita.
1015
1016         When an input element is disabled or readonly, its inner element is not editable. So its rootEditableElement
1017         does not exist. In WebViewImpl::caretOrSelectionRange, if rootEditableElement does not exist, it uses
1018         a document element. However, the inner element and document element have a different tree scope, selection range
1019         cannot be gotten correctly.
1020
1021         We should use ShadowRoot instead of document so that we can stay in the same tree scope.
1022
1023         * src/WebViewImpl.cpp:
1024         (WebKit::WebViewImpl::caretOrSelectionRange):
1025         * tests/WebViewTest.cpp:
1026         * tests/data/selection_disabled.html: Added.
1027         * tests/data/selection_readonly.html: Added.
1028
1029 2013-01-29  Tom Sepez  <tsepez@chromium.org>
1030
1031         [v8] Enable binding integrity on linux
1032         https://bugs.webkit.org/show_bug.cgi?id=108242
1033
1034         Reviewed by Adam Barth.
1035
1036         * features.gypi:
1037
1038 2013-01-29  Xianzhu Wang  <wangxianzhu@chromium.org>
1039
1040         [Chromium] Correct zoom for focused node when using compositor scaling
1041         https://bugs.webkit.org/show_bug.cgi?id=107599
1042
1043         Reviewed by Adam Barth.
1044
1045         When applyDeviceScaleFactorInCompositor, targetScale should exclude device scale factor.
1046         When applyPageScaleFactorInCompositor, caret size and content sizes are in css pixels and they should be in the viewport of the new scale.
1047
1048         * src/WebViewImpl.cpp:
1049         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
1050         (WebKit):
1051         (WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode): Extracted from scrollFocusedNodeIntoRect() to ease testing.
1052         * src/WebViewImpl.h:
1053         (WebViewImpl):
1054         * tests/WebFrameTest.cpp: Updated test DivScrollEditableTest
1055         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1056
1057 2013-01-29  Alec Flett  <alecflett@chromium.org>
1058
1059         IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
1060         https://bugs.webkit.org/show_bug.cgi?id=103920
1061
1062         Reviewed by Dimitri Glazkov.
1063
1064         Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
1065         while maintaining chromium compatibility by shimming in the old API
1066         in the WebKit side. Future code will clean this up so that it is just a
1067         pass-through as it was before.
1068
1069         * public/WebIDBCallbacks.h:
1070         (WebKit):
1071         (WebKit::WebIDBCallbacks::onSuccess): new method signature.
1072         (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
1073         * src/IDBCallbacksProxy.cpp:
1074         (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
1075         (WebKit):
1076         (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
1077         * src/IDBCallbacksProxy.h:
1078         (IDBCallbacksProxy):
1079         * src/WebIDBCallbacksImpl.cpp:
1080         (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
1081         (WebKit):
1082         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
1083         * src/WebIDBCallbacksImpl.h:
1084         (WebIDBCallbacksImpl):
1085         * tests/IDBAbortOnCorruptTest.cpp: new method signature.
1086         (WebCore::MockIDBCallbacks::onSuccess):
1087         * tests/IDBDatabaseBackendTest.cpp: new method signature.
1088
1089 2013-01-29  Alexandre Elias  <aelias@chromium.org>
1090
1091         [chromium] Fix contents size calculation for page scale initialization
1092         https://bugs.webkit.org/show_bug.cgi?id=108204
1093
1094         Reviewed by enne.
1095
1096         My previous patch http://webk.it/107424 had a few issues that are
1097         blocking WebKit roll.
1098
1099         - We still need the layout in resize() given that
1100         http://webk.it/107922 was reverted.
1101
1102         - I deleted code used only for the old page-scale mode in
1103         contentsSize(), but this needs to wait until WebKit roll since it's
1104         making bots fail in this short term.
1105
1106         * src/WebViewImpl.cpp:
1107         (WebKit::WebViewImpl::resize):
1108         (WebKit::WebViewImpl::contentsSize):
1109
1110 2013-01-29  Alpha Lam  <hclam@chromium.org>
1111
1112         [chromium] Unreviewed DEPS roll.
1113
1114         Roll Chromium DEPS to 179332.
1115
1116         * DEPS:
1117
1118 2013-01-29  Joshua Bell  <jsbell@chromium.org>
1119
1120         [Chromium] IndexedDB: Let callers specify reason (error) for aborting transaction
1121         https://bugs.webkit.org/show_bug.cgi?id=107851
1122
1123         Reviewed by Tony Chang.
1124
1125         Let Chromium call abort() on a transaction and specify a reason, specifically for
1126         QuotaExceededError.
1127
1128         * public/WebIDBDatabase.h:
1129         (WebKit::WebIDBDatabase::abort): New overload for abort() that takes an error.
1130         * public/WebIDBDatabaseError.h:
1131         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError): Overloaded constructor/assign that takes error.
1132         * src/IDBDatabaseBackendProxy.cpp:
1133         (WebKit::IDBDatabaseBackendProxy::abort): New overload for abort() that takes an error.
1134         * src/IDBDatabaseBackendProxy.h:
1135         (IDBDatabaseBackendProxy): Ditto.
1136         * src/WebIDBDatabaseError.cpp: Implementation of overload ctor/assign.
1137         * src/WebIDBDatabaseImpl.cpp:
1138         (WebKit::WebIDBDatabaseImpl::abort): New overload for abort() that takes an error.
1139         * src/WebIDBDatabaseImpl.h: Ditto.
1140         * tests/IDBDatabaseBackendTest.cpp: Overload stubs for Mock class.
1141
1142 2013-01-29  Florin Malita  <fmalita@chromium.org>
1143
1144         [Chromium] Unreviewed gardening.
1145
1146         Disable WebFrameTest.pageScaleFactorShrinksViewport (pending investigation after r141053).
1147
1148         * tests/WebFrameTest.cpp:
1149
1150 2013-01-29  Keishi Hattori  <keishi@webkit.org>
1151
1152         [Chromium] Disabling WebFrameTest.DisambiguationPopupMobileSite because WebFrameTest is still failing after r141073.
1153
1154         Unreviewed. Gardening.
1155
1156         * tests/WebFrameTest.cpp:
1157
1158 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1159
1160         Unreviewed, rolling out r141064.
1161         http://trac.webkit.org/changeset/141064
1162         https://bugs.webkit.org/show_bug.cgi?id=108166
1163
1164         [Chromium] WebFrameTest.DivScrollIntoEditableTest is failing
1165         on WinXP. (Requested by keishi on #webkit).
1166
1167         * tests/WebFrameTest.cpp:
1168         * tests/data/get_scale_for_zoom_into_editable_test.html:
1169
1170 2013-01-29  Keishi Hattori  <keishi@webkit.org>
1171
1172         [Chromium] Disabling WebFrameTest.DisambiguationPopup because it is failing.
1173
1174         Unreviewed. Gardening.
1175
1176         * tests/WebFrameTest.cpp:
1177
1178 2013-01-28  Xianzhu Wang  <wangxianzhu@chromium.org>
1179
1180         Re-enable WebFrameTest.DivScrollIntoEditableTest
1181         https://bugs.webkit.org/show_bug.cgi?id=98558
1182
1183         Reviewed by Adam Barth.
1184
1185         * tests/WebFrameTest.cpp: Fixed several issues (onload script, the maximum scale factor, etc.) of WebFrameTest.DivScrollIntoEditableTest and enable it.
1186         * tests/data/get_scale_for_zoom_into_editable_test.html: Moved the logic of onload script (which seems not to work) into WebFrameTest.cpp.
1187
1188 2013-01-28  Tien-Ren Chen  <trchen@chromium.org>
1189
1190         Fix disambiguation popup for new-style page scale
1191         https://bugs.webkit.org/show_bug.cgi?id=107391
1192
1193         Reviewed by Adam Barth.
1194
1195         This patch corrects various coordinate conversion for disambiguation
1196         popup for the new-style page scale mode.
1197
1198         * src/WebViewImpl.cpp:
1199         (WebKit::WebViewImpl::handleGestureEvent):
1200         (WebKit::WebViewImpl::handleInputEvent):
1201         * tests/WebFrameTest.cpp:
1202         * tests/data/disambiguation_popup_page_scale.html: Added.
1203
1204 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1205
1206         Unreviewed, rolling out r141049.
1207         http://trac.webkit.org/changeset/141049
1208         https://bugs.webkit.org/show_bug.cgi?id=108151
1209
1210         Caused some indexed tests to crash. (Requested by keishi on
1211         #webkit).
1212
1213         * public/WebIDBCallbacks.h:
1214         (WebKit):
1215         * src/IDBCallbacksProxy.cpp:
1216         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1217         * src/IDBCallbacksProxy.h:
1218         (IDBCallbacksProxy):
1219         * src/WebIDBCallbacksImpl.cpp:
1220         (WebKit::WebIDBCallbacksImpl::onSuccess):
1221         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
1222         * src/WebIDBCallbacksImpl.h:
1223         (WebIDBCallbacksImpl):
1224         * tests/IDBAbortOnCorruptTest.cpp:
1225         (WebCore::MockIDBCallbacks::onSuccess):
1226         * tests/IDBDatabaseBackendTest.cpp:
1227
1228 2013-01-28  Raman Kumar  <ramankk@chromium.org>
1229
1230         Expose isRadioButton and isCheckbox API in chromium-webkit glue layer.
1231         https://bugs.webkit.org/show_bug.cgi?id=108031
1232
1233         Reviewed by Adam Barth.
1234
1235         In chromium, to know if an InputElement is radiobutton or a checkbox,
1236         we are checking for formControlType (a string comparision), which is
1237         very slow. Exposing these API to chromium will make them faster.
1238
1239         * public/WebInputElement.h:
1240         (WebInputElement):
1241         * src/WebInputElement.cpp:
1242         (WebKit::WebInputElement::isRadioButton):
1243         (WebKit):
1244         (WebKit::WebInputElement::isCheckbox):
1245
1246 2013-01-28  Alexandre Elias  <aelias@chromium.org>
1247
1248         Make page scale shrink FrameView in applyPageScaleInCompositor mode
1249         https://bugs.webkit.org/show_bug.cgi?id=107424
1250
1251         Reviewed by Levi Weintraub.
1252
1253         If applyPageScaleFactorInCompositor is enabled (Chromium-only setting),
1254         instead of the entire document expanding as the user pinch zooms, the
1255         viewport shrinks instead. This patch applies the pageScaleFactor to
1256         visibleContentRect to get this behavior, and simplifies Chromium's
1257         resize logic to stop hiding the true viewport size from WebCore.
1258
1259         I verified that the scaling makes sense for all the callers of
1260         visibleContentRect. The exceptions are clip-layer size,
1261         layout size in non-fixed-layout mode, and text autosizing, which need
1262         the original unscaled size. Therefore I added a new method
1263         unscaledVisibleContentSize() to ScrollView/FrameView.
1264
1265         This patch also modifies Page::setPageScaleFactor to perform no
1266         invalidates or layout when applyPageScaleFactorInCompositor is true,
1267         and also writes pageScaleFactor into HistoryItems instead of using
1268         frameScaleFactor.
1269
1270         Since all behavior changes are tied to applyPageScaleFactorInCompositor,
1271         this patch should be a no-op for non-Chromium ports.
1272
1273         * src/WebViewImpl.cpp:
1274         (WebKit::WebViewImpl::scaledSize): Returns the post page-scale size
1275         similar to what visibleContentRect() now returns, except that it may
1276         be at a different scale than the current one.
1277         (WebKit::WebViewImpl::size): Back to returning density-independent
1278         size without any tricks, not the "layoutSize()" fake viewport.
1279         (WebKit::WebViewImpl::resize):
1280         (WebKit::WebViewImpl::handleInputEvent): No need to apply
1281         implTransform anymore as WebKit knows the true scroll offset; just
1282         divide event coords by pageScaleFactor.
1283         (WebKit::WebViewImpl::clampOffsetAtScale): Make this method support
1284         applyPageScaleFactorInCompositor.  This is used to pre-clamp scroll
1285         offsets at a given viewport size.
1286         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset): Make
1287         this method support applyPageScaleFactorInCompositor (don't scale
1288         scroll offsets as they are now scale-independent).
1289         (WebKit::WebViewImpl::setPageScaleFactor): Make this method always use
1290         clampOffsetAtScale instead of bypassing it, since it's now supported.
1291         Also notify the compositor to update its state.
1292         (WebKit::WebViewImpl::contentsSize): Convenience method, removed
1293         difference between scaled and unscaled.
1294         (WebKit::WebViewImpl::layoutSize): This method returned the "fake"
1295         size we used to give FrameView.  Now no longer used for much.
1296         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1297         (WebKit::WebViewImpl::didChangeContentsSize): Remove unnecessary
1298         resize() now that we can give the true size to FrameView.
1299         (WebKit::WebViewImpl::updateLayerTreeViewport): Use layoutSize()
1300         directly now that FrameView no longer uses it.
1301         * src/WebViewImpl.h:
1302         (WebViewImpl):
1303         * tests/WebFrameTest.cpp:
1304
1305 2013-01-28  Alec Flett  <alecflett@chromium.org>
1306
1307         IndexedDB: Pass metadata in to IDBOpenDBRequest.onUpgradeNeeded/onSuccess
1308         https://bugs.webkit.org/show_bug.cgi?id=103920
1309
1310         Reviewed by Dimitri Glazkov.
1311
1312         Support the new IDBCallbacks::onSuccess and IDBCallbacks::onUpgradeNeeded
1313         while maintaining chromium compatibility by shimming in the old API
1314         in the WebKit side. Future code will clean this up so that it is just a
1315         pass-through as it was before.
1316
1317         * public/WebIDBCallbacks.h:
1318         (WebKit):
1319         (WebKit::WebIDBCallbacks::onSuccess): new method signature.
1320         (WebKit::WebIDBCallbacks::onUpgradeNeeded): new method signature.
1321         * src/IDBCallbacksProxy.cpp:
1322         (WebKit::IDBCallbacksProxy::onSuccess): call on new method signature proxies through old API.
1323         (WebKit):
1324         (WebKit::IDBCallbacksProxy::onUpgradeNeeded): call on new method signature proxies through old API.
1325         * src/IDBCallbacksProxy.h:
1326         (IDBCallbacksProxy):
1327         * src/WebIDBCallbacksImpl.cpp:
1328         (WebKit::WebIDBCallbacksImpl::onSuccess): call on old WebKit proxy signature calls new API.
1329         (WebKit):
1330         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded): call on old WebKit proxy signature calls new API.
1331         * src/WebIDBCallbacksImpl.h:
1332         (WebIDBCallbacksImpl):
1333         * tests/IDBAbortOnCorruptTest.cpp: new method signature.
1334         (WebCore::MockIDBCallbacks::onSuccess):
1335         * tests/IDBDatabaseBackendTest.cpp: new method signature.
1336
1337 2013-01-28  Tom Sepez  <tsepez@chromium.org>
1338
1339         [v8] Security feature: JavaScript Bindings hardening
1340         https://bugs.webkit.org/show_bug.cgi?id=106608
1341
1342         Reviewed by Adam Barth.
1343
1344         * features.gypi:
1345         Added ENABLE_BINDING_INTEGRITY option.
1346
1347 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1348
1349         Unreviewed, rolling out r141006.
1350         http://trac.webkit.org/changeset/141006
1351         https://bugs.webkit.org/show_bug.cgi?id=108123
1352
1353         Broke chromium build (Requested by arv on #webkit).
1354
1355         * public/WebConsoleMessage.h:
1356         * src/AssertMatchingEnums.cpp:
1357         * src/WebFrameImpl.cpp:
1358         (WebKit::WebFrameImpl::addMessageToConsole):
1359
1360 2013-01-28  Min Qin  <qinmin@chromium.org>
1361
1362         adding support for DiscardablePixelRef for caching lazily decoded images
1363         https://bugs.webkit.org/show_bug.cgi?id=106842
1364
1365         Reviewed by Stephen White.
1366
1367         Adding new tests for ImageDecodingStore
1368
1369         * WebKit.gypi:
1370         * tests/ImageDecodingStoreTest.cpp:
1371         (WebCore::ImageDecodingStoreTest::createCompleteImage):
1372         (WebCore::ImageDecodingStoreTest::createIncompleteImage):
1373         (WebCore::TEST_F):
1374         (WebCore):
1375         * tests/MockDiscardablePixelRef.h: Added.
1376         (WebCore):
1377         (MockDiscardablePixelRef):
1378         (WebCore::MockDiscardablePixelRef::MockDiscardablePixelRef):
1379         (WebCore::MockDiscardablePixelRef::~MockDiscardablePixelRef):
1380         (WebCore::MockDiscardablePixelRef::discard):
1381         (WebCore::MockDiscardablePixelRef::onLockPixels):
1382         (WebCore::MockDiscardablePixelRef::onUnlockPixels):
1383
1384 2013-01-28  Stephen Chenney  <schenney@chromium.org>
1385
1386         [Chromium] Fix the build.
1387
1388         Unreviewed build fix.
1389
1390         * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
1391
1392 2013-01-28  Dan Alcantara  <dfalcantara@chromium.org>
1393
1394         [Chromium, Mobile] Do not show disambiguation pop up in mobile sites
1395         https://bugs.webkit.org/show_bug.cgi?id=107607
1396
1397         Reviewed by Adam Barth.
1398
1399         Add a check before showing the disambiguation popup to prevent it from appearing
1400         on mobile sites.  Makes a similar test to the current disambiguation popup test
1401         that expects the popup to never appear.
1402
1403         * src/WebViewImpl.cpp:
1404         (WebKit::WebViewImpl::handleGestureEvent):
1405         (WebKit):
1406         (WebKit::WebViewImpl::isLikelyMobileSite):
1407         * src/WebViewImpl.h:
1408         (WebViewImpl):
1409         * tests/WebFrameTest.cpp:
1410         * tests/data/disambiguation_popup_mobile_site.html: Added.
1411
1412         * src/WebViewImpl.cpp:
1413         (WebKit::WebViewImpl::handleGestureEvent):
1414         (WebKit):
1415         (WebKit::WebViewImpl::shouldDisableDesktopWorkarounds):
1416         * src/WebViewImpl.h:
1417         (WebViewImpl):
1418         * tests/WebFrameTest.cpp:
1419         * tests/data/disambiguation_popup_mobile_site.html: Added.
1420
1421 2013-01-28  Stephen Chenney  <schenney@chromium.org>
1422
1423         [Chromium] Fix the build.
1424
1425         Unreviewed build fix.
1426
1427         * src/AssertMatchingEnums.cpp: Move the include to the right place and remove the bad directory prefix.
1428
1429 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1430
1431         Unreviewed, rolling out r140869.
1432         http://trac.webkit.org/changeset/140869
1433         https://bugs.webkit.org/show_bug.cgi?id=108120
1434
1435         "Crashes on http://en.wikipedia.org/wiki/Wikipedia" (Requested
1436         by tonyg-cr on #webkit).
1437
1438         * src/WebViewImpl.cpp:
1439         (WebKit::WebViewImpl::resize):
1440         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1441         * tests/WebFrameTest.cpp:
1442
1443 2013-01-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1444
1445         Unreviewed, rolling out r140934, r140935, and r140937.
1446         http://trac.webkit.org/changeset/140934
1447         http://trac.webkit.org/changeset/140935
1448         http://trac.webkit.org/changeset/140937
1449         https://bugs.webkit.org/show_bug.cgi?id=108117
1450
1451         Re-land some speculative rollouts - see wkbug.com/108048 for
1452         context (Requested by jsbell on #webkit).
1453
1454         * public/WebIDBCallbacks.h:
1455         (WebIDBCallbacks):
1456         * src/AssertMatchingEnums.cpp:
1457         * src/IDBCallbacksProxy.cpp:
1458         * src/IDBCallbacksProxy.h:
1459         (IDBCallbacksProxy):
1460         * src/WebIDBCallbacksImpl.cpp:
1461         * src/WebIDBCallbacksImpl.h:
1462         (WebIDBCallbacksImpl):
1463         * tests/IDBAbortOnCorruptTest.cpp:
1464         * tests/IDBDatabaseBackendTest.cpp:
1465
1466 2013-01-28  Kevin Day  <kevinday@gmail.com>
1467
1468         [chromium] WebConsoleMessage is missing LevelDebug (chromium bug 172416)
1469         https://bugs.webkit.org/show_bug.cgi?id=108004
1470         http://code.google.com/p/chromium/issues/detail?id=172416
1471
1472         console.debug triggers a NOTREACHED() assertation in Chromium. This
1473         is because WebCore::MessageLevel contains 5 levels, including debug,
1474         where WebConsoleMessage::Level is missing a "debug" level. Add a
1475         WebConsoleMessage::LevelDebug so that it can get passed up to the
1476         renderer even if it doesn't make use of that now.
1477
1478         Requires another patch to chromium itself to fix chromium bug 172416
1479         but this is a prerequisite.
1480
1481         Also add an enum compile time check to AssertMatchingEnums.cpp,
1482
1483         Reviewed by Jochen Eisinger.
1484
1485         * public/WebConsoleMessage.h:
1486         * src/AssertMatchingEnums.cpp:
1487         * src/WebFrameImpl.cpp:
1488         (WebKit::WebFrameImpl::addMessageToConsole):
1489
1490 2013-01-28  Xianzhu Wang  <wangxianzhu@chromium.org>
1491
1492         [Chromium] Correct auto-zoom when using compositor scaling
1493         https://bugs.webkit.org/show_bug.cgi?id=107592
1494
1495         Reviewed by Adam Barth.
1496
1497         1. The scale of auto-zoom should exclude deviceScaleFactor because the compositor will handle the scaling;
1498         2. Scroll location needs to be calculated differently when pageScaleFactor is handled by the compositor.
1499
1500         * src/WebViewImpl.cpp:
1501         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
1502         * tests/WebFrameTest.cpp: Updated tests DivAutoZoomParamsTest, DivAutoZoomMultipleDivsTest, DivAutoZoomScaleBoundsTest and DivAutoZoomScaleFontScaleFactorTest, to make two versions of them (WebKitScaling and CompositorScaling).
1503
1504 2013-01-28  Laszlo Gombos  <l.gombos@samsung.com>
1505
1506         Collapse OS(UNIX)||OS(ANDROID) to OS(UNIX)
1507         https://bugs.webkit.org/show_bug.cgi?id=108091
1508
1509         Reviewed by Adam Barth.
1510
1511         OS(UNIX) is defined when OS(ANDROID) is defined.
1512
1513         * src/WebViewImpl.cpp:
1514         (WebKit::WebViewImpl::handleMouseDown):
1515
1516 2013-01-28  Adam Barth  <abarth@webkit.org>
1517
1518         Remove webkitNotifications.createHTMLNotification
1519         https://bugs.webkit.org/show_bug.cgi?id=107598
1520
1521         Reviewed by Benjamin Poulain.
1522
1523         We can remove these stubs once we've removed the Chromium-side code
1524         that depends on them.
1525
1526         * src/WebNotification.cpp:
1527         (WebKit::WebNotification::isHTML):
1528         (WebKit::WebNotification::url):
1529         (WebKit::WebNotification::iconURL):
1530         (WebKit::WebNotification::title):
1531         (WebKit::WebNotification::body):
1532
1533 2013-01-28  James Craig  <james@cookiecrook.com>
1534
1535         HTML5 promotes DL from specific 'definition list' to superset 'description list'; accessibility strings and accessors should be updated to match.
1536         https://bugs.webkit.org/show_bug.cgi?id=107650
1537
1538         Reviewed by Chris Fleizach.
1539
1540         Updating accessibility strings and accessors for DL/DT/DD; new one for [role="definition"] (previously it reused the role/desc for DD).
1541
1542         * public/WebAccessibilityRole.h:
1543         * src/AssertMatchingEnums.cpp:
1544         * src/LocalizedStrings.cpp:
1545         (WebCore::AXDefinitionText):
1546         (WebCore):
1547         (WebCore::AXDescriptionListTermText):
1548         (WebCore::AXDescriptionListDetailText):
1549
1550 2013-01-28  Mike West  <mkwst@chromium.org>
1551
1552         [chromium] Unreviewed build fix, missing include in AssertMatchingEnums.cpp
1553         https://bugs.webkit.org/show_bug.cgi?id=108086
1554
1555         Disabling SVG exposed a missing include in AssertMatchingEnums. This
1556         patch adds it in.
1557
1558         * src/AssertMatchingEnums.cpp:
1559             Include 'ResourceLoadPriority.h'.
1560
1561 2013-01-28  Marja Hölttä  <marja@chromium.org>
1562
1563         Add an API for retrieving native memory information without going through the remote inspecting protocol
1564         https://bugs.webkit.org/show_bug.cgi?id=107651
1565
1566         Reviewed by Adam Barth.
1567
1568         * WebKit.gyp:
1569         * public/WebDevToolsAgent.h:
1570         (WebKit):
1571         (WebDevToolsAgent):
1572         * public/WebMemoryUsageInfo.h: Added.
1573         (WebKit):
1574         (WebKit::WebMemoryUsageInfo::WebMemoryUsageInfo):
1575         (WebMemoryUsageInfo):
1576         * src/WebDevToolsAgentImpl.cpp:
1577         (WebKit::WebDevToolsAgentImpl::processMemoryDistribution):
1578         (WebKit):
1579         * src/WebDevToolsAgentImpl.h:
1580         (WebKit):
1581         (WebDevToolsAgentImpl):
1582
1583 2013-01-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1584
1585         Unreviewed, rolling out r140602.
1586         http://trac.webkit.org/changeset/140602
1587         https://bugs.webkit.org/show_bug.cgi?id=108045
1588
1589         Caused 8 indexed tests to crash. (Requested by keishi on
1590         #webkit).
1591
1592         * public/WebIDBCallbacks.h:
1593         * src/IDBCallbacksProxy.cpp:
1594         (WebKit::IDBCallbacksProxy::onBlocked):
1595         (WebKit):
1596         * src/IDBCallbacksProxy.h:
1597         (IDBCallbacksProxy):
1598         * src/WebIDBCallbacksImpl.cpp:
1599         (WebKit::WebIDBCallbacksImpl::onBlocked):
1600         (WebKit):
1601         * src/WebIDBCallbacksImpl.h:
1602         (WebIDBCallbacksImpl):
1603         * tests/IDBAbortOnCorruptTest.cpp:
1604         (WebCore::MockIDBCallbacks::onBlocked):
1605         * tests/IDBDatabaseBackendTest.cpp:
1606
1607 2013-01-27  Keishi Hattori  <keishi@webkit.org>
1608
1609         Unreviewed, rolling out r140850.
1610         http://trac.webkit.org/changeset/140850
1611         https://bugs.webkit.org/show_bug.cgi?id=107960
1612
1613         r14602 caused 8 indexed tests to crash.
1614
1615         * src/AssertMatchingEnums.cpp:
1616
1617 2013-01-27  Jochen Eisinger  <jochen@chromium.org>
1618
1619         [chromium] add missing plumbing for Notification.requestPermission
1620         https://bugs.webkit.org/show_bug.cgi?id=108012
1621
1622         Reviewed by Adam Barth.
1623
1624         * src/NotificationPresenterImpl.cpp:
1625         (WebKit):
1626         (WebKit::VoidCallbackClient::VoidCallbackClient):
1627         (NotificationPermissionCallbackClient):
1628         (WebKit::NotificationPermissionCallbackClient::NotificationPermissionCallbackClient):
1629         (WebKit::NotificationPermissionCallbackClient::permissionRequestComplete):
1630         (WebKit::NotificationPermissionCallbackClient::~NotificationPermissionCallbackClient):
1631         (WebKit::NotificationPresenterImpl::requestPermission):
1632         * src/NotificationPresenterImpl.h:
1633         (NotificationPresenterImpl):
1634
1635 2013-01-26  James Simonsen  <simonjam@chromium.org>
1636
1637         [chromium] Export ResourceRequest's priority through WebURLRequest
1638         https://bugs.webkit.org/show_bug.cgi?id=107985
1639
1640         Reviewed by Adam Barth.
1641
1642         * src/AssertMatchingEnums.cpp:
1643
1644 2013-01-25  Alexandre Elias  <aelias@chromium.org>
1645
1646         Call FrameView::contentsResized() when setting fixed layout size
1647         https://bugs.webkit.org/show_bug.cgi?id=107922
1648
1649         Reviewed by James Robinson.
1650
1651         In fixed layout mode, we should be calling contentsResized() when the
1652         fixed layout size is changed; on the other hand, we don't need to layout
1653         when the visible contents size changes.
1654
1655         This fixes test WebFrameTest::FixedLayoutInitializeAtMinimumPageScale.
1656
1657         * src/WebViewImpl.cpp:
1658         (WebKit::WebViewImpl::resize):
1659         (WebKit::WebViewImpl::computePageScaleFactorLimits):
1660         * tests/WebFrameTest.cpp:
1661
1662 2013-01-25  Alec Flett  <alecflett@chromium.org>
1663
1664         IndexedDB: Move TaskType enum to IDBDatabaseBackendInterface
1665         https://bugs.webkit.org/show_bug.cgi?id=107960
1666
1667         Reviewed by Tony Chang.
1668
1669         Update asserts to reflect new enum location.
1670
1671         * src/AssertMatchingEnums.cpp:
1672
1673 2013-01-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1674
1675         Unreviewed, rolling out r140774.
1676         http://trac.webkit.org/changeset/140774
1677         https://bugs.webkit.org/show_bug.cgi?id=107932
1678
1679          Tests ScrollingCoordinatorChromiumTest.fastScrollingByDefault
1680         and fastScrollingForFixedPosition are failing (Requested by
1681         keishi on #webkit).
1682
1683         * public/WebWidget.h:
1684         (WebWidget):
1685         (WebKit::WebWidget::isInputThrottled):
1686         (WebKit::WebWidget::renderingStats):
1687         * src/WebViewImpl.cpp:
1688         (WebKit::WebViewImpl::WebViewImpl):
1689         (WebKit::WebViewImpl::~WebViewImpl):
1690         (WebKit::WebViewImpl::renderingStats):
1691         (WebKit):
1692         (WebKit::WebViewImpl::setCompositorSurfaceReady):
1693         (WebKit::WebViewImpl::isInputThrottled):
1694         (WebKit::WebViewImpl::setIsTransparent):
1695         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1696         * src/WebViewImpl.h:
1697
1698 2013-01-25  Eberhard Graether  <egraether@google.com>
1699
1700         Web Inspector: add checkbox for continuous painting to the inspector's settings
1701         https://bugs.webkit.org/show_bug.cgi?id=107352
1702
1703         Reviewed by Pavel Feldman.
1704
1705         This change adds a checkbox to activate continuous painting to the WebInspector's
1706         rendering settings and plumbs the setting to Chromium's WebLayerTreeView. The
1707         setting is visible if InspectorClient::canContinuouslyPaint() returns true.
1708
1709         * public/WebView.h:
1710         (WebView):
1711         * src/InspectorClientImpl.cpp:
1712         (WebKit::InspectorClientImpl::canContinuouslyPaint):
1713         (WebKit):
1714         (WebKit::InspectorClientImpl::setContinuousPaintingEnabled):
1715         * src/InspectorClientImpl.h:
1716         (InspectorClientImpl):
1717         * src/WebViewImpl.cpp:
1718         (WebKit::WebViewImpl::setContinuousPaintingEnabled):
1719         (WebKit):
1720         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1721         * src/WebViewImpl.h:
1722
1723 2013-01-24  Keishi Hattori  <keishi@webkit.org>
1724
1725         Adjust design of the Calendar Picker
1726         https://bugs.webkit.org/show_bug.cgi?id=107507
1727
1728         Reviewed by Kent Tamura.
1729
1730         * src/DateTimeChooserImpl.cpp:
1731         (WebKit::DateTimeChooserImpl::writeDocument):  Include pickerCommonChromium.css and calendarPickerChromium.css.
1732
1733 2013-01-24  James Robinson  <jamesr@chromium.org>
1734
1735         [chromium] Remove dead transitional code from WebViewImpl
1736         https://bugs.webkit.org/show_bug.cgi?id=107889
1737
1738         Reviewed by Adrienne Walker.
1739
1740         The chromium side of this landed at r178256 and seems stable.
1741
1742         * public/WebWidget.h:
1743         (WebKit::WebWidget::setCompositorSurfaceReady):
1744         * src/WebViewImpl.cpp:
1745         (WebKit::WebViewImpl::WebViewImpl):
1746         (WebKit::WebViewImpl::~WebViewImpl):
1747         (WebKit):
1748         (WebKit::WebViewImpl::setIsTransparent):
1749         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1750         * src/WebViewImpl.h:
1751
1752 2013-01-24  James Robinson  <jamesr@chromium.org>
1753
1754         [chromium] Null check WebLayerTreeView before dereffing in WebViewImpl::invalidateRect
1755         https://bugs.webkit.org/show_bug.cgi?id=107855
1756
1757         Reviewed by Adrienne Walker.
1758
1759         During frame shutdown, WebViewImpl::m_layerTreeView may become 0 while commits are deferred but we still
1760         may get invalidateRect() calls before shutdown completes.
1761
1762         * src/WebViewImpl.cpp:
1763         (WebKit::WebViewImpl::invalidateRect):
1764
1765 2013-01-24  Mihai Maerean  <mmaerean@adobe.com>
1766
1767         [CSSRegions] remove setExperimentalCSSRegionsEnabled deprecated API in Source/WebKit/chromium/public/WebSettings.h
1768         https://bugs.webkit.org/show_bug.cgi?id=104564
1769
1770         Reviewed by Adam Barth.
1771
1772         Fixing bug 101192 has deprecated the use of setExperimentalCSSRegionsEnabled.
1773         After http://code.google.com/p/chromium/issues/detail?id=164162 , setExperimentalCSSRegionsEnabled is no longer used anywhere.
1774
1775         * public/WebSettings.h:
1776         removed setExperimentalCSSRegionsEnabled.
1777
1778 2013-01-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1779
1780         Unreviewed.  Rolled Chromium DEPS to r178434.  Requested by
1781         "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
1782
1783         * DEPS:
1784
1785 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
1786
1787         [Chromium] Remove unused header files in chromium/public/platform/
1788         https://bugs.webkit.org/show_bug.cgi?id=107741
1789
1790         Reviewed by James Robinson.
1791
1792         These header files have migrated to the new Platform directory.
1793         This patch updates the remaining #include references and removes
1794         the old files that did nothing but redirect to the new ones.
1795
1796         * WebKit.gyp:
1797         * public/WebAccessibilityObject.h:
1798         * public/WebAccessibilityRole.h:
1799         * public/WebActiveWheelFlingParameters.h:
1800         * public/WebAnimationController.h:
1801         * public/WebApplicationCacheHost.h:
1802         * public/WebApplicationCacheHostClient.h:
1803         * public/WebArrayBuffer.h:
1804         * public/WebArrayBufferView.h:
1805         * public/WebAudioSourceProvider.h:
1806         * public/WebBatteryStatus.h:
1807         * public/WebBindings.h:
1808         * public/WebBlob.h:
1809         * public/WebCache.h:
1810         * public/WebCachedURLRequest.h:
1811         * public/WebColorChooser.h:
1812         * public/WebColorChooserClient.h:
1813         * public/WebColorName.h:
1814         * public/WebCommonWorkerClient.h:
1815         * public/WebCompositionUnderline.h:
1816         * public/WebCompositorInputHandler.h:
1817         * public/WebConsoleMessage.h:
1818         * public/WebContentDetectionResult.h:
1819         * public/WebContextMenuData.h:
1820         * public/WebCrossOriginPreflightResultCache.h:
1821         * public/WebCursorInfo.h:
1822         * public/WebDOMEvent.h:
1823         * public/WebDOMEventListener.h:
1824         * public/WebDOMStringList.h:
1825         * public/WebDataSource.h:
1826         * public/WebDatabase.h:
1827         * public/WebDateTimeChooserCompletion.h:
1828         * public/WebDateTimeChooserParams.h:
1829         * public/WebDeliveredIntentClient.h:
1830         * public/WebDevToolsAgent.h:
1831         * public/WebDevToolsAgentClient.h:
1832         * public/WebDevToolsFrontend.h:
1833         * public/WebDeviceOrientationClient.h:
1834         * public/WebDeviceOrientationClientMock.h:
1835         * public/WebDeviceOrientationController.h:
1836         * public/WebDocument.h:
1837         * public/WebDraggableRegion.h:
1838         * public/WebExternalPopupMenuClient.h:
1839         * public/WebFileChooserCompletion.h:
1840         * public/WebFileChooserParams.h:
1841         * public/WebFileSystemCallbacks.h:
1842         * public/WebFileSystemEntry.h:
1843         * public/WebFileWriter.h:
1844         * public/WebFileWriterClient.h:
1845         * public/WebFindOptions.h:
1846         * public/WebFont.h:
1847         * public/WebFontCache.h:
1848         * public/WebFontDescription.h:
1849         * public/WebFormControlElement.h:
1850         * public/WebFormElement.h:
1851         * public/WebFrame.h:
1852         * public/WebFrameClient.h:
1853         * public/WebGeolocationClientMock.h:
1854         * public/WebGeolocationController.h:
1855         * public/WebGeolocationError.h:
1856         * public/WebGeolocationPermissionRequest.h:
1857         * public/WebGeolocationPermissionRequestManager.h:
1858         * public/WebGeolocationPosition.h:
1859         * public/WebGlyphCache.h:
1860         * public/WebHelperPlugin.h:
1861         * public/WebHistoryItem.h:
1862         * public/WebHitTestResult.h:
1863         * public/WebIDBCallbacks.h:
1864         * public/WebIDBCursor.h:
1865         * public/WebIDBDatabase.h:
1866         * public/WebIDBDatabaseCallbacks.h:
1867         * public/WebIDBDatabaseError.h:
1868         * public/WebIDBFactory.h:
1869         * public/WebIDBKey.h:
1870         * public/WebIDBKeyPath.h:
1871         * public/WebIDBKeyRange.h:
1872         * public/WebIDBMetadata.h:
1873         * public/WebIDBTransaction.h:
1874         * public/WebIDBTransactionCallbacks.h:
1875         * public/WebIconURL.h:
1876         * public/WebImageDecoder.h:
1877         * public/WebInputEvent.h:
1878         * public/WebIntent.h:
1879         * public/WebIntentRequest.h:
1880         * public/WebIntentServiceInfo.h:
1881         * public/WebKit.h:
1882         * public/WebMediaPlayer.h:
1883         * public/WebMediaStreamRegistry.h:
1884         * public/WebMenuItemInfo.h:
1885         * public/WebNetworkStateNotifier.h:
1886         * public/WebNode.h:
1887         * public/WebNodeCollection.h:
1888         * public/WebNodeList.h:
1889         * public/WebNotification.h:
1890         * public/WebNotificationPresenter.h:
1891         * public/WebOptionElement.h:
1892         * public/WebPageOverlay.h:
1893         * public/WebPagePopup.h:
1894         * public/WebPageSerializer.h:
1895         * public/WebPasswordFormData.h:
1896         * public/WebPerformance.h:
1897         * public/WebPlugin.h:
1898         * public/WebPluginContainer.h:
1899         * public/WebPluginParams.h:
1900         * public/WebPopupMenu.h:
1901         * public/WebPopupMenuInfo.h:
1902         * public/WebPrerendererClient.h:
1903         * public/WebPrintParams.h:
1904         * public/WebRange.h:
1905         * public/WebRegularExpression.h:
1906         * public/WebRuntimeFeatures.h:
1907         * public/WebScopedMicrotaskSuppression.h:
1908         * public/WebScopedUserGesture.h:
1909         * public/WebScriptController.h:
1910         * public/WebScriptSource.h:
1911         * public/WebSearchableFormData.h:
1912         * public/WebSecurityOrigin.h:
1913         * public/WebSecurityPolicy.h:
1914         * public/WebSelectElement.h:
1915         * public/WebSerializedScriptValue.h:
1916         * public/WebSettings.h:
1917         * public/WebSharedWorker.h:
1918         * public/WebSharedWorkerRepository.h:
1919         * public/WebSocket.h:
1920         * public/WebSocketClient.h:
1921         * public/WebSpeechGrammar.h:
1922         * public/WebSpeechInputController.h:
1923         * public/WebSpeechInputResult.h:
1924         * public/WebSpeechRecognitionHandle.h:
1925         * public/WebSpeechRecognitionParams.h:
1926         * public/WebSpeechRecognitionResult.h:
1927         * public/WebSpeechRecognizer.h:
1928         * public/WebSpeechRecognizerClient.h:
1929         * public/WebSpellCheckClient.h:
1930         * public/WebStorageEventDispatcher.h:
1931         * public/WebSurroundingText.h:
1932         * public/WebTestingSupport.h:
1933         * public/WebTextCheckingCompletion.h:
1934         * public/WebTextCheckingResult.h:
1935         * public/WebTextFieldDecoratorClient.h:
1936         * public/WebTextInputInfo.h:
1937         * public/WebTextRun.h:
1938         * public/WebTimeRange.h:
1939         * public/WebTouchPoint.h:
1940         * public/WebUserMediaRequest.h:
1941         * public/WebView.h:
1942         * public/WebViewBenchmarkSupport.h:
1943         * public/WebViewClient.h:
1944         * public/WebWidget.h:
1945         * public/WebWidgetClient.h:
1946         * public/WebWindowFeatures.h:
1947         * public/WebWorkerInfo.h:
1948         * public/android/WebInputEventFactory.h:
1949         * public/android/WebSandboxSupport.h:
1950         * public/default/WebRenderTheme.h:
1951         * public/gtk/WebInputEventFactory.h:
1952         * public/linux/WebFontRendering.h:
1953         * public/linux/WebSandboxSupport.h:
1954         * public/mac/WebInputEventFactory.h:
1955         * public/mac/WebSandboxSupport.h:
1956         * public/mac/WebScreenInfoFactory.h:
1957         * public/mac/WebSubstringUtil.h:
1958         * public/platform/WebAudioBus.h: Removed.
1959         * public/platform/WebAudioDevice.h: Removed.
1960         * public/platform/WebBlobData.h: Removed.
1961         * public/platform/WebBlobRegistry.h: Removed.
1962         * public/platform/WebCString.h: Removed.
1963         * public/platform/WebCanvas.h: Removed.
1964         * public/platform/WebClipboard.h: Removed.
1965         * public/platform/WebColor.h: Removed.
1966         * public/platform/WebCommon.h: Removed.
1967         * public/platform/WebCookie.h: Removed.
1968         * public/platform/WebCookieJar.h: Removed.
1969         * public/platform/WebData.h: Removed.
1970         * public/platform/WebDragData.h: Removed.
1971         * public/platform/WebFileSystem.h: Removed.
1972         * public/platform/WebFloatPoint.h: Removed.
1973         * public/platform/WebFloatQuad.h: Removed.
1974         * public/platform/WebFloatRect.h: Removed.
1975         * public/platform/WebGamepad.h: Removed.
1976         * public/platform/WebGamepads.h: Removed.
1977         * public/platform/WebGraphicsContext3D.h: Removed.
1978         * public/platform/WebHTTPBody.h: Removed.
1979         * public/platform/WebHTTPHeaderVisitor.h: Removed.
1980         * public/platform/WebHTTPLoadInfo.h: Removed.
1981         * public/platform/WebImage.h: Removed.
1982         * public/platform/WebLocalizedString.h: Removed.
1983         * public/platform/WebMediaStreamCenter.h: Removed.
1984         * public/platform/WebMediaStreamCenterClient.h: Removed.
1985         * public/platform/WebMediaStreamComponent.h: Removed.
1986         * public/platform/WebMediaStreamDescriptor.h: Removed.
1987         * public/platform/WebMediaStreamSource.h: Removed.
1988         * public/platform/WebMediaStreamSourcesRequest.h: Removed.
1989         * public/platform/WebNonCopyable.h: Removed.
1990         * public/platform/WebPoint.h: Removed.
1991         * public/platform/WebPrivateOwnPtr.h: Removed.
1992         * public/platform/WebPrivatePtr.h: Removed.
1993         * public/platform/WebRect.h: Removed.
1994         * public/platform/WebReferrerPolicy.h: Removed.
1995         * public/platform/WebSize.h: Removed.
1996         * public/platform/WebSocketStreamError.h: Removed.
1997         * public/platform/WebSocketStreamHandle.h: Removed.
1998         * public/platform/WebSocketStreamHandleClient.h: Removed.
1999         * public/platform/WebString.h: Removed.
2000         * public/platform/WebThread.h: Removed.
2001         * public/platform/WebThreadSafeData.h: Removed.
2002         * public/platform/WebURL.h: Removed.
2003         * public/platform/WebURLError.h: Removed.
2004         * public/platform/WebURLLoadTiming.h: Removed.
2005         * public/platform/WebURLLoader.h: Removed.
2006         * public/platform/WebURLLoaderClient.h: Removed.
2007         * public/platform/WebURLRequest.h: Removed.
2008         * public/platform/WebURLResponse.h: Removed.
2009         * public/platform/WebVector.h: Removed.
2010         * public/platform/android/WebSandboxSupport.h: Removed.
2011         * public/platform/android/WebThemeEngine.h: Removed.
2012         * public/platform/default/WebThemeEngine.h: Removed.
2013         * public/platform/linux/WebFontFamily.h: Removed.
2014         * public/platform/linux/WebSandboxSupport.h: Removed.
2015         * public/platform/mac/WebSandboxSupport.h: Removed.
2016         * public/platform/mac/WebThemeEngine.h: Removed.
2017         * public/platform/win/WebSandboxSupport.h: Removed.
2018         * public/platform/win/WebThemeEngine.h: Removed.
2019         * public/win/WebInputEventFactory.h:
2020         * public/win/WebSandboxSupport.h:
2021         * public/win/WebScreenInfoFactory.h:
2022         * public/x11/WebScreenInfoFactory.h:
2023
2024 2013-01-23  Joshua Bell  <jsbell@chromium.org>
2025
2026         IndexedDB: Remove IDBVersionChangeRequest
2027         https://bugs.webkit.org/show_bug.cgi?id=107711
2028
2029         Reviewed by Tony Chang.
2030
2031         * public/WebIDBCallbacks.h: Note to delete onBlocked() once Chromium is cleaned up.
2032         * src/IDBCallbacksProxy.cpp: Remove unused onBlocked() overload.
2033         * src/IDBCallbacksProxy.h: Ditto.
2034         * src/WebIDBCallbacksImpl.cpp: Ditto.
2035         * src/WebIDBCallbacksImpl.h: Ditto.
2036         * tests/IDBAbortOnCorruptTest.cpp: Ditto.
2037         * tests/IDBDatabaseBackendTest.cpp: Ditto.
2038
2039 2013-01-23  Tien-Ren Chen  <trchen@chromium.org>
2040
2041         Partially revert 104427, change WebWidgetClient::didHandleGestureEvent semantics.
2042         https://bugs.webkit.org/show_bug.cgi?id=107605
2043
2044         Reviewed by Darin Fisher.
2045
2046         Per discussion in https://codereview.chromium.org/11473027/ we decided
2047         not to introduce an enum to WebWidgetClient::didHandleGestureEvent().
2048         Instead, change the semantics of the bool flag to indicate whether the
2049         gesture event is cancelled for disambiguation.
2050
2051         * public/WebWidgetClient.h:
2052         (WebKit::WebWidgetClient::didHandleGestureEvent):
2053         * src/WebViewImpl.cpp:
2054         (WebKit::WebViewImpl::handleGestureEvent):
2055         * tests/WebViewTest.cpp:
2056
2057 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
2058
2059         [Chromium] Remove WebArrayBufferView and WebSerializedScriptValue from chromium/public/platform/
2060         https://bugs.webkit.org/show_bug.cgi?id=107720
2061
2062         Reviewed by Darin Fisher.
2063
2064         These headers have been moved to chromium/public/ and all
2065         references downstream were changed in
2066         https://codereview.chromium.org/11946050/.
2067         No DEPS roll necessary because it's already above 177695.
2068
2069         * WebKit.gyp:
2070         * public/platform/WebArrayBufferView.h: Removed.
2071         * public/platform/WebSerializedScriptValue.h: Removed.
2072         * src/DeliveredIntentClientImpl.cpp:
2073         * src/IDBCallbacksProxy.cpp:
2074         * src/IDBCursorBackendProxy.cpp:
2075         * src/WebArrayBufferView.cpp:
2076         * src/WebBindings.cpp:
2077         * src/WebDOMCustomEvent.cpp:
2078         * src/WebDOMMessageEvent.cpp:
2079         * src/WebFrameImpl.cpp:
2080         * src/WebHistoryItem.cpp:
2081         * src/WebIDBCallbacksImpl.cpp:
2082         * src/WebIntent.cpp:
2083         * src/WebIntentRequest.cpp:
2084         * src/WebSerializedScriptValue.cpp:
2085
2086 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
2087
2088         [Chromium] Fix some #includes to headers in chromium/public/platform/ that have been moved to the new Platform directory
2089         https://bugs.webkit.org/show_bug.cgi?id=107722
2090
2091         Reviewed by Darin Fisher.
2092
2093         These headers just redirect to the new versions, so call the new
2094         versions directly.
2095
2096         * src/linux/WebFontInfo.cpp:
2097         * src/mac/WebSubstringUtil.mm:
2098
2099 2013-01-23  Mark Pilgrim  <pilgrim@chromium.org>
2100
2101         [Chromium] Fix some #includes for WebSerializedScriptValue
2102         https://bugs.webkit.org/show_bug.cgi?id=107697
2103
2104         Reviewed by Adam Barth.
2105
2106         WebSerializedScriptValue has been moved to chromium/public/.
2107
2108         * public/WebDOMCustomEvent.h:
2109         * public/WebDOMMessageEvent.h:
2110         * public/WebIDBCursor.h:
2111
2112 2013-01-23  Dmitry Gozman  <dgozman@chromium.org>
2113
2114         Added changeAttachedWindowHeight method to inspector frontend API, which
2115         allows to change inspector window height from inside.
2116         https://bugs.webkit.org/show_bug.cgi?id=107648
2117
2118         Reviewed by Pavel Feldman.
2119
2120         * public/WebDevToolsFrontendClient.h:
2121         (WebKit::WebDevToolsFrontendClient::changeAttachedWindowHeight):
2122         * src/InspectorFrontendClientImpl.cpp:
2123         (WebKit::InspectorFrontendClientImpl::changeAttachedWindowHeight):
2124
2125 2013-01-23  Shinya Kawanaka  <shinyak@chromium.org>
2126
2127         shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
2128         https://bugs.webkit.org/show_bug.cgi?id=107624
2129
2130         Reviewed by Dimitri Glazkov.
2131
2132         Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
2133
2134         * src/WebFrameImpl.cpp:
2135         (WebKit::WebFrameImpl::scopeStringMatches):
2136         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
2137
2138 2013-01-22  Pavel Feldman  <pfeldman@chromium.org>
2139
2140         Web Inspector: only allow evaluateForTestInFrontend for front-ends under test.
2141         https://bugs.webkit.org/show_bug.cgi?id=107523
2142
2143         Reviewed by Yury Semikhatsky.
2144
2145         * public/WebDevToolsFrontendClient.h:
2146         (WebKit::WebDevToolsFrontendClient::isUnderTest):
2147         (WebDevToolsFrontendClient):
2148         * src/InspectorFrontendClientImpl.cpp:
2149         (WebKit::InspectorFrontendClientImpl::isUnderTest):
2150         * src/InspectorFrontendClientImpl.h:
2151         (InspectorFrontendClientImpl):
2152
2153 2013-01-22  Mark Lam  <mark.lam@apple.com>
2154
2155         Change the Supplementable class to not use AtomicString.
2156         https://bugs.webkit.org/show_bug.cgi?id=107535.
2157
2158         Reviewed by Adam Barth.
2159
2160         Replaced the use of AtomicString keys with literal const char* keys.
2161         This simplifies the SupplementMap and makes it slightly leaner and faster.
2162
2163         * src/ContextFeaturesClientImpl.cpp:
2164         (ContextFeaturesCache):
2165         (WebKit::ContextFeaturesCache::supplementName):
2166
2167 2013-01-22  Leandro Gracia Gil  <leandrogracia@chromium.org>
2168
2169         [Chromium] Expose didCommitCompositorFrame in WebWidgetClient.
2170         https://bugs.webkit.org/show_bug.cgi?id=107325
2171
2172         Reviewed by James Robinson.
2173
2174         Add a notification on WebWidgetClient called when the compositor commits a frame.
2175
2176         * public/WebWidgetClient.h:
2177         (WebWidgetClient):
2178         (WebKit::WebWidgetClient::didCommitCompositorFrame):
2179         * src/WebViewImpl.cpp:
2180         (WebKit::WebViewImpl::didCommit):
2181
2182 2013-01-21  Kentaro Hara  <haraken@chromium.org>
2183
2184         Implement UIEvent constructor
2185         https://bugs.webkit.org/show_bug.cgi?id=107430
2186
2187         Reviewed by Adam Barth.
2188
2189         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
2190
2191         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
2192         which is enabled on Safari and Chromium for now.
2193
2194         * features.gypi:
2195
2196 2013-01-22  Alpha Lam  <hclam@chromium.org>
2197
2198         REGRESSION(r140392): InjectIDBKeyTest.TopLevelPropertyStringValue is crashing
2199         https://bugs.webkit.org/show_bug.cgi?id=107578
2200
2201         Unreviewed build fix. Disabled 2 tests that are crashing after r140392.
2202
2203         * tests/IDBBindingUtilitiesTest.cpp:
2204         (WebKit::TEST_F):
2205
2206 2013-01-22  Eric Seidel  <eric@webkit.org>
2207
2208         Turn on ENABLE_THREADED_HTML_PARSER for Chromium (it's still disabled at runtime)
2209         https://bugs.webkit.org/show_bug.cgi?id=107519
2210
2211         Reviewed by Adam Barth.
2212
2213         This makes our development lives easier, and makes it possible for the bots
2214         to run threaded-parser-only tests by toggling the runtime enable
2215         via window.internals.settings.
2216
2217         * features.gypi:
2218
2219 2013-01-22  Kentaro Hara  <haraken@chromium.org>
2220
2221         [V8] Make an Isolate parameter mandatory in toV8()
2222         https://bugs.webkit.org/show_bug.cgi?id=107520
2223
2224         Reviewed by Adam Barth.
2225
2226         Now it's safe to remove an optional Isolate parameter.
2227
2228         No tests. No change in behavior.
2229
2230         * src/InspectorFrontendClientImpl.cpp:
2231         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
2232         * src/WebArrayBuffer.cpp:
2233         (WebKit::WebArrayBuffer::toV8Value):
2234         * src/WebBlob.cpp:
2235         (WebKit::WebBlob::toV8Value):
2236         * src/WebFrameImpl.cpp:
2237         (WebKit::WebFrameImpl::createFileSystem):
2238         (WebKit::WebFrameImpl::createSerializableFileSystem):
2239         (WebKit::WebFrameImpl::createFileEntry):
2240
2241 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2242
2243         Unreviewed.  Rolled Chromium DEPS to r177962.  Requested by
2244         "Yoshifumi Inoue" <yosin@chromium.org> via sheriffbot.
2245
2246         * DEPS:
2247
2248 2013-01-21  Noel Gordon  <noel.gordon@gmail.com>
2249
2250         [chromium] REGRESSION(r139347) roll chromium deps broke webkit-unit-tests
2251         https://bugs.webkit.org/show_bug.cgi?id=106631
2252
2253         Reviewed by Kent Tamura.
2254
2255         Fixed in http://crrev.com/177931 and rolled. Renable these tests.
2256
2257         * tests/WebImageTest.cpp:
2258
2259 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
2260
2261         Add build flag for Canvas's Path object (disabled by default)
2262         https://bugs.webkit.org/show_bug.cgi?id=107473
2263
2264         Reviewed by Dean Jackson.
2265
2266         Add CANVAS_PATH build flag to build systems.
2267
2268         * features.gypi:
2269
2270 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2271
2272         Unreviewed.  Rolled Chromium DEPS to r177956.  Requested by
2273         thakis_ via sheriffbot.
2274
2275         * DEPS:
2276
2277 2013-01-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2278
2279         Unreviewed.  Rolled Chromium DEPS to r177953.  Requested by
2280         thakis_ via sheriffbot.
2281
2282         * DEPS:
2283
2284 2013-01-21  Tommy Widenflycht  <tommyw@google.com>
2285
2286         MediaStream API: Update the RTCPeerConnection states to match the latest specification
2287         https://bugs.webkit.org/show_bug.cgi?id=107120
2288
2289         Reviewed by Adam Barth.
2290
2291         * src/AssertMatchingEnums.cpp:
2292
2293 2013-01-20  Dominic Mazzoni  <dmazzoni@google.com>
2294
2295         Make SpeechSynthesis compile in the Chromium port
2296         https://bugs.webkit.org/show_bug.cgi?id=107382
2297
2298         Reviewed by Adam Barth.
2299
2300         Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
2301
2302         * features.gypi:
2303
2304 2013-01-20  Yoshifumi Inoue  <yosin@chromium.org>
2305
2306         Dragging over an element with scrollbars should scroll the element when dragging near edges
2307         https://bugs.webkit.org/show_bug.cgi?id=39725
2308
2309         Reviewed by Hajime Morita.
2310
2311         This patch removes DragScrollTimer used for automatic scrolling of main
2312         frame drag-and-drop which is now implemented in EventHandler.
2313
2314         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
2315         make patch size small.
2316
2317         No tests. Existing test covers this change.
2318
2319         * src/ChromeClientImpl.cpp:
2320         (WebKit::ChromeClientImpl::shouldAutoscrollForDragAndDrop): Added.
2321         * src/ChromeClientImpl.h:
2322         (ChromeClientImpl): Changed to add shouldAutoscrollForDragAndDrop().
2323         * src/WebViewImpl.cpp:
2324         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
2325         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
2326         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
2327         (WebKit::WebViewImpl::dragTargetDrop): ditto
2328         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
2329         * src/WebViewImpl.h:
2330         (WebKit): Chagned to remove DragScrollTimer.
2331
2332 2013-01-18  Alec Flett  <alecflett@chromium.org>
2333
2334         IndexedDB: Switch to new createTransaction call
2335         https://bugs.webkit.org/show_bug.cgi?id=107311
2336
2337         Reviewed by Tony Chang.
2338
2339         * public/WebIDBTransaction.h:
2340
2341         Remove an old method that nobody calls.
2342
2343 2013-01-18  Alpha Lam  <hclam@chromium.org>
2344
2345         [chromium] Roll Chromium DEPS to 177676
2346
2347         Unreviewed DEPS roll.
2348
2349         * DEPS:
2350
2351 2013-01-18  Robert Kroeger  <rjkroege@chromium.org>
2352
2353         [chromium] Use new-style gesture scrolling events for fling and
2354         for plugin scrolling: https://bugs.webkit.org/show_bug.cgi?id=106589
2355
2356         Reviewed by James Robinson.
2357
2358         https://bugs.webkit.org/show_bug.cgi?id=103952 modified touchscreen
2359         scrolling to not use synthetic mouse wheel events. Update the fling facility
2360         in WebViewImpl to use these events for touchscreen-initiated flings. Also
2361         modify the WebPluginContainerImpl to scroll in response to touchscreen
2362         scroll gestures if the plugin does not itself implement gesture events. 
2363
2364         * src/WebPluginContainerImpl.cpp:
2365         * src/WebViewImpl.cpp:
2366         (WebKit::WebViewImpl::WebViewImpl):
2367         (WebKit::WebViewImpl::scrollBy): Handle fling callback conditionally based
2368         on initiating device. Touchpad flings generate wheels. Touchscreen flings
2369         use gesture events.
2370         (WebKit::WebViewImpl::handleGestureEvent):
2371         (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
2372         * src/WebViewImpl.h:
2373
2374 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
2375
2376         Add explicit keyword to constructors in platform-specific InspectorClient
2377         https://bugs.webkit.org/show_bug.cgi?id=107255
2378
2379         Reviewed by Kentaro Hara.
2380
2381         Add explicit keyword to constructors that take one argument
2382         in platform-specific implementation of InspectorClient.
2383
2384         * src/InspectorClientImpl.h:
2385         (InspectorClientImpl):
2386
2387 2013-01-17  Dominic Cooney  <dominicc@chromium.org>
2388
2389         [Chromium] Unreviewed gardening.
2390
2391         Roll Chromium to 177561.
2392
2393         * DEPS:
2394
2395 2013-01-17  Alpha Lam  <hclam@chromium.org>
2396
2397         [chromium] Disable a unit test
2398         https://bugs.webkit.org/show_bug.cgi?id=107206
2399
2400         Unreviewed. Disable a failing test due to 140025.
2401
2402         * tests/WebFrameTest.cpp:
2403
2404 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
2405
2406         Unreviewed, rolling out r140023.
2407         http://trac.webkit.org/changeset/140023
2408         https://bugs.webkit.org/show_bug.cgi?id=107176
2409
2410         Broke some tests (Requested by anttik on #webkit).
2411
2412         * tests/RenderTableCellTest.cpp:
2413         * tests/RenderTableRowTest.cpp:
2414
2415 2013-01-17  John Mellor  <johnme@chromium.org>
2416
2417         [chromium] Double-tap zoom should take into account accessibility fontScaleFactor
2418         https://bugs.webkit.org/show_bug.cgi?id=107123
2419
2420         Reviewed by Adam Barth.
2421
2422         Platforms which support Text Autosizing (currently just Chrome for
2423         Android) may provide a textAutosizingFontScaleFactor (defaults to 1.0).
2424
2425         This value is intended to be chosen by the user to indicate how large
2426         they want text to appear, for example Chrome for Android has a "Text
2427         scaling" slider in Settings > Accessibility that lets you choose a value
2428         in the range 50% - 200% (defaults to 100%*).
2429
2430         For text in wide columns that typically gets autosized, this value is
2431         applied by multiplying the textAutosizingMultiplier computed for each
2432         cluster by the textAutosizingFontScaleFactor. Double-tap zoom will fit
2433         the column to the screen (ignoring the textAutosizingFontScaleFactor)
2434         since the column is wide. This part already works.
2435
2436         For text in narrow columns that doesn't get autosized, the
2437         textAutosizingFontScaleFactor is not applied through Text Autosizing,
2438         and instead needs to be applied by adjusting the double-tap zoom level.
2439         When double-tapping on narrow columns, instead of fitting the column to
2440         the screen (which would often zoom in excessively far), the existing
2441         logic in computeScaleAndScrollForHitRect applies a maximum zoom level
2442         called the legibleScale. This value needs to be multiplied by the
2443         textAutosizingFontScaleFactor, so that we zoom in proportionately
2444         further on non-autosized narrow columns, hence the effective text size
2445         (taking into account zoom) will have increased in proportion to the
2446         textAutosizingFontScaleFactor as expected.
2447
2448         * src/WebViewImpl.cpp:
2449         (WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
2450             Multiplies legibleScale (the maximum zoom level) by the
2451             textAutosizingFontScaleFactor.
2452         * tests/WebFrameTest.cpp:
2453             Added WebFrameTest.DivAutoZoomScaleFontScaleFactorTest based on
2454             WebFrameTest.DivAutoZoomScaleBoundsTest to test the interaction
2455             between textAutosizingFontScaleFactor and the double-tap zoom logic.
2456             Also did minor cleanup to WebFrameTest.DivAutoZoomScaleBoundsTest.
2457
2458 2013-01-17  Alexandre Elias  <aelias@chromium.org>
2459
2460         [chromium] Make new-style page scale work with fixed layout
2461         https://bugs.webkit.org/show_bug.cgi?id=106951
2462
2463         Reviewed by Adam Barth.
2464
2465         This makes non-CSS-transform page scaling work with fixed-layout mode,
2466         including viewport tag support.
2467
2468         - dispatchViewportPropertiesDidChange() now works entirely with DIP
2469         pixels instead of physical pixels, and is made compatible with
2470         separating deviceScaleFactor from pageScaleFactor.
2471
2472         - In this mode, the "layout viewport" size in the pinch-zoom model is
2473         made a first-class concept separate from the device size.  This
2474         is a viewport with the same aspect ratio as the device but with the
2475         layout width of the page.  This viewport is used:
2476           - As FrameView::visibleContentRect.
2477           - Returned from WebView::size().
2478           - Given to the compositor as layoutViewportSize.
2479
2480         - m_deviceScaleInCompositor is deleted as it's clearer to use the
2481         applyDeviceScaleInCompositor setting directly.
2482
2483         * src/ChromeClientImpl.cpp:
2484         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2485         * src/WebViewImpl.cpp:
2486         (WebKit::WebViewImpl::WebViewImpl):
2487         (WebKit::WebViewImpl::size):
2488         (WebKit):
2489         (WebKit::WebViewImpl::resize):
2490         (WebKit::WebViewImpl::setPageScaleFactor):
2491         (WebKit::WebViewImpl::setDeviceScaleFactor):
2492         (WebKit::WebViewImpl::layoutSize):
2493         (WebKit::WebViewImpl::computePageScaleFactorLimits):
2494         (WebKit::WebViewImpl::dipSize):
2495         (WebKit::WebViewImpl::didChangeContentsSize):
2496         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2497         (WebKit::WebViewImpl::updateLayerTreeViewport):
2498         * src/WebViewImpl.h:
2499         (WebViewImpl):
2500
2501 2013-01-17  Sheriff Bot  <webkit.review.bot@gmail.com>
2502
2503         Unreviewed.  Rolled Chromium DEPS to r177369.  Requested by
2504         ajuma via sheriffbot.
2505
2506         * DEPS:
2507
2508 2013-01-17  Eugene Klyuchnikov  <eustas@chromium.org>
2509
2510         Web Inspector: Profiler: split "getProfile" to "getCPUProfile" and "loadHeapSnapshot"
2511         https://bugs.webkit.org/show_bug.cgi?id=104545
2512
2513         Reviewed by Yury Semikhatsky.
2514
2515         Adopt changes: mimic old behavior.
2516
2517         * src/WebDevToolsAgentImpl.cpp: Adopt signature changes.
2518
2519 2013-01-17  Yury Semikhatsky  <yurys@chromium.org>
2520
2521         Web Inspector: add WebDeToolsAgentImpl as task observer on reattach
2522         https://bugs.webkit.org/show_bug.cgi?id=107106
2523
2524         Reviewed by Pavel Feldman.
2525
2526         Register WebDevToolsAgentImpl as task observer when it client is reattached.
2527
2528         * src/WebDevToolsAgentImpl.cpp:
2529         (WebKit::WebDevToolsAgentImpl::reattach):
2530
2531 2013-01-16  Dominic Cooney   <dominicc@chromium.org>
2532
2533         [Chromium] Unreviewed gardening.
2534
2535         Roll Chromium to 177350.
2536
2537         * DEPS:
2538
2539 2013-01-16  Kristian Monsen  <kristianm@google.com>
2540
2541         Fix build break for Android webview.
2542         https://bugs.webkit.org/show_bug.cgi?id=107072
2543
2544         Reviewed by Steve Block.
2545
2546         Add extra guards when checking for OS=="Android" to make sure it is not included
2547         for webview.
2548
2549         * WebKitUnitTests.gyp:
2550
2551 2013-01-16  Dominic Cooney  <dominicc@chromium.org>
2552
2553         [Chromium] Unreviewed gardening.
2554
2555         Roll Chromium to 177310.
2556
2557         * DEPS:
2558
2559 2013-01-16  W. James MacLean  <wjmaclean@chromium.org>
2560
2561         LinkHighlight should use touch adjustment to match active state on GestureTapDown.
2562         https://bugs.webkit.org/show_bug.cgi?id=107032
2563
2564         Reviewed by Adam Barth.
2565
2566         LinkHighlight node selection should produce results that match the node marked
2567         active during GestureTapDown.
2568
2569         * src/WebViewImpl.cpp:
2570         (WebKit::WebViewImpl::bestTouchLinkNode):
2571         * tests/LinkHighlightTest.cpp:
2572         (WebCore::TEST):
2573
2574 2013-01-16  Kentaro Hara  <haraken@chromium.org>
2575
2576         [V8] Make a creationContext parameter of toV8() mandatory
2577         https://bugs.webkit.org/show_bug.cgi?id=107020
2578
2579         Reviewed by Adam Barth.
2580
2581         We pass Handle<Object>() to a creationContext parameter of
2582         toV8() when we do not have a creationContext.
2583
2584         No tests. No change in behavior.
2585
2586         * src/InspectorFrontendClientImpl.cpp:
2587         (WebKit::InspectorFrontendClientImpl::windowObjectCleared):
2588         * src/WebArrayBuffer.cpp:
2589         (WebKit::WebArrayBuffer::toV8Value):
2590         * src/WebBlob.cpp:
2591         (WebKit::WebBlob::toV8Value):
2592         * src/WebFrameImpl.cpp:
2593         (WebKit::WebFrameImpl::createFileSystem):
2594         (WebKit::WebFrameImpl::createSerializableFileSystem):
2595         (WebKit::WebFrameImpl::createFileEntry):
2596
2597 2013-01-16  Mark Pilgrim  <pilgrim@chromium.org>
2598
2599         [Chromium] Move WebArrayBufferView and WebSerializedScriptValue out of public/platform/
2600         https://bugs.webkit.org/show_bug.cgi?id=106863
2601
2602         Reviewed by Adam Barth.
2603
2604         These are not being moved into the new top-level Platform
2605         directory, so into public they go.
2606
2607         * WebKit.gyp:
2608         * public/WebArrayBufferView.h: Added.
2609         (v8):
2610         (WebKit):
2611         (WebArrayBufferView):
2612         (WebKit::WebArrayBufferView::~WebArrayBufferView):
2613         (WebKit::WebArrayBufferView::WebArrayBufferView):
2614         * public/WebSerializedScriptValue.h: Added.
2615         (v8):
2616         (WebKit):
2617         (WebSerializedScriptValue):
2618         (WebKit::WebSerializedScriptValue::~WebSerializedScriptValue):
2619         (WebKit::WebSerializedScriptValue::WebSerializedScriptValue):
2620         (WebKit::WebSerializedScriptValue::operator=):
2621         (WebKit::WebSerializedScriptValue::isNull):
2622         * public/platform/WebArrayBufferView.h:
2623         * public/platform/WebSerializedScriptValue.h:
2624
2625 2013-01-16  Chris Hopman  <cjhopman@chromium.org>
2626
2627         [Chromium] Remove hardcoded chromium_*.jar in gyp files
2628         https://bugs.webkit.org/show_bug.cgi?id=104049
2629
2630         Reviewed by Eric Seidel.
2631
2632         Targets with dependencies (direct/indirect) on a java target receive
2633         the chromium_*.jar paths in the variable input_jars_paths. Targets
2634         should use that rather than hardcoding where they think the jar will
2635         be. These can be passed directly to ant as INPUT_JARS_PATHS rather
2636         than as --jars to generate_native_test.py.
2637
2638         * WebKitUnitTests.gyp:
2639
2640 2013-01-16  Dominic Cooney   <dominicc@chromium.org>
2641
2642         [Chromium] Unreviewed gardening.
2643
2644         Roll Chromium to 177117.
2645
2646         * DEPS:
2647
2648 2013-01-16  Dominic Cooney  <dominicc@chromium.org>
2649
2650         [Chromium] Unreviewed gardening.
2651
2652         Roll Chromium to r177080.
2653
2654         * DEPS:
2655
2656 2013-01-15  Ian Vollick  <vollick@chromium.org>
2657
2658         [chromium] Create GraphicsLayerChromiums using a factory
2659         https://bugs.webkit.org/show_bug.cgi?id=103635
2660
2661         Reviewed by James Robinson.
2662
2663         Refactor graphics layer creation for chromium to go through a factory.
2664
2665         * src/ChromeClientImpl.cpp:
2666         (WebCore):
2667         (GraphicsLayerFactoryChromium):
2668         (WebCore::GraphicsLayerFactoryChromium::~GraphicsLayerFactoryChromium):
2669         (WebKit::ChromeClientImpl::ChromeClientImpl):
2670         (WebKit::ChromeClientImpl::graphicsLayerFactory):
2671         (WebKit):
2672         * src/ChromeClientImpl.h:
2673         (WebCore):
2674         (ChromeClientImpl):
2675         * src/NonCompositedContentHost.cpp:
2676         (WebKit::NonCompositedContentHost::NonCompositedContentHost):
2677         * src/NonCompositedContentHost.h:
2678         (WebCore):
2679         (WebKit::NonCompositedContentHost::create):
2680         (NonCompositedContentHost):
2681         * src/PageOverlay.cpp:
2682         (WebKit::PageOverlay::update):
2683         * src/WebViewImpl.cpp:
2684         (WebKit::WebViewImpl::graphicsLayerFactory):
2685         (WebKit):
2686         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2687         * src/WebViewImpl.h:
2688         (WebCore):
2689         (WebViewImpl):
2690         * tests/GraphicsLayerChromiumTest.cpp:
2691         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
2692         * tests/ImageLayerChromiumTest.cpp:
2693         (WebCore::TEST):
2694
2695 2013-01-15  Mark Pilgrim  <pilgrim@chromium.org>
2696
2697         [Chromium] Move SocketStreamHandle and SocketStreamHandleInternal to WebCore/platform
2698         https://bugs.webkit.org/show_bug.cgi?id=106899
2699
2700         Reviewed by Adam Barth.
2701
2702         Part of a larger refactoring series; see tracking bug 106829.
2703
2704         * WebKit.gyp:
2705         * src/SocketStreamHandle.cpp: Removed.
2706         * src/SocketStreamHandleInternal.h: Removed.
2707
2708 2013-01-15  Florin Malita  <fmalita@chromium.org>
2709
2710         [Chromium] Incorrect opaque region tracking for PlatformContextSkia::drawRRect
2711         https://bugs.webkit.org/show_bug.cgi?id=106898
2712
2713         Reviewed by Stephen White.
2714
2715         * tests/PlatformContextSkiaTest.cpp:
2716         (WebCore::TEST):
2717         (WebCore):
2718
2719 2012-12-28  Vsevolod Vlasov  <vsevik@chromium.org>
2720
2721         Web Inspector: Support inspector file system access with isolated file system through InspectorFrontendHost.
2722         https://bugs.webkit.org/show_bug.cgi?id=105727
2723
2724         Reviewed by Pavel Feldman.
2725
2726         File system access methods plumbing made for Chromium.
2727
2728         * public/WebDevToolsFrontendClient.h:
2729         (WebKit::WebDevToolsFrontendClient::requestFileSystems):
2730         (WebKit::WebDevToolsFrontendClient::addFileSystem):
2731         (WebKit::WebDevToolsFrontendClient::removeFileSystem):
2732         (WebDevToolsFrontendClient):
2733         * src/InspectorFrontendClientImpl.cpp:
2734         (WebKit::InspectorFrontendClientImpl::supportsFileSystems):
2735         (WebKit):
2736         (WebKit::InspectorFrontendClientImpl::requestFileSystems):
2737         (WebKit::InspectorFrontendClientImpl::addFileSystem):
2738         (WebKit::InspectorFrontendClientImpl::removeFileSystem):
2739         * src/InspectorFrontendClientImpl.h:
2740         (InspectorFrontendClientImpl):
2741
2742 2013-01-14  Dominic Cooney  <dominicc@chromium.org>
2743
2744         [Chromium] Unreviewed gardening.
2745
2746         Roll Chromium to r176801.
2747
2748         * DEPS: Rollin' on the river.
2749
2750 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
2751
2752         [Chromium] Remove unused public/platform/WebColorName.h
2753         https://bugs.webkit.org/show_bug.cgi?id=106865
2754
2755         Reviewed by Adam Barth.
2756
2757         This file is no longer referenced anywhere in WebKit or Chromium.
2758
2759         * public/platform/WebColorName.h: Removed.
2760
2761 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
2762
2763         [Chromium] Move BlobRegistryProxy into WebCore
2764         https://bugs.webkit.org/show_bug.cgi?id=106831
2765
2766         Reviewed by Adam Barth.
2767
2768         Part of a larger refactoring series to remove layering violations
2769         in Chromium. See tracking bug 106829.
2770
2771         * WebKit.gyp:
2772         * src/BlobRegistryProxy.cpp: Removed.
2773         * src/BlobRegistryProxy.h: Removed.
2774
2775 2013-01-14  Alec Flett  <alecflett@chromium.org>
2776
2777         IndexedDB: Remove IDBObjectStore/IndexBackendImpl and support functions
2778         https://bugs.webkit.org/show_bug.cgi?id=106605
2779
2780         Remove all references to IDBObjectStoreBackend* and IDBIndexBackend*
2781         as they no longer exist in WebCore.
2782
2783         Reviewed by Darin Fisher.
2784
2785         * WebKit.gyp:
2786         * public/WebIDBCallbacks.h:
2787         (WebKit):
2788         * public/WebIDBDatabase.h:
2789         (WebKit):
2790         (WebKit::WebIDBDatabase::metadata):
2791         * public/WebIDBFactory.h:
2792         (WebIDBFactory):
2793         * public/WebIDBIndex.h: Removed.
2794         * public/WebIDBObjectStore.h: Removed.
2795         * public/WebIDBTransaction.h:
2796         * src/IDBCallbacksProxy.cpp:
2797         * src/IDBDatabaseBackendProxy.cpp:
2798         * src/IDBDatabaseBackendProxy.h:
2799         (IDBDatabaseBackendProxy):
2800         * src/IDBFactoryBackendProxy.cpp:
2801         * src/IDBFactoryBackendProxy.h:
2802         (IDBFactoryBackendProxy):
2803         * src/IDBIndexBackendProxy.cpp: Removed.
2804         * src/IDBIndexBackendProxy.h: Removed.
2805         * src/IDBObjectStoreBackendProxy.cpp: Removed.
2806         * src/IDBObjectStoreBackendProxy.h: Removed.
2807         * src/IDBTransactionBackendProxy.cpp:
2808         * src/IDBTransactionBackendProxy.h:
2809         (IDBTransactionBackendProxy):
2810         * src/WebIDBDatabaseImpl.cpp:
2811         (WebKit::WebIDBDatabaseImpl::put):
2812         (WebKit::WebIDBDatabaseImpl::setIndexKeys):
2813         * src/WebIDBDatabaseImpl.h:
2814         (WebKit):
2815         (WebIDBDatabaseImpl):
2816         * src/WebIDBFactoryImpl.cpp:
2817         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
2818         * src/WebIDBFactoryImpl.h:
2819         (WebIDBFactoryImpl):
2820         * src/WebIDBIndexImpl.cpp: Removed.
2821         * src/WebIDBIndexImpl.h: Removed.
2822         * src/WebIDBObjectStoreImpl.cpp: Removed.
2823         * src/WebIDBObjectStoreImpl.h: Removed.
2824         * src/WebIDBTransactionImpl.cpp:
2825         * src/WebIDBTransactionImpl.h:
2826         * tests/IDBAbortOnCorruptTest.cpp:
2827         (WebCore::TEST):
2828         * tests/IDBDatabaseBackendTest.cpp:
2829
2830 2013-01-14  Dominic Mazzoni  <dmazzoni@google.com>
2831
2832         AX: Need to implement ColorWellRole
2833         https://bugs.webkit.org/show_bug.cgi?id=106756
2834
2835         Reviewed by Chris Fleizach.
2836
2837         Adds an accessibility interface to access the value of a
2838         color control.
2839
2840         * public/WebAccessibilityObject.h:
2841         (WebAccessibilityObject):
2842         * src/WebAccessibilityObject.cpp:
2843         (WebKit::WebAccessibilityObject::colorValue):
2844         (WebKit):
2845
2846 2013-01-14  Mark Pilgrim  <pilgrim@chromium.org>
2847
2848         [Chromium] Move AudioDestinationChromium into WebCore
2849         https://bugs.webkit.org/show_bug.cgi?id=106803
2850
2851         Reviewed by Adam Barth.
2852
2853         This doesn't really belong in WebKit/chromium/src since it defines
2854         things directly in the WebCore namespace.
2855
2856         * WebKit.gyp:
2857         * src/AudioDestinationChromium.cpp: Removed.
2858         * src/AudioDestinationChromium.h: Removed.
2859
2860 2013-01-14  Stephen Chenney  <schenney@chromium.org>
2861
2862         Re-enabling the SK_DISABLE_DASHING_OPTIMIZATION flag for Skia
2863
2864         Unreviewed build fix.
2865
2866         It turns out that the change behind this flag causes crashes and image errors.
2867
2868         * skia_webkit.gyp:
2869
2870 2013-01-14  Kentaro Hara  <haraken@chromium.org>
2871
2872         [V8] Make an Isolate parameter mandatory in ScriptDebugServer::interruptAndRun()
2873         https://bugs.webkit.org/show_bug.cgi?id=106779
2874
2875         Reviewed by Adam Barth.
2876
2877         This is one of steps to make an Isolate parameter mandatory.
2878
2879         No tests. No change in behavior.
2880
2881         * src/WebDevToolsAgentImpl.cpp:
2882         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2883
2884 2013-01-13  Vsevolod Vlasov  <vsevik@chromium.org>
2885
2886         Web Inspector: [Chromium] DevToolsSanityTest.TestNoScriptDuplicatesOnPanelSwitch fails
2887         https://bugs.webkit.org/show_bug.cgi?id=106755
2888
2889         Reviewed by Alexander Pavlov.
2890
2891         * src/js/Tests.js:
2892         (.TestSuite.prototype.nonAnonymousUISourceCodes_.filterOutService):
2893         (.TestSuite.prototype.nonAnonymousUISourceCodes_):
2894
2895 2013-01-12  David Grogan  <dgrogan@chromium.org>
2896
2897         Unreviewed.  Roll chromium DEPS to 176595.
2898         https://bugs.webkit.org/show_bug.cgi?id=106730
2899
2900         * DEPS:
2901
2902 2013-01-11  Dan Beam  <dbeam@chromium.org>
2903
2904         [clean up] Remove HTMLFormElement::AutocompleteResultError in favor of more specific Error reasons
2905         https://bugs.webkit.org/show_bug.cgi?id=106610
2906
2907         Reviewed by Darin Fisher.
2908
2909         * public/WebFormElement.h: Removed WebFormElement::AutocompleteResultError in favor of more specific error reasons.
2910         * src/AssertMatchingEnums.cpp: Removed enum value from compile-time asserts.
2911
2912 2013-01-11  Tien-Ren Chen  <trchen@chromium.org>
2913
2914         WebWidgetClient::didHandleGestureEvent needs to distinguish the case if the event is processed or swallowed
2915         https://bugs.webkit.org/show_bug.cgi?id=104427
2916
2917         Reviewed by Adam Barth.
2918
2919         When a gesture needs to be disambiguated, WebKit doesn't update cursor focus.
2920         We added an extra status for didHandleGestureEvent(), so we can distinguish
2921         the case whether the event is actually delivered to the web page or cancelled.
2922
2923         * public/WebViewClient.h:
2924         * public/WebWidgetClient.h:
2925         (WebKit):
2926         (WebWidgetClient):
2927         (WebKit::WebWidgetClient::didHandleGestureEvent):
2928         * src/WebViewImpl.cpp:
2929         (WebKit::WebViewImpl::handleGestureEvent):
2930         * tests/WebViewTest.cpp:
2931
2932 2013-01-11  Eberhard Graether  <egraether@google.com>
2933
2934         [chromium] Add ContinuousPainter to call setNeedsDisplay on all layers recursively in continuous painting mode
2935         https://bugs.webkit.org/show_bug.cgi?id=105458
2936
2937         Reviewed by James Robinson.
2938
2939         In continuous painting mode all layers are constantly repainted to allow for life measurements of page paint time,
2940         while changing HTML and CSS using the WebInspector. This change adds the ContinuousPainter helper object, which
2941         calls setNeedsDisplay() on all GraphicsLayers recursively in order to force all layers to repaint. PageOverlay
2942         layers get excluded from being repainted, because their extra paint time is altering the page paint time metric.
2943
2944         * WebKit.gyp:
2945         * src/PageOverlay.h:
2946         (WebKit::PageOverlay::graphicsLayer):
2947         (PageOverlay):
2948         * src/PageOverlayList.cpp:
2949         (WebKit::PageOverlayList::findGraphicsLayer):
2950         (WebKit):
2951         * src/PageOverlayList.h:
2952         (WebCore):
2953         (PageOverlayList):
2954         * src/WebViewImpl.cpp:
2955         (WebKit::WebViewImpl::WebViewImpl):
2956         (WebKit::WebViewImpl::didBeginFrame):
2957         * src/WebViewImpl.h:
2958         * src/painting/ContinuousPainter.cpp: Copied from Source/WebKit/chromium/src/PageOverlay.h.
2959         (WebKit):
2960         (WebKit::ContinuousPainter::setNeedsDisplayRecursive):
2961         * src/painting/ContinuousPainter.h: Copied from Source/WebKit/chromium/src/PageOverlay.h.
2962         (WebCore):
2963         (WebKit):
2964         (ContinuousPainter):
2965
2966 2013-01-11  Tony Chang  <tony@chromium.org>
2967
2968         Unreviewed, revert r139157 to fix the chromium build.
2969         These files were deleted in a follow up and since r139044 was reverted, we need to
2970         add back these files.
2971
2972         * WebKit.gyp:
2973         * src/DragScrollTimer.cpp: Added.
2974         (WebKit):
2975         (WebKit::distanceToRect):
2976         (WebKit::DragScrollTimer::DragScrollTimer):
2977         (WebKit::DragScrollTimer::~DragScrollTimer):
2978         (WebKit::DragScrollTimer::stop):
2979         (WebKit::DragScrollTimer::scroll):
2980         (WebKit::DragScrollTimer::update):
2981         (WebKit::DragScrollTimer::triggerScroll):
2982         (WebKit::DragScrollTimer::scrollDistanceFor):
2983         * src/DragScrollTimer.h: Added.
2984         (WebKit):
2985         (DragScrollTimer):
2986         (WebKit::DragScrollTimer::fired):
2987         (WebKit::DragScrollTimer::shouldScroll):
2988
2989 2013-01-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2990
2991         Unreviewed, rolling out r139044.
2992         http://trac.webkit.org/changeset/139044
2993         https://bugs.webkit.org/show_bug.cgi?id=106702
2994
2995         Caused various scrolling anomolies on Mac with drag and drop
2996         (Requested by smfr on #webkit).
2997
2998         * src/WebViewImpl.cpp:
2999         (WebKit::WebViewImpl::WebViewImpl):
3000         (WebKit::WebViewImpl::dragSourceEndedAt):
3001         (WebKit::WebViewImpl::dragSourceMovedTo):
3002         (WebKit::WebViewImpl::dragTargetDrop):
3003         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
3004         * src/WebViewImpl.h:
3005         (WebKit):
3006
3007 2013-01-11  Tony Chang  <tony@chromium.org>
3008
3009         [chromium] Don't regenerate all bindings when any idl file changes
3010         https://bugs.webkit.org/show_bug.cgi?id=106604
3011
3012         Reviewed by Kentaro Hara.
3013
3014         * gyp_webkit: Add Source/WebCore/WebCore.gyp/scripts to the python import search path
3015         so we can generate idl dependencies at gyp time.
3016
3017 2013-01-11  Stephen Chenney  <schenney@chromium.org>
3018
3019         Removing Skia flags that have been disabling oprtimizations and other improvements.
3020
3021         Unreviewed build fix.
3022
3023         These changes have been extensively tested by the Skia team, and
3024         WebKit test result changes will be monitored.
3025
3026         * skia_webkit.gyp:
3027
3028 2013-01-11  Pavel Feldman  <pfeldman@chromium.org>
3029
3030         Web Inspector [chromium]: toolbar border is missing on non-Mac in docked-to-bottom mode
3031         https://bugs.webkit.org/show_bug.cgi?id=106560
3032
3033         Reviewed by Vsevolod Vlasov.
3034
3035         * src/js/devTools.css:
3036         (body.dock-to-bottom.platform-mac #toolbar):
3037
3038 2013-01-10  Noel Gordon  <noel.gordon@gmail.com>
3039
3040         [chromium] Disable PNG and ICO image webkit-unit-tests after r139347
3041         https://bugs.webkit.org/show_bug.cgi?id=106631
3042
3043         Reviewed by Eric Seidel.
3044
3045         * tests/WebImageTest.cpp:
3046         (WebKit::TEST): Disable ICOImage and PNGImage tests on WIN and MAC to
3047         green their respective webkit-unit-test bots. The tests still pass on
3048         LINUX so keep test coverage there for now.
3049
3050 2013-01-10  Dan Beam  <dbeam@chromium.org>
3051
3052         Implement AutocompleteErrorEvent#reason
3053         https://bugs.webkit.org/show_bug.cgi?id=105568
3054
3055         Reviewed by Adam Barth.
3056
3057         * public/WebFormElement.h: Added matching enum values for public chromium WebKit API.
3058         * src/AssertMatchingEnums.cpp: Updated compile assert that WebKit and WebCore enums match.
3059
3060 2013-01-10  Adam Barth  <abarth@webkit.org>
3061
3062         Add an ENABLE macro and a WebCore::Setting for the threaded parser
3063         https://bugs.webkit.org/show_bug.cgi?id=106595
3064
3065         Reviewed by Benjamin Poulain.
3066
3067         Explicitly disable THREADED_HTML_PARSER for Chromium so that we can
3068         more easily enable it locally.
3069
3070         * features.gypi:
3071
3072 2013-01-10  John Mellor  <johnme@chromium.org>
3073
3074         Fix scale of screen.width, window.outerWidth and @media device-width when page scale not applied in compositor.
3075         https://bugs.webkit.org/show_bug.cgi?id=106460
3076
3077         Reviewed by Kenneth Rohde Christiansen.
3078
3079         1. Exposes the existing applyDeviceScaleFactorInCompositor from
3080         WebSettings on Settings (and stores the value there instead), so it can
3081         be accessed from WebCore.
3082
3083         2. Changes ChromeClientImpl::windowRect to return values in density
3084         independent (UI) pixels pixels instead of physical screen pixels (see
3085         explanation in Source/WebCore/ChangeLog).
3086
3087         * src/ChromeClientImpl.cpp:
3088         (WebKit::ChromeClientImpl::windowRect):
3089             Normalizes window rect scale.
3090         * src/WebSettingsImpl.cpp:
3091         (WebKit::WebSettingsImpl::WebSettingsImpl):
3092         (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
3093         (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
3094         (WebKit):
3095         * src/WebSettingsImpl.h:
3096         (WebSettingsImpl):
3097
3098 2013-01-10  Sheriff Bot  <webkit.review.bot@gmail.com>
3099
3100         Unreviewed.  Rolled DEPS.
3101
3102         * DEPS:
3103
3104 2013-01-10  Dimitri Glazkov  <dglazkov@chromium.org>
3105
3106         Unreviewed, rolling out r139227.
3107         http://trac.webkit.org/changeset/139227
3108         https://bugs.webkit.org/show_bug.cgi?id=106227
3109
3110         Broke Win component build.
3111
3112         * public/WebAccessibilityObject.h:
3113         * public/WebAccessibilityRole.h:
3114         * public/WebActiveWheelFlingParameters.h:
3115         * public/WebAnimationController.h:
3116         * public/WebApplicationCacheHost.h:
3117         * public/WebApplicationCacheHostClient.h:
3118         * public/WebArrayBuffer.h:
3119         * public/WebAudioSourceProvider.h:
3120         * public/WebBatteryStatus.h:
3121         * public/WebBindings.h:
3122         * public/WebBlob.h:
3123         * public/WebCache.h:
3124         * public/WebCachedURLRequest.h:
3125         * public/WebColorChooser.h:
3126         * public/WebColorChooserClient.h:
3127         * public/WebColorName.h:
3128         * public/WebCommonWorkerClient.h:
3129         * public/WebCompositionUnderline.h:
3130         * public/WebCompositorInputHandler.h:
3131         * public/WebConsoleMessage.h:
3132         * public/WebContentDetectionResult.h:
3133         * public/WebContextMenuData.h:
3134         * public/WebCrossOriginPreflightResultCache.h:
3135         * public/WebCursorInfo.h:
3136         * public/WebDOMEvent.h:
3137         * public/WebDOMEventListener.h:
3138         * public/WebDOMStringList.h:
3139         * public/WebDataSource.h:
3140         * public/WebDatabase.h:
3141         * public/WebDateTimeChooserCompletion.h:
3142         * public/WebDateTimeChooserParams.h:
3143         * public/WebDeliveredIntentClient.h:
3144         * public/WebDevToolsAgent.h:
3145         * public/WebDevToolsAgentClient.h:
3146         * public/WebDevToolsFrontend.h:
3147         * public/WebDeviceOrientationClient.h:
3148         * public/WebDeviceOrientationClientMock.h:
3149         * public/WebDeviceOrientationController.h:
3150         * public/WebDocument.h:
3151         * public/WebDraggableRegion.h:
3152         * public/WebExternalPopupMenuClient.h:
3153         * public/WebFileChooserCompletion.h:
3154         * public/WebFileChooserParams.h:
3155         * public/WebFileSystemCallbacks.h:
3156         * public/WebFileSystemEntry.h:
3157         * public/WebFileWriter.h:
3158         * public/WebFileWriterClient.h:
3159         * public/WebFindOptions.h:
3160         * public/WebFont.h:
3161         * public/WebFontCache.h:
3162         * public/WebFontDescription.h:
3163         * public/WebFormControlElement.h:
3164         * public/WebFormElement.h:
3165         * public/WebFrame.h:
3166         * public/WebFrameClient.h:
3167         * public/WebGeolocationClientMock.h:
3168         * public/WebGeolocationController.h:
3169         * public/WebGeolocationError.h:
3170         * public/WebGeolocationPermissionRequest.h:
3171         * public/WebGeolocationPermissionRequestManager.h:
3172         * public/WebGeolocationPosition.h:
3173         * public/WebGlyphCache.h:
3174         * public/WebHelperPlugin.h:
3175         * public/WebHistoryItem.h:
3176         * public/WebHitTestResult.h:
3177         * public/WebIDBCallbacks.h:
3178         * public/WebIDBCursor.h:
3179         * public/WebIDBDatabase.h:
3180         * public/WebIDBDatabaseCallbacks.h:
3181         * public/WebIDBDatabaseError.h:
3182         * public/WebIDBFactory.h:
3183         * public/WebIDBIndex.h:
3184         * public/WebIDBKey.h:
3185         * public/WebIDBKeyPath.h:
3186         * public/WebIDBKeyRange.h:
3187         * public/WebIDBMetadata.h:
3188         * public/WebIDBObjectStore.h:
3189         * public/WebIDBTransaction.h:
3190         * public/WebIDBTransactionCallbacks.h:
3191         * public/WebIconURL.h:
3192         * public/WebImageDecoder.h:
3193         * public/WebInputEvent.h:
3194         * public/WebIntent.h:
3195         * public/WebIntentRequest.h:
3196         * public/WebIntentServiceInfo.h:
3197         * public/WebMediaPlayer.h:
3198         * public/WebMediaStreamRegistry.h:
3199         * public/WebMenuItemInfo.h:
3200         * public/WebNetworkStateNotifier.h:
3201         * public/WebNode.h:
3202         * public/WebNodeCollection.h:
3203         * public/WebNodeList.h:
3204         * public/WebNotification.h:
3205         * public/WebNotificationPresenter.h:
3206         * public/WebOptionElement.h:
3207         * public/WebPageOverlay.h:
3208         * public/WebPagePopup.h:
3209         * public/WebPageSerializer.h:
3210         * public/WebPasswordFormData.h:
3211         * public/WebPerformance.h:
3212         * public/WebPlugin.h:
3213         * public/WebPluginContainer.h:
3214         * public/WebPluginParams.h:
3215         * public/WebPopupMenu.h:
3216         * public/WebPopupMenuInfo.h:
3217         * public/WebPrerendererClient.h:
3218         * public/WebPrintParams.h:
3219         * public/WebRange.h:
3220         * public/WebRegularExpression.h:
3221         * public/WebRuntimeFeatures.h:
3222         * public/WebScopedMicrotaskSuppression.h:
3223         * public/WebScopedUserGesture.h:
3224         * public/WebScriptController.h:
3225         * public/WebScriptSource.h:
3226         * public/WebSearchableFormData.h:
3227         * public/WebSecurityOrigin.h:
3228         * public/WebSecurityPolicy.h:
3229         * public/WebSelectElement.h:
3230         * public/WebSettings.h:
3231         * public/WebSharedWorker.h:
3232         * public/WebSharedWorkerRepository.h:
3233         * public/WebSpeechGrammar.h:
3234         * public/WebSpeechInputController.h:
3235         * public/WebSpeechInputResult.h:
3236         * public/WebSpeechRecognitionHandle.h:
3237         * public/WebSpeechRecognitionParams.h:
3238         * public/WebSpeechRecognitionResult.h:
3239         * public/WebSpeechRecognizer.h:
3240         * public/WebSpeechRecognizerClient.h:
3241         * public/WebSpellCheckClient.h:
3242         * public/WebStorageEventDispatcher.h:
3243         * public/WebSurroundingText.h:
3244         * public/WebTestingSupport.h:
3245         * public/WebTextCheckingCompletion.h:
3246         * public/WebTextCheckingResult.h:
3247         * public/WebTextFieldDecoratorClient.h:
3248         * public/WebTextInputInfo.h:
3249         * public/WebTextRun.h:
3250         * public/WebTimeRange.h:
3251         * public/WebTouchPoint.h:
3252         * public/WebUserMediaRequest.h:
3253         * public/WebView.h:
3254         * public/WebViewBenchmarkSupport.h:
3255         * public/WebViewClient.h:
3256         * public/WebWidget.h:
3257         * public/WebWidgetClient.h:
3258         * public/WebWindowFeatures.h:
3259         * public/WebWorkerInfo.h:
3260
3261 2013-01-09  Alec Flett  <alecflett@chromium.org>
3262
3263         IndexedDB: Allow createIndex/createObjectStore to be asynchronous
3264         https://bugs.webkit.org/show_bug.cgi?id=106377
3265
3266         Reviewed by Tony Chang.
3267
3268         Remove this test as it makes no sense once the objectstore/index
3269         hierarchy is gone.
3270
3271         * tests/IDBDatabaseBackendTest.cpp:
3272
3273 2013-01-09  Chris Rogers  <crogers@google.com>
3274
3275         Allow live/local audio input to be enabled only when needed
3276         https://bugs.webkit.org/show_bug.cgi?id=106490
3277
3278         Reviewed by Kenneth Russell.
3279
3280         * src/AudioDestinationChromium.cpp:
3281         (WebCore):
3282         (WebCore::AudioDestination::create):
3283         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3284         (WebCore::AudioDestinationChromium::render):
3285         * src/AudioDestinationChromium.h:
3286         (AudioDestinationChromium):
3287
3288 2013-01-09  Yue Zhang  <zysxqn@google.com>
3289
3290         [Chromium] Always enable autocomplete for password fields
3291         https://bugs.webkit.org/show_bug.cgi?id=104600
3292
3293         Reviewed by Darin Fisher.
3294
3295         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).
3296
3297         * src/WebPasswordFormUtils.cpp:
3298         (WebKit::findPasswordFormFields):
3299         * src/WebPasswordFormUtils.h:
3300         (WebKit):
3301         (WebKit::findPasswordFormFields):
3302
3303 2013-01-09  James Robinson  <jamesr@chromium.org>
3304
3305         [chromium] Add a notification when a WebWidget's WebLayerTreeView is about to go away
3306         https://bugs.webkit.org/show_bug.cgi?id=106495
3307
3308         Reviewed by Adrienne Walker.
3309
3310         The WebWidget / WebLayerTreeView ownership is in a slightly awkward place. I'm moving the ownership
3311         of the WebLayerTreeView to the WebWidgetClient, but to stage things sanely the WebLayerTreeView's
3312         client is sill owned by the WebWidget implementation. Thus to shut down cleanly we need an explicit
3313         notification to the WebWidget that the WebLayerTreeView is going to go away.
3314
3315         This API can go away once the WebWidget implementation does not provide the WebLayerTreeViewClient,
3316         which will take a bit more refactoring.
3317
3318         * public/WebWidget.h:
3319         (WebWidget):
3320         (WebKit::WebWidget::willCloseLayerTreeView):
3321         * src/WebViewImpl.cpp:
3322         (WebKit::WebViewImpl::willCloseLayerTreeView):
3323         (WebKit):
3324         * src/WebViewImpl.h:
3325         (WebViewImpl):
3326
3327 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
3328
3329         [Chromium] Remove stray references to WebKitPlatformSupport.h
3330         https://bugs.webkit.org/show_bug.cgi?id=106493
3331
3332         Reviewed by James Robinson.
3333
3334         Part of a refactoring series. See tracking bug 82948.
3335
3336         * src/SharedWorkerRepository.cpp:
3337         * tests/RunAllTests.cpp:
3338
3339 2013-01-09  Mark Pilgrim  <pilgrim@chromium.org>
3340
3341         [Chromium] Update some #includes in WebKit/chromium/public/ for new Platform directory
3342         https://bugs.webkit.org/show_bug.cgi?id=106227
3343
3344         Reviewed by Darin Fisher.
3345
3346         Part of a larger refactoring series. See tracking bug 82948.
3347
3348         * public/WebAccessibilityObject.h:
3349         * public/WebAccessibilityRole.h:
3350         * public/WebActiveWheelFlingParameters.h:
3351         * public/WebAnimationController.h:
3352         * public/WebApplicationCacheHost.h:
3353         * public/WebApplicationCacheHostClient.h:
3354         * public/WebArrayBuffer.h:
3355         * public/WebAudioSourceProvider.h:
3356         * public/WebBatteryStatus.h:
3357         * public/WebBindings.h:
3358         * public/WebBlob.h:
3359         * public/WebCache.h:
3360         * public/WebCachedURLRequest.h:
3361         * public/WebColorChooser.h:
3362         * public/WebColorChooserClient.h:
3363         * public/WebColorName.h:
3364         * public/WebCommonWorkerClient.h:
3365         * public/WebCompositionUnderline.h:
3366         * public/WebCompositorInputHandler.h:
3367         * public/WebConsoleMessage.h:
3368         * public/WebContentDetectionResult.h:
3369         * public/WebContextMenuData.h:
3370         * public/WebCrossOriginPreflightResultCache.h:
3371         * public/WebCursorInfo.h:
3372         * public/WebDOMEvent.h:
3373         * public/WebDOMEventListener.h:
3374         * public/WebDOMStringList.h:
3375         * public/WebDataSource.h:
3376         * public/WebDatabase.h:
3377         * public/WebDateTimeChooserCompletion.h:
3378         * public/WebDateTimeChooserParams.h:
3379         * public/WebDeliveredIntentClient.h:
3380         * public/WebDevToolsAgent.h:
3381         * public/WebDevToolsAgentClient.h:
3382         * public/WebDevToolsFrontend.h:
3383         * public/WebDeviceOrientationClient.h:
3384         * public/WebDeviceOrientationClientMock.h:
3385         * public/WebDeviceOrientationController.h:
3386         * public/WebDocument.h:
3387         * public/WebDraggableRegion.h:
3388         * public/WebExternalPopupMenuClient.h:
3389         * public/WebFileChooserCompletion.h:
3390         * public/WebFileChooserParams.h:
3391         * public/WebFileSystemCallbacks.h:
3392         * public/WebFileSystemEntry.h:
3393         * public/WebFileWriter.h:
3394         * public/WebFileWriterClient.h:
3395         * public/WebFindOptions.h:
3396         * public/WebFont.h:
3397         * public/WebFontCache.h:
3398         * public/WebFontDescription.h:
3399         * public/WebFormControlElement.h:
3400         * public/WebFormElement.h:
3401         * public/WebFrame.h:
3402         * public/WebFrameClient.h:
3403         * public/WebGeolocationClientMock.h:
3404         * public/WebGeolocationController.h:
3405         * public/WebGeolocationError.h:
3406         * public/WebGeolocationPermissionRequest.h:
3407         * public/WebGeolocationPermissionRequestManager.h:
3408         * public/WebGeolocationPosition.h:
3409         * public/WebGlyphCache.h:
3410         * public/WebHelperPlugin.h:
3411         * public/WebHistoryItem.h:
3412         * public/WebHitTestResult.h:
3413         * public/WebIDBCallbacks.h:
3414         * public/WebIDBCursor.h:
3415         * public/WebIDBDatabase.h:
3416         * public/WebIDBDatabaseCallbacks.h:
3417         * public/WebIDBDatabaseError.h:
3418         * public/WebIDBFactory.h:
3419         * public/WebIDBIndex.h:
3420         * public/WebIDBKey.h:
3421         * public/WebIDBKeyPath.h:
3422         * public/WebIDBKeyRange.h:
3423         * public/WebIDBMetadata.h:
3424         * public/WebIDBObjectStore.h:
3425         * public/WebIDBTransaction.h:
3426         * public/WebIDBTransactionCallbacks.h:
3427         * public/WebIconURL.h:
3428         * public/WebImageDecoder.h:
3429         * public/WebInputEvent.h:
3430         * public/WebIntent.h:
3431         * public/WebIntentRequest.h:
3432         * public/WebIntentServiceInfo.h:
3433         * public/WebMediaPlayer.h:
3434         * public/WebMediaStreamRegistry.h:
3435         * public/WebMenuItemInfo.h:
3436         * public/WebNetworkStateNotifier.h:
3437         * public/WebNode.h:
3438         * public/WebNodeCollection.h:
3439         * public/WebNodeList.h:
3440         * public/WebNotification.h:
3441         * public/WebNotificationPresenter.h:
3442         * public/WebOptionElement.h:
3443         * public/WebPageOverlay.h:
3444         * public/WebPagePopup.h:
3445         * public/WebPageSerializer.h:
3446         * public/WebPasswordFormData.h:
3447         * public/WebPerformance.h:
3448         * public/WebPlugin.h:
3449         * public/WebPluginContainer.h:
3450         * public/WebPluginParams.h:
3451         * public/WebPopupMenu.h:
3452         * public/WebPopupMenuInfo.h:
3453         * public/WebPrerendererClient.h:
3454         * public/WebPrintParams.h:
3455         * public/WebRange.h:
3456         * public/WebRegularExpression.h:
3457         * public/WebRuntimeFeatures.h:
3458         * public/WebScopedMicrotaskSuppression.h:
3459         * public/WebScopedUserGesture.h:
3460         * public/WebScriptController.h:
3461         * public/WebScriptSource.h:
3462         * public/WebSearchableFormData.h:
3463         * public/WebSecurityOrigin.h:
3464         * public/WebSecurityPolicy.h:
3465         * public/WebSelectElement.h:
3466         * public/WebSettings.h:
3467         * public/WebSharedWorker.h:
3468         * public/WebSharedWorkerRepository.h:
3469         * public/WebSpeechGrammar.h:
3470         * public/WebSpeechInputController.h:
3471         * public/WebSpeechInputResult.h:
3472         * public/WebSpeechRecognitionHandle.h:
3473         * public/WebSpeechRecognitionParams.h:
3474         * public/WebSpeechRecognitionResult.h:
3475         * public/WebSpeechRecognizer.h:
3476         * public/WebSpeechRecognizerClient.h:
3477         * public/WebSpellCheckClient.h:
3478         * public/WebStorageEventDispatcher.h:
3479         * public/WebSurroundingText.h:
3480         * public/WebTestingSupport.h:
3481         * public/WebTextCheckingCompletion.h:
3482         * public/WebTextCheckingResult.h:
3483         * public/WebTextFieldDecoratorClient.h:
3484         * public/WebTextInputInfo.h:
3485         * public/WebTextRun.h:
3486         * public/WebTimeRange.h:
3487         * public/WebTouchPoint.h:
3488         * public/WebUserMediaRequest.h:
3489         * public/WebView.h:
3490         * public/WebViewBenchmarkSupport.h:
3491         * public/WebViewClient.h:
3492         * public/WebWidget.h:
3493         * public/WebWidgetClient.h:
3494         * public/WebWindowFeatures.h:
3495         * public/WebWorkerInfo.h:
3496
3497 2013-01-09  Stephen Chenney  <schenney@chromium.org>
3498
3499         Adjust Skia build flags to WebKit skia gyp
3500
3501         Unreviewed change to enable easy layout test rebaselining.
3502
3503         * skia_webkit.gyp:
3504
3505 2013-01-09  Mikhail Naganov  <mnaganov@chromium.org>
3506
3507         [Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.
3508
3509         * tests/WebFrameTest.cpp:
3510
3511 2013-01-08  Mikhail Naganov  <mnaganov@chromium.org>
3512
3513         [Chromium] When viewport is disabled, use display width in DIP pixels for the fallback width
3514         https://bugs.webkit.org/show_bug.cgi?id=106021
3515
3516         This is to emulate 'UseWideViewport' setting of Android WebView properly.
3517         'UseWideViewport' now corresponds to the 'viewportEnabled' setting.
3518         When the value is false, "meta viewport" tag is ignored, and when calculating
3519         layout width, display width in DIP pixels is used.
3520
3521         Reviewed by Adam Barth.
3522
3523         * src/ChromeClientImpl.cpp:
3524         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3525         * src/WebViewImpl.cpp:
3526         (WebKit::WebViewImpl::resize):
3527         (WebKit::WebViewImpl::dipSize):
3528         (WebKit):
3529         * src/WebViewImpl.h:
3530         (WebCore):
3531         (WebViewImpl):
3532
3533 2013-01-08  Chris Rogers  <crogers@google.com>
3534
3535         Remove unused/deprecated render() method in chromium WebKit API
3536         https://bugs.webkit.org/show_bug.cgi?id=106399
3537
3538         Reviewed by Kent Tamura.
3539
3540         * src/AudioDestinationChromium.cpp:
3541         * src/AudioDestinationChromium.h:
3542         (AudioDestinationChromium):
3543
3544 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
3545
3546         Remove WebKit/chromium/src/DragScrollTimer.{cpp,h}
3547         https://bugs.webkit.org/show_bug.cgi?id=106403
3548
3549         This patch removes unused file DragScrollTimer.{cpp,h} obsoleted by
3550         r139044.
3551
3552         Reviewed by Hajime Morita.
3553
3554         * WebKit.gyp: Changed to remove lines for DragScroll.{cpp.h}.
3555         * src/DragScrollTimer.cpp: Removed.
3556         * src/DragScrollTimer.h: Removed.
3557
3558 2013-01-08  Keishi Hattori  <keishi@webkit.org>
3559
3560         [Chromium] Hiding popups on mouse wheel should be handled by WebViewImpl
3561         https://bugs.webkit.org/show_bug.cgi?id=106312
3562
3563         Reviewed by Kent Tamura.
3564
3565         We had to removed the code that closed popups on mouse wheel events from
3566         content::RenderWidgetHostViewMac because it no longer had access to
3567         child popups. WebViewImpl will hide the popups on mouse wheel events so
3568         we can maintain the same behavior.
3569
3570         https://src.chromium.org/viewvc/chrome?view=rev&revision=175488
3571
3572         * src/WebViewImpl.cpp:
3573         (WebKit::WebViewImpl::handleMouseWheel): Overriding so we can hide popups.
3574         (WebKit):
3575         * src/WebViewImpl.h:
3576
3577 2013-01-08  James Robinson  <jamesr@chromium.org>
3578
3579         [chromium] Remove transitional #defines from WebKit API headers
3580         https://bugs.webkit.org/show_bug.cgi?id=106381
3581
3582         Reviewed by Adam Barth.
3583
3584         * public/WebWidget.h:
3585
3586 2013-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
3587
3588         Unreviewed.  Rolled DEPS.
3589
3590         * DEPS:
3591
3592 2013-01-08  Tom Sepez  <tsepez@chromium.org>
3593
3594         Copy-paste preserves <embed> tags containing active content.
3595         https://bugs.webkit.org/show_bug.cgi?id=77625
3596
3597         Reviewed by Ryosuke Niwa.
3598
3599         Adds chromium API to new unsafePluginPastingEnabled setting.
3600
3601         * public/WebSettings.h:
3602         * src/WebSettingsImpl.cpp:
3603         (WebKit::WebSettingsImpl::setUnsafePluginPastingEnabled):
3604         (WebKit):
3605         * src/WebSettingsImpl.h:
3606         (WebSettingsImpl):
3607
3608 2013-01-08  Mark Lam  <mark.lam@apple.com>
3609
3610         Removed the need for the ProposedDatabase mechanism.
3611         https://bugs.webkit.org/show_bug.cgi?id=106292.
3612
3613         Reviewed by Sam Weinig.
3614
3615         * src/ChromeClientImpl.cpp:
3616         (WebKit::ChromeClientImpl::exceededDatabaseQuota):
3617         * src/ChromeClientImpl.h:
3618         (ChromeClientImpl):
3619
3620 2013-01-08  Keishi Hattori  <keishi@webkit.org>
3621
3622         [Chromium] Don't confine page popups to root view on Mac
3623         https://bugs.webkit.org/show_bug.cgi?id=106315
3624
3625         Reviewed by Kent Tamura.
3626
3627         Page popups on Mac no longer get clipped to the web view so we can
3628         remove the code to confine to root view.
3629
3630         * src/ColorChooserPopupUIController.cpp:
3631         (WebKit::ColorChooserPopupUIController::writeDocument): Removing parameters confineToRootView and rootViewRectInScreen.
3632         * src/DateTimeChooserImpl.cpp:
3633         (WebKit::DateTimeChooserImpl::writeDocument): Ditto.
3634
3635 2012-12-20  Antonio Gomes  <a1.gomes@sisa.samsung.com>
3636
3637         Introduce a compositing trigger for scrollable frames
3638         https://bugs.webkit.org/show_bug.cgi?id=105573
3639
3640         Reviewed by James Robinson.
3641
3642         Set the newly added scrollable-inner-frames bit to compositing-trigger
3643         bitset in accordance to the respective setting value.
3644
3645         * src/ChromeClientImpl.cpp:
3646         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
3647
3648 2013-01-08  Steve Block  <steveblock@chromium.org>
3649
3650         Rename 'IntSize toSize(const IntPoint&)' to 'toIntSize'
3651         https://bugs.webkit.org/show_bug.cgi?id=106307
3652
3653         This matches other method names which distinguish between sizes and
3654         points. See https://bugs.webkit.org/show_bug.cgi?id=105992#c4.
3655
3656         Reviewed by Kentaro Hara.
3657
3658         * src/NonCompositedContentHost.cpp:
3659         (WebKit::NonCompositedContentHost::setViewport):
3660         * src/WebFrameImpl.cpp:
3661         (WebKit::WebFrameImpl::minimumScrollOffset):
3662         (WebKit::WebFrameImpl::maximumScrollOffset):
3663
3664 2013-01-08  Yoshifumi Inoue  <yosin@chromium.org>
3665
3666         Dragging over an element with scrollbars should scroll the element when dragging near edges
3667         https://bugs.webkit.org/show_bug.cgi?id=39725
3668
3669         Reviewed by Hajime Morita.
3670
3671         This patch removes DragScrollTimer used for automatic scrolling of main
3672         frame drag-and-drop which is now implemented in EventHandler.
3673
3674         Another patch will remove DragScrollTimer.{cpp,h} and update GYP files to
3675         make patch size small.
3676
3677         No tests. Existing test covers this change.
3678
3679         * src/WebViewImpl.cpp:
3680         (WebKit::WebViewImpl::WebViewImpl): Changed to remove m_dragScrollTimer.
3681         (WebKit::WebViewImpl::dragSourceEndedAt): ditto
3682         (WebKit::WebViewImpl::dragSourceMovedTo): ditto
3683         (WebKit::WebViewImpl::dragTargetDrop): ditto
3684         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): ditto
3685         * src/WebViewImpl.h:
3686         (WebKit): Chagned to remove DragScrollTimer.
3687
3688 2013-01-07  Steve Block  <steveblock@chromium.org>
3689
3690         Use toSize() to convert from Int/FloatPoint to Int/FloatSize
3691         https://bugs.webkit.org/show_bug.cgi?id=105992
3692
3693         Reviewed by Kentaro Hara.
3694
3695         * src/LinkHighlight.cpp:
3696         (WebKit::LinkHighlight::computeHighlightLayerPathAndPosition):
3697         * src/WebFrameImpl.cpp:
3698         (WebKit::WebFrameImpl::minimumScrollOffset):
3699         (WebKit::WebFrameImpl::maximumScrollOffset):
3700
3701 2013-01-07  Xianzhu Wang  <wangxianzhu@chromium.org>
3702
3703         [Chromium] Expose compositedScrollingForFramesEnabled setting in WebKit API
3704         https://bugs.webkit.org/show_bug.cgi?id=106262
3705
3706         Reviewed by James Robinson.
3707
3708         * public/WebSettings.h:
3709         * src/WebSettingsImpl.cpp:
3710         (WebKit::WebSettingsImpl::setCompositedScrollingForFramesEnabled):
3711         (WebKit):
3712         * src/WebSettingsImpl.h:
3713         (WebSettingsImpl):
3714
3715 2013-01-07  Stephen White  <senorblanco@chromium.org>
3716
3717         Add a flag to control canvas antialiasing.
3718         https://bugs.webkit.org/show_bug.cgi?id=106255
3719
3720         Reviewed by Darin Fisher.
3721
3722         * public/WebSettings.h:
3723         * src/WebSettingsImpl.cpp:
3724         (WebKit::WebSettingsImpl::setAntialiased2dCanvasEnabled):
3725         * src/WebSettingsImpl.h:
3726
3727 2013-01-07  Yusuf Ozuysal  <yusufo@google.com>
3728
3729         Don't use double tap zoom if minimum and maximum page scale is the same
3730         https://bugs.webkit.org/show_bug.cgi?id=106272
3731
3732         Reviewed by James Robinson.
3733
3734         We should only try to computed relevant scale and scrollOffset and start the animation
3735         if the page is zoomable. This now creates an undesired animation for mobile pages which
3736         are not zoomable.
3737
3738         * src/WebViewImpl.cpp:
3739         (WebKit::WebViewImpl::handleGestureEvent):
3740
3741 2013-01-07  Tony Chang  <tony@chromium.org>
3742
3743         Unreviewed.  Rolled DEPS.
3744
3745         * DEPS:
3746
3747 2013-01-07  Alok Priyadarshi  <alokp@chromium.org>
3748
3749         [chromium] Fix PlatformContextSkia::setDrawingToImageBuffer abuse
3750         https://bugs.webkit.org/show_bug.cgi?id=104956
3751
3752         Reviewed by James Robinson.
3753
3754         Replaced PlatformContextSkia::SetDrawingToImageBuffer with GraphicsContext::setShouldSmoothFonts.
3755
3756         * src/NonCompositedContentHost.cpp:
3757         (WebKit::NonCompositedContentHost::paintContents):
3758         (WebKit):
3759         (WebKit::NonCompositedContentHost::setShowDebugBorders):
3760         * src/PageWidgetDelegate.cpp:
3761         (WebKit::PageWidgetDelegate::paint):
3762         * src/WebFontImpl.cpp:
3763         (WebKit::WebFontImpl::drawText):
3764
3765 2013-01-07  Mike West  <mkwst@chromium.org>
3766
3767         Make the IFRAME_SEAMLESS flag runtime-enabled.
3768         https://bugs.webkit.org/show_bug.cgi?id=106213
3769
3770         Reviewed by Ojan Vafai.
3771
3772         * public/WebRuntimeFeatures.h:
3773         (WebRuntimeFeatures):
3774         * src/WebRuntimeFeatures.cpp:
3775         (WebKit::WebRuntimeFeatures::enableSeamlessIFrames):
3776         (WebKit):
3777         (WebKit::WebRuntimeFeatures::areSeamlessIFramesEnabled):
3778             Expose the new runtime feature to the Chromium port.
3779
3780 2013-01-07  Alec Flett  <alecflett@chromium.org>
3781
3782         IndexedDB: Stub out async IDBDatabaseBackendInterface::createObjectStore
3783         https://bugs.webkit.org/show_bug.cgi?id=106148
3784
3785         Reviewed by Adam Barth.
3786
3787         Stub out WebKit API for async createObjectStore.
3788
3789         * public/WebIDBDatabase.h:
3790         (WebIDBDatabase):
3791         * src/IDBDatabaseBackendProxy.cpp:
3792         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
3793         (WebKit):
3794         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
3795         * src/IDBDatabaseBackendProxy.h:
3796         (IDBDatabaseBackendProxy):
3797         * src/WebIDBDatabaseImpl.cpp:
3798         (WebKit::WebIDBDatabaseImpl::createObjectStore):
3799         (WebKit):
3800         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
3801         * src/WebIDBDatabaseImpl.h:
3802         (WebIDBDatabaseImpl):
3803
3804 2013-01-07  Stephen Chenney  <schenney@chromium.org>
3805
3806         Add comment to WebKit skia gyp
3807
3808         Unreviewed additon of a comment.
3809
3810         * skia_webkit.gyp: Some changes should not yet be committed. Commented to that effect.
3811
3812 2013-01-07  Stephen Chenney  <schenney@chromium.org>
3813
3814         Add Skia build flags to WebKit skia gyp
3815
3816         Unreviewed change to enable easy layout test rebaselining.
3817
3818         * skia_webkit.gyp: Added SK_IGNORE_QUAD_STROKE_FIX and SK_IGNORE_TREAT_AS_SPRITE
3819
3820 2013-01-05  Alec Flett  <alecflett@chromium.org>
3821
3822         IndexedDB: Migrate backend ObjectStore calls to use transaction id
3823         https://bugs.webkit.org/show_bug.cgi?id=102741
3824
3825         Reviewed by Tony Chang.
3826
3827         Fix a bug where an array was initialized with a large empty buffer,
3828         clean up whitespace, and update to match signatures that changed
3829         in WebCore.
3830
3831         * public/WebIDBDatabase.h:
3832         (WebKit::WebIDBDatabase::clear):
3833         * src/WebIDBDatabaseImpl.cpp:
3834         (WebKit::WebIDBDatabaseImpl::put):
3835         * src/WebIDBIndexImpl.cpp:
3836         * tests/IDBDatabaseBackendTest.cpp:
3837
3838 2013-01-05  Alec Flett  <alecflett@chromium.org>
3839
3840         IndexedDB: Stub out IDBDatabaseBackendInterface::createIndex/deleteIndex
3841         https://bugs.webkit.org/show_bug.cgi?id=106117
3842
3843         Reviewed by Adam Barth.
3844
3845         Stubs for migration from WebIDBObjectStore.
3846
3847         * public/WebIDBDatabase.h:
3848         (WebKit::WebIDBDatabase::createIndex):
3849         (WebKit::WebIDBDatabase::deleteIndex):
3850         (WebIDBDatabase):
3851         * src/IDBDatabaseBackendProxy.cpp:
3852         (WebKit::IDBDatabaseBackendProxy::createIndex):
3853         (WebKit):
3854         (WebKit::IDBDatabaseBackendProxy::deleteIndex):
3855         * src/IDBDatabaseBackendProxy.h:
3856         (IDBDatabaseBackendProxy):
3857         * src/WebIDBDatabaseImpl.cpp:
3858         (WebKit::WebIDBDatabaseImpl::createIndex):
3859         (WebKit):
3860         (WebKit::WebIDBDatabaseImpl::deleteIndex):
3861         * src/WebIDBDatabaseImpl.h:
3862         (WebIDBDatabaseImpl):
3863         * tests/IDBDatabaseBackendTest.cpp:
3864
3865 2013-01-05  Chris Hopman  <cjhopman@google.com>
3866
3867         Add function to move caret selection towards a point
3868         https://bugs.webkit.org/show_bug.cgi?id=105189
3869
3870         Reviewed by Eric Seidel.
3871
3872         This function moves the selection to the corresponding point in the
3873         rootEditableElement of the current selection. Used on Android for
3874         the behavior of insertion handles (i.e. dragging the caret around).
3875
3876         * public/WebFrame.h:
3877         (WebFrame):
3878         * src/WebFrameImpl.cpp:
3879         (WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
3880         (WebKit):
3881         * src/WebFrameImpl.h:
3882         (WebFrameImpl):
3883
3884 2013-01-04  James Robinson  <jamesr@chromium.org>
3885
3886         [chromium] Remove WebWidget::layerTreeView(), ownership is the other way around
3887         https://bugs.webkit.org/show_bug.cgi?id=106139
3888
3889         Reviewed by Adrienne Walker.
3890
3891         This was added with the thought that it would be useful for transitioning code for a world where the
3892         WebLayerTreeView for a given widget was owned by the WebWidgetClient instead of the WebWidget, but as it turns
3893         out we've transitioned without every adding any callers to this.
3894
3895         * public/WebWidget.h:
3896         (WebWidget):
3897         * src/WebViewImpl.cpp:
3898
3899 2013-01-04  Dana Jansens  <danakj@chromium.org>
3900
3901         [chromium] Remove lost-compositor-context layout tests
3902         https://bugs.webkit.org/show_bug.cgi?id=106089
3903
3904         Reviewed by James Robinson.
3905
3906         Remove the loseCompositorContext() test function.
3907
3908         * public/WebView.h:
3909         (WebView):
3910         * src/WebViewImpl.cpp:
3911         * src/WebViewImpl.h:
3912         (WebViewImpl):
3913
3914 2013-01-04  Adam Klein  <adamk@chromium.org>
3915
3916         Remove ENABLE_MUTATION_OBSERVERS #define
3917         https://bugs.webkit.org/show_bug.cgi?id=105459
3918
3919         Reviewed by Ryosuke Niwa.
3920
3921         * features.gypi:
3922         * src/WebKit.cpp:
3923         (WebKit::initialize):
3924         (WebKit::shutdown):
3925
3926 2013-01-04  Mark Pilgrim  <pilgrim@chromium.org>
3927
3928         [Chromium] Update some #includes to use headers in the new Platform directory
3929         https://bugs.webkit.org/show_bug.cgi?id=106092
3930
3931         Reviewed by Kentaro Hara.
3932
3933         Working towards getting rid of legacy header files in
3934         WebKit/chromium/public/ and WebKit/chromium/public/platform/
3935
3936         * src/AsyncFileSystemChromium.cpp:
3937         * src/StorageAreaProxy.cpp:
3938         * src/StorageNamespaceProxy.cpp:
3939         * src/WebFileSystemCallbacksImpl.cpp:
3940         * src/WebGraphicsContext3D.cpp:
3941         * src/WebIDBCursorImpl.h:
3942         * src/WebIDBDatabaseCallbacksImpl.cpp:
3943         * src/WebIDBDatabaseCallbacksImpl.h:
3944         * src/WebIDBDatabaseError.cpp:
3945         * src/WebIDBDatabaseImpl.h:
3946         * src/WebIDBIndexImpl.h:
3947         * src/WebIDBKeyPath.cpp:
3948         * src/WebIDBMetadata.cpp:
3949         * src/WebIDBObjectStoreImpl.h:
3950         * src/WebWorkerClientImpl.cpp:
3951         * src/WebWorkerRunLoop.cpp:
3952         * src/WorkerFileSystemCallbacksBridge.cpp:
3953         * tests/AssociatedURLLoaderTest.cpp:
3954         * tests/FrameTestHelpers.cpp:
3955         * tests/PopupMenuTest.cpp:
3956         * tests/URLTestHelpers.cpp:
3957         * tests/WebFrameTest.cpp:
3958         * tests/WebPageNewSerializerTest.cpp:
3959         * tests/WebPageSerializerTest.cpp:
3960         * tests/WebURLRequestTest.cpp:
3961         * tests/WebURLResponseTest.cpp:
3962         * tests/WebUnitTests.h:
3963         * tests/WebViewTest.cpp:
3964
3965 2013-01-04  Sheriff Bot  <webkit.review.bot@gmail.com>
3966
3967         Unreviewed.  Rolled DEPS.
3968
3969         * DEPS:
3970
3971 2013-01-03  Sami Kyostila  <skyostil@chromium.org>
3972
3973         [chromium] Rename low latency rendering mode setting to vsync notification
3974         https://bugs.webkit.org/show_bug.cgi?id=106020
3975
3976         Reviewed by James Robinson.
3977
3978         Rename low latency rendering mode setting to vsync notification because
3979         the old name was ambiguous and bad. This setting is meant to control
3980         whether the renderer uses a vsync signal provided by the browser to
3981         schedule rendering.
3982
3983 2013-01-03  Mark Pilgrim  <pilgrim@chromium.org>
3984
3985         [Chromium] Remove all references to sharedWorkerRepository()
3986         https://bugs.webkit.org/show_bug.cgi?id=104704
3987
3988         Reviewed by Adam Barth.
3989
3990         Now that Chromium calls setSharedWorkerRepository upon
3991         initializing WebKit (
3992         https://codereview.chromium.org/10990121/ and
3993         https://codereview.chromium.org/11576028/ ) and no longer
3994         tries to override sharedWorkerRepository, it is safe to remove
3995         all references to this function.
3996
3997         * public/platform/WebKitPlatformSupport.h:
3998         (WebKit):
3999         (WebKit::WebKitPlatformSupport::idbFactory):
4000         * src/SharedWorkerRepository.cpp:
4001         (WebKit::sharedWorkerRepository):
4002         (WebCore::SharedWorkerRepository::isAvailable):
4003
4004 2013-01-03  Tommy Widenflycht  <tommyw@google.com>
4005
4006         MediaStream API: Add a missing state to RTCPeerConnection
4007         https://bugs.webkit.org/show_bug.cgi?id=106017
4008
4009         Reviewed by Adam Barth.
4010
4011         Adding the missing ReadyStateHaveRemoteOffer which will show up in the spec soon.
4012
4013         * src/AssertMatchingEnums.cpp:
4014
4015 2013-01-03  Joshua Bell  <jsbell@chromium.org>
4016
4017         IndexedDB: Simplify IDBTransactionBackendImpl::scheduleTask usage
4018         https://bugs.webkit.org/show_bug.cgi?id=103536
4019
4020         Reviewed by Tony Chang.
4021
4022         Track whether IDBCallbacks has fired before being destructed. If not it probably
4023         came in after a transaction had asynchronously aborted; fire an abort error which
4024         will be ignored on the front-end but will clean up lingering IPC tracking.
4025
4026         * public/WebIDBDatabaseException.h:
4027         * src/AssertMatchingEnums.cpp:
4028         * src/IDBCallbacksProxy.cpp:
4029         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
4030         (WebKit::IDBCallbacksProxy::~IDBCallbacksProxy):
4031         (WebKit::IDBCallbacksProxy::onError):
4032         (WebKit::IDBCallbacksProxy::onSuccess):
4033         * src/IDBCallbacksProxy.h:
4034         (IDBCallbacksProxy):
4035
4036 2013-01-02  Kenneth Russell  <kbr@google.com>
4037
4038         [chromium] Creation of dedicated workers (isolates) leaks reference to HTMLDocument
4039         https://bugs.webkit.org/show_bug.cgi?id=105367
4040
4041         Reviewed by Dmitry Titov.
4042
4043         Made WebWorkerClientImpl a subclass of WorkerMessagingProxy rather than an object wrapping
4044         WorkerMessagingProxy. WorkerMessagingProxy manages its own lifetime and it is impossible to
4045         properly synchronize the lifetime of WebWorkerClientImpl separately.
4046
4047         This allowed most of WebWorkerClientImpl to be deleted, but forced a divergence in the class
4048         hierarchies of WebWorkerClientImpl and WebSharedWorkerImpl. Conversion methods were added to
4049         WorkerLoaderProxy and WebWorkerBase to bridge the hierarchies of in-process and
4050         out-of-process workers.
4051
4052         * src/DatabaseObserver.cpp:
4053         (WebCore::DatabaseObserver::canEstablishDatabase):
4054             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
4055         * src/IDBFactoryBackendProxy.cpp:
4056         (WebKit::AllowIndexedDBMainThreadBridge::signalCompleted):
4057             Adjusted how WorkerLoaderProxy's methods are called.
4058         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
4059             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
4060         * src/LocalFileSystemChromium.cpp:
4061         (WebCore::openFileSystemHelper):
4062             Adjusted how WebWorkerBase is obtained from WorkerLoaderProxy.
4063         * src/WebSharedWorkerImpl.cpp:
4064         (WebKit::WebSharedWorkerImpl::toWebWorkerBase):
4065             Implemented new conversion method.
4066         * src/WebSharedWorkerImpl.h:
4067         (WebSharedWorkerImpl):
4068             Explicitly derive from WorkerLoaderProxy now that WebWorkerBase no longer does.
4069         (WebKit::WebSharedWorkerImpl::workerLoaderProxy):
4070             Added new conversion method.
4071         * src/WebWorkerBase.h:
4072         (WebWorkerBase):
4073             Removed derivation from WorkerLoaderProxy. Added method to convert to WorkerLoaderProxy.
4074         * src/WebWorkerClientImpl.cpp:
4075         (WebKit):
4076             Adjusted comment.
4077         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
4078             Adjusted whitespace.
4079         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
4080             Eliminated delegation to separate object.
4081         (WebKit::WebWorkerClientImpl::toWebWorkerBase):
4082             Implemented new conversion method.
4083         (WebKit::WebWorkerClientImpl::view):
4084         (WebKit::WebWorkerClientImpl::allowDatabase):
4085         (WebKit::WebWorkerClientImpl::allowFileSystem):
4086         (WebKit::WebWorkerClientImpl::openFileSystem):
4087         (WebKit::WebWorkerClientImpl::allowIndexedDB):
4088             Eliminated delegation to separate object.
4089         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
4090         * src/WebWorkerClientImpl.h:
4091         (WebKit):
4092             Changed to inherit from WorkerMessagingProxy directly.