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