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