263061adc1d590b6326e5a40e6a471187d872f01
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-11-29  Nat Duca  <nduca@chromium.org>
2
3         Unreviewed. Fix clang build by using raw pointers instead of static OwnPtrs
4         for WebCompositor managment.
5
6         * src/WebCompositorImpl.cpp:
7         (WebKit::WebCompositorImpl::initialize):
8         (WebKit::WebCompositorImpl::shutdown):
9         * src/WebCompositorImpl.h:
10
11 2011-11-18  Nat Duca  <nduca@chromium.org>
12
13         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
14         https://bugs.webkit.org/show_bug.cgi?id=70838
15
16         Reviewed by James Robinson.
17
18         * public/WebCompositor.h:
19         * public/WebLayerTreeView.h:
20         (WebKit::WebLayerTreeView::Settings::Settings):
21         * public/WebSettings.h:
22         * src/WebCompositorImpl.cpp:
23         (WebKit::WebCompositor::initialize):
24         (WebKit::WebCompositor::shutdown):
25         (WebKit::WebCompositor::fromIdentifier):
26         * src/WebKit.cpp:
27         (WebKit::initializeWithoutV8):
28         * src/WebLayerTreeView.cpp:
29         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
30         (WebKit::WebLayerTreeView::composite):
31         * src/WebLayerTreeViewImpl.cpp:
32         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
33         * src/WebSettingsImpl.cpp:
34         (WebKit::WebSettingsImpl::WebSettingsImpl):
35         * src/WebSettingsImpl.h:
36         * src/WebViewImpl.cpp:
37         (WebKit::WebViewImpl::animate):
38         (WebKit::WebViewImpl::composite):
39         (WebKit::WebViewImpl::scheduleAnimation):
40         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
41         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
42         (WebKit::WebViewImpl::scheduleComposite):
43         (WebKit::WebViewImpl::graphicsContext3D):
44         * tests/CCLayerTreeHostTest.cpp:
45         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
46         (WTF::CCLayerTreeHostTest::runTest):
47
48 2011-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
49
50         Unreviewed, rolling out r101418.
51         http://trac.webkit.org/changeset/101418
52         https://bugs.webkit.org/show_bug.cgi?id=73372
53
54         Chromium renderer crashes with ENABLE(MUTATION_OBSERVERS)
55         (Requested by aklein on #webkit).
56
57         * public/platform/WebThread.h:
58         * src/WebKit.cpp:
59         (WebKit::initialize):
60         (WebKit::shutdown):
61
62 2011-11-29  Dirk Pranke  <dpranke@chromium.org>
63
64         add webkit_user_agent to DRT and webkit_unit_tests
65         https://bugs.webkit.org/show_bug.cgi?id=73362
66
67         Reviewed by Tony Chang.
68
69         In preparation for building webkit_glue as a separate component,
70         we need to explicitly declare DRT's and webkit_unit_tests'
71         dependencies on webkit_user_agent.
72
73         * WebKit.gyp:
74
75 2011-11-28  Adam Klein  <adamk@chromium.org>
76
77         [chromium] WebKitMutationObserver::deliverAllMutations should be exposed through the Chromium API
78         https://bugs.webkit.org/show_bug.cgi?id=71242
79
80         Reviewed by Darin Fisher.
81
82         Add addTaskObserver and removeTaskObserver to WebThread,
83         along with a new WebThread::TaskObserver interface.
84
85         For mutation observers, add a TaskObserver to the main thread
86         to deliver mutations after each task runs.
87
88         The Chromium side of this patch is http://codereview.chromium.org/8586038/
89
90         * public/platform/WebThread.h:
91         (WebKit::WebThread::TaskObserver::~TaskObserver):
92         * src/WebKit.cpp:
93         (WebKit::initialize):
94         (WebKit::shutdown):
95
96 2011-11-29  Pavel Feldman  <pfeldman@google.com>
97
98         Web Inspector: split Preferences into Preferences and Capabilities.
99         https://bugs.webkit.org/show_bug.cgi?id=73321
100
101         Reviewed by Yury Semikhatsky.
102
103         * src/js/DevTools.js:
104
105 2011-11-29  Jing Zhao  <jingzhao@chromium.org>
106
107         Assertion fails when opening two popup menus
108         https://bugs.webkit.org/show_bug.cgi?id=73189
109
110         Reviewed by Kent Tamura.
111
112         By using element.dispatchEvent(), a user written script can open two
113         popup menus, which causes the assertion in WebViewImpl::popupOpened()
114         fail.
115
116         Check if there is an opened popup menu before opening a popup menu.
117
118         * src/WebViewImpl.cpp:
119         (WebKit::WebViewImpl::popupOpened):
120
121 2011-11-28  David Grogan  <dgrogan@chromium.org>
122
123         WebWorkerRunLoop wrapper around WorkerRunLoop
124         https://bugs.webkit.org/show_bug.cgi?id=71757
125
126         This allows the embedder to post tasks to webcore-created worker
127         threads.  WebWorkerRunLoop is a thin wrapper that just holds a
128         WorkerRunLoop*.  As such, it is not heap allocated and can be copied.
129
130         Reviewed by Darin Fisher.
131
132         * WebKit.gyp: Added WebWorkerRunLoop.{cpp,h}
133
134         * public/WebWorkerRunLoop.h: Added. Interface the embedder will use to
135         post Tasks to worker threads created in WebCore.
136         (WebKit::WebWorkerRunLoop::Task::~Task):
137         (WebKit::operator==): These are the operators necessary to allow
138         WebWorkerRunLoop to be used as a key in a std::map using the value of
139         the underlying WebCore::WorkerRunLoop* for the meaningful comparisons.
140         (WebKit::operator<):
141
142         * public/platform/WebKitPlatformSupport.h: Stubs for the embedder to
143         implement.
144         (WebKit::WebKitPlatformSupport::didStartWorkerRunLoop):
145         (WebKit::WebKitPlatformSupport::didStopWorkerRunLoop):
146
147         * src/PlatformSupport.cpp: Wrap incoming WorkerRunLoop objects in
148         WebWorkerRunLoopImpl objects, forward them to WebKitPlatformSupport.
149         (WebCore::PlatformSupport::didStartWorkerRunLoop):
150         (WebCore::PlatformSupport::didStopWorkerRunLoop):
151
152         * src/WebWorkerRunLoop.cpp: Added.
153         (WebKit::WebWorkerRunLoop::WebWorkerRunLoop): Store incoming
154         WorkerRunLoop pointer.
155         (WebKit::WebWorkerRunLoop::postTask): Wrap incoming Task in
156         ScriptExecutionContext::Task, post to stored WorkerRunLoop.
157         (WebKit::WebWorkerRunLoop::equals): Support for the operators mentioned
158         above.
159         (WebKit::WebWorkerRunLoop::lessThan): Ditto.
160
161 2011-11-29  Roland Steiner  <rolandsteiner@chromium.org>
162
163         <style scoped>: add ENABLE(STYLE_SCOPED) flag to WebKit
164         https://bugs.webkit.org/show_bug.cgi?id=72848
165
166         Reviewed by Dimitri Glazkov.
167
168         * features.gypi:
169
170 2011-11-28  Shawn Singh  <shawnsingh@chromium.org>
171
172         [chromium] Create CCDamageTracker class to determine regions of change for a surface.
173         https://bugs.webkit.org/show_bug.cgi?id=72520
174
175         Reviewed by James Robinson.
176
177         * WebKit.gypi:
178         * tests/CCDamageTrackerTest.cpp: Added.
179         (WebKitTests::executeCalculateDrawTransformsAndVisibility):
180         (WebKitTests::emulateDrawingOneFrame):
181         (WebKitTests::createTestTreeWithOneSurface):
182         (WebKitTests::createTestTreeWithTwoSurfaces):
183         (WebKitTests::createAndSetUpTestTreeWithOneSurface):
184         (WebKitTests::createAndSetUpTestTreeWithTwoSurfaces):
185         (WebKitTests::TEST_F):
186         * tests/CCLayerImplTest.cpp:
187         (WebCore::TEST):
188         * tests/CCLayerTreeHostCommonTest.cpp:
189         (WebCore::TEST):
190         * tests/CCLayerTreeTestCommon.h: Added.
191         * tests/CCRenderSurfaceTest.cpp:
192         (WebCore::TEST):
193         * tests/LayerChromiumTest.cpp:
194
195 2011-11-28  Jon Lee  <jonlee@apple.com>
196
197         Possible fix for test failures in r101307.
198
199         * src/WebViewImpl.cpp:
200         (WebKit::WebViewImpl::WebViewImpl):
201
202 2011-11-28  Jon Lee  <jonlee@apple.com>
203
204         Create skeleton framework for notifications support in WK2
205         https://bugs.webkit.org/show_bug.cgi?id=73253
206         <rdar://problem/10356943>
207
208         Reviewed by Sam Weinig.
209
210         Remove notificationPresenter() from the chrome client, since it is now managed by
211         the notification controller.
212
213         * src/ChromeClientImpl.cpp:
214         * src/ChromeClientImpl.h:
215         * src/WebNotification.cpp:
216         (WebKit::WebNotification::title): Refactoring with NotificationContents conversion to struct.
217         (WebKit::WebNotification::body): Ditto.
218         * src/WebViewImpl.cpp:
219         (WebKit::WebViewImpl::WebViewImpl): Set notification client in web view's page clients.
220
221 2011-11-28  Beth Dakin  <bdakin@apple.com>
222
223         Speculative Chromium build fix.
224
225         * src/ScrollbarGroup.cpp:
226         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
227         * src/ScrollbarGroup.h:
228
229 2011-11-28  Dana Jansens  <danakj@chromium.org>
230
231         FloatQuad::isRectilinear() returns false for 180degree rotations
232         https://bugs.webkit.org/show_bug.cgi?id=73040
233
234         Reviewed by James Robinson.
235
236         * WebKit.gypi:
237         * tests/FloatQuadTest.cpp: Added.
238         (WebCore::TEST):
239
240 2011-11-28  Sheriff Bot  <webkit.review.bot@gmail.com>
241
242         Unreviewed, rolling out r101273.
243         http://trac.webkit.org/changeset/101273
244         https://bugs.webkit.org/show_bug.cgi?id=73244
245
246         multiple test failures and timeouts (Requested by tony^work on
247         #webkit).
248
249         * WebKit.gyp:
250
251 2011-11-28  Fady Samuel  <fsamuel@chromium.org>
252
253         [Chromium] Fix broken DRT build for Aura Linux
254         https://bugs.webkit.org/show_bug.cgi?id=72667
255
256         Reviewed by Tony Chang.
257
258         * WebKit.gyp:
259
260 2011-11-28  Adam Barth  <abarth@webkit.org>
261
262         [Chromium] Move "final" batch of headers into public/platform
263         https://bugs.webkit.org/show_bug.cgi?id=73198
264
265         Reviewed by Darin Fisher.
266
267         This patch moves another group of headers into the platform directory.
268         I found these headers by reading through the list of headers and
269         coorelating them with WebCore concepts.  This patch doesn't move all
270         the APIs that coorespond to WebCore platform concepts because some,
271         such as WebFontCache, are not used to support the WebCore platform but
272         rather to provide the embedder access to the WebCore concept.  This
273         patch should be the last bulk move of headers.
274
275         There are two main groups of headers that make up the bulk of this
276         patch:
277
278         1) URLLoader-related headers.
279         2) Geometry-related headers.
280
281         * public/WebArrayBufferView.h: Replaced.
282         * public/WebBlobData.h: Replaced.
283         * public/WebCookie.h: Replaced.
284         * public/WebExternalTextureLayer.h: Update include.
285         * public/WebFloatPoint.h: Replaced.
286         * public/WebFloatQuad.h: Replaced.
287         * public/WebFloatRect.h: Replaced.
288         * public/WebFrameClient.h: Update include.
289         * public/WebHTTPBody.h: Replaced.
290         * public/WebHTTPHeaderVisitor.h: Replaced.
291         * public/WebHTTPLoadInfo.h: Replaced.
292         * public/WebThreadSafeData.h: Replaced.
293         * public/WebURLError.h: Replaced.
294         * public/WebURLLoadTiming.h: Replaced.
295         * public/WebURLLoaderClient.h: Replaced.
296         * public/WebURLRequest.h: Replaced.
297         * public/WebURLResponse.h: Replaced.
298         * public/platform/WebArrayBufferView.h: Copied from Source/WebKit/chromium/public/WebArrayBufferView.h.
299         * public/platform/WebBlobData.h: Copied from Source/WebKit/chromium/public/WebBlobData.h.
300         * public/platform/WebCookie.h: Copied from Source/WebKit/chromium/public/WebCookie.h.
301         * public/platform/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/WebFloatPoint.h.
302         * public/platform/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/WebFloatQuad.h.
303         * public/platform/WebFloatRect.h: Copied from Source/WebKit/chromium/public/WebFloatRect.h.
304         * public/platform/WebHTTPBody.h: Copied from Source/WebKit/chromium/public/WebHTTPBody.h.
305         * public/platform/WebHTTPHeaderVisitor.h: Copied from Source/WebKit/chromium/public/WebHTTPHeaderVisitor.h.
306         * public/platform/WebHTTPLoadInfo.h: Copied from Source/WebKit/chromium/public/WebHTTPLoadInfo.h.
307         * public/platform/WebThreadSafeData.h: Copied from Source/WebKit/chromium/public/WebThreadSafeData.h.
308         * public/platform/WebURLError.h: Copied from Source/WebKit/chromium/public/WebURLError.h.
309         * public/platform/WebURLLoadTiming.h: Copied from Source/WebKit/chromium/public/WebURLLoadTiming.h.
310         * public/platform/WebURLLoader.h: Remove FIXME.
311         * public/platform/WebURLLoaderClient.h: Copied from Source/WebKit/chromium/public/WebURLLoaderClient.h.
312         * public/platform/WebURLRequest.h: Copied from Source/WebKit/chromium/public/WebURLRequest.h.
313         * public/platform/WebURLResponse.h: Copied from Source/WebKit/chromium/public/WebURLResponse.h.
314
315 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
316
317         [Chromium] Web Inspector: delete WebDevToolsAgent::frontendLoaded
318         https://bugs.webkit.org/show_bug.cgi?id=73131
319
320         Now that the method is not used in Chromium we can delete it.
321
322         Reviewed by Pavel Feldman.
323
324         * public/WebDevToolsAgent.h:
325         * src/WebDevToolsAgentImpl.cpp:
326         * src/WebDevToolsAgentImpl.h:
327
328 2011-11-28  Adam Barth  <abarth@webkit.org>
329
330         Update some sloppy includes.
331
332         * public/platform/linux/WebSandboxSupport.h:
333         * public/platform/win/WebThemeEngine.h:
334
335 2011-11-28  Adam Barth  <abarth@webkit.org>
336
337         More forwarding headers.  Turns out I forgot to svn add them.  :(
338
339         * public/android/WebSandboxSupport.h: Added.
340         * public/linux/WebFontFamily.h: Added.
341         * public/linux/WebSandboxSupport.h: Added.
342         * public/mac/WebSandboxSupport.h: Added.
343         * public/win/WebSandboxSupport.h: Added.
344
345 2011-11-28  Adam Barth  <abarth@webkit.org>
346
347         Add missing forwaring headers.
348
349         * public/android/WebThemeEngine.h: Added.
350         * public/linux/WebThemeEngine.h: Added.
351         * public/mac/WebThemeEngine.h: Added.
352         * public/win/WebThemeEngine.h: Added.
353
354 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
355
356         Unreviewed. Revert r101226.
357
358         * DEPS:
359
360 2011-11-27  Yury Semikhatsky  <yurys@chromium.org>
361
362         Unreviewed. Update Chromium revision.
363
364         * DEPS:
365
366 2011-11-24  Adam Barth  <abarth@webkit.org>
367
368         [Chromium] Move the next traunch of headers into public/platform
369         https://bugs.webkit.org/show_bug.cgi?id=73073
370
371         Reviewed by Darin Fisher.
372
373         These headers are all the forward-declared classes in
374         WebKitPlatformSupport (and their dependencies) that wrap concepts in
375         WebCore/platform.
376
377         There are a number of forward-declared classes in WebKitPlatformSupport
378         that coorespond to WebCore concepts outside of WebCore/platform.  I've
379         marked these with FIXME comments.  We'll need to study them in more
380         detail to see whether they should move into WebCore/platform or whether
381         we need to move them out of WebKitPlaformSupport.h.  (One possible
382         resolution might be to introducing a WebKitClientSupport.h to hold
383         statics for client concepts).
384
385         * public/WebBlobRegistry.h: Replaced.
386         * public/WebCanvas.h: Replaced.
387         * public/WebClipboard.h: Replaced.
388         * public/WebColor.h: Replaced.
389         * public/WebColorName.h: Replaced.
390         * public/WebCommonWorkerClient.h:
391         * public/WebCompositionUnderline.h:
392         * public/WebContentLayerClient.h:
393         * public/WebContextMenuData.h:
394         * public/WebCookieJar.h: Replaced.
395         * public/WebCursorInfo.h:
396         * public/WebDragData.h: Replaced.
397         * public/WebFileSystem.h: Replaced.
398         * public/WebFloatQuad.h:
399         * public/WebFont.h:
400         * public/WebFrame.h:
401         * public/WebFrameClient.h:
402         * public/WebGeolocationController.h:
403         * public/WebGeolocationPermissionRequestManager.h:
404         * public/WebGraphicsContext3D.h: Replaced.
405         * public/WebHTTPBody.h:
406         * public/WebImage.h: Replaced.
407         * public/WebImageDecoder.h:
408         * public/WebLayer.h:
409         * public/WebMediaPlayer.h:
410         * public/WebMediaStreamDescriptor.h: Replaced.
411         * public/WebMediaStreamSource.h:
412         * public/WebMimeRegistry.h: Replaced.
413         * public/WebNonCopyable.h: Replaced.
414         * public/WebPeerConnectionHandler.h: Replaced.
415         * public/WebPeerConnectionHandlerClient.h: Replaced.
416         * public/WebPlugin.h:
417         * public/WebPoint.h: Replaced.
418         * public/WebRect.h: Replaced.
419         * public/WebRegularExpression.h:
420         * public/WebScreenInfo.h:
421         * public/WebScrollbar.h:
422         * public/WebSize.h: Replaced.
423         * public/WebSocketStreamError.h: Replaced.
424         * public/WebSocketStreamHandle.h: Replaced.
425         * public/WebSocketStreamHandleClient.h: Replaced.
426         * public/WebThread.h: Replaced.
427         * public/WebTouchPoint.h:
428         * public/WebURLLoader.h: Replaced.
429         * public/WebWidget.h:
430         * public/WebWidgetClient.h:
431         * public/android/WebSandboxSupport.h: Removed.
432         * public/android/WebThemeEngine.h: Removed.
433         * public/linux/WebFontFamily.h: Removed.
434         * public/linux/WebSandboxSupport.h: Removed.
435         * public/linux/WebThemeEngine.h: Removed.
436         * public/mac/WebSandboxSupport.h: Removed.
437         * public/mac/WebThemeEngine.h: Removed.
438         * public/platform/WebBlobRegistry.h: Copied from Source/WebKit/chromium/public/WebBlobRegistry.h.
439         * public/platform/WebCanvas.h: Copied from Source/WebKit/chromium/public/WebCanvas.h.
440         * public/platform/WebClipboard.h: Copied from Source/WebKit/chromium/public/WebClipboard.h.
441         * public/platform/WebColor.h: Copied from Source/WebKit/chromium/public/WebColor.h.
442         * public/platform/WebColorName.h: Copied from Source/WebKit/chromium/public/WebColorName.h.
443         * public/platform/WebCookieJar.h: Copied from Source/WebKit/chromium/public/WebCookieJar.h.
444         * public/platform/WebDragData.h: Copied from Source/WebKit/chromium/public/WebDragData.h.
445         * public/platform/WebFileSystem.h: Copied from Source/WebKit/chromium/public/WebFileSystem.h.
446         * public/platform/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/WebGraphicsContext3D.h.
447         * public/platform/WebImage.h: Copied from Source/WebKit/chromium/public/WebImage.h.
448         * public/platform/WebKitPlatformSupport.h:
449         * public/platform/WebMediaStreamDescriptor.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
450         * public/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/WebMimeRegistry.h.
451         * public/platform/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/WebNonCopyable.h.
452         * public/platform/WebPeerConnectionHandler.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandler.h.
453         * public/platform/WebPeerConnectionHandlerClient.h: Copied from Source/WebKit/chromium/public/WebPeerConnectionHandlerClient.h.
454         * public/platform/WebPoint.h: Copied from Source/WebKit/chromium/public/WebPoint.h.
455         * public/platform/WebRect.h: Copied from Source/WebKit/chromium/public/WebRect.h.
456         * public/platform/WebSize.h: Copied from Source/WebKit/chromium/public/WebSize.h.
457         * public/platform/WebSocketStreamError.h: Copied from Source/WebKit/chromium/public/WebSocketStreamError.h.
458         * public/platform/WebSocketStreamHandle.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandle.h.
459         * public/platform/WebSocketStreamHandleClient.h: Copied from Source/WebKit/chromium/public/WebSocketStreamHandleClient.h.
460         * public/platform/WebThread.h: Copied from Source/WebKit/chromium/public/WebThread.h.
461         * public/platform/WebURLLoader.h: Copied from Source/WebKit/chromium/public/WebURLLoader.h.
462         * public/platform/android: Added.
463         * public/platform/android/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/android/WebSandboxSupport.h.
464         * public/platform/android/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/android/WebThemeEngine.h.
465         * public/platform/linux: Added.
466         * public/platform/linux/WebFontFamily.h: Copied from Source/WebKit/chromium/public/linux/WebFontFamily.h.
467         * public/platform/linux/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/linux/WebSandboxSupport.h.
468         * public/platform/linux/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/linux/WebThemeEngine.h.
469         (WebKit::WebThemeEngine::paint):
470         * public/platform/mac: Added.
471         * public/platform/mac/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/mac/WebSandboxSupport.h.
472         * public/platform/mac/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/mac/WebThemeEngine.h.
473         (WebKit::WebThemeEngine::paintScrollbarThumb):
474         * public/platform/win: Added.
475         * public/platform/win/WebSandboxSupport.h: Copied from Source/WebKit/chromium/public/win/WebSandboxSupport.h.
476         * public/platform/win/WebThemeEngine.h: Copied from Source/WebKit/chromium/public/win/WebThemeEngine.h.
477         * public/win/WebSandboxSupport.h: Removed.
478         * public/win/WebThemeEngine.h: Removed.
479
480 2011-11-27  Tommy Widenflycht  <tommyw@google.com>
481
482         [chromium] MediaStream API: Updating the licences to the correct one.
483         https://bugs.webkit.org/show_bug.cgi?id=73129
484
485         Replacing the incorrect ones I have submitted with the correct ones.
486
487         Reviewed by Darin Fisher.
488
489         * bridge/PeerConnectionHandler.cpp:
490         * bridge/PeerConnectionHandlerInternal.cpp:
491         * bridge/PeerConnectionHandlerInternal.h:
492         * public/WebMediaStreamDescriptor.h:
493         * public/WebMediaStreamRegistry.h:
494         * public/WebMediaStreamSource.h:
495         * public/WebPeerConnectionHandler.h:
496         * public/WebPeerConnectionHandlerClient.h:
497         * src/WebMediaStreamDescriptor.cpp:
498         * src/WebMediaStreamRegistry.cpp:
499         * src/WebMediaStreamSource.cpp:
500
501 2011-11-26  Pavel Feldman  <pfeldman@google.com>
502
503         Web Inspector: remove disconnectFromBackend from the protocol.
504         https://bugs.webkit.org/show_bug.cgi?id=73127
505
506         We should instead use InspectorClient::closeInspectorFrontend that would
507         be closing the front-end window.
508
509         Reviewed by Yury Semikhatsky.
510
511         * src/InspectorClientImpl.cpp:
512         (WebKit::InspectorClientImpl::closeInspectorFrontend):
513         * src/InspectorClientImpl.h:
514         * src/InspectorFrontendClientImpl.cpp:
515         * src/InspectorFrontendClientImpl.h:
516         * src/WebDevToolsAgentImpl.cpp:
517         (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
518         (WebKit::WebDevToolsAgent::disconnectEventAsText):
519         * src/WebDevToolsAgentImpl.h:
520
521 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
522
523         Unreviewed, rolling out r101193.
524         http://trac.webkit.org/changeset/101193
525         https://bugs.webkit.org/show_bug.cgi?id=73158
526
527         Breaks Windows and Qt minimal. (Requested by pfeldman on
528         #webkit).
529
530         * src/InspectorClientImpl.cpp:
531         * src/InspectorClientImpl.h:
532         * src/InspectorFrontendClientImpl.cpp:
533         (WebKit::InspectorFrontendClientImpl::disconnectFromBackend):
534         * src/InspectorFrontendClientImpl.h:
535         * src/WebDevToolsAgentImpl.cpp:
536         (WebKit::WebDevToolsAgent::disconnectEventAsText):
537         * src/WebDevToolsAgentImpl.h:
538
539 2011-11-26  Pavel Feldman  <pfeldman@google.com>
540
541         Web Inspector: remove disconnectFromBackend from the protocol.
542         https://bugs.webkit.org/show_bug.cgi?id=73127
543
544         We should instead use InspectorClient::closeInspectorFrontend that would
545         be closing the front-end window.
546
547         Reviewed by Yury Semikhatsky.
548
549         * src/InspectorClientImpl.cpp:
550         (WebKit::InspectorClientImpl::closeInspectorFrontend):
551         * src/InspectorClientImpl.h:
552         * src/InspectorFrontendClientImpl.cpp:
553         * src/InspectorFrontendClientImpl.h:
554         * src/WebDevToolsAgentImpl.cpp:
555         (WebKit::WebDevToolsAgentImpl::closeInspectorFrontend):
556         (WebKit::WebDevToolsAgent::disconnectEventAsText):
557         * src/WebDevToolsAgentImpl.h:
558
559 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
560
561         [Chromium] Web Inspector: assertion failure in InspectorController::restoreInspectorStateFromCookie
562         https://bugs.webkit.org/show_bug.cgi?id=73136
563
564         Don't call connectFrontend twice on reattach.
565
566         Reviewed by Pavel Feldman.
567
568         * src/WebDevToolsAgentImpl.cpp:
569         (WebKit::WebDevToolsAgentImpl::reattach):
570
571 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
572
573         Unreviewed. Chromium build fix.
574
575         * public/WebDevToolsFrontendClient.h:
576         (WebKit::WebDevToolsFrontendClient::sendFrontendLoaded): dowsntream implementation
577         with OVERRIDE modifier fails to compile without this stub.
578
579 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
580
581         [Chromium] Web Inspector: get rid of WebDevToolsFrontendClient::sendFrontendLoaded method
582         https://bugs.webkit.org/show_bug.cgi?id=73126
583
584         No need to have a separate client call for this. The front-end can store messages
585         which arrive before front-end loaded and dispatch them later. This happens in layout
586         tests only by the way as all other messages should be initiated by the front-end code.
587
588         Reviewed by Pavel Feldman.
589
590         * public/WebDevToolsFrontendClient.h:
591         * src/WebDevToolsAgentImpl.cpp:
592         (WebKit::WebDevToolsAgentImpl::attach):
593         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
594         * src/WebDevToolsFrontendImpl.cpp:
595         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
596         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
597         (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
598         (WebKit::WebDevToolsFrontendImpl::doDispatchOnInspectorFrontend):
599         * src/WebDevToolsFrontendImpl.h:
600
601 2011-11-24  Yury Semikhatsky  <yurys@chromium.org>
602
603         [Chromium] Web Inspector: remove legacy debugger support
604         https://bugs.webkit.org/show_bug.cgi?id=73081
605
606         Removed classed providing access to V8 debugging protocol. Clients should
607         use Web Inspector protocol instead.
608
609         Reviewed by Pavel Feldman.
610
611         * WebKit.gyp:
612         * public/WebDevToolsAgent.h:
613         * public/WebDevToolsAgentClient.h:
614         * src/DebuggerAgentImpl.cpp: Removed.
615         * src/DebuggerAgentImpl.h: Removed.
616         * src/DebuggerAgentManager.cpp: Removed.
617         * src/DebuggerAgentManager.h: Removed.
618         * src/WebDevToolsAgentImpl.cpp:
619         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
620         (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
621         (WebKit::WebDevToolsAgentImpl::attach):
622         (WebKit::WebDevToolsAgentImpl::detach):
623         (WebKit::WebDevToolsAgentImpl::didNavigate):
624         (WebKit::WebDevToolsAgentImpl::didClearWindowObject):
625         * src/WebDevToolsAgentImpl.h:
626
627 2011-11-25  Yury Semikhatsky  <yurys@chromium.org>
628
629         Unreviewed. Update Chromium deps revision to 111575
630
631         * DEPS:
632
633 2011-11-24  Fady Samuel  <fsamuel@chromium.org>
634
635         [Chromium] Removed obsolete touchui flag
636         https://bugs.webkit.org/show_bug.cgi?id=73067
637
638         Reviewed by Tony Chang.
639
640         * features.gypi:
641
642 2011-11-24  Joshua Bell  <jsbell@chromium.org>
643
644         IndexedDB: Indexes should be secondarily sorted on primary key
645         https://bugs.webkit.org/show_bug.cgi?id=72567
646
647         Reviewed by Tony Chang.
648
649         Updates the IndexDataKey unit tests to include primary keys. The
650         deprecated sequenceNumber element of IndexDataKey is still tested,
651         although no longer used by callers.
652
653         * tests/IDBLevelDBCodingTest.cpp:
654         (IDBLevelDBCoding::TEST):
655
656 2011-11-23  Greg Billock  <gbillock@google.com>
657
658         Add simple implementation for web intents chromium API data classes.
659         https://bugs.webkit.org/show_bug.cgi?id=73036
660
661         Reviewed by Darin Fisher.
662
663         * WebKit.gyp:
664         * public/WebIntent.h:
665         * public/WebIntentServiceInfo.h:
666         * src/WebIntent.cpp: Copied from Source/WebKit/chromium/public/WebIntent.h.
667         (WebKit::WebIntent::WebIntent):
668         (WebKit::WebIntent::action):
669         (WebKit::WebIntent::setAction):
670         (WebKit::WebIntent::type):
671         (WebKit::WebIntent::setType):
672         (WebKit::WebIntent::data):
673         (WebKit::WebIntent::setData):
674         (WebKit::WebIntent::identifier):
675         (WebKit::WebIntent::setIdentifier):
676         * src/WebIntentServiceInfo.cpp: Copied from Source/WebKit/chromium/public/WebIntentServiceInfo.h.
677         (WebKit::WebIntentServiceInfo::WebIntentServiceInfo):
678         (WebKit::WebIntentServiceInfo::url):
679         (WebKit::WebIntentServiceInfo::setURL):
680         (WebKit::WebIntentServiceInfo::title):
681         (WebKit::WebIntentServiceInfo::setTitle):
682         (WebKit::WebIntentServiceInfo::action):
683         (WebKit::WebIntentServiceInfo::setAction):
684         (WebKit::WebIntentServiceInfo::type):
685         (WebKit::WebIntentServiceInfo::setType):
686         (WebKit::WebIntentServiceInfo::disposition):
687         (WebKit::WebIntentServiceInfo::setDisposition):
688
689 2011-11-23  Adam Barth  <abarth@webkit.org>
690
691         [Chromium] Move WebKitPlatformSupport.h and dependencies to new public/platform directory
692         https://bugs.webkit.org/show_bug.cgi?id=73066
693
694         Reviewed by Darin Fisher.
695
696         This patch creates a new subdirectory in the Chromium WebKit API to
697         house "platform" header files.  As with the other Platform directories
698         in WebKit, the platform directory cannot depend on headers outside of
699         platform, but headers outside of platform can depend on platform.
700
701         This patch moves WebKitPlatformSupport and its dependencies into this
702         new directory and creates forwarding headers to easy migration for
703         embedders of this API.  Over time, we will migrate more headers into
704         this folder, as appropriate.
705
706         * public/WebAccessibilityObject.h:
707         * public/WebAccessibilityRole.h:
708         * public/WebAnimationController.h:
709         * public/WebApplicationCacheHost.h:
710         * public/WebApplicationCacheHostClient.h:
711         * public/WebArrayBufferView.h:
712         * public/WebAttribute.h:
713         * public/WebAudioBus.h: Replaced.
714         * public/WebAudioDevice.h: Replaced.
715         * public/WebAudioSourceProvider.h:
716         * public/WebBindings.h:
717         * public/WebBlob.h:
718         * public/WebBlobData.h:
719         * public/WebBlobRegistry.h:
720         * public/WebCString.h: Replaced.
721         * public/WebCache.h:
722         * public/WebCanvas.h:
723         * public/WebClipboard.h:
724         * public/WebColor.h:
725         * public/WebCommon.h: Replaced.
726         * public/WebCommonWorkerClient.h:
727         * public/WebCompositor.h:
728         * public/WebConsoleMessage.h:
729         * public/WebContentLayer.h:
730         * public/WebContextMenuData.h:
731         * public/WebCookie.h:
732         * public/WebCrossOriginPreflightResultCache.h:
733         * public/WebDOMEvent.h:
734         * public/WebDOMEventListener.h:
735         * public/WebDOMStringList.h:
736         * public/WebData.h: Replaced.
737         * public/WebDataSource.h:
738         * public/WebDatabase.h:
739         * public/WebDevToolsAgent.h:
740         * public/WebDevToolsAgentClient.h:
741         * public/WebDevToolsFrontend.h:
742         * public/WebDeviceOrientationClientMock.h:
743         * public/WebDeviceOrientationController.h:
744         * public/WebDocument.h:
745         * public/WebDragData.h:
746         * public/WebExternalPopupMenuClient.h:
747         * public/WebExternalTextureLayer.h:
748         * public/WebFileChooserParams.h:
749         * public/WebFileInfo.h:
750         * public/WebFileSystem.h:
751         * public/WebFileSystemCallbacks.h:
752         * public/WebFileSystemEntry.h:
753         * public/WebFileUtilities.h:
754         * public/WebFileWriter.h:
755         * public/WebFileWriterClient.h:
756         * public/WebFindOptions.h:
757         * public/WebFloatPoint.h:
758         * public/WebFloatQuad.h:
759         * public/WebFloatRect.h:
760         * public/WebFont.h:
761         * public/WebFontCache.h:
762         * public/WebFontDescription.h:
763         * public/WebFormControlElement.h:
764         * public/WebFormElement.h:
765         * public/WebFrame.h:
766         * public/WebFrameClient.h:
767         * public/WebGamepad.h: Replaced.
768         * public/WebGamepads.h: Replaced.
769         * public/WebGeolocationClientMock.h:
770         * public/WebGeolocationController.h:
771         * public/WebGeolocationError.h:
772         * public/WebGeolocationPermissionRequest.h:
773         * public/WebGeolocationPermissionRequestManager.h:
774         * public/WebGeolocationPosition.h:
775         * public/WebGlyphCache.h:
776         * public/WebGraphicsContext3D.h:
777         * public/WebHTTPBody.h:
778         * public/WebHTTPLoadInfo.h:
779         * public/WebHistoryItem.h:
780         * public/WebIDBCallbacks.h:
781         * public/WebIDBCursor.h:
782         * public/WebIDBDatabase.h:
783         * public/WebIDBDatabaseCallbacks.h:
784         * public/WebIDBDatabaseError.h:
785         * public/WebIDBFactory.h:
786         * public/WebIDBIndex.h:
787         * public/WebIDBKey.h:
788         * public/WebIDBKeyPath.h:
789         * public/WebIDBKeyRange.h:
790         * public/WebIDBObjectStore.h:
791         * public/WebIDBTransaction.h:
792         * public/WebIDBTransactionCallbacks.h:
793         * public/WebIconURL.h:
794         * public/WebImage.h:
795         * public/WebInputEvent.h:
796         * public/WebKit.h:
797         * public/WebKitPlatformSupport.h: Replaced.
798         * public/WebLayer.h:
799         * public/WebLayerTreeView.h:
800         * public/WebLocalizedString.h: Replaced.
801         * public/WebMediaPlayer.h:
802         * public/WebMediaStreamDescriptor.h:
803         * public/WebMediaStreamRegistry.h:
804         * public/WebMediaStreamSource.h:
805         * public/WebMenuItemInfo.h:
806         * public/WebMessagePortChannel.h:
807         * public/WebMimeRegistry.h:
808         * public/WebNamedNodeMap.h:
809         * public/WebNetworkStateNotifier.h:
810         * public/WebNode.h:
811         * public/WebNodeCollection.h:
812         * public/WebNodeList.h:
813         * public/WebNotification.h:
814         * public/WebNotificationPresenter.h:
815         * public/WebOptionElement.h:
816         * public/WebPageSerializer.h:
817         * public/WebPasswordFormData.h:
818         * public/WebPeerConnectionHandler.h:
819         * public/WebPerformance.h:
820         * public/WebPlugin.h:
821         * public/WebPluginParams.h:
822         * public/WebPoint.h:
823         * public/WebPopupMenu.h:
824         * public/WebPopupMenuInfo.h:
825         * public/WebPrivateOwnPtr.h: Replaced.
826         * public/WebPrivatePtr.h: Replaced.
827         * public/WebRange.h:
828         * public/WebRect.h:
829         * public/WebRegularExpression.h:
830         * public/WebRuntimeFeatures.h:
831         * public/WebScriptController.h:
832         * public/WebScriptSource.h:
833         * public/WebScrollbar.h:
834         * public/WebSearchableFormData.h:
835         * public/WebSecurityOrigin.h:
836         * public/WebSecurityPolicy.h:
837         * public/WebSelectElement.h:
838         * public/WebSerializedScriptValue.h: Replaced.
839         * public/WebSettings.h:
840         * public/WebSharedWorker.h:
841         * public/WebSharedWorkerRepository.h:
842         * public/WebSize.h:
843         * public/WebSocket.h:
844         * public/WebSocketClient.h:
845         * public/WebSocketStreamError.h:
846         * public/WebSocketStreamHandle.h:
847         * public/WebSocketStreamHandleClient.h:
848         * public/WebSpeechInputController.h:
849         * public/WebSpeechInputResult.h:
850         * public/WebSpellCheckClient.h:
851         * public/WebStorageArea.h:
852         * public/WebStorageEventDispatcher.h:
853         * public/WebStorageNamespace.h:
854         * public/WebString.h: Replaced.
855         * public/WebTestingSupport.h:
856         * public/WebTextCheckingCompletion.h:
857         * public/WebTextCheckingResult.h:
858         * public/WebTextRun.h:
859         * public/WebThread.h:
860         * public/WebThreadSafeData.h:
861         * public/WebTouchPoint.h:
862         * public/WebURL.h: Replaced.
863         * public/WebURLError.h:
864         * public/WebURLLoadTiming.h:
865         * public/WebURLLoader.h:
866         * public/WebURLRequest.h:
867         * public/WebURLResponse.h:
868         * public/WebUserMediaRequest.h:
869         * public/WebVector.h: Replaced.
870         * public/WebView.h:
871         * public/WebViewClient.h:
872         * public/WebWidget.h:
873         * public/WebWidgetClient.h:
874         * public/WebWindowFeatures.h:
875         * public/android/WebInputEventFactory.h:
876         * public/gtk/WebInputEventFactory.h:
877         * public/linux/WebFontFamily.h:
878         * public/linux/WebFontInfo.h:
879         * public/linux/WebFontRenderStyle.h:
880         * public/linux/WebFontRendering.h:
881         * public/linux/WebRenderTheme.h:
882         * public/linux/WebSandboxSupport.h:
883         * public/mac/WebInputEventFactory.h:
884         * public/mac/WebScreenInfoFactory.h:
885         * public/platform: Added.
886         * public/platform/WebAudioBus.h: Copied from Source/WebKit/chromium/public/WebAudioBus.h.
887         * public/platform/WebAudioDevice.h: Copied from Source/WebKit/chromium/public/WebAudioDevice.h.
888         * public/platform/WebCString.h: Copied from Source/WebKit/chromium/public/WebCString.h.
889         * public/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/WebCommon.h.
890         * public/platform/WebData.h: Copied from Source/WebKit/chromium/public/WebData.h.
891         * public/platform/WebGamepad.h: Copied from Source/WebKit/chromium/public/WebGamepad.h.
892         * public/platform/WebGamepads.h: Copied from Source/WebKit/chromium/public/WebGamepads.h.
893         * public/platform/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitPlatformSupport.h.
894         * public/platform/WebLocalizedString.h: Copied from Source/WebKit/chromium/public/WebLocalizedString.h.
895         * public/platform/WebPrivateOwnPtr.h: Copied from Source/WebKit/chromium/public/WebPrivateOwnPtr.h.
896         * public/platform/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/WebPrivatePtr.h.
897         * public/platform/WebSerializedScriptValue.h: Copied from Source/WebKit/chromium/public/WebSerializedScriptValue.h.
898         * public/platform/WebString.h: Copied from Source/WebKit/chromium/public/WebString.h.
899         * public/platform/WebURL.h: Copied from Source/WebKit/chromium/public/WebURL.h.
900         * public/platform/WebVector.h: Copied from Source/WebKit/chromium/public/WebVector.h.
901         * public/win/WebInputEventFactory.h:
902         * public/win/WebScreenInfoFactory.h:
903         * public/x11/WebScreenInfoFactory.h:
904
905 2011-11-23  Adam Barth  <abarth@webkit.org>
906
907         [Chromium] Remove unused WebSecurityOrigin::isEmpty from WebKit API
908         https://bugs.webkit.org/show_bug.cgi?id=73065
909
910         Reviewed by Eric Seidel.
911
912         This API no longer has any callers.
913
914         * public/WebSecurityOrigin.h:
915         * src/WebSecurityOrigin.cpp:
916         (WebKit::WebSecurityOrigin::isUnique):
917
918 2011-11-23  Dmitry Lomov  <dslomov@google.com>
919
920         https://bugs.webkit.org/show_bug.cgi?id=73054
921         [V8][Chromium] Add list of transferred ArrayBuffers to SerializedScriptValue::create.
922
923         Reviewed by David Levin.
924
925         * src/WebSerializedScriptValue.cpp:
926         (WebKit::WebSerializedScriptValue::serialize):
927
928 2011-11-23  Ami Fischman  <fischman@chromium.org>
929
930         Teach VideoLayerChromium how to render native texture (to support HW video decode).
931         https://bugs.webkit.org/show_bug.cgi?id=73043
932
933         Reviewed by Kenneth Russell.
934
935         * public/WebVideoFrame.h:
936         * src/VideoFrameChromiumImpl.cpp:
937         (WebKit::VideoFrameChromiumImpl::textureId):
938         * src/VideoFrameChromiumImpl.h:
939
940 2011-11-23  Vincent Scheib  <scheib@chromium.org>
941
942         Pointer Lock: Plumb movement coordinates from PlatformMouseEvent to MouseEvents.
943         https://bugs.webkit.org/show_bug.cgi?id=73031
944
945         Reviewed by Dimitri Glazkov.
946
947         * src/WebInputEventConversion.cpp:
948         (WebKit::PlatformMouseEventBuilder::PlatformMouseEventBuilder):
949
950 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
951
952         [chromium] MediaStream API: Missing WEBKIT_EXPORT in WebMediaStreamRegistry
953         https://bugs.webkit.org/show_bug.cgi?id=73010
954
955         Reviewed by Darin Fisher.
956
957         * public/WebMediaStreamRegistry.h:
958
959 2011-11-23  Scott Graham  <scottmg@chromium.org>
960
961         Adding gamepad support
962         https://bugs.webkit.org/show_bug.cgi?id=69451
963
964         Add implementation of sampleGamepads in Chromium platform. Retrieves
965         gamepad data from Chromium port and converts to DOM format, i.e.
966         GamepadList.
967
968         Reviewed by Darin Fisher.
969
970         * src/PlatformSupport.cpp:
971         (WebCore::PlatformSupport::sampleGamepads):
972
973 2011-11-23  Dmitry Lomov  <dslomov@google.com>
974
975         Get rid of WebCore dependencies from TypedArray implementation types
976         https://bugs.webkit.org/show_bug.cgi?id=72783
977         Reviewed by David Levin.
978
979         * src/WebArrayBufferView.cpp: WebCore replaced with WTF
980
981 2011-11-23  Tommy Widenflycht  <tommyw@google.com>
982
983         [chromium] MediaStream API: Adding embedding code for GetUserMedia
984         https://bugs.webkit.org/show_bug.cgi?id=71678
985
986         This patch includes a fix for https://bugs.webkit.org/show_bug.cgi?id=72925.
987
988         Reviewed by Darin Fisher.
989
990         * WebKit.gyp:
991         * public/WebUserMediaClient.h: Added.
992         (WebKit::WebUserMediaClient::~WebUserMediaClient):
993         * public/WebUserMediaRequest.h: Added.
994         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
995         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
996         (WebKit::WebUserMediaRequest::operator=):
997         (WebKit::WebUserMediaRequest::isNull):
998         (WebKit::operator==):
999         * public/WebViewClient.h:
1000         (WebKit::WebViewClient::userMediaClient):
1001         * src/UserMediaClientImpl.cpp: Added.
1002         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
1003         (WebKit::UserMediaClientImpl::pageDestroyed):
1004         (WebKit::UserMediaClientImpl::requestUserMedia):
1005         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
1006         * src/UserMediaClientImpl.h: Added.
1007         * src/WebUserMediaRequest.cpp: Added.
1008         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
1009         (WebKit::WebUserMediaRequest::reset):
1010         (WebKit::WebUserMediaRequest::audio):
1011         (WebKit::WebUserMediaRequest::video):
1012         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
1013         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
1014         (WebKit::WebUserMediaRequest::securityOrigin):
1015         (WebKit::WebUserMediaRequest::requestSucceeded):
1016         (WebKit::WebUserMediaRequest::requestFailed):
1017         (WebKit::WebUserMediaRequest::equals):
1018         (WebKit::WebUserMediaRequest::assign):
1019         (WebKit::WebUserMediaRequest::operator UserMediaRequest*):
1020         * src/WebViewImpl.cpp:
1021         (WebKit::WebViewImpl::WebViewImpl):
1022         * src/WebViewImpl.h:
1023
1024 2011-11-23  Antoine Labour  <piman@chromium.org>
1025
1026         [chromium] Expose showFPSCounter and showPlatformLayerTree in WebLayerTreeView::Settings
1027         https://bugs.webkit.org/show_bug.cgi?id=72973
1028
1029         Reviewed by Darin Fisher.
1030
1031         * public/WebLayerTreeView.h:
1032         (WebKit::WebLayerTreeView::Settings::Settings):
1033         * src/WebLayerTreeView.cpp:
1034         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
1035
1036 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
1037
1038         Roll DEPS to r111325 to fix an issue with the linux build
1039
1040         https://bugs.webkit.org/show_bug.cgi?id=73004
1041
1042         Unreviewed, build fix.
1043
1044         There appears to be a bug in the Makefile generator for gyp
1045         that is causing make to not rebuild DRT on Linux.
1046
1047         * DEPS:
1048
1049 2011-11-22  Kenneth Russell  <kbr@google.com>
1050
1051         [chromium] Support Core Animation plugins in compositor
1052         https://bugs.webkit.org/show_bug.cgi?id=72921
1053
1054         Reviewed by Stephen White.
1055
1056         Added IOSurface support to WebPluginContainer. This code path is
1057         used only on Mac OS X, but is defined in the header on all
1058         platforms for simplicity.
1059
1060         * public/WebGraphicsContext3D.h:
1061         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
1062         * public/WebPluginContainer.h:
1063         * src/Extensions3DChromium.cpp:
1064         (WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
1065         * src/GraphicsContext3DChromium.cpp:
1066         * src/GraphicsContext3DPrivate.h:
1067         * src/WebPluginContainerImpl.cpp:
1068         (WebKit::WebPluginContainerImpl::setBackingIOSurfaceId):
1069         (WebKit::WebPluginContainerImpl::platformLayer):
1070         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1071         * src/WebPluginContainerImpl.h:
1072
1073 2011-11-22  Daniel Cheng  <dcheng@chromium.org>
1074
1075         [chromium] Fix plumbing for differentiating between clipboard/selection pastes.
1076         https://bugs.webkit.org/show_bug.cgi?id=72056
1077
1078         Reviewed by tony@chromium.org.
1079
1080         Add a buffer parameter when retrieving the clipboard sequence number.
1081
1082         * public/WebClipboard.h:
1083         (WebKit::WebClipboard::sequenceNumber):
1084         * src/PlatformSupport.cpp:
1085         (WebCore::PlatformSupport::clipboardSequenceNumber):
1086
1087 2011-11-22  Greg Billock  <gbillock@google.com>
1088
1089         Empty API for web intents
1090         https://bugs.webkit.org/show_bug.cgi?id=69870
1091
1092         Reviewed by Darin Fisher.
1093
1094         * WebKit.gyp:
1095         * public/WebIntent.h: Added.
1096         * public/WebIntentServiceInfo.h: Added.
1097         * public/WebFrame.h:
1098         * public/WebFrameClient.h:
1099
1100 2011-11-22  Scott Graham  <scottmg@chromium.org>
1101
1102         Roll Chromium DEPS
1103         https://bugs.webkit.org/show_bug.cgi?id=72972
1104
1105         Add dbus in Chromium as pulled dep and update to HEAD.
1106
1107         Reviewed by Dirk Pranke.
1108
1109         * DEPS:
1110
1111 2011-11-22  Dirk Pranke  <dpranke@chromium.org>
1112
1113         Roll Chromium DEPS to r110960 and set the disable_nacl flag.
1114         https://bugs.webkit.org/show_bug.cgi?id=72911
1115
1116         Unreviewed, build fix.
1117
1118         ppapi starts to depend on the NaCl gyp files as of r109739, so
1119         we need to pass disable_nacl when running gyp to avoid pulling
1120         in too much of NaCl.
1121
1122         * DEPS:
1123         * gyp_webkit:
1124
1125 2011-11-22  Pavel Feldman  <pfeldman@google.com>
1126
1127         Web Inspector: [chromium] fix internactive ui test for scripts panel.
1128         https://bugs.webkit.org/show_bug.cgi?id=72935
1129
1130         Reviewed by Yury Semikhatsky.
1131
1132         * src/js/Tests.js:
1133         (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
1134
1135 2011-11-22  Pavel Feldman  <pfeldman@google.com>
1136
1137         Web Inspector: remove Inspector::bringToFront from the protocol.
1138         https://bugs.webkit.org/show_bug.cgi?id=72937
1139
1140         Reviewed by Yury Semikhatsky.
1141
1142         * src/InspectorClientImpl.cpp:
1143         (WebKit::InspectorClientImpl::bringFrontendToFront):
1144         * src/InspectorClientImpl.h:
1145         * src/WebDevToolsAgentImpl.cpp:
1146         (WebKit::WebDevToolsAgentImpl::bringFrontendToFront):
1147         * src/WebDevToolsAgentImpl.h:
1148
1149 2011-11-17  Nat Duca  <nduca@chromium.org>
1150
1151         [chromium] Route willDraw/setNeedsRedraw to CCInputHandler and fix double-drawing issues that result
1152         https://bugs.webkit.org/show_bug.cgi?id=72688
1153
1154         Reviewed by James Robinson.
1155
1156         * src/WebCompositorImpl.cpp:
1157         (WebCore::CCInputHandler::create):
1158         (WebKit::WebCompositorImpl::WebCompositorImpl):
1159         (WebKit::WebCompositorImpl::handleInputEvent):
1160         (WebKit::WebCompositorImpl::willDraw):
1161         * src/WebCompositorImpl.h:
1162         (WebKit::WebCompositorImpl::create):
1163         * tests/CCFrameRateControllerTest.cpp:
1164         (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
1165         * tests/CCSchedulerStateMachineTest.cpp:
1166         (WebCore::TEST):
1167         * tests/CCSchedulerTest.cpp:
1168         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::SchedulerClientThatSetNeedsDrawInsideDraw):
1169         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::setScheduler):
1170         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::numDraws):
1171         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::hasMoreResourceUpdates):
1172         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionBeginFrame):
1173         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionDrawAndSwap):
1174         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionUpdateMoreResources):
1175         (WebKitTests::SchedulerClientThatSetNeedsDrawInsideDraw::scheduledActionCommit):
1176         (WebKitTests::TEST):
1177
1178 2011-11-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1179
1180         Unreviewed, rolling out r100970.
1181         http://trac.webkit.org/changeset/100970
1182         https://bugs.webkit.org/show_bug.cgi?id=72925
1183
1184         Caused AssociatedURLLoaderTest.Success to fail (Requested by
1185         koz on #webkit).
1186
1187         * WebKit.gyp:
1188         * public/WebUserMediaClient.h: Removed.
1189         * public/WebUserMediaRequest.h: Removed.
1190         * public/WebViewClient.h:
1191         * src/UserMediaClientImpl.cpp: Removed.
1192         * src/UserMediaClientImpl.h: Removed.
1193         * src/WebUserMediaRequest.cpp: Removed.
1194         * src/WebViewImpl.cpp:
1195         (WebKit::WebViewImpl::WebViewImpl):
1196         * src/WebViewImpl.h:
1197
1198 2011-11-21  Tommy Widenflycht  <tommyw@google.com>
1199
1200         [chromium] MediaStream API: Adding embedding code for GetUserMedia
1201         https://bugs.webkit.org/show_bug.cgi?id=71678
1202
1203         Reviewed by Darin Fisher.
1204
1205         * WebKit.gyp:
1206         * public/WebUserMediaClient.h: Added.
1207         (WebKit::WebUserMediaClient::~WebUserMediaClient):
1208         * public/WebUserMediaRequest.h: Added.
1209         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
1210         (WebKit::WebUserMediaRequest::~WebUserMediaRequest):
1211         (WebKit::WebUserMediaRequest::operator=):
1212         (WebKit::WebUserMediaRequest::isNull):
1213         (WebKit::operator==):
1214         * public/WebViewClient.h:
1215         (WebKit::WebViewClient::userMediaClient):
1216         * src/UserMediaClientImpl.cpp: Added.
1217         (WebKit::UserMediaClientImpl::UserMediaClientImpl):
1218         (WebKit::UserMediaClientImpl::pageDestroyed):
1219         (WebKit::UserMediaClientImpl::requestUserMedia):
1220         (WebKit::UserMediaClientImpl::cancelUserMediaRequest):
1221         * src/UserMediaClientImpl.h: Added.
1222         * src/WebUserMediaRequest.cpp: Added.
1223         (WebKit::WebUserMediaRequest::WebUserMediaRequest):
1224         (WebKit::WebUserMediaRequest::reset):
1225         (WebKit::WebUserMediaRequest::audio):
1226         (WebKit::WebUserMediaRequest::video):
1227         (WebKit::WebUserMediaRequest::cameraPreferenceUser):
1228         (WebKit::WebUserMediaRequest::cameraPreferenceEnvironment):
1229         (WebKit::WebUserMediaRequest::securityOrigin):
1230         (WebKit::WebUserMediaRequest::requestSucceeded):
1231         (WebKit::WebUserMediaRequest::requestFailed):
1232         (WebKit::WebUserMediaRequest::equals):
1233         (WebKit::WebUserMediaRequest::assign):
1234         (WebKit::WebUserMediaRequest::operator PassRefPtr<UserMediaRequest>):
1235         * src/WebViewImpl.cpp:
1236         (WebKit::WebViewImpl::WebViewImpl):
1237         * src/WebViewImpl.h:
1238
1239 2011-11-21  James Robinson  <jamesr@chromium.org>
1240
1241         [chromium] Fix tiler initialization in TiledLayerChromiumTest
1242         https://bugs.webkit.org/show_bug.cgi?id=72915
1243
1244         Reviewed by Kenneth Russell.
1245
1246         Setting the tile size or tiling option after the tiler is created invalidates it, and by default the newly
1247         created tiler will have border texels so the test doesn't pass. Switch things around in the test so the tiler
1248         is created only after all the options are set, which is closer to what the real code does.
1249
1250         * tests/TiledLayerChromiumTest.cpp:
1251         (WTF::FakeTiledLayerChromium::FakeTiledLayerChromium):
1252
1253 2011-11-21  James Robinson  <jamesr@chromium.org>
1254
1255         Fix chromium compile bustage - base interface added a parameter so my fake wasn't actually implementing it.
1256
1257         * tests/TiledLayerChromiumTest.cpp:
1258         (WTF::FakeLayerTextureUpdater::prepareToUpdate):
1259
1260 2011-11-21  James Robinson  <jamesr@chromium.org>
1261
1262         [chromium] Avoid pushing dirty tiles to the impl layer
1263         https://bugs.webkit.org/show_bug.cgi?id=72765
1264
1265         Reviewed by Kenneth Russell.
1266
1267         Add unit test for TiledLayerChromium's tile pushing behavior. Requires a fair amount of fake classes. If these
1268         fakes are useful in other tests, they should be moved to a shared location.
1269
1270         * WebKit.gypi:
1271         * tests/TiledLayerChromiumTest.cpp: Added.
1272         (::FakeTextureAllocator::createTexture):
1273         (::FakeTextureAllocator::deleteTexture):
1274         (::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
1275         (::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
1276         (::FakeLayerTextureUpdater::orientation):
1277         (::FakeLayerTextureUpdater::sampledTexelFormat):
1278         (::FakeLayerTextureUpdater::prepareToUpdate):
1279         (::FakeLayerTextureUpdater::updateTextureRect):
1280         (::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
1281         (::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
1282         (::FakeCCTiledLayerImpl::hasTileAt):
1283         (::FakeTiledLayerChromium::FakeTiledLayerChromium):
1284         (::FakeTiledLayerChromium::~FakeTiledLayerChromium):
1285         (::FakeTiledLayerChromium::invalidateRect):
1286         (::FakeTiledLayerChromium::prepareToUpdate):
1287         (::FakeTiledLayerChromium::textureManager):
1288         (::FakeTiledLayerChromium::createTextureUpdater):
1289         (::FakeTiledLayerChromium::textureUpdater):
1290         (::TEST):
1291
1292 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
1293
1294         [Chromium] WebAccessibilityNotification should use AssertMatchingEnums.
1295         https://bugs.webkit.org/show_bug.cgi?id=72895
1296
1297         Reviewed by Chris Fleizach.
1298
1299         * public/WebAccessibilityNotification.h:
1300         * src/AssertMatchingEnums.cpp:
1301         * src/ChromeClientImpl.cpp:
1302         (WebKit::toWebAccessibilityNotification):
1303
1304 2011-11-21  Shinya Kawanaka  <shinyak@google.com>
1305
1306         Implement a setter for UnifiedTextCheckerEnabled.
1307         https://bugs.webkit.org/show_bug.cgi?id=72872
1308
1309         Reviewed by Darin Fisher.
1310
1311         * public/WebSettings.h:
1312         * src/WebSettingsImpl.cpp:
1313         (WebKit::WebSettingsImpl::setUnifiedTextCheckerEnabled): Added.
1314         * src/WebSettingsImpl.h:
1315
1316 2011-11-21  Jochen Eisinger  <jochen@chromium.org>
1317
1318         Implement Meta referrer
1319         https://bugs.webkit.org/show_bug.cgi?id=72674
1320
1321         Reviewed by Adam Barth.
1322
1323         * WebKit.gyp:
1324         * public/WebFrame.h:
1325         * public/WebReferrerPolicy.h: Added.
1326         * public/WebSecurityPolicy.h:
1327         * src/AssertMatchingEnums.cpp:
1328         * src/WebFrameImpl.cpp:
1329         (WebKit::WebFrameImpl::referrerPolicy):
1330         (WebKit::WebFrameImpl::setReferrerForRequest):
1331         * src/WebFrameImpl.h:
1332         * src/WebSecurityPolicy.cpp:
1333         (WebKit::WebSecurityPolicy::generateReferrerHeader):
1334
1335 2011-11-21  Dominic Mazzoni  <dmazzoni@google.com>
1336
1337         Accessibility: Multiselect list boxes need to report the active option in addition to which items are selected.
1338         https://bugs.webkit.org/show_bug.cgi?id=72479
1339
1340         Reviewed by Chris Fleizach.
1341
1342         Test: accessibility/multiselect-list-reports-active-option.html
1343
1344         * public/WebAccessibilityObject.h:
1345         * src/WebAccessibilityObject.cpp:
1346         (WebKit::WebAccessibilityObject::isSelectedOptionActive):
1347
1348 2011-11-20  Kenichi Ishibashi  <bashi@chromium.org>
1349
1350         [Chromium] Remove old getFontFamilyForCharacters() and familyForChars() APIs.
1351         https://bugs.webkit.org/show_bug.cgi?id=72844
1352
1353         Removes old APIs for getting font family for given characters.
1354
1355         Reviewed by Darin Fisher.
1356
1357         * public/linux/WebFontInfo.h: Removed old familyForChars().
1358         * public/linux/WebSandboxSupport.h: Removed old getFontFamilyForCharacters() and changed new getFontFamilyForCharacters() to be a pure virtual function.
1359         * src/linux/WebFontInfo.cpp: Removes old familyForChars().
1360
1361 2011-10-17  Antonio Gomes  <agomes@rim.com>
1362
1363         Pass a Frame* parameter in EditorClient::respondToChangedSelection
1364         https://bugs.webkit.org/show_bug.cgi?id=70248
1365
1366         Reviewed by Ryosuke Niwa.
1367
1368         * src/EditorClientImpl.cpp: Make use of the newly added Frame* parameter.
1369         (WebKit::EditorClientImpl::respondToChangedSelection):
1370         * src/EditorClientImpl.h: Change the method signature, as per base class change.
1371
1372 2011-11-20  Adam Barth  <abarth@webkit.org>
1373
1374         Add WebNode::hasEventListeners for Android
1375         https://bugs.webkit.org/show_bug.cgi?id=72817
1376
1377         Reviewed by Darin Fisher.
1378
1379         Expose this EventTarget interface in the Chromium WebKit API for use by
1380         Android.
1381
1382         * public/WebNode.h:
1383         * src/WebNode.cpp:
1384         (WebKit::WebNode::hasEventListeners):
1385
1386 2011-11-20  Adam Barth  <abarth@webkit.org>
1387
1388         [Chromium] Add GestureFlingStart and GestureFlingCancel to WebGestureEvent for Android
1389         https://bugs.webkit.org/show_bug.cgi?id=72819
1390
1391         Reviewed by Darin Fisher.
1392
1393         These gesture types are used with FlingAnimator for scrolling.
1394
1395         * public/WebInputEvent.h:
1396         (WebKit::WebInputEvent::isScrollGestureEventType):
1397         (WebKit::WebGestureEvent::WebGestureEvent):
1398         * src/WebPopupMenuImpl.cpp:
1399         (WebKit::WebPopupMenuImpl::handleInputEvent):
1400         * src/WebViewImpl.cpp:
1401         (WebKit::WebViewImpl::handleInputEvent):
1402
1403 2011-11-20  Adam Barth  <abarth@webkit.org>
1404
1405         [Chromium] Add WebInputEventFactory for Android
1406         https://bugs.webkit.org/show_bug.cgi?id=67890
1407
1408         Reviewed by Darin Fisher.
1409
1410         Like every Chromium OS, Android needs a WebInputFactory.
1411
1412         * WebKit.gyp:
1413         * public/android/WebInputEventFactory.h: Added.
1414         * src/android/WebInputEventFactory.cpp: Added.
1415
1416 2011-11-19  Nat Duca  <nduca@chromium.org>
1417
1418         Unreviewed, rolling out r100854.
1419         http://trac.webkit.org/changeset/100854
1420
1421         Rollout DEPS roll. Made chromium bots cry.
1422
1423         * DEPS:
1424
1425 2011-11-19  Nat Duca  <nduca@chromium.org>
1426
1427         Unreviewed.  Rolled DEPS 109696->110838
1428
1429         * DEPS:
1430
1431 2011-11-19  Adam Barth  <abarth@webkit.org>
1432
1433         Integrate Source/WTF with the Chromium build system
1434         https://bugs.webkit.org/show_bug.cgi?id=72790
1435
1436         Reviewed by Eric Seidel.
1437
1438         Add a dependency on the new WTF.
1439
1440         * WebKit.gyp:
1441
1442 2011-11-18  Takashi Toyoshima  <toyoshim@chromium.org>
1443
1444         [Chromium] [WebSocket] export WebSocketChannel interface for plugins
1445         https://bugs.webkit.org/show_bug.cgi?id=72016
1446
1447         Add WebSocket and WebSocketClient to WebKit API.
1448
1449         Currently, only WebSocketStreamHandle class is exported to WebKit API.
1450         WebSocketStreamHandle implements bi-directional communication ports.
1451         If plugins handles the WebSocket protocol, WebSocketChannel and
1452         WebSocketChannelClient must be exported as WebSocket because they are
1453         the classes which implement the WebSocket protocol stack.
1454
1455         Normally, we use WebWebSocketChannel and WebWebSocketChannelClient as
1456         their class names. But here we use just WebSocket and WebSocketClient
1457         because of avoiding WebWeb prefix and class name confliction on
1458         header include.
1459
1460         Reviewed by Darin Fisher.
1461
1462         * WebKit.gyp:
1463         * public/WebSocket.h: Added.
1464         (WebKit::WebSocket::~WebSocket):
1465         * public/WebSocketClient.h: Added.
1466         (WebKit::WebSocketClient::~WebSocketClient):
1467         * src/WebRuntimeFeatures.cpp: Insert websockets directory to include path in order to avoid filename confliction.
1468         (WebKit::WebRuntimeFeatures::enableSockets): Use WebCore namespace explicitly.
1469         * src/WebSocket.cpp: Added.
1470         (WebKit::WebSocket::create):
1471         * src/WebSocketImpl.cpp: Added.
1472         (WebKit::WebSocketImpl::WebSocketImpl):
1473         (WebKit::WebSocketImpl::~WebSocketImpl):
1474         (WebKit::WebSocketImpl::connect):
1475         (WebKit::WebSocketImpl::subprotocol):
1476         (WebKit::WebSocketImpl::sendText):
1477         (WebKit::WebSocketImpl::sendBinary):
1478         (WebKit::WebSocketImpl::bufferedAmount):
1479         (WebKit::WebSocketImpl::close):
1480         (WebKit::WebSocketImpl::fail):
1481         (WebKit::WebSocketImpl::disconnect):
1482         (WebKit::WebSocketImpl::didConnect):
1483         (WebKit::WebSocketImpl::didReceiveMessage):
1484         (WebKit::WebSocketImpl::didReceiveBinaryData):
1485         (WebKit::WebSocketImpl::didReceiveMessageError):
1486         (WebKit::WebSocketImpl::didStartClosingHandshake):
1487         (WebKit::WebSocketImpl::didClose):
1488         * src/WebSocketImpl.h: Added.
1489         (WebKit::WebSocketImpl::isNull):
1490
1491 2011-11-18  Alpha Lam  <hclam@chromium.org>
1492
1493         [chromium] composited layers are blurry with a zoom-in page scale factor
1494         https://bugs.webkit.org/show_bug.cgi?id=71225
1495
1496         Reviewed by James Robinson.
1497
1498         Implements GraphicsLayerClient to return values for pageScaleFactor and deviceScaleFactor. They are used to determine contents scale factor compositer layers.
1499
1500         * src/PageOverlay.cpp:
1501         (WebKit::OverlayGraphicsLayerClientImpl::deviceScaleFactor):
1502         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
1503
1504 2011-11-18  Scott Graham  <scottmg@chromium.org>
1505
1506         IDL changes for gamepad support
1507         https://bugs.webkit.org/show_bug.cgi?id=71753
1508
1509         Reviewed by Adam Barth.
1510
1511         Update to use vendor-prefixed enable.
1512
1513         * src/WebRuntimeFeatures.cpp:
1514         (WebKit::WebRuntimeFeatures::enableGamepad):
1515         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
1516
1517 2011-11-18  Daniel Cheng  <dcheng@chromium.org>
1518
1519         [chromium] Use correct backing store for ChromiumDataObject in pasteboard writes.
1520         https://bugs.webkit.org/show_bug.cgi?id=72767
1521
1522         Reviewed by Tony Chang.
1523
1524         * src/WebDragData.cpp:
1525         (WebKit::WebDragData::initialize):
1526         (WebKit::WebDragData::assign):
1527
1528 2011-10-24  Darin Fisher  <darin@chromium.org>
1529
1530         [chromium] Improve fullscreen API
1531         https://bugs.webkit.org/show_bug.cgi?id=70477
1532
1533         Reviewed by Adam Barth.
1534
1535         Move fullscreen entry points from WebView to WebWidget since they are
1536         just about widget geometry.
1537
1538         Delay webkitfullscreenchange event until we know that we have entered
1539         fullscreen mode.  This is accomplished by expanding the WebKit APIs to
1540         differentiate will{Enter,Exit} from did{Enter,Exit} state changes.
1541
1542         WebViewImpl is forced to keep a reference to the requested fullscreen
1543         element while we are requesting to enter fullscreen mode.  Once in
1544         fullscreen mode, we switch to keeping only a reference to the Frame
1545         containing the fullscreen element, which we drop upon exiting
1546         fullscreen mode.
1547
1548         * public/WebView.h:
1549         * public/WebViewClient.h:
1550         * public/WebWidget.h:
1551         (WebKit::WebWidget::willEnterFullScreen):
1552         (WebKit::WebWidget::didEnterFullScreen):
1553         (WebKit::WebWidget::willExitFullScreen):
1554         (WebKit::WebWidget::didExitFullScreen):
1555         * public/WebWidgetClient.h:
1556         (WebKit::WebWidgetClient::enterFullScreen):
1557         (WebKit::WebWidgetClient::exitFullScreen):
1558         * src/ChromeClientImpl.cpp:
1559         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1560         (WebKit::ChromeClientImpl::enterFullscreenForNode):
1561         (WebKit::ChromeClientImpl::exitFullscreenForNode):
1562         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
1563         (WebKit::ChromeClientImpl::enterFullScreenForElement):
1564         (WebKit::ChromeClientImpl::exitFullScreenForElement):
1565         * src/WebViewImpl.cpp:
1566         (WebKit::WebViewImpl::willEnterFullScreen):
1567         (WebKit::WebViewImpl::didEnterFullScreen):
1568         (WebKit::WebViewImpl::willExitFullScreen):
1569         (WebKit::WebViewImpl::didExitFullScreen):
1570         (WebKit::WebViewImpl::enterFullScreenForElement):
1571         (WebKit::WebViewImpl::exitFullScreenForElement):
1572         * src/WebViewImpl.h:
1573
1574 2011-11-17  Pavel Feldman  <pfeldman@google.com>
1575
1576         Web Inspector: dispatch messages from the front-end to the backend asynchronously.
1577         https://bugs.webkit.org/show_bug.cgi?id=72621
1578
1579         Reviewed by Yury Semikhatsky.
1580
1581         * src/InspectorFrontendClientImpl.cpp:
1582         (WebKit::InspectorFrontendClientImpl::performDisconnectFromBackend):
1583         * src/InspectorFrontendClientImpl.h:
1584
1585 2011-11-18  Iain Merrick  <husky@google.com>
1586
1587         [chromium] Pass screen refresh rate into compositor.
1588         https://bugs.webkit.org/show_bug.cgi?id=71040
1589
1590         Reviewed by Tony Gentilcore.
1591
1592         * public/WebScreenInfo.h:
1593         (WebKit::WebScreenInfo::WebScreenInfo):
1594         * src/PlatformSupport.cpp:
1595         (WebCore::PlatformSupport::screenRefreshRate):
1596         * src/WebViewImpl.cpp:
1597         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1598         * tests/CCLayerTreeHostTest.cpp:
1599         (WTF::CCLayerTreeHostTest::runTest):
1600
1601 2011-11-17  Vincent Scheib  <scheib@chromium.org>
1602
1603         Pointer Lock: Page Settings unecessary
1604         https://bugs.webkit.org/show_bug.cgi?id=72662
1605
1606         Reviewed by Darin Fisher.
1607
1608         * public/WebSettings.h:
1609         * src/WebSettingsImpl.cpp:
1610         * src/WebSettingsImpl.h:
1611
1612 2011-11-17  Alexandre Elias  <aelias@google.com>
1613
1614         [chromium] Don't clamp minimumPageScaleFactor when doc width is zero
1615         https://bugs.webkit.org/show_bug.cgi?id=72679
1616
1617         Reviewed by James Robinson.
1618
1619         For a brief period during initialization, the document width can be
1620         zero.  In that situation, don't try to limit minimumPageScaleFactor
1621         to the document size.
1622
1623         * src/WebViewImpl.cpp:
1624         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1625
1626 2011-11-06  Nat Duca  <nduca@chromium.org>
1627
1628         [chromium] Fix handling of setNeedsCommit and setNeedsAnimate in threaded mode
1629         https://bugs.webkit.org/show_bug.cgi?id=71638
1630
1631         Reviewed by James Robinson.
1632
1633         * tests/CCLayerTreeHostTest.cpp:
1634         (TestHooks::animateAndLayout):
1635         (MockLayerTreeHostClient::animateAndLayout):
1636         (CCLayerTreeHostTest::postSetNeedsAnimateToMainThread):
1637         (CCLayerTreeHostTest::dispatchSetNeedsAnimate):
1638         (CCLayerTreeHostTestSetNeedsAnimate::CCLayerTreeHostTestSetNeedsAnimate):
1639         (CCLayerTreeHostTestSetNeedsAnimate::beginTest):
1640         (CCLayerTreeHostTestSetNeedsAnimate::animateAndLayout):
1641         (CCLayerTreeHostTestSetNeedsAnimate::drawLayersOnCCThread):
1642         (CCLayerTreeHostTestSetNeedsAnimate::afterTest):
1643
1644 2011-11-17  Elliot Glaysher  <erg@chromium.org>
1645
1646         [chromium] Don't include internal GTK headers so we build with GTK_DISABLE_SINGLE_INCLUDES
1647
1648         https://bugs.webkit.org/show_bug.cgi?id=72653
1649
1650         Reviewed by James Robinson.
1651
1652         * src/gtk/WebInputEventFactory.cpp:
1653         (WebKit::gdkStateToWebEventModifiers): Remove a
1654         GTK_CHECK_VERSION that will always be true, as the oldest
1655         libgtk we support is 2.18.
1656
1657
1658 2011-11-17  David Reveman  <reveman@chromium.org>
1659
1660         [Chromium] Calls to paintContentsIfDirty() and updateCompositorResources() should be balanced.
1661         https://bugs.webkit.org/show_bug.cgi?id=72630
1662
1663         Reviewed by James Robinson.
1664
1665         Add test that check if calls to paintContentsIfDirty() and
1666         updateCompositorResources() are balanced when layer opacity
1667         changes during paintContent().
1668
1669         * tests/CCLayerTreeHostTest.cpp:
1670         (WTF::CCLayerTreeHostTest::layerTreeHost):
1671         (WTF::TestOpacityChangeLayerDelegate::TestOpacityChangeLayerDelegate):
1672         (WTF::TestOpacityChangeLayerDelegate::paintContents):
1673         (WTF::TestOpacityChangeLayerDelegate::drawsContent):
1674         (WTF::TestOpacityChangeLayerDelegate::preserves3D):
1675         (WTF::TestOpacityChangeLayerDelegate::notifySyncRequired):
1676         (WTF::ContentLayerChromiumWithUpdateTracking::create):
1677         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsCount):
1678         (WTF::ContentLayerChromiumWithUpdateTracking::resetPaintContentsCount):
1679         (WTF::ContentLayerChromiumWithUpdateTracking::updateCount):
1680         (WTF::ContentLayerChromiumWithUpdateTracking::resetUpdateCount):
1681         (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
1682         (WTF::ContentLayerChromiumWithUpdateTracking::updateCompositorResources):
1683         (WTF::ContentLayerChromiumWithUpdateTracking::ContentLayerChromiumWithUpdateTracking):
1684         (WTF::CCLayerTreeHostTestOpacityChange::CCLayerTreeHostTestOpacityChange):
1685         (WTF::CCLayerTreeHostTestOpacityChange::beginTest):
1686         (WTF::CCLayerTreeHostTestOpacityChange::commitCompleteOnCCThread):
1687         (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
1688         (WTF::TEST_F):
1689
1690 2011-11-17  Peter Kasting  <pkasting@google.com>
1691
1692         Unreviewed, rolling out r100676.
1693         http://trac.webkit.org/changeset/100676
1694         https://bugs.webkit.org/show_bug.cgi?id=72393
1695
1696         Looks like r100572 was not the source of the crashes.
1697
1698         * src/js/DevTools.js:
1699
1700 2011-11-17  Peter Kasting  <pkasting@google.com>
1701
1702         Unreviewed, rolling out r100572.
1703         https://bugs.webkit.org/show_bug.cgi?id=72393
1704         https://bugs.webkit.org/show_bug.cgi?id=72651
1705
1706         May have caused seg faults on Chromium Linux dbg bot.
1707
1708         * src/js/DevTools.js:
1709
1710 2011-11-17  Adrienne Walker  <enne@google.com>
1711
1712         [chromium] Implicitly skip render surfaces that won't be drawn
1713         https://bugs.webkit.org/show_bug.cgi?id=71038
1714
1715         Update a test that depends on a layer not getting removed.
1716
1717         Reviewed by James Robinson.
1718
1719         * tests/CCLayerTreeHostCommonTest.cpp:
1720         (WebCore::TEST):
1721
1722 2011-11-17  Vsevolod Vlasov  <vsevik@chromium.org>
1723
1724         Web Inspector: Remove onlineDetectionEnabled from Preferences
1725         https://bugs.webkit.org/show_bug.cgi?id=72617
1726
1727         Reviewed by Pavel Feldman.
1728
1729         * src/js/DevTools.js:
1730
1731 2011-11-17  Kenichi Ishibashi  <bashi@chromium.org>
1732
1733         [chromium] don't call fontconfig twice in complex text path
1734         https://bugs.webkit.org/show_bug.cgi?id=38701
1735
1736         Reviewed by Tony Chang.
1737
1738         Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters.
1739
1740         * public/linux/WebFontFamily.h: Added.
1741         * public/linux/WebFontInfo.h: Add a new API.
1742         * public/linux/WebSandboxSupport.h:
1743         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto.
1744         * src/PlatformSupport.cpp:
1745         (WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto.
1746         * src/linux/WebFontInfo.cpp:
1747         (WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally.
1748
1749 2011-11-17  Adam Barth  <abarth@webkit.org>
1750
1751         [Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty
1752         https://bugs.webkit.org/show_bug.cgi?id=72580
1753
1754         Reviewed by Darin Fisher.
1755
1756         We've removed the concept of empty security origins from WebKit because
1757         it doesn't exist in the specs.  Now it's time to remove it from the API.
1758
1759         * public/WebSecurityOrigin.h:
1760         (WebKit::WebSecurityOrigin::isUnique):
1761
1762 2011-11-15  Pavel Feldman  <pfeldman@google.com>
1763
1764         Web Inspector: introduce Debugger domain capabilities concept.
1765         https://bugs.webkit.org/show_bug.cgi?id=72393
1766
1767         Many of the Preferences that we have in Settings.js and override in DevTools.js
1768         are really not preferences, but capabilities. Protocol clients should have a way
1769         of figuring out whether some capability is present before using it.
1770
1771         Reviewed by Yury Semikhatsky.
1772
1773         * src/js/DevTools.js:
1774
1775 2011-11-11  Adrienne Walker  <enne@google.com>
1776
1777         [chromium] Expose mock scrollbars to window.internals
1778         https://bugs.webkit.org/show_bug.cgi?id=72195
1779
1780         Reviewed by James Robinson.
1781
1782         * public/WebSettings.h:
1783         * src/WebSettingsImpl.cpp:
1784         (WebKit::WebSettingsImpl::setMockScrollbarsEnabled):
1785         * src/WebSettingsImpl.h:
1786
1787 2011-11-16  Shawn Singh  <shawnsingh@chromium.org>
1788
1789         [chromium] Track property changes for render surfaces.
1790         https://bugs.webkit.org/show_bug.cgi?id=72521
1791
1792         Reviewed by James Robinson.
1793
1794         * WebKit.gypi:
1795         * tests/CCLayerImplTest.cpp:
1796         (WebCore::TEST):
1797         * tests/CCRenderSurfaceTest.cpp: Added.
1798         (WebCore::TEST):
1799
1800 2011-11-16  Alexandre Elias  <aelias@google.com>
1801
1802         [chromium] Improvements for page scale delta during commit
1803         https://bugs.webkit.org/show_bug.cgi?id=72471
1804
1805         Reviewed by James Robinson.
1806
1807         Page scale now follows the same commit flow as scroll position:
1808         the delta is folded into m_pageScale at BFAC time, and a "sent" value
1809         is preserved for temporary use until the commit finishes.
1810
1811         I also merged setPageScaleFactor and setPageScaleFactorLimits into one
1812         function on the impl side.  The reason is that setPageFactor must
1813         be applied after the limits are updated, but on the other hand setting
1814         the limits first may cause an unnecessary clamp of the scale delta.
1815         Merging the methods avoids this bind.
1816
1817         No new tests. (planning to add later: https://bugs.webkit.org/show_bug.cgi?id=71529)
1818
1819         * src/WebViewImpl.cpp:
1820         (WebKit::WebViewImpl::applyScrollAndScale):
1821
1822 2011-11-16  Dave Michael  <dmichael@chromium.org>
1823
1824         Fix up chromium API for creating events, initializing message events
1825         https://bugs.webkit.org/show_bug.cgi?id=71478
1826
1827         - Fix a mistake when checking the exception code during event creation.
1828         - Change WebFrame parameter to pointer so that NULL may be passed.
1829
1830         This is required for the following chromium CL: http://codereview.chromium.org/8437093/
1831
1832         Tested in Chromium by:
1833          ui_test --gtest_filter=*PPAPITest.PostMessage*
1834
1835         Reviewed by Darin Fisher.
1836
1837         * public/WebDOMMessageEvent.h:
1838         * src/WebDOMMessageEvent.cpp:
1839         (WebKit::WebDOMMessageEvent::initMessageEvent):
1840         * src/WebDocument.cpp:
1841         (WebKit::WebDocument::createEvent):
1842
1843 2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1844
1845         Unreviewed, rolling out r100438.
1846         http://trac.webkit.org/changeset/100438
1847         https://bugs.webkit.org/show_bug.cgi?id=72536
1848
1849         Broke unit tests (Requested by jamesr_ on #webkit).
1850
1851         * public/WebScreenInfo.h:
1852         (WebKit::WebScreenInfo::WebScreenInfo):
1853         * src/PlatformSupport.cpp:
1854         * src/WebViewImpl.cpp:
1855         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1856
1857 2011-11-16  Alexandre Elias  <aelias@google.com>
1858
1859         [chromium] Add minimum/maximumPageScaleFactor API and clamp fixes
1860         https://bugs.webkit.org/show_bug.cgi?id=72463
1861
1862         Reviewed by Darin Fisher.
1863
1864         We need a way to read back the computed min/max page scale factor in
1865         order to support the software path, and for some application logic
1866         such as zooming in/out when tapping form fields.
1867
1868         I also added a few clamp calls that are needed in some corner cases.
1869
1870         * public/WebView.h:
1871         * src/WebViewImpl.cpp:
1872         (WebKit::WebViewImpl::setPageScaleFactor):
1873         (WebKit::WebViewImpl::setPageScaleFactorLimits):
1874         (WebKit::WebViewImpl::minimumPageScaleFactor):
1875         (WebKit::WebViewImpl::maximumPageScaleFactor):
1876         * src/WebViewImpl.h:
1877
1878 2011-11-16  Vsevolod Vlasov  <vsevik@chromium.org>
1879
1880         Web Inspector: Application cache status should be updated after swapCache().
1881         https://bugs.webkit.org/show_bug.cgi?id=72123
1882
1883         Reviewed by Pavel Feldman.
1884
1885         * src/ApplicationCacheHost.cpp:
1886         (WebCore::ApplicationCacheHost::swapCache):
1887
1888 2011-11-16  Iain Merrick  <husky@google.com>
1889
1890         [chromium] Pass screen refresh rate into compositor.
1891         https://bugs.webkit.org/show_bug.cgi?id=71040
1892
1893         Reviewed by Tony Gentilcore.
1894
1895         * public/WebScreenInfo.h:
1896         (WebKit::WebScreenInfo::WebScreenInfo):
1897         * src/PlatformSupport.cpp:
1898         (WebCore::PlatformSupport::screenRefreshRate):
1899         * src/WebViewImpl.cpp:
1900         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1901
1902 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1903
1904         Unreviewed, rolling out r100340.
1905         http://trac.webkit.org/changeset/100340
1906         https://bugs.webkit.org/show_bug.cgi?id=72448
1907
1908         Caused assertion failure in Win dbg canary. (Requested by
1909         pkasting on #webkit).
1910
1911         * tests/CCLayerTreeHostImplTest.cpp:
1912
1913 2011-11-15  Nat Duca  <nduca@chromium.org>
1914
1915         [chromium] Fuse MainThread and CCThread
1916         https://bugs.webkit.org/show_bug.cgi?id=72426
1917
1918         Reviewed by James Robinson.
1919
1920         * WebKit.gyp:
1921         * WebKit.gypi:
1922         * src/CCMainThreadImpl.cpp: Removed.
1923         * src/CCThreadImpl.cpp:
1924         (WebKit::CCThreadImpl::CCThreadImpl):
1925         * src/WebCompositorImpl.cpp:
1926         (WebKit::WebCompositor::setThread):
1927         * src/WebKit.cpp:
1928         (WebKit::initializeWithoutV8):
1929         (WebKit::shutdown):
1930         * tests/CCLayerTreeHostTest.cpp:
1931         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1932         (WTF::CCLayerTreeHostTest::endTest):
1933         * tests/CCThreadTest.cpp: Removed.
1934
1935 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
1936
1937         Rename ReferrerPolicy to clarify its meaning
1938         https://bugs.webkit.org/show_bug.cgi?id=72420
1939
1940         Reviewed by Nate Chapin.
1941
1942         * src/WebPluginContainerImpl.cpp:
1943         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1944
1945 2011-11-15  Anders Carlsson  <andersca@apple.com>
1946
1947         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
1948         https://bugs.webkit.org/show_bug.cgi?id=72397
1949
1950         Reviewed by Dan Bernstein.
1951
1952         * src/ChromeClientImpl.cpp:
1953         (WebKit::ChromeClientImpl::screenToRootView):
1954         (WebKit::ChromeClientImpl::rootViewToScreen):
1955         * src/ChromeClientImpl.h:
1956         * src/WebPopupMenuImpl.cpp:
1957         (WebKit::WebPopupMenuImpl::screenToRootView):
1958         (WebKit::WebPopupMenuImpl::rootViewToScreen):
1959         * src/WebPopupMenuImpl.h:
1960         * src/WebViewImpl.cpp:
1961         (WebKit::WebViewImpl::refreshAutofillPopup):
1962
1963 2011-11-15  Scott Graham  <scottmg@chromium.org>
1964
1965         [Chromium] gamepad changes to the public interface of Chromium port
1966         https://bugs.webkit.org/show_bug.cgi?id=71518
1967
1968         Reviewed by Darin Fisher.
1969
1970         Adds stubs for Chromium port, and defines shared memory structure to
1971         be used between browser and WebKit.
1972
1973         Includes just the parts that touch the public interface so they can be
1974         reviewed separately. See also:
1975         https://bugs.webkit.org/show_bug.cgi?id=69451 and
1976         http://codereview.chromium.org/8345027
1977
1978         * WebKit.gyp:
1979         * public/WebGamepad.h: Added.
1980         (WebKit::WebGamepad::WebGamepad):
1981         * public/WebGamepads.h: Added.
1982         (WebKit::WebGamepads::WebGamepads):
1983         * public/WebKitPlatformSupport.h:
1984         (WebKit::WebKitPlatformSupport::sampleGamepads):
1985         * public/WebRuntimeFeatures.h:
1986         * src/WebRuntimeFeatures.cpp:
1987         (WebKit::WebRuntimeFeatures::enableGamepad):
1988         (WebKit::WebRuntimeFeatures::isGamepadEnabled):
1989
1990 2011-11-14  Anders Carlsson  <andersca@apple.com>
1991
1992         HostWindow invalidation functions should use root view coordinates
1993         https://bugs.webkit.org/show_bug.cgi?id=72338
1994
1995         Reviewed by Dan Bernstein.
1996
1997         * src/ChromeClientImpl.cpp:
1998         (WebKit::ChromeClientImpl::invalidateRootView):
1999         (WebKit::ChromeClientImpl::invalidateContentsAndRootView):
2000         (WebKit::ChromeClientImpl::invalidateContentsForSlowScroll):
2001         * src/ChromeClientImpl.h:
2002         * src/WebPopupMenuImpl.cpp:
2003         (WebKit::WebPopupMenuImpl::invalidateRootView):
2004         (WebKit::WebPopupMenuImpl::invalidateContentsAndRootView):
2005         (WebKit::WebPopupMenuImpl::invalidateContentsForSlowScroll):
2006         * src/WebPopupMenuImpl.h:
2007
2008 2011-11-15  Pavel Feldman  <pfeldman@google.com>
2009
2010         Web Inspector: move generic code from DevTools.js into the WebCore.
2011         https://bugs.webkit.org/show_bug.cgi?id=72377
2012
2013         re-landing r100269.
2014
2015         Reviewed by Yury Semikhatsky.
2016
2017         * src/js/DevTools.js:
2018         (WebInspector.setInspectedTabId):
2019
2020 2011-11-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2021
2022         Unreviewed, rolling out r100269.
2023         http://trac.webkit.org/changeset/100269
2024         https://bugs.webkit.org/show_bug.cgi?id=72383
2025
2026         "Broke dozens of tests due to exception in loadingFinished"
2027         (Requested by tonyg-cr on #webkit).
2028
2029         * src/js/DevTools.js:
2030         ():
2031         (devtools.domContentLoaded):
2032         (WebInspector.UIString):
2033         (WebInspector.setToolbarColors):
2034         (WebInspector.resetToolbarColors):
2035         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
2036
2037 2011-11-15  Pavel Feldman  <pfeldman@google.com>
2038
2039         Web Inspector: move generic code from DevTools.js into the WebCore.
2040         https://bugs.webkit.org/show_bug.cgi?id=72377
2041
2042         This includes support for themed toolbar, remote debugging routines,
2043         removes a couple of obsolete overrides from the DevTools.js
2044
2045         Reviewed by Yury Semikhatsky.
2046
2047         * src/js/DevTools.js:
2048         (WebInspector.setInspectedTabId):
2049
2050 2011-11-15  Alpha Lam  <hclam@chromium.org>
2051
2052         [chromium] scroll deltas are cleared during commit to the main thread
2053         https://bugs.webkit.org/show_bug.cgi?id=71916
2054
2055         Reviewed by James Robinson.
2056
2057         Modify test to verify sentScrollDeltas() values of CCLayerImpl during commit.
2058
2059         * tests/CCLayerTreeHostImplTest.cpp:
2060         (WebKit::TEST_F):
2061
2062 2011-11-14  Julien Chaffraix  <jchaffraix@webkit.org>
2063
2064         [chromium] Fix the build after moving some arrays to WTF
2065         https://bugs.webkit.org/show_bug.cgi?id=72345
2066
2067         Reviewed by Dirk Pranke.
2068
2069         * public/WebArrayBufferView.h: s/WebCore/WTF/g.
2070
2071 2011-11-14  Ian Vollick  <vollick@chromium.org>
2072
2073         Expose compositeAndReadback in WebLayerTreeView
2074         https://bugs.webkit.org/show_bug.cgi?id=72188
2075
2076         Reviewed by Darin Fisher.
2077
2078         * public/WebLayerTreeView.h:
2079         * src/WebLayerTreeView.cpp:
2080         (WebKit::WebLayerTreeView::compositeAndReadback):
2081
2082 2011-11-14  Raymond Toy  <rtoy@google.com>
2083
2084         Add buffering to handle mismatch between hardware buffer size and webaudio render size
2085         https://bugs.webkit.org/show_bug.cgi?id=71949
2086
2087         Reviewed by Kenneth Russell.
2088
2089         * src/AudioDestinationChromium.cpp:
2090         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
2091         Create the FIFO for buffering.
2092         (WebCore::AudioDestinationChromium::render):  Get rid of
2093         m_renderCountPerCallback and let the FIFO consume function produce
2094         the appropriate nubmer of calls to the webaudio producer.  Also
2095         remove the rounding of the callback size so we use whatever the
2096         hardware returns.  Removed maximumCallbackBufferSize and use
2097         fifoSize to set the FIFO size.
2098         (WebCore::AudioDestinationChromium::FIFO::FIFO):
2099         (WebCore::AudioDestinationChromium::FIFO::consume):
2100         (WebCore::AudioDestinationChromium::FIFO::findWrapLengths):
2101         (WebCore::AudioDestinationChromium::FIFO::fillBuffer):
2102         Implementation of new FIFO class.
2103         * src/AudioDestinationChromium.h:
2104         (WebCore::AudioDestinationChromium::FIFO::updateIndex):
2105         Define new FIFO class.
2106
2107 2011-11-14  Adrienne Walker  <enne@google.com>
2108
2109         [chromium] Pipe compositor commit/swap up to WebWidgetClient
2110         https://bugs.webkit.org/show_bug.cgi?id=72041
2111
2112         Reviewed by Darin Fisher.
2113
2114         * public/WebWidgetClient.h:
2115         (WebKit::WebWidgetClient::didCommitAndDrawCompositorFrame):
2116         (WebKit::WebWidgetClient::didCompleteSwapBuffers):
2117         * src/WebLayerTreeViewImpl.cpp:
2118         (WebKit::WebLayerTreeViewImpl::didCommitAndDrawFrame):
2119         (WebKit::WebLayerTreeViewImpl::didCompleteSwapBuffers):
2120         * src/WebLayerTreeViewImpl.h:
2121         * src/WebViewImpl.cpp:
2122         (WebKit::WebViewImpl::didCommitAndDrawFrame):
2123         (WebKit::WebViewImpl::didCompleteSwapBuffers):
2124         * src/WebViewImpl.h:
2125         * tests/CCLayerTreeHostTest.cpp:
2126         (WTF::MockLayerTreeHostClient::didCommitAndDrawFrame):
2127         (WTF::MockLayerTreeHostClient::didCompleteSwapBuffers):
2128
2129 2011-11-14  Tony Chang  <tony@chromium.org>
2130
2131         Remove the CSS3_FLEXBOX compile time flag and enable on all ports
2132         https://bugs.webkit.org/show_bug.cgi?id=72196
2133
2134         Reviewed by Ojan Vafai.
2135
2136         * features.gypi:
2137
2138 2011-11-14  Fady Samuel  <fsamuel@chromium.org>
2139
2140         [Chromium] setPageScaleFactor and associated methods should take scaling limits into account
2141         https://bugs.webkit.org/show_bug.cgi?id=72176
2142
2143         Reviewed by Darin Fisher.
2144  
2145         A couple of changes:
2146  
2147         1. setPageScaleFactorLimits now affects the behavior of other scaling methods
2148            including setPageScaleFactor.
2149         2. setPageScaleFactorPreservingScrollOffset introduced that scales the scroll offset 
2150            along with the page, preserving the scroll position within the page bounds.
2151  
2152
2153         * public/WebView.h:
2154         * src/WebViewImpl.cpp:
2155         (WebKit::WebViewImpl::WebViewImpl):
2156         (WebKit::WebViewImpl::computePageScaleFactorWithinLimits):
2157         (WebKit::WebViewImpl::clampOffsetAtScale):
2158         (WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
2159         (WebKit::WebViewImpl::setPageScaleFactor):
2160         (WebKit::WebViewImpl::setPageScaleFactorLimits):
2161         (WebKit::WebViewImpl::applyScrollAndScale):
2162         * src/WebViewImpl.h:
2163
2164 2011-11-14  Vincent Scheib  <scheib@chromium.org>
2165
2166         Mouse Lock: Renaming to 'Pointer Lock': Runtime Enable Flags
2167         https://bugs.webkit.org/show_bug.cgi?id=72303
2168
2169         Reviewed by Darin Fisher.
2170
2171         * public/WebRuntimeFeatures.h:
2172         * public/WebSettings.h:
2173         * src/WebRuntimeFeatures.cpp:
2174         (WebKit::WebRuntimeFeatures::enablePointerLock):
2175         (WebKit::WebRuntimeFeatures::isPointerLockEnabled):
2176         * src/WebSettingsImpl.cpp:
2177         (WebKit::WebSettingsImpl::setPointerLockEnabled):
2178         * src/WebSettingsImpl.h:
2179
2180 2011-11-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2181
2182         Unreviewed, rolling out r100176.
2183         http://trac.webkit.org/changeset/100176
2184         https://bugs.webkit.org/show_bug.cgi?id=72309
2185
2186         it broke the Mac builds (missing symbols) in a non-obvious way
2187         (Requested by jchaffraix on #webkit).
2188
2189         * public/WebGraphicsContext3D.h:
2190         * src/GraphicsContext3DChromium.cpp:
2191         * src/GraphicsContext3DPrivate.h:
2192         * tests/MockWebGraphicsContext3D.h:
2193
2194 2011-11-14  Adam Barth  <abarth@webkit.org>
2195
2196         Remove the concept of an empty SecurityOrigin
2197         https://bugs.webkit.org/show_bug.cgi?id=72287
2198
2199         Reviewed by Eric Seidel.
2200
2201         I'll rename the API in a subsequent patch.
2202
2203         * src/WebSecurityOrigin.cpp:
2204         (WebKit::WebSecurityOrigin::isEmpty):
2205
2206 2011-11-14  Vincent Scheib  <scheib@chromium.org>
2207
2208         Mouse Lock: Renaming to 'Pointer Lock': ENABLE Flags
2209         https://bugs.webkit.org/show_bug.cgi?id=72286
2210
2211         Reviewed by Adam Barth.
2212
2213         * features.gypi:
2214         * src/WebRuntimeFeatures.cpp:
2215         (WebKit::WebRuntimeFeatures::enableMouseLockAPI):
2216         (WebKit::WebRuntimeFeatures::isMouseLockAPIEnabled):
2217         * src/WebSettingsImpl.cpp:
2218         (WebKit::WebSettingsImpl::setMouseLockEnabled):
2219
2220 2011-11-14  Gregg Tavares  <gman@google.com>
2221
2222         Implement WEBGL_EXPERIMENTAL_compressed_textures WebGL extension
2223         https://bugs.webkit.org/show_bug.cgi?id=72086
2224
2225         Reviewed by Kenneth Russell.
2226
2227         * public/WebGraphicsContext3D.h:
2228         * src/GraphicsContext3DChromium.cpp:
2229         * src/GraphicsContext3DPrivate.h:
2230         * tests/MockWebGraphicsContext3D.h:
2231         (WebKit::MockWebGraphicsContext3D::compressedTexImage2D):
2232         (WebKit::MockWebGraphicsContext3D::compressedTexSubImage2D):
2233
2234 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
2235
2236         [chromium] MediaStream API: Adding a sources() method to WebMediaStreamDescriptor
2237         https://bugs.webkit.org/show_bug.cgi?id=72116
2238
2239         Reviewed by Darin Fisher.
2240
2241         * public/WebMediaStreamDescriptor.h:
2242         * public/WebMediaStreamSource.h:
2243         * src/WebMediaStreamDescriptor.cpp:
2244         (WebKit::WebMediaStreamDescriptor::sources):
2245         * src/WebMediaStreamSource.cpp:
2246         (WebKit::WebMediaStreamSource::operator=):
2247
2248 2011-11-14  Tommy Widenflycht  <tommyw@google.com>
2249
2250         [chromium] MediaStream API: Allow for null WebPeerConnectionHandler
2251         https://bugs.webkit.org/show_bug.cgi?id=72114
2252
2253         Fixing crash if WebKitPlatformSupport returns a null WebPeerConnectionHandler
2254         to PeerConnectionHandlerInternal.
2255
2256         Reviewed by Adam Barth.
2257
2258         * bridge/PeerConnectionHandlerInternal.cpp:
2259         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
2260         (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
2261         (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
2262         (WebCore::PeerConnectionHandlerInternal::processSDP):
2263         (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
2264         (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
2265         (WebCore::PeerConnectionHandlerInternal::stop):
2266         (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
2267         (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
2268         (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
2269         (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
2270         (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
2271         * public/WebKitPlatformSupport.h:
2272
2273 2011-11-14  Jonathan Backer  <backer@chromium.org>
2274
2275         [chromium] Plumb through partial swap
2276         https://bugs.webkit.org/show_bug.cgi?id=72028
2277
2278         Reviewed by Kenneth Russell.
2279
2280         * public/WebGraphicsContext3D.h:
2281         * src/Extensions3DChromium.cpp:
2282         (WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
2283         * src/GraphicsContext3DChromium.cpp:
2284         * src/GraphicsContext3DPrivate.h:
2285         * tests/MockWebGraphicsContext3D.h:
2286         (WebKit::MockWebGraphicsContext3D::postSubBufferCHROMIUM):
2287
2288 2011-11-14  Iain Merrick  <husky@google.com>
2289
2290         [chromium] Fix incorrect usage of ASSERT in CCLayerTreeHostTest
2291         https://bugs.webkit.org/show_bug.cgi?id=72026
2292
2293         ASSERT is stripped out in release builds so it shouldn't be used
2294         in unit tests, except when calling debug-only functions like
2295         isMainThread().
2296
2297         Replacing with ASSERT_TRUE (or EXPECT_TRUE in constructors, where
2298         we can't return a value).
2299
2300         Reviewed by Tony Gentilcore.
2301
2302         * tests/CCLayerTreeHostTest.cpp:
2303         (WTF::MockLayerTreeHost::MockLayerTreeHost):
2304         (WTF::CCLayerTreeHostTest::onEndTest):
2305         (WTF::CCLayerTreeHostTest::dispatchSetNeedsCommit):
2306         (WTF::CCLayerTreeHostTest::dispatchSetNeedsRedraw):
2307         (WTF::CCLayerTreeHostTest::runTest):
2308         (WTF::CCLayerTreeHostTest::doBeginTest):
2309
2310 2011-11-14  Alexander Pavlov  <apavlov@chromium.org>
2311
2312         [chromium] r99963 causes inspector/debugger/script-formatter.html to fail text diff
2313         https://bugs.webkit.org/show_bug.cgi?id=72204
2314
2315         The concatenate_script_formatter_worker_js action (along with concatenate_heap_snapshot_worker_js)
2316         did not depend on their 'input_file' files and, hence, did not get invoked on their input_file changes.
2317
2318         Reviewed by Yury Semikhatsky.
2319
2320         * WebKit.gyp:
2321
2322 2011-11-13  Nat Duca  <nduca@chromium.org>
2323
2324         [chromium] LayerRendererChromium::initialize should fail when GaphicsContext3D::makeCurrent fails
2325         https://bugs.webkit.org/show_bug.cgi?id=72102
2326
2327         Reviewed by James Robinson.
2328
2329         * src/WebViewImpl.cpp:
2330         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2331
2332 2011-11-13  Kent Tamura  <tkent@chromium.org>
2333
2334         [Chromium] Remove WebFileChooserParams::acceptTypes
2335         https://bugs.webkit.org/show_bug.cgi?id=71998
2336
2337         Reviewed by Darin Fisher.
2338
2339         * public/WebFileChooserParams.h: Remove acceptTypes.
2340         * src/ChromeClientImpl.cpp:
2341         (WebKit::ChromeClientImpl::runOpenPanel): Remove acceptTypes generatio code.
2342
2343 2011-11-11  Nico Weber  <thakis@chromium.org>
2344
2345         [chromium] Remove 2 static initializers and 3 exit time destructors. Turn on -Wexit-time-destructors.
2346         https://bugs.webkit.org/show_bug.cgi?id=72146
2347
2348         Reviewed by Nate Chapin.
2349
2350         * WebKit.gyp:
2351         * src/DebuggerAgentManager.cpp:
2352         (WebKit::DebuggerAgentManager::debugHostDispatchHandler):
2353         (WebKit::DebuggerAgentManager::onWebViewClosed):
2354         * src/DebuggerAgentManager.h:
2355         * src/WebAccessibilityObject.cpp:
2356         (WebKit::WebAccessibilityObject::keyboardShortcut):
2357         * src/WebViewImpl.cpp:
2358         (WebKit::pageGroupLoadDeferrerStack):
2359         (WebKit::WebView::willEnterModalLoop):
2360         (WebKit::WebView::didExitModalLoop):
2361
2362 2011-11-11  Nat Duca  <nduca@chromium.org>
2363
2364         Since GraphicsContext3D::makeContextCurrent can fail, return bool.
2365
2366         https://bugs.webkit.org/show_bug.cgi?id=72101
2367
2368         Reviewed by Kenneth Russell.
2369
2370         * src/GraphicsContext3DChromium.cpp:
2371
2372 2011-11-11  Ojan Vafai  <ojan@chromium.org>
2373
2374         Unreviewed. Rolled DEPS.
2375         https://bugs.webkit.org/show_bug.cgi?id=72174
2376
2377         * DEPS:
2378
2379 2011-11-11  James Robinson  <jamesr@chromium.org>
2380
2381         Rollout http://trac.webkit.org/changeset/99844
2382         Solution is more complicated than the problem it was intended to solve.
2383
2384         * tests/CCLayerTreeHostImplTest.cpp:
2385         (WebKit::TEST_F):
2386
2387 2011-11-11  Iain Merrick  <husky@google.com>
2388
2389         [chromium] CCThreadProxy::finishAllRendering hangs if !visible
2390         https://bugs.webkit.org/show_bug.cgi?id=71920
2391
2392         Reviewed by James Robinson.
2393
2394         * tests/CCSchedulerStateMachineTest.cpp:
2395         (WebCore::TEST):
2396
2397 2011-11-11  Antoine Labour  <piman@chromium.org>
2398
2399         [chromium] Add translation/scaling to WebExternalTextureLayer
2400         https://bugs.webkit.org/show_bug.cgi?id=72087
2401
2402         Reviewed by James Robinson.
2403
2404         * public/WebExternalTextureLayer.h:
2405         * src/WebExternalTextureLayer.cpp:
2406         (WebKit::WebExternalTextureLayer::setUVRect):
2407         (WebKit::WebExternalTextureLayer::uvRect):
2408
2409 2011-11-11  Adam Klein  <adamk@chromium.org>
2410
2411         Remove no-op StorageNamespace::unlock method
2412         https://bugs.webkit.org/show_bug.cgi?id=72181
2413
2414         Reviewed by Darin Adler.
2415
2416         * src/StorageNamespaceProxy.cpp:
2417         * src/StorageNamespaceProxy.h:
2418
2419 2011-11-11  Stephen Chenney  <schenney@chromium.org>
2420
2421         [Chromium] DRT does not have LayoutTestController.pageSizeAndMarginsInPixels
2422         https://bugs.webkit.org/show_bug.cgi?id=49257
2423
2424         Add the WebFrame::getPageProperty method for Chromium.
2425
2426         Reviewed by Darin Fisher.
2427
2428         * public/WebFrame.h:
2429         * src/WebFrameImpl.cpp:
2430         (WebKit::WebFrameImpl::getPageProperty):
2431         * src/WebFrameImpl.h:
2432
2433 2011-11-11  Jeff Timanus  <twiz@chromium.org>
2434
2435         [chromium] Patch that implementing the changes required to allow WebGL
2436         to share its backing store directly with the compositor.
2437         WebGL rendering contexts create and render to FBOs managed by a
2438         DrawingBuffer instance. All PlatformLayer lifetime management is
2439         performed by the DrawingBuffer.
2440         Changes are only relevant to Chromium ports. Functionality is
2441         unchanged for other ports.
2442         https://bugs.webkit.org/show_bug.cgi?id=53201
2443
2444         Reviewed by Stephen White.
2445
2446         * src/GraphicsContext3DChromium.cpp: GraphicsContext3DPrivate no longer caches
2447         the WebGLLayerChromium instance.  Instead, it is accessed via DrawingBuffer instances
2448         passed as arguments to the necessary routines.
2449         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
2450         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
2451         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
2452         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2453         (WebCore::GraphicsContext3D::platformLayer):
2454         (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
2455         (WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
2456         * src/GraphicsContext3DPrivate.h:
2457
2458 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2459
2460         Unreviewed, rolling out r100010.
2461         http://trac.webkit.org/changeset/100010
2462         https://bugs.webkit.org/show_bug.cgi?id=72172
2463
2464         "Broke gclient syncing on the chromium bots." (Requested by
2465         ojan on #webkit).
2466
2467         * DEPS:
2468
2469 2011-11-11  Ojan Vafai  <ojan@chromium.org>
2470
2471         Unreviewed.  Rolled DEPS.
2472
2473         * DEPS:
2474
2475 2011-11-11  James Robinson  <jamesr@chromium.org>
2476
2477         [chromium] Fix CCLayerTreeHost leak in webkit_unit_tests
2478         https://bugs.webkit.org/show_bug.cgi?id=72081
2479
2480         Reviewed by Kenneth Russell.
2481
2482         LayerChromium and CCLayerTreeHosts hold RefPtr<>s to each other, so if
2483         you do not clear out the layerTreeHost pointer on the LayerChromium
2484         the layer tree is leaked. The real code does this in WebViewImpl but
2485         this test was not.
2486
2487         * tests/CCLayerTreeHostTest.cpp:
2488         (WTF::CCLayerTreeHostTest::runTest):
2489         (WTF::CCLayerTreeHostTest::doBeginTest):
2490
2491 2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2492
2493         Unreviewed, rolling out r99826.
2494         http://trac.webkit.org/changeset/99826
2495         https://bugs.webkit.org/show_bug.cgi?id=72109
2496
2497         "Likely causing test flakiness" (Requested by tonyg-cr on
2498         #webkit).
2499
2500         * tests/FrameTestHelpers.cpp:
2501         (WebKit::FrameTestHelpers::registerMockedURLLoad):
2502         (WebKit::FrameTestHelpers::createWebViewAndLoad):
2503         * tests/FrameTestHelpers.h:
2504         * tests/WebFrameTest.cpp:
2505         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
2506         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
2507         (WebKit::TEST_F):
2508         * tests/WebViewTest.cpp:
2509         (WebKit::TEST_F):
2510         * tests/data/page_with_image.mht: Removed.
2511
2512 2011-11-10  Daniel Cheng  <dcheng@chromium.org>
2513
2514         [chromium] Add plumbing for JS to write to clipboard in copy/cut events.
2515         https://bugs.webkit.org/show_bug.cgi?id=71414
2516
2517         Reviewed by Darin Fisher.
2518
2519         * public/WebClipboard.h:
2520         (WebKit::WebClipboard::writeDataObject):
2521         * src/PlatformSupport.cpp:
2522         (WebCore::PlatformSupport::clipboardWriteDataObject):
2523
2524 2011-11-10  Vsevolod Vlasov  <vsevik@chromium.org>
2525
2526         Unreviewed.  Rolled DEPS.
2527
2528         * DEPS:
2529
2530 2011-11-10  Iain Merrick  <husky@google.com>
2531
2532         [Chromium] Fix CCLayerTreeHostImplTest::scrollRootCallsCommitAndRedraw
2533         https://bugs.webkit.org/show_bug.cgi?id=72027
2534
2535         We weren't calling setScrollable(true) when setting up the test, so
2536         scroll events were being ignored. Test failed in debug builds, but passed
2537         in release because we were using ASSERT instead of ASSERT_TRUE.
2538
2539         Reviewed by Tony Gentilcore.
2540
2541         * tests/CCLayerTreeHostImplTest.cpp:
2542         (WebKit::TEST_F):
2543
2544 2011-11-10  Alpha Lam  <hclam@chromium.org>
2545
2546         [chromium] Scroll deltas are cleared during commit to the main thread
2547         https://bugs.webkit.org/show_bug.cgi?id=71916
2548
2549         Reviewed by James Robinson.
2550
2551         * tests/CCLayerTreeHostImplTest.cpp:
2552         (WebKit::TEST_F):
2553         CCLayerTreeHostImplTest.scrollDeltaRepeatedScrolls
2554         This test is modified to verify that CCLayerTreeHostImpl::processScrollDeltas()
2555         maintain the current scroll deltas and scroll positions.
2556         It also verifies that scroll deltas are subtracted correctly by calling
2557         CCLayerTreeHostCommon::applyScrollAndScale().
2558         * tests/CCLayerTreeHostTest.cpp:
2559         (WTF::CCLayerTreeHostTest::doBeginTest):
2560         call setLayerTreeHost() on the root layer.
2561
2562 2011-11-10  Jay Civelli  <jcivelli@chromium.org>
2563
2564         Fix progress load reporting for MHTML documents.
2565
2566         MHTML documents containing references to resources they don't include
2567         never finish loading.
2568         https://bugs.webkit.org/show_bug.cgi?id=71859
2569
2570         Reviewed by Adam Barth.
2571
2572         * tests/FrameTestHelpers.cpp:
2573         (WebKit::FrameTestHelpers::registerMockedURLLoadAsHTML):
2574         (WebKit::FrameTestHelpers::registerMockedURLLoad):
2575         (WebKit::FrameTestHelpers::createWebViewAndLoad):
2576         * tests/FrameTestHelpers.h:
2577         * tests/WebFrameTest.cpp:
2578         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
2579         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
2580         (WebKit::TEST_F):
2581         * tests/WebViewTest.cpp:
2582         (WebKit::TEST_F):
2583         * tests/data/page_with_image.mht: Added.
2584
2585 2011-11-09  Tommy Widenflycht  <tommyw@google.com>
2586
2587         [chromium] MediaStream API: Add WebMediaStreamRegistry
2588         https://bugs.webkit.org/show_bug.cgi?id=71458
2589
2590         Reviewed by Darin Fisher.
2591
2592         * WebKit.gyp:
2593         * public/WebMediaStreamRegistry.h: Added.
2594         * src/WebMediaStreamRegistry.cpp: Added.
2595         (WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
2596
2597 2011-11-09  Alexandre Elias  <aelias@google.com>
2598
2599         [chromium] Add draw-time scale delta to compositor thread
2600         https://bugs.webkit.org/show_bug.cgi?id=71595
2601
2602         Reviewed by James Robinson.
2603
2604         There are two magnify values:
2605         1. The WebKit-side pageScale value corresponding to the resolution of
2606            the painted content.
2607         2. The Impl-side-only scaleDelta value representing the additional
2608            degree of current magnification, applied as a draw transform.  WebKit
2609            is never explicitly aware of this value and the only way to change it
2610            currently is via pinch events (and in the future, double-tap/etc
2611            events).  At the end of a pinch zoom, we multiply pageScale *
2612            scaleDelta and tell WebKit to use it as the new pageScale.
2613
2614         Scroll offsets and max-extents are maintained in pageScale space.
2615         When the scale changes, we need to take care to convert them to the
2616         new scale and avoid getting them clamped to the extents at the wrong
2617         scale.
2618
2619         I removed maxScrollPosition on the non-impl side because it makes no
2620         sense to precompute it in the presence of an impl-side zoom.  Replaced
2621         with a simple 'bool m_scrollable'.
2622
2623         zoomAnimatorTransform is not used because it currently isn't in the
2624         branch, and mostly doesn't behave the way we want anyway (it does most
2625         things in WebKit thread).  We will need to unify these later.
2626
2627         Also introduce deviceOrPageScaleFactorChanged() call which invalidates
2628         layers.
2629
2630         * public/WebLayerTreeViewClient.h:
2631         * public/WebView.h:
2632         * src/WebCompositorImpl.cpp:
2633         * src/WebLayerTreeViewImpl.cpp:
2634         (WebKit::WebLayerTreeViewImpl::applyScrollAndScale):
2635         * src/WebLayerTreeViewImpl.h:
2636         * src/WebViewImpl.cpp:
2637         (WebKit::WebViewImpl::enableFixedLayoutMode):
2638         (WebKit::WebViewImpl::setPageScaleFactorLimits):
2639         (WebKit::WebViewImpl::applyScrollAndScale):
2640         (WebKit::WebViewImpl::updateLayerTreeViewport):
2641         * src/WebViewImpl.h:
2642         * tests/CCLayerTreeHostImplTest.cpp:
2643         (WebKit::CCLayerTreeHostImplTest::expectContains):
2644         (WebKit::TEST_F):
2645         * tests/CCLayerTreeHostTest.cpp:
2646         (WTF::TestHooks::applyScrollAndScale):
2647         (WTF::MockLayerTreeHostClient::applyScrollAndScale):
2648         (WTF::CCLayerTreeHostTestScrollSimple::beginTest):
2649         (WTF::CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
2650         (WTF::CCLayerTreeHostTestScrollSimple::applyScrollAndScale):
2651         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
2652         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
2653         (WTF::CCLayerTreeHostTestScrollMultipleRedraw::applyScrollAndScale):
2654
2655 2011-11-09  Dominic Mazzoni  <dmazzoni@google.com>
2656
2657         Fix crash by handling case when AccessibilityObject::lineForPosition
2658         returns -1.
2659         https://bugs.webkit.org/show_bug.cgi?id=71561
2660
2661         Adds layout test: platform/chromium/accessibility/insertion-point-line-number-on-password-crashes.html
2662
2663         Reviewed by Dimitri Glazkov.
2664
2665         * src/WebAccessibilityObject.cpp:
2666         (WebKit::WebAccessibilityObject::lineBreaks):
2667
2668 2011-11-09  Jay Civelli  <jcivelli@chromium.org>
2669
2670         Fix MHTML generation to use the QuotedPrintable encoding for text resources.
2671         This was regressed when we added binary encoding support.
2672         https://bugs.webkit.org/show_bug.cgi?id=71857
2673
2674         Reviewed by Adam Barth.
2675
2676         * tests/WebPageNewSerializerTest.cpp:
2677         (WebKit::LineReader::LineReader):
2678         (WebKit::LineReader::getNextLine):
2679         (WebKit::WebPageNewSerializeTest::setUpCSSTestPage):
2680         (WebKit::TEST_F):
2681
2682 2011-11-09  Henrik Grunell  <grunell@chromium.org>
2683
2684         Adding missing implementation of WebMediaStreamDescriptor::label().
2685
2686         [Chromium] Missing WebMediaStreamDescriptor::label() implementation
2687         https://bugs.webkit.org/show_bug.cgi?id=71657
2688
2689         Reviewed by Adam Barth.
2690
2691         * src/WebMediaStreamDescriptor.cpp:
2692         (WebKit::WebMediaStreamDescriptor::label):
2693
2694 2011-11-09  Alexei Svitkine  <asvitkine@chromium.org>
2695
2696         Chromium: Add plumbing to enable dragging dev tools via the empty space on the toolbar.
2697         https://bugs.webkit.org/show_bug.cgi?id=71842
2698
2699         These are the only WebKit-side changes needed. The rest will be done on the Chromium side.
2700
2701         Chromium bug: http://crbug.com/44350
2702
2703         Reviewed by Pavel Feldman.
2704
2705         * public/WebDevToolsFrontendClient.h:
2706         (WebKit::WebDevToolsFrontendClient::moveWindowBy):
2707         * src/InspectorFrontendClientImpl.cpp:
2708         (WebKit::InspectorFrontendClientImpl::moveWindowBy):
2709
2710 2011-11-08  Jay Civelli  <jcivelli@chromium.org>
2711
2712         Fixes and reenables the WebPageSerializer tests.
2713         https://bugs.webkit.org/show_bug.cgi?id=71874
2714
2715         Reviewed by Adam Barth.
2716
2717         * WebKit.gypi:
2718         * tests/WebPageNewSerializerTest.cpp:
2719         (WebKit::TestWebFrameClient::~TestWebFrameClient):
2720         (WebKit::WebPageNewSerializeTest::SetUp):
2721         (WebKit::WebPageNewSerializeTest::resourceVectorContains):
2722         (WebKit::TEST_F):
2723         * tests/WebPageSerializerTest.cpp:
2724         (WebKit::WebPageSerializerTest::WebPageSerializerTest):
2725         (WebKit::WebPageSerializerTest::webVectorContains):
2726         (WebKit::TEST_F):
2727
2728 2011-11-07  Adam Barth  <abarth@webkit.org>
2729
2730         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
2731         https://bugs.webkit.org/show_bug.cgi?id=71755
2732
2733         Reviewed by Eric Seidel.
2734
2735         * src/WebFrameImpl.cpp:
2736         (WebKit::WebFrameImpl::setReferrerForRequest):
2737         * src/WebSecurityPolicy.cpp:
2738         (WebKit::WebSecurityPolicy::addOriginAccessWhitelistEntry):
2739         (WebKit::WebSecurityPolicy::removeOriginAccessWhitelistEntry):
2740         (WebKit::WebSecurityPolicy::resetOriginAccessWhitelists):
2741         (WebKit::WebSecurityPolicy::shouldHideReferrer):
2742         * src/WebViewImpl.cpp:
2743         (WebKit::WebViewImpl::initializeMainFrame):
2744
2745 2011-11-08  Nat Duca  <nduca@chromium.org>
2746
2747         [chromium] When GC3DPrivate::initializExtensions fails, dont keep retrying
2748         https://bugs.webkit.org/show_bug.cgi?id=71637
2749
2750         Reviewed by Kenneth Russell.
2751
2752         * src/GraphicsContext3DChromium.cpp:
2753         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
2754
2755 2011-11-08  Adam Klein  <adamk@chromium.org>
2756
2757         Use a typedef for ExceptionCode in all header files instead of including ExceptionCode.h
2758         https://bugs.webkit.org/show_bug.cgi?id=71845
2759
2760         Reviewed by Adam Barth.
2761
2762         * src/SharedWorkerRepository.cpp:
2763
2764 2011-11-08  Fady Samuel  <fsamuel@chromium.org>
2765
2766         Delete WebViewimpl::scalePage
2767         https://bugs.webkit.org/show_bug.cgi?id=71711
2768
2769         Reviewed by Darin Fisher.
2770
2771         Once this patch lands: http://codereview.chromium.org/8477033
2772
2773         WebViewImpl::scalePage will no longer be used in Chromium and
2774         can safely be deleted.
2775
2776         * public/WebView.h:
2777         * src/WebViewImpl.cpp:
2778         * src/WebViewImpl.h:
2779
2780 2011-11-08  Joshua Bell  <jsbell@chromium.org>
2781
2782         IndexedDB: implement compound (array) key support
2783         https://bugs.webkit.org/show_bug.cgi?id=62284
2784
2785         Reviewed by Tony Chang.
2786
2787         Extend WebKit API to support Array values as IDBKeys.
2788
2789         * public/WebIDBKey.h:
2790         * src/AssertMatchingEnums.cpp:
2791         * src/WebIDBKey.cpp:
2792         (WebKit::WebIDBKey::createArray):
2793         (WebKit::convertFromWebIDBKeyArray):
2794         (WebKit::convertToWebIDBKeyArray):
2795         (WebKit::WebIDBKey::assignArray):
2796         (WebKit::WebIDBKey::array):
2797         * tests/IDBBindingUtilitiesTest.cpp:
2798         (WebCore::TEST):
2799         * tests/IDBLevelDBCodingTest.cpp:
2800         (IDBLevelDBCoding::createArrayIDBKey):
2801         (IDBLevelDBCoding::TEST):
2802         (IDBLevelDBCoding::compareStrings):
2803
2804 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
2805
2806         Web Inspector: display notification in the front-end when inspected worker terminates
2807         https://bugs.webkit.org/show_bug.cgi?id=71770
2808
2809         Exposed an API for the browser to notify inspector front-end when inspeced instance
2810         terminates. It is used now for tracking shared workers termination.
2811
2812         Reviewed by Pavel Feldman.
2813
2814         * public/WebDevToolsAgent.h:
2815         * src/WebDevToolsAgentImpl.cpp:
2816         (WebKit::WebDevToolsAgent::createFrontendDisconnectedEvent):
2817
2818 2011-11-08  Yury Semikhatsky  <yurys@chromium.org>
2819
2820         [Chromium] Web Inspector: add sanity test for automatic reattach to a page which is reloaded after crash
2821         https://bugs.webkit.org/show_bug.cgi?id=71786
2822
2823         Added a test function that checks if console evaluation works after crashed tab reloading.
2824
2825         Reviewed by Pavel Feldman.
2826
2827         * src/js/Tests.js:
2828         (.TestSuite.prototype.testReattachAfterCrash):
2829
2830 2011-11-07  Emil A Eklund  <eae@chromium.org>
2831
2832         Revert platform and scrolling to ints
2833         https://bugs.webkit.org/show_bug.cgi?id=71585
2834
2835         Reviewed by Eric Seidel.
2836
2837         Replace all uses of LayoutUnit and related types with ints in platform
2838         and scrolling code.
2839
2840         * tests/ScrollAnimatorNoneTest.cpp:
2841         (MockScrollableArea::visibleHeight):
2842         (MockScrollableArea::visibleWidth):
2843
2844 2011-11-07  Adam Barth  <abarth@webkit.org>
2845
2846         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
2847         https://bugs.webkit.org/show_bug.cgi?id=71750
2848
2849         Reviewed by Eric Seidel.
2850
2851         * src/WebViewImpl.cpp:
2852         (WebKit::WebViewImpl::setDomainRelaxationForbidden):
2853
2854 2011-11-07  Beth Dakin  <bdakin@apple.com>
2855
2856         https://bugs.webkit.org/show_bug.cgi?id=71490
2857         Support uiStateTransitionProgress for scrollbars
2858         -and corresponding-
2859         <rdar://problem/9849612>
2860
2861         Reviewed by Sam Weinig.
2862
2863         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
2864         * src/WebScrollbarImpl.cpp:
2865         (WebKit::WebScrollbarImpl::onMouseUp):
2866
2867 2011-11-07  Fady Samuel  <fsamuel@chromium.org>
2868
2869         [Chromium] Rename WebView::scalePage to WebView::setPageScaleFactor to match WebCore
2870         https://bugs.webkit.org/show_bug.cgi?id=71485
2871
2872         Reviewed by Darin Fisher.
2873
2874         Created new method setPageScaleFactor to replace scalePage to match
2875         renamed method in WebCore. This change will happen in three stages:
2876
2877         1. A new method is created called setPageScaleFactor with the same
2878            functionality as scalePage.
2879         2. All call sites of scalePage are changed to setPageScaleFactor in the Chromium
2880            repository.
2881         3. scalePage is deleted from WebView/WebViewImpl
2882
2883         * public/WebView.h:
2884         * src/WebViewImpl.cpp:
2885         (WebKit::WebViewImpl::pageScaleFactor):
2886         (WebKit::WebViewImpl::scalePage):
2887         (WebKit::WebViewImpl::setPageScaleFactor):
2888         * src/WebViewImpl.h:
2889
2890 2011-11-07  Jessie Berlin  <jberlin@apple.com>
2891
2892         Need a way to allow a scheme access to Local Storage and Databases while Private Browsing is
2893         enabled.
2894         https://bugs.webkit.org/show_bug.cgi?id=71631
2895
2896         Reviewed by Jon Honeycutt.
2897
2898         * src/StorageAreaProxy.h:
2899         (WebCore::StorageAreaProxy::disabledByPrivateBrowsingInFrame):
2900         Chromium uses a different method to track its icognito mode, so always return false.
2901
2902 2011-11-07  Yury Semikhatsky  <yurys@chromium.org>
2903
2904         [Chromium] Web Inspector: use native worker inspector instead of fake workers
2905         https://bugs.webkit.org/show_bug.cgi?id=71670
2906
2907         chrome://workers link is replaced with instructions on discovering shared workers
2908         in Task Manager.
2909
2910         Reviewed by Pavel Feldman.
2911
2912         * src/js/DevTools.js:
2913         ():
2914
2915 2011-11-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2916
2917         Unreviewed.  Rolled DEPS.
2918
2919         * DEPS:
2920
2921 2011-11-05  Daniel Cheng  <dcheng@chromium.org>
2922
2923         [chromium] Use the security origin instead of the URL when checking notification permissions
2924         https://bugs.webkit.org/show_bug.cgi?id=71590
2925
2926         Reviewed by Adam Barth.
2927
2928         * public/WebNotificationPresenter.h:
2929         * src/NotificationPresenterImpl.cpp:
2930         (WebKit::NotificationPresenterImpl::checkPermission):
2931
2932 2011-11-04  Shawn Singh  <shawnsingh@chromium.org>
2933
2934         [chromium] Re-named the original scissorRect to clipRect
2935         https://bugs.webkit.org/show_bug.cgi?id=71580
2936
2937         Reviewed by James Robinson.
2938
2939         * tests/CCLayerImplTest.cpp:
2940         (WebCore::TEST):
2941         * tests/CCLayerTreeHostCommonTest.cpp:
2942         (WebCore::TEST):
2943         * tests/LayerChromiumTest.cpp:
2944
2945 2011-11-04  Robert Sesek  <rsesek@chromium.org>
2946
2947         [chromium] Use Chromium's copy of libWebKitSystemInterfaceLeopard.a
2948         https://bugs.webkit.org/show_bug.cgi?id=71563
2949
2950         Reviewed by Adam Barth.
2951
2952         Roll Chromium DEPS r108107:108476 to pull in
2953         libWebKitSystemInterfaceLeopard.a.
2954
2955         * DEPS:
2956
2957 2011-11-03  Adrienne Walker  <enne@google.com>
2958
2959         [chromium] Implement checkerboarding for missing layer tiles
2960         https://bugs.webkit.org/show_bug.cgi?id=69585
2961
2962         Reviewed by James Robinson.
2963
2964         To pipe the background color of the document to the non-composited
2965         host, set it during paint. This may be more frequent than necessary,
2966         but it'll catch all style changes.
2967
2968         * src/WebViewImpl.cpp:
2969         (WebKit::WebViewImpl::nonCompositedContentHost):
2970         (WebKit::WebViewImplContentPainter::paint):
2971         * src/WebViewImpl.h:
2972         * tests/CCLayerImplTest.cpp:
2973         (WebCore::TEST):
2974
2975 2011-11-04  Fady Samuel  <fsamuel@chromium.org>
2976
2977         [Chromium] Expose deviceScaleFactor to WebKit API
2978         https://bugs.webkit.org/show_bug.cgi?id=70614
2979
2980         Reviewed by Darin Fisher.
2981
2982         This exposes the device scale factor to the Chromium-WebKit API.
2983         This scale factor is the ratio between the current device's DPI
2984         and the target device's DPI. 
2985
2986         For details on how this can be accessed from CSS and javascript, please
2987         see here:
2988
2989         http://developer.android.com/guide/webapps/targeting.html#DensityCSS
2990
2991         * public/WebView.h:
2992         * src/WebViewImpl.cpp:
2993         (WebKit::WebViewImpl::deviceScaleFactor):
2994         (WebKit::WebViewImpl::setDeviceScaleFactor):
2995         * src/WebViewImpl.h:
2996
2997 2011-11-03  Adrienne Walker  <enne@google.com>
2998
2999         [chromium] Fix incorrect visibility/scissor rect for threaded compositing
3000         https://bugs.webkit.org/show_bug.cgi?id=70962
3001
3002         Reviewed by James Robinson.
3003
3004         * src/WebLayerTreeViewImpl.cpp:
3005         (WebKit::WebLayerTreeViewImpl::WebLayerTreeViewImpl):
3006         * src/WebViewImpl.cpp:
3007         (WebKit::WebViewImpl::setRootGraphicsLayer):
3008         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3009         * tests/CCLayerTreeHostTest.cpp:
3010         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3011
3012 2011-11-02  Xiaomei Ji  <xji@chromium.org>
3013
3014         Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag.
3015         https://bugs.webkit.org/show_bug.cgi?id=71163
3016
3017         Reviewed by Ryosuke Niwa.
3018
3019         To minimize the risk to LTR users, we enable this feature first to chromium win
3020         by command line flag. This and corresponding changset in chromium
3021         (http://codereview.chromium.org/8400078/)
3022         should be removed after this feature is enabled without command line flag. 
3023
3024         The work flow is:
3025         1. (chromium) adds command line flag --enable-visual-word-movement,
3026            pass it to WebCore::Settings through WebPreferences.
3027         2. in FrameSelection::modifyMovingLeft|Right, when 'visualWordMovementEnabled' is true in page's Settings,
3028            trigger visual word movement instead of logical one.
3029  
3030         * public/WebSettings.h:
3031         * src/WebSettingsImpl.cpp:
3032         (WebKit::WebSettingsImpl::setVisualWordMovementEnabled):
3033         * src/WebSettingsImpl.h:
3034
3035 2011-11-03  Darin Adler  <darin@apple.com>
3036
3037         Change remaining callers of releaseRef to call leakRef
3038         https://bugs.webkit.org/show_bug.cgi?id=71422
3039
3040         * public/WebPrivatePtr.h:
3041         (WebKit::WebPrivatePtr::WebPrivatePtr):
3042         (WebKit::WebPrivatePtr::operator=):
3043         * src/WebDOMEvent.cpp:
3044         (WebKit::WebDOMEvent::WebDOMEvent):
3045         * src/WebData.cpp:
3046         (WebKit::WebData::assign):
3047         (WebKit::WebData::WebData):
3048         (WebKit::WebData::operator=):
3049         * src/WebDragData.cpp:
3050         (WebKit::WebDragData::initialize):
3051         (WebKit::WebDragData::WebDragData):
3052         (WebKit::WebDragData::operator=):
3053         * src/WebHTTPBody.cpp:
3054         (WebKit::WebHTTPBody::initialize):
3055         (WebKit::WebHTTPBody::WebHTTPBody):
3056         (WebKit::WebHTTPBody::operator=):
3057         (WebKit::WebHTTPBody::ensureMutable):
3058         * src/WebNodeCollection.cpp:
3059         (WebKit::WebNodeCollection::WebNodeCollection):
3060         * src/WebNodeList.cpp:
3061         (WebKit::WebNodeList::WebNodeList):
3062         * src/WebNotification.cpp:
3063         (WebKit::WebNotification::WebNotification):
3064         (WebKit::WebNotification::operator=):
3065         * src/WebRange.cpp:
3066         (WebKit::WebRange::WebRange):
3067         (WebKit::WebRange::operator=):
3068         * src/WebSecurityOrigin.cpp:
3069         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
3070         (WebKit::WebSecurityOrigin::operator=):
3071         * src/WebThreadSafeData.cpp:
3072         (WebKit::WebThreadSafeData::WebThreadSafeData):
3073         Use leakRef.
3074
3075 2011-11-02  Darin Adler  <darin@apple.com>
3076
3077         Change remaining callers of releaseRef to call leakRef
3078         https://bugs.webkit.org/show_bug.cgi?id=71422
3079
3080         * public/WebPrivatePtr.h:
3081         (WebKit::WebPrivatePtr::WebPrivatePtr):
3082         (WebKit::WebPrivatePtr::operator=):
3083         * src/WebDOMEvent.cpp:
3084         (WebKit::WebDOMEvent::WebDOMEvent):
3085         * src/WebData.cpp:
3086         (WebKit::WebData::assign):
3087         (WebKit::WebData::WebData):
3088         (WebKit::WebData::operator=):
3089         * src/WebDragData.cpp:
3090         (WebKit::WebDragData::initialize):
3091         (WebKit::WebDragData::WebDragData):
3092         (WebKit::WebDragData::operator=):
3093         * src/WebHTTPBody.cpp:
3094         (WebKit::WebHTTPBody::initialize):
3095         (WebKit::WebHTTPBody::WebHTTPBody):
3096         (WebKit::WebHTTPBody::operator=):
3097         (WebKit::WebHTTPBody::ensureMutable):
3098         * src/WebNodeCollection.cpp:
3099         (WebKit::WebNodeCollection::WebNodeCollection):
3100         * src/WebNodeList.cpp:
3101         (WebKit::WebNodeList::WebNodeList):
3102         * src/WebNotification.cpp:
3103         (WebKit::WebNotification::WebNotification):
3104         (WebKit::WebNotification::operator=):
3105         * src/WebRange.cpp:
3106         (WebKit::WebRange::WebRange):
3107         (WebKit::WebRange::operator=):
3108         * src/WebSecurityOrigin.cpp:
3109         (WebKit::WebSecurityOrigin::WebSecurityOrigin):
3110         (WebKit::WebSecurityOrigin::operator=):
3111         * src/WebThreadSafeData.cpp:
3112         (WebKit::WebThreadSafeData::WebThreadSafeData):
3113         Use leakRef.
3114
3115 2011-11-03  Daniel Cheng  <dcheng@chromium.org>
3116
3117         [chromium] Remove unused clipboard methods
3118         https://bugs.webkit.org/show_bug.cgi?id=71512
3119
3120         Reviewed by Tony Chang.
3121
3122         * public/WebClipboard.h:
3123         (WebKit::WebClipboard::getSequenceNumber):
3124         (WebKit::WebClipboard::readAvailableTypes):
3125         (WebKit::WebClipboard::writeImage):
3126         * src/PlatformSupport.cpp:
3127         (WebCore::PlatformSupport::clipboardGetSequenceNumber):
3128         (WebCore::PlatformSupport::clipboardReadAvailableTypes):
3129
3130 2011-11-03  Fady Samuel  <fsamuel@chromium.org>
3131
3132         [Chromium] Refactor WebFrameImpl::createFrameView() to use Frame:createView
3133         https://bugs.webkit.org/show_bug.cgi?id=70507
3134
3135         Reviewed by Darin Fisher.
3136
3137         No change in functionality except for fixed layout mode. Fixed layout mode has
3138         not been fully upstreamed yet, so no new tests yet:
3139         https://bugs.webkit.org/show_bug.cgi?id=70562 will address this.
3140
3141         This patch also fixes https://bugs.webkit.org/show_bug.cgi?id=70555
3142         It was decided that fixed layout mode might need to be disabled for some content,
3143         and so this change enables the embedder to decide whether to enable fixed layout on
3144         navigation.
3145
3146         * src/WebFrameImpl.cpp:
3147         (WebKit::WebFrameImpl::createFrameView):
3148
3149 2011-10-28  Hans Wennborg  <hans@chromium.org>
3150
3151         IndexedDB: Recycle cursor objects when calling continue()
3152         https://bugs.webkit.org/show_bug.cgi?id=71115
3153
3154         Reviewed by Darin Fisher.
3155
3156         Add the new onSuccessWithContinuation() callback to IDB wrappers.
3157
3158         * public/WebIDBCallbacks.h:
3159         (WebKit::WebIDBCallbacks::onSuccessWithContinuation):
3160         * src/IDBCallbacksProxy.cpp:
3161         (WebKit::IDBCallbacksProxy::onSuccessWithContinuation):
3162         * src/IDBCallbacksProxy.h:
3163         * src/WebIDBCallbacksImpl.cpp:
3164         (WebKit::WebIDBCallbacksImpl::onSuccessWithContinuation):
3165         * src/WebIDBCallbacksImpl.h:
3166
3167 2011-11-02  Pavel Feldman  <pfeldman@google.com>
3168
3169         Web Inspector [chromium]: fix debug front-end zip generation.
3170         https://bugs.webkit.org/show_bug.cgi?id=71376
3171
3172         Reviewed by Yury Semikhatsky.
3173
3174         * WebKit.gyp:
3175         * scripts/generate_devtools_zip.py:
3176
3177 2011-11-02  Jon Lee  <jonlee@apple.com>
3178
3179         Expand DragController to provide more information about the dragging session
3180         https://bugs.webkit.org/show_bug.cgi?id=71324
3181         <rdar://problem/10379175>
3182
3183         Reviewed by Darin Adler.
3184
3185         * src/WebViewImpl.cpp:
3186         (WebKit::WebViewImpl::dragTargetDragEnterOrOver): The drag operation is contained
3187         within the new DragSession struct. Minor refactor.
3188
3189 2011-10-31  Nat Duca  <nduca@chromium.org>
3190
3191         [chromium] Slow down commit and draw rate based on visibility and draw completion
3192         https://bugs.webkit.org/show_bug.cgi?id=71267
3193
3194         Reviewed by James Robinson.
3195
3196         * tests/CCSchedulerStateMachineTest.cpp:
3197         (WebCore::TEST):
3198         * tests/CCSchedulerTest.cpp:
3199         (WebKitTests::FakeCCSchedulerClient::reset):
3200         (WebKitTests::FakeCCSchedulerClient::setVisible):
3201         (WebKitTests::FakeCCSchedulerClient::visible):
3202         (WebKitTests::TEST):
3203
3204 2011-11-02  Tom Sepez  <tsepez@chromium.org>
3205
3206         XSSAuditor is silent
3207         https://bugs.webkit.org/show_bug.cgi?id=70973
3208
3209         Reviewed by Adam Barth.
3210
3211         * public/WebFrameClient.h:
3212         (WebKit::WebFrameClient::didDetectXSS):
3213         * src/FrameLoaderClientImpl.cpp:
3214         (WebKit::FrameLoaderClientImpl::didDetectXSS):
3215         * src/FrameLoaderClientImpl.h:
3216
3217 2011-11-02  Jon Lee  <jonlee@apple.com>
3218
3219         <input=file multiple> default text uses singular instead of plural
3220         https://bugs.webkit.org/show_bug.cgi?id=71319
3221         <rdar://problem/10379021>
3222
3223         Reviewed by Darin Adler.
3224
3225         * src/LocalizedStrings.cpp:
3226         (WebCore::fileButtonNoFilesSelectedLabel):
3227
3228 2011-11-02  Andrey Kosyakov  <caseq@chromium.org>
3229
3230         Unreviewed fix for build failure on chromium shared linux caused by r99020.
3231
3232         * WebKit.gyp:
3233
3234 2011-11-01  Darin Adler  <darin@apple.com>
3235
3236         Change HTMLSelectElement::setSelectedIndex to use enums instead of bools
3237         https://bugs.webkit.org/show_bug.cgi?id=70184
3238
3239         Reviewed by Kent Tamura.
3240
3241         * tests/PopupMenuTest.cpp:
3242         (WebKit::TestPopupMenuClient::valueChanged): Replaced setSelectedIndexByUser
3243         call with a call to the renamed optionSelectedByUser, also removed one argument.
3244
3245 2011-11-01  Nat Duca  <nduca@chromium.org>
3246
3247         [chromium] Move resource-releasing logic into CCProxy and cleanup setNeedsCommit
3248         https://bugs.webkit.org/show_bug.cgi?id=71269
3249
3250         Reviewed by James Robinson.
3251
3252         * src/WebLayerTreeView.cpp:
3253         (WebKit::WebLayerTreeView::composite):
3254         * src/WebViewImpl.cpp:
3255         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3256         * tests/CCLayerTreeHostTest.cpp:
3257         (CCLayerTreeHostTest::postSetNeedsCommitToMainThread):
3258         (CCLayerTreeHostTest::dispatchSetNeedsCommit):
3259         (CCLayerTreeHostTestShortlived2::beginTest):
3260         (CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3261         (CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersOnCCThread):
3262         (CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3263         (CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3264         (CCLayerTreeHostTestSetNeedsCommit2::drawLayersOnCCThread):
3265         (CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3266         (CCLayerTreeHostTestScrollSimple::beginTest):
3267         (CCLayerTreeHostTestScrollSimple::drawLayersOnCCThread):
3268         (CCLayerTreeHostTestScrollMultipleRedraw::beginTest):
3269         (CCLayerTreeHostTestScrollMultipleRedraw::drawLayersOnCCThread):
3270
3271 2011-11-01  Julien Chaffraix  <jchaffraix@webkit.org>
3272
3273         Pack RenderTableCell bits
3274         https://bugs.webkit.org/show_bug.cgi?id=71135
3275
3276         Reviewed by Darin Adler.
3277
3278         * WebKit.gypi:
3279         * tests/RenderTableCellTest.cpp: Added.
3280         Added some tests for the column/row index limit
3281         that was implemented in RenderTableCell.
3282
3283 2011-11-01  Nate Chapin  <japhet@chromium.org>
3284
3285         Add 2 new TargetTypes (to match ResourceRequest::TargetType)
3286         and ensure we don't pass chromium a TargetType it doesn't
3287         yet understand.
3288         https://bugs.webkit.org/show_bug.cgi?id=70972
3289
3290         Reviewed by Darin Fisher.
3291
3292         * public/WebURLRequest.h:
3293         * src/WebURLRequest.cpp:
3294
3295 2011-11-01  Tommy Widenflycht  <tommyw@google.com>
3296
3297         [chromium] Media Stream API: Adding supporting classes to WebPeerConnectionHandler
3298         https://bugs.webkit.org/show_bug.cgi?id=71008
3299
3300         Expanding WebMediaStreamDescriptor and adding WebMediaStreamSource
3301
3302         Reviewed by Darin Fisher.
3303
3304         * WebKit.gyp:
3305         * public/WebMediaStreamDescriptor.h:
3306         * public/WebMediaStreamSource.h: Copied from Source/WebKit/chromium/public/WebMediaStreamDescriptor.h.
3307         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
3308         (WebKit::WebMediaStreamSource::~WebMediaStreamSource):
3309         (WebKit::WebMediaStreamSource::isNull):
3310         * src/AssertMatchingEnums.cpp:
3311         * src/WebMediaStreamDescriptor.cpp:
3312         (WebKit::WebMediaStreamDescriptor::operator=):
3313         (WebKit::WebMediaStreamDescriptor::initialize):
3314         * src/WebMediaStreamSource.cpp: Copied from Source/WebKit/chromium/src/WebMediaStreamDescriptor.cpp.
3315         (WebKit::WebMediaStreamSource::WebMediaStreamSource):
3316         (WebKit::WebMediaStreamSource::reset):
3317         (WebKit::WebMediaStreamSource::operator PassRefPtr<MediaStreamSource>):
3318         (WebKit::WebMediaStreamSource::operator MediaStreamSource*):
3319         (WebKit::WebMediaStreamSource::initialize):
3320         (WebKit::WebMediaStreamSource::id):
3321         (WebKit::WebMediaStreamSource::type):
3322         (WebKit::WebMediaStreamSource::name):
3323
3324 2011-11-01  Nat Duca  <nduca@chromium.org>
3325
3326         CCSchedulerTests fail on Chromium Windows (dbg) after r98915
3327         https://bugs.webkit.org/show_bug.cgi?id=71294
3328
3329         Reviewed by James Robinson.
3330
3331         * tests/CCSchedulerTest.cpp:
3332         (WebKitTests::TEST):
3333
3334 2011-11-01  Alok Priyadarshi  <alokp@chromium.org>
3335
3336         Roll chromium DEPS.
3337
3338         Unreviewed.
3339
3340         * DEPS:
3341
3342 2011-11-01  Pavel Feldman  <pfeldman@google.com>
3343
3344         Not reviewed: fix chromium interactive tests.
3345
3346         * src/js/Tests.js:
3347         (.TestSuite.prototype.showPanel):
3348
3349 2011-10-31  Tommy Widenflycht  <tommyw@google.com>
3350
3351         [Chromium] Media Stream API: add the Chromium WebKit interfaces
3352         https://bugs.webkit.org/show_bug.cgi?id=58550
3353
3354         Adds the bridging code + the minimum amount of Web* supporting code.
3355
3356         Reviewed by Darin Fisher.
3357
3358         * WebKit.gyp:
3359         * bridge/PeerConnectionHandler.cpp: Renamed from Source/WebCore/platform/mediastream/PeerHandler.cpp.
3360         (WebCore::PeerConnectionHandler::create):
3361         (WebCore::PeerConnectionHandler::PeerConnectionHandler):
3362         (WebCore::PeerConnectionHandler::~PeerConnectionHandler):
3363         (WebCore::PeerConnectionHandler::produceInitialOffer):
3364         (WebCore::PeerConnectionHandler::handleInitialOffer):
3365         (WebCore::PeerConnectionHandler::processSDP):
3366         (WebCore::PeerConnectionHandler::processPendingStreams):
3367         (WebCore::PeerConnectionHandler::sendDataStreamMessage):
3368         (WebCore::PeerConnectionHandler::stop):
3369         * bridge/PeerConnectionHandlerInternal.cpp: Added.
3370         (WebCore::PeerConnectionHandlerInternal::PeerConnectionHandlerInternal):
3371         (WebCore::PeerConnectionHandlerInternal::~PeerConnectionHandlerInternal):
3372         (WebCore::PeerConnectionHandlerInternal::produceInitialOffer):
3373         (WebCore::PeerConnectionHandlerInternal::handleInitialOffer):
3374         (WebCore::PeerConnectionHandlerInternal::processSDP):
3375         (WebCore::PeerConnectionHandlerInternal::processPendingStreams):
3376         (WebCore::PeerConnectionHandlerInternal::sendDataStreamMessage):
3377         (WebCore::PeerConnectionHandlerInternal::stop):
3378         (WebCore::PeerConnectionHandlerInternal::didCompleteICEProcessing):
3379         (WebCore::PeerConnectionHandlerInternal::didGenerateSDP):
3380         (WebCore::PeerConnectionHandlerInternal::didReceiveDataStreamMessage):
3381         (WebCore::PeerConnectionHandlerInternal::didAddRemoteStream):
3382         (WebCore::PeerConnectionHandlerInternal::didRemoveRemoteStream):
3383         * bridge/PeerConnectionHandlerInternal.h: Added.
3384         * public/WebKitPlatformSupport.h:
3385         (WebKit::WebKitPlatformSupport::createPeerConnectionHandler):
3386         * public/WebMediaStreamDescriptor.h: Added.
3387         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
3388         (WebKit::WebMediaStreamDescriptor::~WebMediaStreamDescriptor):
3389         (WebKit::WebMediaStreamDescriptor::isNull):
3390         * public/WebPeerConnectionHandler.h: Added.
3391         (WebKit::WebPeerConnectionHandler::~WebPeerConnectionHandler):
3392         * public/WebPeerConnectionHandlerClient.h: Added.
3393         (WebKit::WebPeerConnectionHandlerClient::~WebPeerConnectionHandlerClient):
3394         * src/WebMediaStreamDescriptor.cpp: Added.
3395         (WebKit::WebMediaStreamDescriptor::WebMediaStreamDescriptor):
3396         (WebKit::WebMediaStreamDescriptor::reset):
3397         (WebKit::WebMediaStreamDescriptor::operator=):
3398         (WebKit::WebMediaStreamDescriptor::operator WTF::PassRefPtr<WebCore::MediaStreamDescriptor>):
3399         (WebKit::WebMediaStreamDescriptor::operator WebCore::MediaStreamDescriptor*):
3400
3401         Tests for the Media Stream API will be provided by the bug 56587, pending enough landed code.
3402
3403 2011-10-31  Yuzhu Shen  <yzshen@google.com>
3404
3405         [chromium] Calling methods of WebFontImpl causes assertions
3406         https://bugs.webkit.org/show_bug.cgi?id=71232
3407
3408         Added FontCachePurgePreventer in several methods.
3409
3410         Reviewed by James Robinson.
3411
3412         * src/WebFontImpl.cpp:
3413         (WebKit::WebFontImpl::calculateWidth):
3414         (WebKit::WebFontImpl::offsetForPosition):
3415         (WebKit::WebFontImpl::selectionRectForText):
3416         (WebKit::WebFontImpl::estimateTextBounds):
3417
3418 2011-10-28  Nat Duca  <nduca@chromium.org>
3419
3420         [chromium] Connect CCThreadProxy to FrameRateController and SchedulerStateMachine via CCScheduler
3421         https://bugs.webkit.org/show_bug.cgi?id=71100
3422
3423         Reviewed by James Robinson.
3424
3425         * tests/CCSchedulerStateMachineTest.cpp:
3426         (WebCore::StateMachine::setUpdateMoreResourcesPending):
3427         (WebCore::StateMachine::updateMoreResourcesPending):
3428         (WebCore::TEST):
3429         * tests/CCSchedulerTest.cpp:
3430
3431 2011-10-31  Joshua Bell  <jsbell@chromium.org>
3432
3433         IndexedDB: Remove null key support (part 2)
3434         https://bugs.webkit.org/show_bug.cgi?id=71132
3435
3436         Reviewed by Darin Fisher.
3437
3438         * public/WebIDBKey.h:
3439         * src/AssertMatchingEnums.cpp:
3440         * src/WebIDBKey.cpp:
3441
3442 2011-10-31  Pavel Feldman  <pfeldman@google.com>
3443
3444         Web Inspector: move localization support into UIUtil.js, reduce externs.
3445         https://bugs.webkit.org/show_bug.cgi?id=71220
3446
3447         Reviewed by Yury Semikhatsky.
3448
3449         * src/js/DevTools.js:
3450
3451 2011-10-31  Adam Barth  <abarth@webkit.org>
3452
3453         [Chromium] The Chromium port calls OwnPtr::get and RefPtr::get way more often than needed
3454         https://bugs.webkit.org/show_bug.cgi?id=71205
3455
3456         Reviewed by Ryosuke Niwa.
3457
3458         WebKit style is to use the implicit Boolean conversions rather than
3459         calling get() on these pointer types.  This patch cleans up most (all?)
3460         of these style issues in the Chromium port in the hopes that they'll be
3461         copy/pasted less in the future.
3462
3463         * src/ApplicationCacheHostInternal.h:
3464         (WebCore::ApplicationCacheHostInternal::toWebApplicationCacheHost):
3465         * src/AudioDestinationChromium.cpp:
3466         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
3467         (WebCore::AudioDestinationChromium::start):
3468         (WebCore::AudioDestinationChromium::stop):
3469         * src/FrameLoaderClientImpl.cpp:
3470         (WebKit::FrameLoaderClientImpl::setMainDocumentError):
3471         (WebKit::FrameLoaderClientImpl::committedLoad):
3472         (WebKit::FrameLoaderClientImpl::finishedLoading):
3473         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
3474         * src/PlatformMessagePortChannel.cpp:
3475         (WebCore::PlatformMessagePortChannel::postMessageToRemote):
3476         * src/ResourceHandle.cpp:
3477         (WebCore::ResourceHandleInternal::start):
3478         (WebCore::ResourceHandle::loadResourceSynchronously):
3479         * src/SocketStreamHandle.cpp:
3480         (WebCore::SocketStreamHandleInternal::connect):
3481         (WebCore::SocketStreamHandleInternal::send):
3482         (WebCore::SocketStreamHandleInternal::didOpenStream):
3483         (WebCore::SocketStreamHandleInternal::didSendData):
3484         (WebCore::SocketStreamHandleInternal::didReceiveData):
3485         (WebCore::SocketStreamHandleInternal::didClose):
3486         (WebCore::SocketStreamHandleInternal::didFail):
3487         (WebCore::SocketStreamHandle::platformSend):
3488         (WebCore::SocketStreamHandle::platformClose):
3489         * src/WebAccessibilityObject.cpp:
3490         (WebKit::WebAccessibilityObject::hitTest):
3491         * src/WebFrameImpl.cpp:
3492         (WebKit::WebFrameImpl::findChildByExpression):
3493         (WebKit::WebFrameImpl::loadHistoryItem):
3494         (WebKit::WebFrameImpl::characterIndexForPoint):
3495         (WebKit::WebFrameImpl::selectionAsText):
3496         (WebKit::WebFrameImpl::selectionAsMarkup):
3497         (WebKit::WebFrameImpl::getPrintPageShrink):
3498         (WebKit::WebFrameImpl::printPage):
3499         (WebKit::WebFrameImpl::printEnd):
3500         (WebKit::WebFrameImpl::scopeStringMatches):
3501         * src/WebIDBKey.cpp:
3502         (WebKit::WebIDBKey::type):
3503         * src/WebIDBKeyRange.cpp:
3504         (WebKit::WebIDBKeyRange::lower):
3505         (WebKit::WebIDBKeyRange::upper):
3506         (WebKit::WebIDBKeyRange::lowerOpen):
3507         (WebKit::WebIDBKeyRange::upperOpen):
3508         * src/WebImageCG.cpp:
3509         (WebKit::WebImage::WebImage):
3510         (WebKit::WebImage::operator=):
3511         * src/WebMediaPlayerClientImpl.cpp:
3512         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
3513         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
3514         (WebKit::WebMediaPlayerClientImpl::repaint):
3515         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3516         (WebKit::WebMediaPlayerClientImpl::cancelLoad):
3517         (WebKit::WebMediaPlayerClientImpl::play):
3518         (WebKit::WebMediaPlayerClientImpl::pause):
3519         (WebKit::WebMediaPlayerClientImpl::sourceAppend):
3520         (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
3521         (WebKit::WebMediaPlayerClientImpl::naturalSize):
3522         (WebKit::WebMediaPlayerClientImpl::hasVideo):
3523         (WebKit::WebMediaPlayerClientImpl::hasAudio):
3524         (WebKit::WebMediaPlayerClientImpl::setVisible):
3525         (WebKit::WebMediaPlayerClientImpl::duration):
3526         (WebKit::WebMediaPlayerClientImpl::currentTime):
3527         (WebKit::WebMediaPlayerClientImpl::seek):
3528         (WebKit::WebMediaPlayerClientImpl::seeking):
3529         (WebKit::WebMediaPlayerClientImpl::setEndTime):
3530         (WebKit::WebMediaPlayerClientImpl::setRate):
3531         (WebKit::WebMediaPlayerClientImpl::paused):
3532         (WebKit::WebMediaPlayerClientImpl::supportsFullscreen):
3533         (WebKit::WebMediaPlayerClientImpl::supportsSave):
3534         (WebKit::WebMediaPlayerClientImpl::setVolume):
3535         (WebKit::WebMediaPlayerClientImpl::networkState):
3536         (WebKit::WebMediaPlayerClientImpl::readyState):
3537         (WebKit::WebMediaPlayerClientImpl::maxTimeSeekable):
3538         (WebKit::WebMediaPlayerClientImpl::buffered):
3539         (WebKit::WebMediaPlayerClientImpl::dataRate):
3540         (WebKit::WebMediaPlayerClientImpl::totalBytesKnown):
3541         (WebKit::WebMediaPlayerClientImpl::totalBytes):
3542         (WebKit::WebMediaPlayerClientImpl::bytesLoaded):
3543         (WebKit::WebMediaPlayerClientImpl::setSize):
3544         (WebKit::WebMediaPlayerClientImpl::paintCurrentFrameInContext):
3545         (WebKit::WebMediaPlayerClientImpl::setPreload):
3546         (WebKit::WebMediaPlayerClientImpl::hasSingleSecurityOrigin):
3547         (WebKit::WebMediaPlayerClientImpl::movieLoadType):
3548         (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
3549         (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
3550         (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
3551         (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
3552         (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
3553         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
3554         (WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
3555         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
3556         * src/WebURLRequest.cpp:
3557         (WebKit::WebURLRequest::extraData):
3558         * src/WebViewImpl.cpp:
3559         (WebKit::WebViewImpl::theme):
3560         (WebKit::WebViewImpl::mainFrameImpl):
3561         (WebKit::WebViewImpl::tabKeyCyclesThroughElements):
3562         (WebKit::WebViewImpl::hideSelectPopup):
3563         (WebKit::WebViewImpl::popupClosed):
3564         (WebKit::WebViewImpl::focusedWebCoreFrame):
3565         (WebKit::WebViewImpl::close):
3566         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
3567         (WebKit::WebViewImpl::handleInputEvent):
3568         (WebKit::WebViewImpl::setFocus):
3569         (WebKit::WebViewImpl::compositionRange):
3570         (WebKit::WebViewImpl::caretOrSelectionRange):
3571         (WebKit::WebViewImpl::settings):
3572         (WebKit::WebViewImpl::pageEncoding):
3573         (WebKit::WebViewImpl::setPageEncoding):
3574         (WebKit::WebViewImpl::setInitialFocus):
3575         (WebKit::WebViewImpl::clearFocusedNode):
3576         (WebKit::WebViewImpl::copyImageAt):
3577         (WebKit::WebViewImpl::dragTargetDragEnter):
3578         (WebKit::WebViewImpl::dragTargetDragLeave):
3579         (WebKit::WebViewImpl::dragTargetDrop):
3580         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
3581         (WebKit::WebViewImpl::inspectElementAt):
3582         (WebKit::WebViewImpl::applyAutofillSuggestions):
3583         * src/WebWorkerBase.cpp:
3584         (WebKit::WebWorkerBase::postMessageTask):
3585         * src/WorkerAsyncFileSystemChromium.cpp:
3586         (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
3587         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
3588
3589 2011-10-31  Vangelis Kokkevis  <vangelis@chromium.org>
3590
3591         Add missing declaration in WebSettings.h
3592         https://bugs.webkit.org/show_bug.cgi?id=71165
3593
3594         Reviewed by Darin Fisher.
3595
3596         * public/WebSettings.h:
3597
3598 2011-10-29  Jochen Eisinger  <jochen@chromium.org>
3599
3600         Implement IDBFactory.deleteDatabase
3601         https://bugs.webkit.org/show_bug.cgi?id=62622
3602
3603         Reviewed by Tony Chang.
3604
3605         * src/IDBFactoryBackendProxy.cpp:
3606         (WebKit::IDBFactoryBackendProxy::deleteDatabase):
3607         * src/IDBFactoryBackendProxy.h:
3608         * src/WebIDBFactoryImpl.cpp:
3609         (WebKit::WebIDBFactoryImpl::getDatabaseNames):
3610         (WebKit::WebIDBFactoryImpl::open):
3611         (WebKit::WebIDBFactoryImpl::deleteDatabase):
3612         * src/WebIDBFactoryImpl.h:
3613
3614 2011-10-28  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3615  
3616         Add support for sending scroll-update events from EventSender.
3617         https://bugs.webkit.org/show_bug.cgi?id=66272
3618
3619         Reviewed by Adam Barth.
3620
3621         * public/WebInputEvent.h:
3622         (WebKit::WebGestureEvent::WebGestureEvent):
3623         * src/WebInputEventConversion.cpp:
3624         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
3625         * src/WebPopupMenuImpl.cpp:
3626         (WebKit::WebPopupMenuImpl::handleInputEvent):
3627         * src/WebViewImpl.cpp:
3628         (WebKit::WebViewImpl::handleInputEvent):
3629
3630 2011-10-28  James Robinson  <jamesr@chromium.org>
3631
3632         [chromium] Track wheel event handler registration and pass to input filter
3633         https://bugs.webkit.org/show_bug.cgi?id=71078
3634
3635         Reviewed by Kenneth Russell.
3636
3637         Pushes mouse wheel event handler notifications to CCLayerTreeHost when compositing.
3638
3639         * src/ChromeClientImpl.cpp:
3640         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
3641         * src/WebCompositorImpl.cpp:
3642         (WebKit::WebCompositorImpl::handleInputEvent):
3643         * src/WebViewImpl.cpp:
3644         (WebKit::WebViewImpl::numberOfWheelEventHandlersChanged):
3645         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3646         * src/WebViewImpl.h:
3647
3648 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
3649
3650         Rename a number of methods mentioning JavaScript to just Script instead
3651         https://bugs.webkit.org/show_bug.cgi?id=71105
3652
3653         Reviewed by Adam Barth.
3654
3655         * src/FrameLoaderClientImpl.cpp:
3656         (WebKit::FrameLoaderClientImpl::allowScript):
3657         * src/FrameLoaderClientImpl.h:
3658         * src/WebFrameImpl.cpp:
3659         (WebKit::WebFrameImpl::collectGarbage):
3660         * src/WebSettingsImpl.cpp:
3661         (WebKit::WebSettingsImpl::setJavaScriptEnabled):
3662
3663 2011-10-28  Adam Barth  <abarth@webkit.org>
3664
3665         Remove getExceptionCodeDescription()
3666         https://bugs.webkit.org/show_bug.cgi?id=71103
3667
3668         Reviewed by Eric Seidel.
3669
3670         Migrate to new API.
3671
3672         * src/StorageInfoChromium.cpp:
3673         * src/WebStorageQuotaCallbacksImpl.cpp:
3674         (WebKit::WebStorageQuotaCallbacksImpl::didFail):
3675
3676 2011-10-28  Hans Wennborg  <hans@chromium.org>
3677
3678         IndexedDB: Clean-up unused functions in WebIDBFactory
3679         https://bugs.webkit.org/show_bug.cgi?id=71011
3680
3681         Reviewed by Tony Chang.
3682
3683         This is a clean-up after r97453. Since Chromium was updated,
3684         these functions are no longer used.
3685
3686         * public/WebIDBFactory.h:
3687         (WebKit::WebIDBFactory::getDatabaseNames):
3688         (WebKit::WebIDBFactory::open):
3689
3690 2011-10-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3691
3692         Unreviewed.  Rolled DEPS.
3693
3694         * DEPS:
3695
3696 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
3697
3698         Add allowScriptFromSource callback to FrameLoaderClient
3699         https://bugs.webkit.org/show_bug.cgi?id=71013
3700
3701         Reviewed by Darin Fisher.
3702
3703         * public/WebPermissionClient.h:
3704         (WebKit::WebPermissionClient::allowScriptFromSource):
3705         * src/FrameLoaderClientImpl.cpp:
3706         (WebKit::FrameLoaderClientImpl::allowScriptFromSource):
3707         * src/FrameLoaderClientImpl.h:
3708
3709 2011-10-26  Nat Duca  <nduca@chromium.org>
3710
3711         [chromium] Implement frame rate control portions of CCScheduler
3712         https://bugs.webkit.org/show_bug.cgi?id=70713
3713
3714         Reviewed by James Robinson.
3715
3716         * WebKit.gypi:
3717         * tests/CCDelayBasedTimeSourceTest.cpp: Added.
3718         (WebKitTests::TEST):
3719         * tests/CCFrameRateControllerTest.cpp: Added.
3720         (WebKitTests::FakeCCFrameRateControllerClient::FakeCCFrameRateControllerClient):
3721         (WebKitTests::FakeCCFrameRateControllerClient::reset):
3722         (WebKitTests::FakeCCFrameRateControllerClient::frameBegun):
3723         (WebKitTests::FakeCCFrameRateControllerClient::beginFrame):
3724         (WebKitTests::TEST):
3725         * tests/CCLayerTreeHostTest.cpp:
3726         * tests/CCSchedulerTestCommon.h: Added.
3727         (WebKitTests::FakeCCTimeSourceClient::FakeCCTimeSourceClient):
3728         (WebKitTests::FakeCCTimeSourceClient::reset):
3729         (WebKitTests::FakeCCTimeSourceClient::tickCalled):
3730         (WebKitTests::FakeCCTimeSourceClient::onTimerTick):
3731         (WebKitTests::FakeCCThread::FakeCCThread):
3732         (WebKitTests::FakeCCThread::reset):
3733         (WebKitTests::FakeCCThread::hasPendingTask):
3734         (WebKitTests::FakeCCThread::runPendingTask):
3735         (WebKitTests::FakeCCThread::pendingDelay):
3736         (WebKitTests::FakeCCThread::postTask):
3737         (WebKitTests::FakeCCThread::postDelayedTask):
3738         (WebKitTests::FakeCCThread::threadID):
3739         (WebKitTests::FakeCCDelayBasedTimeSource::FakeCCDelayBasedTimeSource):
3740         (WebKitTests::FakeCCDelayBasedTimeSource::setMonotonicallyIncreasingTime):
3741         (WebKitTests::FakeCCDelayBasedTimeSource::monotonicallyIncreasingTime):
3742
3743 2011-10-27  Vangelis Kokkevis  <vangelis@chromium.org>
3744
3745         Expose Settings::setAcceleratedCompositingForFixedPositionEnabled to WebSettingsImpl.
3746         https://bugs.webkit.org/show_bug.cgi?id=71077
3747
3748         Reviewed by James Robinson.
3749
3750         * src/WebSettingsImpl.cpp:
3751         (WebKit::WebSettingsImpl::setAcceleratedCompositingForFixedPositionEnabled):
3752         * src/WebSettingsImpl.h:
3753
3754 2011-10-27  Peng Huang  <penghuang@chromium.org>
3755
3756         [chromium] Remove some APIs which are not used anymore.
3757         https://bugs.webkit.org/show_bug.cgi?id=71068
3758
3759         Reviewed by Darin Fisher.
3760
3761         * public/WebWidget.h:
3762         * src/WebPopupMenuImpl.cpp:
3763         * src/WebPopupMenuImpl.h:
3764         * src/WebViewImpl.cpp:
3765         * src/WebViewImpl.h:
3766
3767 2011-10-27  Shawn Singh  <shawnsingh@chromium.org>
3768
3769         [chromium] Track when CCLayerImpl properties have changed.
3770         https://bugs.webkit.org/show_bug.cgi?id=70442
3771
3772         Reviewed by James Robinson.
3773
3774         * WebKit.gypi:
3775         * tests/CCLayerImplTest.cpp: Added.
3776         (WebCore::TEST):
3777
3778 2011-10-27  Vsevolod Vlasov  <vsevik@chromium.org>
3779
3780         Web Inspector: HTTP headers merged incorrect in Chrome
3781         https://bugs.webkit.org/show_bug.cgi?id=69674
3782
3783         Reviewed by Pavel Feldman.
3784
3785         * src/WebHTTPLoadInfo.cpp:
3786         (WebKit::addHeader):
3787
3788 2011-10-27  Stephen Chenney  <schenney@chromium.org>
3789
3790         [Chromium] Need setPrinting
3791         https://bugs.webkit.org/show_bug.cgi?id=46152
3792
3793         Reviewed by Hajime Morita.
3794
3795         * public/WebFrame.h: Added pure virtual prototype for printPagesWithBoundaries. Added enum
3796         and changed parameters for renderTreeAsText.
3797         * src/WebFrameImpl.cpp:
3798         (WebKit::ChromePrintContext::spoolAllPagesWithBoundaries): Added this method, based on
3799         the static in PrintContext. This uses Chromium specific page spooling and transforms.
3800         (WebKit::WebFrameImpl::renderTreeAsText): Updated to allow text dump in printed format.
3801         (WebKit::WebFrameImpl::printPagesWithBoundaries): Added method for testing printing page
3802         breaks.
3803         * src/WebFrameImpl.h: Added prototype.
3804
3805 2011-10-27  Antoine Labour  <piman@chromium.org>
3806
3807         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
3808         https://bugs.webkit.org/show_bug.cgi?id=70431
3809
3810         Reviewed by James Robinson.
3811
3812         * src/WebContentLayerImpl.cpp:
3813         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3814         * src/WebExternalTextureLayerImpl.cpp:
3815         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3816         * src/WebLayerImpl.cpp:
3817         (WebKit::WebLayerImpl::~WebLayerImpl):
3818
3819 2011-10-24  Nat Duca  <nduca@chromium.org>
3820
3821         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
3822         https://bugs.webkit.org/show_bug.cgi?id=70714
3823
3824         Reviewed by James Robinson.
3825
3826         * WebKit.gypi:
3827         * tests/CCSchedulerStateMachineTest.cpp: Added.
3828         (WebCore::StateMachine::setCommitState):
3829         (WebCore::StateMachine::commitState):
3830         (WebCore::StateMachine::setNeedsCommit):
3831         (WebCore::StateMachine::needsCommit):
3832         (WebCore::StateMachine::setNeedsRedraw):
3833         (WebCore::StateMachine::needsRedraw):
3834         (WebCore::StateMachine::setUpdatedThisFrame):
3835         (WebCore::StateMachine::updatedThisFrame):
3836         (WebCore::TEST):
3837
3838 2011-10-27  Nat Duca  <nduca@chromium.org>
3839
3840         Unreviewed, rolling out r98612.
3841         http://trac.webkit.org/changeset/98612
3842         https://bugs.webkit.org/show_bug.cgi?id=70714
3843
3844         Broke build
3845
3846         * WebKit.gypi:
3847         * tests/CCSchedulerStateMachineTest.cpp: Removed.
3848
3849 2011-10-24  Nat Duca  <nduca@chromium.org>
3850
3851         [chromium] Encapsulate state machine parts of scheduling in CCSchedulerStateMachine
3852         https://bugs.webkit.org/show_bug.cgi?id=70714
3853
3854         Reviewed by James Robinson.
3855
3856         * WebKit.gypi:
3857         * tests/CCSchedulerStateMachineTest.cpp: Added.
3858         (WebCore::StateMachine::setCommitState):
3859         (WebCore::StateMachine::commitState):
3860         (WebCore::StateMachine::setNeedsCommit):
3861         (WebCore::StateMachine::needsCommit):
3862         (WebCore::StateMachine::setNeedsRedraw):
3863         (WebCore::StateMachine::needsRedraw):
3864         (WebCore::StateMachine::setUpdatedThisFrame):
3865         (WebCore::StateMachine::updatedThisFrame):
3866         (WebCore::TEST):
3867
3868 2011-10-27  Dave Michael  <dmichael@chromium.org>
3869
3870         Chromium ui_tests WorkerTest.WorkerMessagePort[GC] were broken by https://bugs.webkit.org/attachment.cgi?id=112342
3871         https://bugs.webkit.org/show_bug.cgi?id=70953
3872
3873         Reviewed by David Levin.
3874
3875         * src/PlatformMessagePortChannel.cpp:
3876         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
3877
3878 2011-10-27  Aaron Colwell  <acolwell@chromium.org>
3879
3880         Enable MEDIA_SOURCE feature for Chromium
3881         https://bugs.webkit.org/show_bug.cgi?id=70745
3882
3883         Reviewed by David Levin.
3884
3885         * features.gypi:
3886
3887 2011-10-26  Chris Rogers  <crogers@google.com>
3888
3889         Add chromium bridging for AudioSourceProviderClient and setFormat() method so we can know audio stream format
3890         https://bugs.webkit.org/show_bug.cgi?id=70650
3891
3892         Reviewed by Darin Fisher.
3893
3894         * WebKit.gyp:
3895         * public/WebAudioSourceProvider.h:
3896         (WebKit::WebAudioSourceProvider::setClient):
3897         * public/WebAudioSourceProviderClient.h: Copied from Source/WebKit/chromium/public/WebAudioSourceProvider.h.
3898         (WebKit::WebAudioSourceProviderClient::~WebAudioSourceProviderClient):
3899         * public/WebMediaPlayer.h:
3900         * src/WebMediaPlayerClientImpl.cpp:
3901         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3902         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
3903         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::wrap):
3904         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::setClient):
3905         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
3906         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::setFormat):
3907         * src/WebMediaPlayerClientImpl.h:
3908         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::AudioClientImpl):
3909         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::~AudioClientImpl):
3910         (WebKit::WebMediaPlayerClientImpl::AudioClientImpl::wrap):
3911
3912 2011-10-25  Stephen White  <senorblanco@chromium.org>
3913
3914         [chromium] Canvas2D should rate-limit drawing to prevent swamping the GPU process.
3915         https://bugs.webkit.org/show_bug.cgi?id=70367
3916
3917         * src/GraphicsContext3DChromium.cpp:
3918         (WebCore::GraphicsContext3DPrivate::markContextChanged):
3919         Remove the call to setTextureChanged (it will be handled internally
3920         by the compositor in setContextNeedsDisplay() instead).  This decouples
3921         GraphicsContext3D from WebGLLayerChromium a bit.
3922
3923 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3924
3925         Unreviewed, rolling out r98393.
3926         http://trac.webkit.org/changeset/98393
3927         https://bugs.webkit.org/show_bug.cgi?id=70892
3928
3929         "Compilation is broken on Chromium Webkit Mac Builder (dbg) "
3930         (Requested by yurys on #webkit).
3931
3932         * WebKit.gypi:
3933         * src/WebContentLayerImpl.cpp:
3934         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
3935         (WebKit::WebContentLayerImpl::setDrawsContent):
3936         * src/WebExternalTextureLayerImpl.cpp:
3937         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
3938         * src/WebLayerImpl.cpp:
3939         (WebKit::WebLayerImpl::~WebLayerImpl):
3940         * tests/LayerChromiumTest.cpp:
3941         * tests/WebLayerTest.cpp: Removed.
3942
3943 2011-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3944
3945         Unreviewed, rolling out r98429.
3946         http://trac.webkit.org/changeset/98429
3947         https://bugs.webkit.org/show_bug.cgi?id=70881
3948
3949         "webkit_gpu_tests fail in Chromium" (Requested by yurys on
3950         #webkit).
3951
3952         * public/WebLayerTreeView.h:
3953         * src/WebCompositorImpl.cpp:
3954         (WebKit::WebCompositor::setThread):
3955         * src/WebLayerTreeView.cpp:
3956         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3957         (WebKit::WebLayerTreeView::composite):
3958         * src/WebLayerTreeViewImpl.cpp:
3959         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3960         * src/WebViewImpl.cpp:
3961         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3962         * tests/CCLayerTreeHostTest.cpp:
3963         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3964         (WTF::CCLayerTreeHostTest::runTest):
3965
3966 2011-10-26  Polina Sokolova  <polina@chromium.org>
3967
3968         Remove temporary hack needed to ease Chromium/WebKit commit.
3969         https://bugs.webkit.org/show_bug.cgi?id=70791
3970
3971         Reviewed by Darin Fisher.
3972
3973         * public/WebDocument.h:
3974
3975 2011-10-25  Nat Duca  <nduca@chromium.org>
3976
3977         [chromium] Enable threaded compositing via CCThreadProxy::hasThread only
3978         https://bugs.webkit.org/show_bug.cgi?id=70838
3979
3980         Reviewed by James Robinson.
3981
3982         * public/WebLayerTreeView.h:
3983         * src/WebCompositorImpl.cpp:
3984         * src/WebLayerTreeView.cpp:
3985         (WebKit::WebLayerTreeView::Settings::operator CCSettings):
3986         (WebKit::WebLayerTreeView::composite):
3987         * src/WebLayerTreeViewImpl.cpp:
3988         (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
3989         * src/WebViewImpl.cpp:
3990         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3991
3992 2011-10-25  Antoine Labour  <piman@chromium.org>
3993
3994         Fix teardown in Web*LayerImpl, and add tests for Web*Layer
3995         https://bugs.webkit.org/show_bug.cgi?id=70431
3996
3997         Reviewed by James Robinson.
3998
3999         * src/WebContentLayerImpl.cpp:
4000         (WebKit::WebContentLayerImpl::~WebContentLayerImpl):
4001         * src/WebExternalTextureLayerImpl.cpp:
4002         (WebKit::WebExternalTextureLayerImpl::~WebExternalTextureLayerImpl):
4003         * src/WebLayerImpl.cpp:
4004         (WebKit::WebLayerImpl::~WebLayerImpl):
4005
4006 2011-10-25  Adam Barth  <abarth@webkit.org>
4007
4008         EventTarget.h shouldn't need to know about every feature and ifdef
4009         https://bugs.webkit.org/show_bug.cgi?id=70659
4010
4011         Reviewed by Darin Adler.
4012
4013         This cast isn't needed because dispatchEvent is a virtual function.
4014
4015         * src/WebSharedWorkerImpl.cpp:
4016         (WebKit::WebSharedWorkerImpl::connectTask):
4017
4018 2011-10-25  Michal Mocny  <mmocny@google.com>
4019
4020         [chromium] WebGraphicsContext3D setVisibilityCHROMIUM extension changed to pure virtual.
4021         https://bugs.webkit.org/show_bug.cgi?id=70818
4022
4023         Reviewed by Kenneth Russell.
4024
4025         * public/WebGraphicsContext3D.h:
4026
4027 2011-10-25  Dave Michael  <dmichael@chromium.org>
4028
4029         Make it possible to create and dispatch a message event through chromium API
4030
4031         Removed messageChannels parameter, since it's hard to get right and I don't need it. Changed message_data->messageData. Reordered includes.
4032
4033         https://bugs.webkit.org/show_bug.cgi?id=69962
4034
4035         Reviewed by David Levin.
4036
4037         * WebKit.gyp:
4038         * public/WebDOMEvent.h:
4039         * public/WebDOMMessageEvent.h: Added.
4040         * public/WebDocument.h:
4041         * public/WebNode.h:
4042         * src/PlatformMessagePortChannel.cpp:
4043         (WebCore::PlatformMessagePortChannel::hasPendingActivity):
4044         * src/WebDOMEvent.cpp:
4045         (WebKit::WebDOMEvent::operator WTF::PassRefPtr<WebCore::Event>):
4046         * src/WebDOMMessageEvent.cpp: Added.
4047         (WebKit::WebDOMMessageEvent::initMessageEvent):
4048         * src/WebDocument.cpp:
4049         (WebKit::WebDocument::createEvent):
4050         * src/WebNode.cpp:
4051         (WebKit::WebNode::dispatchEvent):
4052
4053 2011-10-25  Gene Girard  <girard@chromium.org>
4054
4055         Re-enable touch tests (from 66577)
4056         https://bugs.webkit.org/show_bug.cgi?id=70351
4057
4058         Reviewed by Adam Barth.
4059
4060         * tests/InnerGestureRecognizerTest.cpp:
4061         (TEST_F):
4062
4063 2011-10-25  Nat Duca  <nduca@chromium.org>
4064
4065         Unreviewed. Rolled DEPS.
4066
4067         * DEPS:
4068
4069 2011-10-25  Yury Semikhatsky  <yurys@chromium.org>
4070
4071         Web Inspector: redesign workers sidebar pane
4072         https://bugs.webkit.org/show_bug.cgi?id=70815
4073
4074         Reviewed by Pavel Feldman.
4075
4076         * src/js/DevTools.js: Expose link to shared workers inspection page to WebCore.
4077         ():
4078
4079 2011-10-25  Nico Weber  <thakis@chromium.org>
4080
4081         [chromium] Try to fix mac build after r98294
4082         https://bugs.webkit.org/show_bug.cgi?id=70753
4083
4084         Remove test for ScrollAnimatorNone on mac.
4085
4086         Unreviewed, build fix.
4087
4088         * WebKit.gypi:
4089
4090 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
4091
4092         Removed SharedUChar and tightened language around its previous uses
4093         https://bugs.webkit.org/show_bug.cgi?id=70698
4094
4095         Reviewed by David Levin.
4096