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