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