[Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-09-29  Iain Merrick  <husky@google.com>
2
3         Add unit test for CCLayerSorter
4         https://bugs.webkit.org/show_bug.cgi?id=68622
5
6         Reviewed by James Robinson.
7
8         * WebKit.gypi:
9         * tests/CCLayerSorterTest.cpp: Added.
10         (WebCore::TEST):
11
12 2011-09-29  Hans Wennborg  <hans@chromium.org>
13
14         IndexedDB: Use LevelDB also for in-memory databases
15         https://bugs.webkit.org/show_bug.cgi?id=68903
16
17         Reviewed by Steve Block.
18
19         Don't fall back to SQLite or use a temporary dir for in-memory
20         databases (Incognito and layout tests); LevelDB supports in-memory
21         databases now.
22
23         * public/WebIDBFactory.h:
24         * src/WebIDBFactoryImpl.cpp:
25         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
26         (WebKit::WebIDBFactoryImpl::open):
27
28 2011-09-28  Fady Samuel  <fsamuel@chromium.org>
29
30         [Chromium] Seperate GTK specific Gyp rules from X11 Gyp rules
31         https://bugs.webkit.org/show_bug.cgi?id=68936
32
33         Reviewed by Tony Chang.
34
35         * WebKit.gyp:
36         * public/gtk/WebFontInfo.h:
37         * public/linux/WebFontInfo.h: Copied from Source/WebKit/chromium/public/gtk/WebFontInfo.h.
38
39 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
40
41         Unreviewed.  Rolled DEPS.
42
43         * DEPS:
44
45 2011-09-27  Yury Semikhatsky  <yurys@chromium.org>
46
47         [Chromium] Web Inspector: Bug with console.log and popstate/hashchange events
48         https://bugs.webkit.org/show_bug.cgi?id=67732
49
50         Added WebKit part of a new interactive UI test for the bug with duplicated console messages after navigation back.
51
52         Reviewed by Pavel Feldman.
53
54         * src/js/Tests.js:
55         (.TestSuite.prototype.testConsoleOnNavigateBack.firstConsoleMessageReceived):
56         (.TestSuite.prototype.testConsoleOnNavigateBack.didClickLink):
57         (.TestSuite.prototype.testConsoleOnNavigateBack.didNavigateBack):
58         (.TestSuite.prototype.testConsoleOnNavigateBack.didCompleteNavigation):
59         (.TestSuite.prototype.testConsoleOnNavigateBack):
60
61 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
62
63         Unreviewed.  Rolled DEPS.
64
65         * DEPS:
66
67 2011-09-26  Nat Duca  <nduca@chromium.org>
68
69         [chromium] Make CCThreadProxy draw
70         https://bugs.webkit.org/show_bug.cgi?id=67417
71
72         Disable CCLayerTreeHostTest temporarily. Will re-enable
73         with https://bugs.webkit.org/show_bug.cgi?id=67418
74
75         Reviewed by James Robinson.
76
77         * tests/CCLayerTreeHostTest.cpp:
78
79 2011-09-26  Joshua Bell  <jsbell@chromium.org>
80
81         IndexedDB: Second half of IDBFactory.getDatabaseNames implementation
82         https://bugs.webkit.org/show_bug.cgi?id=68818
83
84         Reviewed by Tony Chang.
85
86         Adds ability to enumerate IndexedDB databases within an origin.
87
88         * src/IDBCallbacksProxy.cpp:
89         (WebKit::IDBCallbacksProxy::onSuccess):
90         * src/IDBCallbacksProxy.h:
91         * src/IDBFactoryBackendProxy.cpp:
92         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
93         * src/IDBFactoryBackendProxy.h:
94         * src/WebIDBCallbacksImpl.cpp:
95         (WebKit::WebIDBCallbacksImpl::onSuccess):
96         * src/WebIDBCallbacksImpl.h:
97         * src/WebIDBFactoryImpl.cpp:
98         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
99         * src/WebIDBFactoryImpl.h:
100
101 2011-09-26  Fady Samuel  <fsamuel@chromium.org>
102
103         Removed an unnecessary include in WebFrameImpl
104         https://bugs.webkit.org/show_bug.cgi?id=68834
105
106         Reviewed by Darin Fisher.
107
108         * src/WebFrameImpl.cpp:
109
110 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
111
112         Fix copy and paste error in r96002.
113
114         * tests/InnerGestureRecognizerTest.cpp:
115         (TEST_F):
116
117 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
118
119         Disable Chromium gesture recognizer tests that started to fail on the
120         Mac bots recently.
121
122         * tests/InnerGestureRecognizerTest.cpp:
123         (TEST_F):
124
125 2011-09-26  W. James MacLean  <wjmaclean@chromium.org>
126
127         [chromium] Revise zoom animator backend to use full transform instead of just scale.
128         https://bugs.webkit.org/show_bug.cgi?id=68535
129
130         Reviewed by Kenneth Russell.
131
132         * src/WebViewImpl.cpp:
133         (WebKit::WebViewImpl::setZoomLevel):
134         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
135
136 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
137
138         Unreviewed, rolling out r95256.
139         http://trac.webkit.org/changeset/95256
140         https://bugs.webkit.org/show_bug.cgi?id=68814
141
142         Temporary CRASH calls no longer needed (Requested by enne on
143         #webkit).
144
145         * src/WebViewImpl.cpp:
146         (WebKit::WebViewImpl::composite):
147
148 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
149
150         Unreviewed.  Rolled DEPS.
151
152         * DEPS:
153
154 2011-09-24  Adam Barth  <abarth@webkit.org>
155
156         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
157         https://bugs.webkit.org/show_bug.cgi?id=68767
158
159         Reviewed by Eric Seidel.
160
161         * features.gypi:
162         * src/ApplicationCacheHost.cpp:
163         * src/ApplicationCacheHostInternal.h:
164         * src/AssertMatchingEnums.cpp:
165         * src/ChromeClientImpl.cpp:
166         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
167         * src/ChromeClientImpl.h:
168         * src/WebDataSourceImpl.cpp:
169         (WebKit::WebDataSourceImpl::applicationCacheHost):
170         * src/WebRuntimeFeatures.cpp:
171         (WebKit::WebRuntimeFeatures::enableApplicationCache):
172         (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
173
174 2011-09-23  Adam Klein  <adamk@chromium.org>
175
176         Add ENABLE_MUTATION_OBSERVERS feature flag
177         https://bugs.webkit.org/show_bug.cgi?id=68732
178
179         Reviewed by Ojan Vafai.
180
181         This flag will guard an implementation of the "Mutation Observers" proposed in
182         http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
183
184         * features.gypi:
185
186 2011-09-23  Jay Civelli  <jcivelli@chromium.org>
187
188         Making some WebBlob methods exportable.
189         This is needed by the shared lib chromium build.
190         https://bugs.webkit.org/show_bug.cgi?id=68709
191
192         Reviewed by Darin Fisher.
193
194         * public/WebBlob.h:
195
196 2011-09-23  Varun Jain  <varunjain@google.com>
197
198         Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests 
199         https://bugs.webkit.org/show_bug.cgi?id=68198
200
201         Reviewed by Dimitri Glazkov.
202
203         * public/WebView.h:
204         (WebKit::WebView::scrollFocusedNodeIntoRect):
205         * src/WebViewImpl.cpp:
206         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
207
208 2011-09-23  Mihai Parparita  <mihaip@chromium.org>
209
210         Unreviewed, rolling out r95860.
211         http://trac.webkit.org/changeset/95860
212         https://bugs.webkit.org/show_bug.cgi?id=68648
213
214         Breaks overhang rendering on Chromium Mac
215
216         * features.gypi:
217
218 2011-09-23  Adam Klein  <adamk@chromium.org>
219
220         [chromium] Remove WEBWIDGET_HAS_ANIMATE_CHANGES #define
221         https://bugs.webkit.org/show_bug.cgi?id=68720
222
223         Reviewed by James Robinson.
224
225         References to this macro were removed in http://crrev.com/102314.
226
227         * public/WebWidget.h:
228
229 2011-09-23  Stephen Chenney  <schenney@chromium.org>
230
231         [Chromium] Crash in WebCore::DatabaseObserver
232         https://bugs.webkit.org/show_bug.cgi?id=67805
233
234         Reviewed by David Levin.
235
236         * src/DatabaseObserver.cpp:
237         (WebCore::DatabaseObserver::canEstablishDatabase): Added a check for a
238         null frame or page, and return false if null. Investigated
239         changing the fall-through return value to false but decided against
240         it given the way the code is used and existing default values for
241         related code. Reproduction and testing depends on having a document
242         with no frame or no page, which sometimes happens in practice but is
243         hard to construct explicitly.
244
245 2011-09-23  Scott Graham  <scottmg@chromium.org>
246
247         occasional crash in Chromium in dispatching keyEvent
248         https://bugs.webkit.org/show_bug.cgi?id=67941
249
250         Reviewed by Darin Fisher.
251
252         Use focusedWebCoreNode() to handle null document for frame when
253         retrieving focused node in handling keyEvent.
254
255         * src/WebViewImpl.cpp:
256         (WebKit::WebViewImpl::keyEvent):
257
258 2011-09-23  Fady Samuel  <fsamuel@chromium.org>
259
260         Refactor paintOverhangAreas to allow non-Mac Chromium platforms to reuse code
261         https://bugs.webkit.org/show_bug.cgi?id=68648
262
263         Reviewed by Dimitri Glazkov.
264
265         * features.gypi:
266
267 2011-09-23  Elliot Poger  <epoger@google.com>
268
269         update layout_tests to account for new default of use_skia=1
270         https://bugs.webkit.org/show_bug.cgi?id=68698
271
272         Rolls Source/WebKit/chromium/DEPS to pick up new default use_skia=1
273         from http://src.chromium.org/viewvc/chrome?view=rev&revision=102532
274         (Chromium-on-Mac now uses the Skia graphics library instead of
275         Core Graphics).
276
277         Also updates layout_test code to work with that change.
278
279         Reviewed by Mihai Parparita.
280
281         * DEPS:
282
283 2011-09-22  Sheriff Bot  <webkit.review.bot@gmail.com>
284
285         Unreviewed.  Rolled DEPS.
286
287         * DEPS:
288
289 2011-09-22  James Robinson  <jamesr@chromium.org>
290
291         Unreviewed, rolling out r95699.
292         http://trac.webkit.org/changeset/95699
293         https://bugs.webkit.org/show_bug.cgi?id=67417
294
295         Makes many chromium compositor tests crash
296
297         * tests/CCLayerTreeHostTest.cpp:
298         (WTF::CCLayerTreeHostTest::doBeginTest):
299         (WTF::TEST_F):
300         * tests/TreeSynchronizerTest.cpp:
301         (WebCore::TEST):
302
303 2011-09-22  Nat Duca  <nduca@chromium.org>
304
305         [chromium] Make CCThreadProxy draw
306         https://bugs.webkit.org/show_bug.cgi?id=67417
307
308         Disable CCLayerTreeHostTest temporarily. Will re-enable
309         with https://bugs.webkit.org/show_bug.cgi?id=67418
310
311         Reviewed by James Robinson.
312
313         * tests/CCLayerTreeHostTest.cpp:
314
315 2011-09-21  Joshua Bell  <jsbell@chromium.org>
316
317         Implement WebKit side of IDBFactory::getDatabaseNames
318         https://bugs.webkit.org/show_bug.cgi?id=68037
319
320         Reviewed by Tony Chang.
321
322         Interface changes and stub implementations for
323         new IndexedDB IDBFactory.getDatabaseNames. This is
324         part one of a two-sided patch.
325
326         * public/WebIDBCallbacks.h:
327         (WebKit::WebIDBCallbacks::onSuccess):
328         * public/WebIDBFactory.h:
329         (WebKit::WebIDBFactory::getDatabaseNames):
330
331 2011-09-21  Robert Kroeger  <rjkroege@chromium.org>
332
333         [chromium] Code cleanup in gesture recognizer unit tests
334         https://bugs.webkit.org/show_bug.cgi?id=68561
335
336         Fix some style nits in the gesture recognizer unit tests.
337
338         Reviewed by David Levin.
339
340         * tests/InnerGestureRecognizerTest.cpp:
341         (InspectableGestureRecognizerChromium::stubEdgeFunction):
342         (BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
343         (TEST_F):
344
345 2011-09-21  Aaron Boodman  <aa@chromium.org>
346
347         Remove old and busted context notification APIs
348         https://bugs.webkit.org/show_bug.cgi?id=68381
349
350         Reviewed by David Levin.
351
352         * public/WebFrameClient.h:
353         * src/FrameLoaderClientImpl.cpp:
354         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
355         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
356
357 2011-09-21  Xianzhu Wang  <wangxianzhu@chromium.org>
358
359         Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
360         https://bugs.webkit.org/show_bug.cgi?id=68206
361
362         Reviewed by Tony Chang.
363
364         * WebKit.gyp:
365
366 2011-09-21  chandra shekar vallala  <chandra.vallala@gmail.com>
367
368         [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
369         https://bugs.webkit.org/show_bug.cgi?id=68351
370
371         Reviewed by Darin Fisher.
372
373         * src/WebViewImpl.cpp:
374         (WebKit::WebViewImpl::clearFocusedNode):
375
376 2011-09-20  Jay Civelli  <jcivelli@chromium.org>
377
378         This CL makes it possible to create a blob from Chromium.
379         https://bugs.webkit.org/show_bug.cgi?id=68286
380
381         Reviewed by Darin Fisher.
382
383         * WebKit.gyp:
384         * public/WebBlob.h: Added.
385         * src/WebBlob.cpp: Added.
386
387 2011-09-20  Jochen Eisinger  <jochen@chromium.org>
388
389         [chromium] remove obsolete WebPermissionClient::allowImages method
390         https://bugs.webkit.org/show_bug.cgi?id=68380
391
392         Reviewed by Darin Fisher.
393
394         * DEPS:
395         * public/WebPermissionClient.h:
396         (WebKit::WebPermissionClient::allowImage):
397
398 2011-09-20  Aaron Boodman  <aa@chromium.org>
399
400         Rework script context creation/release notifications
401         https://bugs.webkit.org/show_bug.cgi?id=67828
402
403         Reviewed by Adam Barth.
404
405         * public/WebFrameClient.h:
406         (WebKit::WebFrameClient::didCreateScriptContext):
407         (WebKit::WebFrameClient::didDestroyScriptContext):
408         (WebKit::WebFrameClient::willReleaseScriptContext):
409         * src/FrameLoaderClientImpl.cpp:
410         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
411         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
412         * src/FrameLoaderClientImpl.h:
413         * tests/WebFrameTest.cpp:
414         (WebKit::TEST_F):
415         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Notification):
416         (WebKit::ContextLifetimeTestWebFrameClient::Notification::~Notification):
417         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Equals):
418         (WebKit::ContextLifetimeTestWebFrameClient::~ContextLifetimeTestWebFrameClient):
419         (WebKit::ContextLifetimeTestWebFrameClient::reset):
420         (WebKit::ContextLifetimeTestWebFrameClient::didCreateScriptContext):
421         (WebKit::ContextLifetimeTestWebFrameClient::willReleaseScriptContext):
422         * tests/data/context_notifications_test.html: Added.
423         * tests/data/context_notifications_test_frame.html: Added.
424
425 2011-09-19  Geoffrey Garen  <ggaren@apple.com>
426
427         Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
428         https://bugs.webkit.org/show_bug.cgi?id=68422
429
430         Missed this one case before.
431
432         * features.gypi:
433
434 2011-09-19  Raymond Toy  <rtoy@google.com>
435
436         Ask for audio hardware buffer size instead of using hardwired constants.
437         https://bugs.webkit.org/show_bug.cgi?id=67952
438
439         Reviewed by Kenneth Russell.
440
441         * public/WebKitPlatformSupport.h:
442         (WebKit::WebKitPlatformSupport::audioHardwareBufferSize): Declare
443         new member function audioHardwareBufferSize.
444         * src/AudioDestinationChromium.cpp:
445         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
446         Call audioHardwareBufferSize() to get buffer size; update
447         m_callbackBuffersize and m_renderCountPerCallback appropriately.
448         Remove global variables callbackBufferSize and
449         renderCountPerCallback.  Add constant for maximum
450         allowed buffer size and verify we don't exceed it.
451         (WebCore::AudioDestinationChromium::render): Use new member
452         variables instead of globals.
453         * src/AudioDestinationChromium.h:
454         Define new member variables m_callbackBufferSize and
455         m_renderCountPerCallback
456
457 2011-09-19  Adam Barth  <abarth@webkit.org>
458
459         Always enable ENABLE(EVENTSOURCE)
460         https://bugs.webkit.org/show_bug.cgi?id=68414
461
462         Reviewed by Eric Seidel.
463
464         * features.gypi:
465
466 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
467
468         Suppress flakey test on windows in Chromium gesture recognizer
469         https://bugs.webkit.org/show_bug.cgi?id=68408
470
471         Reviewed by Adam Barth.
472
473         * tests/InnerGestureRecognizerTest.cpp:
474         (TEST_F):
475
476 2011-09-19  Dominic Mazzoni  <dmazzoni@google.com>
477
478         Expose AXObjectCache methods so that WebAccessibilityCache
479         can be deleted.
480         https://bugs.webkit.org/show_bug.cgi?id=68225
481
482         Reviewed by Dimitri Glazkov.
483
484         This patch exposes the functionality needed from AXObjectCache
485         with new methods in WebAccessibilityObject and WebDocument.
486         Next, Chromium will be updated to use only these methods and
487         not WebAccessibilityCache. Then, WebAccessibilityCache can be
488         deleted from WebKit.
489
490         * public/WebAccessibilityObject.h:
491         * public/WebDocument.h:
492         * src/WebAccessibilityObject.cpp:
493         (WebKit::WebAccessibilityObject::enableAccessibility):
494         (WebKit::WebAccessibilityObject::accessibilityEnabled):
495         (WebKit::WebAccessibilityObject::axID):
496         * src/WebDocument.cpp:
497         (WebKit::WebDocument::accessibilityObject):
498         (WebKit::WebDocument::accessibilityObjectFromID):
499
500 2011-09-19  Bill Budge  <bbudge@chromium.org>
501
502         Perform HTTP method and header validation in AssociatedURLLoader for
503         requests coming from untrusted code (eg. Native Client in Chrome). Use
504         the same code as XMLHttpRequest to reduce code duplication and have
505         behavior identical to XHR in Javascript. Add an 'untrustedHTTP' option
506         to WebURLLoaderOptions, which AssociatedURLLoader can use to determine
507         if it should check the request method and headers.
508         https://bugs.webkit.org/show_bug.cgi?id=67655
509
510         Reviewed by Darin Fisher.
511
512         * public/WebURLLoaderOptions.h:
513         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
514         * src/AssociatedURLLoader.cpp:
515         (WebKit::AssociatedURLLoader::ClientAdapter::setDelayedError):
516         (WebKit::AssociatedURLLoader::loadAsynchronously):
517         * tests/AssociatedURLLoaderTest.cpp:
518         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
519         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
520         (WebKit::AssociatedURLLoaderTest::CheckFails):
521         (WebKit::TEST_F):
522
523 2011-09-19  Adam Barth  <abarth@webkit.org>
524
525         Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER)
526         https://bugs.webkit.org/show_bug.cgi?id=68292
527
528         Reviewed by Eric Seidel.
529
530         * features.gypi:
531
532 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
533
534         Unreviewed, rolling out r95385 and r95457.
535         http://trac.webkit.org/changeset/95385
536         http://trac.webkit.org/changeset/95457
537         https://bugs.webkit.org/show_bug.cgi?id=68395
538
539         Broke chromium browser_tests (Requested by dslomov on
540         #webkit).
541
542         * public/WebFrameClient.h:
543         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
544         * src/FrameLoaderClientImpl.cpp:
545         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
546         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
547         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
548         * src/FrameLoaderClientImpl.h:
549         * tests/WebFrameTest.cpp:
550         (WebKit::TEST_F):
551         * tests/data/context_notifications_test.html: Removed.
552         * tests/data/context_notifications_test_frame.html: Removed.
553
554 2011-09-19  Aaron Boodman  <aa@chromium.org>
555
556         r95385 broke Chromium. Fix it.
557         https://bugs.webkit.org/show_bug.cgi?id=68378
558
559         Unreviewed, build fix.
560
561         * src/FrameLoaderClientImpl.cpp:
562         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
563         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
564
565 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
566
567         Unreviewed, build fix
568
569         It's not enough to disable clang plugins.
570
571         * gyp_webkit:
572
573 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
574
575         [chromium] Disable clang when building chromium in WebKit
576         https://bugs.webkit.org/show_bug.cgi?id=68343
577
578         Reviewed by Adam Barth.
579
580         * DEPS:
581         * gyp_webkit:
582
583 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
584
585         [chromium] Gesture recognizer fires taptype only every other touch
586         down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
587  
588         Reviewed by Adam Barth.
589
590         The addition of doubletap detection to the gesture recognizer missed some of the
591         outgoing edges in the recognizer state machine. Thsi change simplifies the logic
592         and handles all outgoing edges.
593
594
595         * tests/InnerGestureRecognizerTest.cpp:
596         Additional tests added to ensure that all edges in the state
597         machine are accounted for.
598         (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
599         (SimulateAndTestFirstClick):
600         (TEST_F):
601
602 2011-09-19  Peter Rybin  <peter.rybin@gmail.com>
603
604         TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes
605         https://bugs.webkit.org/show_bug.cgi?id=63541
606
607         Reviewed by Adam Barth.
608
609         * src/WebFrameImpl.cpp:
610         (WebKit::WebFrameImpl::executeScript):
611         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
612         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
613
614 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
615
616         Unreviewed, rolling out r95416.
617         http://trac.webkit.org/changeset/95416
618         https://bugs.webkit.org/show_bug.cgi?id=68367
619
620         Broke chromium-mac (Requested by beverloo on #webkit).
621
622         * DEPS:
623
624 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
625
626         Unreviewed.  Rolled DEPS.
627
628         * DEPS:
629
630 2011-09-19  Ilya Tikhonovsky  <loislo@chromium.org>
631
632         Web Inspector: extend timeline coverage.
633         https://bugs.webkit.org/show_bug.cgi?id=68260
634
635         Another place with js function call from native.
636
637         Reviewed by Pavel Feldman.
638
639         * src/WebDevToolsFrontendImpl.cpp:
640         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
641
642 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
643
644         FrameLoaderClient BackForwardList-related methods are unsued
645         https://bugs.webkit.org/show_bug.cgi?id=68293
646
647         Reviewed by Darin Adler.
648
649         Remove FrameLoaderClient methods that were added by r51629, since only        
650         the old (since-deleted) Android port needed them.
651
652         * src/FrameLoaderClientImpl.cpp:
653         * src/FrameLoaderClientImpl.h:
654
655 2011-09-17  Aaron Boodman  <aa@chromium.org>
656
657         Rework script context creation/release notifications
658         https://bugs.webkit.org/show_bug.cgi?id=67828
659
660         Reviewed by Adam Barth.
661
662         * public/WebFrameClient.h:
663         (WebKit::WebFrameClient::didCreateScriptContext):
664         (WebKit::WebFrameClient::didDestroyScriptContext):
665         (WebKit::WebFrameClient::willReleaseScriptContext):
666         * src/FrameLoaderClientImpl.cpp:
667         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
668         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
669         * src/FrameLoaderClientImpl.h:
670
671 2011-09-17  chandra shekar vallala  <chandra.vallala@motorola.com>
672
673         [chromium]The focus of an input field inside an Iframe doesn't get cleared even though clearFocusedNode is called.
674         https://bugs.webkit.org/show_bug.cgi?id=68162
675
676         Add a unit-test to check whether the focus of node is get cleared when clearFocusNode called.
677         This test check for focus of input node inside a frame after clear focus get called.
678         Reviewed by Adam Barth.
679
680         * src/WebViewImpl.cpp:
681         (WebKit::WebViewImpl::clearFocusedNode):
682         * tests/WebFrameTest.cpp:
683         (WebKit::TEST_F): Added a unit test to make sure that focus of the node is get cleared.
684         * tests/data/autofocus_input_field_iframe.html: Added.
685         * tests/data/iframe_clear_focused_node_test.html: Added.
686
687 2011-09-16  Adam Barth  <abarth@webkit.org>
688
689         Rename ENABLE(LEVELDB) to USE(LEVELDB)
690         https://bugs.webkit.org/show_bug.cgi?id=68290
691
692         Reviewed by Darin Adler.
693
694         * features.gypi:
695         * tests/IDBLevelDBCodingTest.cpp:
696
697 2011-09-16  Jochen Eisinger  <jochen@chromium.org>
698
699         Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
700         https://bugs.webkit.org/show_bug.cgi?id=68071
701
702         Reviewed by Adam Barth.
703
704         * public/WebPermissionClient.h:
705         (WebKit::WebPermissionClient::allowImage):
706         * src/FrameLoaderClientImpl.cpp:
707         (WebKit::FrameLoaderClientImpl::allowImage):
708         * src/FrameLoaderClientImpl.h:
709
710 2011-09-16  Dmitry Lomov  <dslomov@google.com>
711
712         https://bugs.webkit.org/show_bug.cgi?id=67733
713         [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
714
715         Reviewed by Darin Fisher.
716
717         * public/WebKit.h:
718         * src/WebKit.cpp:
719         (WebKit::initialize):
720         (WebKit::initializeWithoutV8):
721
722 2011-09-16  Vincent Scheib  <scheib@chromium.org>
723
724         [Chromium] Add movementX/Y members to WebMouseEvent
725         https://bugs.webkit.org/show_bug.cgi?id=68174
726
727         Reviewed by Dimitri Glazkov.
728
729         * public/WebInputEvent.h:
730         (WebKit::WebMouseEvent::WebMouseEvent):
731
732 2011-09-16  Nat Duca  <nduca@chromium.org>
733
734         [chromium] Create WebGL layer for graphics contexts on demand
735         https://bugs.webkit.org/show_bug.cgi?id=68288
736
737         Reviewed by James Robinson.
738
739         * src/GraphicsContext3DChromium.cpp:
740         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
741         (WebCore::GraphicsContext3DPrivate::platformLayer):
742         * src/GraphicsContext3DPrivate.h:
743
744 2011-09-16  chandra shekar v  <chandra.vallala@motorola.com>
745
746         [chromium] compilation failed in target 'webkit_unit_tests'.
747         https://bugs.webkit.org/show_bug.cgi?id=68078
748
749         Reviewed by Adam Barth.
750
751         * tests/WebFrameTest.cpp:
752         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
753
754 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
755
756         Unreviewed, rolling out r95312.
757         http://trac.webkit.org/changeset/95312
758         https://bugs.webkit.org/show_bug.cgi?id=68277
759
760         It's innocent, innocent I tell you! (Requested by jamesr_ on
761         #webkit).
762
763         * tests/CCLayerTreeHostTest.cpp:
764         (WTF::TestHooks::beginCommitOnCCThread):
765         (WTF::TestHooks::commitCompleteOnCCThread):
766         (WTF::TestHooks::drawLayersOnCCThread):
767         (WTF::MockLayerTreeHostImpl::create):
768         (WTF::MockLayerTreeHostImpl::beginCommit):
769         (WTF::MockLayerTreeHostImpl::commitComplete):
770         (WTF::MockLayerTreeHostImpl::drawLayers):
771         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
772         (WTF::MockLayerTreeHost::create):
773         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
774         (WTF::MockLayerTreeHost::MockLayerTreeHost):
775         (WTF::CompositorMockWebGraphicsContext3D::create):
776         (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
777         (WTF::CompositorMockWebGraphicsContext3D::createProgram):
778         (WTF::CompositorMockWebGraphicsContext3D::createShader):
779         (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
780         (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
781         (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
782         (WTF::MockLayerTreeHostClient::create):
783         (WTF::MockLayerTreeHostClient::animateAndLayout):
784         (WTF::MockLayerTreeHostClient::createCompositorThread):
785         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
786         (WTF::MockLayerTreeHostClient::createRootLayerPainter):
787         (WTF::MockLayerTreeHostClient::didRecreateGraphicsContext):
788         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
789         (WTF::CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
790         (WTF::CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
791         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
792         (WTF::CCLayerTreeHostTest::onBeginTest):
793         (WTF::CCLayerTreeHostTest::onEndTest):
794         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
795         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
796         (WTF::CCLayerTreeHostTest::runTest):
797         (WTF::CCLayerTreeHostTest::testTimeout):
798         (WTF::CCLayerTreeHostTest::doBeginTest):
799         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
800         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
801         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
802         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
803         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
804         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
805         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
806         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
807         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
808         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
809         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
810         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
811         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
812         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
813
814 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
815
816         Unreviewed, rolling out r95309.
817         http://trac.webkit.org/changeset/95309
818         https://bugs.webkit.org/show_bug.cgi?id=68271
819
820         Broke many chromium gpu tests. (Requested by dave_levin on
821         #webkit).
822
823         * tests/CCLayerTreeHostTest.cpp:
824         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
825         (WTF::CCLayerTreeHostTest::animateAndLayout):
826         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
827         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
828         (WTF::CCLayerTreeHostTest::commitOnCCThread):
829         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
830         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
831         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
832         (WTF::CCLayerTreeHostTest::updateLayers):
833         (WTF::CCLayerTreeHostTest::onBeginTest):
834         (WTF::CCLayerTreeHostTest::doEndTest):
835         (WTF::CCLayerTreeHostTest::onEndTest):
836         (WTF::CCLayerTreeHostTest::runTest):
837         (WTF::CCLayerTreeHostTest::testTimeout):
838         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
839         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
840         (WTF::MockLayerTreeHostClient::animateAndLayout):
841         (WTF::MockLayerTreeHostClient::updateLayers):
842         (WTF::MockLayerTreeHostCommitter::create):
843         (WTF::MockLayerTreeHostCommitter::commit):
844         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
845         (WTF::MockLayerTreeHostImpl::create):
846         (WTF::MockLayerTreeHostImpl::beginCommit):
847         (WTF::MockLayerTreeHostImpl::commitComplete):
848         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
849         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
850         (WTF::MockLayerTreeHostImplProxy::create):
851         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
852         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
853         (WTF::MockLayerTreeHost::MockLayerTreeHost):
854         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
855         (WTF::MockLayerTreeHost::updateLayers):
856         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
857         (WTF::MockLayerTreeHost::beginCommit):
858         (WTF::MockLayerTreeHost::commitComplete):
859         (WTF::CCLayerTreeHostTest::doBeginTest):
860         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
861         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
862         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
863         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
864         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
865         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
866         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
867         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
868         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
869         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
870         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
871         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
872         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
873         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
874
875 2011-09-16  Iain Merrick  <husky@google.com>
876
877         [chromium] Fix CCLayerTreeHostTest
878         https://bugs.webkit.org/show_bug.cgi?id=67418
879
880         Fixes needed to compile and link with USE_THREADED_COMPOSITING
881         enabled, and to pass the basic unit test.
882
883         Reviewed by James Robinson.
884
885         * src/GraphicsContext3DChromium.cpp:
886         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
887         (WebCore::GraphicsContext3DPrivate::platformLayer):
888         * src/GraphicsContext3DPrivate.h:
889         * tests/CCLayerTreeHostTest.cpp:
890         (TestHooks::beginCommitOnCCThread):
891         (TestHooks::commitCompleteOnCCThread):
892         (TestHooks::drawLayersOnCCThread):
893         (MockLayerTreeHostImpl::MockLayerTreeHostImpl):
894         (MockLayerTreeHostImpl::beginCommit):
895         (MockLayerTreeHostImpl::commitComplete):
896         (MockLayerTreeHostImpl::drawLayers):
897         (MockLayerTreeHost::MockLayerTreeHost):
898         (MockLayerTreeHost::createLayerTreeHostImpl):
899         (CompositorMockWebGraphicsContext3D::makeContextCurrent):
900         (CompositorMockWebGraphicsContext3D::createProgram):
901         (CompositorMockWebGraphicsContext3D::createShader):
902         (CompositorMockWebGraphicsContext3D::getShaderiv):
903         (CompositorMockWebGraphicsContext3D::getProgramiv):
904         (MockLayerTreeHostClient::MockLayerTreeHostClient):
905         (MockLayerTreeHostClient::animateAndLayout):
906         (MockLayerTreeHostClient::createCompositorThread):
907         (MockLayerTreeHostClient::createLayerTreeHostContext3D):
908         (MockLayerTreeHostClient::createRootLayerPainter):
909         (MockLayerTreeHostClient::didRecreateGraphicsContext):
910         (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
911         (CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
912         (CCLayerTreeHostTest::onEndTest):
913         (CCLayerTreeHostTest::dispatchSetNeedsCommit):
914         (CCLayerTreeHostTest::dispatchSetNeedsRedraw):
915         (CCLayerTreeHostTest::runTest):
916         (CCLayerTreeHostTest::doBeginTest):
917         (CCLayerTreeHostTestShortlived2::beginTest):
918         (CCLayerTreeHostTestShortlived3::beginTest):
919         (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
920         (CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
921         (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
922         (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
923         (CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
924         (CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
925         (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
926         (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
927         (CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
928         (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
929         (CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
930         (CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
931
932 2011-09-16  Andrey Kosyakov  <caseq@chromium.org>
933
934         Web Inspector: [Extensions API] support extensions for remote inspector front-end
935         https://bugs.webkit.org/show_bug.cgi?id=67840
936
937         Reviewed by Pavel Feldman.
938
939         - expose extension API as a single, standalone file for easy reuse in remote extension scripts.
940
941         * WebKit.gyp:
942         * scripts/generate_devtools_extension_api.py: Added.
943         * scripts/generate_devtools_zip.py:
944
945 2011-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
946
947         Web Inspector: change WebInspector.currentPanel getter/setter to functions.
948         https://bugs.webkit.org/show_bug.cgi?id=68242
949
950         This is necessary for the panel switching performance tests.
951
952         Reviewed by Pavel Feldman.
953
954         * src/js/Tests.js:
955         (.TestSuite.prototype.showPanel):
956
957 2011-09-15  Adam Barth  <abarth@webkit.org>
958
959         Sigh.  Missed this one.
960
961         * features.gypi:
962 2011-09-15  Adam Barth  <abarth@webkit.org>
963
964         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
965         https://bugs.webkit.org/show_bug.cgi?id=68205
966
967         Reviewed by Eric Seidel.
968
969         * src/DatabaseObserver.cpp:
970         * src/WebDatabase.cpp:
971         (WebKit::WebDatabase::updateDatabaseSize):
972         (WebKit::WebDatabase::updateSpaceAvailable):
973         (WebKit::WebDatabase::resetSpaceAvailable):
974         (WebKit::WebDatabase::closeDatabaseImmediately):
975         * src/WebRuntimeFeatures.cpp:
976         (WebKit::WebRuntimeFeatures::enableDatabase):
977         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
978
979 2011-09-15  Adrienne Walker  <enne@google.com>
980
981         [chromium] Add temporary diagnostics for LayerTreeHost::commitTo crash
982         https://bugs.webkit.org/show_bug.cgi?id=68204
983
984         Reviewed by James Robinson.
985
986         Add CRASH calls to determine which assumptions are being violated.
987
988         * src/WebViewImpl.cpp:
989         (WebKit::WebViewImpl::composite):
990
991 2011-09-15  David Levin  <levin@chromium.org>
992
993         Remove TestWebKitAPI from the chromium build until it is made to work
994         with the shared component build.
995
996         * WebKit.gyp:
997
998 2011-09-15  Eric Seidel  <eric@webkit.org>
999
1000         Remove ENABLE(SVG_AS_IMAGE) since all major ports have it on by default
1001         https://bugs.webkit.org/show_bug.cgi?id=68182
1002
1003         Reviewed by Adam Barth.
1004
1005         * features.gypi:
1006
1007 2011-09-15  Jon Lee  <jonlee@apple.com>
1008
1009         Submitting a form with target=_blank works only once
1010         https://bugs.webkit.org/show_bug.cgi?id=28633
1011         <rdar://problem/7357787>
1012
1013         Reviewed by Andy Estes.
1014
1015         * src/WebViewImpl.cpp:
1016         (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since
1017         it will be made in platform-independent function EventHandler::handleMousePressEvent().
1018
1019 2011-09-15  Eric Seidel  <eric@webkit.org>
1020
1021         Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
1022         https://bugs.webkit.org/show_bug.cgi?id=68022
1023
1024         Reviewed by Ryosuke Niwa.
1025
1026         * features.gypi:
1027
1028 2011-09-15  James Simonsen  <simonjam@chromium.org>
1029
1030         Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
1031         https://bugs.webkit.org/show_bug.cgi?id=68014
1032
1033         Reviewed by Adam Barth.
1034
1035         * src/FrameLoaderClientImpl.cpp:
1036         (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
1037
1038 2011-09-15  David Levin  <levin@chromium.org>
1039
1040         [chromium] Attempt to fix the shared build after r95188.
1041
1042         * WebKit.gyp:
1043
1044 2011-09-15  Brian Salomon  <bsalomon@google.com>
1045
1046         [Skia/Chrome] 
1047         https://bugs.webkit.org/show_bug.cgi?id=68096
1048
1049         This change removes WebGraphicsContext3D::grGLInterface(). It has been
1050         superceded by WebGraphicsContext3D::createGrGLInterface which sets up
1051         the per-GL call callback used to set the correct context.
1052
1053         Reviewed by Stephen White.
1054
1055         * public/WebGraphicsContext3D.h:
1056         * src/GraphicsContext3DChromium.cpp:
1057         (WebCore::GraphicsContext3DPrivate::grContext):
1058         * src/WebGraphicsContext3D.cpp:
1059         (WebKit::WebGraphicsContext3D::createGrGLInterface):
1060
1061 2011-09-15  Xianzhu Wang  <wangxianzhu@chromium.org>
1062
1063         Let TestWebKitAPI work for chromium
1064         https://bugs.webkit.org/show_bug.cgi?id=67756
1065
1066         Reviewed by Sam Weinig.
1067
1068         * WebKit.gyp:
1069
1070 2011-09-14  Hao Zheng  <zhenghao@chromium.org>
1071
1072         Remove some dependencies of DRT for Android.
1073         https://bugs.webkit.org/show_bug.cgi?id=68126
1074
1075         Reviewed by Tony Chang.
1076
1077         We don't need mesa and TestNetscapePlugIn on Android, so remove them.
1078         As copy_TNPI depends on TNPI, adding copy_TNPI is enough.
1079
1080         * WebKit.gyp:
1081
1082 2011-09-14  Peter Beverloo  <peter@chromium.org>
1083
1084         [Chromium] Make WEB_AUDIO conditional and fix the build when disabled
1085         https://bugs.webkit.org/show_bug.cgi?id=68107
1086
1087         Reviewed by Kenneth Russell.
1088
1089         * features.gypi:
1090         * src/WebMediaPlayerClientImpl.cpp:
1091         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
1092         * src/WebMediaPlayerClientImpl.h:
1093
1094 2011-09-14  John Bauman  <jbauman@chromium.org>
1095
1096         [chromium] Return correct value for getContextAttributes().preserveDrawingBuffer
1097         https://bugs.webkit.org/show_bug.cgi?id=68082
1098
1099         Reviewed by Kenneth Russell.
1100
1101         WebKit::WebGraphicsContext3D::Attributes doesn't save
1102         preserveDrawingBuffer, so that has to be saving in
1103         GraphicsContext3DPrivate.
1104
1105         * src/GraphicsContext3DChromium.cpp:
1106         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
1107         (WebCore::GraphicsContext3DPrivate::create):
1108         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1109         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
1110         * src/GraphicsContext3DPrivate.h:
1111
1112 2011-09-14  Antoine Labour  <piman@chromium.org>
1113
1114         Remove the dependency on GraphicsLayer from CCLayerTreeHost.
1115         Move root layer management into the NonCompositedContentHost.
1116         Have WebViewImpl create a NonCompositedContentHost explicitly.
1117         https://bugs.webkit.org/show_bug.cgi?id=67883
1118
1119         Reviewed by James Robinson.
1120
1121         * src/WebViewImpl.cpp:
1122         (WebKit::WebViewImpl::setRootGraphicsLayer):
1123         (WebKit::WebViewImpl::invalidateRootLayerRect):
1124         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1125         (WebKit::WebViewImpl::updateLayerTreeViewport):
1126         (WebKit::WebViewImpl::setVisibilityState):
1127         * src/WebViewImpl.h:
1128
1129 2011-09-14  Nebojsa Ciric  <cira@chromium.org>
1130
1131         Changed WebKit.gyp to use the new grit version of the scripts that handle
1132         .pak files.
1133         https://bugs.webkit.org/show_bug.cgi?id=68013
1134
1135         Reviewed by Tony Chang.
1136
1137         * DEPS:
1138         * WebKit.gyp:
1139
1140 2011-09-14  Anders Carlsson  <andersca@apple.com>
1141
1142         Fix Chromium build.
1143
1144         * src/ResourceHandle.cpp:
1145
1146 2011-09-13  Eric Seidel  <eric@webkit.org>
1147
1148         Remove ENABLE_SVG_USE as <use> is required by HTML5
1149         https://bugs.webkit.org/show_bug.cgi?id=68019
1150
1151         Reviewed by Ryosuke Niwa.
1152
1153         * features.gypi:
1154
1155 2011-09-13  Adam Barth  <abarth@webkit.org>
1156
1157         [Chromium] The checked state of WebPopupMenuItem isn't initialized
1158         https://bugs.webkit.org/show_bug.cgi?id=67889
1159
1160         Reviewed by Darin Fisher.
1161
1162         It seems we're failing to initialize the checked state of
1163         WebPopupMenuItems, potentially because Android is the first platform to
1164         use popup menus for <select> elements.
1165
1166         * src/ExternalPopupMenu.cpp:
1167         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
1168
1169 2011-09-13  Eric Seidel  <eric@webkit.org>
1170
1171         Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
1172         https://bugs.webkit.org/show_bug.cgi?id=68018
1173
1174         Reviewed by Ryosuke Niwa.
1175
1176         * features.gypi:
1177
1178 2011-09-13  James Simonsen  <simonjam@chromium.org>
1179
1180         [Chromium] Ref protect element in FrameLoaderClientImpl::createPlugin
1181         https://bugs.webkit.org/show_bug.cgi?id=68014
1182
1183         Reviewed by Nate Chapin.
1184
1185         Test: plugins/destroy-during-npp-new.htm under valgrind
1186
1187         * src/FrameLoaderClientImpl.cpp:
1188         (WebKit::FrameLoaderClientImpl::createPlugin):
1189
1190 2011-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1191
1192         Unreviewed.  Rolled DEPS.
1193
1194         * DEPS:
1195
1196 2011-09-12  Fumitoshi Ukai  <ukai@chromium.org>
1197
1198         Unreviewed. Roll DEPS again.
1199
1200         * DEPS:
1201
1202 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1203
1204         Unreviewed, rolling out r95015.
1205         http://trac.webkit.org/changeset/95015
1206         https://bugs.webkit.org/show_bug.cgi?id=67987
1207
1208         compiled failed on Chromium Win bot (Requested by ukai on
1209         #webkit).
1210
1211         * DEPS:
1212
1213 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1214
1215         Unreviewed.  Rolled DEPS.
1216
1217         * DEPS:
1218
1219 2011-09-12  David Levin  <levin@chromium.org>
1220
1221         [chromium] Remove AllowCrossThreadAccess for WorkerFileWriterCallbacksBridge.
1222         https://bugs.webkit.org/show_bug.cgi?id=67943
1223
1224         Reviewed by Adam Barth.
1225
1226         * src/WorkerFileWriterCallbacksBridge.cpp: Removed AllowCrossThreadAccess
1227         allowing the automatic ref counting to work. This was previous needed when
1228         the ref counting wasn't working but that was fixed in r94986. Note that the
1229         design was to have ref counting since the methods take PassRefPtr and the
1230         class is ThreadSafeRefCounted. (Ideally we have noticed this flaw when
1231         adding in AllowCrossThreadAccess.)
1232         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
1233         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
1234         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
1235         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
1236         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
1237         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
1238         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
1239         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
1240         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
1241
1242 2011-09-08  Nat Duca  <nduca@chromium.org>
1243
1244         [chromium] Add GraphicsContext3DPrivate:createGraphicsContextForAnotherThread
1245         https://bugs.webkit.org/show_bug.cgi?id=67832
1246
1247         The compositor thread needs to create a GraphicsContext3D without
1248         actually making it current. In previous attempts at doing this, we
1249         modified all graphics3D creation to not make the contexts current, but
1250         this prove to be shockingly fragile. Since this is a very
1251         Chromium-specific behavior, this patch makes creationForAnotherThread a
1252         method on the private GraphicsContext3D interface.
1253         GraphicsContext3D::create behaves as usual.
1254
1255         Reviewed by Kenneth Russell.
1256
1257         * src/GraphicsContext3DChromium.cpp:
1258         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
1259         (WebCore::GraphicsContext3DPrivate::createGraphicsContextForAnotherThread):
1260         (WebCore::GraphicsContext3D::create):
1261         * src/GraphicsContext3DPrivate.h:
1262         * src/WebViewImpl.cpp:
1263         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1264         (WebKit::WebViewImpl::graphicsContext3D):
1265         * tests/MockGraphicsContext3DTest.cpp:
1266         (TEST):
1267
1268 2011-09-11  Jeremy Moskovich  <jeremy@chromium.org>
1269
1270         [Chromium] Change OOP Font loading code to use CGFont*() APIs.
1271         https://bugs.webkit.org/show_bug.cgi?id=66935
1272
1273         This change is necessary due a bug in ATSFontDeactivate() on 10.7.
1274         See crbug.com/93191 for details.
1275
1276         Reviewed by Eric Seidel.
1277
1278         * public/mac/WebSandboxSupport.h:
1279         * src/PlatformBridge.cpp:
1280         (WebCore::PlatformBridge::loadFont):
1281
1282 2011-09-11  Adam Barth  <abarth@webkit.org>
1283
1284         [Chromium] Add more key codes to WebInputEvent for Android
1285         https://bugs.webkit.org/show_bug.cgi?id=67887
1286
1287         Reviewed by Darin Fisher.
1288
1289         * src/WebInputEvent.cpp:
1290         (WebKit::staticKeyIdentifiers):
1291
1292 2011-09-09  Fady Samuel  <fsamuel@chromium.org>
1293
1294         Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
1295         https://bugs.webkit.org/show_bug.cgi?id=67250
1296
1297         Reviewed by Simon Fraser.
1298
1299         * src/WebViewImpl.cpp:
1300         (WebKit::WebViewImpl::pageScaleFactor):
1301         (WebKit::WebViewImpl::scalePage):
1302
1303 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
1304
1305         [chromium] Implement DRT support for Android.
1306         https://bugs.webkit.org/show_bug.cgi?id=67590
1307
1308         Reviewed by Tony Chang.
1309
1310         Exclude Android specific files of DRT from other platforms.
1311
1312         * WebKit.gyp:
1313
1314 2011-09-09  Hao Zheng  <zhenghao@chromium.org>
1315
1316         [Chromium] Add WebSandboxSupport and WebThemeEngine for Android.
1317         https://bugs.webkit.org/show_bug.cgi?id=67584
1318
1319         Reviewed by Steve Block.
1320
1321         Make src/PlatformSupport.cpp and src/WebFrameImpl.cpp compile on
1322         Chromium port for Android.
1323
1324         * WebKit.gyp:
1325         * public/android: Added.
1326         * public/android/WebSandboxSupport.h: Added.
1327         * public/android/WebThemeEngine.h: Added.
1328         (WebKit::WebThemeEngine::getSize):
1329         (WebKit::WebThemeEngine::paint):
1330         * src/PlatformSupport.cpp:
1331         (WebCore::PlatformSupport::getFontFamilyForCharacters):
1332         (WebCore::PlatformSupport::getRenderStyleForStrike):
1333         * src/WebFrameImpl.cpp:
1334
1335 2011-09-09  Martin Kosiba  <mkosiba@chromium.org>
1336
1337         Exposing the isLink method on WebNode for the Chromium port on Android.
1338
1339         Reviewed by Darin Fisher.
1340
1341         * public/WebNode.h:
1342         * src/WebNode.cpp:
1343         (WebKit::WebNode::isLink):
1344
1345 2011-09-08  Adam Barth  <abarth@webkit.org>
1346
1347         Another attempt to fix the Chromium build.  (Missed one.)
1348
1349         * src/WebPageSerializerImpl.cpp:
1350         (WebKit::WebPageSerializerImpl::serialize):
1351
1352 2011-09-08  Adam Barth  <abarth@webkit.org>
1353
1354         Attempt to fix Chromium build.  We can just grab the encoding from the document.
1355
1356         * src/ContextMenuClientImpl.cpp:
1357         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1358         * src/WebDocument.cpp:
1359         (WebKit::WebDocument::encoding):
1360         * src/WebPageSerializerImpl.cpp:
1361         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
1362         * src/WebSearchableFormData.cpp:
1363         (HTMLNames::GetFormEncoding):
1364         * src/WebViewImpl.cpp:
1365         (WebKit::WebViewImpl::pageEncoding):
1366
1367 2011-09-08  W. James MacLean  <wjmaclean@chromium.org>
1368
1369         [chromium] Add backend compositor support for rescaling (zooming) textures during zoom animation.
1370         https://bugs.webkit.org/show_bug.cgi?id=66472
1371
1372         This patch contains plumbing from Internals to WebViewImpl that can be removed
1373         at a later time when the zoom animator code is complete.
1374
1375         Reviewed by James Robinson.
1376
1377         * src/WebViewImpl.cpp:
1378         (WebKit::WebViewImpl::setZoomLevel):
1379         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1380
1381 2011-09-08  Scott Byer  <scottbyer@chromium.org>
1382
1383         Compile in ScrollAnimator for Chromium on all platforms by default.
1384         https://bugs.webkit.org/show_bug.cgi?id=67650
1385
1386         Reviewed by Adam Barth.
1387
1388         * features.gypi:
1389
1390 2011-09-07  Adam Barth  <abarth@webkit.org>
1391
1392         FrameLoader::addExtraFieldsToRequest can crash when called from or after FrameLoader::detachFromParent
1393         https://bugs.webkit.org/show_bug.cgi?id=61810
1394
1395         Reviewed by Eric Seidel.
1396
1397         Fix this crash as suggested by Darin Fisher in
1398         https://bugs.webkit.org/show_bug.cgi?id=61810#c21.  This patch does not
1399         include the test requested by Alexey Proskuryakov in
1400         https://bugs.webkit.org/show_bug.cgi?id=61810#c6.  I would really much
1401         rather include a test with this patch, but my attempts to write a test
1402         have failed.  :(
1403
1404         * src/WebPluginContainerImpl.cpp:
1405         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1406
1407 2011-09-07  Eric Boren  <borenet@gmail.com>
1408
1409         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
1410         https://bugs.webkit.org/show_bug.cgi?id=66800
1411
1412         Reviewed by Darin Fisher.
1413
1414         * public/WebInputEvent.h:
1415         (WebKit::WebTouchEvent::WebTouchEvent):
1416         * public/WebTouchPoint.h:
1417         (WebKit::WebTouchPoint::WebTouchPoint):
1418         * src/WebInputEventConversion.cpp:
1419         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
1420         (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
1421         * src/WebInputEventConversion.h:
1422
1423 2011-09-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1424
1425         Unreviewed, rolling out r94635.
1426         http://trac.webkit.org/changeset/94635
1427         https://bugs.webkit.org/show_bug.cgi?id=67704
1428
1429         Linux Touch build is failing to compile this change.
1430         (Requested by loislo on #webkit).
1431
1432         * public/WebInputEvent.h:
1433         (WebKit::WebTouchEvent::WebTouchEvent):
1434         * public/WebTouchPoint.h:
1435         (WebKit::WebTouchPoint::WebTouchPoint):
1436         * src/WebInputEventConversion.cpp:
1437         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
1438         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
1439         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
1440         (WebKit::WebKeyboardEventBuilder::WebKeyboardEventBuilder):
1441         * src/WebInputEventConversion.h:
1442
1443 2011-09-05  Yury Semikhatsky  <yurys@chromium.org>
1444
1445         [Chromium] Web Inspector: repair console sniffing for interactive ui tests
1446         https://bugs.webkit.org/show_bug.cgi?id=67608
1447
1448         Reviewed by Pavel Feldman.
1449
1450         * src/js/Tests.js:
1451         (.TestSuite.prototype.evaluateInConsole_):
1452
1453 2011-09-06  Eric Boren  <borenet@gmail.com>
1454
1455         [Chromium] Modify WebTouchEvent structure to match WebCore::TouchEvent
1456         https://bugs.webkit.org/show_bug.cgi?id=66800
1457
1458         Reviewed by Darin Fisher.
1459
1460         * public/WebInputEvent.h:
1461         (WebKit::WebTouchEvent::WebTouchEvent):
1462         * public/WebTouchPoint.h:
1463         (WebKit::WebTouchPoint::WebTouchPoint):
1464         * src/WebInputEventConversion.cpp:
1465         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
1466         (WebKit::WebTouchEventBuilder::WebTouchEventBuilder):
1467         * src/WebInputEventConversion.h:
1468
1469 2011-09-06  Ben Smith  <binji@chromium.org>
1470
1471         [chromium] Fix WebFrameClient receiving isRedirect when reloading
1472         https://bugs.webkit.org/show_bug.cgi?id=63591
1473
1474         Reviewed by Adam Barth.
1475
1476         Fix bug when quickly reloading a WebFrame where the
1477         WebFrameClient would get called with decidePolicyForNavigation
1478         isRedirect=true.
1479
1480         * src/FrameLoaderClientImpl.cpp:
1481         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
1482         * src/WebDataSourceImpl.h:
1483         (WebKit::WebDataSourceImpl::isRedirect):
1484         * tests/WebFrameTest.cpp:
1485         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
1486         (WebKit::TestReloadDoesntRedirectWebFrameClient::cancelledError):
1487         (WebKit::TEST_F):
1488
1489 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
1490
1491         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
1492         https://bugs.webkit.org/show_bug.cgi?id=67569
1493
1494         Reviewed by Antonio Gomes.
1495
1496         * src/WebFrameImpl.cpp:
1497         (WebKit::WebFrameImpl::unmarkText):
1498
1499 2011-09-06  Adam Barth  <abarth@webkit.org>
1500
1501         [Chromium] Add WebFloatQuad.h for Android
1502         https://bugs.webkit.org/show_bug.cgi?id=67573
1503
1504         Reviewed by Darin Fisher.
1505
1506         Android uses this wrapper of WebCore::FloatQuad in some API methods
1507         (which will appear in subsequent patches).
1508
1509         * WebKit.gyp:
1510         * public/WebFloatQuad.h: Added.
1511         * src/WebFloatQuad.cpp: Added.
1512
1513 2011-09-06  Adam Barth  <abarth@webkit.org>
1514
1515         [Chromium] Add didAcceptIndices to ExternalPopupMenuClient for Android
1516         https://bugs.webkit.org/show_bug.cgi?id=67574
1517
1518         Reviewed by Darin Fisher.
1519
1520         In Android, external popup menus can admit multiple selection (e.g.,
1521         for listboxes presented using external UI).
1522
1523         * public/WebExternalPopupMenuClient.h:
1524         * src/ExternalPopupMenu.cpp:
1525         (WebKit::ExternalPopupMenu::didAcceptIndices):
1526         * src/ExternalPopupMenu.h:
1527
1528 2011-09-06  Aaron Colwell  <acolwell@chromium.org>
1529
1530         Allow MediaSource API to be enabled at runtime.
1531         https://bugs.webkit.org/show_bug.cgi?id=67306
1532
1533         Reviewed by Eric Carlson.
1534
1535         * public/WebRuntimeFeatures.h:
1536         * src/WebRuntimeFeatures.cpp:
1537         (WebKit::WebRuntimeFeatures::enableMediaSource):
1538         (WebKit::WebRuntimeFeatures::isMediaSourceEnabled):
1539
1540 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
1541
1542         REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium
1543         https://bugs.webkit.org/show_bug.cgi?id=67453
1544
1545         Reviewed by Kent Tamura.
1546
1547         Chromium code incorrectly calls Node::isFocusable without updating layout, and was hitting assertions.
1548         Fix the assertion failure (and a potential crash) by updating layout in WebCore::isFocusable.
1549
1550         * src/WebNode.cpp:
1551         (WebKit::WebNode::isFocusable):
1552
1553 2011-09-04  Adam Barth  <abarth@webkit.org>
1554
1555         [Chromium] Add mutliple to WebPopupMenuInfo for Android
1556         https://bugs.webkit.org/show_bug.cgi?id=67576
1557
1558         Reviewed by Darin Fisher.
1559
1560         This flag requests that the embedder allow multiple selection for the
1561         popup menu.  (See also https://bugs.webkit.org/show_bug.cgi?id=67574.)
1562
1563         * public/WebPopupMenuInfo.h:
1564         * src/ExternalPopupMenu.cpp:
1565         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
1566
1567 2011-09-04  Adam Barth  <abarth@webkit.org>
1568
1569         [Chromium] Add memory threshold values to WebKitPlatformSupport.h
1570         https://bugs.webkit.org/show_bug.cgi?id=67575
1571
1572         Reviewed by Darin Fisher.
1573
1574         Instead of hard-coding these values, we now grab them from
1575         WebKitPlatformSupport because Android wishes to configure them on a
1576         per-device basis.
1577
1578         One could view grabing these values from PlatformSupport as a bit of a
1579         layering violation (because they feel like policy), but another view is
1580         that the alternative implementation is to query the OS for various
1581         memory parameters.  In either case, getting these values via
1582         PlatformSupport is much easier and consistent with the other memory
1583         related queries in PlatformSupport already.
1584
1585         * public/WebKitPlatformSupport.h:
1586         (WebKit::WebKitPlatformSupport::lowMemoryUsageMB):
1587         (WebKit::WebKitPlatformSupport::highMemoryUsageMB):
1588         (WebKit::WebKitPlatformSupport::highUsageDeltaMB):
1589         * src/PlatformSupport.cpp:
1590         (WebCore::PlatformSupport::lowMemoryUsageMB):
1591         (WebCore::PlatformSupport::highMemoryUsageMB):
1592         (WebCore::PlatformSupport::highUsageDeltaMB):
1593
1594 2011-09-02  Adam Barth  <abarth@webkit.org>
1595
1596         Remove WebKitClient.h
1597         https://bugs.webkit.org/show_bug.cgi?id=67539
1598
1599         Reviewed by Sam Weinig.
1600
1601         This API no longer has any callers.
1602
1603         * WebKit.gyp:
1604         * public/WebKit.h:
1605         * public/WebKitClient.h: Removed.
1606         * src/WebKit.cpp:
1607
1608 2011-09-02  Bill Budge  <bbudge@chromium.org>
1609
1610         Add a 'didDownloadData' method to ResourceHandleInternal and pass these
1611         notifications to WebURLLoaderClients.
1612         https://bugs.webkit.org/show_bug.cgi?id=67229
1613
1614         Reviewed by Darin Fisher.
1615
1616         * src/AssociatedURLLoader.cpp:
1617         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
1618         (WebKit::AssociatedURLLoader::ClientAdapter::didDownloadData):
1619         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1620         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
1621         * src/ResourceHandle.cpp:
1622         (WebCore::ResourceHandleInternal::didDownloadData):
1623         * src/ResourceHandleInternal.h:
1624
1625 2011-09-02  Peng Huang  <penghuang@chromium.org>
1626
1627         Need API for getting surrounding text from webkit in chromium
1628         https://bugs.webkit.org/show_bug.cgi?id=66681
1629
1630         Reviewed by Ryosuke Niwa.
1631
1632         Add getSelectionOffsetsAndTextInEditableContent() to Chromium's
1633         WebViewImpl. This function is for supporting some input methods which
1634         need input context around the edit caret.
1635
1636         * public/WebWidget.h:
1637         (WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
1638         * src/WebViewImpl.cpp:
1639         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
1640         * src/WebViewImpl.h:
1641
1642 2011-09-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1643
1644         Unreviewed.  Rolled DEPS.
1645
1646         * DEPS:
1647
1648 2011-09-02  Adrienne Walker  <enne@google.com>
1649
1650         [chromium] Remove LayerRendererChromium references from the LayerChromium tree
1651         https://bugs.webkit.org/show_bug.cgi?id=66430
1652
1653         Reviewed by James Robinson.
1654
1655         Change references to LayerRendererChromium to CCLayerTreeHost.
1656
1657         * src/WebMediaPlayerClientImpl.cpp:
1658         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
1659
1660 2011-09-01  Robert Kroeger  <rjkroege@chromium.org>
1661
1662  
1663         [chromium] Code cleanup FIXME in Chromium recognizer
1664         https://bugs.webkit.org/show_bug.cgi?id=67448
1665
1666         Updated GestureRecognizer unit tests for more encapsulated
1667         gesture recognizer implementation.
1668
1669         Reviewed by Adam Barth.
1670
1671         * tests/InnerGestureRecognizerTest.cpp:
1672         (InspectableGestureRecognizerChromium::InspectableGestureRecognizerChromium):
1673         (InspectableGestureRecognizerChromium::signature):
1674         (InspectableGestureRecognizerChromium::edgeFunction):
1675         (InspectableGestureRecognizerChromium::updateValues):
1676         (InspectableGestureRecognizerChromium::addEdgeFunction):
1677         (InspectableGestureRecognizerChromium::setStateTest):
1678         (InspectableGestureRecognizerChromium::isInsideManhattanSquare):
1679         (InspectableGestureRecognizerChromium::isInClickTimeWindow):
1680         (InspectableGestureRecognizerChromium::stubEdgeFunction):
1681         (GestureRecognizerTest::GestureRecognizerTest):
1682         (TEST_F):
1683
1684 2011-09-01  Brian Salomon  <bsalomon@google.com>
1685
1686         [Chromium, Skia] Add virtual to WebGraphicsContext3D to create a new GrGLInterface per context. Insert per-skia-GL-function callback to set correct GL context.
1687         https://bugs.webkit.org/show_bug.cgi?id=67395
1688
1689         Reviewed by Kenneth Russell.
1690
1691         * WebKit.gyp:
1692         * public/WebGraphicsContext3D.h:
1693         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
1694         * src/GraphicsContext3DChromium.cpp:
1695         (WebCore::GraphicsContext3DPrivate::grContext):
1696         * src/WebGraphicsContext3D.cpp: Added.
1697         (WebKit::WebGraphicsContext3D::createGrGLInterface):
1698
1699 2011-08-29  Nat Duca  <nduca@chromium.org>
1700
1701         [chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
1702         https://bugs.webkit.org/show_bug.cgi?id=66807
1703
1704         Reviewed by James Robinson.
1705
1706         * src/WebViewImpl.cpp:
1707         (WebKit::WebViewImpl::composite):
1708         (WebKit::WebViewImpl::setRootGraphicsLayer):
1709         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1710         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1711         * tests/CCThreadTaskTest.cpp:
1712         (WebCore::TEST):
1713
1714 2011-09-01  Dominic Mazzoni  <dmazzoni@google.com>
1715
1716         Add API functions to enable starting and stopping speech input,
1717         and checking the current speech input state.
1718         https://bugs.webkit.org/show_bug.cgi?id=60170
1719
1720         Reviewed by Dimitri Glazkov.
1721
1722         * public/WebInputElement.h:
1723         * src/AssertMatchingEnums.cpp:
1724         * src/WebInputElement.cpp:
1725         (WebKit::WebInputElement::isSpeechInputEnabled):
1726         (WebKit::WebInputElement::getSpeechInputState):
1727         (WebKit::WebInputElement::startSpeechInput):
1728         (WebKit::WebInputElement::stopSpeechInput):
1729
1730 2011-08-31  Greg Billock  <gbillock@google.com>
1731
1732         Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
1733         https://bugs.webkit.org/show_bug.cgi?id=67302
1734
1735         Reviewed by Darin Fisher.
1736
1737         * public/WebBindings.h:
1738         * src/WebBindings.cpp:
1739         (WebKit::WebBindings::toNPVariant):
1740         (WebKit::WebBindings::toV8Value):
1741         * src/WebSerializedScriptValue.cpp:
1742         (WebKit::WebSerializedScriptValue::serialize):
1743
1744 2011-08-31  Adam Barth  <abarth@webkit.org>
1745
1746         [Chromium] Rename PlatformBridge to PlatformSupport
1747         https://bugs.webkit.org/show_bug.cgi?id=67349
1748
1749         Reviewed by Darin Fisher.
1750
1751         This matches the WebKitPlatformSupport embedder API.
1752
1753         * WebKit.gyp:
1754         * src/AssertMatchingEnums.cpp:
1755         * src/ChromeClientImpl.cpp:
1756         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
1757         * src/PlatformBridge.cpp: Removed.
1758         * src/ResourceHandle.cpp:
1759         (WebCore::ResourceHandle::cacheMetadata):
1760         * src/WebFrameImpl.cpp:
1761         (WebKit::WebFrameImpl::WebFrameImpl):
1762         (WebKit::WebFrameImpl::~WebFrameImpl):
1763         * src/WebViewImpl.cpp:
1764         (WebKit::WebViewImpl::paint):
1765         (WebKit::WebViewImplContentPainter::paint):
1766         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1767
1768 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
1769
1770         Chromium Mac: PDF: Scrollsbars should be visible when scrolling using the two finger gesture on Lion
1771         https://bugs.webkit.org/show_bug.cgi?id=66599
1772
1773         Reviewed by Darin Fisher.
1774
1775         Overlay scrollbars over a pdf wouldn't stay visible if a gesture was in progress. Normally we use a beginScrollGesture and endScrollGesture to keep the scrollbars visible. Unfortunately PDFs didn't handle gesture events so we didn't get the begin/end gesture events.
1776
1777         This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
1778
1779         * src/WebPluginContainerImpl.cpp:
1780         (WebKit::WebPluginContainerImpl::handleGestureEvent):
1781         * src/WebPluginContainerImpl.h:
1782         * src/WebViewImpl.cpp:
1783         (WebKit::WebViewImpl::gestureEvent):
1784
1785 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
1786
1787         Chromium Mac: Add fallback for drawing PDF overhang area
1788         https://bugs.webkit.org/show_bug.cgi?id=66614
1789
1790         Reviewed by Darin Fisher.
1791
1792         This change adds a fallback for overhang drawing for PDF content. This fallback is needed until the PDF plugin uses the linen pattern to draw its own overhang.
1793
1794         * src/ChromeClientImpl.cpp:
1795         (WebKit::ChromeClientImpl::paintCustomOverhangArea):
1796         * src/ChromeClientImpl.h:
1797         * src/WebPluginContainerImpl.cpp:
1798         (WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
1799         * src/WebPluginContainerImpl.h:
1800
1801 2011-08-31  James Weatherall  <wez@chromium.org>
1802
1803         [chromium] Have the FrameLoaderClient release any plugin widget
1804         reference is holding when the FrameLoader detaches it, to ensure that
1805         the plugin won't out-live the containing page.
1806         https://bugs.webkit.org/show_bug.cgi?id=66517
1807
1808         Reviewed by Darin Fisher.
1809
1810         * src/FrameLoaderClientImpl.cpp:
1811         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
1812
1813 2011-08-31  Adam Barth  <abarth@webkit.org>
1814
1815         [Chromium] Rename WebKitClient to WebKitPlatformSupport
1816         https://bugs.webkit.org/show_bug.cgi?id=67309
1817
1818         Reviewed by Darin Fisher.
1819
1820         WebKitClient doesn't actually represent the WebKit Client.  Instead, it
1821         represents supporting code for the WebKit Platform.  This patch renames
1822         WebKitClient to WebKitPlatformSupport to make it easier for folks to
1823         understand the difference between the Client and the Platform.
1824
1825         This patch includes shims so as not to break the Chromium build.  Once
1826         the Chromium side is updated, I'll remove the shims.
1827
1828         * WebKit.gyp:
1829         * public/WebFrameClient.h:
1830         * public/WebKit.h:
1831         (WebKit::webKitClient):
1832         * public/WebKitClient.h: Removed.
1833         * public/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitClient.h.
1834         (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
1835         * src/ApplicationCacheHostInternal.h:
1836         * src/AssociatedURLLoader.cpp:
1837         * src/AsyncFileSystemChromium.cpp:
1838         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
1839         * src/AudioDestinationChromium.cpp:
1840         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1841         (WebCore::AudioDestination::hardwareSampleRate):
1842         * src/BlobRegistryProxy.cpp:
1843         (WebCore::BlobRegistryProxy::BlobRegistryProxy):
1844         * src/CCThreadImpl.cpp:
1845         (WebKit::CCThreadImpl::CCThreadImpl):
1846         * src/ChromiumCurrentTime.cpp:
1847         (WTF::currentTime):
1848         (WTF::monotonicallyIncreasingTime):
1849         * src/ChromiumOSRandomSource.cpp:
1850         (WTF::cryptographicallyRandomValuesFromOS):
1851         * src/ChromiumThreading.cpp:
1852         (WTF::ChromiumThreading::callOnMainThread):
1853         * src/FrameLoaderClientImpl.cpp:
1854         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
1855         (WebKit::FrameLoaderClientImpl::userAgent):
1856         * src/GraphicsContext3DChromium.cpp:
1857         (WebCore::GraphicsContext3D::create):
1858         * src/IDBFactoryBackendProxy.cpp:
1859         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
1860         * src/LocalizedStrings.cpp:
1861         (WebCore::query):
1862         * src/PlatformBridge.cpp:
1863         (WebCore::getCookieJar):
1864         (WebCore::PlatformBridge::cacheMetadata):
1865         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
1866         (WebCore::PlatformBridge::clipboardReadPlainText):
1867         (WebCore::PlatformBridge::clipboardReadHTML):
1868         (WebCore::PlatformBridge::clipboardReadImage):
1869         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
1870         (WebCore::PlatformBridge::clipboardWriteSelection):
1871         (WebCore::PlatformBridge::clipboardWritePlainText):
1872         (WebCore::PlatformBridge::clipboardWriteURL):
1873         (WebCore::PlatformBridge::clipboardWriteImage):
1874         (WebCore::PlatformBridge::clipboardWriteData):
1875         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
1876         (WebCore::PlatformBridge::clipboardReadData):
1877         (WebCore::PlatformBridge::clipboardReadFilenames):
1878         (WebCore::PlatformBridge::prefetchDNS):
1879         (WebCore::PlatformBridge::fileExists):
1880         (WebCore::PlatformBridge::deleteFile):
1881         (WebCore::PlatformBridge::deleteEmptyDirectory):
1882         (WebCore::PlatformBridge::getFileSize):
1883         (WebCore::PlatformBridge::revealFolderInOS):
1884         (WebCore::PlatformBridge::getFileModificationTime):
1885         (WebCore::PlatformBridge::directoryName):
1886         (WebCore::PlatformBridge::pathByAppendingComponent):
1887         (WebCore::PlatformBridge::makeAllDirectories):
1888         (WebCore::PlatformBridge::getAbsolutePath):
1889         (WebCore::PlatformBridge::isDirectory):
1890         (WebCore::PlatformBridge::filePathToURL):
1891         (WebCore::PlatformBridge::openFile):
1892         (WebCore::PlatformBridge::closeFile):
1893         (WebCore::PlatformBridge::seekFile):
1894         (WebCore::PlatformBridge::truncateFile):
1895         (WebCore::PlatformBridge::readFromFile):
1896         (WebCore::PlatformBridge::writeToFile):
1897         (WebCore::PlatformBridge::ensureFontLoaded):
1898         (WebCore::PlatformBridge::loadFont):
1899         (WebCore::PlatformBridge::getFontFamilyForCharacters):
1900         (WebCore::PlatformBridge::getRenderStyleForStrike):
1901         (WebCore::PlatformBridge::databaseOpenFile):
1902         (WebCore::PlatformBridge::databaseDeleteFile):
1903         (WebCore::PlatformBridge::databaseGetFileAttributes):
1904         (WebCore::PlatformBridge::databaseGetFileSize):
1905         (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
1906         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
1907         (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
1908         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
1909         (WebCore::PlatformBridge::computedDefaultLanguage):
1910         (WebCore::PlatformBridge::isSupportedImageMIMEType):
1911         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
1912         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
1913         (WebCore::PlatformBridge::mimeTypeForExtension):
1914         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
1915         (WebCore::PlatformBridge::mimeTypeFromFile):
1916         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
1917         (WebCore::PlatformBridge::plugins):
1918         (WebCore::PlatformBridge::loadPlatformImageResource):
1919         (WebCore::PlatformBridge::loadPlatformAudioResource):
1920         (WebCore::PlatformBridge::decodeAudioFileData):
1921         (WebCore::PlatformBridge::sandboxEnabled):
1922         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
1923         (WebCore::PlatformBridge::setSharedTimerFireInterval):
1924         (WebCore::PlatformBridge::stopSharedTimer):
1925         (WebCore::PlatformBridge::decrementStatsCounter):
1926         (WebCore::PlatformBridge::incrementStatsCounter):
1927         (WebCore::PlatformBridge::histogramCustomCounts):
1928         (WebCore::PlatformBridge::histogramEnumeration):
1929         (WebCore::PlatformBridge::suddenTerminationChanged):
1930         (WebCore::PlatformBridge::paintButton):
1931         (WebCore::PlatformBridge::paintMenuList):
1932         (WebCore::PlatformBridge::paintScrollbarArrow):
1933         (WebCore::PlatformBridge::paintScrollbarThumb):
1934         (WebCore::PlatformBridge::paintScrollbarTrack):
1935         (WebCore::PlatformBridge::paintSpinButton):
1936         (WebCore::PlatformBridge::paintTextField):
1937         (WebCore::PlatformBridge::paintTrackbar):
1938         (WebCore::PlatformBridge::paintProgressBar):
1939         (WebCore::PlatformBridge::getThemePartSize):
1940         (WebCore::PlatformBridge::paintThemePart):
1941         (WebCore::PlatformBridge::traceEventBegin):
1942         (WebCore::PlatformBridge::traceEventEnd):
1943         (WebCore::PlatformBridge::visitedLinkHash):
1944         (WebCore::PlatformBridge::isLinkVisited):
1945         (WebCore::PlatformBridge::memoryUsageMB):
1946         (WebCore::PlatformBridge::actualMemoryUsageMB):
1947         * src/PlatformMessagePortChannel.cpp:
1948         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
1949         * src/ResourceHandle.cpp:
1950         (WebCore::ResourceHandleInternal::start):
1951         (WebCore::ResourceHandle::loadResourceSynchronously):
1952         * src/SharedWorkerRepository.cpp:
1953         (WebCore::SharedWorkerRepository::isAvailable):
1954         (WebCore::SharedWorkerRepository::connect):
1955         (WebCore::SharedWorkerRepository::documentDetached):
1956         (WebCore::SharedWorkerRepository::hasSharedWorkers):
1957         * src/SocketStreamHandle.cpp:
1958         (WebCore::SocketStreamHandleInternal::connect):
1959         * src/StorageEventDispatcherChromium.cpp:
1960         (WebCore::StorageEventDispatcher::dispatch):
1961         * src/StorageNamespaceProxy.cpp:
1962         (WebCore::StorageNamespace::localStorageNamespace):
1963         * src/WebKit.cpp:
1964         (WebKit::generateEntropy):
1965         (WebKit::initialize):
1966         (WebKit::shutdown):
1967         (WebKit::webKitPlatformSupport):
1968         * src/WebMediaPlayerClientImpl.cpp:
1969         (WebKit::WebMediaPlayerClientImpl::supportsType):
1970         * src/WebPluginContainerImpl.cpp:
1971         (WebKit::WebPluginContainerImpl::copy):
1972         * src/WebViewImpl.cpp:
1973         * src/WebWorkerClientImpl.cpp:
1974         * src/WorkerAsyncFileSystemChromium.cpp:
1975         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
1976         * src/WorkerFileWriterCallbacksBridge.cpp:
1977         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
1978         * tests/RunAllTests.cpp:
1979
1980 2011-08-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1981
1982         Unreviewed.  Rolled DEPS.
1983
1984         * DEPS:
1985
1986 2011-08-31  Nat Duca  <nduca@chromium.org>
1987
1988         [Chromium] Unreviewed, fix inconsistent WebKit.gypi after r94106
1989         https://bugs.webkit.org/show_bug.cgi?id=67288
1990
1991         * WebKit.gypi:
1992
1993 2011-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1994
1995         Unreviewed, rolling out r94142, r94144, r94145, and r94148.
1996         http://trac.webkit.org/changeset/94142
1997         http://trac.webkit.org/changeset/94144
1998         http://trac.webkit.org/changeset/94145
1999         http://trac.webkit.org/changeset/94148
2000         https://bugs.webkit.org/show_bug.cgi?id=67262
2001
2002         Broke isindex element (Requested by rniwa on #webkit).
2003
2004         * src/EditorClientImpl.cpp:
2005         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2006         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2007         * src/WebInputElement.cpp:
2008         (WebKit::toWebInputElement):
2009         * src/WebPasswordFormUtils.cpp:
2010         (WebKit::findPasswordFormFields):
2011
2012 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
2013
2014         Chromium build fix after r94142.
2015
2016         * src/EditorClientImpl.cpp:
2017         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2018         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2019         * src/WebPasswordFormUtils.cpp:
2020         (WebKit::findPasswordFormFields):
2021
2022 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
2023
2024         Get rid of toInputElement()
2025         https://bugs.webkit.org/show_bug.cgi?id=67175
2026
2027         Reviewed by Darin Adler.
2028
2029         * src/WebInputElement.cpp:
2030         (WebKit::toWebInputElement):
2031
2032 2011-08-30  Nat Duca  <nduca@chromium.org>
2033
2034         Unreviewed, fix WebGL layout tests due to missing WebView pointer.
2035
2036         * src/GraphicsContext3DChromium.cpp:
2037         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
2038
2039 2011-08-30  Aaron Colwell  <acolwell@chromium.org>
2040
2041         Add MediaSource API to HTMLMediaElement
2042         https://bugs.webkit.org/show_bug.cgi?id=64731
2043
2044         Reviewed by Eric Carlson.
2045
2046         * public/WebMediaPlayer.h:
2047         (WebKit::WebMediaPlayer::sourceAppend):
2048         (WebKit::WebMediaPlayer::sourceEndOfStream):
2049         * public/WebMediaPlayerClient.h:
2050         * src/WebMediaPlayerClientImpl.cpp:
2051         (WebKit::WebMediaPlayerClientImpl::sourceOpened):
2052         (WebKit::WebMediaPlayerClientImpl::sourceURL):
2053         (WebKit::WebMediaPlayerClientImpl::sourceAppend):
2054         (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
2055         * src/WebMediaPlayerClientImpl.h:
2056
2057 2011-08-30  Nat Duca  <nduca@chromium.org>
2058
2059         [chromium] Allow GraphicsContexts to be created from MockWebGraphicsContexts
2060         https://bugs.webkit.org/show_bug.cgi?id=67179
2061
2062         Reviewed by Kenneth Russell.
2063
2064         * WebKit.gypi:
2065         * src/GraphicsContext3DChromium.cpp:
2066         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2067         (WebCore::GraphicsContext3DInternal::create):
2068         (WebCore::GraphicsContext3DInternal::createFromWebContext):
2069         (WebCore::GraphicsContext3D::create):
2070         * src/GraphicsContext3DInternal.h:
2071         * tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/MockWebGraphicsContext3DTest.cpp.
2072         (FrameCountingContext::FrameCountingContext):
2073         (FrameCountingContext::prepareTexture):
2074         (FrameCountingContext::frameCount):
2075         (TEST):
2076
2077 2011-08-30  Adam Barth  <abarth@webkit.org>
2078
2079         [Chromium] Add null checks for document()->loader()
2080         https://bugs.webkit.org/show_bug.cgi?id=67077
2081
2082         Reviewed by Nate Chapin.
2083
2084         Document::loader can return 0 for a number of reasons.  Call sites need
2085         to null check the result, like we do for Document::frame.  I suspect
2086         some of these are real crashes, along the lines of
2087         http://trac.webkit.org/changeset/93692, but null checking this function
2088         is just good practice.
2089
2090         * src/ContextMenuClientImpl.cpp:
2091         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2092         * src/WebSearchableFormData.cpp:
2093         (HTMLNames::GetFormEncoding):
2094         * src/WebViewImpl.cpp:
2095         (WebKit::WebViewImpl::pageEncoding):
2096
2097 2011-08-29  Darin Fisher  <darin@chromium.org>
2098
2099         [chromium] DumpRenderTree should be explicit about its dependency on
2100         GoogleURL
2101         https://bugs.webkit.org/show_bug.cgi?id=67169
2102
2103         Reviewed by Ryosuke Niwa.
2104
2105         DumpRenderTree uses GoogleURL code directly, and it should be explicit
2106         about that instead of picking up this dependency transitively, which
2107         only works for the static build.
2108
2109         This is needed to support the "component" build of DumpRenderTree, in
2110         which the various Chromium dependencies are built as separate DLLs.
2111
2112         * WebKit.gyp:
2113
2114 2011-08-30  Tony Chang  <tony@chromium.org>
2115
2116         Fix chromium compile when using clang.  Another compile error due
2117         to r94080.
2118
2119         * src/ChromeClientImpl.h:
2120         (WebKit::ChromeClientImpl::scrollRectIntoView):
2121
2122 2011-08-30  Tony Chang  <tony@chromium.org>
2123
2124         Roll chromium DEPS to r98771.
2125
2126         * DEPS:
2127
2128 2011-08-29  Chris Marrin  <cmarrin@apple.com>
2129
2130         Rename GraphicsContext3DInternal to GraphicsContext3DPrivate and add a dummy version of this class for Mac
2131         https://bugs.webkit.org/show_bug.cgi?id=67172
2132
2133         Reviewed by Kenneth Russell.
2134
2135         * WebKit.gyp:
2136         * src/Extensions3DChromium.cpp:
2137         (WebCore::Extensions3DChromium::Extensions3DChromium):
2138         (WebCore::Extensions3DChromium::supports):
2139         (WebCore::Extensions3DChromium::ensureEnabled):
2140         (WebCore::Extensions3DChromium::isEnabled):
2141         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
2142         (WebCore::Extensions3DChromium::blitFramebuffer):
2143         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
2144         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
2145         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
2146         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
2147         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
2148         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
2149         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
2150         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
2151         * src/GraphicsContext3DChromium.cpp:
2152         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
2153         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
2154         (WebCore::GraphicsContext3DPrivate::initialize):
2155         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
2156         (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
2157         (WebCore::GraphicsContext3DPrivate::platformTexture):
2158         (WebCore::GraphicsContext3DPrivate::grContext):
2159         (WebCore::GraphicsContext3DPrivate::prepareTexture):
2160         (WebCore::GraphicsContext3DPrivate::platformLayer):
2161         (WebCore::GraphicsContext3DPrivate::markContextChanged):
2162         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
2163         (WebCore::GraphicsContext3DPrivate::layerComposited):
2164         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
2165         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
2166         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
2167         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
2168         (WebCore::GraphicsContext3DPrivate::paintsIntoCanvasBuffer):
2169         (WebCore::GraphicsContext3DPrivate::reshape):
2170         (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
2171         (WebCore::GraphicsContext3DPrivate::isContextLost):
2172         (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
2173         (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
2174         (WebCore::GraphicsContext3DPrivate::bufferData):
2175         (WebCore::GraphicsContext3DPrivate::bufferSubData):
2176         (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
2177         (WebCore::GraphicsContext3DPrivate::getActiveUniform):
2178         (WebCore::GraphicsContext3DPrivate::getAttribLocation):
2179         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
2180         (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
2181         (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
2182         (WebCore::GraphicsContext3DPrivate::getShaderSource):
2183         (WebCore::GraphicsContext3DPrivate::getString):
2184         (WebCore::GraphicsContext3DPrivate::getUniformLocation):
2185         (WebCore::GraphicsContext3DPrivate::shaderSource):
2186         (WebCore::GraphicsContext3DPrivate::texImage2D):
2187         (WebCore::GraphicsContext3DPrivate::texSubImage2D):
2188         (WebCore::GraphicsContext3DPrivate::uniform1fv):
2189         (WebCore::GraphicsContext3DPrivate::uniform1iv):
2190         (WebCore::GraphicsContext3DPrivate::uniform2fv):
2191         (WebCore::GraphicsContext3DPrivate::uniform2iv):
2192         (WebCore::GraphicsContext3DPrivate::uniform3fv):
2193         (WebCore::GraphicsContext3DPrivate::uniform3iv):
2194         (WebCore::GraphicsContext3DPrivate::uniform4fv):
2195         (WebCore::GraphicsContext3DPrivate::uniform4iv):
2196         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
2197         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
2198         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
2199         (WebCore::GraphicsContext3DPrivate::getExtensions):
2200         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
2201         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
2202         (WebCore::GraphicsContext3DPrivate::supportsExtension):
2203         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
2204         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
2205         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2206         (WebCore::GraphicsContext3D::create):
2207         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
2208         (WebCore::GraphicsContext3D::platformTexture):
2209         (WebCore::GraphicsContext3D::grContext):
2210         (WebCore::GraphicsContext3D::prepareTexture):
2211         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
2212         (WebCore::GraphicsContext3D::isResourceSafe):
2213         (WebCore::GraphicsContext3D::platformLayer):
2214         (WebCore::GraphicsContext3D::layerComposited):
2215         (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
2216         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
2217         (WebCore::GraphicsContext3D::isGLES2Compliant):
2218         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
2219         * src/GraphicsContext3DInternal.h: Removed.
2220         * src/GraphicsContext3DPrivate.h: Copied from Source/WebKit/chromium/src/GraphicsContext3DInternal.h.
2221         * src/WebViewImpl.cpp:
2222         (WebKit::WebViewImpl::graphicsContext3D):
2223
2224 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2225
2226         The unused ScrollView* argument can and should be removed from
2227         scrollRectIntoView.
2228         https://bugs.webkit.org/show_bug.cgi?id=67117
2229
2230         Reviewed by Darin Adler.
2231
2232         * src/WebPopupMenuImpl.cpp:
2233         (WebKit::WebPopupMenuImpl::scrollRectIntoView):
2234         * src/WebPopupMenuImpl.h:
2235
2236 2011-08-29  Greg Billock  <gbillock@google.com>
2237
2238         [Chromium] Add ability to do static SerializedScriptValue deserialization
2239         https://bugs.webkit.org/show_bug.cgi?id=66877
2240
2241         Reviewed by Darin Fisher.
2242
2243         * public/WebSerializedScriptValue.h:
2244         * src/WebSerializedScriptValue.cpp:
2245         (WebKit::WebSerializedScriptValue::deserialize):
2246         (WebKit::WebSerializedScriptValue::serialize):
2247
2248 2011-08-27  Peter Beverloo  <peter@chromium.org>
2249
2250         Teach the update and build scripts how to handle dependencies
2251         and cross-compiling rules for the Chromium port on OS(ANDROID).
2252         https://bugs.webkit.org/show_bug.cgi?id=66687
2253
2254         Reviewed by Adam Barth.
2255
2256         * gyp_webkit:
2257
2258 2011-08-26  Iain Merrick  <husky@google.com>
2259
2260         [chromium] Add MockWebGraphicsContext3D, for compositor unit testing
2261         https://bugs.webkit.org/show_bug.cgi?id=67006
2262
2263         MockWebGraphicsContext3D is a no-op implementation of the pure virtual
2264         interface WebGraphicsContext3D. I've included a test with a couple of
2265         example usages: subclassing it manually, and using it with GMock.
2266
2267         Reviewed by Kenneth Russell.
2268
2269         * WebKit.gypi:
2270         * tests/MockWebGraphicsContext3D.h: Added.
2271         (WebKit::MockWebGraphicsContext3D::initialize):
2272         (WebKit::MockWebGraphicsContext3D::makeContextCurrent):
2273         (WebKit::MockWebGraphicsContext3D::width):
2274         (WebKit::MockWebGraphicsContext3D::height):
2275         (WebKit::MockWebGraphicsContext3D::reshape):
2276         (WebKit::MockWebGraphicsContext3D::isGLES2Compliant):
2277         (WebKit::MockWebGraphicsContext3D::readBackFramebuffer):
2278         (WebKit::MockWebGraphicsContext3D::getPlatformTextureId):
2279         (WebKit::MockWebGraphicsContext3D::prepareTexture):
2280         (WebKit::MockWebGraphicsContext3D::synthesizeGLError):
2281         (WebKit::MockWebGraphicsContext3D::isContextLost):
2282         (WebKit::MockWebGraphicsContext3D::mapBufferSubDataCHROMIUM):
2283         (WebKit::MockWebGraphicsContext3D::unmapBufferSubDataCHROMIUM):
2284         (WebKit::MockWebGraphicsContext3D::mapTexSubImage2DCHROMIUM):
2285         (WebKit::MockWebGraphicsContext3D::unmapTexSubImage2DCHROMIUM):
2286         (WebKit::MockWebGraphicsContext3D::getRequestableExtensionsCHROMIUM):
2287         (WebKit::MockWebGraphicsContext3D::requestExtensionCHROMIUM):
2288         (WebKit::MockWebGraphicsContext3D::blitFramebufferCHROMIUM):
2289         (WebKit::MockWebGraphicsContext3D::renderbufferStorageMultisampleCHROMIUM):
2290         (WebKit::MockWebGraphicsContext3D::activeTexture):
2291         (WebKit::MockWebGraphicsContext3D::attachShader):
2292         (WebKit::MockWebGraphicsContext3D::bindAttribLocation):
2293         (WebKit::MockWebGraphicsContext3D::bindBuffer):
2294         (WebKit::MockWebGraphicsContext3D::bindFramebuffer):
2295         (WebKit::MockWebGraphicsContext3D::bindRenderbuffer):
2296         (WebKit::MockWebGraphicsContext3D::bindTexture):
2297         (WebKit::MockWebGraphicsContext3D::blendColor):
2298         (WebKit::MockWebGraphicsContext3D::blendEquation):
2299         (WebKit::MockWebGraphicsContext3D::blendEquationSeparate):
2300         (WebKit::MockWebGraphicsContext3D::blendFunc):
2301         (WebKit::MockWebGraphicsContext3D::blendFuncSeparate):
2302         (WebKit::MockWebGraphicsContext3D::bufferData):
2303         (WebKit::MockWebGraphicsContext3D::bufferSubData):
2304         (WebKit::MockWebGraphicsContext3D::checkFramebufferStatus):
2305         (WebKit::MockWebGraphicsContext3D::clear):
2306         (WebKit::MockWebGraphicsContext3D::clearColor):
2307         (WebKit::MockWebGraphicsContext3D::clearDepth):
2308         (WebKit::MockWebGraphicsContext3D::clearStencil):
2309         (WebKit::MockWebGraphicsContext3D::colorMask):
2310         (WebKit::MockWebGraphicsContext3D::compileShader):
2311         (WebKit::MockWebGraphicsContext3D::copyTexImage2D):
2312         (WebKit::MockWebGraphicsContext3D::copyTexSubImage2D):
2313         (WebKit::MockWebGraphicsContext3D::cullFace):
2314         (WebKit::MockWebGraphicsContext3D::depthFunc):
2315         (WebKit::MockWebGraphicsContext3D::depthMask):
2316         (WebKit::MockWebGraphicsContext3D::depthRange):
2317         (WebKit::MockWebGraphicsContext3D::detachShader):
2318         (WebKit::MockWebGraphicsContext3D::disable):
2319         (WebKit::MockWebGraphicsContext3D::disableVertexAttribArray):
2320         (WebKit::MockWebGraphicsContext3D::drawArrays):
2321         (WebKit::MockWebGraphicsContext3D::drawElements):
2322         (WebKit::MockWebGraphicsContext3D::enable):
2323         (WebKit::MockWebGraphicsContext3D::enableVertexAttribArray):
2324         (WebKit::MockWebGraphicsContext3D::finish):
2325         (WebKit::MockWebGraphicsContext3D::flush):
2326         (WebKit::MockWebGraphicsContext3D::framebufferRenderbuffer):
2327         (WebKit::MockWebGraphicsContext3D::framebufferTexture2D):
2328         (WebKit::MockWebGraphicsContext3D::frontFace):
2329         (WebKit::MockWebGraphicsContext3D::generateMipmap):
2330         (WebKit::MockWebGraphicsContext3D::getActiveAttrib):
2331         (WebKit::MockWebGraphicsContext3D::getActiveUniform):
2332         (WebKit::MockWebGraphicsContext3D::getAttachedShaders):
2333         (WebKit::MockWebGraphicsContext3D::getAttribLocation):
2334         (WebKit::MockWebGraphicsContext3D::getBooleanv):
2335         (WebKit::MockWebGraphicsContext3D::getBufferParameteriv):
2336         (WebKit::MockWebGraphicsContext3D::getContextAttributes):
2337         (WebKit::MockWebGraphicsContext3D::getError):
2338         (WebKit::MockWebGraphicsContext3D::getFloatv):
2339         (WebKit::MockWebGraphicsContext3D::getFramebufferAttachmentParameteriv):
2340         (WebKit::MockWebGraphicsContext3D::getIntegerv):
2341         (WebKit::MockWebGraphicsContext3D::getProgramiv):
2342         (WebKit::MockWebGraphicsContext3D::getProgramInfoLog):
2343         (WebKit::MockWebGraphicsContext3D::getRenderbufferParameteriv):
2344         (WebKit::MockWebGraphicsContext3D::getShaderiv):
2345         (WebKit::MockWebGraphicsContext3D::getShaderInfoLog):
2346         (WebKit::MockWebGraphicsContext3D::getShaderSource):
2347         (WebKit::MockWebGraphicsContext3D::getString):
2348         (WebKit::MockWebGraphicsContext3D::getTexParameterfv):
2349         (WebKit::MockWebGraphicsContext3D::getTexParameteriv):
2350         (WebKit::MockWebGraphicsContext3D::getUniformfv):
2351         (WebKit::MockWebGraphicsContext3D::getUniformiv):
2352         (WebKit::MockWebGraphicsContext3D::getUniformLocation):
2353         (WebKit::MockWebGraphicsContext3D::getVertexAttribfv):
2354         (WebKit::MockWebGraphicsContext3D::getVertexAttribiv):
2355         (WebKit::MockWebGraphicsContext3D::getVertexAttribOffset):
2356         (WebKit::MockWebGraphicsContext3D::hint):
2357         (WebKit::MockWebGraphicsContext3D::isBuffer):
2358         (WebKit::MockWebGraphicsContext3D::isEnabled):
2359         (WebKit::MockWebGraphicsContext3D::isFramebuffer):
2360         (WebKit::MockWebGraphicsContext3D::isProgram):
2361         (WebKit::MockWebGraphicsContext3D::isRenderbuffer):
2362         (WebKit::MockWebGraphicsContext3D::isShader):
2363         (WebKit::MockWebGraphicsContext3D::isTexture):
2364         (WebKit::MockWebGraphicsContext3D::lineWidth):
2365         (WebKit::MockWebGraphicsContext3D::linkProgram):
2366         (WebKit::MockWebGraphicsContext3D::pixelStorei):
2367         (WebKit::MockWebGraphicsContext3D::polygonOffset):
2368         (WebKit::MockWebGraphicsContext3D::readPixels):
2369         (WebKit::MockWebGraphicsContext3D::releaseShaderCompiler):
2370         (WebKit::MockWebGraphicsContext3D::renderbufferStorage):
2371         (WebKit::MockWebGraphicsContext3D::sampleCoverage):
2372         (WebKit::MockWebGraphicsContext3D::scissor):
2373         (WebKit::MockWebGraphicsContext3D::shaderSource):
2374         (WebKit::MockWebGraphicsContext3D::stencilFunc):
2375         (WebKit::MockWebGraphicsContext3D::stencilFuncSeparate):
2376         (WebKit::MockWebGraphicsContext3D::stencilMask):
2377         (WebKit::MockWebGraphicsContext3D::stencilMaskSeparate):
2378         (WebKit::MockWebGraphicsContext3D::stencilOp):
2379         (WebKit::MockWebGraphicsContext3D::stencilOpSeparate):
2380         (WebKit::MockWebGraphicsContext3D::texImage2D):
2381         (WebKit::MockWebGraphicsContext3D::texParameterf):
2382         (WebKit::MockWebGraphicsContext3D::texParameteri):
2383         (WebKit::MockWebGraphicsContext3D::texSubImage2D):
2384         (WebKit::MockWebGraphicsContext3D::uniform1f):
2385         (WebKit::MockWebGraphicsContext3D::uniform1fv):
2386         (WebKit::MockWebGraphicsContext3D::uniform1i):
2387         (WebKit::MockWebGraphicsContext3D::uniform1iv):
2388         (WebKit::MockWebGraphicsContext3D::uniform2f):
2389         (WebKit::MockWebGraphicsContext3D::uniform2fv):
2390         (WebKit::MockWebGraphicsContext3D::uniform2i):
2391         (WebKit::MockWebGraphicsContext3D::uniform2iv):
2392         (WebKit::MockWebGraphicsContext3D::uniform3f):
2393         (WebKit::MockWebGraphicsContext3D::uniform3fv):
2394         (WebKit::MockWebGraphicsContext3D::uniform3i):
2395         (WebKit::MockWebGraphicsContext3D::uniform3iv):
2396         (WebKit::MockWebGraphicsContext3D::uniform4f):
2397         (WebKit::MockWebGraphicsContext3D::uniform4fv):
2398         (WebKit::MockWebGraphicsContext3D::uniform4i):
2399         (WebKit::MockWebGraphicsContext3D::uniform4iv):
2400         (WebKit::MockWebGraphicsContext3D::uniformMatrix2fv):
2401         (WebKit::MockWebGraphicsContext3D::uniformMatrix3fv):
2402         (WebKit::MockWebGraphicsContext3D::uniformMatrix4fv):
2403         (WebKit::MockWebGraphicsContext3D::useProgram):
2404         (WebKit::MockWebGraphicsContext3D::validateProgram):
2405         (WebKit::MockWebGraphicsContext3D::vertexAttrib1f):
2406         (WebKit::MockWebGraphicsContext3D::vertexAttrib1fv):
2407         (WebKit::MockWebGraphicsContext3D::vertexAttrib2f):
2408         (WebKit::MockWebGraphicsContext3D::vertexAttrib2fv):
2409         (WebKit::MockWebGraphicsContext3D::vertexAttrib3f):
2410         (WebKit::MockWebGraphicsContext3D::vertexAttrib3fv):
2411         (WebKit::MockWebGraphicsContext3D::vertexAttrib4f):
2412         (WebKit::MockWebGraphicsContext3D::vertexAttrib4fv):
2413         (WebKit::MockWebGraphicsContext3D::vertexAttribPointer):
2414         (WebKit::MockWebGraphicsContext3D::viewport):
2415         (WebKit::MockWebGraphicsContext3D::createBuffer):
2416         (WebKit::MockWebGraphicsContext3D::createFramebuffer):
2417         (WebKit::MockWebGraphicsContext3D::createProgram):
2418         (WebKit::MockWebGraphicsContext3D::createRenderbuffer):
2419         (WebKit::MockWebGraphicsContext3D::createShader):
2420         (WebKit::MockWebGraphicsContext3D::createTexture):
2421         (WebKit::MockWebGraphicsContext3D::deleteBuffer):
2422         (WebKit::MockWebGraphicsContext3D::deleteFramebuffer):
2423         (WebKit::MockWebGraphicsContext3D::deleteProgram):
2424         (WebKit::MockWebGraphicsContext3D::deleteRenderbuffer):
2425         (WebKit::MockWebGraphicsContext3D::deleteShader):
2426         (WebKit::MockWebGraphicsContext3D::deleteTexture):
2427         * tests/MockWebGraphicsContext3DTest.cpp: Added.
2428         (TEST):
2429         (FrameCountingContext::FrameCountingContext):
2430         (FrameCountingContext::prepareTexture):
2431         (FrameCountingContext::frameCount):
2432
2433 2011-08-26  Nate Chapin  <japhet@chromium.org>
2434
2435         Use enums instead of bools for ThreadableLoaderOptions
2436         variables.
2437         https://bugs.webkit.org/show_bug.cgi?id=66984
2438
2439         Reviewed by David Levin.
2440
2441         * src/AssociatedURLLoader.cpp:
2442         (WebKit::AssociatedURLLoader::loadAsynchronously):
2443
2444 2011-08-25  Jeremy Apthorp  <jeremya@google.com>
2445
2446         Enable fullscreen API in Chromium by default.
2447         https://bugs.webkit.org/show_bug.cgi?id=66993
2448
2449         Reviewed by Adam Barth.
2450
2451         * features.gypi:
2452
2453 2011-08-25  Scott Graham  <scottmg@chromium.org>
2454
2455         Enable incremental linking for component build on Chromium
2456         https://bugs.webkit.org/show_bug.cgi?id=66950
2457
2458         Reviewed by Darin Fisher.
2459
2460         Turns on Use Library Dependency Inputs for webkit.vcproj on Windows
2461         build, when incremental_chrome_dll gyp flag is set. This is to get
2462         faster incremental links on Windows builds.
2463
2464         * WebKit.gyp:
2465
2466 2011-08-25  Pavel Podivilov  <podivilov@chromium.org>
2467
2468         Unreviewed, fix chromium devtools tests.
2469
2470         * src/js/Tests.js:
2471         (.TestSuite.prototype.evaluateInConsole_):
2472
2473 2011-08-25  John Bates  <jbates@google.com>
2474
2475         [chromium] Leaking SkBitmaps for background images
2476         https://bugs.webkit.org/show_bug.cgi?id=66488
2477
2478         Reviewed by Stephen White.
2479
2480         This patch simply changes NativeImageSkia to have a SkBitmap instead of
2481         deriving from SkBitmap. All dependent code updated to access the member
2482         instead of calling SkBitmap methods on NativeImageSkia objects. This
2483         may or may not fix the memory leak, but it's definitely a bug that could
2484         cause memory leaks.
2485
2486         * src/PlatformBridge.cpp:
2487         (WebCore::PlatformBridge::clipboardWriteImage):
2488         * src/WebImageDecoder.cpp:
2489         (WebKit::WebImageDecoder::getFrameAtIndex):
2490         * src/WebImageSkia.cpp:
2491         (WebKit::WebImage::fromData):
2492         (WebKit::WebImage::operator=):
2493
2494 2011-08-25  Brian Salomon  <bsalomon@google.com>
2495
2496         [SKIA] Move forward decl of skia type outside namespace Webkit
2497         https://bugs.webkit.org/show_bug.cgi?id=66942
2498
2499         Reviewed by Stephen White.
2500
2501         * public/WebGraphicsContext3D.h:
2502
2503 2011-08-25  Mikhail Naganov  <mnaganov@chromium.org>
2504
2505         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
2506         https://bugs.webkit.org/show_bug.cgi?id=66132
2507
2508         Reviewed by Tony Gentilcore.
2509
2510         * public/WebCache.h:
2511         * public/WebFontCache.h:
2512         * src/WebCache.cpp:
2513         (WebKit::WebCache::clear):
2514         (WebKit::WebCache::prune):
2515         * src/WebFontCache.cpp:
2516         (WebKit::WebFontCache::prune):
2517
2518 2011-08-24  Kentaro Hara  <haraken@google.com>
2519
2520         Implement a keypath parser strictly following the specification
2521         https://bugs.webkit.org/show_bug.cgi?id=62288
2522
2523         Reviewed by Tony Chang.
2524
2525         Implemented a keypath parser that accepts either an empty string, a JavaScript
2526         identifier, or multiple JavaScript identifiers separated by periods.
2527         We fixed createObjectStore() and createIndex() so that they parse and check
2528         their |keypath| argument and return an appropriate exception if the |keypath|
2529         is not valid. We also added unit tests for the new keypath parser in
2530         tests/IDBKeyPathTest.cpp. We replaced IDBKeyPathElement with String here and there.
2531
2532         Tests: IDBKeyPathTest.*
2533                IDBKeyFromValueAndKeyPathTest.*
2534                InjectIDBKeyTest.*
2535
2536         * public/WebIDBKeyPath.h:
2537         * src/WebIDBKeyPath.cpp:
2538         (WebKit::WebIDBKeyPath::create): Replaced IDBKeyPathElement with String
2539         (WebKit::WebIDBKeyPath::WebIDBKeyPath): Replaced IDBKeyPathElement with String
2540         (WebKit::WebIDBKeyPath::assign): Replaced IDBKeyPathElement with String
2541         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Replaced IDBKeyPathElement with String
2542         * tests/IDBBindingUtilitiesTest.cpp:
2543         (WebCore::checkKeyFromValueAndKeyPathInternal): Replaced IDBKeyPathElement with String
2544         (WebCore::injectKey): Replaced IDBKeyPathElement with String
2545         (WebCore::TEST): Rewrote tests for the new keypath parser
2546         * tests/IDBKeyPathTest.cpp:
2547         (WebCore::checkKeyPath): Checks if a keypath is an expected keypath or not
2548         (WebCore::TEST): Unit tests for the new keypath parser
2549
2550 2011-08-24  Eric Uhrhane  <ericu@chromium.org>
2551
2552         Reviewed by Adam Barth.
2553
2554         [filesystem/Chromium] Filesystem paths need proper URL escaping
2555         https://bugs.webkit.org/show_bug.cgi?id=62811
2556
2557         Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
2558         KURLChromium.cpp's escaping code actually work.
2559
2560         Here I added the needed calls to encodeWithURLEscapeSequences.
2561         * src/AsyncFileSystemChromium.cpp:
2562         (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
2563         * src/WorkerAsyncFileSystemChromium.cpp:
2564         (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
2565
2566         Here I updated the test to reflect the new functionality in
2567         encodeWithURLEscapeSequences.
2568         * tests/KURLTest.cpp:
2569
2570 2011-08-24  Ilya Sherman  <isherman@chromium.org>
2571
2572         Remove some dead Autofill code
2573         https://bugs.webkit.org/show_bug.cgi?id=66899
2574         http://code.google.com/p/chromium/issues/detail?id=51644
2575
2576         Reviewed by James Robinson.
2577
2578         * WebKit.gyp:
2579         * public/WebAutofillClient.h:
2580         * public/WebFrame.h:
2581         * public/WebPasswordAutocompleteListener.h: Removed.
2582         * src/EditorClientImpl.cpp:
2583         (WebKit::EditorClientImpl::EditorClientImpl):
2584         (WebKit::EditorClientImpl::handleKeyboardEvent):
2585         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2586         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2587         (WebKit::EditorClientImpl::textDidChangeInTextField):
2588         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2589         * src/EditorClientImpl.h:
2590         * src/FrameLoaderClientImpl.cpp:
2591         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
2592         * src/WebFrameImpl.cpp:
2593         (WebKit::frameContentAsPlainText):
2594         (WebKit::WebFrameImpl::scopeStringMatches):
2595         (WebKit::WebFrameImpl::~WebFrameImpl):
2596         * src/WebFrameImpl.h:
2597         * src/WebViewImpl.cpp:
2598         (WebKit::WebViewImpl::mouseDown):
2599
2600 2011-08-24  Tom Sepez  <tsepez@chromium.org>
2601
2602         chromium WebFrameImpl - don't load javascript URLs against chrome internal pages.
2603         https://bugs.webkit.org/show_bug.cgi?id=66720
2604
2605         Reviewed by Adam Barth.
2606
2607         * public/WebSecurityPolicy.h:
2608         * src/WebFrameImpl.cpp:
2609         (WebKit::WebFrameImpl::loadJavaScriptURL):
2610         * src/WebSecurityPolicy.cpp:
2611         (WebKit::WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs):
2612         * tests/WebFrameTest.cpp:
2613         (WebKit::WebFrameTest::WebFrameTest):
2614         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
2615         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
2616         (WebKit::WebFrameTest::serveRequests):
2617         (WebKit::WebFrameTest::loadHttpFrame):
2618         (WebKit::WebFrameTest::loadChromeFrame):
2619         (WebKit::WebFrameTest::registerMockedURLLoad):
2620         (WebKit::WebFrameTest::loadFrame):
2621         (WebKit::TEST_F):
2622         * tests/data/history.html: Added.
2623
2624 2011-08-24  Jeremy Apthorp  <jeremya@google.com>
2625
2626         Expose fullscreen API on WebElement/WebDocument
2627         https://bugs.webkit.org/show_bug.cgi?id=66746
2628
2629         Reviewed by Darin Fisher.
2630
2631         * public/WebPluginContainer.h:
2632         * src/WebPluginContainerImpl.cpp:
2633         (WebKit::WebPluginContainerImpl::setFullscreen):
2634         * src/WebPluginContainerImpl.h:
2635
2636 2011-08-24  Brian Salomon  <bsalomon@google.com>
2637
2638         [SKIA] Allow WebKitGraphicsContext3D implementation to provide a compatible GrGLInterface
2639         https://bugs.webkit.org/show_bug.cgi?id=66809
2640
2641         Reviewed by Stephen White.
2642
2643         * public/WebGraphicsContext3D.h:
2644         (WebKit::WebGraphicsContext3D::grGLInterface):
2645         * src/GraphicsContext3DChromium.cpp:
2646         (WebCore::GraphicsContext3DInternal::grContext):
2647
2648 2011-08-23  Adam Barth  <abarth@webkit.org>
2649
2650         WebSearchableFormData crashes when given a detached HTMLFormElement
2651         https://bugs.webkit.org/show_bug.cgi?id=66831
2652
2653         Reviewed by Dimitri Glazkov.
2654
2655         We need to null-check the Frame.
2656
2657         * src/WebSearchableFormData.cpp:
2658         (HTMLNames::GetFormEncoding):
2659         * tests/WebFrameTest.cpp:
2660         (WebKit::TEST_F):
2661         * tests/data/form.html: Added.
2662
2663 2011-08-23  Iain Merrick  <husky@google.com>
2664
2665         [chromium] Make WebGL context current before querying for extensions
2666         https://bugs.webkit.org/show_bug.cgi?id=66788
2667
2668         We're making changes on the Chromium side for threaded compositing that
2669         will require makeContextCurrent to be called on the appropriate thread
2670         before any other GL calls.
2671
2672         In line with other GraphicsContext3D implementations, we do this
2673         implicitly. This is the minimum change that makes WebGL compliant.
2674
2675         Reviewed by Kenneth Russell.
2676
2677         * src/GraphicsContext3DChromium.cpp:
2678         (WebCore::GraphicsContext3DInternal::initializeExtensions):
2679
2680 2011-08-23  Scott Byer  <scottbyer@chromium.org>
2681
2682         ScrollAnimatorNone coasting implementation
2683         https://bugs.webkit.org/show_bug.cgi?id=66258
2684
2685         Reviewed by James Robinson.
2686
2687         * tests/ScrollAnimatorNoneTest.cpp:
2688         (MockScrollableArea::visibleHeight):
2689         (MockScrollableArea::visibleWidth):
2690         (ScrollAnimatorNoneTest::SavePerAxisData::SavePerAxisData):
2691         (ScrollAnimatorNoneTest::SavePerAxisData::operator==):
2692         (ScrollAnimatorNoneTest::SetUp):
2693         (ScrollAnimatorNoneTest::updateDataFromParameters):
2694         (ScrollAnimatorNoneTest::animateScroll):
2695         (ScrollAnimatorNoneTest::attackArea):
2696         (ScrollAnimatorNoneTest::releaseArea):
2697         (ScrollAnimatorNoneTest::coastCurve):
2698         (ScrollAnimatorNoneTest::curveTestInner):
2699         (TEST_F):
2700
2701 2011-08-23  James Robinson  <jamesr@chromium.org>
2702
2703         [chromium] Need a way to test lost compositor context recovery
2704         https://bugs.webkit.org/show_bug.cgi?id=66820
2705
2706         Reviewed by Kenneth Russell.
2707
2708         Adds a testing-only API to simulate a lost compositor context.
2709
2710         * public/WebView.h:
2711         * src/WebViewImpl.cpp:
2712         (WebKit::WebViewImpl::loseCompositorContext):
2713         * src/WebViewImpl.h:
2714
2715 2011-08-23  Nat Duca  <nduca@chromium.org>
2716
2717         [chromium] Implement CCThread in terms of WebThread
2718         https://bugs.webkit.org/show_bug.cgi?id=66610
2719
2720         Reviewed by Darin Fisher.
2721
2722         * WebKit.gyp:
2723         * public/WebThread.h:
2724         (WebKit::WebThread::~WebThread):
2725         * src/CCThreadImpl.cpp: Added.
2726         (WebKit::GetThreadIDTask::GetThreadIDTask):
2727         (WebKit::GetThreadIDTask::~GetThreadIDTask):
2728         (WebKit::GetThreadIDTask::run):
2729         (WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
2730         (WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
2731         (WebKit::CCThreadTaskAdapter::run):
2732         (WebKit::CCThreadImpl::create):
2733         (WebKit::CCThreadImpl::~CCThreadImpl):
2734         (WebKit::CCThreadImpl::postTask):
2735         (WebKit::CCThreadImpl::threadID):
2736         (WebKit::CCThreadImpl::CCThreadImpl):
2737         * src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
2738         * src/WebViewImpl.cpp:
2739         (WebKit::WebViewImpl::createCompositorThread):
2740         * src/WebViewImpl.h:
2741         * tests/CCThreadTest.cpp:
2742
2743 2011-08-23  Iain Merrick  <husky@google.com>
2744
2745         [chromium] Renderer crashes when about:gpucrash is loaded
2746         https://bugs.webkit.org/show_bug.cgi?id=66814
2747
2748         WebViewImpl::didRecreateGraphicsContext() was calling
2749         setRootLayer() on the CC layer tree, but the root layer
2750         doesn't actually change and the code wasn't defensive
2751         against this. This CL adds some asserts to catch tree
2752         corruption and removes the unnecessary calls.
2753
2754         Reviewed by James Robinson.
2755
2756         * src/WebViewImpl.cpp:
2757         (WebKit::WebViewImpl::didRecreateGraphicsContext):
2758
2759 2011-08-23  Dmitry Lomov  <Dmitry Lomov (dslomov@google.com)>
2760
2761         https://bugs.webkit.org/show_bug.cgi?id=66751 
2762         [Chromium]WebWorkerClientImpl should always invoke
2763         InspectorIntrumentation on main thread.
2764         The fix moves calls to InspectorInstrumentation from
2765         WebWorkerClientImpl to unedrlying WorkerMessagingProxy.
2766
2767         Reviewed by Pavel Feldman.
2768
2769         * src/WebWorkerClientImpl.cpp:
2770         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
2771         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
2772
2773 2011-08-23  Adam Klein  <adamk@chromium.org>
2774
2775         [chromium] Remove a few FIXME #defines in API headers
2776         https://bugs.webkit.org/show_bug.cgi?id=66791
2777
2778         Reviewed by James Robinson.
2779
2780         * DEPS:
2781         Roll chromium_rev to r97891.
2782         * public/WebFileSystem.h:
2783         #define made obsolete in http://crrev.com/97520.
2784         * public/WebKitClient.h:
2785         #define made obsolete in http://crrev.com/97524 and
2786         http://crrev.com/97891.
2787
2788
2789 2011-08-23  Al Patrick  <apatrick@chromium.org>
2790
2791         Add shareResources flag to 3D graphics context attributes
2792         https://bugs.webkit.org/show_bug.cgi?id=66516
2793
2794         Reviewed by James Robinson.
2795
2796         * public/WebGraphicsContext3D.h:
2797         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
2798         * src/GraphicsContext3DChromium.cpp:
2799         (WebCore::GraphicsContext3DInternal::initialize):
2800         * src/WebViewImpl.cpp:
2801         (std::getCompositorContextAttributes):
2802
2803 2011-08-23  Fady Samuel  <fsamuel@chromium.org>
2804
2805         New MainFrame views should inherit fixed layout settings from existing MainFrame view in Chromium.
2806         https://bugs.webkit.org/show_bug.cgi?id=66780
2807
2808         Fixed layout mode is set from WebViewImpl, but new main FrameViews are created on loading new pages. The new page's FrameView should get its
2809         fixed layout settings from the current page.
2810
2811         Reviewed by Darin Fisher.
2812
2813         * src/WebFrameImpl.cpp:
2814         (WebKit::WebFrameImpl::createFrameView):
2815
2816 2011-08-23  Matt Falkenhagen  <falken@chromium.org>
2817
2818         [chromium] Update WebSettings to support per-script font settings
2819         https://bugs.webkit.org/show_bug.cgi?id=66220
2820
2821         Reviewed by Tony Chang.
2822
2823         * WebKit.gyp:
2824         * public/WebSettings.h:
2825         * src/WebSettingsImpl.cpp:
2826         (WebKit::WebSettingsImpl::setStandardFontFamily):
2827         (WebKit::WebSettingsImpl::setFixedFontFamily):
2828         (WebKit::WebSettingsImpl::setSerifFontFamily):
2829         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
2830         (WebKit::WebSettingsImpl::setCursiveFontFamily):
2831         (WebKit::WebSettingsImpl::setFantasyFontFamily):
2832         * src/WebSettingsImpl.h:
2833
2834 2011-08-23  Nat Duca  <nduca@chromium.org>
2835
2836         Unreviewd, roll chromium reverse DEPS 97698:97834
2837         https://bugs.webkit.org/show_bug.cgi?id=66781
2838
2839         * DEPS:
2840
2841 2011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2842
2843         Unreviewed, rolling out r93575.
2844         http://trac.webkit.org/changeset/93575
2845         https://bugs.webkit.org/show_bug.cgi?id=66744
2846
2847         Does not compile on chromium canaries (Requested by jamesr on
2848         #webkit).
2849
2850         * public/WebSettings.h:
2851         * src/WebSettingsImpl.cpp:
2852         (WebKit::WebSettingsImpl::setStandardFontFamily):
2853         (WebKit::WebSettingsImpl::setFixedFontFamily):
2854         (WebKit::WebSettingsImpl::setSerifFontFamily):
2855         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
2856         (WebKit::WebSettingsImpl::setCursiveFontFamily):
2857         (WebKit::WebSettingsImpl::setFantasyFontFamily):
2858         * src/WebSettingsImpl.h:
2859
2860 2011-08-22  Matt Falkenhagen  <falken@chromium.org>
2861
2862         [chromium] Update WebSettings to support per-script font settings
2863         https://bugs.webkit.org/show_bug.cgi?id=66220
2864
2865         Reviewed by Tony Chang.
2866
2867         * public/WebSettings.h:
2868         * src/WebSettingsImpl.cpp:
2869         (WebKit::WebSettingsImpl::setStandardFontFamily):
2870         (WebKit::WebSettingsImpl::setFixedFontFamily):
2871         (WebKit::WebSettingsImpl::setSerifFontFamily):
2872         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
2873         (WebKit::WebSettingsImpl::setCursiveFontFamily):
2874         (WebKit::WebSettingsImpl::setFantasyFontFamily):
2875         * src/WebSettingsImpl.h:
2876
2877 2011-08-22  Iain Merrick  <husky@google.com>
2878
2879         [chromium] WebViewImpl should not reshape the 3D context
2880         https://bugs.webkit.org/show_bug.cgi?id=66704
2881
2882         Reviewed by James Robinson.
2883
2884         * src/WebViewImpl.cpp:
2885         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
2886         (WebKit::WebViewImpl::graphicsContext3D):
2887
2888 2011-08-22  Nat Duca  <nduca@chromium.org>
2889
2890         Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
2891         https://bugs.webkit.org/show_bug.cgi?id=66708
2892
2893         Reviewed by Kenneth Russell.
2894
2895         * src/GraphicsContext3DChromium.cpp:
2896         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2897         (WebCore::GraphicsContext3DInternal::isResourceSafe):
2898         (WebCore::GraphicsContext3D::create):
2899         (WebCore::GraphicsContext3D::isResourceSafe):
2900         * src/GraphicsContext3DInternal.h:
2901
2902 2011-08-22  Adam Klein  <adamk@chromium.org>
2903
2904         [chromium] Remove deprecated and unused bits of WebIDB* headers
2905         https://bugs.webkit.org/show_bug.cgi?id=66711
2906
2907         Reviewed by Tony Chang.
2908
2909         The Chromium side of this patch was submitted as
2910         http://crrev.com/97687.
2911
2912         * public/WebIDBCallbacks.h:
2913         * public/WebIDBCursor.h:
2914         (WebKit::WebIDBCursor::primaryKey):
2915         (WebKit::WebIDBCursor::value):
2916         (WebKit::WebIDBCursor::deleteFunction):
2917         * public/WebIDBDatabase.h:
2918         (WebKit::WebIDBDatabase::transaction):
2919
2920 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
2921
2922         Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
2923
2924         * DEPS: Done it.
2925
2926 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
2927
2928         Roll Chromium DEPS to 97698.
2929
2930         * DEPS: Rolled.
2931
2932 2011-08-22  Justin Novosad  <junov@chromium.org>
2933
2934         [Chromium] Crash when allocation of very large canvas fails
2935         https://bugs.webkit.org/show_bug.cgi?id=66563
2936
2937         Reviewed by Stephen White.
2938
2939         * DEPS:
2940         Bumping up the chrome DEPS to pick up 97474, which is
2941         required by this patch.
2942
2943 2011-08-20  Nebojsa Ciric  <cira@chromium.org>
2944
2945         Add dependency on v8-i18n library. We used v8 repository before.
2946         Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
2947         https://bugs.webkit.org/show_bug.cgi?id=66573
2948
2949         Reviewed by Kent Tamura.
2950
2951         * DEPS:
2952
2953 2011-08-19  Adam Klein  <adamk@chromium.org>
2954
2955         [chromium] Remove various unreferenced bits from Chromium API headers
2956         https://bugs.webkit.org/show_bug.cgi?id=66575
2957
2958         Reviewed by Tony Chang.
2959
2960         * public/WebApplicationCacheHost.h:
2961         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
2962         * public/WebFrame.h:
2963         * public/WebFrameClient.h:
2964         (WebKit::WebFrameClient::didReceiveTitle):
2965         * public/WebVideoFrame.h:
2966
2967 2011-08-19  Fady Samuel  <fsamuel@chromium.org>
2968
2969         Expose Fixed Layout Size mode to Chromium's WebKit API
2970         https://bugs.webkit.org/show_bug.cgi?id=66568
2971
2972         Reviewed by Darin Fisher.
2973
2974         * public/WebView.h:
2975         * src/WebViewImpl.cpp:
2976         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
2977         (WebKit::WebViewImpl::enableFixedLayoutMode):
2978         (WebKit::WebViewImpl::fixedLayoutSize):
2979         (WebKit::WebViewImpl::setFixedLayoutSize):
2980         * src/WebViewImpl.h:
2981
2982 2011-08-17  Adrienne Walker  <enne@google.com>
2983
2984         [chromium] Split tiler into main thread / compositor thread versions
2985         https://bugs.webkit.org/show_bug.cgi?id=66065
2986
2987         Reviewed by James Robinson.
2988
2989         Add a test for assignment and copy constructor for TilingData.
2990
2991         * tests/TilingDataTest.cpp:
2992         (WebCore::TEST):
2993
2994 2011-08-19  Andrey Kosyakov  <caseq@chromium.org>
2995
2996         Web Inspector: [Extensions API][chromium] webInspector.resources deprecation warning is given even for extensions that don't use webInspector.resources
2997         https://bugs.webkit.org/show_bug.cgi?id=66553
2998
2999         Reviewed by Pavel Feldman.
3000
3001         * src/js/DevTools.js:
3002         (WebInspector.platformExtensionAPI):
3003
3004 2011-08-18  James Kozianski  <koz@chromium.org>
3005
3006         Chromium plumbing for webkitRequestFullScreen
3007         https://bugs.webkit.org/show_bug.cgi?id=66031
3008
3009         Reviewed by Darin Fisher.
3010
3011         * public/WebView.h:
3012         * public/WebViewClient.h:
3013         (WebKit::WebViewClient::enterFullscreenForElement):
3014         (WebKit::WebViewClient::exitFullscreenForElement):
3015         * src/ChromeClientImpl.cpp:
3016         (WebKit::ChromeClientImpl::enterFullScreenForElement):
3017         (WebKit::ChromeClientImpl::exitFullScreenForElement):
3018         * src/WebViewImpl.cpp:
3019         (WebKit::WebViewImpl::exitFullscreen):
3020         * src/WebViewImpl.h:
3021
3022 2011-08-18  Chris Rogers  <crogers@google.com>
3023
3024         Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
3025         https://bugs.webkit.org/show_bug.cgi?id=66441
3026
3027         Reviewed by Darin Fisher.
3028
3029         * public/WebAudioSourceProvider.h: Added.
3030         (WebKit::WebAudioSourceProvider::~WebAudioSourceProvider):
3031         * public/WebMediaPlayer.h:
3032         (WebKit::WebMediaPlayer::audioSourceProvider):
3033         * src/WebMediaPlayerClientImpl.cpp:
3034         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
3035         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
3036         * src/WebMediaPlayerClientImpl.h:
3037         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::AudioSourceProviderImpl):
3038         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::~AudioSourceProviderImpl):
3039         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::initialize):
3040
3041 2011-08-18  Sailesh Agrawal  <sail@chromium.org>
3042
3043         Chromium Mac: Show scrollbar when doing search
3044         https://bugs.webkit.org/show_bug.cgi?id=66209
3045
3046         Reviewed by James Robinson.
3047
3048         Fixed a bug in invalidateArea where it wouldn't properly invalidate overlay scrollbars. The problem was that it was assuming that the scrollbar was always to the right of the visible scrollbar. This isn't true for overlay scrollbars.
3049
3050         No tests because there are no Mac 10.7 chromium bots yet.
3051
3052         * src/WebFrameImpl.cpp:
3053         (WebKit::WebFrameImpl::invalidateArea):
3054
3055 2011-08-18  James Robinson  <jamesr@chromium.org>
3056
3057         [chromium] Draw the root/"non-composited content" in compositor side
3058         https://bugs.webkit.org/show_bug.cgi?id=58834
3059
3060         Reviewed by Kenneth Russell.
3061
3062         * src/WebViewImpl.cpp:
3063         (WebKit::WebViewImpl::paint):
3064         (WebKit::WebViewImpl::setRootGraphicsLayer):
3065         (WebKit::WebViewImpl::didRecreateGraphicsContext):
3066         (WebKit::WebViewImpl::updateLayerTreeViewport):
3067         * src/WebViewImpl.h:
3068
3069 2011-08-18  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3070
3071         GestureRecognizer: Update how gesture-scroll works.
3072
3073         Add a unit-test to make sure the correct gesture events are being
3074         generated.
3075         https://bugs.webkit.org/show_bug.cgi?id=66267
3076
3077         Reviewed by Adam Barth.
3078
3079         * tests/InnerGestureRecognizerTest.cpp:
3080         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
3081         (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
3082         (WebCore::TEST_F):
3083
3084 2011-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
3085
3086         Unreviewed, rolling out r93329.
3087         http://trac.webkit.org/changeset/93329
3088         https://bugs.webkit.org/show_bug.cgi?id=66497
3089
3090         Turned text on chromium win blue (Requested by jamesr_ on
3091         #webkit).
3092
3093         * src/WebViewImpl.cpp:
3094         (WebKit::WebViewImpl::paint):
3095         (WebKit::WebViewImpl::setRootGraphicsLayer):
3096         (WebKit::WebViewImpl::setRootPlatformLayer):
3097         (WebKit::WebViewImpl::didRecreateGraphicsContext):
3098         (WebKit::WebViewImpl::updateLayerTreeViewport):
3099         * src/WebViewImpl.h:
3100
3101 2011-08-18  Dominic Mazzoni  <dmazzoni@google.com>
3102
3103         Add a bunch of accessors to WebAccessibilityObject to expose more of
3104         AccessibilityObject to Chromium, including range control values,
3105         document load state, live region attributes, and a few other
3106         ARIA attributes.
3107
3108         https://bugs.webkit.org/show_bug.cgi?id=66411
3109
3110         Reviewed by Dimitri Glazkov.
3111
3112         * public/WebAccessibilityObject.h:
3113         * src/WebAccessibilityObject.cpp:
3114         (WebKit::WebAccessibilityObject::isAriaReadOnly):
3115         (WebKit::WebAccessibilityObject::isButtonStateMixed):
3116         (WebKit::WebAccessibilityObject::isControl):
3117         (WebKit::WebAccessibilityObject::isFocused):
3118         (WebKit::WebAccessibilityObject::isLoaded):
3119         (WebKit::WebAccessibilityObject::isRequired):
3120         (WebKit::WebAccessibilityObject::isVertical):
3121         (WebKit::WebAccessibilityObject::accessKey):
3122         (WebKit::WebAccessibilityObject::ariaHasPopup):
3123         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
3124         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
3125         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
3126         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
3127         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
3128         (WebKit::WebAccessibilityObject::hierarchicalLevel):
3129         (WebKit::WebAccessibilityObject::valueDescription):
3130         (WebKit::WebAccessibilityObject::valueForRange):
3131         (WebKit::WebAccessibilityObject::maxValueForRange):
3132         (WebKit::WebAccessibilityObject::minValueForRange):
3133
3134 2011-08-15  Dmitry Lomov  <dslomov@google.com>
3135
3136         https://bugs.webkit.org/show_bug.cgi?id=61016
3137         [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers.
3138         This adds an implementation of in-process dedicated workers to chromium port.
3139         The crux of the matter is the reimplementation of WebWorkerClientImpl. WebWorkerClientImpl now 
3140         implements all three of Worker{Loader,Context,Object}Proxies and delegates the implementation to 
3141         WebKit's standard WorkerMessagingProxy.
3142         For now, we have 3 implementations of workers in chromium WebKit:
3143           - In-process dedicated workers (this checkin)
3144           - Inter-process shared workers
3145           - Inter-process dedicated workers (defunct after this checkin)
3146         This patch extracts some new common interfaces (NewWebWorkerBase and NewWebWorkerClient) for these 
3147         three implementations. 
3148         Removing the remainings of inter-process dedicated workers -related classes is left for a separate patch 
3149         (it will require coordinated changes on chromuium side).
3150
3151         Reviewed by David Levin.
3152
3153         * public/WebCommonWorkerClient.h:
3154         * src/DatabaseObserver.cpp:
3155         (WebKit::AllowDatabaseMainThreadBridge::create):
3156         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
3157         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
3158         (WebKit::allowDatabaseForWorker):
3159         (WebCore::DatabaseObserver::canEstablishDatabase):
3160         * src/LocalFileSystemChromium.cpp:
3161         (WebCore::openFileSystemHelper):
3162         * src/WebSharedWorkerImpl.h:
3163         (WebKit::WebSharedWorkerImpl::newCommonClient):
3164         * src/WebWorkerBase.h:
3165         (WebKit::WebWorkerBase::view):
3166         * src/WebWorkerClientImpl.cpp:
3167         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
3168         (WebKit::WebWorkerClientImpl::startWorkerContext):
3169         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
3170         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
3171         (WebKit::WebWorkerClientImpl::hasPendingActivity):
3172         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
3173         (WebKit::WebWorkerClientImpl::connectToInspector):
3174         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
3175         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
3176         (WebKit::WebWorkerClientImpl::postMessageToPageInspector):
3177         (WebKit::WebWorkerClientImpl::postTaskToLoader):
3178         (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
3179         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
3180         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
3181         (WebKit::WebWorkerClientImpl::reportPendingActivity):
3182         (WebKit::WebWorkerClientImpl::workerContextClosed):
3183         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
3184         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
3185         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
3186         (WebKit::WebWorkerClientImpl::allowFileSystem):
3187         (WebKit::WebWorkerClientImpl::openFileSystem):
3188         (WebKit::WebWorkerClientImpl::allowDatabase):
3189         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
3190         (WebKit::WebWorkerClientImpl::view):
3191         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
3192         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
3193         * src/WebWorkerClientImpl.h:
3194         (WebKit::WebWorkerClientImpl::newCommonClient):
3195         * src/WebWorkerImpl.cpp:
3196         (WebKit::WebWorkerImpl::newCommonClient):
3197         * src/WebWorkerImpl.h:
3198         * src/WorkerFileSystemCallbacksBridge.cpp:
3199         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
3200         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
3201         * src/WorkerFileSystemCallbacksBridge.h:
3202
3203 2011-08-18  James Robinson  <jamesr@chromium.org>
3204
3205         [chromium] Draw the root/"non-composited content" in compositor side
3206         https://bugs.webkit.org/show_bug.cgi?id=58834
3207
3208         Reviewed by Darin Fisher.
3209
3210         * src/WebViewImpl.cpp:
3211         (WebKit::WebViewImpl::paint):
3212         (WebKit::WebViewImpl::setRootGraphicsLayer):
3213         (WebKit::WebViewImpl::didRecreateGraphicsContext):
3214         (WebKit::WebViewImpl::updateLayerTreeViewport):
3215         * src/WebViewImpl.h:
3216
3217 2011-08-18  Tony Chang  <tony@chromium.org>
3218
3219         Revert r93294, doesn't compile on Chromium Mac.
3220
3221         * features.gypi:
3222
3223 2011-08-17  Adam Roben  <aroben@apple.com>
3224
3225         Make WebCore keep track of the current device scale factor
3226
3227         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
3228         device scale factor
3229
3230         Reviewed by Darin Adler.
3231
3232         * src/ChromeClientImpl.cpp:
3233         * src/ChromeClientImpl.h:
3234         Removed deviceScaleFactor.
3235
3236 2011-08-18  Steve Block  <steveblock@google.com>
3237
3238         Remove a superfluous 'using' from WebBindings.cpp
3239         https://bugs.webkit.org/show_bug.cgi?id=66046
3240
3241         Reviewed by Alexey Proskuryakov.
3242
3243         * src/WebBindings.cpp:
3244
3245 2011-08-18  Gavin Peters  <gavinp@chromium.org>
3246
3247         Prepare frames for history navigation.
3248
3249         Before beginning an explicit history navigation in a newly initialized
3250         frame, it's important to give a "previous" item to avoid crashes, and
3251         give a state to the state machine to avoid extra validating loads.
3252
3253         https://bugs.webkit.org/show_bug.cgi?id=66322
3254
3255         Reviewed by Darin Fisher.
3256
3257         * src/WebFrameImpl.cpp:
3258         (WebKit::WebFrameImpl::loadHistoryItem):
3259
3260 2011-08-18  Nico Weber  <thakis@chromium.org>
3261
3262         [chromium/mac] Enable smooth scrolling
3263         https://bugs.webkit.org/show_bug.cgi?id=66418
3264
3265         Reviewed by Dimitri Glazkov.
3266
3267         * features.gypi:
3268
3269 2011-08-17  Scott Byer  <scottbyer@chromium.org>
3270
3271         ScrollAnimatorNone: Remove unused field
3272         https://bugs.webkit.org/show_bug.cgi?id=66312
3273
3274         Reviewed by Adam Barth.
3275
3276         * tests/ScrollAnimatorNoneTest.cpp:
3277         (ScrollAnimatorNoneTest::updateDataFromParameters):
3278         (TEST_F):
3279
3280 2011-08-16  Chang Shu  <cshu@webkit.org>
3281
3282         Support reset in WebCore::Internals
3283         https://bugs.webkit.org/show_bug.cgi?id=66307
3284
3285         Reviewed by Dimitri Glazkov.
3286
3287         Added framework code in WebKit.
3288
3289         * public/WebTestingSupport.h:
3290         * src/WebTestingSupport.cpp:
3291         (WebKit::WebTestingSupport::resetInternalsObject):
3292
3293 2011-08-15  Aaron Boodman  <aa@chromium.org>
3294
3295         Remove support for old didCreateIsolatedContext() signature
3296         https://bugs.webkit.org/show_bug.cgi?id=66249
3297
3298         Reviewed by Darin Fisher.
3299
3300         * public/WebFrameClient.h:
3301         * src/FrameLoaderClientImpl.cpp:
3302         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
3303
3304 2011-08-17  Aaron Boodman  <aa@chromium.org>
3305
3306         Remove support for old didCreateIsolatedContext() signature
3307         https://bugs.webkit.org/show_bug.cgi?id=66249
3308
3309         Reviewed by Darin Fisher.
3310
3311         * public/WebFrameClient.h:
3312         * src/FrameLoaderClientImpl.cpp:
3313         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
3314
3315 2011-08-17  David Grogan  <dgrogan@chromium.org>
3316
3317         Remove onTimeout from WebIDBTransactionCallbacks.h
3318         https://bugs.webkit.org/show_bug.cgi?id=66326
3319
3320         Reviewed by Tony Chang.
3321
3322         * public/WebIDBTransactionCallbacks.h:
3323
3324 2011-08-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
3325
3326         Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
3327         https://bugs.webkit.org/show_bug.cgi?id=65694
3328
3329         Reviewed by Alexey Proskuryakov.
3330
3331         * src/AssociatedURLLoader.cpp:
3332         (WebKit::AssociatedURLLoader::loadAsynchronously):
3333
3334 2011-08-12  John Abd-El-Malek  <jam@chromium.org>
3335
3336         [chromium] cleanup after previous webkit change rolled into chrome
3337         https://bugs.webkit.org/show_bug.cgi?id=66177
3338
3339         Reviewed by James Robinson.
3340
3341         * DEPS:
3342         * WebKit.gyp:
3343         * public/WebScrollbar.h:
3344
3345 2011-08-16  Stephen White  <senorblanco@chromium.org>
3346
3347         GraphicsContext3D should allow its hostWindow to be NULL
3348         https://bugs.webkit.org/show_bug.cgi?id=66305
3349
3350         Allow the hostWindow param (and m_webViewImpl) to be NULL.  This
3351         makes it much easier to enable GPU acceleration at a lower level
3352         in WebKit's platform/graphics layer, without needing access to the
3353         Page* or HostWindow*.  Also bump the chromium DEPS to chrome r96940,
3354         which includes a similar change for the in-process GraphicsContext3D
3355         implementations.
3356
3357         Reviewed by James Robinson.
3358
3359         * DEPS:
3360         * src/GraphicsContext3DChromium.cpp:
3361         (WebCore::GraphicsContext3DInternal::initialize):
3362         (WebCore::GraphicsContext3DInternal::platformTexture):
3363         (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
3364
3365 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
3366
3367         Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
3368         https://bugs.webkit.org/show_bug.cgi?id=66316
3369
3370         Reviewed by Pavel Feldman.
3371
3372         * WebKit.gyp:
3373
3374 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
3375
3376         Web Inspector: [Chromium] Fix 'inspector_resources' target to depend on 'concatenated_heap_snapshot_worker_js'
3377         https://bugs.webkit.org/show_bug.cgi?id=66300
3378
3379         Reviewed by Pavel Feldman.
3380
3381         * WebKit.gyp:
3382
3383 2011-08-15  Dmitry Titov  <dimich@chromium.org>
3384
3385         [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
3386         https://bugs.webkit.org/show_bug.cgi?id=66167
3387
3388         Reviewed by Darin Fisher.
3389
3390         * public/WebFrameClient.h:
3391         (WebKit::WebFrameClient::didAdoptURLLoader):
3392         * src/FrameLoaderClientImpl.cpp:
3393         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
3394         * src/ResourceHandle.cpp:
3395         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
3396         (WebCore::ResourceHandleInternal::FromResourceHandle):
3397         (WebCore::ResourceHandle::ResourceHandle):
3398         (WebCore::ResourceHandle::firstRequest):
3399         (WebCore::ResourceHandle::client):
3400         (WebCore::ResourceHandle::setClient):
3401         (WebCore::ResourceHandle::~ResourceHandle):
3402         * src/ResourceHandleInternal.h: Added.
3403         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
3404         (WebCore::ResourceHandleInternal::setOwner):
3405         (WebCore::ResourceHandleInternal::request):
3406         (WebCore::ResourceHandleInternal::client):
3407         (WebCore::ResourceHandleInternal::setClient):
3408         (WebCore::ResourceHandleInternal::loader):
3409
3410 2011-08-15  Dmitry Titov  <dimich@chromium.org>
3411
3412         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
3413         https://bugs.webkit.org/show_bug.cgi?id=66165
3414
3415         Reviewed by Darin Fisher.
3416
3417         * src/FrameLoaderClientImpl.cpp:
3418         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
3419         * src/FrameLoaderClientImpl.h:
3420
3421 2011-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
3422
3423         Unreviewed, rolling out r93060.
3424         http://trac.webkit.org/changeset/93060
3425         https://bugs.webkit.org/show_bug.cgi?id=66259
3426
3427         Does not compile on Chromium Windows (Requested by
3428         abarth|gardener on #webkit).
3429
3430         * public/WebCache.h:
3431         * public/WebFontCache.h:
3432         * src/WebCache.cpp:
3433         (WebKit::WebCache::clear):
3434         * src/WebFontCache.cpp:
3435
3436 2011-08-15  Mikhail Naganov  <mnaganov@chromium.org>
3437
3438         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
3439         https://bugs.webkit.org/show_bug.cgi?id=66132
3440
3441         Reviewed by Darin Fisher.
3442
3443         * public/WebCache.h:
3444         * public/WebFontCache.h:
3445         * src/WebCache.cpp:
3446         (WebKit::WebCache::prune):
3447         * src/WebFontCache.cpp:
3448         (WebKit::WebFontCache::prune):
3449
3450 2011-08-15  Nico Weber  <thakis@chromium.org>
3451
3452         [chromium] Implement shouldRubberBandInDirection
3453         https://bugs.webkit.org/show_bug.cgi?id=66206
3454
3455         Reviewed by Adam Barth.
3456
3457         History swiping can only start after an unhandled mouse wheel event
3458         came back from the renderer, because mouse wheel javascript handlers
3459         take precedence over history swiping. This means that rubberbanding
3460         must not consume wheel events if they could trigger history, else
3461         history swiping won't be triggered for pages without wheel handlers
3462         either.
3463
3464         This is based on the implementation in
3465         Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
3466
3467         * src/ChromeClientImpl.cpp:
3468         (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
3469         * src/ChromeClientImpl.h:
3470
3471 2011-08-10  Aaron Boodman  <aa@chromium.org>
3472
3473         Pass additional details to client in didCreateIsolatedContext
3474         https://bugs.webkit.org/show_bug.cgi?id=66037
3475
3476         Reviewed by Darin Fisher.
3477
3478         * public/WebFrameClient.h:
3479         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
3480         * src/FrameLoaderClientImpl.cpp:
3481         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
3482         * src/FrameLoaderClientImpl.h:
3483
3484 2011-08-10  Adam Roben  <aroben@apple.com>
3485
3486         Clear up scale factor terminology
3487
3488         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
3489         software is running, and one that is per-Page and can be controlled via API calls. This
3490         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
3491         code use those names. It should introduce no behavior changes.
3492
3493         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
3494         device scale factor
3495
3496         Reviewed by Simon Fraser.
3497
3498         * src/ChromeClientImpl.cpp:
3499         * src/ChromeClientImpl.h:
3500
3501 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
3502