Unreviewed. Rolled DEPS.
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed.  Rolled DEPS.
4
5         * DEPS:
6
7 2011-10-20  Darin Adler  <darin@apple.com>
8
9         Remove OptionElement (first half)
10         https://bugs.webkit.org/show_bug.cgi?id=70276
11
12         Reviewed by Kent Tamura.
13
14         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
15
16         * src/WebOptionElement.cpp:
17         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
18         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
19
20         * src/WebSearchableFormData.cpp:
21         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
22
23 2011-10-20  Nico Weber  <thakis@chromium.org>
24
25         [chromium/mac] Add support for building with make
26         https://bugs.webkit.org/show_bug.cgi?id=70455
27
28         Reviewed by Adam Barth.
29
30         Depends on http://codereview.chromium.org/8352029/
31         `GYP_GENERATORS=make Tools/Scripts/update-webkit --chromium` will
32         create a toplevel Makefile.chromium.
33
34         If that file exists and is newer than Source/WebKit/chromium/WebKit.xcodeproj,
35         `Tools/Scripts/build-webkit --chromium` will build with make instead of
36         xcodebuild.
37
38         * gyp_webkit:
39 2011-10-20  Nat Duca  <nduca@chromium.org>
40
41         [chromium] Route onSwapBuffersComplete from LayerRenderer to CCScheduler.
42
43         Reviewed by James Robinson.
44
45         * src/GraphicsContext3DChromium.cpp:
46         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
47         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
48         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
49         (WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::create):
50         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
51         * src/GraphicsContext3DPrivate.h:
52         * tests/CCLayerTreeHostImplTest.cpp:
53         (WebCore::CCLayerTreeHostImplTest::onSwapBuffersCompleteOnImplThread):
54         * tests/CCSchedulerTest.cpp:
55         (WebCore::CCSchedulerTest::CCSchedulerTest):
56         (WebCore::TEST_F):
57
58 2011-10-20  Michal Mocny  <mmocny@google.com>
59
60         [chromium] Add a setVisibility method to WebGraphicsContext3D.
61         https://bugs.webkit.org/show_bug.cgi?id=68905
62
63         Reviewed by Kenneth Russell.
64
65         Added hooks for notifying WebGraphicsContext3D of surface visibility changes.
66         Useful for releasing various graphics resource.
67
68         * DEPS:
69         * public/WebGraphicsContext3D.h:
70         * src/WebViewImpl.cpp:
71         (WebKit::WebViewImpl::setVisibilityState):
72         * tests/MockWebGraphicsContext3D.h:
73         (WebKit::MockWebGraphicsContext3D::setVisibility):
74
75 2011-10-20  Antoine Labour  <piman@chromium.org>
76
77         Export missing symbols from Web*Layer
78         https://bugs.webkit.org/show_bug.cgi?id=70440
79
80         Reviewed by Darin Fisher.
81
82         * public/WebContentLayer.h:
83         * public/WebExternalTextureLayer.h:
84         * public/WebLayer.h:
85         * public/WebLayerTreeView.h:
86
87 2011-10-17  Nat Duca  <nduca@chromium.org>
88
89         [chromium] Allow CCLayerTreeHostImpl to call back to proxy via CCLayerTreeHostImplClient
90         https://bugs.webkit.org/show_bug.cgi?id=70291
91
92         Reviewed by James Robinson.
93
94         * tests/CCLayerTreeHostImplTest.cpp:
95         (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
96         (WebCore::CCLayerTreeHostImplTest::setNeedsRedrawOnImplThread):
97         (WebCore::CCLayerTreeHostImplTest::setNeedsCommitOnImplThread):
98         (WebCore::TEST_F):
99         * tests/CCLayerTreeHostTest.cpp:
100         (WTF::MockLayerTreeHostImpl::create):
101         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
102         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
103
104 2011-10-20  Vincent Scheib  <scheib@chromium.org>
105
106         MouseLock compile and run time flags.
107         https://bugs.webkit.org/show_bug.cgi?id=70530
108
109         Reviewed by Darin Fisher.
110
111         * features.gypi:
112         * public/WebRuntimeFeatures.h:
113         * public/WebSettings.h:
114         * src/WebRuntimeFeatures.cpp:
115         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
116         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
117         * src/WebSettingsImpl.cpp:
118         (WebKit::WebSettingsImpl::setMouseLockEnabled):
119         * src/WebSettingsImpl.h:
120
121 2011-10-20  Hao Zheng  <zhenghao@chromium.org>
122
123         [Chromium] Reduce dependencies of ImageDiff to compile it for Android.
124         https://bugs.webkit.org/show_bug.cgi?id=69997
125
126         Reviewed by Tony Chang.
127
128         This change is required to make ImageDiff for Android, and can benefit
129         other platforms, too. On Android, most targets are built as
130         toolsets:target. while ImageDiff needs to be built as toolsets:host.
131         Currently, building the standalone target of ImageDiff depends on about
132         85 other targets (try  make ImageDiff'), which is inefficient. After the
133         change, ImageDiff only depends on webkit_support_gfx, which in turn
134         depends on libpng and zlib.
135
136         * WebKit.gyp:
137
138 2011-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
139
140         Unreviewed, rolling out r97917.
141         http://trac.webkit.org/changeset/97917
142         https://bugs.webkit.org/show_bug.cgi?id=70475
143
144         number of crashes on Snow Leopard/Lion tests bots
145         http://build.webkit.org/results/Lion%20Intel%20Release%20(Tests)/r97917%20(2020)/http/tests/inspector
146         /extensions-network-redirect-crash-log.txt (Requested by
147         loislo on #webkit).
148
149         * src/WebOptionElement.cpp:
150         (WebKit::WebOptionElement::defaultSelected):
151         (WebKit::WebOptionElement::setDefaultSelected):
152         * src/WebSearchableFormData.cpp:
153         (HTMLNames::IsSelectInDefaultState):
154
155 2011-10-19  Nat Duca  <nduca@chromium.org>
156
157         [chromium] Route requestAnimationFrame through CCProxy in threaded mode
158         https://bugs.webkit.org/show_bug.cgi?id=70160
159
160         Reviewed by James Robinson.
161
162         * src/ChromeClientImpl.cpp:
163         (WebKit::ChromeClientImpl::scheduleAnimation):
164         * src/WebViewImpl.cpp:
165         (WebKit::WebViewImpl::scheduleAnimation):
166         * src/WebViewImpl.h:
167
168 2011-10-19  Nico Weber  <thakis@chromium.org>
169
170         [chromium/mac] Use clang as compiler!
171         https://bugs.webkit.org/show_bug.cgi?id=70425
172
173         Reviewed by Adam Barth.
174
175         It looks like http://trac.webkit.org/changeset/97415 was all that's
176         needed to get this to work.
177
178         * gyp_webkit:
179         Don't force clang off, which means it's now on by default on mac.
180
181 2011-10-19  Darin Adler  <darin@apple.com>
182
183         Remove OptionElement (first half)
184         https://bugs.webkit.org/show_bug.cgi?id=70276
185
186         Reviewed by Kent Tamura.
187
188         Update hand-written binding for option element so it does not depend on otherwise-unneeded functions.
189
190         * src/WebOptionElement.cpp:
191         (WebKit::WebOptionElement::defaultSelected): Call hasAttribute.
192         (WebKit::WebOptionElement::setDefaultSelected): Call setAttribute.
193
194         * src/WebSearchableFormData.cpp:
195         (HTMLNames::IsSelectInDefaultState): Call hasAttribute.
196
197 2011-10-19  Kent Tamura  <tkent@chromium.org>
198
199         [Chromium]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
200         https://bugs.webkit.org/show_bug.cgi?id=70003
201
202         Reviewed by Darin Fisher.
203
204         * public/WebFileChooserParams.h:
205         Add acceptMIMETypes, and make acceptTypes deprecated.
206         * src/ChromeClientImpl.cpp:
207         (WebKit::ChromeClientImpl::runOpenPanel):
208         - Set WebFileChooserParams::acceptMIMETypes
209         - Set a joined string to WebFileChooserParams::acceptTypes until we remove acceptTypes.
210
211 2011-10-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
212
213         Update MediaStream to use WebCore platform interfaces
214         https://bugs.webkit.org/show_bug.cgi?id=68464
215
216         Reviewed by Adam Barth.
217
218         Removed WebMediaStreamTrack* since they will no longer be needed.
219
220         * WebKit.gyp:
221         * public/WebMediaStreamTrack.h: Removed.
222         * public/WebMediaStreamTrackList.h: Removed.
223         * src/WebMediaStreamTrack.cpp: Removed.
224         * src/WebMediaStreamTrackList.cpp: Removed.
225
226 2011-10-19  Zhenyao Mo  <zmo@google.com>
227
228         Implement WEBGL_debug_shaders and WEBGL_debug_renderer_info extensions
229         https://bugs.webkit.org/show_bug.cgi?id=70077
230
231         Reviewed by Kenneth Russell.
232
233         * public/WebGraphicsContext3D.h: Added support for getTranslatedShaderSourceANGLE.
234         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
235         * src/Extensions3DChromium.cpp: Ditto.
236         (WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
237         * src/GraphicsContext3DChromium.cpp: Ditto.
238         * src/GraphicsContext3DPrivate.h: Ditto.
239
240 2011-10-19  Dirk Pranke  <dpranke@chromium.org>
241
242         Unreviewed, rolling out r97850.
243         http://trac.webkit.org/changeset/97850
244         https://bugs.webkit.org/show_bug.cgi?id=70334
245
246         tests are crashing on xp debug
247
248         * DEPS:
249
250 2011-10-19  Andrey Kosyakov  <caseq@chromium.org>
251
252         Web Inspector: make extension tests pass on chromium
253         https://bugs.webkit.org/show_bug.cgi?id=70334
254
255         Reviewed by Pavel Feldman.
256
257         * DEPS: roll chromium 105970:106056
258
259 2011-10-18  Yuzo Fujishima  <yuzo@google.com>
260
261         [chromium] Attempt to fix Linux Clang compilation error.
262
263         Unreviewed.
264
265         * tests/CCLayerTreeHostTest.cpp:
266         (WTF::CCLayerTreeHostTestThreadOnly::runTestThreaded):
267         (WTF::TEST_F):
268
269 2011-10-18  James Robinson  <jamesr@chromium.org>
270
271         [chromium] Remove USE(THREADED_COMPOSITING) from the tree, this is controlled by a runtime setting
272         https://bugs.webkit.org/show_bug.cgi?id=70356
273
274         Reviewed by Kenneth Russell.
275
276         * features.gypi:
277         * src/WebLayerTreeViewImpl.cpp:
278         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
279         * src/WebLayerTreeViewImpl.h:
280         * src/WebViewImpl.h:
281
282 2011-10-18  Antoine Labour  <piman@chromium.org>
283
284         Enable out-of-thread compositing in WebKit compositor API
285         https://bugs.webkit.org/show_bug.cgi?id=69850
286
287         Reviewed by James Robinson.
288
289         * src/WebLayerTreeView.cpp:
290         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
291         (WebKit::WebLayerTreeView::composite):
292
293 2011-10-18  James Robinson  <jamesr@chromium.org>
294
295         [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
296         https://bugs.webkit.org/show_bug.cgi?id=70161
297
298         Reviewed by David Levin.
299
300         Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
301         thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
302         thread scheduling draws by itself.
303
304         * tests/CCLayerTreeHostTest.cpp:
305         (::CCLayerTreeHostTest::timeout):
306         (::CCLayerTreeHostTest::clearTimeout):
307         (::CCLayerTreeHostTest::CCLayerTreeHostTest):
308         (::CCLayerTreeHostTest::onEndTest):
309         (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
310         (::CCLayerTreeHostTest::TimeoutTask::clearTest):
311         (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
312         (::CCLayerTreeHostTest::TimeoutTask::Run):
313         (::CCLayerTreeHostTest::runTest):
314         (::CCLayerTreeHostTest::doBeginTest):
315         (::CCLayerTreeHostTestThreadOnly::runTest):
316         (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
317
318 2011-10-18  Adam Barth  <abarth@webkit.org>
319
320         Always enable ENABLE(XPATH)
321         https://bugs.webkit.org/show_bug.cgi?id=70217
322
323         Reviewed by Eric Seidel.
324
325         * features.gypi:
326
327 2011-10-18  Chris Fleizach  <cfleizach@apple.com>
328
329         AX: buttons of number type <input> controls are not fully accessible
330         https://bugs.webkit.org/show_bug.cgi?id=70241
331
332         Reviewed by Darin Adler.
333
334         * public/WebAccessibilityRole.h:
335         * src/AssertMatchingEnums.cpp:
336
337 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
338
339         Unreviewed, rolling out r97677.
340         http://trac.webkit.org/changeset/97677
341         https://bugs.webkit.org/show_bug.cgi?id=70308
342
343         A dependent revision was rolled out. (Requested by tkent on
344         #webkit).
345
346         * public/WebAccessibilityRole.h:
347         * src/AssertMatchingEnums.cpp:
348
349 2011-10-17  Jochen Eisinger  <jochen@chromium.org>
350
351         Make NavigationAction wrap a ResourceRequest instead of a KURL.
352         https://bugs.webkit.org/show_bug.cgi?id=68803
353
354         Use the request in the NavigationAction, if the FrameLoadRequest
355         doesn't already contain a request.
356
357         Reviewed by Nate Chapin.
358
359         * src/ChromeClientImpl.cpp:
360         (WebKit::ChromeClientImpl::createWindow):
361
362 2011-10-17  James Robinson  <jamesr@chromium.org>
363
364         [chromium] Fix a new[]/delete mismatch in InnerGestureRecognizerTest that makes valgrind sad
365         https://bugs.webkit.org/show_bug.cgi?id=70273
366
367         Reviewed by Mihai Parparita.
368
369         * tests/InnerGestureRecognizerTest.cpp:
370         (TouchSequence::~TouchSequence):
371
372 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
373
374         Unreviewed.  Rolled DEPS.
375
376         * DEPS:
377
378 2011-10-17  Peter Beverloo  <peter@chromium.org>
379
380         [Chromium] Add a missing semi-colon in ExternalPopupMenu.cpp
381         https://bugs.webkit.org/show_bug.cgi?id=70232
382
383         Reviewed by Andreas Kling.
384
385         * src/ExternalPopupMenu.cpp:
386         (WebKit::ExternalPopupMenu::didAcceptIndices):
387
388 2011-10-17  James Robinson  <jamesr@chromium.org>
389
390         Unreviewed, rolling out r97690.
391         http://trac.webkit.org/changeset/97690
392         https://bugs.webkit.org/show_bug.cgi?id=70161
393
394         Hits assertion in CCLayerTreeHostTests
395
396         * tests/CCLayerTreeHostTest.cpp:
397         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
398         (WTF::CCLayerTreeHostTest::onEndTest):
399         (WTF::CCLayerTreeHostTest::runTest):
400         (WTF::CCLayerTreeHostTest::testTimeout):
401         (WTF::CCLayerTreeHostTest::doBeginTest):
402         (WTF::CCLayerTreeHostTest::endTest):
403         (WTF::CCLayerTreeHostTestThreadOnly::runTest):
404         (WTF::TEST_F):
405         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
406         * tests/CCThreadTest.cpp:
407         (WebKit::PingPongTestUsingTasks::ping):
408
409 2011-10-17  James Robinson  <jamesr@chromium.org>
410
411         [chromium] Fix shutdown race when posting main thread task to CCThreadProxy and enable tests
412         https://bugs.webkit.org/show_bug.cgi?id=70161
413
414         Reviewed by David Levin.
415
416         Enables the CCLayerTreeHostTest* tests by default. Most tests are run twice in a single thread and multiple
417         thread configuration. Some tests run only in the multiple thread configuration if they depend on the compositor
418         thread scheduling draws by itself.
419
420         * tests/CCLayerTreeHostTest.cpp:
421         (::CCLayerTreeHostTest::timeout):
422         (::CCLayerTreeHostTest::clearTimeout):
423         (::CCLayerTreeHostTest::CCLayerTreeHostTest):
424         (::CCLayerTreeHostTest::onEndTest):
425         (::CCLayerTreeHostTest::TimeoutTask::TimeoutTask):
426         (::CCLayerTreeHostTest::TimeoutTask::clearTest):
427         (::CCLayerTreeHostTest::TimeoutTask::~TimeoutTask):
428         (::CCLayerTreeHostTest::TimeoutTask::Run):
429         (::CCLayerTreeHostTest::runTest):
430         (::CCLayerTreeHostTest::doBeginTest):
431         (::CCLayerTreeHostTestThreadOnly::runTest):
432         (::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
433
434 2011-10-17  Alok Priyadarshi  <alokp@chromium.org>
435
436         Add layout tests for WebPlugin compositor path
437         https://bugs.webkit.org/show_bug.cgi?id=69027
438
439         Reviewed by James Robinson.
440
441         * src/WebPluginContainerImpl.cpp:
442         (WebKit::WebPluginContainerImpl::printEnd):
443
444 2011-10-17  Chris Fleizach  <cfleizach@apple.com>
445
446         AX: buttons of number type <input> controls are not fully accessible
447         https://bugs.webkit.org/show_bug.cgi?id=70241
448
449         Build fix. Fix matching enums.
450
451         * public/WebAccessibilityRole.h:
452         * src/AssertMatchingEnums.cpp:
453
454 2011-10-17  Yury Semikhatsky  <yurys@chromium.org>
455
456         [Chromium] Web Inspector: don't check for debugger pause details in interactive ui tests
457         https://bugs.webkit.org/show_bug.cgi?id=70228
458
459         Removed debugger pause details validation. The only check left is that debugger pause event is fired when expected.
460
461         Reviewed by Pavel Feldman.
462
463         * src/js/Tests.js:
464         (.TestSuite.prototype.testPauseWhenLoadingDevTools):
465         (.TestSuite.prototype.testPauseWhenScriptIsRunning.didEvaluateInConsole):
466         (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
467         (.TestSuite.prototype.testPauseWhenScriptIsRunning):
468         (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
469         (.TestSuite.prototype._waitForScriptPause):
470
471 2011-10-17  Mikhail Naganov  <mnaganov@chromium.org>
472
473         Unreviewed. Remove reference to third_party/skia/gpu.
474         It was removed from Chromium DEPS in Chromium r105526.
475
476         * DEPS:
477
478 2011-10-17  Sheriff Bot  <webkit.review.bot@gmail.com>
479
480         Unreviewed.  Rolled DEPS.
481
482         * DEPS:
483
484 2011-10-16  Adam Barth  <abarth@webkit.org>
485
486         Always enable ENABLE(DOM_STORAGE)
487         https://bugs.webkit.org/show_bug.cgi?id=70189
488
489         Reviewed by Eric Seidel.
490
491         * features.gypi:
492         * src/StorageAreaProxy.cpp:
493         * src/StorageAreaProxy.h:
494         * src/StorageEventDispatcherChromium.cpp:
495         * src/StorageEventDispatcherImpl.cpp:
496         * src/StorageEventDispatcherImpl.h:
497         * src/StorageNamespaceProxy.cpp:
498         * src/StorageNamespaceProxy.h:
499         * src/WebRuntimeFeatures.cpp:
500         (WebKit::WebRuntimeFeatures::enableLocalStorage):
501         (WebKit::WebRuntimeFeatures::isLocalStorageEnabled):
502         (WebKit::WebRuntimeFeatures::enableSessionStorage):
503         (WebKit::WebRuntimeFeatures::isSessionStorageEnabled):
504         * src/WebStorageAreaImpl.cpp:
505         * src/WebStorageAreaImpl.h:
506         * src/WebStorageEventDispatcherImpl.cpp:
507         * src/WebStorageEventDispatcherImpl.h:
508         * src/WebStorageNamespaceImpl.cpp:
509         * src/WebStorageNamespaceImpl.h:
510
511 2011-10-15  Adam Barth  <abarth@webkit.org>
512
513         Rename ENABLE(SKIA_TEXT) to USE(SKIA_TEXT)
514         https://bugs.webkit.org/show_bug.cgi?id=70191
515
516         Reviewed by Daniel Bates.
517
518         * features.gypi:
519
520 2011-10-15  Adam Barth  <abarth@webkit.org>
521
522         Remove unused ENABLE(SKIA_GPU)
523         https://bugs.webkit.org/show_bug.cgi?id=70192
524
525         Reviewed by Daniel Bates.
526
527         There do not appear to be any references to this macro.
528
529         * features.gypi:
530
531 2011-10-15  Vincent Scheib  <scheib@chromium.org>
532
533         [Chromium] Populate WebMouseEvent movementX/Y on Mac
534         https://bugs.webkit.org/show_bug.cgi?id=70167
535
536         Reviewed by Adam Barth.
537
538         * src/mac/WebInputEventFactory.mm:
539         (WebKit::setWebEventLocationFromEventInView):
540
541 2011-10-15  Antoine Labour  <piman@chromium.org>
542
543         Add WebAcceleratedContentLayer backed by a texture to support accelerated content hosting
544         https://bugs.webkit.org/show_bug.cgi?id=70084
545
546         Reviewed by James Robinson.
547
548         * WebKit.gyp:
549         * public/WebExternalTextureLayer.h: Added.
550         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
551         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
552         (WebKit::WebExternalTextureLayer::operator=):
553         * src/WebExternalTextureLayer.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
554         (WebKit::WebExternalTextureLayer::create):
555         (WebKit::WebExternalTextureLayer::setTextureId):
556         (WebKit::WebExternalTextureLayer::textureId):
557         (WebKit::WebExternalTextureLayer::setFlipped):
558         (WebKit::WebExternalTextureLayer::flipped):
559         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
560         (WebKit::WebExternalTextureLayer::operator=):
561         (WebKit::WebExternalTextureLayer::operator PassRefPtr<WebExternalTextureLayerImpl>):
562         * src/WebExternalTextureLayerImpl.cpp: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
563         (WebKit::WebExternalTextureLayerImpl::create):
564         (WebKit::WebExternalTextureLayerImpl::WebExternalTextureLayerImpl):
565         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
566         (WebKit::WebExternalTextureLayerImpl::drawsContent):
567         (WebKit::WebExternalTextureLayerImpl::paintContents):
568         (WebKit::WebExternalTextureLayerImpl::notifySyncRequired):
569         * src/WebExternalTextureLayerImpl.h: Copied from Source/WebCore/platform/graphics/chromium/cc/CCPluginLayerImpl.h.
570
571 2011-10-15  Michael Nordman  <michaeln@google.com>
572
573         [Chromium] Some WebSQLDatabase in worker bug fixes.
574         https://bugs.webkit.org/show_bug.cgi?id=70071
575
576         - Test for a NULL webView WebWorkerClientImpl.
577         - Avoid altering Database instance lifetimes during WorkerThread::stop().
578
579         Reviewed by David Levin.
580
581         * src/WebWorkerClientImpl.cpp:
582         (WebKit::WebWorkerClientImpl::allowFileSystem):
583         (WebKit::WebWorkerClientImpl::allowDatabase):
584
585 2011-10-14  Darin Adler  <darin@apple.com>
586
587        Try to fix Chromium build.
588
589         * tests/PopupMenuTest.cpp:
590         (WebKit::TestPopupMenuClient::valueChanged):
591         Use toHTMLSelectElement instead of toSelectElement.
592
593 2011-10-14  Dmitry Lomov  <dslomov@google.com>
594
595         https://bugs.webkit.org/show_bug.cgi?id=70120
596         [Chromium] Pass MessagePortArray to SerializedScriptValue::serialize/deserialize.
597         This patch augments SerializedScriptValue with MessagePortArray* parameter to implement MessagePort 
598         transfer within the message in the future.
599
600         Reviewed by David Levin.
601
602         * src/WebSerializedScriptValue.cpp:
603         (WebKit::WebSerializedScriptValue::serialize):
604
605 2011-10-14  Sheriff Bot  <webkit.review.bot@gmail.com>
606
607         Unreviewed.  Rolled DEPS.
608
609         * DEPS:
610
611 2011-10-14  Daniel Cheng  <dcheng@chromium.org>
612
613         Context-aware HTML paste for Chromium
614         https://bugs.webkit.org/show_bug.cgi?id=62112
615
616         Reviewed by Ryosuke Niwa.
617
618         Add WebKit side for plumbing to receive context for HTML paste.
619
620         * public/WebClipboard.h:
621         (WebKit::WebClipboard::readHTML):
622         * src/PlatformSupport.cpp:
623         (WebCore::PlatformSupport::clipboardReadHTML):
624
625 2011-10-14  Peter Beverloo  <peter@chromium.org>
626
627         [Chromium] Inherit settings from Chromium's envsetup.sh, address a NDK todo
628         https://bugs.webkit.org/show_bug.cgi?id=70028
629
630         Reviewed by Adam Barth.
631
632         * WebKit.gyp:
633         * gyp_webkit:
634
635 2011-10-14  Ryosuke Niwa  <rniwa@webkit.org>
636
637         Chromium Mac build fix after r97478.
638
639         * src/mac/WebSubstringUtil.mm:
640         (WebKit::WebSubstringUtil::attributedSubstringInRange):
641
642 2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
643
644         Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
645         https://bugs.webkit.org/show_bug.cgi?id=69964
646
647         Reviewed by Enrica Casucci.
648
649         * src/WebFrameImpl.cpp:
650         (WebKit::WebFrameImpl::firstRectForCharacterRange):
651         (WebKit::WebFrameImpl::characterIndexForPoint):
652         * src/WebViewImpl.cpp:
653         (WebKit::WebViewImpl::compositionRange):
654         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
655         (WebKit::WebViewImpl::caretOrSelectionRange):
656         * src/mac/WebSubstringUtil.mm:
657         (WebKit::WebSubstringUtil::attributedSubstringInRange):
658
659 2011-10-13  Arko Saha  <arko@motorola.com>
660
661         Microdata: Basic implementation of document.getItems() method.
662         https://bugs.webkit.org/show_bug.cgi?id=68610
663
664         Reviewed by Ryosuke Niwa.
665
666         Added ENABLE(MICRODATA) feature flag. Implement document.getItems() DOM API.
667         Spec : http://www.whatwg.org/specs/web-apps/current-work/complete/microdata.html
668
669         * features.gypi:
670
671 2011-10-12  Hans Wennborg  <hans@chromium.org>
672
673         IndexedDB: Remove SQLite backing store
674         https://bugs.webkit.org/show_bug.cgi?id=69620
675
676         Reviewed by Darin Fisher.
677
678         Remove the SQLite backing store implementation; it is not used anymore.
679         Also remove the maximumSize parameter, it is not used either.
680
681         * public/WebIDBFactory.h:
682         (WebKit::WebIDBFactory::getDatabaseNames):
683         (WebKit::WebIDBFactory::open):
684         * src/AssertMatchingEnums.cpp:
685         * src/IDBFactoryBackendProxy.cpp:
686         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
687         (WebKit::IDBFactoryBackendProxy::open):
688         * src/IDBFactoryBackendProxy.h:
689         * src/WebIDBFactoryImpl.cpp:
690         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
691         (WebKit::WebIDBFactoryImpl::open):
692         * src/WebIDBFactoryImpl.h:
693
694 2011-10-14  Justin Schuh  <jschuh@chromium.org>
695
696         Clear WebMediaPlayerClientImpl back pointer on destruction
697         https://bugs.webkit.org/show_bug.cgi?id=69973
698
699         Reviewed by James Robinson.
700
701         Clear the backpointer and remove the unused m_currentFrame
702
703         * src/WebMediaPlayerClientImpl.cpp:
704         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
705         (WebKit::WebMediaPlayerClientImpl::load):
706         (WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
707         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
708         * src/WebMediaPlayerClientImpl.h:
709
710 2011-10-14  Polina Sokolova  <polina@chromium.org>
711
712         Make it possible for plugins to get current fullscreen element.
713         WebCore::Document already has webkitCurrentFullScreenElement().
714         Add a wrapper for it in WebKit::WebDocument.
715         https://bugs.webkit.org/show_bug.cgi?id=70076
716
717         Reviewed by Darin Fisher.
718
719         * public/WebDocument.h:
720         * src/WebDocument.cpp:
721         (WebKit::WebDocument::securityOrigin):
722         (WebKit::WebDocument::isHTMLDocument):
723         (WebKit::WebDocument::isPluginDocument):
724         (WebKit::WebDocument::fullScreenElement):
725
726 2011-10-13  Antoine Labour  <piman@chromium.org>
727
728         Expose layer debug borders to WebLayer
729         https://bugs.webkit.org/show_bug.cgi?id=70079
730
731         Reviewed by Darin Fisher.
732
733         * public/WebLayer.h:
734         * src/WebLayer.cpp:
735         (WebKit::WebLayer::setDebugBorderColor):
736         (WebKit::WebLayer::setDebugBorderWidth):
737
738 2011-10-13  Julien Chaffraix  <jchaffraix@webkit.org>
739
740         Remove layerX / layerY from the Chromium API
741         https://bugs.webkit.org/show_bug.cgi?id=70052
742
743         Reviewed by Darin Fisher.
744
745         * public/WebDOMMouseEvent.h:
746         * src/WebDOMMouseEvent.cpp:
747         Just remove the 2 properties without considering the ABI stability.
748
749 2011-10-13  Nico Weber  <thakis@chromium.org>
750
751         [chromium] Automatically pull clang on `update-webkit --chromium` on mac
752         https://bugs.webkit.org/show_bug.cgi?id=70058
753
754         Reviewed by Adam Barth.
755
756         * DEPS:
757
758 2011-10-13  John Knottenbelt  <jknotten@chromium.org>
759
760         [Chromium] Allow building without speech input enabled.
761         https://bugs.webkit.org/show_bug.cgi?id=69867
762
763         Reviewed by Darin Fisher.
764
765         * src/AssertMatchingEnums.cpp:
766         * src/WebSpeechInputControllerMockImpl.cpp:
767         (WebKit::WebSpeechInputControllerMock::create):
768         * src/WebSpeechInputControllerMockImpl.h:
769         * src/WebSpeechInputResult.cpp:
770
771 2011-10-13  Peng Huang  <shawn.p.huang@gmail.com>
772
773         [chromium] Add a selectionBounds() method to WebWidget.
774         https://bugs.webkit.org/show_bug.cgi?id=69028
775
776         Reviewed by Darin Fisher.
777
778         * public/WebWidget.h:
779         (WebKit::WebWidget::selectionBounds):
780         * src/WebViewImpl.cpp:
781         (WebKit::WebViewImpl::selectionRange):
782         (WebKit::WebViewImpl::selectionBounds):
783         * src/WebViewImpl.h:
784
785 2011-10-13  Kent Tamura  <tkent@chromium.org>
786
787         Cleanup of HTMLSelectElement
788         https://bugs.webkit.org/show_bug.cgi?id=69908
789
790         Reviewed by Darin Adler.
791
792         Change the HTMLSelectElement::listItems() return type:
793           Vector<Element*> -> Vector<HTMLElement*>
794
795         * src/WebSearchableFormData.cpp:
796         (HTMLNames::IsSelectInDefaultState):
797         * src/WebSelectElement.cpp:
798         (WebKit::WebSelectElement::listItems):
799
800 2011-10-12  Joseph Pecoraro  <joepeck@webkit.org>
801
802         Pass Parsed Accept Attribute MIME Types to WebKit Clients
803         https://bugs.webkit.org/show_bug.cgi?id=69598
804
805         Reviewed by Kent Tamura.
806
807         Chromium uses the deprecated accept string. Switching to
808         the new approach will require coordination with their port.
809
810         * src/ChromeClientImpl.cpp:
811         (WebKit::ChromeClientImpl::runOpenPanel):
812
813 2011-10-12  Antoine Labour  <piman@chromium.org>
814
815         Fix CCThreadTest.startPostAndWaitOnCondition
816         https://bugs.webkit.org/show_bug.cgi?id=69967
817
818         Reviewed by Darin Fisher.
819
820         * tests/CCThreadTest.cpp:
821         (WebKit::TEST):
822
823 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
824
825         Unreviewed.  Rolled DEPS.
826
827         * DEPS:
828
829 2011-10-12  Nico Weber  <thakis@chromium.org>
830
831         [chromium] Add a setSelectionToRange() method to WebFrame.
832         https://bugs.webkit.org/show_bug.cgi?id=69846
833
834         Also add a method to WebRange to create a range given a frame and an
835         interval.
836
837         This will be used to implement the "replacement range" feature of OS X
838         IMEs, see http://codereview.chromium.org/8227018 (the change to
839         render_widget.cc).
840         The renderer will set the selection to the replacement range before
841         calling confirmComposition(). This matches how WK2 does this, see
842         Source/WebKit2/WebProcess/WebPage/mac/WebPageMac.mm,
843         WebPage::setComposition(). The function convertToRange() was taken
844         from there, too.
845
846         Reviewed by Darin Fisher.
847
848         * public/WebFrame.h:
849         (WebKit::WebFrame::setSelectionToRange):
850         * src/WebFrameImpl.cpp:
851         (WebKit::WebViewImpl::setSelectionToRange):
852         * src/WebFrameImpl.h:
853         (WebKit::WebViewImpl::setSelectionToRange):
854         * src/WebRange.cpp:
855         (WebRange::fromGlobalRange):
856         * src/WebRange.h:
857         (WebRange::fromGlobalRange):
858
859 2011-10-12  Sergey Glazunov  <serg.glazunov@gmail.com>
860
861         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
862         https://bugs.webkit.org/show_bug.cgi?id=69777
863
864         Reviewed by Adam Barth.
865
866         * src/WebFrameImpl.cpp:
867         (WebKit::WebFrameImpl::loadJavaScriptURL):
868
869 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
870
871         [Chromium] Web Inspector: testPauseWhenLoadingDevTools is broken
872         https://bugs.webkit.org/show_bug.cgi?id=69934
873
874         Reviewed by Pavel Feldman.
875
876         * src/js/Tests.js:
877
878 2011-10-12  Cary Clark  <caryclark@google.com>
879
880         [Chromium] Prevent fallback fonts from purging while measuring
881         https://bugs.webkit.org/show_bug.cgi?id=69855
882
883         Reviewed by Eric Seidel.
884
885         When Chrome computes the page width, an international page
886         may bring in a fallback font. FontCache::getCachedFontData
887         expects the font cache to be locked, so the measure path
888         needs to include an instance of FontCachePurgePreventer.
889
890         Adding FontCachePurgePreventer suppresses a debug-time assert
891         when running PageCycler over international tests.
892
893         * src/WebFrameImpl.cpp:
894         (WebKit::WebFrameImpl::contentsPreferredWidth):
895
896 2011-10-12  Pavel Podivilov  <podivilov@chromium.org>
897
898         Unreviewed, CCThreadTest.startPostAndWaitOnCondition is flaky on linux.
899
900         * tests/CCThreadTest.cpp:
901         (WebKit::TEST):
902
903 2011-10-12  Sheriff Bot  <webkit.review.bot@gmail.com>
904
905         Unreviewed.  Rolled DEPS.
906
907         * DEPS:
908
909 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
910
911         [Chromium] Web Inspector:  add test for pause in shared worker initialization
912         https://bugs.webkit.org/show_bug.cgi?id=69915
913
914         Add WebKit part of interactive ui test for pause in worker initialization.
915
916         Reviewed by Pavel Feldman.
917
918         * src/js/Tests.js:
919         (.TestSuite.prototype.testPauseInSharedWorkerInitialization):
920
921 2011-10-12  Yury Semikhatsky  <yurys@chromium.org>
922
923         [Chromium] Web Inspector: repair interactive tests for debugger pause
924         https://bugs.webkit.org/show_bug.cgi?id=69912
925
926         Listen to DebuggerModel event instead of overriding private methods on it.
927
928         Reviewed by Pavel Feldman.
929
930         * src/js/Tests.js:
931         (.TestSuite.prototype._waitForScriptPause):
932
933 2011-10-11  Steve VanDeBogart  <vandebo@chromium.org>
934
935         [chromium] Add accessor for plugin request to not scale print output.
936         https://bugs.webkit.org/show_bug.cgi?id=68853
937
938         Reviewed by Darin Fisher.
939
940         * public/WebFrame.h:
941         * public/WebPlugin.h:
942         (WebKit::WebPlugin::isPrintScalingDisabled):
943         * src/WebFrameImpl.cpp:
944         (WebKit::WebFrameImpl::isPrintScalingDisabledForPlugin):
945         * src/WebFrameImpl.h:
946         * src/WebPluginContainerImpl.cpp:
947         (WebKit::WebPluginContainerImpl::isPrintScalingDisabled):
948         * src/WebPluginContainerImpl.h:
949
950 2011-10-11  Antoine Labour  <piman@chromium.org>
951
952         Separate compositor client thread from webkit's main thread.
953         https://bugs.webkit.org/show_bug.cgi?id=69048
954
955         Reviewed by Darin Fisher.
956
957         * WebKit.gyp:
958         * public/WebKitPlatformSupport.h:
959         (WebKit::WebKitPlatformSupport::currentThread):
960         * src/CCMainThreadImpl.cpp: Added.
961         (WTF::TaskWrapper::TaskWrapper):
962         (WTF::TaskWrapper::~TaskWrapper):
963         (WTF::TaskWrapper::run):
964         (WebCore::CCMainThread::initialize):
965         (WebCore::CCMainThread::postTask):
966
967 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
968
969         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
970         https://bugs.webkit.org/show_bug.cgi?id=68134
971
972         Reviewed by Darin Adler.
973
974         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
975         
976         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
977         that reads the setting, and returns the mock theme if set. All callers now use
978         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
979
980         * src/WebScrollbarImpl.cpp:
981         (WebKit::WebScrollbar::defaultThickness):
982
983 2011-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
984
985         Unreviewed, rolling out r97202, r97207, and r97215.
986         http://trac.webkit.org/changeset/97202
987         http://trac.webkit.org/changeset/97207
988         http://trac.webkit.org/changeset/97215
989         https://bugs.webkit.org/show_bug.cgi?id=69894
990
991         Broke builds (Requested by rniwa on #webkit).
992
993         * src/AutofillPopupMenuClient.cpp:
994         * src/AutofillPopupMenuClient.h:
995         * src/WebViewImpl.cpp:
996         (WebKit::WebViewImpl::applyAutofillSuggestions):
997         * tests/PopupMenuTest.cpp:
998
999 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
1000
1001         Second attempt to fix Chromium Windows build after r97202.
1002
1003         * tests/PopupMenuTest.cpp:
1004         (WebKit::TestPopupMenuClient::boundingBoxRect):
1005         (WebKit::TestPopupMenuClient::setFocusedNode):
1006
1007 2011-10-11  Ryosuke Niwa  <rniwa@webkit.org>
1008
1009         Chromium build fix attempt after r97202.
1010
1011         * tests/PopupMenuTest.cpp:
1012         (WebKit::SelectPopupMenuTest::boundingBoxRect):
1013
1014 2011-10-11  Fady Samuel  <fsamuel@chromium.org>
1015
1016         Towards making PopupMenuClient more testable
1017         https://bugs.webkit.org/show_bug.cgi?id=69631
1018
1019         Reviewed by Simon Fraser.
1020
1021         * src/AutofillPopupMenuClient.cpp:
1022         (WebKit::AutofillPopupMenuClient::boundingBoxRect):
1023         * src/AutofillPopupMenuClient.h:
1024         * src/WebViewImpl.cpp:
1025         (WebKit::WebViewImpl::applyAutofillSuggestions):
1026
1027 2011-10-11  Dominic Mazzoni  <dmazzoni@google.com>
1028
1029         WebAccessibilityObject needs titleUIElement
1030         https://bugs.webkit.org/show_bug.cgi?id=69869
1031
1032         Reviewed by Dimitri Glazkov.
1033
1034         * public/WebAccessibilityObject.h:
1035         * src/WebAccessibilityObject.cpp:
1036         (WebKit::WebAccessibilityObject::titleUIElement):
1037
1038 2011-10-10  Adam Klein  <adamk@chromium.org>
1039
1040         [MutationObservers] Add stub implementation of WebKitMutationObserver
1041         https://bugs.webkit.org/show_bug.cgi?id=68949
1042
1043         Reviewed by Ryosuke Niwa, Oliver Hunt, and Dimitri Glazkov.
1044
1045         * features.gypi: Added 'enable_mutation_observers' variable.
1046
1047 2011-10-11  Mike Reed  <reed@google.com>
1048
1049         re-add support for GDI text behind a compile flag
1050         https://bugs.webkit.org/show_bug.cgi?id=69530
1051
1052         Reviewed by James Robinson.
1053
1054         * features.gypi:
1055
1056 2011-10-11  Pavel Podivilov  <podivilov@chromium.org>
1057
1058         Unreviewed, roll chromium revision to pick HTML speech input images update.
1059
1060         * DEPS:
1061
1062 2011-10-11  Antoine Labour  <piman@chromium.org>
1063
1064         Expose WebLayer::isNull
1065         https://bugs.webkit.org/show_bug.cgi?id=69813
1066
1067         Reviewed by Darin Fisher.
1068
1069         * public/WebLayer.h:
1070         (WebKit::WebLayer::isNull):
1071
1072 2011-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1073
1074         Unreviewed, rolling out r97087.
1075         http://trac.webkit.org/changeset/97087
1076         https://bugs.webkit.org/show_bug.cgi?id=69805
1077
1078         failing assert on debug builds (Requested by simonjam on
1079         #webkit).
1080
1081         * src/WebFrameImpl.cpp:
1082         (WebKit::WebFrameImpl::loadJavaScriptURL):
1083
1084 2011-10-10  Nico Weber  <thakis@chromium.org>
1085
1086         [chromium] Pull tools/clang from upstream.
1087         https://bugs.webkit.org/show_bug.cgi?id=69797
1088
1089         Reviewed by Adam Barth.
1090
1091         * DEPS:
1092
1093 2011-10-10  Sergey Glazunov  <serg.glazunov@gmail.com>
1094
1095         ScriptController::executeIfJavaScriptURL gets confused by synchronous frame loads
1096         https://bugs.webkit.org/show_bug.cgi?id=69777
1097
1098         Reviewed by Adam Barth.
1099
1100         * src/WebFrameImpl.cpp:
1101         (WebKit::WebFrameImpl::loadJavaScriptURL):
1102
1103 2011-10-10  Dominic Mazzoni  <dmazzoni@google.com>
1104
1105         [Chromium] Get rid of WebAccessibilityCache.
1106         https://bugs.webkit.org/show_bug.cgi?id=68224
1107
1108         Reviewed by Dimitri Glazkov.
1109
1110         * WebKit.gyp:
1111         * public/WebAccessibilityCache.h: Removed.
1112         * src/WebAccessibilityCache.cpp: Removed.
1113         * src/WebAccessibilityCacheImpl.cpp: Removed.
1114         * src/WebAccessibilityCacheImpl.h: Removed.
1115
1116 2011-10-10  Pavel Podivilov  <podivilov@chromium.org>
1117
1118         Unreviewed, mark CCThreadTest.startPostAndWaitOnCondition as flaky on win and mac.
1119
1120         * tests/CCThreadTest.cpp:
1121         (WebKit::TEST):
1122
1123 2011-10-07  Yury Semikhatsky  <yurys@chromium.org>
1124
1125         Web Inspector: allow to start WorkerContext paused
1126         https://bugs.webkit.org/show_bug.cgi?id=69635
1127
1128         Expose methods for pausing shared worker on start.
1129
1130         Reviewed by Pavel Feldman.
1131
1132         * public/WebSharedWorker.h:
1133         (WebKit::WebSharedWorker::pauseWorkerContextOnStart): specifies that the worker
1134         context should be paused and weit for explicit call to resumeWorkerContext before
1135         running its script.
1136         (WebKit::WebSharedWorker::resumeWorkerContext):
1137         * src/WebSharedWorkerImpl.cpp:
1138         (WebKit::WebSharedWorkerImpl::WebSharedWorkerImpl):
1139         (WebKit::WebSharedWorkerImpl::startWorkerContext):
1140         (WebKit::WebSharedWorkerImpl::pauseWorkerContextOnStart):
1141         (WebKit::resumeWorkerContextTask):
1142         (WebKit::WebSharedWorkerImpl::resumeWorkerContext):
1143         (WebKit::WebSharedWorkerImpl::attachDevTools):
1144         (WebKit::reconnectToWorkerContextInspectorTask):
1145         (WebKit::WebSharedWorkerImpl::reattachDevTools):
1146         (WebKit::WebSharedWorkerImpl::detachDevTools):
1147         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
1148         * src/WebSharedWorkerImpl.h:
1149         * src/WebWorkerClientImpl.cpp:
1150         (WebKit::WebWorkerClientImpl::startWorkerContext):
1151         (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
1152         * src/WebWorkerClientImpl.h:
1153         * src/WebWorkerImpl.cpp:
1154         (WebKit::WebWorkerImpl::startWorkerContext):
1155         (WebKit::WebWorkerImpl::detachDevTools):
1156         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
1157
1158 2011-10-09  W. James MacLean  <wjmaclean@chromium.org>
1159
1160         [chromium] Zoom animator front-end
1161         https://bugs.webkit.org/show_bug.cgi?id=68035
1162
1163         Modifications to get zoom texture-scale parameters from ScaleAnimator directly
1164         instead of via Settings.
1165
1166         Reviewed by Kenneth Russell.
1167
1168         * src/WebViewImpl.cpp:
1169         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1170
1171 2011-10-07  Antoine Labour  <piman@chromium.org>
1172
1173         Webkit API for compositor
1174         https://bugs.webkit.org/show_bug.cgi?id=69107
1175
1176         Reviewed by Darin Fisher.
1177
1178         * WebKit.gyp:
1179         * public/WebContentLayer.h: Added.
1180         (WebKit::WebContentLayer::WebContentLayer):
1181         (WebKit::WebContentLayer::~WebContentLayer):
1182         (WebKit::WebContentLayer::operator=):
1183         * public/WebContentLayerClient.h: Added.
1184         (WebKit::WebContentLayerClient::~WebContentLayerClient):
1185         * public/WebLayer.h: Added.
1186         (WebKit::WebLayer::WebLayer):
1187         (WebKit::WebLayer::operator=):
1188         (WebKit::WebLayer::to):
1189         (WebKit::WebLayer::toConst):
1190         (WebKit::WebLayer::unwrap):
1191         (WebKit::WebLayer::constUnwrap):
1192         (WebKit::operator==):
1193         (WebKit::operator!=):
1194         * public/WebLayerClient.h: Added.
1195         (WebKit::WebLayerClient::~WebLayerClient):
1196         * public/WebLayerTreeView.h: Added.
1197         (WebKit::WebLayerTreeView::Settings::Settings):
1198         (WebKit::WebLayerTreeView::WebLayerTreeView):
1199         (WebKit::WebLayerTreeView::~WebLayerTreeView):
1200         (WebKit::WebLayerTreeView::operator=):
1201         (WebKit::operator==):
1202         (WebKit::operator!=):
1203         * public/WebLayerTreeViewClient.h: Added.
1204         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
1205         * src/WebContentLayer.cpp: Added.
1206         (WebKit::WebContentLayer::create):
1207         (WebKit::WebContentLayer::setDrawsContent):
1208         (WebKit::WebContentLayer::drawsContent):
1209         (WebKit::WebContentLayer::setNeedsDisplay):
1210         (WebKit::WebContentLayer::dirtyRect):
1211         (WebKit::WebContentLayer::WebContentLayer):
1212         (WebKit::WebContentLayer::operator=):
1213         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
1214         * src/WebContentLayerImpl.cpp: Added.
1215         (WebKit::WebContentLayerImpl::create):
1216         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1217         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
1218         (WebKit::WebContentLayerImpl::setDrawsContent):
1219         (WebKit::WebContentLayerImpl::drawsContent):
1220         (WebKit::WebContentLayerImpl::paintContents):
1221         (WebKit::WebContentLayerImpl::notifySyncRequired):
1222         * src/WebContentLayerImpl.h: Added.
1223         * src/WebLayer.cpp: Added.
1224         (WebKit::WebLayer::create):
1225         (WebKit::WebLayer::~WebLayer):
1226         (WebKit::WebLayer::reset):
1227         (WebKit::WebLayer::assign):
1228         (WebKit::WebLayer::equals):
1229         (WebKit::WebLayer::rootLayer):
1230         (WebKit::WebLayer::parent):
1231         (WebKit::WebLayer::addChild):
1232         (WebKit::WebLayer::insertChild):
1233         (WebKit::WebLayer::replaceChild):
1234         (WebKit::WebLayer::removeFromParent):
1235         (WebKit::WebLayer::removeAllChildren):
1236         (WebKit::WebLayer::setAnchorPoint):
1237         (WebKit::WebLayer::anchorPoint):
1238         (WebKit::WebLayer::setAnchorPointZ):
1239         (WebKit::WebLayer::anchorPointZ):
1240         (WebKit::WebLayer::setBounds):
1241         (WebKit::WebLayer::bounds):
1242         (WebKit::WebLayer::setMasksToBounds):
1243         (WebKit::WebLayer::masksToBounds):
1244         (WebKit::WebLayer::setMaskLayer):
1245         (WebKit::WebLayer::maskLayer):
1246         (WebKit::WebLayer::setOpacity):
1247         (WebKit::WebLayer::opacity):
1248         (WebKit::WebLayer::setOpaque):
1249         (WebKit::WebLayer::opaque):
1250         (WebKit::WebLayer::setPosition):
1251         (WebKit::WebLayer::position):
1252         (WebKit::WebLayer::setSublayerTransform):
1253         (WebKit::WebLayer::sublayerTransform):
1254         (WebKit::WebLayer::setTransform):
1255         (WebKit::WebLayer::transform):
1256         (WebKit::WebLayer::WebLayer):
1257         (WebKit::WebLayer::operator=):
1258         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
1259         * src/WebLayerImpl.cpp: Added.
1260         (WebKit::WebLayerImpl::create):
1261         (WebKit::WebLayerImpl::WebLayerImpl):
1262         (WebKit::WebLayerImpl::~WebLayerImpl):
1263         (WebKit::WebLayerImpl::drawsContent):
1264         (WebKit::WebLayerImpl::paintContents):
1265         (WebKit::WebLayerImpl::notifySyncRequired):
1266         * src/WebLayerImpl.h: Added.
1267         * src/WebLayerTreeView.cpp: Added.
1268         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1269         (WebKit::WebLayerTreeView::create):
1270         (WebKit::WebLayerTreeView::reset):
1271         (WebKit::WebLayerTreeView::assign):
1272         (WebKit::WebLayerTreeView::equals):
1273         (WebKit::WebLayerTreeView::composite):
1274         (WebKit::WebLayerTreeView::setViewportSize):
1275         (WebKit::WebLayerTreeView::viewportSize):
1276         (WebKit::WebLayerTreeView::WebLayerTreeView):
1277         (WebKit::WebLayerTreeView::operator=):
1278         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
1279         * src/WebLayerTreeViewImpl.cpp: Added.
1280         (WebKit::WebLayerTreeViewImpl::create):
1281         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1282         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
1283         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
1284         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
1285         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1286         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
1287         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
1288         * src/WebLayerTreeViewImpl.h: Added.
1289
1290 2011-10-07  Shawn Singh  <shawnsingh@chromium.org>
1291
1292         First round of unit tests for CCLayerTreeHostCommon.
1293         https://bugs.webkit.org/show_bug.cgi?id=69197
1294
1295         Reviewed by James Robinson.
1296
1297         This round of tests focuses on verifying the computation of matrix transforms
1298         in calculateDrawTransformsAndVisibility.
1299
1300         * WebKit.gypi:
1301         * tests/CCLayerTreeHostCommonTest.cpp: Added.
1302         (WebCore::setLayerPropertiesForTesting):
1303         (WebCore::executeCalculateDrawTransformsAndVisibility):
1304         (WebCore::remove3DComponentOfMatrix):
1305         (WebCore::LayerChromiumWithForcedDrawsContent::LayerChromiumWithForcedDrawsContent):
1306         (WebCore::LayerChromiumWithForcedDrawsContent::drawsContent):
1307         (WebCore::TEST):
1308
1309 2011-10-07  Tony Chang  <tony@chromium.org>
1310
1311         Fix chromium compile when using the components build.  This test
1312         helper file is using methods not available when compiling as a dll.
1313
1314         * WebKit.gyp:
1315
1316 2011-10-07  Adam Barth  <abarth@webkit.org>
1317
1318         Remove setShouldPaintCustomScrollbars, which has no callers
1319         https://bugs.webkit.org/show_bug.cgi?id=69300
1320
1321         Reviewed by Darin Adler.
1322
1323         Anders tells me this function no longer has any callers.  We should
1324         remove it before it grows any!
1325
1326         * public/WebSettings.h:
1327         * src/WebSettingsImpl.cpp:
1328         * src/WebSettingsImpl.h:
1329
1330 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1331
1332         Unreviewed, rolling out r96879.
1333         http://trac.webkit.org/changeset/96879
1334         https://bugs.webkit.org/show_bug.cgi?id=69618
1335
1336         Broke CCLayerTreeHostTestShortlived1 on chromium mac.
1337         (Requested by podivilov on #webkit).
1338
1339         * features.gypi:
1340         * src/WebViewImpl.h:
1341         * tests/CCLayerTreeHostTest.cpp:
1342         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1343         (WTF::CCLayerTreeHostTest::onEndTest):
1344
1345 2011-10-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1346
1347         Unreviewed, rolling out r96909.
1348         http://trac.webkit.org/changeset/96909
1349         https://bugs.webkit.org/show_bug.cgi?id=69616
1350
1351         Broke chromium mac compilation (Requested by podivilov on
1352         #webkit).
1353
1354         * WebKit.gyp:
1355         * public/WebContentLayer.h: Removed.
1356         * public/WebContentLayerClient.h: Removed.
1357         * public/WebLayer.h: Removed.
1358         * public/WebLayerClient.h: Removed.
1359         * public/WebLayerTreeView.h: Removed.
1360         * public/WebLayerTreeViewClient.h: Removed.
1361         * src/WebContentLayer.cpp: Removed.
1362         * src/WebContentLayerImpl.cpp: Removed.
1363         * src/WebContentLayerImpl.h: Removed.
1364         * src/WebLayer.cpp: Removed.
1365         * src/WebLayerImpl.cpp: Removed.
1366         * src/WebLayerImpl.h: Removed.
1367         * src/WebLayerTreeView.cpp: Removed.
1368         * src/WebLayerTreeViewImpl.cpp: Removed.
1369         * src/WebLayerTreeViewImpl.h: Removed.
1370
1371 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
1372
1373         Unreviewed, revert r96924.
1374
1375         * public/WebContentLayer.h:
1376
1377 2011-10-07  Pavel Podivilov  <podivilov@chromium.org>
1378
1379         Unreviewed, fix mac build after r96909.
1380
1381         * public/WebContentLayer.h:
1382
1383 2011-10-07  Anna Cavender  <annacc@chromium.org>
1384
1385         Turn ENABLE_VIDEO_TRACK on for chromium.
1386         https://bugs.webkit.org/show_bug.cgi?id=69460
1387
1388         Reviewed by David Levin.
1389
1390         * features.gypi:
1391
1392 2011-10-07  Pavel Feldman  <pfeldman@google.com>
1393
1394         Not reviewed: also add glass pane to the frame document's body.
1395
1396         * src/js/DevTools.js:
1397
1398 2011-10-07  Pavel Feldman  <pfeldman@google.com>
1399
1400         Web Inspector: glass pane does not disappear after network panel's grid column resize.
1401         https://bugs.webkit.org/show_bug.cgi?id=69607
1402
1403         Reviewed by Yury Semikhatsky.
1404
1405         * src/js/DevTools.js:
1406
1407 2011-10-07  Nate Chapin  <japhet@chromium.org>
1408
1409         Always call setActive() in WebViewImpl::setFocus(),
1410         not just when enabling focus.
1411         https://bugs.webkit.org/show_bug.cgi?id=65220
1412
1413         Reviewed by Darin Fisher.
1414
1415         * WebKit.gyp:
1416         * WebKit.gypi:
1417         * src/WebViewImpl.cpp:
1418         (WebKit::WebViewImpl::setFocus):
1419         * tests/FrameTestHelpers.cpp: Added, refactored out of WebFrameTest.cpp.
1420         (WebKit::FrameTestHelpers::registerMockedURLLoad):
1421         (WebKit::FrameTestHelpers::loadFrame):
1422         (WebKit::FrameTestHelpers::defaultWebFrameClient):
1423         (WebKit::FrameTestHelpers::defaultWebViewClient):
1424         (WebKit::FrameTestHelpers::createWebViewAndLoad):
1425         * tests/FrameTestHelpers.h: Added, refactored out of WebFrameTest.cpp.
1426         * tests/WebFrameTest.cpp:
1427         * tests/WebViewTest.cpp: Added.
1428
1429 2011-10-06  Bill Budge  <bbudge@chromium.org>
1430
1431         Adds a field, "saveAs", to WebFileChooserParams to present the file chooser
1432         dialog in "Save As" mode (allows the user to choose a possibly non-existent file
1433         for saving).
1434         https://bugs.webkit.org/show_bug.cgi?id=69301
1435
1436         Reviewed by Darin Fisher.
1437
1438         * public/WebFileChooserParams.h:
1439         (WebKit::WebFileChooserParams::WebFileChooserParams):
1440
1441 2011-10-06  Antoine Labour  <piman@chromium.org>
1442
1443         Webkit API for compositor
1444         https://bugs.webkit.org/show_bug.cgi?id=69107
1445
1446         Reviewed by Darin Fisher.
1447
1448         * WebKit.gyp:
1449         * public/WebContentLayer.h: Added.
1450         (WebKit::WebContentLayer::WebContentLayer):
1451         (WebKit::WebContentLayer::~WebContentLayer):
1452         (WebKit::WebContentLayer::operator=):
1453         * public/WebContentLayerClient.h: Added.
1454         (WebKit::WebContentLayerClient::~WebContentLayerClient):
1455         * public/WebLayer.h: Added.
1456         (WebKit::WebLayer::WebLayer):
1457         (WebKit::WebLayer::operator=):
1458         (WebKit::WebLayer::to):
1459         (WebKit::WebLayer::toConst):
1460         (WebKit::WebLayer::unwrap):
1461         (WebKit::WebLayer::constUnwrap):
1462         (WebKit::operator==):
1463         (WebKit::operator!=):
1464         * public/WebLayerClient.h: Added.
1465         (WebKit::WebLayerClient::~WebLayerClient):
1466         * public/WebLayerTreeView.h: Added.
1467         (WebKit::WebLayerTreeView::Settings::Settings):
1468         (WebKit::WebLayerTreeView::WebLayerTreeView):
1469         (WebKit::WebLayerTreeView::~WebLayerTreeView):
1470         (WebKit::WebLayerTreeView::operator=):
1471         (WebKit::operator==):
1472         (WebKit::operator!=):
1473         * public/WebLayerTreeViewClient.h: Added.
1474         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
1475         * src/WebContentLayer.cpp: Added.
1476         (WebKit::WebContentLayer::create):
1477         (WebKit::WebContentLayer::setDrawsContent):
1478         (WebKit::WebContentLayer::drawsContent):
1479         (WebKit::WebContentLayer::setNeedsDisplay):
1480         (WebKit::WebContentLayer::dirtyRect):
1481         (WebKit::WebContentLayer::WebContentLayer):
1482         (WebKit::WebContentLayer::operator=):
1483         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
1484         * src/WebContentLayerImpl.cpp: Added.
1485         (WebKit::WebContentLayerImpl::create):
1486         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1487         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
1488         (WebKit::WebContentLayerImpl::setDrawsContent):
1489         (WebKit::WebContentLayerImpl::drawsContent):
1490         (WebKit::WebContentLayerImpl::paintContents):
1491         (WebKit::WebContentLayerImpl::notifySyncRequired):
1492         * src/WebContentLayerImpl.h: Added.
1493         * src/WebLayer.cpp: Added.
1494         (WebKit::WebLayer::create):
1495         (WebKit::WebLayer::~WebLayer):
1496         (WebKit::WebLayer::reset):
1497         (WebKit::WebLayer::assign):
1498         (WebKit::WebLayer::equals):
1499         (WebKit::WebLayer::rootLayer):
1500         (WebKit::WebLayer::parent):
1501         (WebKit::WebLayer::addChild):
1502         (WebKit::WebLayer::insertChild):
1503         (WebKit::WebLayer::replaceChild):
1504         (WebKit::WebLayer::removeFromParent):
1505         (WebKit::WebLayer::removeAllChildren):
1506         (WebKit::WebLayer::setAnchorPoint):
1507         (WebKit::WebLayer::anchorPoint):
1508         (WebKit::WebLayer::setAnchorPointZ):
1509         (WebKit::WebLayer::anchorPointZ):
1510         (WebKit::WebLayer::setBounds):
1511         (WebKit::WebLayer::bounds):
1512         (WebKit::WebLayer::setMasksToBounds):
1513         (WebKit::WebLayer::masksToBounds):
1514         (WebKit::WebLayer::setMaskLayer):
1515         (WebKit::WebLayer::maskLayer):
1516         (WebKit::WebLayer::setOpacity):
1517         (WebKit::WebLayer::opacity):
1518         (WebKit::WebLayer::setOpaque):
1519         (WebKit::WebLayer::opaque):
1520         (WebKit::WebLayer::setPosition):
1521         (WebKit::WebLayer::position):
1522         (WebKit::WebLayer::setSublayerTransform):
1523         (WebKit::WebLayer::sublayerTransform):
1524         (WebKit::WebLayer::setTransform):
1525         (WebKit::WebLayer::transform):
1526         (WebKit::WebLayer::WebLayer):
1527         (WebKit::WebLayer::operator=):
1528         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
1529         * src/WebLayerImpl.cpp: Added.
1530         (WebKit::WebLayerImpl::create):
1531         (WebKit::WebLayerImpl::WebLayerImpl):
1532         (WebKit::WebLayerImpl::~WebLayerImpl):
1533         (WebKit::WebLayerImpl::drawsContent):
1534         (WebKit::WebLayerImpl::paintContents):
1535         (WebKit::WebLayerImpl::notifySyncRequired):
1536         * src/WebLayerImpl.h: Added.
1537         * src/WebLayerTreeView.cpp: Added.
1538         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1539         (WebKit::WebLayerTreeView::create):
1540         (WebKit::WebLayerTreeView::reset):
1541         (WebKit::WebLayerTreeView::assign):
1542         (WebKit::WebLayerTreeView::equals):
1543         (WebKit::WebLayerTreeView::composite):
1544         (WebKit::WebLayerTreeView::setViewportSize):
1545         (WebKit::WebLayerTreeView::viewportSize):
1546         (WebKit::WebLayerTreeView::WebLayerTreeView):
1547         (WebKit::WebLayerTreeView::operator=):
1548         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
1549         * src/WebLayerTreeViewImpl.cpp: Added.
1550         (WebKit::WebLayerTreeViewImpl::create):
1551         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1552         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
1553         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
1554         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
1555         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1556         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
1557         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
1558         * src/WebLayerTreeViewImpl.h: Added.
1559
1560 2011-10-06  Kent Tamura  <tkent@chromium.org>
1561
1562         [Chromium] Build fix for r96907.
1563
1564         * tests/PopupMenuTest.cpp:
1565         (WebKit::TestPopupMenuClient::valueChanged):
1566         Use HTMLSelectElement instead of SelectElement.
1567
1568 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1569
1570         Unreviewed, rolling out r96896.
1571         http://trac.webkit.org/changeset/96896
1572         https://bugs.webkit.org/show_bug.cgi?id=69601
1573
1574         broke windows and mac chromium builds (Requested by simonjam
1575         on #webkit).
1576
1577         * WebKit.gyp:
1578         * public/WebContentLayer.h: Removed.
1579         * public/WebContentLayerClient.h: Removed.
1580         * public/WebLayer.h: Removed.
1581         * public/WebLayerClient.h: Removed.
1582         * public/WebLayerTreeView.h: Removed.
1583         * public/WebLayerTreeViewClient.h: Removed.
1584         * src/WebContentLayer.cpp: Removed.
1585         * src/WebContentLayerImpl.cpp: Removed.
1586         * src/WebContentLayerImpl.h: Removed.
1587         * src/WebLayer.cpp: Removed.
1588         * src/WebLayerImpl.cpp: Removed.
1589         * src/WebLayerImpl.h: Removed.
1590         * src/WebLayerTreeView.cpp: Removed.
1591         * src/WebLayerTreeViewImpl.cpp: Removed.
1592         * src/WebLayerTreeViewImpl.h: Removed.
1593
1594 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1595
1596         Unreviewed.  Rolled DEPS.
1597
1598         * DEPS:
1599
1600 2011-10-06  Antoine Labour  <piman@chromium.org>
1601
1602         Webkit API for compositor
1603         https://bugs.webkit.org/show_bug.cgi?id=69107
1604
1605         Reviewed by Darin Fisher.
1606
1607         * WebKit.gyp:
1608         * public/WebContentLayer.h: Added.
1609         (WebKit::WebContentLayer::WebContentLayer):
1610         (WebKit::WebContentLayer::~WebContentLayer):
1611         (WebKit::WebContentLayer::operator=):
1612         * public/WebContentLayerClient.h: Added.
1613         (WebKit::WebContentLayerClient::~WebContentLayerClient):
1614         * public/WebLayer.h: Added.
1615         (WebKit::WebLayer::WebLayer):
1616         (WebKit::WebLayer::operator=):
1617         (WebKit::WebLayer::to):
1618         (WebKit::WebLayer::toConst):
1619         (WebKit::WebLayer::unwrap):
1620         (WebKit::WebLayer::constUnwrap):
1621         (WebKit::operator==):
1622         (WebKit::operator!=):
1623         * public/WebLayerClient.h: Added.
1624         (WebKit::WebLayerClient::~WebLayerClient):
1625         * public/WebLayerTreeView.h: Added.
1626         (WebKit::WebLayerTreeView::Settings::Settings):
1627         (WebKit::WebLayerTreeView::WebLayerTreeView):
1628         (WebKit::WebLayerTreeView::~WebLayerTreeView):
1629         (WebKit::WebLayerTreeView::operator=):
1630         (WebKit::operator==):
1631         (WebKit::operator!=):
1632         * public/WebLayerTreeViewClient.h: Added.
1633         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
1634         * src/WebContentLayer.cpp: Added.
1635         (WebKit::WebContentLayer::create):
1636         (WebKit::WebContentLayer::setDrawsContent):
1637         (WebKit::WebContentLayer::drawsContent):
1638         (WebKit::WebContentLayer::setNeedsDisplay):
1639         (WebKit::WebContentLayer::dirtyRect):
1640         (WebKit::WebContentLayer::WebContentLayer):
1641         (WebKit::WebContentLayer::operator=):
1642         (WebKit::WebContentLayer::operator PassRefPtr<WebContentLayerImpl>):
1643         * src/WebContentLayerImpl.cpp: Added.
1644         (WebKit::WebContentLayerImpl::create):
1645         (WebKit::WebContentLayerImpl::WebContentLayerImpl):
1646         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
1647         (WebKit::WebContentLayerImpl::setDrawsContent):
1648         (WebKit::WebContentLayerImpl::drawsContent):
1649         (WebKit::WebContentLayerImpl::paintContents):
1650         (WebKit::WebContentLayerImpl::notifySyncRequired):
1651         * src/WebContentLayerImpl.h: Added.
1652         * src/WebLayer.cpp: Added.
1653         (WebKit::WebLayer::create):
1654         (WebKit::WebLayer::~WebLayer):
1655         (WebKit::WebLayer::reset):
1656         (WebKit::WebLayer::assign):
1657         (WebKit::WebLayer::equals):
1658         (WebKit::WebLayer::rootLayer):
1659         (WebKit::WebLayer::parent):
1660         (WebKit::WebLayer::addChild):
1661         (WebKit::WebLayer::insertChild):
1662         (WebKit::WebLayer::replaceChild):
1663         (WebKit::WebLayer::removeFromParent):
1664         (WebKit::WebLayer::removeAllChildren):
1665         (WebKit::WebLayer::setAnchorPoint):
1666         (WebKit::WebLayer::anchorPoint):
1667         (WebKit::WebLayer::setAnchorPointZ):
1668         (WebKit::WebLayer::anchorPointZ):
1669         (WebKit::WebLayer::setBounds):
1670         (WebKit::WebLayer::bounds):
1671         (WebKit::WebLayer::setMasksToBounds):
1672         (WebKit::WebLayer::masksToBounds):
1673         (WebKit::WebLayer::setMaskLayer):
1674         (WebKit::WebLayer::maskLayer):
1675         (WebKit::WebLayer::setOpacity):
1676         (WebKit::WebLayer::opacity):
1677         (WebKit::WebLayer::setOpaque):
1678         (WebKit::WebLayer::opaque):
1679         (WebKit::WebLayer::setPosition):
1680         (WebKit::WebLayer::position):
1681         (WebKit::WebLayer::setSublayerTransform):
1682         (WebKit::WebLayer::sublayerTransform):
1683         (WebKit::WebLayer::setTransform):
1684         (WebKit::WebLayer::transform):
1685         (WebKit::WebLayer::WebLayer):
1686         (WebKit::WebLayer::operator=):
1687         (WebKit::WebLayer::operator PassRefPtr<LayerChromium>):
1688         * src/WebLayerImpl.cpp: Added.
1689         (WebKit::WebLayerImpl::create):
1690         (WebKit::WebLayerImpl::WebLayerImpl):
1691         (WebKit::WebLayerImpl::~WebLayerImpl):
1692         (WebKit::WebLayerImpl::drawsContent):
1693         (WebKit::WebLayerImpl::paintContents):
1694         (WebKit::WebLayerImpl::notifySyncRequired):
1695         * src/WebLayerImpl.h: Added.
1696         * src/WebLayerTreeView.cpp: Added.
1697         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1698         (WebKit::WebLayerTreeView::create):
1699         (WebKit::WebLayerTreeView::reset):
1700         (WebKit::WebLayerTreeView::assign):
1701         (WebKit::WebLayerTreeView::equals):
1702         (WebKit::WebLayerTreeView::composite):
1703         (WebKit::WebLayerTreeView::setViewportSize):
1704         (WebKit::WebLayerTreeView::viewportSize):
1705         (WebKit::WebLayerTreeView::WebLayerTreeView):
1706         (WebKit::WebLayerTreeView::operator=):
1707         (WebKit::WebLayerTreeView::operator PassRefPtr<CCLayerTreeHost>):
1708         * src/WebLayerTreeViewImpl.cpp: Added.
1709         (WebKit::WebLayerTreeViewImpl::create):
1710         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
1711         (WebKit::WebLayerTreeViewImpl::~WebLayerTreeViewImpl):
1712         (WebKit::WebLayerTreeViewImpl::animateAndLayout):
1713         (WebKit::WebLayerTreeViewImpl::applyScrollDelta):
1714         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
1715         (WebKit::WebLayerTreeViewImpl::didRecreateGraphicsContext):
1716         (WebKit::WebLayerTreeViewImpl::scheduleComposite):
1717         * src/WebLayerTreeViewImpl.h: Added.
1718
1719 2011-10-06  James Robinson  <jamesr@chromium.org>
1720
1721         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
1722         https://bugs.webkit.org/show_bug.cgi?id=69489
1723
1724         Reviewed by Darin Fisher.
1725
1726         Updated CCLayerTreeHostTest::onEndTest() to pump all pending messages
1727         after posting the Quit task and before tearing down any test
1728         infrastructure.
1729
1730         * features.gypi:
1731         * src/WebViewImpl.h:
1732         * tests/CCLayerTreeHostTest.cpp:
1733         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1734
1735 2011-10-06  James Robinson  <jamesr@chromium.org>
1736
1737         [chromium] Remove obsolete WebWidgetClient::didActivateAcceleratedCompositing call
1738         https://bugs.webkit.org/show_bug.cgi?id=69576
1739
1740         Reviewed by Darin Fisher.
1741
1742         The chromium implementation of this function went away at r104017.
1743
1744         * public/WebWidgetClient.h:
1745         * src/WebViewImpl.cpp:
1746         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1747
1748 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1749
1750         Unreviewed, rolling out r96861.
1751         http://trac.webkit.org/changeset/96861
1752         https://bugs.webkit.org/show_bug.cgi?id=69573
1753
1754         This patch didn't compile on windows (Requested by annacc on
1755         #webkit).
1756
1757         * features.gypi:
1758
1759 2011-10-06  Anna Cavender  <annacc@chromium.org>
1760
1761         Turn ENABLE_VIDEO_TRACK on for chromium.
1762         https://bugs.webkit.org/show_bug.cgi?id=69460
1763
1764         Reviewed by David Levin.
1765
1766         * features.gypi:
1767
1768 2011-10-06  Sheriff Bot  <webkit.review.bot@gmail.com>
1769
1770         Unreviewed, rolling out r96791.
1771         http://trac.webkit.org/changeset/96791
1772         https://bugs.webkit.org/show_bug.cgi?id=69528
1773
1774         webkit_unit_tests broken on Mac and Win (Requested by
1775         hwennborg on #webkit).
1776
1777         * features.gypi:
1778         * src/WebViewImpl.h:
1779         * tests/CCLayerTreeHostTest.cpp:
1780         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1781
1782 2011-10-06  Hans Wennborg  <hans@chromium.org>
1783
1784         [Chromium] WebKit.gyp fix to unbreak Linux(shared) build after r96791
1785
1786         Unreviewed gardening.
1787
1788         * WebKit.gyp:
1789
1790 2011-10-03  Hans Wennborg  <hans@chromium.org>
1791
1792         IndexedDB: Remove SQLite-LevelDB migration code
1793         https://bugs.webkit.org/show_bug.cgi?id=69264
1794
1795         Reviewed by Tony Chang.
1796
1797         Remove setOverrideBackingStoreType. It was used in the layout test
1798         for migration.
1799
1800         * public/WebIDBFactory.h:
1801         * src/WebIDBFactoryImpl.cpp:
1802         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
1803         (WebKit::WebIDBFactoryImpl::open):
1804
1805 2011-10-06  James Robinson  <jamesr@chromium.org>
1806
1807         [chromium] Remove USE(THREADED_COMPOSITING) from the tree
1808         https://bugs.webkit.org/show_bug.cgi?id=69489
1809
1810         Reviewed by Darin Fisher.
1811
1812         * features.gypi:
1813         * src/WebViewImpl.h:
1814         * tests/CCLayerTreeHostTest.cpp:
1815         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1816
1817 2011-10-05  Alexei Svitkine  <asvitkine@chromium.org>
1818
1819         Make destructor of WebURLLoaderClient virtual.
1820         https://bugs.webkit.org/show_bug.cgi?id=69457
1821
1822         Reviewed by Darin Fisher.
1823
1824         * public/WebURLLoaderClient.h:
1825         (WebKit::WebURLLoaderClient::~WebURLLoaderClient):
1826
1827 2011-10-05  Vangelis Kokkevis  <vangelis@chromium.org>
1828
1829         Switching threaded compositor from a compile time option to a
1830         run time one.
1831         https://bugs.webkit.org/show_bug.cgi?id=69391
1832
1833         Reviewed by Darin Fisher.
1834
1835         * public/WebSettings.h:
1836         * src/WebSettingsImpl.cpp:
1837         (WebKit::WebSettingsImpl::WebSettingsImpl):
1838         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
1839         (WebKit::WebSettingsImpl::setUseThreadedCompositor):
1840         * src/WebSettingsImpl.h:
1841         (WebKit::WebSettingsImpl::useThreadedCompositor):
1842         * src/WebViewImpl.cpp:
1843         (WebKit::WebViewImpl::animate):
1844         (WebKit::WebViewImpl::composite):
1845         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1846         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1847         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1848         (WebKit::WebViewImpl::scheduleComposite):
1849         (WebKit::WebViewImpl::graphicsContext3D):
1850
1851 2011-10-05  Jer Noble  <jer.noble@apple.com>
1852
1853         WEB_AUDIO does not compile on Leopard 32-bit.
1854         https://bugs.webkit.org/show_bug.cgi?id=69292
1855
1856         Reviewed by Simon Fraser.
1857
1858         Platform-independent portions of WEB_AUDIO have changed from double -> float, and 
1859         platform-specific subclasses must change as well.
1860
1861         * src/AudioDestinationChromium.cpp:
1862         (WebCore::AudioDestination::create):
1863         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1864         (WebCore::AudioDestination::hardwareSampleRate):
1865         * src/AudioDestinationChromium.h:
1866         (WebCore::AudioDestinationChromium::sampleRate):
1867
1868 2011-10-05  James Robinson  <jamesr@chromium.org>
1869
1870         [chromium] Hook WebCompositor interface for input events up to the compositor proper
1871         https://bugs.webkit.org/show_bug.cgi?id=69394
1872
1873         Reviewed by Darin Fisher.
1874
1875         This teaches WebCompositorImpl about WebCore::CCInputHandler, which WebCompositorImpl implements, and
1876         CCScrollController, which WebCompositorImpl will use in the future to do actual scrolling. One thing that is a
1877         bit unusual here is WebCore::CCInputHandler::create() which is defined in WebCompositorImpl.cpp.  This is
1878         because we need a WebKit object (WebKit::WebCompositorImpl) to be owned by a WebCore object (WebCore::CCThreadProxy).
1879         The WebCore side only needs to know about the interface, CCInputHandler, but the actual implementation has to
1880         live in WebKit in order to know about the concrete type.
1881
1882         * src/WebCompositorImpl.cpp:
1883         (WebCore::CCInputHandler::create):
1884         (WebKit::WebCompositor::fromIdentifier):
1885         (WebKit::WebCompositorImpl::fromIdentifier):
1886         (WebKit::WebCompositorImpl::WebCompositorImpl):
1887         (WebKit::WebCompositorImpl::~WebCompositorImpl):
1888         (WebKit::WebCompositorImpl::setClient):
1889         (WebKit::WebCompositorImpl::handleInputEvent):
1890         (WebKit::WebCompositorImpl::identifier):
1891         * src/WebCompositorImpl.h:
1892         (WebKit::WebCompositorImpl::create):
1893         * src/WebViewImpl.cpp:
1894         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1895         * src/WebViewImpl.h:
1896         * tests/WebCompositorImplTest.cpp:
1897
1898 2011-10-05  Anna Cavender  <annacc@chromium.org>
1899
1900         Functions to make <track> enabled at runtime.
1901         https://bugs.webkit.org/show_bug.cgi?id=69352
1902
1903         Reviewed by Adam Barth.
1904
1905         * public/WebRuntimeFeatures.h:
1906         * src/WebRuntimeFeatures.cpp:
1907         (WebKit::WebRuntimeFeatures::enableVideoTrack):
1908         (WebKit::WebRuntimeFeatures::isVideoTrackEnabled):
1909
1910 2011-10-05  Yury Semikhatsky  <yurys@chromium.org>
1911
1912         Web Inspector: provide a way for persisting worker inspector state
1913         https://bugs.webkit.org/show_bug.cgi?id=69422
1914
1915         Provided an API for saving/restoring worker inspector state.
1916
1917         Reviewed by Pavel Feldman.
1918
1919         * public/WebCommonWorkerClient.h:
1920         (WebKit::WebCommonWorkerClient::saveDevToolsAgentState):
1921         * public/WebSharedWorker.h:
1922         (WebKit::WebSharedWorker::reattachDevTools):
1923         * src/WebSharedWorkerImpl.cpp:
1924         (WebKit::reconnectToWorkerContextInspectorTask):
1925         (WebKit::WebSharedWorkerImpl::reattachDevTools):
1926         * src/WebSharedWorkerImpl.h:
1927         * src/WebWorkerBase.cpp:
1928         (WebKit::WebWorkerBase::updateInspectorStateCookie):
1929         (WebKit::WebWorkerBase::updateInspectorStateCookieTask):
1930         * src/WebWorkerBase.h:
1931         * src/WebWorkerClientImpl.cpp:
1932         (WebKit::WebWorkerClientImpl::updateInspectorStateCookie):
1933         * src/WebWorkerClientImpl.h:
1934
1935 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
1936
1937         [Chromium] Web Inspector: save inspector state into single string instead of string map
1938         https://bugs.webkit.org/show_bug.cgi?id=69335
1939
1940         Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.
1941
1942         Reviewed by Pavel Feldman.
1943
1944         * public/WebDevToolsAgent.h:
1945         * public/WebDevToolsAgentClient.h:
1946         * src/WebDevToolsAgentImpl.cpp:
1947         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
1948         * src/WebDevToolsAgentImpl.h:
1949
1950 2011-10-04  Kent Tamura  <tkent@chromium.org>
1951
1952         Introduce feature flags for incomplete input types
1953         https://bugs.webkit.org/show_bug.cgi?id=68971
1954
1955         Reviewed by Hajime Morita.
1956
1957         * features.gypi: Add disabled ENABLE_INPUT_TYPE_* flags.
1958
1959 2011-10-04  Scott Graham  <scottmg@chromium.org>
1960
1961         Add GAMEPAD feature flag
1962         https://bugs.webkit.org/show_bug.cgi?id=66859
1963
1964         Reviewed by Darin Fisher.
1965
1966         * features.gypi:
1967
1968 2011-10-04  Fady Samuel  <fsamuel@chromium.org>
1969
1970         [Chromium] Moved files towards GTK removal
1971         https://bugs.webkit.org/show_bug.cgi?id=69229
1972
1973         Reviewed by Tony Chang.
1974
1975         * WebKit.gyp:
1976         * src/WebViewImpl.cpp:
1977         (WebKit::WebViewImpl::setScrollbarColors):
1978         * src/linux/WebFontInfo.cpp: Renamed from Source/WebKit/chromium/src/gtk/WebFontInfo.cpp.
1979         (WebKit::WebFontInfo::familyForChars):
1980         (WebKit::WebFontInfo::renderStyleForStrike):
1981
1982 2011-10-04  James Robinson  <jamesr@chromium.org>
1983
1984         [chromium] Extract scheduling logic from CCThreadProxy to its own class
1985         https://bugs.webkit.org/show_bug.cgi?id=69049
1986
1987         Reviewed by Kenneth Russell.
1988
1989         Adds some unit tests for the new CCScheduler class. Since the class is very simple today, the tests are
1990         similarly quite simple.
1991
1992         * WebKit.gypi:
1993         * src/WebViewImpl.cpp:
1994         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1995         * tests/CCLayerTreeHostTest.cpp:
1996         (WTF::CCLayerTreeHostTest::postSetNeedsCommitThenRedrawToMainThread):
1997         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommitThenRedraw):
1998         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
1999         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
2000         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
2001         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
2002         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
2003         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
2004         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
2005         * tests/CCSchedulerTest.cpp: Added.
2006
2007 2011-10-04  Scott Graham  <scottmg@chromium.org>
2008
2009         occasional crash in Chromium in dispatching keyEvent
2010         https://bugs.webkit.org/show_bug.cgi?id=67941
2011
2012         Reviewed by Tony Chang.
2013
2014         Guard Frame while handling keyEvent, as it can lose last reference due
2015         to actions of handler.
2016
2017         * src/WebViewImpl.cpp:
2018         (WebKit::WebViewImpl::keyEvent):
2019
2020 2011-10-04  Anders Carlsson  <andersca@apple.com>
2021
2022         Remove PlatformWheelEvent::m_isAccepted
2023         https://bugs.webkit.org/show_bug.cgi?id=69357
2024
2025         Reviewed by Darin Adler.
2026
2027         * src/WebInputEventConversion.cpp:
2028         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2029         m_isAccepted has been removed.
2030
2031         * src/WebScrollbarImpl.cpp:
2032         (WebKit::WebScrollbarImpl::onMouseWheel):
2033         Just return the value of handleWheelEvent.
2034
2035 2011-10-04  Yury Semikhatsky  <yurys@chromium.org>
2036
2037         [Chromium] Web Inspector: save inspector state into single string instead of string map
2038         https://bugs.webkit.org/show_bug.cgi?id=69335
2039
2040         Added explicit methods for saving and restoring agent runtime state.
2041
2042         Reviewed by Pavel Feldman.
2043
2044         * public/WebDevToolsAgent.h:
2045         * public/WebDevToolsAgentClient.h:
2046         (WebKit::WebDevToolsAgentClient::saveAgentRuntimeState):
2047         * src/WebDevToolsAgentImpl.cpp:
2048         (WebKit::WebDevToolsAgentImpl::reattach):
2049         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
2050         * src/WebDevToolsAgentImpl.h:
2051
2052 2011-10-03  James Robinson  <jamesr@chromium.org>
2053
2054         [chromium] Tweak WebCompositor API for input event handling to express three possible states
2055         https://bugs.webkit.org/show_bug.cgi?id=69304
2056
2057         Reviewed by Darin Fisher.
2058
2059         * public/WebCompositorClient.h:
2060         * src/WebCompositorImpl.cpp:
2061         (WebKit::WebCompositorImpl::~WebCompositorImpl):
2062         (WebKit::WebCompositorImpl::handleInputEvent):
2063
2064 2011-10-03  Anders Carlsson  <andersca@apple.com>
2065
2066         Remove custom scrollbar painting hooks
2067         https://bugs.webkit.org/show_bug.cgi?id=69163
2068
2069         Reviewed by Alexey Proskuryakov.
2070
2071         * src/WebSettingsImpl.cpp:
2072         (WebKit::WebSettingsImpl::setShouldPaintCustomScrollbars):
2073
2074 2011-10-03  Elliot Poger  <epoger@google.com>
2075
2076         webkit->chromium DEPS roll 103471->103694
2077         https://bugs.webkit.org/show_bug.cgi?id=69271
2078
2079         This brings in a new tools/win/supalink directory from
2080         http://src.chromium.org/viewvc/chrome?view=rev&revision=103474
2081
2082         Reviewed by Adam Barth.
2083
2084         * DEPS:
2085
2086 2011-10-03  James Robinson  <jamesr@chromium.org>
2087
2088         [chromium] Add WebWidget API for accessing the current WebCompositor
2089         https://bugs.webkit.org/show_bug.cgi?id=69181
2090
2091         Reviewed by Darin Fisher.
2092
2093         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
2094         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
2095
2096         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
2097         thread to get access to a WebCompositor pointer.
2098
2099         * public/WebWidget.h:
2100         (WebKit::WebWidget::compositor):
2101         * src/WebViewImpl.cpp:
2102         (WebKit::WebViewImpl::compositor):
2103         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2104         * src/WebViewImpl.h:
2105
2106 2011-10-03  Sheriff Bot  <webkit.review.bot@gmail.com>
2107
2108         Unreviewed, rolling out r96481.
2109         http://trac.webkit.org/changeset/96481
2110         https://bugs.webkit.org/show_bug.cgi?id=69251
2111
2112         Breaks webkit_unit_tests on Linux(dbg) (Requested by hwennborg
2113         on #webkit).
2114
2115         * WebKit.gypi:
2116         * public/WebCompositor.h:
2117         * public/WebWidgetClient.h:
2118         * src/WebCompositorImpl.cpp:
2119         (WebKit::WebCompositorImpl::WebCompositorImpl):
2120         (WebKit::WebCompositorImpl::~WebCompositorImpl):
2121         (WebKit::WebCompositorImpl::setClient):
2122         (WebKit::WebCompositorImpl::handleInputEvent):
2123         * src/WebCompositorImpl.h:
2124         * src/WebViewImpl.cpp:
2125         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2126         * src/WebViewImpl.h:
2127         * tests/CCLayerTreeHostTest.cpp:
2128         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2129         * tests/WebCompositorImplTest.cpp: Removed.
2130
2131 2011-10-02  James Robinson  <jamesr@chromium.org>
2132
2133         [chromium] Add WebWidget API for accessing the current WebCompositor
2134         https://bugs.webkit.org/show_bug.cgi?id=69181
2135
2136         Reviewed by Darin Fisher.
2137
2138         Add new WebWidgetClient::did(Activate|Deactivate)Compositor calls intended to replace
2139         didActivateAccleratedCompositing(bool) so that the enable call can be parameterized.
2140
2141         Add a WebCompositor identifier parameter to didEnableAcceleratedCompositing that can be used on the compositor
2142         thread to get access to a WebCompositor pointer.
2143
2144         * public/WebWidget.h:
2145         (WebKit::WebWidget::compositor):
2146         * src/WebViewImpl.cpp:
2147         (WebKit::WebViewImpl::compositor):
2148         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2149         * src/WebViewImpl.h:
2150
2151 2011-09-30  Adrienne Walker  <enne@google.com>
2152
2153         [chromium] Track separate scroll deltas on the compositor thread
2154         https://bugs.webkit.org/show_bug.cgi?id=69034
2155
2156         Reviewed by James Robinson.
2157
2158         Add testing support for scroll deltas on layers.
2159
2160         * WebKit.gypi:
2161         * src/WebViewImpl.cpp:
2162         (WebKit::WebViewImpl::applyScrollDelta):
2163         * src/WebViewImpl.h:
2164         * tests/CCLayerTreeHostImplTest.cpp: Added.
2165         (WebCore::CCLayerTreeHostImplTest::CCLayerTreeHostImplTest):
2166         (WebCore::CCLayerTreeHostImplTest::expectClearedScrollDeltasRecursive):
2167         (WebCore::CCLayerTreeHostImplTest::expectContains):
2168         (WebCore::TEST_F):
2169         * tests/CCLayerTreeHostTest.cpp:
2170         (WTF::TestHooks::applyScrollDelta):
2171         (WTF::MockLayerTreeHostClient::applyScrollDelta):
2172         (WTF::CCLayerTreeHostTest::runTest):
2173         (WTF::CCLayerTreeHostTest::doBeginTest):
2174         (WTF::CCLayerTreeHostTestThreadOnly::runTest):
2175         (WTF::CCLayerTreeHostTestScrollSimple::CCLayerTreeHostTestScrollSimple):
2176         (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
2177         (WTF::CCLayerTreeHostTestScrollSimple::beginCommitOnCCThread):
2178         (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
2179         (WTF::CCLayerTreeHostTestScrollSimple::applyScrollDelta):
2180         (WTF::CCLayerTreeHostTestScrollSimple::afterTest):
2181         (WTF::TEST_F):
2182         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::CCLayerTreeHostTestScrollMultipleRedraw):
2183         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
2184         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginCommitOnCCThread):
2185         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
2186         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollDelta):
2187         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::afterTest):
2188         * tests/TreeSynchronizerTest.cpp:
2189         (WebCore::TEST):
2190
2191 2011-09-30  Shawn Singh  <shawnsingh@chromium.org>
2192
2193         Adding unit tests for LayerChromium.  Emphasis on verifying
2194         behavior of notifySyncRequired callback and tree manipulations.
2195         https://bugs.webkit.org/show_bug.cgi?id=68572
2196
2197         Reviewed by James Robinson.
2198
2199         * WebKit.gypi:
2200         * tests/LayerChromiumTest.cpp: Added.
2201
2202 2011-09-30  James Robinson  <jamesr@chromium.org>
2203
2204         [chromium] Pass a processed bool in WebCompositorClient::didHandleInputEvent to indicate if the event was processed
2205         https://bugs.webkit.org/show_bug.cgi?id=69169
2206
2207         Reviewed by Darin Fisher.
2208
2209         If the compositor does not process the input event the embedder might want to do something with it - for
2210         example, if the input event type is part of a CTRL+T keyboard accelerator sequence the browser might want to
2211         open a new tab. This passes that state through the didHandleInputEvent callback.
2212
2213         * public/WebCompositorClient.h:
2214         * src/WebCompositorImpl.cpp:
2215         (WebKit::WebCompositorImpl::handleInputEvent):
2216
2217 2011-09-30  Elliot Poger  <epoger@google.com>
2218
2219         webkit->chromium DEPS roll 102910->103471
2220         https://bugs.webkit.org/show_bug.cgi?id=69160
2221
2222         Reviewed by Adam Barth.
2223
2224         * DEPS:
2225
2226 2011-09-29  Pavel Feldman  <pfeldman@google.com>
2227
2228         Web Inspector: [chromium] expose inspector protocol version to the embedder.
2229         https://bugs.webkit.org/show_bug.cgi?id=69092
2230
2231         Reviewed by Yury Semikhatsky.
2232
2233         * public/WebDevToolsAgent.h:
2234         * src/WebDevToolsAgentImpl.cpp:
2235         (WebKit::WebDevToolsAgent::inspectorProtocolVersion):
2236         (WebKit::WebDevToolsAgent::supportsInspectorProtocolVersion):
2237
2238 2011-09-30  James Robinson  <jamesr@chromium.org>
2239
2240         [chromium] Add WebKit API for sending input events to the compositor thread
2241         https://bugs.webkit.org/show_bug.cgi?id=69117
2242
2243         Reviewed by Darin Fisher.
2244
2245         Adds a new WebKit interface to allow the embedder to pass input events directly to the compositor thread.
2246         Exposes the new WebCompositor interface and associated client. These interfaces are slightly different in that
2247         they can only be interacted with from the compositor thread.
2248
2249         Changes the initialization path for the compositor thread to using an externally allocated and managed thread
2250         instead of one internal to WebCore so that the embedder can interact with the thread more easily. This also
2251         simplifies the startup and shutdown paths.  The contract is that WebCompositor::setThread() must be called
2252         before any compositor can be initialized and the passed-in thread must outlive all compositor instances.
2253
2254         Each WebCompositor instance is associated with a WebWidget.  There isn't any way to get a WebCompositor for a
2255         given WebWidget in this patch, that will be done in a follow-up.
2256
2257         * WebKit.gyp:
2258         * public/WebCompositor.h:
2259         (WebKit::WebCompositor::~WebCompositor):
2260         * public/WebCompositorClient.h:
2261         (WebKit::WebCompositorClient::~WebCompositorClient):
2262         * src/CCThreadImpl.cpp:
2263         (WebKit::CCThreadImpl::create):
2264         (WebKit::CCThreadImpl::CCThreadImpl):
2265         * src/CCThreadImpl.h:
2266         * src/WebCompositorImpl.cpp: Added.
2267         (WebKit::WebCompositor::setThread):
2268         (WebKit::WebCompositorImpl::WebCompositorImpl):
2269         (WebKit::WebCompositorImpl::~WebCompositorImpl):
2270         (WebKit::WebCompositorImpl::setClient):
2271         (WebKit::WebCompositorImpl::handleInputEvent):
2272         * src/WebCompositorImpl.h:
2273         (WebKit::WebCompositorImpl::create):
2274         * src/WebViewImpl.cpp:
2275         * src/WebViewImpl.h:
2276         * tests/CCLayerTreeHostTest.cpp:
2277         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
2278         * tests/CCThreadTest.cpp:
2279         (WebKit::TEST):
2280
2281 2011-09-29  Iain Merrick  <husky@google.com>
2282
2283         Add unit test for CCLayerSorter
2284         https://bugs.webkit.org/show_bug.cgi?id=68622
2285
2286         Reviewed by James Robinson.
2287
2288         * WebKit.gypi:
2289         * tests/CCLayerSorterTest.cpp: Added.
2290         (WebCore::TEST):
2291
2292 2011-09-29  Hans Wennborg  <hans@chromium.org>
2293
2294         IndexedDB: Use LevelDB also for in-memory databases
2295         https://bugs.webkit.org/show_bug.cgi?id=68903
2296
2297         Reviewed by Steve Block.
2298
2299         Don't fall back to SQLite or use a temporary dir for in-memory
2300         databases (Incognito and layout tests); LevelDB supports in-memory
2301         databases now.
2302
2303         * public/WebIDBFactory.h:
2304         * src/WebIDBFactoryImpl.cpp:
2305         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
2306         (WebKit::WebIDBFactoryImpl::open):
2307
2308 2011-09-28  Fady Samuel  <fsamuel@chromium.org>
2309
2310         [Chromium] Seperate GTK specific Gyp rules from X11 Gyp rules
2311         https://bugs.webkit.org/show_bug.cgi?id=68936
2312
2313         Reviewed by Tony Chang.
2314
2315         * WebKit.gyp:
2316         * public/gtk/WebFontInfo.h:
2317         * public/linux/WebFontInfo.h: Copied from Source/WebKit/chromium/public/gtk/WebFontInfo.h.
2318
2319 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2320
2321         Unreviewed.  Rolled DEPS.
2322
2323         * DEPS:
2324
2325 2011-09-27  Yury Semikhatsky  <yurys@chromium.org>
2326
2327         [Chromium] Web Inspector: Bug with console.log and popstate/hashchange events
2328         https://bugs.webkit.org/show_bug.cgi?id=67732
2329
2330         Added WebKit part of a new interactive UI test for the bug with duplicated console messages after navigation back.
2331
2332         Reviewed by Pavel Feldman.
2333
2334         * src/js/Tests.js:
2335         (.TestSuite.prototype.testConsoleOnNavigateBack.firstConsoleMessageReceived):
2336         (.TestSuite.prototype.testConsoleOnNavigateBack.didClickLink):
2337         (.TestSuite.prototype.testConsoleOnNavigateBack.didNavigateBack):
2338         (.TestSuite.prototype.testConsoleOnNavigateBack.didCompleteNavigation):
2339         (.TestSuite.prototype.testConsoleOnNavigateBack):
2340
2341 2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2342
2343         Unreviewed.  Rolled DEPS.
2344
2345         * DEPS:
2346
2347 2011-09-26  Nat Duca  <nduca@chromium.org>
2348
2349         [chromium] Make CCThreadProxy draw
2350         https://bugs.webkit.org/show_bug.cgi?id=67417
2351
2352         Disable CCLayerTreeHostTest temporarily. Will re-enable
2353         with https://bugs.webkit.org/show_bug.cgi?id=67418
2354
2355         Reviewed by James Robinson.
2356
2357         * tests/CCLayerTreeHostTest.cpp:
2358
2359 2011-09-26  Joshua Bell  <jsbell@chromium.org>
2360
2361         IndexedDB: Second half of IDBFactory.getDatabaseNames implementation
2362         https://bugs.webkit.org/show_bug.cgi?id=68818
2363
2364         Reviewed by Tony Chang.
2365
2366         Adds ability to enumerate IndexedDB databases within an origin.
2367
2368         * src/IDBCallbacksProxy.cpp:
2369         (WebKit::IDBCallbacksProxy::onSuccess):
2370         * src/IDBCallbacksProxy.h:
2371         * src/IDBFactoryBackendProxy.cpp:
2372         (WebKit::IDBFactoryBackendProxy::getDatabaseNames):
2373         * src/IDBFactoryBackendProxy.h:
2374         * src/WebIDBCallbacksImpl.cpp:
2375         (WebKit::WebIDBCallbacksImpl::onSuccess):
2376         * src/WebIDBCallbacksImpl.h:
2377         * src/WebIDBFactoryImpl.cpp:
2378         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
2379         * src/WebIDBFactoryImpl.h:
2380
2381 2011-09-26  Fady Samuel  <fsamuel@chromium.org>
2382
2383         Removed an unnecessary include in WebFrameImpl
2384         https://bugs.webkit.org/show_bug.cgi?id=68834
2385
2386         Reviewed by Darin Fisher.
2387
2388         * src/WebFrameImpl.cpp:
2389
2390 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
2391
2392         Fix copy and paste error in r96002.
2393
2394         * tests/InnerGestureRecognizerTest.cpp:
2395         (TEST_F):
2396
2397 2011-09-26  Mihai Parparita  <mihaip@chromium.org>
2398
2399         Disable Chromium gesture recognizer tests that started to fail on the
2400         Mac bots recently.
2401
2402         * tests/InnerGestureRecognizerTest.cpp:
2403         (TEST_F):
2404
2405 2011-09-26  W. James MacLean  <wjmaclean@chromium.org>
2406
2407         [chromium] Revise zoom animator backend to use full transform instead of just scale.
2408         https://bugs.webkit.org/show_bug.cgi?id=68535
2409
2410         Reviewed by Kenneth Russell.
2411
2412         * src/WebViewImpl.cpp:
2413         (WebKit::WebViewImpl::setZoomLevel):
2414         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
2415
2416 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2417
2418         Unreviewed, rolling out r95256.
2419         http://trac.webkit.org/changeset/95256
2420         https://bugs.webkit.org/show_bug.cgi?id=68814
2421
2422         Temporary CRASH calls no longer needed (Requested by enne on
2423         #webkit).
2424
2425         * src/WebViewImpl.cpp:
2426         (WebKit::WebViewImpl::composite):
2427
2428 2011-09-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2429
2430         Unreviewed.  Rolled DEPS.
2431
2432         * DEPS:
2433
2434 2011-09-24  Adam Barth  <abarth@webkit.org>
2435
2436         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
2437         https://bugs.webkit.org/show_bug.cgi?id=68767
2438
2439         Reviewed by Eric Seidel.
2440
2441         * features.gypi:
2442         * src/ApplicationCacheHost.cpp:
2443         * src/ApplicationCacheHostInternal.h:
2444         * src/AssertMatchingEnums.cpp:
2445         * src/ChromeClientImpl.cpp:
2446         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
2447         * src/ChromeClientImpl.h:
2448         * src/WebDataSourceImpl.cpp:
2449         (WebKit::WebDataSourceImpl::applicationCacheHost):
2450         * src/WebRuntimeFeatures.cpp:
2451         (WebKit::WebRuntimeFeatures::enableApplicationCache):
2452         (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled):
2453
2454 2011-09-23  Adam Klein  <adamk@chromium.org>
2455
2456         Add ENABLE_MUTATION_OBSERVERS feature flag
2457         https://bugs.webkit.org/show_bug.cgi?id=68732
2458
2459         Reviewed by Ojan Vafai.
2460
2461         This flag will guard an implementation of the "Mutation Observers" proposed in
2462         http://lists.w3.org/Archives/Public/public-webapps/2011JulSep/1622.html
2463
2464         * features.gypi:
2465
2466 2011-09-23  Jay Civelli  <jcivelli@chromium.org>
2467
2468         Making some WebBlob methods exportable.
2469         This is needed by the shared lib chromium build.
2470         https://bugs.webkit.org/show_bug.cgi?id=68709
2471
2472         Reviewed by Darin Fisher.
2473
2474         * public/WebBlob.h:
2475
2476 2011-09-23  Varun Jain  <varunjain@google.com>
2477
2478         Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests 
2479         https://bugs.webkit.org/show_bug.cgi?id=68198
2480
2481         Reviewed by Dimitri Glazkov.
2482
2483         * public/WebView.h:
2484         (WebKit::WebView::scrollFocusedNodeIntoRect):
2485         * src/WebViewImpl.cpp:
2486         (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
2487
2488 2011-09-23  Mihai Parparita  <mihaip@chromium.org>
2489
2490         Unreviewed, rolling out r95860.
2491         http://trac.webkit.org/changeset/95860
2492         https://bugs.webkit.org/show_bug.cgi?id=68648
2493
2494         Breaks overhang rendering on Chromium Mac
2495
2496         * features.gypi:
2497
2498 2011-09-23  Adam Klein  <adamk@chromium.org>
2499
2500         [chromium] Remove WEBWIDGET_HAS_ANIMATE_CHANGES #define
2501         https://bugs.webkit.org/show_bug.cgi?id=68720
2502
2503         Reviewed by James Robinson.
2504
2505         References to this macro were removed in http://crrev.com/102314.
2506
2507         * public/WebWidget.h:
2508
2509 2011-09-23  Stephen Chenney  <schenney@chromium.org>
2510
2511         [Chromium] Crash in WebCore::DatabaseObserver
2512         https://bugs.webkit.org/show_bug.cgi?id=67805
2513
2514         Reviewed by David Levin.
2515
2516         * src/DatabaseObserver.cpp:
2517         (WebCore::DatabaseObserver::canEstablishDatabase): Added a check for a
2518         null frame or page, and return false if null. Investigated
2519         changing the fall-through return value to false but decided against
2520         it given the way the code is used and existing default values for
2521         related code. Reproduction and testing depends on having a document
2522         with no frame or no page, which sometimes happens in practice but is
2523         hard to construct explicitly.
2524
2525 2011-09-23  Scott Graham  <scottmg@chromium.org>
2526
2527         occasional crash in Chromium in dispatching keyEvent
2528         https://bugs.webkit.org/show_bug.cgi?id=67941
2529
2530         Reviewed by Darin Fisher.
2531
2532         Use focusedWebCoreNode() to handle null document for frame when
2533         retrieving focused node in handling keyEvent.
2534
2535         * src/WebViewImpl.cpp:
2536         (WebKit::WebViewImpl::keyEvent):
2537
2538 2011-09-23  Fady Samuel  <fsamuel@chromium.org>
2539
2540         Refactor paintOverhangAreas to allow non-Mac Chromium platforms to reuse code
2541         https://bugs.webkit.org/show_bug.cgi?id=68648
2542
2543         Reviewed by Dimitri Glazkov.
2544
2545         * features.gypi:
2546
2547 2011-09-23  Elliot Poger  <epoger@google.com>
2548
2549         update layout_tests to account for new default of use_skia=1
2550         https://bugs.webkit.org/show_bug.cgi?id=68698
2551
2552         Rolls Source/WebKit/chromium/DEPS to pick up new default use_skia=1
2553         from http://src.chromium.org/viewvc/chrome?view=rev&revision=102532
2554         (Chromium-on-Mac now uses the Skia graphics library instead of
2555         Core Graphics).
2556
2557         Also updates layout_test code to work with that change.
2558
2559         Reviewed by Mihai Parparita.
2560
2561         * DEPS:
2562
2563 2011-09-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2564
2565         Unreviewed.  Rolled DEPS.
2566
2567         * DEPS:
2568
2569 2011-09-22  James Robinson  <jamesr@chromium.org>
2570
2571         Unreviewed, rolling out r95699.
2572         http://trac.webkit.org/changeset/95699
2573         https://bugs.webkit.org/show_bug.cgi?id=67417
2574
2575         Makes many chromium compositor tests crash
2576
2577         * tests/CCLayerTreeHostTest.cpp:
2578         (WTF::CCLayerTreeHostTest::doBeginTest):
2579         (WTF::TEST_F):
2580         * tests/TreeSynchronizerTest.cpp:
2581         (WebCore::TEST):
2582
2583 2011-09-22  Nat Duca  <nduca@chromium.org>
2584
2585         [chromium] Make CCThreadProxy draw
2586         https://bugs.webkit.org/show_bug.cgi?id=67417
2587
2588         Disable CCLayerTreeHostTest temporarily. Will re-enable
2589         with https://bugs.webkit.org/show_bug.cgi?id=67418
2590
2591         Reviewed by James Robinson.
2592
2593         * tests/CCLayerTreeHostTest.cpp:
2594
2595 2011-09-21  Joshua Bell  <jsbell@chromium.org>
2596
2597         Implement WebKit side of IDBFactory::getDatabaseNames
2598         https://bugs.webkit.org/show_bug.cgi?id=68037
2599
2600         Reviewed by Tony Chang.
2601
2602         Interface changes and stub implementations for
2603         new IndexedDB IDBFactory.getDatabaseNames. This is
2604         part one of a two-sided patch.
2605
2606         * public/WebIDBCallbacks.h:
2607         (WebKit::WebIDBCallbacks::onSuccess):
2608         * public/WebIDBFactory.h:
2609         (WebKit::WebIDBFactory::getDatabaseNames):
2610
2611 2011-09-21  Robert Kroeger  <rjkroege@chromium.org>
2612
2613         [chromium] Code cleanup in gesture recognizer unit tests
2614         https://bugs.webkit.org/show_bug.cgi?id=68561
2615
2616         Fix some style nits in the gesture recognizer unit tests.
2617
2618         Reviewed by David Levin.
2619
2620         * tests/InnerGestureRecognizerTest.cpp:
2621         (InspectableGestureRecognizerChromium::stubEdgeFunction):
2622         (BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
2623         (TEST_F):
2624
2625 2011-09-21  Aaron Boodman  <aa@chromium.org>
2626
2627         Remove old and busted context notification APIs
2628         https://bugs.webkit.org/show_bug.cgi?id=68381
2629
2630         Reviewed by David Levin.
2631
2632         * public/WebFrameClient.h:
2633         * src/FrameLoaderClientImpl.cpp:
2634         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2635         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2636
2637 2011-09-21  Xianzhu Wang  <wangxianzhu@chromium.org>
2638
2639         Ensure TestWebKitAPI works on mac, win, chromium-mac and chromium-linux
2640         https://bugs.webkit.org/show_bug.cgi?id=68206
2641
2642         Reviewed by Tony Chang.
2643
2644         * WebKit.gyp:
2645
2646 2011-09-21  chandra shekar vallala  <chandra.vallala@gmail.com>
2647
2648         [chromium]ClearFocusedNode doesn't clear the cursor or selection in editable div element.
2649         https://bugs.webkit.org/show_bug.cgi?id=68351
2650
2651         Reviewed by Darin Fisher.
2652
2653         * src/WebViewImpl.cpp:
2654         (WebKit::WebViewImpl::clearFocusedNode):
2655
2656 2011-09-20  Jay Civelli  <jcivelli@chromium.org>
2657
2658         This CL makes it possible to create a blob from Chromium.
2659         https://bugs.webkit.org/show_bug.cgi?id=68286
2660
2661         Reviewed by Darin Fisher.
2662
2663         * WebKit.gyp:
2664         * public/WebBlob.h: Added.
2665         * src/WebBlob.cpp: Added.
2666
2667 2011-09-20  Jochen Eisinger  <jochen@chromium.org>
2668
2669         [chromium] remove obsolete WebPermissionClient::allowImages method
2670         https://bugs.webkit.org/show_bug.cgi?id=68380
2671
2672         Reviewed by Darin Fisher.
2673
2674         * DEPS:
2675         * public/WebPermissionClient.h:
2676         (WebKit::WebPermissionClient::allowImage):
2677
2678 2011-09-20  Aaron Boodman  <aa@chromium.org>
2679
2680         Rework script context creation/release notifications
2681         https://bugs.webkit.org/show_bug.cgi?id=67828
2682
2683         Reviewed by Adam Barth.
2684
2685         * public/WebFrameClient.h:
2686         (WebKit::WebFrameClient::didCreateScriptContext):
2687         (WebKit::WebFrameClient::didDestroyScriptContext):
2688         (WebKit::WebFrameClient::willReleaseScriptContext):
2689         * src/FrameLoaderClientImpl.cpp:
2690         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2691         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2692         * src/FrameLoaderClientImpl.h:
2693         * tests/WebFrameTest.cpp:
2694         (WebKit::TEST_F):
2695         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Notification):
2696         (WebKit::ContextLifetimeTestWebFrameClient::Notification::~Notification):
2697         (WebKit::ContextLifetimeTestWebFrameClient::Notification::Equals):
2698         (WebKit::ContextLifetimeTestWebFrameClient::~ContextLifetimeTestWebFrameClient):
2699         (WebKit::ContextLifetimeTestWebFrameClient::reset):
2700         (WebKit::ContextLifetimeTestWebFrameClient::didCreateScriptContext):
2701         (WebKit::ContextLifetimeTestWebFrameClient::willReleaseScriptContext):
2702         * tests/data/context_notifications_test.html: Added.
2703         * tests/data/context_notifications_test_frame.html: Added.
2704
2705 2011-09-19  Geoffrey Garen  <ggaren@apple.com>
2706
2707         Removed ENABLE_JSC_MULTIPLE_THREADS and related #ifdefs.
2708         https://bugs.webkit.org/show_bug.cgi?id=68422
2709
2710         Missed this one case before.
2711
2712         * features.gypi:
2713
2714 2011-09-19  Raymond Toy  <rtoy@google.com>
2715
2716         Ask for audio hardware buffer size instead of using hardwired constants.
2717         https://bugs.webkit.org/show_bug.cgi?id=67952
2718
2719         Reviewed by Kenneth Russell.
2720
2721         * public/WebKitPlatformSupport.h:
2722         (WebKit::WebKitPlatformSupport::audioHardwareBufferSize): Declare
2723         new member function audioHardwareBufferSize.
2724         * src/AudioDestinationChromium.cpp:
2725         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2726         Call audioHardwareBufferSize() to get buffer size; update
2727         m_callbackBuffersize and m_renderCountPerCallback appropriately.
2728         Remove global variables callbackBufferSize and
2729         renderCountPerCallback.  Add constant for maximum
2730         allowed buffer size and verify we don't exceed it.
2731         (WebCore::AudioDestinationChromium::render): Use new member
2732         variables instead of globals.
2733         * src/AudioDestinationChromium.h:
2734         Define new member variables m_callbackBufferSize and
2735         m_renderCountPerCallback
2736
2737 2011-09-19  Adam Barth  <abarth@webkit.org>
2738
2739         Always enable ENABLE(EVENTSOURCE)
2740         https://bugs.webkit.org/show_bug.cgi?id=68414
2741
2742         Reviewed by Eric Seidel.
2743
2744         * features.gypi:
2745
2746 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
2747
2748         Suppress flakey test on windows in Chromium gesture recognizer
2749         https://bugs.webkit.org/show_bug.cgi?id=68408
2750
2751         Reviewed by Adam Barth.
2752
2753         * tests/InnerGestureRecognizerTest.cpp:
2754         (TEST_F):
2755
2756 2011-09-19  Dominic Mazzoni  <dmazzoni@google.com>
2757
2758         Expose AXObjectCache methods so that WebAccessibilityCache
2759         can be deleted.
2760         https://bugs.webkit.org/show_bug.cgi?id=68225
2761
2762         Reviewed by Dimitri Glazkov.
2763
2764         This patch exposes the functionality needed from AXObjectCache
2765         with new methods in WebAccessibilityObject and WebDocument.
2766         Next, Chromium will be updated to use only these methods and
2767         not WebAccessibilityCache. Then, WebAccessibilityCache can be
2768         deleted from WebKit.
2769
2770         * public/WebAccessibilityObject.h:
2771         * public/WebDocument.h:
2772         * src/WebAccessibilityObject.cpp:
2773         (WebKit::WebAccessibilityObject::enableAccessibility):
2774         (WebKit::WebAccessibilityObject::accessibilityEnabled):
2775         (WebKit::WebAccessibilityObject::axID):
2776         * src/WebDocument.cpp:
2777         (WebKit::WebDocument::accessibilityObject):
2778         (WebKit::WebDocument::accessibilityObjectFromID):
2779
2780 2011-09-19  Bill Budge  <bbudge@chromium.org>
2781
2782         Perform HTTP method and header validation in AssociatedURLLoader for
2783         requests coming from untrusted code (eg. Native Client in Chrome). Use
2784         the same code as XMLHttpRequest to reduce code duplication and have
2785         behavior identical to XHR in Javascript. Add an 'untrustedHTTP' option
2786         to WebURLLoaderOptions, which AssociatedURLLoader can use to determine
2787         if it should check the request method and headers.
2788         https://bugs.webkit.org/show_bug.cgi?id=67655
2789
2790         Reviewed by Darin Fisher.
2791
2792         * public/WebURLLoaderOptions.h:
2793         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2794         * src/AssociatedURLLoader.cpp:
2795         (WebKit::AssociatedURLLoader::ClientAdapter::setDelayedError):
2796         (WebKit::AssociatedURLLoader::loadAsynchronously):
2797         * tests/AssociatedURLLoaderTest.cpp:
2798         (WebKit::AssociatedURLLoaderTest::CheckMethodFails):
2799         (WebKit::AssociatedURLLoaderTest::CheckHeaderFails):
2800         (WebKit::AssociatedURLLoaderTest::CheckFails):
2801         (WebKit::TEST_F):
2802
2803 2011-09-19  Adam Barth  <abarth@webkit.org>
2804
2805         Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER)
2806         https://bugs.webkit.org/show_bug.cgi?id=68292
2807
2808         Reviewed by Eric Seidel.
2809
2810         * features.gypi:
2811
2812 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2813
2814         Unreviewed, rolling out r95385 and r95457.
2815         http://trac.webkit.org/changeset/95385
2816         http://trac.webkit.org/changeset/95457
2817         https://bugs.webkit.org/show_bug.cgi?id=68395
2818
2819         Broke chromium browser_tests (Requested by dslomov on
2820         #webkit).
2821
2822         * public/WebFrameClient.h:
2823         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
2824         * src/FrameLoaderClientImpl.cpp:
2825         (WebKit::FrameLoaderClientImpl::didCreateScriptContextForFrame):
2826         (WebKit::FrameLoaderClientImpl::didDestroyScriptContextForFrame):
2827         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
2828         * src/FrameLoaderClientImpl.h:
2829         * tests/WebFrameTest.cpp:
2830         (WebKit::TEST_F):
2831         * tests/data/context_notifications_test.html: Removed.
2832         * tests/data/context_notifications_test_frame.html: Removed.
2833
2834 2011-09-19  Aaron Boodman  <aa@chromium.org>
2835
2836         r95385 broke Chromium. Fix it.
2837         https://bugs.webkit.org/show_bug.cgi?id=68378
2838
2839         Unreviewed, build fix.
2840
2841         * src/FrameLoaderClientImpl.cpp:
2842         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2843         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2844
2845 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
2846
2847         Unreviewed, build fix
2848
2849         It's not enough to disable clang plugins.
2850
2851         * gyp_webkit:
2852
2853 2011-09-19  Jochen Eisinger  <jochen@chromium.org>
2854
2855         [chromium] Disable clang when building chromium in WebKit
2856         https://bugs.webkit.org/show_bug.cgi?id=68343
2857
2858         Reviewed by Adam Barth.
2859
2860         * DEPS:
2861         * gyp_webkit:
2862
2863 2011-09-19  Robert Kroeger  <rjkroege@chromium.org>
2864
2865         [chromium] Gesture recognizer fires taptype only every other touch
2866         down/up sequence https://bugs.webkit.org/show_bug.cgi?id=68368
2867  
2868         Reviewed by Adam Barth.
2869
2870         The addition of doubletap detection to the gesture recognizer missed some of the
2871         outgoing edges in the recognizer state machine. Thsi change simplifies the logic
2872         and handles all outgoing edges.
2873
2874
2875         * tests/InnerGestureRecognizerTest.cpp:
2876         Additional tests added to ensure that all edges in the state
2877         machine are accounted for.
2878         (BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
2879         (SimulateAndTestFirstClick):
2880         (TEST_F):
2881
2882 2011-09-19  Peter Rybin  <peter.rybin@gmail.com>
2883
2884         TextPosition refactoring: Merge ZeroBasedNumber and OneBasedNumber classes
2885         https://bugs.webkit.org/show_bug.cgi?id=63541
2886
2887         Reviewed by Adam Barth.
2888
2889         * src/WebFrameImpl.cpp:
2890         (WebKit::WebFrameImpl::executeScript):
2891         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2892         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2893
2894 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2895
2896         Unreviewed, rolling out r95416.
2897         http://trac.webkit.org/changeset/95416
2898         https://bugs.webkit.org/show_bug.cgi?id=68367
2899
2900         Broke chromium-mac (Requested by beverloo on #webkit).
2901
2902         * DEPS:
2903
2904 2011-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2905
2906         Unreviewed.  Rolled DEPS.
2907
2908         * DEPS:
2909
2910 2011-09-19  Ilya Tikhonovsky  <loislo@chromium.org>
2911
2912         Web Inspector: extend timeline coverage.
2913         https://bugs.webkit.org/show_bug.cgi?id=68260
2914
2915         Another place with js function call from native.
2916
2917         Reviewed by Pavel Feldman.
2918
2919         * src/WebDevToolsFrontendImpl.cpp:
2920         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2921
2922 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
2923
2924         FrameLoaderClient BackForwardList-related methods are unsued
2925         https://bugs.webkit.org/show_bug.cgi?id=68293
2926
2927         Reviewed by Darin Adler.
2928
2929         Remove FrameLoaderClient methods that were added by r51629, since only        
2930         the old (since-deleted) Android port needed them.
2931
2932         * src/FrameLoaderClientImpl.cpp:
2933         * src/FrameLoaderClientImpl.h:
2934
2935 2011-09-17  Aaron Boodman  <aa@chromium.org>
2936
2937         Rework script context creation/release notifications
2938         https://bugs.webkit.org/show_bug.cgi?id=67828
2939
2940         Reviewed by Adam Barth.
2941
2942         * public/WebFrameClient.h:
2943         (WebKit::WebFrameClient::didCreateScriptContext):
2944         (WebKit::WebFrameClient::didDestroyScriptContext):
2945         (WebKit::WebFrameClient::willReleaseScriptContext):
2946         * src/FrameLoaderClientImpl.cpp:
2947         (WebKit::FrameLoaderClientImpl::didCreateScriptContext):
2948         (WebKit::FrameLoaderClientImpl::willReleaseScriptContext):
2949         * src/FrameLoaderClientImpl.h:
2950
2951 2011-09-17  chandra shekar vallala  <chandra.vallala@motorola.com>
2952
2953         [chromium]The focus of an input field inside an Iframe doesn't get cleared even though clearFocusedNode is called.
2954         https://bugs.webkit.org/show_bug.cgi?id=68162
2955
2956         Add a unit-test to check whether the focus of node is get cleared when clearFocusNode called.
2957         This test check for focus of input node inside a frame after clear focus get called.
2958         Reviewed by Adam Barth.
2959
2960         * src/WebViewImpl.cpp:
2961         (WebKit::WebViewImpl::clearFocusedNode):
2962         * tests/WebFrameTest.cpp:
2963         (WebKit::TEST_F): Added a unit test to make sure that focus of the node is get cleared.
2964         * tests/data/autofocus_input_field_iframe.html: Added.
2965         * tests/data/iframe_clear_focused_node_test.html: Added.
2966
2967 2011-09-16  Adam Barth  <abarth@webkit.org>
2968
2969         Rename ENABLE(LEVELDB) to USE(LEVELDB)
2970         https://bugs.webkit.org/show_bug.cgi?id=68290
2971
2972         Reviewed by Darin Adler.
2973
2974         * features.gypi:
2975         * tests/IDBLevelDBCodingTest.cpp:
2976
2977 2011-09-16  Jochen Eisinger  <jochen@chromium.org>
2978
2979         Rename FrameLoaderClient::allowImages to FrameLoaderClient::allowImage and include the image URL as parameter
2980         https://bugs.webkit.org/show_bug.cgi?id=68071
2981
2982         Reviewed by Adam Barth.
2983
2984         * public/WebPermissionClient.h:
2985         (WebKit::WebPermissionClient::allowImage):
2986         * src/FrameLoaderClientImpl.cpp:
2987         (WebKit::FrameLoaderClientImpl::allowImage):
2988         * src/FrameLoaderClientImpl.h:
2989
2990 2011-09-16  Dmitry Lomov  <dslomov@google.com>
2991
2992         https://bugs.webkit.org/show_bug.cgi?id=67733
2993         [Chromium] Separate WebKit initialization and V8 initialization in chromium port.
2994
2995         Reviewed by Darin Fisher.
2996
2997         * public/WebKit.h:
2998         * src/WebKit.cpp:
2999         (WebKit::initialize):
3000         (WebKit::initializeWithoutV8):
3001
3002 2011-09-16  Vincent Scheib  <scheib@chromium.org>
3003
3004         [Chromium] Add movementX/Y members to WebMouseEvent
3005         https://bugs.webkit.org/show_bug.cgi?id=68174
3006
3007         Reviewed by Dimitri Glazkov.
3008
3009         * public/WebInputEvent.h:
3010         (WebKit::WebMouseEvent::WebMouseEvent):
3011
3012 2011-09-16  Nat Duca  <nduca@chromium.org>
3013
3014         [chromium] Create WebGL layer for graphics contexts on demand
3015         https://bugs.webkit.org/show_bug.cgi?id=68288
3016
3017         Reviewed by James Robinson.
3018
3019         * src/GraphicsContext3DChromium.cpp:
3020         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3021         (WebCore::GraphicsContext3DPrivate::platformLayer):
3022         * src/GraphicsContext3DPrivate.h:
3023
3024 2011-09-16  chandra shekar v  <chandra.vallala@motorola.com>
3025
3026         [chromium] compilation failed in target 'webkit_unit_tests'.
3027         https://bugs.webkit.org/show_bug.cgi?id=68078
3028
3029         Reviewed by Adam Barth.
3030
3031         * tests/WebFrameTest.cpp:
3032         (WebKit::TestReloadDoesntRedirectWebFrameClient::decidePolicyForNavigation):
3033
3034 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3035
3036         Unreviewed, rolling out r95312.
3037         http://trac.webkit.org/changeset/95312
3038         https://bugs.webkit.org/show_bug.cgi?id=68277
3039
3040         It's innocent, innocent I tell you! (Requested by jamesr_ on
3041         #webkit).
3042
3043         * tests/CCLayerTreeHostTest.cpp:
3044         (WTF::TestHooks::beginCommitOnCCThread):
3045         (WTF::TestHooks::commitCompleteOnCCThread):
3046         (WTF::TestHooks::drawLayersOnCCThread):
3047         (WTF::MockLayerTreeHostImpl::create):
3048         (WTF::MockLayerTreeHostImpl::beginCommit):
3049         (WTF::MockLayerTreeHostImpl::commitComplete):
3050         (WTF::MockLayerTreeHostImpl::drawLayers):
3051         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3052         (WTF::MockLayerTreeHost::create):
3053         (WTF::MockLayerTreeHost::createLayerTreeHostImpl):
3054         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3055         (WTF::CompositorMockWebGraphicsContext3D::create):
3056         (WTF::CompositorMockWebGraphicsContext3D::makeContextCurrent):
3057         (WTF::CompositorMockWebGraphicsContext3D::createProgram):
3058         (WTF::CompositorMockWebGraphicsContext3D::createShader):
3059         (WTF::CompositorMockWebGraphicsContext3D::getShaderiv):
3060         (WTF::CompositorMockWebGraphicsContext3D::getProgramiv):
3061         (WTF::CompositorMockWebGraphicsContext3D::CompositorMockWebGraphicsContext3D):
3062         (WTF::MockLayerTreeHostClient::create):
3063         (WTF::MockLayerTreeHostClient::animateAndLayout):
3064         (WTF::MockLayerTreeHostClient::createCompositorThread):
3065         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3066         (WTF::MockLayerTreeHostClient::createRootLayerPainter):
3067         (WTF::MockLayerTreeHostClient::didRecreateGraphicsContext):
3068         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
3069         (WTF::CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
3070         (WTF::CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
3071         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3072         (WTF::CCLayerTreeHostTest::onBeginTest):
3073         (WTF::CCLayerTreeHostTest::onEndTest):
3074         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
3075         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
3076         (WTF::CCLayerTreeHostTest::runTest):
3077         (WTF::CCLayerTreeHostTest::testTimeout):
3078         (WTF::CCLayerTreeHostTest::doBeginTest):
3079         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
3080         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
3081         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3082         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3083         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
3084         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3085         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
3086         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
3087         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3088         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
3089         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
3090         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3091         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
3092         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
3093
3094 2011-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3095
3096         Unreviewed, rolling out r95309.
3097         http://trac.webkit.org/changeset/95309
3098         https://bugs.webkit.org/show_bug.cgi?id=68271
3099
3100         Broke many chromium gpu tests. (Requested by dave_levin on
3101         #webkit).
3102
3103         * tests/CCLayerTreeHostTest.cpp:
3104         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3105         (WTF::CCLayerTreeHostTest::animateAndLayout):
3106         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
3107         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
3108         (WTF::CCLayerTreeHostTest::commitOnCCThread):
3109         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
3110         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
3111         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
3112         (WTF::CCLayerTreeHostTest::updateLayers):
3113         (WTF::CCLayerTreeHostTest::onBeginTest):
3114         (WTF::CCLayerTreeHostTest::doEndTest):
3115         (WTF::CCLayerTreeHostTest::onEndTest):
3116         (WTF::CCLayerTreeHostTest::runTest):
3117         (WTF::CCLayerTreeHostTest::testTimeout):
3118         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
3119         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3120         (WTF::MockLayerTreeHostClient::animateAndLayout):
3121         (WTF::MockLayerTreeHostClient::updateLayers):
3122         (WTF::MockLayerTreeHostCommitter::create):
3123         (WTF::MockLayerTreeHostCommitter::commit):
3124         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
3125         (WTF::MockLayerTreeHostImpl::create):
3126         (WTF::MockLayerTreeHostImpl::beginCommit):
3127         (WTF::MockLayerTreeHostImpl::commitComplete):
3128         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
3129         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3130         (WTF::MockLayerTreeHostImplProxy::create):
3131         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
3132         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
3133         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3134         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
3135         (WTF::MockLayerTreeHost::updateLayers):
3136         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
3137         (WTF::MockLayerTreeHost::beginCommit):
3138         (WTF::MockLayerTreeHost::commitComplete):
3139         (WTF::CCLayerTreeHostTest::doBeginTest):
3140         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
3141         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
3142         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3143         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3144         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
3145         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3146         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
3147         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
3148         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3149         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
3150         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
3151         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3152         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
3153         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
3154
3155 2011-09-16  Iain Merrick  <husky@google.com>
3156
3157         [chromium] Fix CCLayerTreeHostTest
3158         https://bugs.webkit.org/show_bug.cgi?id=67418
3159
3160         Fixes needed to compile and link with USE_THREADED_COMPOSITING
3161         enabled, and to pass the basic unit test.
3162
3163         Reviewed by James Robinson.
3164
3165         * src/GraphicsContext3DChromium.cpp:
3166         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3167         (WebCore::GraphicsContext3DPrivate::platformLayer):
3168         * src/GraphicsContext3DPrivate.h:
3169         * tests/CCLayerTreeHostTest.cpp:
3170         (TestHooks::beginCommitOnCCThread):
3171         (TestHooks::commitCompleteOnCCThread):
3172         (TestHooks::drawLayersOnCCThread):
3173         (MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3174         (MockLayerTreeHostImpl::beginCommit):
3175         (MockLayerTreeHostImpl::commitComplete):
3176         (MockLayerTreeHostImpl::drawLayers):
3177         (MockLayerTreeHost::MockLayerTreeHost):
3178         (MockLayerTreeHost::createLayerTreeHostImpl):
3179         (CompositorMockWebGraphicsContext3D::makeContextCurrent):
3180         (CompositorMockWebGraphicsContext3D::createProgram):
3181         (CompositorMockWebGraphicsContext3D::createShader):
3182         (CompositorMockWebGraphicsContext3D::getShaderiv):
3183         (CompositorMockWebGraphicsContext3D::getProgramiv):
3184         (MockLayerTreeHostClient::MockLayerTreeHostClient):
3185         (MockLayerTreeHostClient::animateAndLayout):
3186         (MockLayerTreeHostClient::createCompositorThread):
3187         (MockLayerTreeHostClient::createLayerTreeHostContext3D):
3188         (MockLayerTreeHostClient::createRootLayerPainter):
3189         (MockLayerTreeHostClient::didRecreateGraphicsContext):
3190         (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
3191         (CCLayerTreeHostTest::postSetNeedsRedrawToMainThread):
3192         (CCLayerTreeHostTest::onEndTest):
3193         (CCLayerTreeHostTest::dispatchSetNeedsCommit):
3194         (CCLayerTreeHostTest::dispatchSetNeedsRedraw):
3195         (CCLayerTreeHostTest::runTest):
3196         (CCLayerTreeHostTest::doBeginTest):
3197         (CCLayerTreeHostTestShortlived2::beginTest):
3198         (CCLayerTreeHostTestShortlived3::beginTest):
3199         (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3200         (CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3201         (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
3202         (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3203         (CCLayerTreeHostTestSetNeedsCommit1::drawLayersOnCCThread):
3204         (CCLayerTreeHostTestSetNeedsCommit1::commitCompleteOnCCThread):
3205         (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3206         (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
3207         (CCLayerTreeHostTestSetNeedsCommit2::commitCompleteOnCCThread):
3208         (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3209         (CCLayerTreeHostTestSetNeedsRedraw::drawLayersOnCCThread):
3210         (CCLayerTreeHostTestSetNeedsRedraw::commitCompleteOnCCThread):
3211
3212 2011-09-16  Andrey Kosyakov  <caseq@chromium.org>
3213
3214         Web Inspector: [Extensions API] support extensions for remote inspector front-end
3215         https://bugs.webkit.org/show_bug.cgi?id=67840
3216
3217         Reviewed by Pavel Feldman.
3218
3219         - expose extension API as a single, standalone file for easy reuse in remote extension scripts.
3220
3221         * WebKit.gyp:
3222         * scripts/generate_devtools_extension_api.py: Added.
3223         * scripts/generate_devtools_zip.py:
3224
3225 2011-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
3226
3227         Web Inspector: change WebInspector.currentPanel getter/setter to functions.
3228         https://bugs.webkit.org/show_bug.cgi?id=68242
3229
3230         This is necessary for the panel switching performance tests.
3231
3232         Reviewed by Pavel Feldman.
3233
3234         * src/js/Tests.js:
3235         (.TestSuite.prototype.showPanel):
3236
3237 2011-09-15  Adam Barth  <abarth@webkit.org>
3238
3239         Sigh.  Missed this one.
3240
3241         * features.gypi:
3242 2011-09-15  Adam Barth  <abarth@webkit.org>
3243
3244         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
3245         https://bugs.webkit.org/show_bug.cgi?id=68205
3246
3247         Reviewed by Eric Seidel.
3248
3249         * src/DatabaseObserver.cpp:
3250         * src/WebDatabase.cpp:
3251         (WebKit::WebDatabase::updateDatabaseSize):
3252         (WebKit::WebDatabase::updateSpaceAvailable):
3253         (WebKit::WebDatabase::resetSpaceAvailable):
3254         (WebKit::WebDatabase::closeDatabaseImmediately):
3255         * src/WebRuntimeFeatures.cpp:
3256         (WebKit::WebRuntimeFeatures::enableDatabase):
3257         (WebKit::WebRuntimeFeatures::isDatabaseEnabled):
3258
3259 2011-09-15  Adrienne Walker  <enne@google.com>
3260
3261         [chromium] Add temporary diagnostics for LayerTreeHost::commitTo crash
3262         https://bugs.webkit.org/show_bug.cgi?id=68204
3263
3264         Reviewed by James Robinson.
3265
3266         Add CRASH calls to determine which assumptions are being violated.
3267
3268         * src/WebViewImpl.cpp:
3269         (WebKit::WebViewImpl::composite):
3270
3271 2011-09-15  David Levin  <levin@chromium.org>
3272
3273         Remove TestWebKitAPI from the chromium build until it is made to work
3274         with the shared component build.
3275
3276         * WebKit.gyp:
3277
3278 2011-09-15  Eric Seidel  <eric@webkit.org>
3279
3280         Remove ENABLE(SVG_AS_IMAGE) since all major ports have it on by default
3281         https://bugs.webkit.org/show_bug.cgi?id=68182
3282
3283         Reviewed by Adam Barth.
3284
3285         * features.gypi:
3286
3287 2011-09-15  Jon Lee  <jonlee@apple.com>
3288
3289         Submitting a form with target=_blank works only once
3290         https://bugs.webkit.org/show_bug.cgi?id=28633
3291         <rdar://problem/7357787>
3292
3293         Reviewed by Andy Estes.
3294
3295         * src/WebViewImpl.cpp:
3296         (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since
3297         it will be made in platform-independent function EventHandler::handleMousePressEvent().
3298
3299 2011-09-15  Eric Seidel  <eric@webkit.org>
3300
3301         Remove ENABLE_SVG_ANIMATION as all major ports have it on by default
3302         https://bugs.webkit.org/show_bug.cgi?id=68022
3303
3304         Reviewed by Ryosuke Niwa.
3305
3306         * features.gypi:
3307
3308 2011-09-15  James Simonsen  <simonjam@chromium.org>
3309
3310         Ref protect HTMLObjectElement and HTMLEmbedElement while requesting plugins
3311         https://bugs.webkit.org/show_bug.cgi?id=68014
3312
3313         Reviewed by Adam Barth.
3314
3315         * src/FrameLoaderClientImpl.cpp:
3316         (WebKit::FrameLoaderClientImpl::createPlugin): Moved protection up to HTMLObjectElement and HTMLEmbedElement.
3317
3318 2011-09-15  David Levin  <levin@chromium.org>
3319
3320         [chromium] Attempt to fix the shared build after r95188.
3321
3322         * WebKit.gyp:
3323
3324 2011-09-15  Brian Salomon  <bsalomon@google.com>
3325
3326         [Skia/Chrome] 
3327         https://bugs.webkit.org/show_bug.cgi?id=68096
3328
3329         This change removes WebGraphicsContext3D::grGLInterface(). It has been
3330         superceded by WebGraphicsContext3D::createGrGLInterface which sets up
3331         the per-GL call callback used to set the correct context.
3332
3333         Reviewed by Stephen White.
3334
3335         * public/WebGraphicsContext3D.h:
3336         * src/GraphicsContext3DChromium.cpp:
3337         (WebCore::GraphicsContext3DPrivate::grContext):
3338         * src/WebGraphicsContext3D.cpp:
3339         (WebKit::WebGraphicsContext3D::createGrGLInterface):
3340
3341 2011-09-15  Xianzhu Wang  <wangxianzhu@chromium.org>
3342
3343         Let TestWebKitAPI work for chromium
3344         https://bugs.webkit.org/show_bug.cgi?id=67756
3345
3346         Reviewed by Sam Weinig.
3347
3348         * WebKit.gyp:
3349
3350 2011-09-14  Hao Zheng  <zhenghao@chromium.org>
3351
3352         Remove some dependencies of DRT for Android.
3353         https://bugs.webkit.org/show_bug.cgi?id=68126
3354
3355         Reviewed by Tony Chang.
3356
3357         We don't need mesa and TestNetscapePlugIn on Android, so remove them.
3358         As copy_TNPI depends on TNPI, adding copy_TNPI is enough.
3359
3360         * WebKit.gyp:
3361
3362 2011-09-14  Peter Beverloo  <peter@chromium.org>
3363
3364         [Chromium] Make WEB_AUDIO conditional and fix the build when disabled
3365         https://bugs.webkit.org/show_bug.cgi?id=68107
3366
3367         Reviewed by Kenneth Russell.
3368
3369         * features.gypi:
3370         * src/WebMediaPlayerClientImpl.cpp:
3371         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
3372         * src/WebMediaPlayerClientImpl.h:
3373
3374 2011-09-14  John Bauman  <jbauman@chromium.org>
3375
3376         [chromium] Return correct value for getContextAttributes().preserveDrawingBuffer
3377         https://bugs.webkit.org/show_bug.cgi?id=68082
3378
3379         Reviewed by Kenneth Russell.
3380
3381         WebKit::WebGraphicsContext3D::Attributes doesn't save
3382         preserveDrawingBuffer, so that has to be saving in
3383         GraphicsContext3DPrivate.
3384
3385         * src/GraphicsContext3DChromium.cpp:
3386         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
3387         (WebCore::GraphicsContext3DPrivate::create):
3388         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
3389         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
3390         * src/GraphicsContext3DPrivate.h:
3391
3392 2011-09-14  Antoine Labour  <piman@chromium.org>
3393
3394         Remove the dependency on GraphicsLayer from CCLayerTreeHost.
3395         Move root layer management into the NonCompositedContentHost.
3396         Have WebViewImpl create a NonCompositedContentHost explicitly.
3397         https://bugs.webkit.org/show_bug.cgi?id=67883
3398
3399         Reviewed by James Robinson.
3400
3401         * src/WebViewImpl.cpp:
3402         (WebKit::WebViewImpl::setRootGraphicsLayer):
3403         (WebKit::WebViewImpl::invalidateRootLayerRect):
3404         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3405         (WebKit::WebViewImpl::updateLayerTreeViewport):
3406         (WebKit::WebViewImpl::setVisibilityState):
3407         * src/WebViewImpl.h:
3408
3409 2011-09-14  Nebojsa Ciric  <cira@chromium.org>
3410
3411         Changed WebKit.gyp to use the new grit version of the scripts that handle
3412         .pak files.
3413         https://bugs.webkit.org/show_bug.cgi?id=68013
3414
3415         Reviewed by Tony Chang.
3416
3417         * DEPS:
3418         * WebKit.gyp:
3419
3420 2011-09-14  Anders Carlsson  <andersca@apple.com>
3421
3422         Fix Chromium build.
3423
3424         * src/ResourceHandle.cpp:
3425
3426 2011-09-13  Eric Seidel  <eric@webkit.org>
3427
3428         Remove ENABLE_SVG_USE as <use> is required by HTML5
3429         https://bugs.webkit.org/show_bug.cgi?id=68019
3430
3431         Reviewed by Ryosuke Niwa.
3432
3433         * features.gypi:
3434
3435 2011-09-13  Adam Barth  <abarth@webkit.org>
3436
3437         [Chromium] The checked state of WebPopupMenuItem isn't initialized
3438         https://bugs.webkit.org/show_bug.cgi?id=67889
3439
3440         Reviewed by Darin Fisher.
3441
3442         It seems we're failing to initialize the checked state of
3443         WebPopupMenuItems, potentially because Android is the first platform to
3444         use popup menus for <select> elements.
3445
3446         * src/ExternalPopupMenu.cpp:
3447         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
3448
3449 2011-09-13  Eric Seidel  <eric@webkit.org>
3450
3451         Remove ENABLE_SVG_FOREIGN_OBJECT as it is a required part of HTML5
3452         https://bugs.webkit.org/show_bug.cgi?id=68018
3453
3454         Reviewed by Ryosuke Niwa.
3455
3456         * features.gypi:
3457
3458 2011-09-13  James Simonsen  <simonjam@chromium.org>
3459
3460         [Chromium] Ref protect element in FrameLoaderClientImpl::createPlugin
3461         https://bugs.webkit.org/show_bug.cgi?id=68014
3462
3463         Reviewed by Nate Chapin.
3464
3465         Test: plugins/destroy-during-npp-new.htm under valgrind
3466
3467         * src/FrameLoaderClientImpl.cpp:
3468         (WebKit::FrameLoaderClientImpl::createPlugin):
3469
3470 2011-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
3471
3472         Unreviewed.  Rolled DEPS.
3473
3474         * DEPS:
3475
3476 2011-09-12  Fumitoshi Ukai  <ukai@chromium.org>
3477
3478         Unreviewed. Roll DEPS again.
3479
3480         * DEPS:
3481
3482 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
3483
3484         Unreviewed, rolling out r95015.
3485         http://trac.webkit.org/changeset/95015
3486         https://bugs.webkit.org/show_bug.cgi?id=67987
3487
3488         compiled failed on Chromium Win bot (Requested by ukai on
3489         #webkit).
3490
3491         * DEPS:
3492
3493 2011-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
3494
3495         Unreviewed.  Rolled DEPS.
3496
3497         * DEPS:
3498
3499 2011-09-12  David Levin  <levin@chromium.org>
3500
3501         [chromium] Remove AllowCrossThreadAccess for WorkerFileWriterCallbacksBridge.
3502         https://bugs.webkit.org/show_bug.cgi?id=67943
3503
3504         Reviewed by Adam Barth.
3505
3506         * src/WorkerFileWriterCallbacksBridge.cpp: Removed AllowCrossThreadAccess
3507         allowing the automatic ref counting to work. This was previous needed when
3508         the ref counting wasn't working but that was fixed in r94986. Note that the
3509         design was to have ref counting since the methods take PassRefPtr and the
3510         class is ThreadSafeRefCounted. (Ideally we have noticed this flaw when
3511         adding in AllowCrossThreadAccess.)
3512         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
3513         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
3514         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
3515         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
3516         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
3517         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
3518         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
3519         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
3520         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
3521
3522 2011-09-08  Nat Duca  <nduca@chromium.org>
3523
3524         [chromium] Add GraphicsContext3DPrivate:createGraphicsContextForAnotherThread
3525         https://bugs.webkit.org/show_bug.cgi?id=67832
3526
3527         The compositor thread needs to create a GraphicsContext3D without
3528         actually making it current. In previous attempts at doing this, we
3529         modified all graphics3D creation to not make the contexts current, but
3530         this prove to be shockingly fragile. Since this is a very
3531         Chromium-specific behavior, this patch makes creationForAnotherThread a
3532         method on the private GraphicsContext3D interface.
3533         GraphicsContext3D::create behaves as usual.
3534