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