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