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