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