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