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