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