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