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