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