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