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