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