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