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