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