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