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