d22a699220befae0e09950e068e0c9f3e0912d7a
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2012-12-14  Dan Alcantara  <dfalcantara@chromium.org>
2
3         WebViewImpl::resetScrollAndScaleState() causes the page to render incorrectly
4         https://bugs.webkit.org/show_bug.cgi?id=104767
5
6         Reviewed by Darin Fisher.
7
8         Change WebViewImpl::resetScrollAndScaleState() so that it directly
9         alters values in the HistoryItem instead of indirectly changing the
10         values.
11
12         Adds a method in HistoryController to clear the scroll and scale state of
13         its current HistoryItem.
14
15         * public/WebView.h:
16         (WebView):
17         * src/WebViewImpl.cpp:
18         (WebKit::WebViewImpl::resetScrollAndScaleState):
19         * tests/WebViewTest.cpp:
20
21 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
22
23         Unreviewed, rolling out r137765.
24         http://trac.webkit.org/changeset/137765
25         https://bugs.webkit.org/show_bug.cgi?id=105067
26
27         Breaks webkit_unit_tests and transferred flings (Requested by
28         jamesr_ on #webkit).
29
30         * src/WebCompositorInputHandlerImpl.cpp:
31         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
32         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
33         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
34         * src/WebCompositorInputHandlerImpl.h:
35         (WebCompositorInputHandlerImpl):
36         * src/WebViewImpl.cpp:
37         (WebKit::WebViewImpl::handleGestureEvent):
38         (WebKit::WebViewImpl::handleKeyEvent):
39         (WebKit::WebViewImpl::updateAnimations):
40         (WebKit::WebViewImpl::didCommitLoad):
41
42 2012-12-14  Fady Samuel  <fsamuel@chromium.org>
43
44         Allow embedder to observe changes to frame names
45         https://bugs.webkit.org/show_bug.cgi?id=104404
46
47         Reviewed by Darin Fisher.
48
49         * public/WebFrameClient.h:
50         (WebFrameClient):
51         (WebKit::WebFrameClient::didChangeName):
52         * src/FrameLoaderClientImpl.cpp:
53         (WebKit::FrameLoaderClientImpl::didChangeName):
54         (WebKit):
55         * src/FrameLoaderClientImpl.h:
56         (FrameLoaderClientImpl):
57
58 2012-12-14  Joshua Bell  <jsbell@chromium.org>
59
60         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
61         https://bugs.webkit.org/show_bug.cgi?id=104615
62
63         Reviewed by Tony Chang.
64
65         Don't create (and leak) a new wrapper object for onSuccess if one was created for onUpgradeNeeded.
66
67         * src/IDBCallbacksProxy.cpp:
68         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
69         (WebKit::IDBCallbacksProxy::onSuccess):
70         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
71         * src/IDBCallbacksProxy.h:
72         (IDBCallbacksProxy):
73
74 2012-12-14  Yusuf Ozuysal  <yusufo@google.com>
75
76         Send a message from WebViewImpl to the compositor to inform about end of flings
77         https://bugs.webkit.org/show_bug.cgi?id=104947
78
79         Reviewed by James Robinson.
80
81         Whenever we have a fling animation finished on cancelled on main thread this sends
82         a message that will be relayed to the compositor input handler. Then the input handler
83         keeps track of main thread fling with a boolean and doesn't send flingCancels
84         unnecessarily
85
86         * src/WebCompositorInputHandlerImpl.cpp:
87         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
88         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
89         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
90         (WebKit::WebCompositorInputHandlerImpl::mainThreadHasStoppedFlinging):
91         (WebKit):
92         * src/WebCompositorInputHandlerImpl.h:
93         (WebCompositorInputHandlerImpl):
94         * src/WebViewImpl.cpp:
95         (WebKit::WebViewImpl::handleGestureEvent):
96         (WebKit::WebViewImpl::handleKeyEvent):
97         (WebKit::WebViewImpl::updateAnimations):
98         (WebKit::WebViewImpl::didCommitLoad):
99
100 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
101
102         Unreviewed, rolling out r137570.
103         http://trac.webkit.org/changeset/137570
104         https://bugs.webkit.org/show_bug.cgi?id=105048
105
106         Stale nodes in the touchEventTarget HashCountedSet are
107         triggering crashes. Rolling out while I find the root cause.
108         (Requested by leviw on #webkit).
109
110         * features.gypi:
111         * src/WebPluginContainerImpl.cpp:
112         (WebKit::WebPluginContainerImpl::requestTouchEventType):
113         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
114
115 2012-12-14  Stephen White  <senorblanco@chromium.org>
116
117         Unreviewed.  Rolled DEPS.
118
119         * DEPS:
120
121 2012-12-14  Stephen White  <senorblanco@chromium.org>
122
123         Unreviewed.  Rolled DEPS.
124
125         * DEPS:
126
127 2012-12-14  David Dorwin  <ddorwin@chromium.org>
128
129         EME v0.1: Report defaultURL in KeyMessage.
130         https://bugs.webkit.org/show_bug.cgi?id=104284
131
132         Reviewed by Darin Fisher.
133
134         Passes defaultURL down from the media engine to HTMLMediaElement.
135         Only Valid URLs will be passed.
136
137         No test because Clear Key does not provide a defaultURL (in v0.1).
138
139         * public/WebMediaPlayerClient.h:
140         * src/WebMediaPlayerClientImpl.cpp:
141         (WebKit::WebMediaPlayerClientImpl::keyMessage):
142         (WebKit):
143         (WebKit::WebMediaPlayerClient::keyMessage):
144         * src/WebMediaPlayerClientImpl.h:
145         (WebMediaPlayerClientImpl):
146
147 2012-12-13  Tien-Ren Chen  <trchen@chromium.org>
148
149         Don't consider container nodes of other disambiguated nodes
150         https://bugs.webkit.org/show_bug.cgi?id=104619
151
152         Reviewed by Eric Seidel.
153
154         Added a test to track the new disambiguation popup heuristics.
155
156         * tests/WebFrameTest.cpp:
157         * tests/data/disambiguation_popup_no_container.html: Added.
158
159 2012-12-13  James Robinson  <jamesr@chromium.org>
160
161         [chromium] Expose a WebLayerTreeView getter on WebWidget to make it easier for the embedder to interface with the compositor
162         https://bugs.webkit.org/show_bug.cgi?id=104968
163
164         Reviewed by Adrienne Walker.
165
166         This is an intermediate step on the way to https://code.google.com/p/chromium/issues/detail?id=156175.
167
168         * public/WebWidget.h:
169         (WebKit):
170         (WebWidget):
171         (WebKit::WebWidget::layerTreeView):
172         * src/WebViewImpl.cpp:
173         (WebKit::WebViewImpl::webLayerTreeView):
174         (WebKit):
175         * src/WebViewImpl.h:
176         (WebViewImpl):
177
178 2012-12-13  Antoine Labour  <piman@chromium.org>
179
180         [chromium] Small fixes for WebPluginContainer::setWebLayer
181         https://bugs.webkit.org/show_bug.cgi?id=104953
182
183         Reviewed by James Robinson.
184
185         * src/WebPluginContainerImpl.cpp:
186         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl): Allow
187         WebPlugin to clean up dangling pointers.
188
189 2012-12-13  Antoine Labour  <piman@chromium.org>
190
191         [chromium] Add WebPluginContainer::setWebLayer to supersede setBackingTextureId/setBackingIOSurfaceId
192         https://bugs.webkit.org/show_bug.cgi?id=104875
193
194         Reviewed by James Robinson.
195
196         * public/WebPluginContainer.h:
197         (WebKit):
198         (WebPluginContainer):
199         * src/WebPluginContainerImpl.cpp:
200         (WebKit::WebPluginContainerImpl::setWebLayer):
201         (WebKit):
202         (WebKit::WebPluginContainerImpl::setBackingTextureId):
203         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
204         (WebKit::WebPluginContainerImpl::commitBackingTexture):
205         (WebKit::WebPluginContainerImpl::setOpaque):
206         (WebKit::WebPluginContainerImpl::platformLayer):
207         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
208         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
209         * src/WebPluginContainerImpl.h:
210         (WebPluginContainerImpl):
211
212 2012-12-13  Yusuf Ozuysal  <yusufo@google.com>
213
214         Check whether a touchDown lands on a registered touch event handler from the compositor
215         https://bugs.webkit.org/show_bug.cgi?id=104863
216
217         Reviewed by James Robinson.
218
219         * src/WebCompositorInputHandlerImpl.cpp:
220         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
221
222 2012-12-07  Levi Weintraub  <leviw@chromium.org>
223
224         Add support for tracking hit test rectangles to enable fast event rejection in the compositor
225         https://bugs.webkit.org/show_bug.cgi?id=103914
226
227         Reviewed by Simon Fraser.
228
229         Enabling touch event target region tracking.
230
231         * features.gypi:
232         * src/WebPluginContainerImpl.cpp:
233         (WebKit::WebPluginContainerImpl::requestTouchEventType):
234         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
235
236 2012-12-12  Andy Estes  <aestes@apple.com>
237
238         Fix the Chromium build after r137539.
239
240         * src/ScrollbarGroup.cpp:
241         (WebKit::ScrollbarGroup::lastKnownMousePosition): Renamed from currentMousePosition().
242         * src/ScrollbarGroup.h: Ditto.
243
244 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
245
246         Unreviewed.  Rolled DEPS.
247
248         * DEPS:
249
250 2012-12-12  Charlie Reis  <creis@chromium.org>
251
252         [chromium] Expose quickRedirectComing via WebDataSource
253         https://bugs.webkit.org/show_bug.cgi?id=104586
254
255         Reviewed by Nate Chapin.
256
257         Exposes whether the current navigation is a client redirect, and
258         thus should replace the current history item.
259
260         * public/WebDataSource.h:
261         (WebDataSource): Adds isClientRedirect.
262         * src/WebDataSourceImpl.cpp:
263         (WebKit::WebDataSourceImpl::isClientRedirect):
264         (WebKit):
265         * src/WebDataSourceImpl.h:
266         (WebDataSourceImpl):
267
268 2012-12-12  Mark Lam  <mark.lam@apple.com>
269
270         Encapsulate externally used webdatabase APIs in DatabaseManager.
271         https://bugs.webkit.org/show_bug.cgi?id=104741.
272
273         Reviewed by Sam Weinig.
274
275         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
276         and DatabaseContext directly. This is to prepare for upcoming webkit2
277         refactoring.
278
279         * src/ChromeClientImpl.cpp:
280         * src/WebDatabase.cpp:
281         (WebKit::WebDatabase::closeDatabaseImmediately):
282         * src/WebRuntimeFeatures.cpp:
283         (WebKit::WebRuntimeFeatures::enableDatabase):
284         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
285
286 2012-12-12  Sheriff Bot  <webkit.review.bot@gmail.com>
287
288         Unreviewed, rolling out r137490.
289         http://trac.webkit.org/changeset/137490
290         https://bugs.webkit.org/show_bug.cgi?id=104838
291
292         Breaks Chromium build due to references to
293         WebSharedWorkerRepository (Requested by aklein on #webkit).
294
295         * public/platform/WebKitPlatformSupport.h:
296         (WebKit):
297         (WebKitPlatformSupport):
298         (WebKit::WebKitPlatformSupport::sharedWorkerRepository):
299         * src/SharedWorkerRepository.cpp:
300         (WebKit::sharedWorkerRepository):
301         (WebCore::SharedWorkerRepository::isAvailable):
302
303 2012-12-12  Alpha Lam  <hclam@chromium.org>
304
305         [chromium] Minimize memcpy for encoded image data in ImageFrameGenerator
306         https://bugs.webkit.org/show_bug.cgi?id=103797
307
308         Reviewed by Stephen White.
309
310         Added unit tests for ThreadSafeDataTransport.
311
312         Added unit tests for ImageFrameGenerator to test behavior with and without
313         new data.
314
315         New tests:
316         ThreadSafeDataTransportTest.hasNewData
317         ThreadSafeDataTransportTest.setData
318         ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeNoNewData
319
320         * WebKit.gypi:
321         * tests/ThreadSafeDataTransportTest.cpp: Added.
322         (WebCore):
323         (WebCore::TEST):
324
325 2012-12-12  Mark Pilgrim  <pilgrim@chromium.org>
326
327         [Chromium] Remove all references to sharedWorkerRepository()
328         https://bugs.webkit.org/show_bug.cgi?id=104704
329
330         Reviewed by James Robinson.
331
332         Now that Chromium calls setSharedWorkerRepository upon
333         initializing WebKit (
334         https://chromiumcodereview.appspot.com/10990121/ ) and no longer
335         tries to override sharedWorkerRepository, it is safe to remove
336         all references to this function.
337
338         * public/platform/WebKitPlatformSupport.h:
339         (WebKit):
340         (WebKit::WebKitPlatformSupport::idbFactory):
341         * src/SharedWorkerRepository.cpp:
342         (WebKit::sharedWorkerRepository):
343         (WebCore::SharedWorkerRepository::isAvailable):
344
345 2012-12-12  Tommy Widenflycht  <tommyw@google.com>
346
347         MediaStream API: Change the data channel descriptor pattern to a handler pattern
348         https://bugs.webkit.org/show_bug.cgi?id=104543
349
350         Reviewed by Kent Tamura.
351
352         * src/AssertMatchingEnums.cpp:
353
354 2012-12-11  Dominic Mazzoni  <dmazzoni@google.com>
355
356         AX: Make isActionSupported cross-platform.
357         https://bugs.webkit.org/show_bug.cgi?id=104681
358
359         Reviewed by Chris Fleizach.
360
361         Add support for press, increment, and decrement actions,
362         including tests to see whether they're supported on a given
363         object. This allows Chromium to pass three tests that were
364         previously skipped.
365
366         * public/WebAccessibilityObject.h:
367         (WebAccessibilityObject):
368         * src/WebAccessibilityObject.cpp:
369         (WebKit::WebAccessibilityObject::canDecrement):
370         (WebKit):
371         (WebKit::WebAccessibilityObject::canIncrement):
372         (WebKit::WebAccessibilityObject::canPress):
373         (WebKit::WebAccessibilityObject::increment):
374         (WebKit::WebAccessibilityObject::decrement):
375         (WebKit::WebAccessibilityObject::press):
376
377 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
378
379         Unreviewed.  Rolled DEPS.
380
381         * DEPS:
382
383 2012-12-11  Alec Flett  <alecflett@chromium.org>
384
385         IndexedDB: Stub out data operations on IDBDatabaseBackendInterface
386         https://bugs.webkit.org/show_bug.cgi?id=104592
387
388         Reviewed by Dimitri Glazkov.
389
390         Stub out chromium side of data operations for refactor.
391
392         * public/WebIDBDatabase.h:
393         (WebKit):
394         (WebKit::WebIDBDatabase::get):
395         (WebKit::WebIDBDatabase::put):
396         (WebKit::WebIDBDatabase::setIndexKeys):
397         (WebKit::WebIDBDatabase::setIndexesReady):
398         (WebKit::WebIDBDatabase::openCursor):
399         (WebKit::WebIDBDatabase::count):
400         (WebKit::WebIDBDatabase::deleteRange):
401         (WebKit::WebIDBDatabase::clear):
402         (WebIDBDatabase):
403         * src/IDBDatabaseBackendProxy.cpp:
404         (WebKit::IDBDatabaseBackendProxy::openCursor):
405         (WebKit):
406         (WebKit::IDBDatabaseBackendProxy::count):
407         (WebKit::IDBDatabaseBackendProxy::get):
408         (WebKit::IDBDatabaseBackendProxy::put):
409         (WebKit::IDBDatabaseBackendProxy::setIndexKeys):
410         (WebKit::IDBDatabaseBackendProxy::setIndexesReady):
411         (WebKit::IDBDatabaseBackendProxy::deleteRange):
412         (WebKit::IDBDatabaseBackendProxy::clear):
413         * src/IDBDatabaseBackendProxy.h:
414         (IDBDatabaseBackendProxy):
415         * src/WebIDBDatabaseImpl.cpp:
416         (WebKit):
417         (WebKit::WebIDBDatabaseImpl::openCursor):
418         (WebKit::WebIDBDatabaseImpl::count):
419         (WebKit::WebIDBDatabaseImpl::get):
420         (WebKit::WebIDBDatabaseImpl::put):
421         (WebKit::WebIDBDatabaseImpl::setIndexKeys):
422         (WebKit::WebIDBDatabaseImpl::setIndexesReady):
423         (WebKit::WebIDBDatabaseImpl::deleteRange):
424         (WebKit::WebIDBDatabaseImpl::clear):
425         * src/WebIDBDatabaseImpl.h:
426         (WebIDBDatabaseImpl):
427         * tests/IDBDatabaseBackendTest.cpp:
428
429 2012-12-11  Sheriff Bot  <webkit.review.bot@gmail.com>
430
431         Unreviewed, rolling out r137330.
432         http://trac.webkit.org/changeset/137330
433         https://bugs.webkit.org/show_bug.cgi?id=104719
434
435         Breaks a chromium browser_test: WebViewTest.IndexedDBIsolation
436         (Requested by aklein on #webkit).
437
438         * src/WebIDBCallbacksImpl.cpp:
439         (WebKit::WebIDBCallbacksImpl::onSuccess):
440
441 2012-12-11  Joshua Bell  <jsbell@chromium.org>
442
443         [Chromium] IndexedDB: Memory leak in IDBCallbacksProxy::onSuccess(PassRefPtr<IDBDatabaseBackendInterface>)
444         https://bugs.webkit.org/show_bug.cgi?id=104615
445
446         Reviewed by Tony Chang.
447
448         Ensure passed pointer is treated with ownership semantics.
449
450         * src/WebIDBCallbacksImpl.cpp:
451         (WebKit::WebIDBCallbacksImpl::onSuccess):
452
453 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
454
455         [Chromium] Clean up unused interfaces in PlatformSupport
456         https://bugs.webkit.org/show_bug.cgi?id=104674
457
458         Reviewed by Darin Fisher.
459
460         Part of a refactoring series. See tracking bug 82948.
461
462         * public/platform/WebKitPlatformSupport.h:
463         * src/PlatformSupport.cpp:
464
465 2012-12-11  Mike West  <mkwst@chromium.org>
466
467         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
468         https://bugs.webkit.org/show_bug.cgi?id=66371
469
470         Reviewed by Pavel Feldman.
471
472         Drops WebCore::MessageType from the addMessageToConsole method, and all
473         the ancilliary places it touches.
474
475         Aliases postConsoleMessageToWorkerObject with the old interface in
476         order to maintain back-compat. Will remove it in a future patch once
477         Chromium is updated.
478
479         * public/WebSharedWorkerClient.h:
480         (WebSharedWorkerClient):
481         (WebKit::WebSharedWorkerClient::postConsoleMessageToWorkerObject):
482         * src/ChromeClientImpl.cpp:
483         * src/ChromeClientImpl.h:
484         (ChromeClientImpl):
485         * src/WebFrameImpl.cpp:
486         (WebKit::WebFrameImpl::addMessageToConsole):
487         * src/WebPagePopupImpl.cpp:
488         * src/WebSharedWorkerImpl.cpp:
489         (WebKit::WebSharedWorkerImpl::postConsoleMessageToWorkerObject):
490         (WebKit::WebSharedWorkerImpl::postConsoleMessageTask):
491         * src/WebSharedWorkerImpl.h:
492         (WebSharedWorkerImpl):
493         * src/WebWorkerClientImpl.cpp:
494         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
495         * src/WebWorkerClientImpl.h:
496         (WebWorkerClientImpl):
497
498 2012-12-11  Mark Pilgrim  <pilgrim@chromium.org>
499
500         [Chromium] Call createLocalStorageNamespace through Platform.h
501         https://bugs.webkit.org/show_bug.cgi?id=104675
502
503         Reviewed by Kentaro Hara.
504
505         Some #include cleanup missing from bug 85766. Part of a
506         refactoring series; see tracking bug 82948.
507
508         * src/StorageNamespaceProxy.cpp:
509         (WebCore::StorageNamespace::localStorageNamespace):
510
511 2012-12-11  Stephen White  <senorblanco@chromium.org>
512
513         Unreviewed.  Rolled DEPS.
514
515         * DEPS:
516
517 2012-12-10  Dana Jansens  <danakj@chromium.org>
518
519         [chromium] Remove WebCompositorOutputSurface implementations from DRT
520         https://bugs.webkit.org/show_bug.cgi?id=104046
521
522         Reviewed by Darin Fisher.
523
524         Use WebCompositorSupport to create an OutputSurface.
525
526         * WebKit.gypi:
527         * src/WebViewImpl.cpp:
528         (WebKit):
529         * tests/Canvas2DLayerBridgeTest.cpp:
530         * tests/FakeWebCompositorOutputSurface.h: Removed.
531         * tests/WebLayerTreeViewTestCommon.h:
532
533 2012-12-10  Stephen White  <senorblanco@chromium.org>
534
535         [Chromium] Re-enable a failing test.  Disabling it just seemed to
536         move the problem to another test.  Unreviewed.
537
538         * tests/GraphicsLayerChromiumTest.cpp:
539
540 2012-12-10  David Grogan  <dgrogan@chromium.org>
541
542         IndexedDB: Propagate more leveldb errors to script
543         https://bugs.webkit.org/show_bug.cgi?id=104422
544
545         Reviewed by Tony Chang.
546
547         * tests/IDBFakeBackingStore.h:
548           Delete method override that doesn't match new signature.
549
550 2012-12-09  Antti Koivisto  <antti@apple.com>
551
552         Factor node traversal into standalone functions
553         https://bugs.webkit.org/show_bug.cgi?id=104507
554
555         Reviewed by Eric Seidel.
556
557         * src/WebFrameImpl.cpp:
558         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection):
559
560 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
561
562         [Chromium][Win] Remove theme-related functions from PlatformSupport
563         https://bugs.webkit.org/show_bug.cgi?id=102699
564
565         Reviewed by Adam Barth.
566
567         Call theme engine directly instead of going through
568         PlatformSupport. Part of a refactoring series. See tracking bug 82948.
569
570         * src/PlatformSupport.cpp:
571         (WebCore::PlatformSupport::pluginScriptableObject):
572
573 2012-12-10  Mark Pilgrim  <pilgrim@chromium.org>
574
575         [Chromium] Move getPluginsList out of PlatformSupport
576         https://bugs.webkit.org/show_bug.cgi?id=96507
577
578         Reviewed by Darin Fisher.
579
580         Part of a refactoring series. See tracking bug 82948.
581
582         * WebKit.gyp:
583         * public/WebPluginListBuilder.h:
584         * public/platform/WebKitPlatformSupport.h:
585         (WebKit):
586         (WebKit::WebKitPlatformSupport::idbFactory):
587         * src/PlatformSupport.cpp:
588         (WebCore::PlatformSupport::idbFactory):
589         * src/WebPluginListBuilderImpl.cpp: Removed.
590         * src/WebPluginListBuilderImpl.h: Removed.
591
592 2012-12-10  Alexis Menard  <alexis@webkit.org>
593
594         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
595         https://bugs.webkit.org/show_bug.cgi?id=104539
596
597         Reviewed by Antonio Gomes.
598
599         As discussed on webkit-dev it is not needed to keep this feature flag 
600         as support for <position> type is a small feature that is already 
601         implemented by three other UAs. It was useful while landing this 
602         feature as partial bits were landed one after one.
603
604         * features.gypi:
605
606 2012-12-10  Mike West  <mkwst@chromium.org>
607
608         [chromium] Add 'WebKit/chromium/win8' to .gitignore
609         https://bugs.webkit.org/show_bug.cgi?id=104534
610
611         Reviewed by Jochen Eisinger.
612
613         I've now added it via 'git add' once, and via 'git commit -a' twice.
614         Let's make that more difficult, shall we?
615
616         * .gitignore:
617
618 2012-12-10  Kent Tamura  <tkent@chromium.org>
619
620         Refactoring: Introduce HTMLFormControlElement::isDisabledOrReadOnly
621         https://bugs.webkit.org/show_bug.cgi?id=104508
622
623         Reviewed by Kentaro Hara.
624
625         * src/WebViewImpl.cpp:
626         (WebKit::WebViewImpl::textInputType):
627         Use isDisabledOrReadOnly. Also, remove unnecessary local variable.
628
629 2012-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
630
631         Unreviewed, rolling out r137103.
632         http://trac.webkit.org/changeset/137103
633         https://bugs.webkit.org/show_bug.cgi?id=104503
634
635         Didn't resolve the chrome win build bot failure, problem moved
636         elsewhere. (Requested by noel_ on #webkit).
637
638         * tests/GraphicsLayerChromiumTest.cpp:
639         (WebKit::TEST_F):
640
641 2012-12-09  Noel Gordon  <noel.gordon@gmail.com>
642
643         [chromium] webkit_unit_tests tests are failing on win
644         https://bugs.webkit.org/show_bug.cgi?id=104502
645
646         Unreviewed test fix: disable applyScrollToScrollableArea test.
647
648         * tests/GraphicsLayerChromiumTest.cpp:
649         (WebKit::TEST_F):
650
651 2012-12-09  Stephen White  <senorblanco@chromium.org>
652
653         [Chromium] Unreviewed.  Temporarily disable a webkit_unit_tests test
654         that's failing on Windows.
655
656         * tests/GraphicsLayerChromiumTest.cpp:
657         (WebKit::TEST_F):
658
659 2012-12-09  Stephen White  <senorblanco@chromium.org>
660
661         Unreviewed.  Rolled DEPS.
662
663         * DEPS:
664
665 2012-12-08  Gavin Peters  <gavinp@chromium.org>
666
667         Add status events on <link rel=prerender> elements.
668         https://bugs.webkit.org/show_bug.cgi?id=96474
669
670         Reviewed by Adam Barth.
671
672         The new PrerenderStatusEvent is sent to link elements when
673         prerenders are started by the embedder, and also sent when they
674         are stopped. Pages using this feature can now serialize launching
675         prerenders, and track timing performance.
676
677         * WebKit.gyp:
678         * WebKit.gypi:
679         * tests/FrameTestHelpers.cpp:
680         (WebKit::FrameTestHelpers::createWebView):
681         (FrameTestHelpers):
682         (WebKit::FrameTestHelpers::createWebViewAndLoad):
683         * tests/FrameTestHelpers.h:
684         (FrameTestHelpers):
685         * tests/PrerenderingTest.cpp: Added.
686         * tests/data/prerender/multiple_prerenders.html: Added.
687         * tests/data/prerender/single_prerender.html: Added.
688
689 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
690
691         Extend platform layer so it can pass blend modes to the compositing calls
692         https://bugs.webkit.org/show_bug.cgi?id=104176
693
694         Reviewed by Dirk Schulze.
695
696         Adding blend mode enumeration to draw functions 
697
698         * tests/DragImageTest.cpp:
699         (WebCore::TestImage::draw):
700         * tests/ImageLayerChromiumTest.cpp:
701         (WebCore::TestImage::draw):
702
703 2012-12-07  Alpha Lam  <hclam@chromium.org>
704
705         [chromium] ImageDecodingStore should cache partially decoded images
706         https://bugs.webkit.org/show_bug.cgi?id=103796
707
708         Reviewed by Stephen White.
709
710         Added unit tests to verify caching behavior for partially decoded images.
711         New tests added:
712         - ImageDecodingStoreTest.insertIncompleteCache
713         Insert incomplete image with a decoder into cache.
714
715         - ImageDecodingStoreTest.insertCompleteCacheWithDecoder
716         Insert complete image with a decoder, decoder is deleted.
717
718         - ImageDecodingStoreTest.incompleteCacheBecomesComplete
719         Progressive downloading of a file. Image becomes complete, decoder deleted.
720
721         - ImageFrameGeneratorTest.cacheMissWithIncompleteDecodeAndScale
722         Cache lookup failed and start a decoding that decoded an incomplete image.
723
724         ImageFrameGeneratorTest.incompleteDecodeBecomesComplete
725         Image decoded as incomplete, file fully downloaded and cache entry becomes complete.
726
727         ImageFrameGeneratorTest.incompleteDecodeAndScaleBecomesComplete
728         Image decoded and scaled as incomplete, becomes complete after file is fully dowloaded.
729
730         ImageFrameGeneratorTest.incompleteDecodeBecomesCompleteMultiThreaded
731         Transition from incomplete to complete, entire lifecycle happens on 2 threads.
732
733         * tests/DeferredImageDecoderTest.cpp:
734         (WebCore::DeferredImageDecoderTest::SetUp):
735         * tests/ImageDecodingStoreTest.cpp:
736         (WebCore::ImageDecodingStoreTest::SetUp):
737         (WebCore::ImageDecodingStoreTest::decoderBeingDestroyed):
738         (ImageDecodingStoreTest):
739         (WebCore::ImageDecodingStoreTest::frameBufferRequested):
740         (WebCore::ImageDecodingStoreTest::frameStatus):
741         (WebCore::ImageDecodingStoreTest::createIncompleteImage):
742         (WebCore::ImageDecodingStoreTest::lockCache):
743         (WebCore::TEST_F):
744         (WebCore):
745         * tests/ImageFrameGeneratorTest.cpp:
746         (WebCore::ImageFrameGeneratorTest::SetUp):
747         (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
748         (ImageFrameGeneratorTest):
749         (WebCore::MockImageDecoderFactory::create):
750         (WebCore::TEST_F):
751         (WebCore):
752         (WebCore::decodeThreadMain):
753         * tests/MockImageDecoder.h:
754         (WebCore::MockImageDecoder::create):
755         (MockImageDecoder):
756         (WebCore::MockImageDecoder::setSize):
757         (WebCore::MockImageDecoder::frameBufferAtIndex):
758
759 2012-12-07  Sheriff Bot  <webkit.review.bot@gmail.com>
760
761         Unreviewed, rolling out r136993.
762         http://trac.webkit.org/changeset/136993
763         https://bugs.webkit.org/show_bug.cgi?id=104415
764
765         This patch breaks the mac build (Requested by cabanier on
766         #webkit).
767
768         * tests/DragImageTest.cpp:
769         (WebCore::TestImage::draw):
770         * tests/ImageLayerChromiumTest.cpp:
771         (WebCore::TestImage::draw):
772
773 2012-12-07  Rik Cabanier  <cabanier@adobe.com>
774
775         Extend platform layer so it can pass blend modes to the compositing calls
776         https://bugs.webkit.org/show_bug.cgi?id=104176
777
778         Reviewed by Dirk Schulze.
779
780         Adding blend mode enumeration to draw functions 
781
782         * tests/DragImageTest.cpp:
783         (WebCore::TestImage::draw):
784         * tests/ImageLayerChromiumTest.cpp:
785         (WebCore::TestImage::draw):
786
787 2012-12-07  Alec Flett  <alecflett@chromium.org>
788
789         IndexedDB: propagate transaction_ids through open/upgradeneeded
790         https://bugs.webkit.org/show_bug.cgi?id=103922
791
792         Reviewed by Tony Chang.
793
794         Update test to account for pre-generated transaction ids.
795
796         * tests/IDBDatabaseBackendTest.cpp:
797
798 2012-12-07  Scott Violet  <sky@chromium.org>
799
800         [chromium] Remove linux theme related files and switch to default
801         https://bugs.webkit.org/show_bug.cgi?id=103897
802
803         Reviewed by Dimitri Glazkov.
804
805         Linux theme related files are now named Default.
806
807         * WebKit.gyp:
808         * public/linux/WebRenderTheme.h: Removed.
809         * public/platform/linux/WebThemeEngine.h: Removed.
810         * src/WebViewImpl.cpp:
811         (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
812         (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
813         * src/linux/WebRenderTheme.cpp: Removed.
814
815 2012-12-07  Stephen White  <senorblanco@chromium.org>
816
817         Unreviewed.  Rolled DEPS.
818
819         * DEPS:
820
821 2012-12-07  Alexis Menard  <alexis@webkit.org>
822
823         [Chromium] Enable CSS3 background-position offset by default.
824         https://bugs.webkit.org/show_bug.cgi?id=104253
825
826         Reviewed by Tony Chang.
827
828         Turn on the feature by default.
829
830         * features.gypi:
831
832 2012-12-07  Mark Pilgrim  <pilgrim@chromium.org>
833
834         [Chromium] Move WorkerContextProxy::create out of PlatformSupport
835         https://bugs.webkit.org/show_bug.cgi?id=104151
836
837         Reviewed by Kentaro Hara.
838
839         Doesn't really solve the layering violation as much as kick it
840         down the road a bit. Part of a refactoring series; see tracking
841         bug 82948.
842
843         * WebKit.gyp:
844         * src/PlatformSupport.cpp:
845         (WebCore):
846         * src/WorkerContextProxy.cpp: Added.
847         (WebCore):
848         (WebCore::WebCore::WorkerContextProxy::create):
849
850 2012-12-07  Ilya Tikhonovsky  <loislo@chromium.org>
851
852         Unreviewed roll crhomium to r171707.
853
854         * DEPS:
855
856 2012-12-07  Kent Tamura  <tkent@chromium.org>
857
858         REGRESSION(r136631): Fix null pointer dereference in WebPagePopupImpl::paint
859         https://bugs.webkit.org/show_bug.cgi?id=104350
860
861         Reviewed by Hajime Morita.
862
863         We changed WebPagePopupImpl so that it deleted m_page in
864         closePopup. However, paint function is still called.
865
866         * src/WebPagePopupImpl.cpp:
867         (WebKit::WebPagePopupImpl::paint): Block by m_closing.
868
869 2012-12-06  Kent Tamura  <tkent@chromium.org>
870
871         Refactoring: Clean up placeholder attribute usage
872         https://bugs.webkit.org/show_bug.cgi?id=104337
873
874         Reviewed by Kentaro Hara.
875
876         * src/WebInputElement.cpp:
877         (WebKit::WebInputElement::setPlaceholder):
878         Use setAttribute.
879         (WebKit::WebInputElement::placeholder):
880         Use fastGetAttribute.
881
882 2012-12-06  Sami Kyostila  <skyostil@chromium.org>
883
884         [chromium] Introduce setting for low latency rendering
885         https://bugs.webkit.org/show_bug.cgi?id=104011
886
887         Reviewed by James Robinson.
888
889         This low latency rendering setting will be used to enable alternate
890         render signaling and scheduling to reduce latency.
891
892         * public/WebSettings.h:
893         * src/WebSettingsImpl.cpp:
894         (WebKit::WebSettingsImpl::WebSettingsImpl):
895         (WebKit::WebSettingsImpl::setLowLatencyRenderingEnabled):
896         (WebKit):
897         * src/WebSettingsImpl.h:
898         (WebSettingsImpl):
899         (WebKit::WebSettingsImpl::lowLatencyRenderingEnabled):
900         * src/WebViewImpl.cpp:
901         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
902
903 2012-12-06  Kent Tamura  <tkent@chromium.org>
904
905         [Chromium] Rename some init* functions to initialize*
906         https://bugs.webkit.org/show_bug.cgi?id=104335
907
908         Reviewed by Kentaro Hara.
909
910         We should use full words.
911         http://www.webkit.org/coding/coding-style.html#names-full-words
912
913         * src/WebHelperPluginImpl.cpp:
914         (WebKit::WebHelperPluginImpl::initialize): Renamed from init.
915         (WebKit::WebHelperPluginImpl::initializePage): Renamed from initPage.
916         * src/WebHelperPluginImpl.h:
917         (WebHelperPluginImpl):
918         * src/WebPagePopupImpl.cpp:
919         (WebKit::WebPagePopupImpl::initialize): Renamed from init.
920         (WebKit::WebPagePopupImpl::initializePage): Renamed from initPage.
921         * src/WebPagePopupImpl.h:
922         (WebPagePopupImpl):
923         * src/WebPopupMenuImpl.cpp:
924         (WebKit::WebPopupMenuImpl::initialize): Renamed from init.
925         * src/WebPopupMenuImpl.h:
926
927         * src/WebViewImpl.cpp:
928         (WebKit::WebViewImpl::openPagePopup): Follow the renamings.
929         (WebKit::WebViewImpl::createHelperPlugin): Ditto.
930         * src/ChromeClientImpl.cpp:
931         (WebKit::ChromeClientImpl::popupOpened): Ditto.
932
933 2012-12-06  Rick Byers  <rbyers@chromium.org>
934
935         CSS cursor property should support webkit-image-set
936         https://bugs.webkit.org/show_bug.cgi?id=99493
937
938         Reviewed by Beth Dakin.
939
940         Add ENABLE_MOUSE_CURSOR_SCALE and enable it on the chromium port.
941         Plumb cursor image scale factor through to chromium API.
942
943         * features.gypi:
944         * public/WebCursorInfo.h:
945         * src/WebCursorInfo.cpp:
946         (WebKit::WebCursorInfo::WebCursorInfo):
947
948 2012-12-06  James Simonsen  <simonjam@chromium.org>
949
950         [Chromium] Enable Resource Timing and User Timing
951         https://bugs.webkit.org/show_bug.cgi?id=103788
952
953         Reviewed by Tony Gentilcore.
954
955         * features.gypi:
956
957 2012-12-06  Jochen Eisinger  <jochen@chromium.org>
958
959         [chromium] when forwarding events through the WebPluginContainer, create a UserGestureIndicator if processing a user gesture
960         https://bugs.webkit.org/show_bug.cgi?id=104306
961
962         Reviewed by Dimitri Glazkov.
963
964         In http://trac.webkit.org/changeset/65964 a UserGestureIndicator was
965         introduced in chromium's WebKit layer intended to fix a problem with
966         plugins, however, it also affected regular event handling, so I removed
967         it in http://trac.webkit.org/changeset/128273. Turns out it still is a
968         problem for plugins. This change adds the UserGestureIndicator back,
969         however, only for the WebPluginContainer.
970
971         * public/WebInputEvent.h:
972         (WebInputEvent):
973         (WebKit::WebInputEvent::isUserGestureEventType):
974         * src/WebPluginContainerImpl.cpp:
975         (WebKit::WebPluginContainerImpl::handleEvent):
976
977 2012-12-06  David Grogan  <dgrogan@chromium.org>
978
979         IndexedDB: Abort transactions because of leveldb errors part 4
980         https://bugs.webkit.org/show_bug.cgi?id=103964
981
982         Reviewed by Tony Chang.
983
984         * tests/IDBFakeBackingStore.h:
985           Update one overridden method signature, delete another.
986
987 2012-12-06  Tony Chang  <tony@chromium.org>
988
989         REGRESSION(r135082): Restore the ability to insert author level style sheets from script
990         https://bugs.webkit.org/show_bug.cgi?id=104042
991
992         Reviewed by Antti Koivisto.
993
994         * src/WebDocument.cpp:
995         (WebKit::WebDocument::insertUserStyleSheet): Use addAuthorSheet if an author level script is requested.
996
997 2012-12-06  Sadrul Habib Chowdhury  <sadrul@chromium.org>
998
999         [chromium] Add some null-checks for the touch-lists in TouchEvent
1000         https://bugs.webkit.org/show_bug.cgi?id=104098
1001
1002         Reviewed by Adam Barth.
1003
1004         It is possible for the touch-lists to be NULL in a TouchEvent. V8TouchEvent checks for NULL
1005         touches(), targetTouches() and changedTouches(). So do the same for WebMouseEventBuilder.
1006
1007         * src/WebInputEventConversion.cpp:
1008         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1009         * tests/WebInputEventConversionTest.cpp:
1010
1011 2012-12-06  Xianzhu Wang  <wangxianzhu@chromium.org>
1012
1013         [Chromium] Expose acceleratedCompositingForScrollableFramesEnabled in WebKit API
1014         https://bugs.webkit.org/show_bug.cgi?id=104272
1015
1016         We may need the API to enable compositing scrollable frames in Chromium.
1017
1018         Reviewed by Darin Fisher.
1019
1020         * public/WebSettings.h:
1021         * src/WebSettingsImpl.cpp:
1022         (WebKit::WebSettingsImpl::setAcceleratedCompositingForScrollableFramesEnabled):
1023         (WebKit):
1024         * src/WebSettingsImpl.h:
1025         (WebSettingsImpl):
1026
1027 2012-12-06  W. James MacLean  <wjmaclean@chromium.org>
1028
1029         [chromium] Should apply link highlight to largest enclosing node with a handCursor.
1030         https://bugs.webkit.org/show_bug.cgi?id=104264
1031
1032         Reviewed by Adrienne Walker.
1033
1034         Link highlights sometimes only apply to part of a link, if we select an enclosed
1035         node (e.g. font changes in link text). The highlight should be applied to the
1036         largest enclosing node that still has handCursor set.
1037
1038         * src/WebViewImpl.cpp:
1039         (WebKit::WebViewImpl::bestTouchLinkNode):
1040
1041 2012-12-06  Tommy Widenflycht  <tommyw@google.com>
1042
1043         Speech Recognition API: Change the error code to a string on SpeechRecognitionError
1044         https://bugs.webkit.org/show_bug.cgi?id=104254
1045
1046         Reviewed by Adam Barth.
1047
1048         Minor WebCore type changes.
1049
1050         * src/AssertMatchingEnums.cpp:
1051         * src/SpeechRecognitionClientProxy.cpp:
1052         (WebKit::SpeechRecognitionClientProxy::didReceiveError):
1053
1054 2012-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1055
1056         Unreviewed, rolling out r136784 and r136802.
1057         http://trac.webkit.org/changeset/136784
1058         http://trac.webkit.org/changeset/136802
1059         https://bugs.webkit.org/show_bug.cgi?id=104231
1060
1061         breaks chromium canary (Requested by morrita on #webkit).
1062
1063         * WebKit.gyp:
1064         * public/linux/WebRenderTheme.h: Added.
1065         (WebKit):
1066         * public/platform/linux/WebThemeEngine.h: Added.
1067         * src/WebViewImpl.cpp:
1068         (WebKit::WebViewImpl::setScrollbarColors):
1069         (WebKit::WebViewImpl::setSelectionColors):
1070         * src/linux/WebRenderTheme.cpp: Added.
1071         (WebKit):
1072         (WebKit::setCaretBlinkInterval):
1073
1074 2012-12-05  Takashi Sakamoto  <tasak@google.com>
1075
1076         Add win8/* to Chromium DEPS (r171376)
1077         https://bugs.webkit.org/show_bug.cgi?id=104228
1078
1079         Reviewed by Hajime Morita.
1080
1081         Since updated chromium DEPS to r171376, now printing/printing.gyp
1082         requires win8/* for windows build.
1083
1084         * DEPS:
1085
1086 2012-12-05  Takashi Sakamoto  <tasak@google.com>
1087
1088         Unreviewed, WebKit gardening.
1089
1090         * WebKit.gyp:
1091         Removed public/linux/WebRenderTheme.h. The file was removed.
1092
1093 2012-12-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1094
1095         Unreviewed.  Rolled DEPS.
1096
1097         * DEPS:
1098
1099 2012-12-05  Greg Billock  <gbillock@google.com>
1100
1101         Add runtime enable for web intents.
1102         https://bugs.webkit.org/show_bug.cgi?id=103669
1103
1104         Reviewed by Adam Barth.
1105
1106         Propagate runtime setting to enable/disable web intents Javascript API.
1107
1108         * public/WebRuntimeFeatures.h:
1109         (WebRuntimeFeatures):
1110         * src/WebRuntimeFeatures.cpp:
1111         (WebKit::WebRuntimeFeatures::enableWebIntents):
1112         (WebKit):
1113         (WebKit::WebRuntimeFeatures::isWebIntentsEnabled):
1114
1115 2012-12-05  Scott Violet  <sky@chromium.org>
1116
1117         [chromium] Remove linux theme related files and switch to default
1118         https://bugs.webkit.org/show_bug.cgi?id=103897
1119
1120         Reviewed by Tony Chang.
1121
1122         Linux theme related files are now named Default.
1123
1124         * WebKit.gyp:
1125         * public/linux/WebRenderTheme.h: Removed.
1126         * public/platform/linux/WebThemeEngine.h: Removed.
1127         * src/WebViewImpl.cpp:
1128         (WebKit::WebViewImpl::setScrollbarColors): Cleanup ifdefs.
1129         (WebKit::WebViewImpl::setSelectionColors): Cleanup ifdefs.
1130         * src/linux/WebRenderTheme.cpp: Removed.
1131
1132 2012-12-05  Joshua Bell  <jsbell@chromium.org>
1133
1134         IndexedDB: Allow multiple transactions to interleave request execution
1135         https://bugs.webkit.org/show_bug.cgi?id=97570
1136
1137         Reviewed by Tony Chang.
1138
1139         Map to IDBTransaction::Mode enum as appropriate.
1140
1141         * src/IDBDatabaseBackendProxy.cpp:
1142         (WebKit::IDBDatabaseBackendProxy::createTransaction):
1143         * src/IDBDatabaseBackendProxy.h:
1144         (IDBDatabaseBackendProxy):
1145         * src/WebIDBDatabaseImpl.cpp:
1146         (WebKit::WebIDBDatabaseImpl::createTransaction):
1147          * tests/IDBDatabaseBackendTest.cpp:
1148
1149 2012-12-05  Eberhard Graether  <egraether@google.com>
1150
1151         [chromium] Remove WebLayerTreeView API to set font atlas
1152         https://bugs.webkit.org/show_bug.cgi?id=102960
1153
1154         Reviewed by James Robinson.
1155
1156         Removes old font atlas creation from WebViewImpl.
1157
1158         * src/WebViewImpl.cpp:
1159         (WebKit::WebViewImpl::WebViewImpl):
1160         (WebKit::WebViewImpl::setShowFPSCounter):
1161         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1162         (WebKit):
1163         * src/WebViewImpl.h:
1164
1165 2012-12-05  Stephen White  <senorblanco@chromium.org>
1166
1167         Unreviewed, rolling out r136735.
1168         http://trac.webkit.org/changeset/136735
1169         https://bugs.webkit.org/show_bug.cgi?id=102699
1170
1171         Broke Chrome/Win build.
1172
1173         * src/PlatformSupport.cpp:
1174         (WebCore):
1175         (WebCore::PlatformSupport::paintButton):
1176         (WebCore::PlatformSupport::paintMenuList):
1177         (WebCore::PlatformSupport::paintScrollbarArrow):
1178         (WebCore::PlatformSupport::paintScrollbarThumb):
1179         (WebCore::PlatformSupport::paintScrollbarTrack):
1180         (WebCore::PlatformSupport::paintSpinButton):
1181         (WebCore::PlatformSupport::paintTextField):
1182         (WebCore::PlatformSupport::paintTrackbar):
1183         (WebCore::PlatformSupport::paintProgressBar):
1184
1185 2012-12-05  Stephen White  <senorblanco@chromium.org>
1186
1187         Unreviewed, rolling out r136741.
1188         http://trac.webkit.org/changeset/136741
1189         https://bugs.webkit.org/show_bug.cgi?id=104151
1190
1191         Broke Chrome/Win build.
1192
1193         * WebKit.gyp:
1194         * src/PlatformSupport.cpp:
1195         (WebCore):
1196         (WebCore::WorkerContextProxy::create):
1197         * src/WorkerContextProxy.cpp: Removed.
1198
1199 2012-12-05  Mark Pilgrim  <pilgrim@chromium.org>
1200
1201         [Chromium] Move WorkerContextProxy::create out of PlatformSupport
1202         https://bugs.webkit.org/show_bug.cgi?id=104151
1203
1204         Reviewed by Adam Barth.
1205
1206         Doesn't really solve the layering violation as much as kick it
1207         down the road a bit. Part of a refactoring series; see tracking
1208         bug 82948.
1209
1210         * WebKit.gyp:
1211         * src/PlatformSupport.cpp:
1212         (WebCore):
1213         * src/WorkerContextProxy.cpp: Added.
1214         (WebCore):
1215         (WebCore::WebCore::WorkerContextProxy::create):
1216
1217 2012-12-05  Mark Pilgrim  <pilgrim@chromium.org>
1218
1219         [Chromium][Win] Remove theme-related functions from PlatformSupport
1220         https://bugs.webkit.org/show_bug.cgi?id=102699
1221
1222         Reviewed by Adam Barth.
1223
1224         Call theme engine directly instead of going through
1225         PlatformSupport. Part of a refactoring series. See tracking bug 82948.
1226
1227         * src/PlatformSupport.cpp:
1228         (WebCore::PlatformSupport::pluginScriptableObject):
1229
1230 2012-12-05  Stephen White  <senorblanco@chromium.org>
1231
1232         Unreviewed, rolling out r136609.
1233         http://trac.webkit.org/changeset/136609
1234         https://bugs.webkit.org/show_bug.cgi?id=103793
1235
1236         Breaking Chrome/Mac Debug builds.
1237
1238         * WebKit.gyp:
1239
1240 2012-12-05  Alec Flett  <alecflett@chromium.org>
1241
1242         IndexedDB: Stub out transaction-backend methods
1243         https://bugs.webkit.org/show_bug.cgi?id=103921
1244
1245         Reviewed by Dimitri Glazkov.
1246
1247         Add new signatures for refactoring, to allow
1248         transaction_ids to make is through the open/onUpgradeNeeded
1249         loop.
1250
1251         * public/WebIDBCallbacks.h:
1252         (WebKit::WebIDBCallbacks::onUpgradeNeeded):
1253         * public/WebIDBDatabase.h:
1254         (WebKit::WebIDBDatabase::createTransaction):
1255         (WebKit::WebIDBDatabase::abort):
1256         (WebKit::WebIDBDatabase::commit):
1257         (WebIDBDatabase):
1258         * public/WebIDBDatabaseCallbacks.h:
1259         (WebIDBDatabaseCallbacks):
1260         (WebKit::WebIDBDatabaseCallbacks::onAbort):
1261         (WebKit::WebIDBDatabaseCallbacks::onComplete):
1262         * public/WebIDBFactory.h:
1263         (WebKit::WebIDBFactory::open):
1264         * src/IDBCallbacksProxy.cpp:
1265         (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
1266         (WebKit):
1267         * src/IDBCallbacksProxy.h:
1268         (IDBCallbacksProxy):
1269         * src/IDBDatabaseBackendProxy.cpp:
1270         (WebKit::IDBDatabaseBackendProxy::createTransaction):
1271         (WebKit):
1272         (WebKit::IDBDatabaseBackendProxy::commit):
1273         (WebKit::IDBDatabaseBackendProxy::abort):
1274         * src/IDBDatabaseBackendProxy.h:
1275         (IDBDatabaseBackendProxy):
1276         * src/IDBDatabaseCallbacksProxy.cpp:
1277         (WebKit::IDBDatabaseCallbacksProxy::onAbort):
1278         (WebKit):
1279         (WebKit::IDBDatabaseCallbacksProxy::onComplete):
1280         * src/IDBDatabaseCallbacksProxy.h:
1281         (IDBDatabaseCallbacksProxy):
1282         * src/IDBFactoryBackendProxy.cpp:
1283         (WebKit::IDBFactoryBackendProxy::open):
1284         (WebKit):
1285         * src/IDBFactoryBackendProxy.h:
1286         (IDBFactoryBackendProxy):
1287         * src/WebIDBCallbacksImpl.cpp:
1288         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
1289         (WebKit):
1290         * src/WebIDBCallbacksImpl.h:
1291         (WebIDBCallbacksImpl):
1292         * src/WebIDBDatabaseCallbacksImpl.cpp:
1293         (WebKit::WebIDBDatabaseCallbacksImpl::onAbort):
1294         (WebKit):
1295         (WebKit::WebIDBDatabaseCallbacksImpl::onComplete):
1296         * src/WebIDBDatabaseCallbacksImpl.h:
1297         (WebIDBDatabaseCallbacksImpl):
1298         * src/WebIDBDatabaseImpl.cpp:
1299         (WebKit::WebIDBDatabaseImpl::createTransaction):
1300         (WebKit):
1301         (WebKit::WebIDBDatabaseImpl::abort):
1302         (WebKit::WebIDBDatabaseImpl::commit):
1303         * src/WebIDBDatabaseImpl.h:
1304         (WebIDBDatabaseImpl):
1305         * src/WebIDBFactoryImpl.cpp:
1306         (WebKit::WebIDBFactoryImpl::open):
1307         (WebKit):
1308         * src/WebIDBFactoryImpl.h:
1309         (WebIDBFactoryImpl):
1310         * tests/IDBAbortOnCorruptTest.cpp:
1311         * tests/IDBDatabaseBackendTest.cpp:
1312
1313 2012-11-27  Alec Flett  <alecflett@chromium.org>
1314
1315         IndexedDB: remove IDBDatabaseBackendInterface::transaction()
1316         https://bugs.webkit.org/show_bug.cgi?id=102733
1317
1318         Reviewed by Darin Fisher.
1319
1320         Part 3 of a refactor - just remove the proxy code for the now
1321         defunct transaction method.
1322
1323         * public/WebIDBDatabase.h:
1324         * src/IDBDatabaseBackendProxy.cpp:
1325         * src/IDBDatabaseBackendProxy.h:
1326         (IDBDatabaseBackendProxy):
1327         * src/WebIDBDatabaseImpl.cpp:
1328         * src/WebIDBDatabaseImpl.h:
1329         (WebIDBDatabaseImpl):
1330         * tests/IDBDatabaseBackendTest.cpp:
1331
1332 2012-12-05  Joshua Bell  <jsbell@chromium.org>
1333
1334         IndexedDB: Replace use of ScriptExecutionContext::Task (Part 2)
1335         https://bugs.webkit.org/show_bug.cgi?id=103931
1336
1337         Reviewed by Tony Chang.
1338
1339         Now that IDBCallbacks uses real RefPtr<> a mock class needs to be heap allocated.
1340
1341         * tests/IDBAbortOnCorruptTest.cpp:
1342         (WebCore::MockIDBCallbacks::create):
1343         (WebCore::MockIDBCallbacks::MockIDBCallbacks):
1344         (MockIDBCallbacks):
1345         (WebCore::TEST):
1346
1347 2012-12-05  Stephen White  <senorblanco@chromium.org>
1348
1349         Unreviewed.  Rolled DEPS.
1350
1351         * DEPS:
1352
1353 2012-12-05  Keishi Hattori  <keishi@webkit.org>
1354
1355         Fix text direction in datalist popup for time controls
1356         https://bugs.webkit.org/show_bug.cgi?id=103853
1357
1358         Reviewed by Kent Tamura.
1359
1360         * src/DateTimeChooserImpl.cpp:
1361         (WebKit::DateTimeChooserImpl::writeDocument): Renamed isCalendarRTL to isLocaleRTL.
1362
1363 2012-12-04  Kentaro Hara  <haraken@chromium.org>
1364
1365         [V8] Remove toV8Object()
1366         https://bugs.webkit.org/show_bug.cgi?id=103987
1367
1368         Reviewed by Adam Barth.
1369
1370         toV8Object() is used only for MessagePort and ArrayBuffer
1371         only by SerializedScriptValue. It is wasteful to generate
1372         toV8Object() for all interfaces.
1373
1374         No tests. No change in behavior.
1375
1376         * src/WebArrayBuffer.cpp:
1377         (WebKit::WebArrayBuffer::toV8Value):
1378         * src/WebBlob.cpp:
1379         (WebKit::WebBlob::toV8Value):
1380
1381 2012-12-04  David Dorwin  <ddorwin@chromium.org>
1382
1383         [Chromium] Detach the frame and destroy the page immediately upon request to closeHelperPlugin().
1384         https://bugs.webkit.org/show_bug.cgi?id=103947
1385
1386         Reviewed by Kent Tamura.
1387
1388         In the case that the host page is being destroyed, some of the objects
1389         the page depends on, specifically RenderViewImpl, may be destroyed by
1390         the time close() is called asynchronously.
1391         The frameDetached() calling code was originally copied from
1392         WebViewImpl::close(), but WebViewImpl does not have an asynchronous
1393         closing mechanism like the WebWidgets.
1394
1395         This is the fix for http://crbug.com/160650
1396
1397         * src/WebHelperPluginImpl.cpp:
1398         (WebKit::WebHelperPluginImpl::init):
1399         (WebKit::WebHelperPluginImpl::closeHelperPlugin):
1400         (WebKit::WebHelperPluginImpl::destoryPage):
1401         (WebKit):
1402         (WebKit::WebHelperPluginImpl::close):.
1403         (WebKit::WebHelperPlugin::create):
1404         * src/WebHelperPluginImpl.h:
1405         (WebHelperPluginImpl):
1406         * src/WebPagePopupImpl.cpp: Made similar changes since it follows the same model. (I think the way popups are closed has prevented the race condition from occurring for popups.)
1407         (WebKit::WebPagePopupImpl::destoryPage):
1408         (WebKit):
1409         (WebKit::WebPagePopupImpl::close):
1410         (WebKit::WebPagePopupImpl::closePopup):
1411         * src/WebPagePopupImpl.h:
1412         (WebPagePopupImpl):
1413
1414 2012-12-04  David Dorwin  <ddorwin@chromium.org>
1415
1416         [Chromium] Removed obsolete local variable from WebViewImpl.cpp.
1417         https://bugs.webkit.org/show_bug.cgi?id=104050
1418
1419         Reviewed by Kent Tamura.
1420
1421         These lines were added with the file in 50739#L761 but the later use
1422         of this variable at L779 has since been removed.
1423
1424         * src/WebViewImpl.cpp:
1425         (WebKit::WebViewImpl::close):
1426
1427 2012-12-04  Alpha Lam  <hclam@chromium.org>
1428
1429         [chromium] Implement cache eviction logic in ImageDecodingStore
1430         https://bugs.webkit.org/show_bug.cgi?id=103480
1431
1432         Reviewed by James Robinson.
1433
1434         Added ImageDecodingStoreTest for unit testing new image cache.
1435
1436         New tests:
1437
1438         ImageDecodingStoreTest.evictOneCache
1439
1440         Test eviction of one cache entry by setting a smaller cache limit.
1441
1442         ImageDecodingStoreTest.pruneOrderIsLeastRecentlyUsed
1443
1444         Test eviction order is least recently used.
1445
1446         ImageDecodingStoreTest.pruneCausedByInsertion
1447
1448         Test that eviction is triggered also by cache insertion.
1449
1450         ImageDecodingStoreTest.cacheInUseNotEvicted
1451
1452         Test that cache in use is not evicted.
1453
1454         ImageDecodingStoreTest.destroyImageFrameGenerator
1455
1456         Test that deleting a ImageFrameGenerator causes associated cache
1457         entries to be removed.
1458
1459         * WebKit.gypi:
1460         * tests/ImageDecodingStoreTest.cpp: Added.
1461         (WebCore):
1462         (ImageDecodingStoreTest):
1463         (WebCore::ImageDecodingStoreTest::SetUp):
1464         (WebCore::ImageDecodingStoreTest::TearDown):
1465         (WebCore::ImageDecodingStoreTest::createCompleteImage):
1466         (WebCore::ImageDecodingStoreTest::insertCache):
1467         (WebCore::ImageDecodingStoreTest::lockCache):
1468         (WebCore::ImageDecodingStoreTest::unlockCache):
1469         (WebCore::ImageDecodingStoreTest::evictOneCache):
1470         (WebCore::ImageDecodingStoreTest::isCacheAlive):
1471         (WebCore::TEST_F):
1472
1473 2012-12-04  Kenneth Russell  <kbr@google.com>
1474
1475         Associate URLs with GraphicsContext3D instances created for WebGL
1476         https://bugs.webkit.org/show_bug.cgi?id=103793
1477
1478         Reviewed by Adam Barth.
1479
1480         * WebKit.gyp:
1481             Allow WebURL.h to be included directly or indirectly from Platform.h.
1482
1483 2012-12-04  Adam Barth  <abarth@webkit.org>
1484
1485         [V8] Cleanup style in V8DOMWrapper
1486         https://bugs.webkit.org/show_bug.cgi?id=104062
1487
1488         Reviewed by Kentaro Hara.
1489
1490         * src/WebBindings.cpp:
1491         (WebKit::getRangeImpl):
1492
1493 2012-12-04  Stephen White  <senorblanco@chromium.org>
1494
1495         [chromium] Turn on the new Skia mask blur algorithm.
1496         https://bugs.webkit.org/show_bug.cgi?id=103906
1497
1498         Reviewed by Adrienne Walker.
1499
1500         * skia_webkit.gyp:
1501
1502 2012-12-04  Stephen White  <senorblanco@chromium.org>
1503
1504         Unreviewed.  Rolled DEPS.
1505
1506         * DEPS:
1507
1508 2012-12-04  David Grogan  <dgrogan@chromium.org>
1509
1510         IndexedDB: Propagate more leveldb errors to IDBIndex and IDBObjectStore
1511         https://bugs.webkit.org/show_bug.cgi?id=103782
1512
1513         Reviewed by Tony Chang.
1514
1515         * tests/IDBFakeBackingStore.h:
1516           Remove changed methods that are no longer necessary.
1517
1518 2012-12-04  Stephen White  <senorblanco@chromium.org>
1519
1520         Rolled DEPS (w/Linux build fix).  Unreviewed.
1521
1522         * DEPS:
1523
1524 2012-12-04  Stephen White  <senorblanco@chromium.org>
1525
1526         Unreviewed, rolling out r136530.
1527         http://trac.webkit.org/changeset/136530
1528
1529         Broke build.webkit.org linux build
1530
1531         * DEPS:
1532
1533 2012-12-04  Stephen White  <senorblanco@chromium.org>
1534
1535         Unreviewed.  Rolled DEPS.
1536
1537         * DEPS:
1538
1539 2012-12-04  Eberhard Graether  <egraether@google.com>
1540
1541         [chromium] fix showFPScounter and showPaintRects not toggleable after page change
1542         https://bugs.webkit.org/show_bug.cgi?id=103937
1543
1544         Reviewed by Pavel Feldman.
1545
1546         This change avoids updating the WebSettings and uses fields for showFPSCounter and
1547         showPaintRects in WebViewImpl instead, which hold the values between InspectorPageAgent::restore()
1548         and WebViewImpl::setIsAcceleratedCompositingActive().
1549
1550         * src/WebViewImpl.cpp:
1551         (WebKit::WebViewImpl::WebViewImpl):
1552         (WebKit::WebViewImpl::setShowFPSCounter):
1553         (WebKit::WebViewImpl::setShowPaintRects):
1554         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1555         * src/WebViewImpl.h:
1556
1557 2012-12-04  Charlie Reis  <creis@chromium.org>
1558
1559         Add FrameLoaderClient::didDisownOpener
1560         https://bugs.webkit.org/show_bug.cgi?id=103789
1561
1562         Reviewed by Darin Fisher.
1563
1564         Forwards the didDisownOpener notification to the WebFrameClient.
1565
1566         * public/WebFrameClient.h:
1567         (WebFrameClient):
1568         (WebKit::WebFrameClient::didDisownOpener):
1569         * src/FrameLoaderClientImpl.cpp:
1570         (WebKit::FrameLoaderClientImpl::didDisownOpener):
1571         (WebKit):
1572         * src/FrameLoaderClientImpl.h:
1573         (FrameLoaderClientImpl):
1574
1575 2012-12-04  Stephen Chenney  <schenney@chromium.org>
1576
1577         [chromium] Turn on the new Skia mask blur algorithm.
1578         https://bugs.webkit.org/show_bug.cgi?id=103906
1579
1580         Unreviewed roll out.
1581
1582         The previous patch was premature and is causing issues rolling skia deps and Chromium deps.
1583
1584         * skia_webkit.gyp:
1585
1586 2012-12-03  Joshua Bell  <jsbell@chromium.org>
1587
1588         IndexedDB: Correct database version after aborted upgrade
1589         https://bugs.webkit.org/show_bug.cgi?id=103763
1590
1591         Reviewed by Tony Chang.
1592
1593         Pass previously created proxy along in an open onSuccess, rather than a useless wrapper.
1594
1595         * src/WebIDBCallbacksImpl.cpp:
1596         (WebKit::WebIDBCallbacksImpl::WebIDBCallbacksImpl):
1597         (WebKit::WebIDBCallbacksImpl::onSuccess):
1598         (WebKit::WebIDBCallbacksImpl::onUpgradeNeeded):
1599         * src/WebIDBCallbacksImpl.h:
1600         (WebCore):
1601         (WebIDBCallbacksImpl):
1602
1603 2012-12-03  Rafael Weinstein  <rafaelw@chromium.org>
1604
1605         Implement HTMLTemplateElement
1606         https://bugs.webkit.org/show_bug.cgi?id=86031
1607
1608         Reviewed by Adam Barth.
1609
1610         Turning on HTMLTemplateElement for chromium port.
1611
1612         * features.gypi:
1613
1614 2012-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>
1615
1616         Unreviewed, rolling out r136460.
1617         http://trac.webkit.org/changeset/136460
1618         https://bugs.webkit.org/show_bug.cgi?id=103958
1619
1620         This patch caused compile error when building DumpRenderTree
1621         (Requested by tasak on #webkit).
1622
1623         * WebKit.gyp:
1624         * public/linux/WebRenderTheme.h: Added.
1625         (WebKit):
1626         * src/WebViewImpl.cpp:
1627         (WebKit::WebViewImpl::setScrollbarColors):
1628         (WebKit::WebViewImpl::setSelectionColors):
1629         * src/linux/WebRenderTheme.cpp: Added.
1630         (WebKit):
1631         (WebKit::setCaretBlinkInterval):
1632
1633 2012-12-03  Scott Violet  <sky@chromium.org>
1634
1635         [chromium] Remove linux theme related files and switch to default
1636         https://bugs.webkit.org/show_bug.cgi?id=103897
1637
1638         Reviewed by Darin Fisher.
1639
1640         linux theme related files are now named default. This removes
1641         linux files updates build files and removes ifdefs.
1642
1643         * WebKit.gyp: update rules.
1644         * public/linux/WebRenderTheme.h: Removed.
1645         * src/WebViewImpl.cpp:
1646         (WebKit::WebViewImpl::setScrollbarColors): Update ifdefs
1647         (WebKit::WebViewImpl::setSelectionColors): Update ifdefs
1648         * src/linux/WebRenderTheme.cpp: Removed.
1649
1650 2012-12-03  Fady Samuel  <fsamuel@chromium.org>
1651
1652         [Chromium] Expose removeAttribute in WebElement
1653         https://bugs.webkit.org/show_bug.cgi?id=103780
1654
1655         Reviewed by Darin Fisher.
1656
1657         * public/WebElement.h:
1658         (WebElement):
1659         * src/WebElement.cpp:
1660         (WebKit::WebElement::removeAttribute):
1661         (WebKit):
1662
1663 2012-12-03  Eugene Klyuchnikov  <eustas@chromium.org>
1664
1665         Web Inspector: Make main-thread monitoring go through InspectorController
1666         https://bugs.webkit.org/show_bug.cgi?id=103550
1667
1668         Reviewed by Pavel Feldman.
1669
1670         InspectorInstrumentation was a wrong path.
1671
1672         * src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and
1673         listen/unlisten methods.
1674         * src/InspectorClientImpl.h: Ditto.
1675         * src/WebDevToolsAgentImpl.cpp:
1676         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
1677         Unsubscribe for main thread activity events.
1678         (WebKit::WebDevToolsAgentImpl::detach): Ditto.
1679         (WebKit::WebDevToolsAgentImpl::attach):
1680         Subscribe for main thread activity events.
1681         (WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TasObserver
1682         interface. Froward to InspectorController.
1683         (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
1684         * src/WebDevToolsAgentImpl.h: Implement TasObserver interface.
1685
1686 2012-12-03  Alec Flett  <alecflett@chromium.org>
1687
1688         IndexedDB: remove IDBDatabaseBackendInterface::transaction()
1689         https://bugs.webkit.org/show_bug.cgi?id=102733
1690
1691         Reviewed by Darin Fisher.
1692
1693         Part 3 of a refactor - just remove the proxy code for the now
1694         defunct transaction method.
1695
1696         * public/WebIDBDatabase.h:
1697         * src/IDBDatabaseBackendProxy.cpp:
1698         * src/IDBDatabaseBackendProxy.h:
1699         (IDBDatabaseBackendProxy):
1700         * src/WebIDBDatabaseImpl.cpp:
1701         * src/WebIDBDatabaseImpl.h:
1702         (WebIDBDatabaseImpl):
1703         * tests/IDBDatabaseBackendTest.cpp:
1704
1705 2012-12-03  Sami Kyostila  <skyostil@chromium.org>
1706
1707         [chromium] Tell WebInputHandlerClient when end of input is reached for current vsync period
1708         https://bugs.webkit.org/show_bug.cgi?id=103648
1709
1710         Reviewed by James Robinson.
1711
1712         Let the WebInputHandlerClient know when we've received the final input event
1713         for the current vsync period.
1714
1715         Test: WebCompositorInputHandlerImplTest.lastInputEventForVSync
1716
1717         * src/WebCompositorInputHandlerImpl.cpp:
1718         (WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
1719
1720 2012-12-03  Stephen White  <senorblanco@chromium.org>
1721
1722         [chromium] Turn on the new Skia mask blur algorithm.
1723         https://bugs.webkit.org/show_bug.cgi?id=103906
1724
1725         Reviewed by Adrienne Walker.
1726
1727         * skia_webkit.gyp:
1728
1729 2012-12-03  Erik Arvidsson  <arv@chromium.org>
1730
1731         [Chromium] Fix issue with hard coded error codes in quota error
1732         https://bugs.webkit.org/show_bug.cgi?id=103892
1733
1734         Reviewed by Darin Fisher.
1735
1736         Chromium currently hard codes the enum values for QuotaStatusCode. To fix
1737         this we need to do a few iteration of changes. This is the first step and
1738         it exposes the enums that Chromium depends on.
1739
1740         * public/WebStorageQuotaError.h:
1741
1742 2012-12-03  Joshua Bell  <jsbell@chromium.org>
1743
1744         IndexedDB: Rename exception enum members from UGLY_ERR to PrettyError
1745         https://bugs.webkit.org/show_bug.cgi?id=103759
1746
1747         Reviewed by Darin Fisher.
1748
1749         Update IDBDatabaseException enum names/values to match WebCore.
1750
1751         * public/WebIDBDatabaseException.h:
1752         * src/AssertMatchingEnums.cpp:
1753         * src/IDBFactoryBackendProxy.cpp:
1754         (WebKit::IDBFactoryBackendProxy::allowIndexedDB):
1755         * tests/IDBRequestTest.cpp:
1756
1757 2012-12-03  Tommy Widenflycht  <tommyw@google.com>
1758
1759         Speech Recognition API: Update SpeechRecognitionEvent to match the specification
1760         https://bugs.webkit.org/show_bug.cgi?id=103407
1761
1762         Reviewed by Kentaro Hara.
1763
1764         Adding the new didReceiveResults method.
1765
1766         * public/WebSpeechRecognizerClient.h:
1767         * src/SpeechRecognitionClientProxy.cpp:
1768         (WebKit::SpeechRecognitionClientProxy::didReceiveResults):
1769         (WebKit):
1770         * src/SpeechRecognitionClientProxy.h:
1771         (SpeechRecognitionClientProxy):
1772
1773 2012-12-03  Sami Kyostila  <skyostil@chromium.org>
1774
1775         [chromium] Mark last input event for current vsync interval
1776         https://bugs.webkit.org/show_bug.cgi?id=103647
1777
1778         Reviewed by James Robinson.
1779
1780         On Android all input events are triggered at the start of a vsync to maximize
1781         the amount of time an application has for painting. Add a field to
1782         WebInputEvent to indicate when the input event is the final one for the
1783         current vsync interval. This information will be used for more efficient
1784         render scheduling.
1785
1786         * public/WebInputEvent.h:
1787         (WebKit::WebInputEvent::WebInputEvent):
1788
1789 2012-12-02  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1790
1791         [chromium] Correct the location of synthetic mouse events when page is zoomed
1792         https://bugs.webkit.org/show_bug.cgi?id=103823
1793
1794         Reviewed by Adam Barth.
1795
1796         The event-location conversion function expects absolute locations. Change the
1797         function name to reflect that, and use the absolute location of the touch-points
1798         when converting from touch events.
1799
1800         * src/WebInputEventConversion.cpp:
1801         (WebKit::convertAbsoluteLocationForRenderObject):
1802         (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
1803         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1804         (WebKit::addTouchPoints):
1805         (WebKit::WebGestureEventBuilder::WebGestureEventBuilder):
1806
1807 2012-12-02  Miguel Garcia  <miguelg@chromium.org>
1808
1809         [Chromium] Create an enum for the kind of date input and use that on WebDateTimeChooserParams instead of a bare WebString
1810         https://bugs.webkit.org/show_bug.cgi?id=103746
1811
1812         Reviewed by Kent Tamura.
1813
1814         Using an enum makes the chromium part much simpler and prevents makes sure that new items are added explicitly.
1815
1816         * WebKit.gyp:
1817         * public/WebDateTimeChooserParams.h:
1818         (WebDateTimeChooserParams):
1819         * public/WebDateTimeInputType.h: Copied from Source/WebKit/chromium/public/WebTextInputType.h.
1820         (WebKit):
1821         * public/WebTextInputType.h:
1822         * public/WebViewClient.h:
1823         (WebViewClient):
1824         * src/ExternalDateTimeChooser.cpp:
1825         (WebKit::ExternalDateTimeChooser::openDateTimeChooser):
1826         (WebKit::ExternalDateTimeChooser::webType):
1827         (WebKit):
1828         * src/ExternalDateTimeChooser.h:
1829         (ExternalDateTimeChooser):
1830
1831 2012-12-02  Robert Kroeger  <rjkroege@chromium.org>
1832
1833         [chromium] make sourceDevice available to more WebGestureEvent subtypes
1834         https://bugs.webkit.org/show_bug.cgi?id=103551
1835
1836         Reviewed by James Robinson.
1837
1838         Added an additional data payload to WebGestureEvent that can
1839         contain the source device (touchpad or touchscreen).
1840
1841         * public/WebInputEvent.h:
1842         * src/WebInputEvent.cpp:
1843         (SameSizeAsWebGestureEvent):
1844
1845 2012-12-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1846
1847         Unreviewed, rolling out r136236.
1848         http://trac.webkit.org/changeset/136236
1849         https://bugs.webkit.org/show_bug.cgi?id=103833
1850
1851         [chromium] Flakey crashes in SpeechRecognitionEvent::emma
1852         during GC. (Requested by mkwst on #webkit).
1853
1854         * public/WebSpeechRecognizerClient.h:
1855         * src/SpeechRecognitionClientProxy.cpp:
1856         * src/SpeechRecognitionClientProxy.h:
1857         (SpeechRecognitionClientProxy):
1858
1859 2012-11-30  Mike West  <mkwst@chromium.org>
1860
1861         CSP 1.1: Make the CSP_NEXT flag runtime enabled.
1862         https://bugs.webkit.org/show_bug.cgi?id=103652
1863
1864         Reviewed by Adam Barth.
1865
1866         The CSP_NEXT flag continues to be enabled on the Chromium port, but this
1867         patch now locks the features away behind the securityPolicy runtime
1868         flag.
1869
1870         * public/WebRuntimeFeatures.h:
1871         (WebRuntimeFeatures):
1872         * src/WebRuntimeFeatures.cpp:
1873         (WebKit::WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures):
1874         (WebKit):
1875         (WebKit::WebRuntimeFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled):
1876             Adds the feature to WebRuntimeFeatures so it can be toggled from
1877             inside Chromium.
1878
1879 2012-11-30  Stephen White  <senorblanco@chromium.org>
1880
1881         [Chromium] Suppress the new separable mask blurs in skia until the tests can be rebaselined.
1882         https://bugs.webkit.org/show_bug.cgi?id=103766
1883
1884         Unreviewed.
1885
1886         * skia_webkit.gyp:
1887
1888 2012-11-30  Stephen White  <senorblanco@chromium.org>
1889
1890         Unreviewed.  Rolled DEPS.
1891
1892         * DEPS:
1893
1894 2012-11-29  Tommy Widenflycht  <tommyw@google.com>
1895
1896         Speech Recognition API: Update SpeechRecognitionEvent to match the specification
1897         https://bugs.webkit.org/show_bug.cgi?id=103407
1898
1899         Reviewed by Adam Barth.
1900
1901         Adding the new didReceiveResults method.
1902
1903         * public/WebSpeechRecognizerClient.h:
1904         * src/SpeechRecognitionClientProxy.cpp:
1905         (WebKit::SpeechRecognitionClientProxy::didReceiveResults):
1906         (WebKit):
1907         * src/SpeechRecognitionClientProxy.h:
1908         (SpeechRecognitionClientProxy):
1909
1910 2012-11-30  Keishi Hattori  <keishi@webkit.org>
1911
1912         [Chromium] Page popup doesn't change mouse cursor
1913         https://bugs.webkit.org/show_bug.cgi?id=97454
1914
1915         Reviewed by Kent Tamura.
1916
1917         The mouse cursor should change based on the page popup content and not the main window content.
1918         On Mac the mousemove event propagates to both the page popup and main window causing the cursor to flicker.
1919         The change to ChromeClientImpl stops that.
1920
1921         * src/ChromeClientImpl.cpp:
1922         (WebKit::ChromeClientImpl::setCursor): On Mac, don't update the mouse cursor if a popup is open.
1923         * src/WebPagePopupImpl.cpp: Implement setCursor so the mouse cursor gets set based on the page popup content.
1924
1925 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
1926
1927         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
1928         https://bugs.webkit.org/show_bug.cgi?id=101192
1929
1930         Reviewed by Hajime Morita.
1931
1932         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1933
1934         Tests: No new tests because there is no functional change.
1935
1936         * public/WebRuntimeFeatures.h:
1937         (WebRuntimeFeatures):
1938         * public/WebSettings.h: moved setExperimentalCSSRegionsEnabled to the bottom of the interface and made it a
1939         no-op.  After this patch lands and Chromium's webkit_rev is increased, we'll remove any callers in Chromium. Once
1940         the Chromium callers are gone and WebKit's chromium_rev is increased, we'll remove the deprecated API.
1941         * src/WebRuntimeFeatures.cpp:
1942         (WebKit::WebRuntimeFeatures::enableCSSRegions):
1943         (WebKit):
1944         (WebKit::WebRuntimeFeatures::isCSSRegionsEnabled):
1945         * src/WebSettingsImpl.cpp:
1946         * src/WebSettingsImpl.h:
1947         (WebSettingsImpl):
1948
1949 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
1950
1951         [HTMLTemplateElement] Add feature flag
1952         https://bugs.webkit.org/show_bug.cgi?id=103694
1953
1954         Reviewed by Adam Barth.
1955
1956         This flag will guard the implementation of the HTMLTemplateElement.
1957         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
1958
1959
1960         * features.gypi:
1961
1962 2012-11-29  David Grogan  <dgrogan@chromium.org>
1963
1964         IndexedDB: Propagate more leveldb errors to script
1965         https://bugs.webkit.org/show_bug.cgi?id=103580
1966
1967         Reviewed by Tony Chang.
1968
1969         * tests/IDBFakeBackingStore.h:
1970          Update method signatures.
1971
1972 2012-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1973
1974         Unreviewed, rolling out r136171.
1975         http://trac.webkit.org/changeset/136171
1976         https://bugs.webkit.org/show_bug.cgi?id=103695
1977
1978         Likely caused ReOpenedWithID and ReOpenedWithURL to fail in
1979         linux/chromeos (Requested by zhenyao on #webkit).
1980
1981         * src/InspectorClientImpl.cpp:
1982         (WebKit::InspectorClientImpl::startMainThreadMonitoring):
1983         (WebKit):
1984         (WebKit::InspectorClientImpl::stopMainThreadMonitoring):
1985         (WebKit::InspectorClientImpl::willProcessTask):
1986         (WebKit::InspectorClientImpl::didProcessTask):
1987         * src/InspectorClientImpl.h:
1988         (InspectorClientImpl):
1989         * src/WebDevToolsAgentImpl.cpp:
1990         (WebKit::WebDevToolsAgentImpl::attach):
1991         (WebKit::WebDevToolsAgentImpl::detach):
1992         * src/WebDevToolsAgentImpl.h:
1993         (WebDevToolsAgentImpl):
1994
1995 2012-11-29  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1996
1997         [chromium] Remove deprecated API since it is no longer used
1998         https://bugs.webkit.org/show_bug.cgi?id=103570
1999
2000         Reviewed by Adam Barth.
2001
2002         Remove WebPluginContainer::setIsAcceptingTouchEvents, since this is not used anymore,
2003         in favour of WebPluginContainer::requestTouchEventType.
2004
2005         * public/WebPluginContainer.h:
2006         (WebPluginContainer):
2007         * src/WebPluginContainerImpl.cpp:
2008         * src/WebPluginContainerImpl.h:
2009         (WebPluginContainerImpl):
2010
2011 2012-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2012
2013         Unreviewed.  Rolled DEPS.
2014
2015         * DEPS:
2016
2017 2012-11-29  Eugene Klyuchnikov  <eustas@chromium.org>
2018
2019         Web Inspector: Make main-thread monitoring go through InspectorController.
2020         https://bugs.webkit.org/show_bug.cgi?id=103550
2021
2022         Reviewed by Pavel Feldman.
2023
2024         InspectorInstrumentation was a wrong path
2025
2026         * src/InspectorClientImpl.cpp: Remove TaskObserver implementation, and
2027         listen/unlisten methods.
2028         * src/InspectorClientImpl.h: Ditto.
2029         * src/WebDevToolsAgentImpl.cpp:
2030         (WebKit::WebDevToolsAgentImpl::attach):
2031         Subscribe for main thread activity events.
2032         (WebKit::WebDevToolsAgentImpl::detach):
2033         Unsubscribe for main thread activity events.
2034         (WebKit::WebDevToolsAgentImpl::willProcessTask): Implement TaskObserver
2035         interface. Froward to InspectorController.
2036         (WebKit::WebDevToolsAgentImpl::didProcessTask): Ditto.
2037         * src/WebDevToolsAgentImpl.h: Implement TaskObserver interface.
2038
2039 2012-11-29  Stephen Chenney  <schenney@chromium.org>
2040
2041         [Chromium] Add code supppression flags for skia
2042
2043         Unreviewed addition of Skia build flags to allow for their removal from Chromium's skia.gyp.
2044
2045         * skia_webkit.gyp: Added defines for SK_DISABLE_DITHER_32BIT_GRADIENT and SK_DISABLE_DASHING_OPTIMIZATION
2046
2047 2012-11-29  Florin Malita  <fmalita@chromium.org>
2048
2049         [Skia] Add missing OpaqueRegionSkia notifier calls
2050         https://bugs.webkit.org/show_bug.cgi?id=102824
2051
2052         Reviewed by Stephen White.
2053
2054         Add opaque region tracking unit tests for the new PlatformContextSkia draw methods.
2055
2056         * tests/PlatformContextSkiaTest.cpp:
2057         (WebCore::TEST):
2058         (WebCore):
2059
2060 2012-11-29  Miguel Garcia  <miguelg@chromium.org>
2061
2062         Fix typo in description of openDateTimeChooser documentation
2063         https://bugs.webkit.org/show_bug.cgi?id=103622
2064
2065         Reviewed by Kent Tamura.
2066
2067
2068         * public/WebViewClient.h:
2069         (WebViewClient):
2070
2071 2012-11-28  Robert Kroeger  <rjkroege@chromium.org>
2072
2073         remove unused PlatformGestureCurve code
2074         https://bugs.webkit.org/show_bug.cgi?id=103296
2075
2076         Reviewed by Adam Barth.
2077
2078         Previous CLs have made the Chromium embedder provide gesture fling
2079         curve implementation to WebKit. Consequently no platform uses the
2080         gestural fling code currently found in WebKit. This CL removes this code.
2081
2082         Code removal only: covered by existing tests.
2083
2084         * WebKit.gypi:
2085         * tests/PlatformGestureCurveTest.cpp: Removed.
2086
2087 2012-11-28  Mark Pilgrim  <pilgrim@chromium.org>
2088
2089         [Chromium] Remove pluginsScriptableObject from PlatformSupport
2090         https://bugs.webkit.org/show_bug.cgi?id=103542
2091
2092         Reviewed by Adam Barth.
2093
2094         Part of a refactoring series. See tracking bug 82948.
2095
2096         * src/PlatformSupport.cpp:
2097         (WebCore):
2098         * src/WebPluginContainerImpl.h:
2099         (WebPluginContainerImpl):
2100
2101 2012-11-28  Mark Pilgrim  <pilgrim@chromium.org>
2102
2103         [Chromium][Win] Remove ensureFontLoaded from PlatformSupport
2104         https://bugs.webkit.org/show_bug.cgi?id=97696
2105
2106         Reviewed by Adam Barth.
2107
2108         Move ensureFontLoaded() from PlatformSupport to
2109         FontPlatformDataChromiumWin. Part of a refactoring series; see
2110         tracking bug 82948.
2111
2112         * src/PlatformSupport.cpp:
2113         (WebCore):
2114
2115 2012-11-28  Eric Uhrhane  <ericu@chromium.org>
2116
2117         [chromium] Add unit tests for ChromeClientImpl::getNavigationPolicy
2118         https://bugs.webkit.org/show_bug.cgi?id=102424
2119
2120         Reviewed by Adam Barth.
2121
2122         This tests a bunch of basic scenarios regarding what will produce a
2123         popup, a new foreground/background tab, or a new window.
2124
2125         * WebKit.gypi: Added test file.
2126         * src/WebViewImpl.h:
2127         (WebViewImpl): Added friend declaration for setCurrentInputEventForTest.
2128         * tests/ChromeClientImplTest.cpp: Added.
2129
2130 2012-11-28  Alexandre Elias  <aelias@chromium.org>
2131
2132         [chromium] Handle pinch correctly in slow-scrolling area
2133         https://bugs.webkit.org/show_bug.cgi?id=102740
2134
2135         Reviewed by James Robinson.
2136
2137         With the nonmodal gesture event model, pinch zoom gestures involve
2138         interleaved pinch and scroll events. This caused a bug on slow-scroll
2139         areas: the scroll events were sent to the main thread and
2140         the pinch events were handled in the impl thread.
2141
2142         This patch makes it so that scroll events are always handled in the impl
2143         thread if a pinch is active.
2144
2145         * src/WebCompositorInputHandlerImpl.cpp:
2146         (WebKit::WebCompositorInputHandlerImpl::WebCompositorInputHandlerImpl):
2147         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
2148         * src/WebCompositorInputHandlerImpl.h:
2149         * tests/WebCompositorInputHandlerImplTest.cpp:
2150         (WebKit::TEST_F):
2151         (WebKit):
2152
2153 2012-11-28  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2154
2155         [chromium] Allow plugins to opt-in to receive synthetic mouse events out of touch events.
2156         https://bugs.webkit.org/show_bug.cgi?id=103092
2157
2158         Reviewed by Tony Chang.
2159
2160         A plugin can now request to receive raw touch events, or to receive mouse events synthesized
2161         from the touch events, or to not receive any touch events at all.
2162
2163         * public/WebPluginContainer.h:
2164         (WebPluginContainer):
2165         * src/WebInputEventConversion.cpp:
2166         (WebKit::updateWebMouseEventFromWebCoreMouseEvent):
2167         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2168         (WebKit):
2169         * src/WebInputEventConversion.h:
2170         (WebMouseEventBuilder):
2171         * src/WebPluginContainerImpl.cpp:
2172         (WebKit::WebPluginContainerImpl::setIsAcceptingTouchEvents):
2173         (WebKit):
2174         (WebKit::WebPluginContainerImpl::requestTouchEventType):
2175         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
2176         (WebKit::WebPluginContainerImpl::~WebPluginContainerImpl):
2177         * src/WebPluginContainerImpl.h:
2178         (WebPluginContainerImpl):
2179
2180 2012-11-28  David Grogan  <dgrogan@chromium.org>
2181
2182         IndexedDB: Remove setVersion from WK API
2183         https://bugs.webkit.org/show_bug.cgi?id=103456
2184
2185         Reviewed by Darin Fisher.
2186
2187         These are the last vestiges of this ancient API. The bulk of the
2188         removal was done in bug 94972.
2189
2190         * public/WebIDBCallbacks.h:
2191         * public/WebIDBDatabase.h:
2192
2193 2012-11-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2194
2195         Unreviewed.  Rolled DEPS.
2196
2197         * DEPS:
2198
2199 2012-11-27  James Simonsen  <simonjam@chromium.org>
2200
2201         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2202         https://bugs.webkit.org/show_bug.cgi?id=102151
2203
2204         Reviewed by Adam Barth.
2205
2206         * src/WebFrameImpl.cpp:
2207         (WebKit::WebFrameImpl::loadRequest):
2208         (WebKit::WebFrameImpl::loadData):
2209         * src/WebSharedWorkerImpl.cpp:
2210         (WebKit::WebSharedWorkerImpl::initializeLoader):
2211
2212 2012-11-27  Eberhard Graether  <egraether@google.com>
2213
2214         [chromium] Add WebLayerTreeViewClient API to request font atlas
2215         https://bugs.webkit.org/show_bug.cgi?id=102958
2216
2217         Reviewed by James Robinson.
2218
2219         This change makes the font atlas creation accessible to the WebLayerTreeView.
2220
2221         * src/WebViewImpl.cpp:
2222         (WebKit::WebViewImpl::createFontAtlas):
2223         (WebKit):
2224         * src/WebViewImpl.h:
2225         (WebViewImpl):
2226
2227 2012-11-27  Joshua Bell  <jsbell@chromium.org>
2228
2229         IndexedDB: Simplify transaction timers and event tracking
2230         https://bugs.webkit.org/show_bug.cgi?id=102984
2231
2232         Reviewed by Tony Chang.
2233
2234         Remove now-unused didCompleteTaskEvents() method.
2235
2236         * src/IDBTransactionBackendProxy.cpp:
2237         * src/IDBTransactionBackendProxy.h:
2238         (IDBTransactionBackendProxy):
2239         * src/WebIDBTransactionImpl.cpp:
2240         * src/WebIDBTransactionImpl.h:
2241
2242 2012-11-27  Alpha Lam  <hclam@chromium.org>
2243
2244         [chromium] Implement full-featured image cache
2245         https://bugs.webkit.org/show_bug.cgi?id=99784
2246
2247         Reviewed by Stephen White.
2248
2249         Added ImageFrameGeneratorTest to test cache logic and generation
2250         of new cache entries.
2251
2252         ImageFrameGeneratorTest.cacheHit
2253         Test that a complete cached entry is reused.
2254
2255         ImageFrameGeneratorTest.cacheMissWithScale
2256         Cache miss for a scaled image but cache hit on a full size image.
2257         Scaled image is created from cached full size image.
2258
2259         ImageFrameGeneratorTest.cacheMissWithDecodeAndScale
2260         Cache miss for both scaled image and full size image.
2261
2262         ImageFrameGeneratorTest.cacheMissWithIncompleteDecode
2263         Test the logic for handling incomplete cache objects.
2264
2265         * WebKit.gypi:
2266         * src/WebKit.cpp:
2267         (WebKit::initializeWithoutV8):
2268         * src/WebSettingsImpl.cpp:
2269         (WebKit::WebSettingsImpl::setDeferredImageDecodingEnabled):
2270         * tests/DeferredImageDecoderTest.cpp:
2271         (WebCore::DeferredImageDecoderTest::SetUp):
2272         (WebCore::DeferredImageDecoderTest::decoderBeingDestroyed):
2273         (WebCore::DeferredImageDecoderTest::frameBufferRequested):
2274         (DeferredImageDecoderTest):
2275         (WebCore::DeferredImageDecoderTest::frameStatus):
2276         * tests/ImageFrameGeneratorTest.cpp: Added.
2277         (WebCore):
2278         (WebCore::fullSize):
2279         (WebCore::scaledSize):
2280         (MockImageDecoderFactory):
2281         (WebCore::MockImageDecoderFactory::create):
2282         (WebCore::MockImageDecoderFactory::MockImageDecoderFactory):
2283         (ImageFrameGeneratorTest):
2284         (WebCore::ImageFrameGeneratorTest::SetUp):
2285         (WebCore::ImageFrameGeneratorTest::TearDown):
2286         (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
2287         (WebCore::ImageFrameGeneratorTest::frameBufferRequested):
2288         (WebCore::ImageFrameGeneratorTest::frameStatus):
2289         (WebCore::ImageFrameGeneratorTest::createCompleteImage):
2290         (WebCore::ImageFrameGeneratorTest::setFrameStatus):
2291         (WebCore::TEST_F):
2292         * tests/MockImageDecoder.h:
2293         (MockImageDecoderClient):
2294         (WebCore::MockImageDecoder::frameBufferAtIndex):
2295
2296 2012-11-27  David Grogan  <dgrogan@chromium.org>
2297
2298         IndexedDB: Remove IDBDatabase.setVersion API
2299         https://bugs.webkit.org/show_bug.cgi?id=94972
2300
2301         Reviewed by Tony Chang.
2302
2303         * src/IDBCallbacksProxy.cpp:
2304         * src/IDBCallbacksProxy.h:
2305         (IDBCallbacksProxy):
2306         * src/IDBDatabaseBackendProxy.cpp:
2307         * src/IDBDatabaseBackendProxy.h:
2308         (IDBDatabaseBackendProxy):
2309         * src/WebIDBCallbacksImpl.cpp:
2310         * src/WebIDBCallbacksImpl.h:
2311         (WebIDBCallbacksImpl):
2312         * src/WebIDBDatabaseImpl.cpp:
2313         * src/WebIDBDatabaseImpl.h:
2314         (WebIDBDatabaseImpl):
2315
2316 2012-11-27  Eberhard Graether  <egraether@google.com>
2317
2318         Plumbing showPaintRects out of InspectorPageAgent to use a different drawing implementation if available.
2319         https://bugs.webkit.org/show_bug.cgi?id=102452
2320
2321         Reviewed by Pavel Feldman.
2322
2323         This change makes the showPaintRects setting in the Web Inspector's settings notify InspectorClient
2324         when changed. And the default paint rects drawing is not used if an alternative is available.
2325         This allows Chromium to draw the paint rects in the compositor's HUDLayer.
2326
2327         * public/WebView.h:
2328         (WebView):
2329         * src/InspectorClientImpl.cpp:
2330         (WebKit::InspectorClientImpl::overridesShowPaintRects):
2331         (WebKit):
2332         (WebKit::InspectorClientImpl::setShowPaintRects):
2333         * src/InspectorClientImpl.h:
2334         (InspectorClientImpl):
2335         * src/WebViewImpl.cpp:
2336         (WebKit::WebViewImpl::setShowPaintRects):
2337         (WebKit):
2338         * src/WebViewImpl.h:
2339         (WebViewImpl):
2340
2341 2012-11-27  Tony Chang  <tony@chromium.org>
2342
2343         [chromium] Unreviewed build fix on Linux clang.
2344
2345         ../../third_party/WebKit/Source/WebKit/chromium/src/FrameLoaderClientImpl.cpp:1055:63: error:
2346         C++98 requires an accessible copy constructor for class 'WebKit::WebCachedURLRequest' when binding
2347         a reference to a temporary; was private [-Werror,-Wbind-to-temporary-copy]
2348
2349         * src/FrameLoaderClientImpl.cpp:
2350         (WebKit::FrameLoaderClientImpl::dispatchWillRequestResource):
2351
2352 2012-11-27  Marja Hölttä  <marja@chromium.org>
2353
2354         Add callbacks to the FrameLoaderClient when a resource is requested
2355         https://bugs.webkit.org/show_bug.cgi?id=92761
2356
2357         Reviewed by Adam Barth.
2358
2359         In Chromium, when an extension script cancels a network
2360         request (which happens out of process), we'd like to
2361         notify content scripts running on the current page about
2362         which elements failed to load because the requests were
2363         cancelled (as opposed to e.g. the network request just
2364         didn't work). Since the resource request itself does not
2365         carry any information what DOM element is was made for,
2366         currently a content script has to search the DOM tree and
2367         guess which requests will be cancelled by its counter
2368         part. By adding these callbacks, the embedder can make
2369         this connection explictly.
2370
2371         * WebKit.gyp:
2372         * public/WebCachedURLRequest.h: Added.
2373         (WebKit):
2374         (WebCachedURLRequest):
2375         (WebKit::WebCachedURLRequest::~WebCachedURLRequest):
2376         * public/WebFrameClient.h:
2377         (WebKit):
2378         (WebFrameClient):
2379         (WebKit::WebFrameClient::willRequestResource):
2380         * src/FrameLoaderClientImpl.cpp:
2381         (WebKit::FrameLoaderClientImpl::dispatchWillRequestResource):
2382         (WebKit):
2383         * src/FrameLoaderClientImpl.h:
2384         (FrameLoaderClientImpl):
2385         * src/WebCachedURLRequest.cpp: Added.
2386         (WebKit):
2387         (WebKit::WebCachedURLRequest::reset):
2388         (WebKit::WebCachedURLRequest::urlRequest):
2389         (WebKit::WebCachedURLRequest::charset):
2390         (WebKit::WebCachedURLRequest::forPreload):
2391         (WebKit::WebCachedURLRequest::initiatorName):
2392         (WebKit::WebCachedURLRequest::initiatorElement):
2393         (WebKit::WebCachedURLRequest::WebCachedURLRequest):
2394
2395 2012-11-27  Keishi Hattori  <keishi@webkit.org>
2396
2397         Add WebLocalizedString for validation type badinput
2398         https://bugs.webkit.org/show_bug.cgi?id=103381
2399
2400         Reviewed by Kent Tamura.
2401
2402         * src/LocalizedStrings.cpp:
2403         (WebCore::validationMessageBadInputForNumberText): Using the newly added WebLocalizedString enum.
2404         (WebCore::validationMessageBadInputForDateTimeText): Ditto.
2405
2406 2012-11-27  Alec Flett  <alecflett@chromium.org>
2407
2408         IndexedDB: stub out IDBDatabaseBackendInterface::createTransaction
2409         https://bugs.webkit.org/show_bug.cgi?id=102730
2410
2411         Reviewed by Darin Fisher.
2412
2413         Add support for new createTransaction() method in both sides
2414         of the WebKit API.
2415
2416         * public/WebIDBDatabase.h:
2417         (WebIDBDatabase):
2418         (WebKit::WebIDBDatabase::createTransaction):
2419         * src/IDBDatabaseBackendProxy.cpp:
2420         (WebKit):
2421         (WebKit::IDBDatabaseBackendProxy::createTransaction):
2422         * src/IDBDatabaseBackendProxy.h:
2423         (IDBDatabaseBackendProxy):
2424         * src/WebIDBDatabaseImpl.cpp:
2425         (WebKit::WebIDBDatabaseImpl::createTransaction):
2426         (WebKit):
2427         * src/WebIDBDatabaseImpl.h:
2428         (WebIDBDatabaseImpl):
2429
2430 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2431
2432         Unreviewed, rolling out r135786.
2433         http://trac.webkit.org/changeset/135786
2434         https://bugs.webkit.org/show_bug.cgi?id=103379
2435
2436         It made 3 plugin tests timeout on several platforms (Requested
2437         by Ossy on #webkit).
2438
2439         * src/WebFrameImpl.cpp:
2440         (WebKit::WebFrameImpl::loadRequest):
2441         (WebKit::WebFrameImpl::loadData):
2442         * src/WebSharedWorkerImpl.cpp:
2443         (WebKit::WebSharedWorkerImpl::initializeLoader):
2444
2445 2012-11-25  Kent Tamura  <tkent@chromium.org>
2446
2447         Implement ValidityState::badInput
2448         https://bugs.webkit.org/show_bug.cgi?id=102861
2449
2450         Reviewed by Hajime Morita.
2451
2452         * src/LocalizedStrings.cpp:
2453         Add placeholder implementations for new localized string functions.
2454         We'll update them in another patch.
2455         (WebCore::validationMessageBadInputForNumberText):
2456         (WebCore::validationMessageBadInputForDateTimeText):
2457
2458 2012-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2459
2460         Unreviewed, rolling out r135798.
2461         http://trac.webkit.org/changeset/135798
2462         https://bugs.webkit.org/show_bug.cgi?id=103354
2463
2464         Broke the chrome mac build (Requested by noel_ on #webkit).
2465
2466         * WebKit.gypi:
2467         * src/WebKit.cpp:
2468         (WebKit::initializeWithoutV8):
2469         * src/WebSettingsImpl.cpp:
2470         (WebKit::WebSettingsImpl::setDeferredImageDecodingEnabled):
2471         * tests/DeferredImageDecoderTest.cpp:
2472         (WebCore::DeferredImageDecoderTest::SetUp):
2473         (WebCore::DeferredImageDecoderTest::decoderBeingDestroyed):
2474         * tests/ImageFrameGeneratorTest.cpp: Removed.
2475         * tests/MockImageDecoder.h:
2476         (MockImageDecoderClient):
2477         (WebCore::MockImageDecoder::frameBufferAtIndex):
2478
2479 2012-11-26  Alexandre Elias  <aelias@chromium.org>
2480
2481         [chromium] Touchscreen fling handling
2482         https://bugs.webkit.org/show_bug.cgi?id=103278
2483
2484         Reviewed by James Robinson.
2485
2486         The fling logic for touchpad can fall through to bad
2487         performance in several ways. This patch introduces an alternate
2488         path for touchscreen fling that simplifies it as follows:
2489
2490         - Stop generating wheel events, to prevent unnecessary scrollBegin hit
2491         tests and to avoid falling back to slow path if a wheel handler is
2492         registered.
2493
2494         - Drop the event on ScrollStatusIgnored. There's no real reason to
2495         send the event to the WebKit thread here.
2496
2497         - Don't call transferActiveWheelFlingAnimation. This type of
2498         transition shouldn't be needed with touchscreen flings.
2499
2500         * src/WebCompositorInputHandlerImpl.cpp:
2501         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
2502         (WebKit::WebCompositorInputHandlerImpl::animate):
2503         (WebKit::WebCompositorInputHandlerImpl::cancelCurrentFling):
2504         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
2505         * src/WebCompositorInputHandlerImpl.h:
2506
2507 2012-11-26  Kentaro Hara  <haraken@chromium.org>
2508
2509         [V8] Remove WorkerContextExecutionProxy.{h,cpp}
2510         https://bugs.webkit.org/show_bug.cgi?id=103325
2511
2512         Reviewed by Adam Barth.
2513
2514         Now WorkerContextExecutionProxy.{h,cpp} are empty.
2515
2516         No tests. No change in behavior.
2517
2518         * src/WebKit.cpp:
2519         * src/WebWorkerClientImpl.cpp:
2520
2521 2012-11-26  James Robinson  <jamesr@chromium.org>
2522
2523         [chromium] Remove deprecated and unused WebGraphicsContext3D compositor binding calls
2524         https://bugs.webkit.org/show_bug.cgi?id=103322
2525
2526         Reviewed by Adam Barth.
2527
2528         * src/WebViewImpl.cpp:
2529         * src/WebViewImpl.h:
2530         (WebViewImpl):
2531
2532 2012-11-26  Alpha Lam  <hclam@chromium.org>
2533
2534         [chromium] Implement full-featured image cache
2535         https://bugs.webkit.org/show_bug.cgi?id=99784
2536
2537         Reviewed by James Robinson.
2538
2539         Added ImageFrameGeneratorTest to test cache logic and generation
2540         of new cache entries.
2541
2542         ImageFrameGeneratorTest.cacheHit
2543         Test that a complete cached entry is reused.
2544
2545         ImageFrameGeneratorTest.cacheMissWithScale
2546         Cache miss for a scaled image but cache hit on a full size image.
2547         Scaled image is created from cached full size image.
2548
2549         ImageFrameGeneratorTest.cacheMissWithDecodeAndScale
2550         Cache miss for both scaled image and full size image.
2551
2552         ImageFrameGeneratorTest.cacheMissWithIncompleteDecode
2553         Test the logic for handling incomplete cache objects.
2554
2555         * WebKit.gypi:
2556         * src/WebKit.cpp:
2557         (WebKit::initializeWithoutV8):
2558         * src/WebSettingsImpl.cpp:
2559         (WebKit::WebSettingsImpl::setDeferredImageDecodingEnabled):
2560         * tests/DeferredImageDecoderTest.cpp:
2561         (WebCore::DeferredImageDecoderTest::SetUp):
2562         (WebCore::DeferredImageDecoderTest::decoderBeingDestroyed):
2563         (WebCore::DeferredImageDecoderTest::frameBufferRequested):
2564         (DeferredImageDecoderTest):
2565         (WebCore::DeferredImageDecoderTest::frameStatus):
2566         * tests/ImageFrameGeneratorTest.cpp: Added.
2567         (WebCore):
2568         (WebCore::fullSize):
2569         (WebCore::scaledSize):
2570         (MockImageDecoderFactory):
2571         (WebCore::MockImageDecoderFactory::create):
2572         (WebCore::MockImageDecoderFactory::MockImageDecoderFactory):
2573         (ImageFrameGeneratorTest):
2574         (WebCore::ImageFrameGeneratorTest::SetUp):
2575         (WebCore::ImageFrameGeneratorTest::TearDown):
2576         (WebCore::ImageFrameGeneratorTest::decoderBeingDestroyed):
2577         (WebCore::ImageFrameGeneratorTest::frameBufferRequested):
2578         (WebCore::ImageFrameGeneratorTest::frameStatus):
2579         (WebCore::ImageFrameGeneratorTest::createCompleteImage):
2580         (WebCore::ImageFrameGeneratorTest::setFrameStatus):
2581         (WebCore::TEST_F):
2582         * tests/MockImageDecoder.h:
2583         (MockImageDecoderClient):
2584         (WebCore::MockImageDecoder::frameBufferAtIndex):
2585
2586 2012-11-26  Varun Jain  <varunjain@chromium.org>
2587
2588         LongPress and LongTap gestures should start drag/drop and open context menu respectively.
2589         https://bugs.webkit.org/show_bug.cgi?id=101545
2590
2591         Reviewed by Antonio Gomes.
2592
2593         For LongPress, we simulate drag by sending a mouse down and mouse drag
2594         events. If a drag is not started (because maybe there is no draggable
2595         element), then we show context menu instead (which is the current
2596         behavior for LongPress). For LongTap, we use the existing functions that
2597         LongPress uses to summon the context menu. LongPress initiated drag and
2598         drop can be enabled/disabled by the platform using the Setting
2599         touchDragDropEnabled which is disabled by default.
2600
2601         * public/WebSettings.h:
2602         * src/WebSettingsImpl.cpp:
2603         (WebKit::WebSettingsImpl::setTouchDragDropEnabled):
2604         (WebKit):
2605         * src/WebSettingsImpl.h:
2606         (WebSettingsImpl):
2607
2608 2012-11-26  Yusuf Ozuysal  <yusufo@google.com>
2609
2610         Add hasTouchEventhandlersAt to WebView API
2611         https://bugs.webkit.org/show_bug.cgi?id=102541
2612
2613         Reviewed by James Robinson.
2614
2615         Adds hasTouchEventHandlersAt to WebWidget API to check for touch event handlers at a
2616         given point. This will be used to distinguish between events not processed by
2617         touch event handlers and event not hitting any touch event handlers. Both are
2618         returning the same ACK message currently. Default implementation returns true to
2619         continue the same behavior as we currently have.
2620
2621         * public/WebWidget.h:
2622         (WebWidget):
2623         (WebKit::WebWidget::hasTouchEventHandlersAt):
2624         * src/WebViewImpl.cpp:
2625         (WebKit::WebViewImpl::hasTouchEventHandlersAt):
2626         (WebKit):
2627         * src/WebViewImpl.h:
2628         (WebViewImpl):
2629
2630 2012-11-26  James Simonsen  <simonjam@chromium.org>
2631
2632         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2633         https://bugs.webkit.org/show_bug.cgi?id=102151
2634
2635         Reviewed by Adam Barth.
2636
2637         * src/WebFrameImpl.cpp:
2638         (WebKit::WebFrameImpl::loadRequest):
2639         (WebKit::WebFrameImpl::loadData):
2640         * src/WebSharedWorkerImpl.cpp:
2641         (WebKit::WebSharedWorkerImpl::initializeLoader):
2642
2643 2012-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2644
2645         Unreviewed.  Rolled DEPS.
2646
2647         * DEPS:
2648
2649 2012-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2650
2651         Unreviewed, rolling out r135743.
2652         http://trac.webkit.org/changeset/135743
2653         https://bugs.webkit.org/show_bug.cgi?id=103280
2654
2655         Caused compile failure 'SK_DISABLE_DITHER_32BIT_GRADIENT'
2656         macro redefined (Requested by rjkroege on #webkit).
2657
2658         * skia_webkit.gyp:
2659
2660 2012-11-26  Mike Reed  <reed@google.com>
2661
2662         add SK_DISABLE_DITHER_32BIT_GRADIENT define, in preparation for rebaselining
2663         https://bugs.webkit.org/show_bug.cgi?id=103272
2664
2665         Reviewed by NOBODY. Unreviewed.
2666
2667         No behavior change, as this define already exists on the chrome side in SkUserConfig.h
2668
2669         * skia_webkit.gyp:
2670
2671 2012-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2672
2673         Unreviewed, rolling out r135735.
2674         http://trac.webkit.org/changeset/135735
2675         https://bugs.webkit.org/show_bug.cgi?id=103270
2676
2677         Caused breakage across the Chromium tree. (Requested by
2678         rjkroege_ on #webkit).
2679
2680         * skia_webkit.gyp:
2681
2682 2012-11-26  Mike Reed  <reed@google.com>
2683
2684         add SK_DISABLE_DITHER_32BIT_GRADIENT define, in preparation for rebaselining
2685         https://bugs.webkit.org/show_bug.cgi?id=103269
2686
2687         Reviewed by NOBODY. Unreviewed.
2688
2689         No behavior change, as this define already exists on the chrome side in SkUserConfig.h
2690
2691         * skia_webkit.gyp:
2692
2693 2012-11-26  Scott Violet  <sky@chromium.org>
2694
2695         [chromium] Make use_default_render_theme compile the right set of files
2696         https://bugs.webkit.org/show_bug.cgi?id=102952
2697
2698         Reviewed by Kent Tamura.
2699
2700         * WebKit.gyp: Adds WebRenderTheme.* and updates rules as to when to compile them.
2701         * features.gypi: Removes use_default_render_theme default values as common.gypi sets them.
2702         * public/default: Added.
2703         * public/default/WebRenderTheme.h: Copy of linux/WebRenderTheme.h
2704         * src/default: Added.
2705         * src/default/WebRenderTheme.cpp: Copy of linux/WebRenderTheme.cpp
2706
2707 2012-11-24  Silvia Pfeiffer  <silviapf@chromium.org>
2708
2709         [chromium] Remove traces of MediaControlRootElement
2710         https://bugs.webkit.org/show_bug.cgi?id=103174
2711
2712         Reviewed by Adam Barth.
2713
2714         Now that nothing is using MediaControlRootElement any more,
2715         we can remove the FIXME and MediaControlRootElement enum left
2716         over from bug 88871.
2717
2718         * public/WebContextMenuData.h:
2719
2720 2012-11-23  Robert Kroeger  <rjkroege@chromium.org>
2721
2722         Remove unused ScrollByPixelVelocity
2723         https://bugs.webkit.org/show_bug.cgi?id=102840
2724
2725         Reviewed by Sam Weinig.
2726
2727         Removed test for deleted code.
2728
2729         * tests/ScrollAnimatorNoneTest.cpp:
2730
2731 2012-11-23  Alexis Menard  <alexis@webkit.org>
2732
2733         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
2734         https://bugs.webkit.org/show_bug.cgi?id=102104
2735
2736         Reviewed by Julien Chaffraix.
2737
2738         Protect the new feature behind a feature flag.
2739
2740         * features.gypi:
2741
2742 2012-11-23  Yury Semikhatsky  <yurys@chromium.org>
2743
2744         Unreviewed. Fix Chromium Win compilation after r135580.
2745         https://bugs.webkit.org/show_bug.cgi?id=101772
2746
2747         * tests/WebFrameTest.cpp:
2748
2749 2012-11-23  Sami Kyostila  <skyostil@chromium.org>
2750
2751         [chromium] Remove WebScreenInfo.{horizontal,vertical}DPI
2752         https://bugs.webkit.org/show_bug.cgi?id=101772
2753
2754         Reviewed by Adam Barth.
2755
2756         Now that nothing is using WebScreenInfo.{horizontal,vertical}DPI we can simply
2757         remove them.
2758
2759         * src/mac/WebScreenInfoFactory.mm:
2760         (WebKit::WebScreenInfoFactory::screenInfo):
2761         * src/win/WebScreenInfoFactory.cpp:
2762         (WebKit::WebScreenInfoFactory::screenInfo):
2763         * src/x11/WebScreenInfoFactory.cpp:
2764         (WebKit::WebScreenInfoFactory::screenInfo):
2765
2766 2012-11-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2767
2768         Unreviewed.  Rolled DEPS.
2769
2770         * DEPS:
2771
2772 2012-11-22  Dana Jansens  <danakj@chromium.org>
2773
2774         [chromium] Add OS!="ios" to guard for gcc_version in WebKit.gyp
2775         https://bugs.webkit.org/show_bug.cgi?id=103007
2776
2777         Reviewed by Adam Barth.
2778
2779         This matches the guards used in chromium's chrome/chrome_browser.gypi.
2780
2781         * WebKit.gyp:
2782
2783 2012-11-22  Stephen Chenney  <schenney@chromium.org>
2784
2785         [Chromium]: Removing gyp flags controlling Skia features.
2786
2787         Unreviewed, pre-tested rendering changes that have been waiting for a chance to rebaseline tests.
2788
2789         Enabled fixes for test rendering, and fast patsh for anti-aliased primitives.
2790
2791         * skia_webkit.gyp:
2792
2793 2012-11-22  Dan Carney  <dcarney@google.com>
2794
2795         IDBRequestTest needs a v8 context
2796         https://bugs.webkit.org/show_bug.cgi?id=102941
2797
2798         Reviewed by Jochen Eisinger.
2799
2800         Added v8 context to IDBRequestTest tests.
2801
2802         * tests/IDBRequestTest.cpp:
2803         (IDBRequestTest):
2804         (WebKit::IDBRequestTest::IDBRequestTest):
2805         (WebKit::IDBRequestTest::context):
2806         (WebKit::IDBRequestTest::scriptExecutionContext):
2807         (WebKit):
2808         (WebKit::TEST_F):
2809
2810 2012-11-21  Tien-Ren Chen  <trchen@chromium.org>
2811
2812         [chromium] Device scale factor should be no-op when applyDeviceScaleFactorInCompositor == 0
2813         https://bugs.webkit.org/show_bug.cgi?id=100061
2814
2815         Reviewed by Adam Barth.
2816
2817         On Android we're using a different pixel scaling implementation
2818         (WebCore::Settings::applyDefaultDeviceScaleFactorInCompositor() == 0) than other
2819         platforms. In this mode, we don't make use of device-independent pixels. Device
2820         scale factor is provided to WebKit and get merged into page scale factor. Other
2821         than that device scale factor should have no effects on rendering.
2822
2823         * src/PageWidgetDelegate.cpp:
2824         (WebKit::PageWidgetDelegate::paint):
2825         * src/PageWidgetDelegate.h:
2826         * src/WebPagePopupImpl.cpp:
2827         (WebKit::WebPagePopupImpl::paint):
2828         * src/WebViewImpl.cpp:
2829         (WebKit::WebViewImpl::paint):
2830         (WebKit::WebViewImpl::shouldApplyDeviceScaleFactorInCompositor):
2831         (WebKit):
2832         * src/WebViewImpl.h:
2833         (WebViewImpl):
2834
2835 2012-11-21  Tien-Ren Chen  <trchen@chromium.org>
2836
2837         Use m_webView->size() for viewport update
2838         https://bugs.webkit.org/show_bug.cgi?id=102764
2839
2840         Reviewed by Adam Barth.
2841
2842         m_webView->client()->windowRect() returns the outer rect of the browser
2843         window, which includes the decorations such as the title bar.
2844         We should use the size of the WebView for layout and rendering purpose.
2845
2846         Existing tests are updated to work without windowRect().
2847
2848         * src/ChromeClientImpl.cpp:
2849         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
2850         * tests/WebFrameTest.cpp:
2851
2852 2012-11-21  Peter Beverloo  <peter@chromium.org>
2853
2854         [Chromium] webkit_unit_tests should depend on forwarder2 for Android
2855         https://bugs.webkit.org/show_bug.cgi?id=102934
2856
2857         Reviewed by Tony Chang.
2858
2859         Running webkit_unit_tests and TestWebKitAPI in the WebKit tree will defer
2860         to the test runner used by Chromium, which in turn relies on forwarder2.
2861         forwarder2 will eventually be required by layout tests as well.
2862
2863         * WebKitUnitTests.gyp:
2864
2865 2012-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
2866
2867         Unreviewed, rolling out r135409.
2868         http://trac.webkit.org/changeset/135409
2869         https://bugs.webkit.org/show_bug.cgi?id=102959
2870
2871         This patch causes compiling error to Chromium build (Requested
2872         by jianli_ on #webkit).
2873
2874         * tests/IDBRequestTest.cpp:
2875         (WebCore::TEST):
2876
2877 2012-11-21  Kevin Ellis  <kevers@chromium.org>
2878
2879         [chromium] Add flag to enable/disable touch adjustment at runtime.
2880         https://bugs.webkit.org/show_bug.cgi?id=102534
2881
2882         Reviewed by Antonio Gomes.
2883
2884         Add setting for enabling or disabling touch adjustment.
2885         For touch adjustemnt to apply, the compile option must
2886         also be enabled.
2887
2888         * public/WebSettings.h:
2889         * src/WebSettingsImpl.cpp:
2890         (WebKit::WebSettingsImpl::setEnableTouchAdjustment):
2891         (WebKit):
2892         * src/WebSettingsImpl.h:
2893         (WebSettingsImpl):
2894
2895 2012-11-21  Dan Carney  <dcarney@google.com>
2896
2897         IDBRequestTest needs a v8 context
2898         https://bugs.webkit.org/show_bug.cgi?id=102941
2899
2900         Reviewed by Jochen Eisinger.
2901
2902         Added v8 context to IDBRequestTest tests.
2903
2904         * tests/IDBRequestTest.cpp:
2905         (IDBRequestTest):
2906         (WebKit::IDBRequestTest::IDBRequestTest):
2907         (WebKit::IDBRequestTest::context):
2908         (WebKit::IDBRequestTest::scriptExecutionContext):
2909         (WebKit):
2910         (WebKit::TEST_F):
2911
2912 2012-11-21  Peter Beverloo  <peter@chromium.org>
2913
2914         Unreviewed.  Rolled DEPS.
2915
2916         * DEPS:
2917
2918 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2919
2920         Disambiguate innerNodeFramePoint and mainFramePoint
2921         https://bugs.webkit.org/show_bug.cgi?id=98139
2922
2923         Reviewed by Julien Chaffraix.
2924
2925         * src/ChromeClientImpl.cpp:
2926         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
2927         * src/ContextMenuClientImpl.cpp:
2928         (WebKit::selectMisspelledWord):
2929         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2930         * src/WebFrameImpl.cpp:
2931         (WebKit::WebFrameImpl::characterIndexForPoint):
2932
2933 2012-11-21  W. James MacLean  <wjmaclean@chromium.org>
2934
2935         [chromium] Link highlight should display for at least 100ms, and fadeout on GestureTap/Longpress.
2936         https://bugs.webkit.org/show_bug.cgi?id=102823
2937
2938         Reviewed by Adrienne Walker.
2939
2940         Link highlights sometimes disappear so quickly they barely display. Modify
2941         so that the highlight is displayed for minimum 100ms before fading out, and
2942         also fadeout (as opposed to abrupt clear) on GestureTap and GestureLongPress.
2943
2944         * src/LinkHighlight.cpp:
2945         (WebKit::LinkHighlight::LinkHighlight):
2946         (WebKit::LinkHighlight::startHighlightAnimationIfNeeded): Check if min duration achieved, if not add time to fadeout animation.
2947         * src/LinkHighlight.h:
2948         (LinkHighlight):
2949         * src/WebViewImpl.cpp:
2950         (WebKit::WebViewImpl::handleGestureEvent): Fadeout instead of clear on GestureTap and GestureLongPress.
2951
2952 2012-11-21  Yury Semikhatsky  <yurys@chromium.org>
2953
2954         Unreviewed. Now that offending patch has been rolled out reenable IDBRequestTest.EventsAfterStopping
2955         https://bugs.webkit.org/show_bug.cgi?id=102929
2956
2957         * tests/IDBRequestTest.cpp:
2958         (WebCore::TEST):
2959
2960 2012-11-21  Yury Semikhatsky  <yurys@chromium.org>
2961
2962         Unreviewed. Disable failing test.
2963         https://bugs.webkit.org/show_bug.cgi?id=102929
2964
2965         * tests/IDBRequestTest.cpp:
2966         (WebCore::TEST):
2967
2968 2012-11-21  Florin Malita  <fmalita@chromium.org>
2969
2970         [Skia] Encapsulate access to PlatformContextSkia's SkCanvas
2971         https://bugs.webkit.org/show_bug.cgi?id=102694
2972
2973         Reviewed by Stephen White.
2974
2975         Use PlatformContextSkia's wrapper methods instead of accessing the canvas directly.
2976
2977         * tests/TransparencyWinTest.cpp:
2978         (WebCore::getPixelAt):
2979         (WebCore::clearTopLayerAlphaChannel):
2980         (WebCore::clearTopLayerAlphaPixel):
2981         (WebCore::TEST):
2982
2983 2012-11-20  Rachel Blum  <groby@chromium.org>
2984
2985         [Chromium] Need spellcheck suggestions even if continuous check is off.
2986         https://bugs.webkit.org/show_bug.cgi?id=102535
2987
2988         Reviewed by Hajime Morita.
2989
2990         Make sure the context menu always has suggestions for misspelled words.
2991
2992         * src/ContextMenuClientImpl.cpp:
2993         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2994
2995 2012-11-20  Robert Kroeger  <rjkroege@chromium.org>
2996
2997         [chromium] Use embedder-supported gesture curves
2998         https://bugs.webkit.org/show_bug.cgi?id=100884
2999
3000         Reviewed by James Robinson.
3001
3002         Use embedder-provided gesture animation curves via WebKit api interfaces.
3003         Tested by existing tests.
3004
3005         * src/WebCompositorInputHandlerImpl.cpp:
3006         (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
3007         (WebKit::WebCompositorInputHandlerImpl::scrollBy):
3008         * src/WebCompositorInputHandlerImpl.h:
3009         (WebCompositorInputHandlerImpl):
3010         * src/WebViewImpl.cpp:
3011         (WebKit::WebViewImpl::scrollBy):
3012         (WebKit::WebViewImpl::handleGestureEvent):
3013         (WebKit::WebViewImpl::transferActiveWheelFlingAnimation):
3014         * src/WebViewImpl.h:
3015         (WebCore):
3016         (WebKit):
3017         (WebViewImpl):
3018
3019 2012-11-20  Tony Chang  <tony@chromium.org>
3020
3021         When calling DocumentStyleSheetCollection::addUserSheet, pass in a user sheet
3022         https://bugs.webkit.org/show_bug.cgi?id=102835
3023
3024         Reviewed by Ojan Vafai.
3025
3026         After r135082, Chromium browser_tests were triggering the ASSERT in
3027         StyleResolver::collectRulesFromUserStyleSheets. Add an ASSERT that will
3028         trigger earlier and make it clear in the Chromium code that we're always
3029         inserting user level styles.
3030
3031         * src/WebDocument.cpp:
3032         (WebKit::WebDocument::insertUserStyleSheet):
3033
3034 2012-11-20  Istiaque Ahmed  <lazyboy@chromium.org>
3035
3036         Provide page/window coordinates to plugin's local coordinates translation in WebPluginContainer.
3037         https://bugs.webkit.org/show_bug.cgi?id=102339
3038
3039         Reviewed by Adam Barth.
3040
3041         This change will allow converting a page's window coordinates to plugins's local coordinates,
3042         taking CSS transformations into account. Embedder page of the plugin can use this information
3043         for targetting elements inside the plugin (e.g. devtools can inspect a specific element at the
3044         local coordinate position inside plugin).
3045
3046         * WebKit.gyp:
3047         * WebKit.gypi:
3048         * public/WebNode.h:
3049         (WebKit):
3050         * public/WebPluginContainer.h:
3051         (WebKit):
3052         (WebPluginContainer):
3053         * src/WebFrameImpl.cpp:
3054         (WebKit::WebFrameImpl::executeCommand):
3055         (WebKit::WebFrameImpl::printBegin):
3056         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
3057         * src/WebNode.cpp:
3058         (WebKit::WebNode::pluginContainer):
3059         (WebKit):
3060         * src/WebPluginContainerImpl.cpp:
3061         (WebKit::WebPluginContainerImpl::windowToLocalPoint):
3062         (WebKit):
3063         * src/WebPluginContainerImpl.h:
3064         (WebPluginContainerImpl):
3065         * tests/FakeWebPlugin.cpp: Added.
3066         (WebKit):
3067         (WebKit::FakeWebPlugin::FakeWebPlugin):
3068         (WebKit::FakeWebPlugin::~FakeWebPlugin):
3069         (WebKit::FakeWebPlugin::initialize):
3070         (WebKit::FakeWebPlugin::destroy):
3071         * tests/FakeWebPlugin.h: Added.
3072         (WebKit):
3073         (FakeWebPlugin):
3074         * tests/WebPluginContainerTest.cpp: Added.
3075         (WebKit):
3076         (WebPluginContainerTest):
3077         (WebKit::WebPluginContainerTest::WebPluginContainerTest):
3078         (WebKit::WebPluginContainerTest::TearDown):
3079         (WebKit::getWebPluginContainer):
3080         (WebKit::TEST_F):
3081         * tests/data/plugin_container.html: Added.
3082
3083 2012-11-20  Alpha Lam  <hclam@chromium.org>
3084
3085         [chromium] Make lazy image decoding thread-safe
3086         https://bugs.webkit.org/show_bug.cgi?id=102721
3087
3088         Reviewed by Stephen White.
3089
3090         Added a new unit test to verify that lazy image decoding operates
3091         correctly on non-main threads.
3092
3093         * tests/DeferredImageDecoderTest.cpp:
3094         (Rasterizer):
3095         (WebCore):
3096         (WebCore::rasterizeMain):
3097         (WebCore::TEST_F):
3098
3099 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
3100
3101         Unreviewed, rolling out r135295.
3102         http://trac.webkit.org/changeset/135295
3103         https://bugs.webkit.org/show_bug.cgi?id=102834
3104
3105         This patch causes assertion to some layout tests on chromium
3106         (Requested by jianli on #webkit).
3107
3108         * src/WebFrameImpl.cpp:
3109         (WebKit::WebFrameImpl::loadRequest):
3110         (WebKit::WebFrameImpl::loadData):
3111         * src/WebSharedWorkerImpl.cpp:
3112         (WebKit::WebSharedWorkerImpl::initializeLoader):
3113
3114 2012-11-20  Eberhard Graether  <egraether@google.com>
3115
3116         [Chromium] fix FPS counter disappearing when changing page
3117         https://bugs.webkit.org/show_bug.cgi?id=102532
3118
3119         Reviewed by Pavel Feldman.
3120
3121         When changing the page with opened WebInspector and active FPS counter the WebInspector is
3122         reloaded before the WebView switches to accelerated compositing, so the showFPSCounter call
3123         to WebLayerTreeView is not yet possible. This fix saves the showFPSCounter value in the
3124         WebSettings so it can be read when accelerated compositing is activated.
3125
3126         * src/WebViewImpl.cpp:
3127         (WebKit::WebViewImpl::setShowFPSCounter):
3128
3129 2012-11-20  James Simonsen  <simonjam@chromium.org>
3130
3131         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
3132         https://bugs.webkit.org/show_bug.cgi?id=102151
3133
3134         Reviewed by Adam Barth.
3135
3136         * src/WebFrameImpl.cpp:
3137         (WebKit::WebFrameImpl::loadRequest):
3138         (WebKit::WebFrameImpl::loadData):
3139         * src/WebSharedWorkerImpl.cpp:
3140         (WebKit::WebSharedWorkerImpl::initializeLoader):
3141
3142 2012-11-19  Yury Semikhatsky  <yurys@chromium.org>
3143
3144         Unreviewed. Fix Chromium Win compilation after r135196.
3145         https://bugs.webkit.org/show_bug.cgi?id=102021
3146
3147         * tests/DeferredImageDecoderTest.cpp: changed char to unsigned char in the array
3148         declaration to avoid 'warning C4309' on MSVS when initializing from hex literals.
3149         (WebCore):
3150
3151 2012-11-19  Miguel Garcia  <miguelg@chromium.org>
3152
3153         [Chromium] Remove the dependency of INPUT_TYPE_COLOR on PAGE_POPUP
3154         https://bugs.webkit.org/show_bug.cgi?id=102525
3155
3156         Reviewed by Kent Tamura.
3157
3158         INPUT_TYPE_COLOR should not depend on PAGE_POPUP, with this change we allow platforms like android to implement the former without depending on the latter.
3159
3160         Tested by compiling chromium with and without ENABLE_PAGE_POPUP and made sure that forms with input type color would load in both cases.
3161
3162         * WebKit.gyp:
3163         * src/ChromeClientImpl.cpp:
3164         (WebKit::ChromeClientImpl::createColorChooser):
3165         * src/ColorChooserUIController.cpp:
3166         (WebKit::ColorChooserUIController::ColorChooserUIController):
3167         (WebKit::ColorChooserUIController::openUI):
3168         (WebKit):
3169         (WebKit::ColorChooserUIController::endChooser):
3170         * src/ColorChooserUIController.h:
3171         (ColorChooserUIController):
3172
3173 2012-11-19  Alpha Lam  <hclam@chromium.org>
3174
3175         [chromium] Lazy image decoding without cache
3176         https://bugs.webkit.org/show_bug.cgi?id=102021
3177
3178         Reviewed by Stephen White.
3179
3180         Updated two test cases using real image data.
3181
3182         The tests demonstrates that original image decoder is not used and
3183         image is decoded lazily with correct pixel results.
3184
3185         * tests/DeferredImageDecoderTest.cpp:
3186         (WebCore):
3187         (WebCore::DeferredImageDecoderTest::SetUp):
3188         (WebCore::DeferredImageDecoderTest::decoderBeingDestroyed):
3189         (DeferredImageDecoderTest):
3190         (WebCore::TEST_F):
3191         * tests/MockImageDecoder.h:
3192         (MockImageDecoderClient):
3193         (WebCore):
3194         (WebCore::MockImageDecoder::MockImageDecoder):
3195         (WebCore::MockImageDecoder::~MockImageDecoder):
3196         (MockImageDecoder):
3197
3198 2012-11-19  Sheriff Bot  <webkit.review.bot@gmail.com>
3199
3200         Unreviewed, rolling out r135180.
3201         http://trac.webkit.org/changeset/135180
3202         https://bugs.webkit.org/show_bug.cgi?id=102700
3203
3204         breaks ui/compositor build (Requested by danakj on #webkit).
3205
3206         * tests/GraphicsLayerChromiumTest.cpp:
3207         (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
3208
3209 2012-11-19  Yusuke Sato  <yusukes@chromium.org>
3210
3211         [Chromium] Flash cannot receive scroll events when threaded compositing is in use
3212         https://bugs.webkit.org/show_bug.cgi?id=101423
3213
3214         Reviewed by James Robinson.
3215
3216         Add setWantsWheelEvents() to Chromium's WebPluginContainer interface so that a plugin can tell the
3217         container that the plugin always wants to handle wheel events even when a scroll bar is not shown.
3218
3219         * public/WebPluginContainer.h:
3220         (WebPluginContainer):
3221         * src/WebPluginContainerImpl.cpp:
3222         (WebKit::WebPluginContainerImpl::setWantsWheelEvents):
3223         (WebKit):
3224         (WebKit::WebPluginContainerImpl::wantsWheelEvents):
3225         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
3226         * src/WebPluginContainerImpl.h:
3227         (WebPluginContainerImpl):
3228
3229 2012-11-19  Alec Flett  <alecflett@chromium.org>
3230
3231         IndexedDB: simplify RecordIdentifier
3232         https://bugs.webkit.org/show_bug.cgi?id=102018
3233
3234         Reviewed by Tony Chang.
3235
3236         Update IDBFakeBackingStore to match its parent class.
3237
3238         * tests/IDBFakeBackingStore.h:
3239
3240 2012-11-19  Vincent Scheib  <scheib@chromium.org>
3241
3242         [Chromium] Remove WebKit::WebRuntimeFeatures::enablePointerLock.
3243         https://bugs.webkit.org/show_bug.cgi?id=96946
3244
3245         Reviewed by Adam Barth.
3246
3247         The runtime flag functionality has already been removed.
3248         Now that Chromium no longer has a compile dependency on this
3249         API, it can be removed as well.
3250
3251         * public/WebRuntimeFeatures.h:
3252         (WebRuntimeFeatures):
3253         * src/WebRuntimeFeatures.cpp:
3254
3255 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
3256
3257         Add PROXIMITY_EVENTS feature
3258         https://bugs.webkit.org/show_bug.cgi?id=102658
3259
3260         Reviewed by Kentaro Hara.
3261
3262         Add PROXIMITY_EVENTS feature to chromium port.
3263
3264         * features.gypi:
3265
3266 2012-11-19  Sami Kyostila  <skyostil@chromium.org>
3267
3268         [chromium] Use devicePixelRatio instead of screen DPI for computing viewport attributes
3269         https://bugs.webkit.org/show_bug.cgi?id=101767
3270
3271         Reviewed by Adam Barth.
3272
3273         Use the newly introduced device scale factor to calculate viewport properties
3274         instead of using the screen DPI. No functional changes, because Chromium
3275         platforms that have VIEWPORT enabled now also initialize the device scale
3276         factor accordingly.
3277
3278         * src/ChromeClientImpl.cpp:
3279         (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
3280         * tests/WebFrameTest.cpp:
3281
3282 2012-11-18  Kentaro Hara  <haraken@chromium.org>
3283
3284         Unreviewed, rolling out r135047.
3285         http://trac.webkit.org/changeset/135047
3286         https://bugs.webkit.org/show_bug.cgi?id=102339
3287
3288         it broke Chromium Windows/Mac build
3289
3290         * WebKit.gyp:
3291         * WebKit.gypi:
3292         * public/WebNode.h:
3293         (WebKit):
3294         * public/WebPluginContainer.h:
3295         (WebKit):
3296         (WebPluginContainer):
3297         * src/WebFrameImpl.cpp:
3298         (WebKit::pluginContainerFromNode):
3299         (WebKit):
3300         (WebKit::WebFrameImpl::executeCommand):
3301         (WebKit::WebFrameImpl::printBegin):
3302         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
3303         * src/WebNode.cpp:
3304         * src/WebPluginContainerImpl.cpp:
3305         * src/WebPluginContainerImpl.h:
3306         (WebPluginContainerImpl):
3307         * tests/FakeWebPlugin.cpp: Removed.
3308         * tests/FakeWebPlugin.h: Removed.
3309         * tests/WebPluginContainerTest.cpp: Removed.
3310         * tests/data/plugin_container.html: Removed.
3311
3312 2012-11-18  Rick Byers  <rbyers@chromium.org>
3313
3314         [chromium] add WebCursorInfo::imageScaleFactor
3315         https://bugs.webkit.org/show_bug.cgi?id=102612
3316
3317         Reviewed by Adam Barth.
3318
3319         Add cursor image scale factor (currently always 1) to chromium API, in preparation for
3320         high-dpi cursor support in bug 99493.
3321
3322         * public/WebCursorInfo.h:
3323         (WebKit::WebCursorInfo::WebCursorInfo):
3324         * src/WebCursorInfo.cpp:
3325         (WebKit::WebCursorInfo::WebCursorInfo):
3326
3327 2012-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3328
3329         Unreviewed.  Rolled DEPS.
3330
3331         * DEPS:
3332
3333 2012-11-17  Istiaque Ahmed  <lazyboy@chromium.org>
3334
3335         Provide page/window coordinates to plugin's local coordinates translation in WebPluginContainer.
3336         https://bugs.webkit.org/show_bug.cgi?id=102339
3337
3338         Reviewed by Adam Barth.
3339
3340         This change will allow converting a page's window coordinates to plugins's local coordinates,
3341         taking CSS transformations into account. Embedder page of the plugin can use this information
3342         for targetting elements inside the plugin (e.g. devtools can inspect a specific element at the
3343         local coordinate position inside plugin).
3344         Attempting to re-land after Windows build fix.
3345
3346         * WebKit.gyp:
3347         * WebKit.gypi:
3348         * public/WebNode.h:
3349         (WebKit):
3350         * public/WebPluginContainer.h:
3351         (WebKit):
3352         (WebPluginContainer):
3353         * src/WebFrameImpl.cpp:
3354         (WebKit::WebFrameImpl::executeCommand):
3355         (WebKit::WebFrameImpl::printBegin):
3356         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
3357         * src/WebNode.cpp:
3358         (WebKit::WebNode::pluginContainer):
3359         (WebKit):
3360         * src/WebPluginContainerImpl.cpp:
3361         (WebKit::WebPluginContainerImpl::windowToLocalPoint):
3362         (WebKit):
3363         * src/WebPluginContainerImpl.h:
3364         (WebPluginContainerImpl):
3365         * tests/FakeWebPlugin.cpp: Added.
3366         (WebKit):
3367         (WebKit::FakeWebPlugin::FakeWebPlugin):
3368         (WebKit::FakeWebPlugin::~FakeWebPlugin):
3369         (WebKit::FakeWebPlugin::initialize):
3370         (WebKit::FakeWebPlugin::destroy):
3371         * tests/FakeWebPlugin.h: Added.
3372         (WebKit):
3373         (FakeWebPlugin):
3374         * tests/WebPluginContainerTest.cpp: Added.
3375         (WebKit):
3376         (WebPluginContainerTest):
3377         (WebKit::WebPluginContainerTest::WebPluginContainerTest):
3378         (WebKit::WebPluginContainerTest::TearDown):
3379         (WebKit::getWebPluginContainer):
3380         (WebKit::TEST_F):
3381         * tests/data/plugin_container.html: Added.
3382
3383 2012-11-16  Raman Kumar  <ramankk@chromium.org>
3384
3385         Add setChecked API in WebInputElement
3386         https://bugs.webkit.org/show_bug.cgi?id=102422
3387
3388         Reviewed by Adam Barth.
3389
3390         * public/WebInputElement.h:
3391         (WebInputElement): Add setChecked(bool, bool) API
3392         * src/WebInputElement.cpp:
3393         (WebKit::WebInputElement::setChecked): Implement setChecked by calling
3394         underlying HTMLInputElement's setChecked.
3395         (WebKit):
3396
3397 2012-11-16  Tony Chang  <tony@chromium.org>
3398
3399         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
3400         https://bugs.webkit.org/show_bug.cgi?id=102554
3401
3402         Reviewed by Andreas Kling.
3403
3404         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
3405         we're going to revist this feature once additional vendor support is
3406         achieved.
3407
3408         * features.gypi:
3409
3410 2012-11-16  Mark Pilgrim  <pilgrim@chromium.org>
3411
3412         [Chromium] Remove cookie-related functions from PlatformSupport
3413         https://bugs.webkit.org/show_bug.cgi?id=99340
3414
3415         Reviewed by Adam Barth.
3416
3417         Move cookie-related functions out of PlatformSupport and implement
3418         new PlatformCookieJar interface via NetworkContext.
3419
3420         * WebKit.gyp:
3421         * src/FrameNetworkingContextImpl.cpp: Added.
3422         (WebKit):
3423         (WebKit::FrameNetworkingContextImpl::cookieJar):
3424         * src/FrameNetworkingContextImpl.h:
3425         (FrameNetworkingContextImpl):
3426         * src/PlatformSupport.cpp:
3427
3428 2012-11-16  Tien-Ren Chen  <trchen@chromium.org>
3429
3430         Rename applyDefaultDeviceScaleFactorInCompositor to setApplyDeviceScaleFactorInCompositor
3431         https://bugs.webkit.org/show_bug.cgi?id=102462
3432
3433         Reviewed by James Robinson.
3434
3435         As we no longer have this "default" device scale factor.
3436
3437         * public/WebSettings.h:
3438         (WebKit::WebSettings::setApplyDefaultDeviceScaleFactorInCompositor):
3439         * src/WebSettingsImpl.cpp:
3440         (WebKit::WebSettingsImpl::WebSettingsImpl):
3441         (WebKit::WebSettingsImpl::setApplyDeviceScaleFactorInCompositor):
3442         * src/WebSettingsImpl.h:
3443         (WebSettingsImpl):
3444         (WebKit::WebSettingsImpl::applyDeviceScaleFactorInCompositor):
3445         * src/WebViewImpl.cpp:
3446         (WebKit::WebViewImpl::setDeviceScaleFactor):
3447         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3448
3449 2012-11-16  Jon Lee  <jonlee@apple.com>
3450
3451         Fix build error on Chromium due to r134995.
3452
3453         * src/WebNode.cpp:
3454         (WebKit::WebNode::simulateClick): Pass in NULL pointer instead.
3455
3456 2012-11-16  Michael Pruett  <michael@68k.org>
3457
3458         IndexedDB: Propagate DOMRequestState to IndexedDB binding utility functions
3459         https://bugs.webkit.org/show_bug.cgi?id=102430
3460
3461         Reviewed by Adam Barth.
3462
3463         DOMRequestState is currently propagated to some but not all of
3464         the IndexedDB binding utility functions. In order to implement
3465         these functions for JSC, this state must be propagated to all
3466         of the utility functions.
3467
3468         * tests/IDBBindingUtilitiesTest.cpp:
3469         (WebKit::checkKeyFromValueAndKeyPathInternal):
3470         (WebKit::injectKey):
3471
3472 2012-11-16  Tommy Widenflycht  <tommyw@google.com>
3473
3474         MediaStream API: Update RTCPeerConnection states to match the latest editors draft
3475         https://bugs.webkit.org/show_bug.cgi?id=102382
3476
3477         Reviewed by Adam Barth.
3478
3479         Updating readyState & iceState, and adding iceGatheringState.
3480
3481         * src/AssertMatchingEnums.cpp:
3482
3483 2012-11-16  Dimitri Glazkov  <dglazkov@chromium.org>
3484
3485         Unreviewed, rolling out r134973.
3486         http://trac.webkit.org/changeset/134973
3487         https://bugs.webkit.org/show_bug.cgi?id=99340
3488
3489         Broke compile on at least Mac and Linux.
3490
3491         * WebKit.gyp:
3492         * src/FrameNetworkingContextImpl.h:
3493         * src/PlatformSupport.cpp:
3494         (WebCore::getCookieJar):
3495         (WebCore):
3496         (WebCore::PlatformSupport::setCookies):
3497         (WebCore::PlatformSupport::cookies):
3498         (WebCore::PlatformSupport::cookieRequestHeaderFieldValue):
3499         (WebCore::PlatformSupport::rawCookies):
3500         (WebCore::PlatformSupport::deleteCookie):
3501         (WebCore::PlatformSupport::cookiesEnabled):
3502
3503 2012-11-16  Mark Pilgrim  <pilgrim@chromium.org>
3504
3505         [Chromium] Remove cookie-related functions from PlatformSupport
3506         https://bugs.webkit.org/show_bug.cgi?id=99340
3507
3508         Reviewed by Adam Barth.
3509
3510         Move cookie-related functions out of PlatformSupport and implement
3511         new PlatformCookieJar interface via NetworkContext.
3512
3513         * WebKit.gyp:
3514         * src/FrameNetworkingContextImpl.cpp: Added.
3515         (WebKit):
3516         (WebKit::FrameNetworkingContextImpl::cookieJar):
3517         * src/FrameNetworkingContextImpl.h:
3518         (FrameNetworkingContextImpl):
3519         * src/PlatformSupport.cpp:
3520
3521 2012-11-16  Scott Violet  <sky@chromium.org>
3522
3523         [chromium] Copy linux theme related files to default
3524         https://bugs.webkit.org/show_bug.cgi?id=102403
3525
3526         Reviewed by Tony Chang
3527
3528         Transitional patch that copies linux WebThemeEngine to default directory.
3529
3530         No new tests, refactoring only.
3531
3532         * features.gypi:
3533         * public/platform/default: Added.
3534         * public/platform/default/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/platform/linux/WebThemeEngine.h.
3535         * src/PlatformSupport.cpp: Includes correct theme files when DEFAULT_RENDER_THEME is set.
3536         (WebCore):
3537         * src/WebViewImpl.cpp: Includes correct theme files when DEFAULT_RENDER_THEME is set.
3538         (WebKit::WebViewImpl::setScrollbarColors): Calls to default theme as necessary.
3539         (WebKit::WebViewImpl::setSelectionColors): Calls to default theme as necessary.
3540
3541 2012-11-16  Robert Flack  <flackr@chromium.org>
3542
3543         Handle gesture events on scrollbars.
3544         https://bugs.webkit.org/show_bug.cgi?id=101516
3545
3546         Reviewed by Antonio Gomes.
3547
3548         Adds a gesture event handler to scrollbars and sends gestures beginning
3549         over a scrollbar to this handler to allow touch scrolling scrollbars.
3550
3551         * src/WebViewImpl.cpp:
3552         (WebKit::WebViewImpl::handleGestureEvent):
3553
3554 2012-11-16  Peter Beverloo  <peter@chromium.org>
3555
3556         Unreviewed.  Rolled DEPS.
3557
3558         * DEPS:
3559
3560 2012-11-15  Kentaro Hara  <haraken@chromium.org>
3561
3562         Unreviewed, rolling out r134880.
3563         http://trac.webkit.org/changeset/134880
3564         https://bugs.webkit.org/show_bug.cgi?id=102339
3565
3566         it broke Chromium Windows build
3567
3568         * WebKit.gyp:
3569         * WebKit.gypi:
3570         * public/WebNode.h:
3571         (WebKit):
3572         * public/WebPluginContainer.h:
3573         (WebKit):
3574         (WebPluginContainer):
3575         * src/WebFrameImpl.cpp:
3576         (WebKit::pluginContainerFromNode):
3577         (WebKit):
3578         (WebKit::WebFrameImpl::executeCommand):
3579         (WebKit::WebFrameImpl::printBegin):
3580         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
3581         * src/WebNode.cpp:
3582         * src/WebPluginContainerImpl.cpp:
3583         * src/WebPluginContainerImpl.h:
3584         (WebPluginContainerImpl):
3585         * tests/FakeWebPlugin.cpp: Removed.
3586         * tests/FakeWebPlugin.h: Removed.
3587         * tests/WebPluginContainerTest.cpp: Removed.
3588         * tests/data/plugin_container.html: Removed.
3589
3590 2012-11-15  Istiaque Ahmed  <lazyboy@chromium.org>
3591
3592         Provide page/window coordinates to plugin's local coordinates translation in WebPluginContainer.
3593         https://bugs.webkit.org/show_bug.cgi?id=102339
3594
3595         Reviewed by Adam Barth.
3596
3597         This change will allow converting a page's window coordinates to plugins's local coordinates,
3598         taking CSS transformations into account. Embedder page of the plugin can use this information
3599         for targetting elements inside the plugin (e.g. devtools can inspect a specific element at the
3600         local coordinate position inside plugin).
3601
3602         * WebKit.gyp:
3603         * WebKit.gypi:
3604         * public/WebNode.h:
3605         (WebKit):
3606         * public/WebPluginContainer.h:
3607         (WebKit):
3608         (WebPluginContainer):
3609         * src/WebFrameImpl.cpp:
3610         (WebKit::WebFrameImpl::executeCommand):
3611         (WebKit::WebFrameImpl::printBegin):
3612         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
3613         * src/WebNode.cpp:
3614         (WebKit::WebNode::pluginContainer):
3615         (WebKit):
3616         * src/WebPluginContainerImpl.cpp:
3617         (WebKit::WebPluginContainerImpl::windowToLocalPoint):
3618         (WebKit):
3619         * src/WebPluginContainerImpl.h:
3620         (WebPluginContainerImpl):
3621         * tests/FakeWebPlugin.cpp: Added.
3622         (WebKit):
3623         (WebKit::FakeWebPlugin::FakeWebPlugin):
3624         (WebKit::FakeWebPlugin::~FakeWebPlugin):
3625         (WebKit::FakeWebPlugin::initialize):
3626         (WebKit::FakeWebPlugin::destroy):
3627         * tests/FakeWebPlugin.h: Added.
3628         (WebKit):
3629         (FakeWebPlugin):
3630         * tests/WebPluginContainerTest.cpp: Added.
3631         (WebKit):
3632         (WebPluginContainerTest):
3633         (WebKit::WebPluginContainerTest::WebPluginContainerTest):
3634         (WebKit::WebPluginContainerTest::TearDown):
3635         (WebKit::getWebPluginContainer):
3636         (WebKit::TEST_F):
3637         * tests/data/plugin_container.html: Added.
3638
3639 2012-11-15  Tien-Ren Chen  <trchen@chromium.org>
3640
3641         Add Settings to disable custom scrollbars on main frame
3642         https://bugs.webkit.org/show_bug.cgi?id=102323
3643
3644         Reviewed by Adam Barth.
3645
3646         Custom scrollbars on main frame don't really work well on touch devices.
3647         Add a setting to inhibit their creation.
3648
3649         * public/WebSettings.h:
3650         * src/WebSettingsImpl.cpp:
3651         (WebKit::WebSettingsImpl::setAllowCustomScrollbarInMainFrame):
3652         (WebKit):
3653         * src/WebSettingsImpl.h:
3654         (WebSettingsImpl):
3655
3656 2012-11-15  Yue Zhang  <zysxqn@google.com>
3657
3658         Ignore autocomplete=off for chrome generated passwords.
3659         https://bugs.webkit.org/show_bug.cgi?id=102426
3660
3661         Reviewed by Adam Barth.
3662
3663         Record the autocomplete attribute in the web password form data,
3664         so that we can handle autocomplete in chromium code. The
3665         motivation/background is: we should ignore autocomplete=off field
3666         for password forms with chrome generated passwords (has passed
3667         security review). By handling autocomplete in chromium code we can
3668         distinguish password forms with chrome generated passwords and
3669         those normal password forms. Note that we haven't turned off
3670         checking autocomplete=off in the Webkit code for now so there is
3671         no behavior change after this CL, and we will turn off after we
3672         make the chromium side change to be safe.
3673
3674         * public/WebPasswordFormData.h:
3675         (WebPasswordFormData):
3676         * src/WebPasswordFormData.cpp:
3677
3678 2012-11-15  Scott Violet  <sky@chromium.org>
3679
3680         [chromium] Create default directory so that cq can apply patch
3681         https://bugs.webkit.org/show_bug.cgi?id=102421
3682
3683         Reviewed by Tony Chang.
3684
3685         Done in hopes of patch that copies files to this directory working.
3686
3687         * public/platform/default: Added.
3688
3689 2012-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3690
3691         Unreviewed, rolling out r134800 and r134805.
3692         http://trac.webkit.org/changeset/134800
3693         http://trac.webkit.org/changeset/134805
3694         https://bugs.webkit.org/show_bug.cgi?id=102417
3695
3696         This patch broke chromium port (Requested by jianli on
3697         #webkit).
3698
3699         * src/AssertMatchingEnums.cpp:
3700
3701 2012-11-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3702
3703         [chromium] Do not mark an event (mouse wheel, scroll update) as handled if nothing was scrolled.
3704         https://bugs.webkit.org/show_bug.cgi?id=102246
3705
3706         Reviewed by James Robinson.
3707
3708         * src/WebCompositorInputHandlerImpl.cpp:
3709         (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
3710         * tests/WebCompositorInputHandlerImplTest.cpp:
3711         (MockWebInputHandlerClient):
3712         (WebKit::TEST_F):
3713
3714 2012-11-15  Tommy Widenflycht  <tommyw@google.com>
3715
3716         MediaStream API: Update RTCPeerConnection states to match the latest editors draft
3717         https://bugs.webkit.org/show_bug.cgi?id=102382
3718
3719         Reviewed by Adam Barth.
3720
3721         Updating readyState & iceState, and adding iceGatheringState.
3722
3723         * src/AssertMatchingEnums.cpp:
3724
3725 2012-11-15  Tien-Ren Chen  <trchen@chromium.org>
3726
3727         Use correct unscaled document size when calculating scale limits
3728         https://bugs.webkit.org/show_bug.cgi?id=102028
3729
3730         Reviewed by Adam Barth.
3731
3732         Fixes bug http://crbug.com/160581
3733         Using contentsSize / pageScaleFactor as unscaled contents size results
3734         in rounding errors. This can cause scale factor to oscillate indefinitely.
3735
3736         * src/WebViewImpl.cpp:
3737         (WebKit::unscaledContentsSize):
3738         (WebKit):
3739         (WebKit::WebViewImpl::computePageScaleFactorLimits):
3740         * tests/WebFrameTest.cpp:
3741         * tests/data/scale_oscillate.html: Added.
3742
3743 2012-11-15  Kenneth Russell  <kbr@google.com>
3744
3745         [chromium] Move allowWebGL query to WebFrameClient
3746         https://bugs.webkit.org/show_bug.cgi?id=102319
3747
3748         Reviewed by Adam Barth.
3749
3750         Moved allowWebGL query to WebFrameClient to avoid polluting
3751         content/ API.
3752
3753         * public/WebFrameClient.h:
3754         (WebFrameClient):
3755         (WebKit::WebFrameClient::allowWebGL):
3756         * public/WebPermissionClient.h:
3757         * src/FrameLoaderClientImpl.cpp:
3758         (WebKit::FrameLoaderClientImpl::allowWebGL):
3759
3760 2012-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3761
3762         Unreviewed.  Rolled DEPS.
3763
3764         * DEPS:
3765
3766 2012-11-15  Stephen Chenney  <schenney@chromium.org>
3767
3768         [Chromium] Move SK_DISABLE_FAST_AA_STROKE_RECT to skia_webkit.gyp
3769
3770         Unreviewed non-funtional, behavior-neutral change
3771
3772         * skia_webkit.gyp: Add SK_DISABLE_FAST_AA_STROKE_RECT=1 so that it can be removed from Chromium's skia.gyp
3773
3774 2012-11-15  Stephen Chenney  <schenney@chromium.org>
3775
3776         [Chromium] Disable SK_IGNORE_FAST_BLURRECT
3777
3778         Unreviewed test update.
3779
3780         This flag is enabled purely to simplify rebaselining. I am now
3781         removing it and doing the rebaslining.
3782
3783         * skia_webkit.gyp: Remove the line for SK_IGNORE_FAST_BLURRECT
3784
3785 2012-11-15  Kent Tamura  <tkent@chromium.org>
3786
3787         Support stand-alone month names in calendar picker
3788         https://bugs.webkit.org/show_bug.cgi?id=102196
3789
3790         Reviewed by Kentaro Hara.
3791
3792         * src/DateTimeChooserImpl.cpp:
3793         (WebKit::DateTimeChooserImpl::writeDocument):
3794         We don't need to pass monthLabels any more.
3795
3796 2012-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3797
3798         Unreviewed.  Rolled DEPS.
3799
3800         * DEPS:
3801
3802 2012-11-14  Joshua Bell  <jsbell@chromium.org>
3803
3804         IndexedDB: Remove magic numbers in record comparator, handle missing case
3805         https://bugs.webkit.org/show_bug.cgi?id=102255
3806
3807         Reviewed by Tony Chang.
3808
3809         Add test keys for various metadata types.
3810
3811         * tests/IDBLevelDBCodingTest.cpp:
3812         (IDBLevelDBCoding::TEST):
3813
3814 2012-11-14  Eric Uhrhane  <ericu@chromium.org>
3815
3816         [chromium] Don't let shift-click turn popup into tab.
3817         https://bugs.webkit.org/show_bug.cgi?id=102254
3818
3819         Reviewed by Adam Barth.
3820
3821         Change http://trac.webkit.org/changeset/132399 broke shift-click on
3822         compose in GMail.  We didn't want to change behavior that people were
3823         depending on, and this quick fix seems a good compromise between user
3824         intent and developer intent.
3825
3826         * src/ChromeClientImpl.cpp:
3827         (WebKit::updatePolicyForEvent):
3828
3829 2012-11-14  Mike Reed  <reed@google.com>
3830
3831         Dynamically create canvas in Setup() to avoid calling DEPRECATED function setDevice().
3832         https://bugs.webkit.org/show_bug.cgi?id=102242
3833
3834         Reviewed by Stephen White.
3835
3836         This change should not change any test results, it is an equivalent implementation that avoids
3837         using a (now) DEPRECATED function.
3838
3839         * tests/DeferredImageDecoderTest.cpp:
3840         (WebCore::createRasterCanvas):
3841         (WebCore):
3842         (WebCore::DeferredImageDecoderTest::SetUp):
3843         (DeferredImageDecoderTest):
3844         (WebCore::TEST_F):
3845
3846 2012-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3847
3848         Unreviewed, rolling out r134523.
3849         http://trac.webkit.org/changeset/134523
3850         https://bugs.webkit.org/show_bug.cgi?id=102218
3851
3852         brake chrome windows build, as it references a non existing
3853         header js/DOMRequestState.h (Requested by jochen__ on
3854         #webkit).
3855
3856         * src/WebIDBKey.cpp:
3857
3858 2012-11-14  Kent Tamura  <tkent@chromium.org>
3859
3860         Support for localization tests of calendar picker
3861         https://bugs.webkit.org/show_bug.cgi?id=102181
3862
3863         Reviewed by Kentaro Hara.
3864
3865         * src/DateTimeChooserImpl.cpp:
3866         Use DateTimeChooserParameters::locale.
3867         (WebKit::DateTimeChooserImpl::DateTimeChooserImpl):
3868         (WebKit::DateTimeChooserImpl::writeDocument):
3869
3870 2012-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3871
3872         Unreviewed, rolling out r134566.
3873         http://trac.webkit.org/changeset/134566
3874         https://bugs.webkit.org/show_bug.cgi?id=102197
3875
3876         "it broke Chromium Android Release build" (Requested by
3877         haraken on #webkit).
3878
3879         * src/DateTimeChooserImpl.cpp:
3880         (WebKit::DateTimeChooserImpl::DateTimeChooserImpl):
3881         (WebKit::DateTimeChooserImpl::writeDocument):
3882
3883 2012-11-14  Kent Tamura  <tkent@chromium.org>
3884
3885         Support for localization tests of calendar picker
3886         https://bugs.webkit.org/show_bug.cgi?id=102181
3887
3888         Reviewed by Kentaro Hara.
3889
3890         * src/DateTimeChooserImpl.cpp:
3891         Use DateTimeChooserParameters::locale.
3892         (WebKit::DateTimeChooserImpl::DateTimeChooserImpl):
3893         (WebKit::DateTimeChooserImpl::writeDocument):
3894
3895 2012-11-14  Yury Semikhatsky  <yurys@chromium.org>
3896
3897         Remove MemoryInstrumentationTest.ImageObserver
3898         https://bugs.webkit.org/show_bug.cgi?id=102185
3899
3900         Reviewed by Pavel Feldman.
3901
3902         Removed obsolete memory instrumenation unit test.
3903
3904         * WebKit.gypi:
3905         * tests/MemoryInstrumentationTest.cpp: Removed.
3906
3907 2012-11-14  Kent Tamura  <tkent@chromium.org>
3908
3909         [Chromium] Add API to expose WebCore::DateTimeChooser
3910         https://bugs.webkit.org/show_bug.cgi?id=101196
3911
3912         Reviewed by Hajime Morita.
3913
3914         Add ability to open date/time choosers to WebViewClient.
3915
3916         - ExternalDateTimeChooser forwards DateTimeChooser requests from WebCore
3917           to WebViewClient, and waits for WebDateTimeChooerCompletion notifications.
3918         - WebDateTimeChooserParams contains various information to create
3919           chooser UI.
3920         - WebDateTimeChooserCompletion informs value selection by users to
3921           ExternalDateTimeChooser.
3922
3923         The design is very similar to existing WebFileChooserParams and
3924         WebFileChooserCompletion.
3925
3926         These interfaces are used only if ENABLE_INPUT_MULTIPLE_FIELDS_UI is not
3927         enabled, that is to say, in Chromium-Android port. Non-Android Chromium
3928         ports use DateTimeChooserImpl and WebKit-internal choosers.
3929
3930         * WebKit.gyp: Add WebDateTimeChooserCompletion.h,
3931         WebDateTimeChooserParams.h, ExternalDateTimeChooser.cpp, and
3932         ExternalDateTimeChooser.h.
3933         * public/WebDateTimeChooserCompletion.h: Added.
3934         (WebDateTimeChooserCompletion):
3935         (WebKit::WebDateTimeChooserCompletion::~WebDateTimeChooserCompletion):
3936         * public/WebDateTimeChooserParams.h: Added.
3937         (WebDateTimeChooserParams):
3938         (WebKit::WebDateTimeChooserParams::WebDateTimeChooserParams):
3939         * public/WebViewClient.h:
3940         (WebKit): Add some forward declarations.
3941         (WebKit::WebViewClient::openDateTimeChooser): Added.
3942         * src/ChromeClientImpl.cpp:
3943         (WebKit::ChromeClientImpl::openDateTimeChooser):
3944         Creates ExternalDateTimeChooser if !ENABLE(INPUT_MULTIPLE_FIELDS_UI).
3945         * src/ExternalDateTimeChooser.cpp: Added.
3946         (WebDateTimeChooserCompletionImpl): An implementation of
3947         WebDateTimeChooserCompletion. When didChooseValue or didCancelChooser is
3948         called, it notifies to an ExternalDateTimeChooser and kill itself.
3949         (WebKit::ExternalDateTimeChooser::~ExternalDateTimeChooser): Added.
3950         (WebKit::ExternalDateTimeChooser::ExternalDateTimeChooser): Added.
3951         (WebKit::ExternalDateTimeChooser::create):
3952         Cretes an object, then asks the WebViewClient to open date/time chooser.
3953         If an open request fails, an empty PassRefPtr<> is returned.
3954         We don't ask to open in the constructor because open requests might fail
3955         and it's hard for the constructor to tell the failure.
3956         (WebKit::ExternalDateTimeChooser::openDateTimeChooser): Prepares a
3957         WebDateTimeChooserParams and a WebDateTimeChooserCompletion, calls
3958         WebViewClient::openDateTimeChooser, and kill the
3959         WebDateTimeChooserCompletion if openDateTimeChooser fails.
3960         (WebKit::ExternalDateTimeChooser::didChooseValue):
3961         Called by WebDateTimeChooserCompletion.
3962         We need to check m_client because the requester is already dead.
3963         (WebKit::ExternalDateTimeChooser::didCancelChooser): Ditto.
3964         (WebKit::ExternalDateTimeChooser::endChooser):
3965         Called by the requester when it wants to close the chooser.
3966         We don't close the chooser here, and just disconnect the association of
3967         the client and this object.
3968         * src/ExternalDateTimeChooser.h: Added.
3969
3970 2012-11-13  Vincent Scheib  <scheib@chromium.org>
3971
3972         Remove RuntimeEnabledFeatures::isPointerLockEnabled.
3973         https://bugs.webkit.org/show_bug.cgi?id=102107
3974
3975         Reviewed by Adam Barth.
3976
3977         The runtime flag is always true now that the feature is enabled by default in Chromium.
3978
3979         * public/WebRuntimeFeatures.h:
3980         (WebRuntimeFeatures):
3981         * src/WebRuntimeFeatures.cpp:
3982         (WebKit):
3983         (WebKit::WebRuntimeFeatures::enablePointerLock):
3984
3985 2012-11-13  Sheriff Bot  <webkit.review.bot@gmail.com>
3986
3987         Unreviewed.  Rolled DEPS.
3988
3989         * DEPS:
3990
3991 2012-11-13  Dana Jansens  <danakj@chromium.org>
3992
3993         [chromium] Pass showDebugBorders directly to WebLayerTreeSettings, don't use the GraphicsLayer border width setting.
3994         https://bugs.webkit.org/show_bug.cgi?id=102130
3995
3996         Reviewed by James Robinson.
3997
3998         * src/WebViewImpl.cpp:
3999         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4000         (WebKit):
4001
4002 2012-11-13  Keishi Hattori  <keishi@webkit.org>
4003
4004         Enable datalist UI for input types week and month
4005         https://bugs.webkit.org/show_bug.cgi?id=102041
4006
4007         Reviewed by Kent Tamura.
4008
4009         * src/DateTimeChooserImpl.cpp:
4010         (WebKit::DateTimeChooserImpl::writeDocument): If the type supports calendar picker show the "Other..." option.
4011
4012 2012-11-13  Eberhard Graether  <egraether@google.com>
4013
4014         checkbox to toggle FPS counter in the inspector's settings
4015         https://bugs.webkit.org/show_bug.cgi?id=99660
4016
4017         Reviewed by Pavel Feldman.
4018
4019         Added a checkbox to the inspector's settings to toggle a FPS counter. The checkbox appears when InspectorClient::canShowFPSCounter() returns true.
4020
4021         * public/WebView.h:
4022         (WebView):
4023         * src/InspectorClientImpl.cpp:
4024         (WebKit::InspectorClientImpl::canShowFPSCounter):
4025         (WebKit):
4026         (WebKit::InspectorClientImpl::setShowFPSCounter):
4027         * src/InspectorClientImpl.h:
4028         (InspectorClientImpl):
4029         * src/WebViewImpl.cpp:
4030         (WebKit::WebViewImpl::WebViewImpl):
4031         (WebKit::WebViewImpl::setShowFPSCounter):
4032         (WebKit):
4033         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4034         (WebKit::WebViewImpl::loadFontAtlasIfNecessary):
4035         * src/WebViewImpl.h:
4036         (WebViewImpl):
4037
4038 2012-11-13  Dana Jansens  <danakj@chromium.org>
4039
4040         [chromium] Plumb WebCompositorSupport settings through WebLayerTreeSettings as well, in preparation for removing the settings from WebCompositorSupport
4041         https://bugs.webkit.org/show_bug.cgi?id=102146
4042
4043         Reviewed by James Robinson.
4044
4045         Add accelerated animation and per-tile painting to the WebSettings structure.
4046
4047         * public/WebSettings.h:
4048         * src/WebSettingsImpl.cpp:
4049         (WebKit::WebSettingsImpl::setAcceleratedAnimationEnabled):
4050         (WebKit):
4051         (WebKit::WebSettingsImpl::setPerTilePaintingEnabled):
4052         * src/WebSettingsImpl.h:
4053         (WebSettingsImpl):
4054         (WebKit::WebSettingsImpl::gestureTapHighlightEnabled):
4055         (WebKit::WebSettingsImpl::doubleTapToZoomEnabled):
4056         (WebKit::WebSettingsImpl::perTilePaintingEnabled):
4057         (WebKit::WebSettingsImpl::acceleratedAnimationEnabled):
4058         * src/WebViewImpl.cpp:
4059         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4060         (WebKit):
4061
4062 2012-11-13  Kenneth Russell  <kbr@google.com>
4063
4064         Notify embedder of lost contexts and allow overriding of WebGL support
4065         https://bugs.webkit.org/show_bug.cgi?id=101826
4066
4067         Reviewed by Adam Barth.
4068
4069         Expose new FrameLoaderClient hooks through Chromium's
4070         WebPermissionClient and WebFrameClient. Downstream browser tests
4071         will exercise this new functionality.
4072
4073         * public/WebFrameClient.h:
4074         (WebFrameClient):
4075         (WebKit::WebFrameClient::didLoseWebGLContext):
4076         * public/WebPermissionClient.h:
4077         (WebPermissionClient):
4078         (WebKit::WebPermissionClient::allowWebGL):
4079         * src/FrameLoaderClientImpl.cpp:
4080         (WebKit):
4081         (WebKit::FrameLoaderClientImpl::allowWebGL):
4082         (WebKit::FrameLoaderClientImpl::didLoseWebGLContext):
4083         * src/FrameLoaderClientImpl.h:
4084         (FrameLoaderClientImpl):
4085
4086 2012-11-13  Chris Fleizach  <cfleizach@apple.com>
4087
4088         AX: MathML types need to be semantically identified in AX tree
4089         https://bugs.webkit.org/show_bug.cgi?id=101263
4090
4091         Reviewed by Beth Dakin.
4092
4093         * public/WebAccessibilityRole.h:
4094         * src/AssertMatchingEnums.cpp:
4095             Add new accessibility role.
4096
4097 2012-11-13  Silvia Pfeiffer  <silviapf@chromium.org>
4098
4099         Clean up the inheritance tree under the MediaControls Class.
4100         https://bugs.webkit.org/show_bug.cgi?id=88871
4101
4102         Reviewed by Eric Carlson.
4103
4104         This patch removes code duplication between the Chromium and Safari
4105         media controls shadow DOMs.
4106         The derived classes are renamed based on their platform:
4107         - MediaControlRootElement                to MediaControlsApple.
4108         - MediaControlRootElementChromium        to MediaControlsChromium.
4109         - MediaControlRootElementChromiumAndroid to MediaControlsChromiumAndroid.
4110
4111         * public/WebContextMenuData.h:
4112           Move MediaControlRootElement to MediaControls.
4113         * src/ContextMenuClientImpl.cpp:
4114         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
4115           Move MediaControlRootElement to MediaControls.
4116
4117 2012-11-13  Dimitri Glazkov  <dglazkov@chromium.org>
4118
4119         Unreviewed, rolling out r134446.
4120         http://trac.webkit.org/changeset/134446
4121         https://bugs.webkit.org/show_bug.cgi?id=101968
4122
4123         Need to try a different strategy for landing a two-sided patch
4124         (3/3).
4125
4126         * public/WebSettings.h:
4127         * src/WebSettingsImpl.cpp:
4128         * src/WebSettingsImpl.h:
4129         (WebSettingsImpl):
4130         (WebKit::WebSettingsImpl::gestureTapHighlightEnabled):
4131         (WebKit::WebSettingsImpl::doubleTapToZoomEnabled):
4132         * src/WebViewImpl.cpp:
4133         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
4134         (WebKit):
4135
4136 2012-11-13  Dan Carney  <dcarney@google.com>
4137
4138         [V8] More efficient wrapper dispatch
4139         https://bugs.webkit.org/show_bug.cgi?id=102082
4140
4141         Reviewed by Adam Barth.
4142
4143         * src/WebArrayBuffer.cpp:
4144         (WebKit::WebArrayBuffer::toV8Value):
4145         * src/WebBlob.cpp:
4146         (WebKit::WebBlob::toV8Value):
4147
4148 2012-11-12  Dana Jansens  <danakj@chromium.org>
4149
4150         [chromium] Remove the WebCompositorSupport methods for changing settings, plumb everything through WebLayerTreeSettings
4151         https://bugs.webkit.org/show_bug.cgi?id=101968
4152
4153         Reviewed by James Robinson.
4154
4155         This adds perTilePainting and acceleratedAniamtions to the WebSettings
4156         classes, so that DRT can turn these on via WebLayerTreeSettings.
4157
4158         * public/WebSettings.h:
4159         * src/WebSettingsImpl.cpp: