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