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