[chromium] Need a way to test lost compositor context recovery
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-08-23  James Robinson  <jamesr@chromium.org>
2
3         [chromium] Need a way to test lost compositor context recovery
4         https://bugs.webkit.org/show_bug.cgi?id=66820
5
6         Reviewed by Kenneth Russell.
7
8         Adds a testing-only API to simulate a lost compositor context.
9
10         * public/WebView.h:
11         * src/WebViewImpl.cpp:
12         (WebKit::WebViewImpl::loseCompositorContext):
13         * src/WebViewImpl.h:
14
15 2011-08-23  Nat Duca  <nduca@chromium.org>
16
17         [chromium] Implement CCThread in terms of WebThread
18         https://bugs.webkit.org/show_bug.cgi?id=66610
19
20         Reviewed by Darin Fisher.
21
22         * WebKit.gyp:
23         * public/WebThread.h:
24         (WebKit::WebThread::~WebThread):
25         * src/CCThreadImpl.cpp: Added.
26         (WebKit::GetThreadIDTask::GetThreadIDTask):
27         (WebKit::GetThreadIDTask::~GetThreadIDTask):
28         (WebKit::GetThreadIDTask::run):
29         (WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
30         (WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
31         (WebKit::CCThreadTaskAdapter::run):
32         (WebKit::CCThreadImpl::create):
33         (WebKit::CCThreadImpl::~CCThreadImpl):
34         (WebKit::CCThreadImpl::postTask):
35         (WebKit::CCThreadImpl::threadID):
36         (WebKit::CCThreadImpl::CCThreadImpl):
37         * src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
38         * src/WebViewImpl.cpp:
39         (WebKit::WebViewImpl::createCompositorThread):
40         * src/WebViewImpl.h:
41         * tests/CCThreadTest.cpp:
42
43 2011-08-23  Iain Merrick  <husky@google.com>
44
45         [chromium] Renderer crashes when about:gpucrash is loaded
46         https://bugs.webkit.org/show_bug.cgi?id=66814
47
48         WebViewImpl::didRecreateGraphicsContext() was calling
49         setRootLayer() on the CC layer tree, but the root layer
50         doesn't actually change and the code wasn't defensive
51         against this. This CL adds some asserts to catch tree
52         corruption and removes the unnecessary calls.
53
54         Reviewed by James Robinson.
55
56         * src/WebViewImpl.cpp:
57         (WebKit::WebViewImpl::didRecreateGraphicsContext):
58
59 2011-08-23  Dmitry Lomov  <Dmitry Lomov (dslomov@google.com)>
60
61         https://bugs.webkit.org/show_bug.cgi?id=66751 
62         [Chromium]WebWorkerClientImpl should always invoke
63         InspectorIntrumentation on main thread.
64         The fix moves calls to InspectorInstrumentation from
65         WebWorkerClientImpl to unedrlying WorkerMessagingProxy.
66
67         Reviewed by Pavel Feldman.
68
69         * src/WebWorkerClientImpl.cpp:
70         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
71         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
72
73 2011-08-23  Adam Klein  <adamk@chromium.org>
74
75         [chromium] Remove a few FIXME #defines in API headers
76         https://bugs.webkit.org/show_bug.cgi?id=66791
77
78         Reviewed by James Robinson.
79
80         * DEPS:
81         Roll chromium_rev to r97891.
82         * public/WebFileSystem.h:
83         #define made obsolete in http://crrev.com/97520.
84         * public/WebKitClient.h:
85         #define made obsolete in http://crrev.com/97524 and
86         http://crrev.com/97891.
87
88
89 2011-08-23  Al Patrick  <apatrick@chromium.org>
90
91         Add shareResources flag to 3D graphics context attributes
92         https://bugs.webkit.org/show_bug.cgi?id=66516
93
94         Reviewed by James Robinson.
95
96         * public/WebGraphicsContext3D.h:
97         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
98         * src/GraphicsContext3DChromium.cpp:
99         (WebCore::GraphicsContext3DInternal::initialize):
100         * src/WebViewImpl.cpp:
101         (std::getCompositorContextAttributes):
102
103 2011-08-23  Fady Samuel  <fsamuel@chromium.org>
104
105         New MainFrame views should inherit fixed layout settings from existing MainFrame view in Chromium.
106         https://bugs.webkit.org/show_bug.cgi?id=66780
107
108         Fixed layout mode is set from WebViewImpl, but new main FrameViews are created on loading new pages. The new page's FrameView should get its
109         fixed layout settings from the current page.
110
111         Reviewed by Darin Fisher.
112
113         * src/WebFrameImpl.cpp:
114         (WebKit::WebFrameImpl::createFrameView):
115
116 2011-08-23  Matt Falkenhagen  <falken@chromium.org>
117
118         [chromium] Update WebSettings to support per-script font settings
119         https://bugs.webkit.org/show_bug.cgi?id=66220
120
121         Reviewed by Tony Chang.
122
123         * WebKit.gyp:
124         * public/WebSettings.h:
125         * src/WebSettingsImpl.cpp:
126         (WebKit::WebSettingsImpl::setStandardFontFamily):
127         (WebKit::WebSettingsImpl::setFixedFontFamily):
128         (WebKit::WebSettingsImpl::setSerifFontFamily):
129         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
130         (WebKit::WebSettingsImpl::setCursiveFontFamily):
131         (WebKit::WebSettingsImpl::setFantasyFontFamily):
132         * src/WebSettingsImpl.h:
133
134 2011-08-23  Nat Duca  <nduca@chromium.org>
135
136         Unreviewd, roll chromium reverse DEPS 97698:97834
137         https://bugs.webkit.org/show_bug.cgi?id=66781
138
139         * DEPS:
140
141 2011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
142
143         Unreviewed, rolling out r93575.
144         http://trac.webkit.org/changeset/93575
145         https://bugs.webkit.org/show_bug.cgi?id=66744
146
147         Does not compile on chromium canaries (Requested by jamesr on
148         #webkit).
149
150         * public/WebSettings.h:
151         * src/WebSettingsImpl.cpp:
152         (WebKit::WebSettingsImpl::setStandardFontFamily):
153         (WebKit::WebSettingsImpl::setFixedFontFamily):
154         (WebKit::WebSettingsImpl::setSerifFontFamily):
155         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
156         (WebKit::WebSettingsImpl::setCursiveFontFamily):
157         (WebKit::WebSettingsImpl::setFantasyFontFamily):
158         * src/WebSettingsImpl.h:
159
160 2011-08-22  Matt Falkenhagen  <falken@chromium.org>
161
162         [chromium] Update WebSettings to support per-script font settings
163         https://bugs.webkit.org/show_bug.cgi?id=66220
164
165         Reviewed by Tony Chang.
166
167         * public/WebSettings.h:
168         * src/WebSettingsImpl.cpp:
169         (WebKit::WebSettingsImpl::setStandardFontFamily):
170         (WebKit::WebSettingsImpl::setFixedFontFamily):
171         (WebKit::WebSettingsImpl::setSerifFontFamily):
172         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
173         (WebKit::WebSettingsImpl::setCursiveFontFamily):
174         (WebKit::WebSettingsImpl::setFantasyFontFamily):
175         * src/WebSettingsImpl.h:
176
177 2011-08-22  Iain Merrick  <husky@google.com>
178
179         [chromium] WebViewImpl should not reshape the 3D context
180         https://bugs.webkit.org/show_bug.cgi?id=66704
181
182         Reviewed by James Robinson.
183
184         * src/WebViewImpl.cpp:
185         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
186         (WebKit::WebViewImpl::graphicsContext3D):
187
188 2011-08-22  Nat Duca  <nduca@chromium.org>
189
190         Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
191         https://bugs.webkit.org/show_bug.cgi?id=66708
192
193         Reviewed by Kenneth Russell.
194
195         * src/GraphicsContext3DChromium.cpp:
196         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
197         (WebCore::GraphicsContext3DInternal::isResourceSafe):
198         (WebCore::GraphicsContext3D::create):
199         (WebCore::GraphicsContext3D::isResourceSafe):
200         * src/GraphicsContext3DInternal.h:
201
202 2011-08-22  Adam Klein  <adamk@chromium.org>
203
204         [chromium] Remove deprecated and unused bits of WebIDB* headers
205         https://bugs.webkit.org/show_bug.cgi?id=66711
206
207         Reviewed by Tony Chang.
208
209         The Chromium side of this patch was submitted as
210         http://crrev.com/97687.
211
212         * public/WebIDBCallbacks.h:
213         * public/WebIDBCursor.h:
214         (WebKit::WebIDBCursor::primaryKey):
215         (WebKit::WebIDBCursor::value):
216         (WebKit::WebIDBCursor::deleteFunction):
217         * public/WebIDBDatabase.h:
218         (WebKit::WebIDBDatabase::transaction):
219
220 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
221
222         Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
223
224         * DEPS: Done it.
225
226 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
227
228         Roll Chromium DEPS to 97698.
229
230         * DEPS: Rolled.
231
232 2011-08-22  Justin Novosad  <junov@chromium.org>
233
234         [Chromium] Crash when allocation of very large canvas fails
235         https://bugs.webkit.org/show_bug.cgi?id=66563
236
237         Reviewed by Stephen White.
238
239         * DEPS:
240         Bumping up the chrome DEPS to pick up 97474, which is
241         required by this patch.
242
243 2011-08-20  Nebojsa Ciric  <cira@chromium.org>
244
245         Add dependency on v8-i18n library. We used v8 repository before.
246         Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
247         https://bugs.webkit.org/show_bug.cgi?id=66573
248
249         Reviewed by Kent Tamura.
250
251         * DEPS:
252
253 2011-08-19  Adam Klein  <adamk@chromium.org>
254
255         [chromium] Remove various unreferenced bits from Chromium API headers
256         https://bugs.webkit.org/show_bug.cgi?id=66575
257
258         Reviewed by Tony Chang.
259
260         * public/WebApplicationCacheHost.h:
261         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
262         * public/WebFrame.h:
263         * public/WebFrameClient.h:
264         (WebKit::WebFrameClient::didReceiveTitle):
265         * public/WebVideoFrame.h:
266
267 2011-08-19  Fady Samuel  <fsamuel@chromium.org>
268
269         Expose Fixed Layout Size mode to Chromium's WebKit API
270         https://bugs.webkit.org/show_bug.cgi?id=66568
271
272         Reviewed by Darin Fisher.
273
274         * public/WebView.h:
275         * src/WebViewImpl.cpp:
276         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
277         (WebKit::WebViewImpl::enableFixedLayoutMode):
278         (WebKit::WebViewImpl::fixedLayoutSize):
279         (WebKit::WebViewImpl::setFixedLayoutSize):
280         * src/WebViewImpl.h:
281
282 2011-08-17  Adrienne Walker  <enne@google.com>
283
284         [chromium] Split tiler into main thread / compositor thread versions
285         https://bugs.webkit.org/show_bug.cgi?id=66065
286
287         Reviewed by James Robinson.
288
289         Add a test for assignment and copy constructor for TilingData.
290
291         * tests/TilingDataTest.cpp:
292         (WebCore::TEST):
293
294 2011-08-19  Andrey Kosyakov  <caseq@chromium.org>
295
296         Web Inspector: [Extensions API][chromium] webInspector.resources deprecation warning is given even for extensions that don't use webInspector.resources
297         https://bugs.webkit.org/show_bug.cgi?id=66553
298
299         Reviewed by Pavel Feldman.
300
301         * src/js/DevTools.js:
302         (WebInspector.platformExtensionAPI):
303
304 2011-08-18  James Kozianski  <koz@chromium.org>
305
306         Chromium plumbing for webkitRequestFullScreen
307         https://bugs.webkit.org/show_bug.cgi?id=66031
308
309         Reviewed by Darin Fisher.
310
311         * public/WebView.h:
312         * public/WebViewClient.h:
313         (WebKit::WebViewClient::enterFullscreenForElement):
314         (WebKit::WebViewClient::exitFullscreenForElement):
315         * src/ChromeClientImpl.cpp:
316         (WebKit::ChromeClientImpl::enterFullScreenForElement):
317         (WebKit::ChromeClientImpl::exitFullScreenForElement):
318         * src/WebViewImpl.cpp:
319         (WebKit::WebViewImpl::exitFullscreen):
320         * src/WebViewImpl.h:
321
322 2011-08-18  Chris Rogers  <crogers@google.com>
323
324         Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
325         https://bugs.webkit.org/show_bug.cgi?id=66441
326
327         Reviewed by Darin Fisher.
328
329         * public/WebAudioSourceProvider.h: Added.
330         (WebKit::WebAudioSourceProvider::~WebAudioSourceProvider):
331         * public/WebMediaPlayer.h:
332         (WebKit::WebMediaPlayer::audioSourceProvider):
333         * src/WebMediaPlayerClientImpl.cpp:
334         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
335         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
336         * src/WebMediaPlayerClientImpl.h:
337         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::AudioSourceProviderImpl):
338         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::~AudioSourceProviderImpl):
339         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::initialize):
340
341 2011-08-18  Sailesh Agrawal  <sail@chromium.org>
342
343         Chromium Mac: Show scrollbar when doing search
344         https://bugs.webkit.org/show_bug.cgi?id=66209
345
346         Reviewed by James Robinson.
347
348         Fixed a bug in invalidateArea where it wouldn't properly invalidate overlay scrollbars. The problem was that it was assuming that the scrollbar was always to the right of the visible scrollbar. This isn't true for overlay scrollbars.
349
350         No tests because there are no Mac 10.7 chromium bots yet.
351
352         * src/WebFrameImpl.cpp:
353         (WebKit::WebFrameImpl::invalidateArea):
354
355 2011-08-18  James Robinson  <jamesr@chromium.org>
356
357         [chromium] Draw the root/"non-composited content" in compositor side
358         https://bugs.webkit.org/show_bug.cgi?id=58834
359
360         Reviewed by Kenneth Russell.
361
362         * src/WebViewImpl.cpp:
363         (WebKit::WebViewImpl::paint):
364         (WebKit::WebViewImpl::setRootGraphicsLayer):
365         (WebKit::WebViewImpl::didRecreateGraphicsContext):
366         (WebKit::WebViewImpl::updateLayerTreeViewport):
367         * src/WebViewImpl.h:
368
369 2011-08-18  Sadrul Habib Chowdhury  <sadrul@chromium.org>
370
371         GestureRecognizer: Update how gesture-scroll works.
372
373         Add a unit-test to make sure the correct gesture events are being
374         generated.
375         https://bugs.webkit.org/show_bug.cgi?id=66267
376
377         Reviewed by Adam Barth.
378
379         * tests/InnerGestureRecognizerTest.cpp:
380         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
381         (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
382         (WebCore::TEST_F):
383
384 2011-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
385
386         Unreviewed, rolling out r93329.
387         http://trac.webkit.org/changeset/93329
388         https://bugs.webkit.org/show_bug.cgi?id=66497
389
390         Turned text on chromium win blue (Requested by jamesr_ on
391         #webkit).
392
393         * src/WebViewImpl.cpp:
394         (WebKit::WebViewImpl::paint):
395         (WebKit::WebViewImpl::setRootGraphicsLayer):
396         (WebKit::WebViewImpl::setRootPlatformLayer):
397         (WebKit::WebViewImpl::didRecreateGraphicsContext):
398         (WebKit::WebViewImpl::updateLayerTreeViewport):
399         * src/WebViewImpl.h:
400
401 2011-08-18  Dominic Mazzoni  <dmazzoni@google.com>
402
403         Add a bunch of accessors to WebAccessibilityObject to expose more of
404         AccessibilityObject to Chromium, including range control values,
405         document load state, live region attributes, and a few other
406         ARIA attributes.
407
408         https://bugs.webkit.org/show_bug.cgi?id=66411
409
410         Reviewed by Dimitri Glazkov.
411
412         * public/WebAccessibilityObject.h:
413         * src/WebAccessibilityObject.cpp:
414         (WebKit::WebAccessibilityObject::isAriaReadOnly):
415         (WebKit::WebAccessibilityObject::isButtonStateMixed):
416         (WebKit::WebAccessibilityObject::isControl):
417         (WebKit::WebAccessibilityObject::isFocused):
418         (WebKit::WebAccessibilityObject::isLoaded):
419         (WebKit::WebAccessibilityObject::isRequired):
420         (WebKit::WebAccessibilityObject::isVertical):
421         (WebKit::WebAccessibilityObject::accessKey):
422         (WebKit::WebAccessibilityObject::ariaHasPopup):
423         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
424         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
425         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
426         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
427         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
428         (WebKit::WebAccessibilityObject::hierarchicalLevel):
429         (WebKit::WebAccessibilityObject::valueDescription):
430         (WebKit::WebAccessibilityObject::valueForRange):
431         (WebKit::WebAccessibilityObject::maxValueForRange):
432         (WebKit::WebAccessibilityObject::minValueForRange):
433
434 2011-08-15  Dmitry Lomov  <dslomov@google.com>
435
436         https://bugs.webkit.org/show_bug.cgi?id=61016
437         [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers.
438         This adds an implementation of in-process dedicated workers to chromium port.
439         The crux of the matter is the reimplementation of WebWorkerClientImpl. WebWorkerClientImpl now 
440         implements all three of Worker{Loader,Context,Object}Proxies and delegates the implementation to 
441         WebKit's standard WorkerMessagingProxy.
442         For now, we have 3 implementations of workers in chromium WebKit:
443           - In-process dedicated workers (this checkin)
444           - Inter-process shared workers
445           - Inter-process dedicated workers (defunct after this checkin)
446         This patch extracts some new common interfaces (NewWebWorkerBase and NewWebWorkerClient) for these 
447         three implementations. 
448         Removing the remainings of inter-process dedicated workers -related classes is left for a separate patch 
449         (it will require coordinated changes on chromuium side).
450
451         Reviewed by David Levin.
452
453         * public/WebCommonWorkerClient.h:
454         * src/DatabaseObserver.cpp:
455         (WebKit::AllowDatabaseMainThreadBridge::create):
456         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
457         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
458         (WebKit::allowDatabaseForWorker):
459         (WebCore::DatabaseObserver::canEstablishDatabase):
460         * src/LocalFileSystemChromium.cpp:
461         (WebCore::openFileSystemHelper):
462         * src/WebSharedWorkerImpl.h:
463         (WebKit::WebSharedWorkerImpl::newCommonClient):
464         * src/WebWorkerBase.h:
465         (WebKit::WebWorkerBase::view):
466         * src/WebWorkerClientImpl.cpp:
467         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
468         (WebKit::WebWorkerClientImpl::startWorkerContext):
469         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
470         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
471         (WebKit::WebWorkerClientImpl::hasPendingActivity):
472         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
473         (WebKit::WebWorkerClientImpl::connectToInspector):
474         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
475         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
476         (WebKit::WebWorkerClientImpl::postMessageToPageInspector):
477         (WebKit::WebWorkerClientImpl::postTaskToLoader):
478         (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
479         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
480         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
481         (WebKit::WebWorkerClientImpl::reportPendingActivity):
482         (WebKit::WebWorkerClientImpl::workerContextClosed):
483         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
484         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
485         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
486         (WebKit::WebWorkerClientImpl::allowFileSystem):
487         (WebKit::WebWorkerClientImpl::openFileSystem):
488         (WebKit::WebWorkerClientImpl::allowDatabase):
489         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
490         (WebKit::WebWorkerClientImpl::view):
491         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
492         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
493         * src/WebWorkerClientImpl.h:
494         (WebKit::WebWorkerClientImpl::newCommonClient):
495         * src/WebWorkerImpl.cpp:
496         (WebKit::WebWorkerImpl::newCommonClient):
497         * src/WebWorkerImpl.h:
498         * src/WorkerFileSystemCallbacksBridge.cpp:
499         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
500         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
501         * src/WorkerFileSystemCallbacksBridge.h:
502
503 2011-08-18  James Robinson  <jamesr@chromium.org>
504
505         [chromium] Draw the root/"non-composited content" in compositor side
506         https://bugs.webkit.org/show_bug.cgi?id=58834
507
508         Reviewed by Darin Fisher.
509
510         * src/WebViewImpl.cpp:
511         (WebKit::WebViewImpl::paint):
512         (WebKit::WebViewImpl::setRootGraphicsLayer):
513         (WebKit::WebViewImpl::didRecreateGraphicsContext):
514         (WebKit::WebViewImpl::updateLayerTreeViewport):
515         * src/WebViewImpl.h:
516
517 2011-08-18  Tony Chang  <tony@chromium.org>
518
519         Revert r93294, doesn't compile on Chromium Mac.
520
521         * features.gypi:
522
523 2011-08-17  Adam Roben  <aroben@apple.com>
524
525         Make WebCore keep track of the current device scale factor
526
527         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
528         device scale factor
529
530         Reviewed by Darin Adler.
531
532         * src/ChromeClientImpl.cpp:
533         * src/ChromeClientImpl.h:
534         Removed deviceScaleFactor.
535
536 2011-08-18  Steve Block  <steveblock@google.com>
537
538         Remove a superfluous 'using' from WebBindings.cpp
539         https://bugs.webkit.org/show_bug.cgi?id=66046
540
541         Reviewed by Alexey Proskuryakov.
542
543         * src/WebBindings.cpp:
544
545 2011-08-18  Gavin Peters  <gavinp@chromium.org>
546
547         Prepare frames for history navigation.
548
549         Before beginning an explicit history navigation in a newly initialized
550         frame, it's important to give a "previous" item to avoid crashes, and
551         give a state to the state machine to avoid extra validating loads.
552
553         https://bugs.webkit.org/show_bug.cgi?id=66322
554
555         Reviewed by Darin Fisher.
556
557         * src/WebFrameImpl.cpp:
558         (WebKit::WebFrameImpl::loadHistoryItem):
559
560 2011-08-18  Nico Weber  <thakis@chromium.org>
561
562         [chromium/mac] Enable smooth scrolling
563         https://bugs.webkit.org/show_bug.cgi?id=66418
564
565         Reviewed by Dimitri Glazkov.
566
567         * features.gypi:
568
569 2011-08-17  Scott Byer  <scottbyer@chromium.org>
570
571         ScrollAnimatorNone: Remove unused field
572         https://bugs.webkit.org/show_bug.cgi?id=66312
573
574         Reviewed by Adam Barth.
575
576         * tests/ScrollAnimatorNoneTest.cpp:
577         (ScrollAnimatorNoneTest::updateDataFromParameters):
578         (TEST_F):
579
580 2011-08-16  Chang Shu  <cshu@webkit.org>
581
582         Support reset in WebCore::Internals
583         https://bugs.webkit.org/show_bug.cgi?id=66307
584
585         Reviewed by Dimitri Glazkov.
586
587         Added framework code in WebKit.
588
589         * public/WebTestingSupport.h:
590         * src/WebTestingSupport.cpp:
591         (WebKit::WebTestingSupport::resetInternalsObject):
592
593 2011-08-15  Aaron Boodman  <aa@chromium.org>
594
595         Remove support for old didCreateIsolatedContext() signature
596         https://bugs.webkit.org/show_bug.cgi?id=66249
597
598         Reviewed by Darin Fisher.
599
600         * public/WebFrameClient.h:
601         * src/FrameLoaderClientImpl.cpp:
602         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
603
604 2011-08-17  Aaron Boodman  <aa@chromium.org>
605
606         Remove support for old didCreateIsolatedContext() signature
607         https://bugs.webkit.org/show_bug.cgi?id=66249
608
609         Reviewed by Darin Fisher.
610
611         * public/WebFrameClient.h:
612         * src/FrameLoaderClientImpl.cpp:
613         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
614
615 2011-08-17  David Grogan  <dgrogan@chromium.org>
616
617         Remove onTimeout from WebIDBTransactionCallbacks.h
618         https://bugs.webkit.org/show_bug.cgi?id=66326
619
620         Reviewed by Tony Chang.
621
622         * public/WebIDBTransactionCallbacks.h:
623
624 2011-08-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
625
626         Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
627         https://bugs.webkit.org/show_bug.cgi?id=65694
628
629         Reviewed by Alexey Proskuryakov.
630
631         * src/AssociatedURLLoader.cpp:
632         (WebKit::AssociatedURLLoader::loadAsynchronously):
633
634 2011-08-12  John Abd-El-Malek  <jam@chromium.org>
635
636         [chromium] cleanup after previous webkit change rolled into chrome
637         https://bugs.webkit.org/show_bug.cgi?id=66177
638
639         Reviewed by James Robinson.
640
641         * DEPS:
642         * WebKit.gyp:
643         * public/WebScrollbar.h:
644
645 2011-08-16  Stephen White  <senorblanco@chromium.org>
646
647         GraphicsContext3D should allow its hostWindow to be NULL
648         https://bugs.webkit.org/show_bug.cgi?id=66305
649
650         Allow the hostWindow param (and m_webViewImpl) to be NULL.  This
651         makes it much easier to enable GPU acceleration at a lower level
652         in WebKit's platform/graphics layer, without needing access to the
653         Page* or HostWindow*.  Also bump the chromium DEPS to chrome r96940,
654         which includes a similar change for the in-process GraphicsContext3D
655         implementations.
656
657         Reviewed by James Robinson.
658
659         * DEPS:
660         * src/GraphicsContext3DChromium.cpp:
661         (WebCore::GraphicsContext3DInternal::initialize):
662         (WebCore::GraphicsContext3DInternal::platformTexture):
663         (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
664
665 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
666
667         Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
668         https://bugs.webkit.org/show_bug.cgi?id=66316
669
670         Reviewed by Pavel Feldman.
671
672         * WebKit.gyp:
673
674 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
675
676         Web Inspector: [Chromium] Fix 'inspector_resources' target to depend on 'concatenated_heap_snapshot_worker_js'
677         https://bugs.webkit.org/show_bug.cgi?id=66300
678
679         Reviewed by Pavel Feldman.
680
681         * WebKit.gyp:
682
683 2011-08-15  Dmitry Titov  <dimich@chromium.org>
684
685         [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
686         https://bugs.webkit.org/show_bug.cgi?id=66167
687
688         Reviewed by Darin Fisher.
689
690         * public/WebFrameClient.h:
691         (WebKit::WebFrameClient::didAdoptURLLoader):
692         * src/FrameLoaderClientImpl.cpp:
693         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
694         * src/ResourceHandle.cpp:
695         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
696         (WebCore::ResourceHandleInternal::FromResourceHandle):
697         (WebCore::ResourceHandle::ResourceHandle):
698         (WebCore::ResourceHandle::firstRequest):
699         (WebCore::ResourceHandle::client):
700         (WebCore::ResourceHandle::setClient):
701         (WebCore::ResourceHandle::~ResourceHandle):
702         * src/ResourceHandleInternal.h: Added.
703         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
704         (WebCore::ResourceHandleInternal::setOwner):
705         (WebCore::ResourceHandleInternal::request):
706         (WebCore::ResourceHandleInternal::client):
707         (WebCore::ResourceHandleInternal::setClient):
708         (WebCore::ResourceHandleInternal::loader):
709
710 2011-08-15  Dmitry Titov  <dimich@chromium.org>
711
712         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
713         https://bugs.webkit.org/show_bug.cgi?id=66165
714
715         Reviewed by Darin Fisher.
716
717         * src/FrameLoaderClientImpl.cpp:
718         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
719         * src/FrameLoaderClientImpl.h:
720
721 2011-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
722
723         Unreviewed, rolling out r93060.
724         http://trac.webkit.org/changeset/93060
725         https://bugs.webkit.org/show_bug.cgi?id=66259
726
727         Does not compile on Chromium Windows (Requested by
728         abarth|gardener on #webkit).
729
730         * public/WebCache.h:
731         * public/WebFontCache.h:
732         * src/WebCache.cpp:
733         (WebKit::WebCache::clear):
734         * src/WebFontCache.cpp:
735
736 2011-08-15  Mikhail Naganov  <mnaganov@chromium.org>
737
738         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
739         https://bugs.webkit.org/show_bug.cgi?id=66132
740
741         Reviewed by Darin Fisher.
742
743         * public/WebCache.h:
744         * public/WebFontCache.h:
745         * src/WebCache.cpp:
746         (WebKit::WebCache::prune):
747         * src/WebFontCache.cpp:
748         (WebKit::WebFontCache::prune):
749
750 2011-08-15  Nico Weber  <thakis@chromium.org>
751
752         [chromium] Implement shouldRubberBandInDirection
753         https://bugs.webkit.org/show_bug.cgi?id=66206
754
755         Reviewed by Adam Barth.
756
757         History swiping can only start after an unhandled mouse wheel event
758         came back from the renderer, because mouse wheel javascript handlers
759         take precedence over history swiping. This means that rubberbanding
760         must not consume wheel events if they could trigger history, else
761         history swiping won't be triggered for pages without wheel handlers
762         either.
763
764         This is based on the implementation in
765         Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
766
767         * src/ChromeClientImpl.cpp:
768         (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
769         * src/ChromeClientImpl.h:
770
771 2011-08-10  Aaron Boodman  <aa@chromium.org>
772
773         Pass additional details to client in didCreateIsolatedContext
774         https://bugs.webkit.org/show_bug.cgi?id=66037
775
776         Reviewed by Darin Fisher.
777
778         * public/WebFrameClient.h:
779         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
780         * src/FrameLoaderClientImpl.cpp:
781         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
782         * src/FrameLoaderClientImpl.h:
783
784 2011-08-10  Adam Roben  <aroben@apple.com>
785
786         Clear up scale factor terminology
787
788         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
789         software is running, and one that is per-Page and can be controlled via API calls. This
790         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
791         code use those names. It should introduce no behavior changes.
792
793         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
794         device scale factor
795
796         Reviewed by Simon Fraser.
797
798         * src/ChromeClientImpl.cpp:
799         * src/ChromeClientImpl.h:
800
801 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
802
803         Refactoring of PopupMenuChromium For Readability and Maintainability
804         https://bugs.webkit.org/show_bug.cgi?id=66009
805
806         Reviewed by Darin Fisher.
807
808         * src/ChromeClientImpl.cpp:
809         * src/WebPopupMenuImpl.cpp:
810         * src/WebViewImpl.cpp:
811         * tests/PopupMenuTest.cpp:
812
813 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
814
815         Expose pageScaleFactor() to Chromium's WebViewImpl
816         https://bugs.webkit.org/show_bug.cgi?id=66067
817
818         Reviewed by Darin Fisher.
819
820         * public/WebView.h:
821         * src/WebViewImpl.cpp:
822         (WebKit::WebViewImpl::pageScaleFactor):
823         * src/WebViewImpl.h:
824
825 2011-08-12  Sadrul Habib Chowdhury  <sadrul@chromium.org>
826
827         Wire gesture tap events, add support for gesture events in the DRT and add a layout test for it.
828         https://bugs.webkit.org/show_bug.cgi?id=66105
829
830         Reviewed by Darin Fisher.
831
832         * public/WebInputEvent.h:
833         * src/WebInputEventConversion.cpp:
834         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
835         * src/WebPopupMenuImpl.cpp:
836         (WebKit::WebPopupMenuImpl::handleInputEvent):
837         * src/WebViewImpl.cpp:
838         (WebKit::WebViewImpl::handleInputEvent):
839
840 2011-08-12  Tommy Widenflycht  <tommyw@google.com>
841
842         [Chromium] Implement the embedders for the HTML5 Track List objects
843         https://bugs.webkit.org/show_bug.cgi?id=60260
844
845         Reviewed by Darin Fisher.
846
847         * WebKit.gyp:
848         * public/WebMediaStreamTrack.h: Added.
849         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
850         (WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
851         (WebKit::WebMediaStreamTrack::isNull):
852         * public/WebMediaStreamTrackList.h: Added.
853         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
854         (WebKit::WebMediaStreamTrackList::~WebMediaStreamTrackList):
855         (WebKit::WebMediaStreamTrackList::isNull):
856         * src/WebMediaStreamTrack.cpp: Added.
857         (WebKit::WebMediaStreamTrack::initialize):
858         (WebKit::WebMediaStreamTrack::reset):
859         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
860         (WebKit::WebMediaStreamTrack::operator WTF::PassRefPtr<WebCore::MediaStreamTrack>):
861         * src/WebMediaStreamTrackList.cpp: Added.
862         (WebKit::WebMediaStreamTrackList::initialize):
863         (WebKit::WebMediaStreamTrackList::reset):
864         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
865         (WebKit::WebMediaStreamTrackList::operator WTF::PassRefPtr<MediaStreamTrackList>):
866
867 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
868
869         Unreviewed, rolling out r92976.
870         http://trac.webkit.org/changeset/92976
871         https://bugs.webkit.org/show_bug.cgi?id=66159
872
873         Does not compile on chromium-win (Requested by abarth|gardener
874         on #webkit).
875
876         * src/ChromeClientImpl.cpp:
877         * src/WebPopupMenuImpl.cpp:
878         * src/WebViewImpl.cpp:
879
880 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
881
882         Unreviewed, rolling out r92978.
883         http://trac.webkit.org/changeset/92978
884         https://bugs.webkit.org/show_bug.cgi?id=66155
885
886         This patch does not compile (Requested by abarth|gardener on
887         #webkit).
888
889         * public/WebView.h:
890         * src/WebViewImpl.cpp:
891         (WebKit::WebViewImpl::zoomLevel):
892         (WebKit::WebViewImpl::setZoomLevel):
893         (WebKit::WebViewImpl::zoomLimitsChanged):
894         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
895         (WebKit::WebView::zoomLevelToZoomFactor):
896         (WebKit::WebView::zoomFactorToZoomLevel):
897         * src/WebViewImpl.h:
898
899 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
900
901         Chromium's WebKit API should use floats instead of doubles for zoom to match WebCore
902         https://bugs.webkit.org/show_bug.cgi?id=66089
903
904         Reviewed by Darin Fisher.
905
906         * public/WebView.h:
907         * src/WebViewImpl.cpp:
908         (WebKit::WebViewImpl::zoomLevel):
909         (WebKit::WebViewImpl::setZoomLevel):
910         (WebKit::WebViewImpl::zoomLimitsChanged):
911         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
912         (WebKit::WebView::zoomLevelToZoomFactor):
913         (WebKit::WebView::zoomFactorToZoomLevel):
914         * src/WebViewImpl.h:
915
916 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
917
918         Refactoring of PopupMenuChromium
919         https://bugs.webkit.org/show_bug.cgi?id=66009
920
921         Reviewed by Darin Fisher.
922
923         * src/ChromeClientImpl.cpp:
924         * src/WebPopupMenuImpl.cpp:
925         * src/WebViewImpl.cpp:
926
927 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
928
929         Expose pageScaleFactor in Chromium's WebHistoryItem
930         https://bugs.webkit.org/show_bug.cgi?id=66139
931
932         Reviewed by Darin Fisher.
933
934         * public/WebHistoryItem.h:
935         * src/WebHistoryItem.cpp:
936         (WebKit::WebHistoryItem::pageScaleFactor):
937         (WebKit::WebHistoryItem::setPageScaleFactor):
938
939 2011-08-10  Nat Duca  <nduca@chromium.org>
940
941         [chromium] Add WebThread to WebKitClient
942         https://bugs.webkit.org/show_bug.cgi?id=66013
943
944         Reviewed by Darin Fisher.
945
946         * public/WebKitClient.h:
947         (WebKit::WebKitClient::createThread):
948         * public/WebThread.h: Added.
949         (WebKit::WebThread::~WebThread):
950
951 2011-08-11  John Bauman  <jbauman@chromium.org>
952
953         Readback composited webgl results for printing
954         https://bugs.webkit.org/show_bug.cgi?id=65658
955
956         Reviewed by James Robinson.
957
958         Add support for reading from the composited version of a canvas.
959
960         * public/WebGraphicsContext3D.h:
961         * src/Extensions3DChromium.cpp:
962         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
963         * src/GraphicsContext3DChromium.cpp:
964         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
965         (WebCore::GraphicsContext3DInternal::paintFramebufferToCanvas):
966         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
967         (WebCore::GraphicsContext3DInternal::paintCompositedResultsToCanvas):
968         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
969         (WebCore::GraphicsContext3DInternal::reshape):
970         * src/GraphicsContext3DInternal.h:
971
972 2011-08-05  Nat Duca  <nduca@chromium.org>
973
974         [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
975         https://bugs.webkit.org/show_bug.cgi?id=65791
976
977         With this patch, LayerRendererChromium becomes increasingly responsible
978         for rendering, while render scheduling and tree hosting moves into the
979         CCLayerTreeHost.
980
981         Reviewed by James Robinson.
982
983         * src/WebViewImpl.cpp:
984         (WebKit::WebViewImpl::WebViewImpl):
985         (WebKit::WebViewImpl::resize):
986         (WebKit::WebViewImpl::animate):
987         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
988         (WebKit::WebViewImpl::paint):
989         (WebKit::WebViewImpl::composite):
990         (WebKit::WebViewImpl::setRootPlatformLayer):
991         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
992         (WebKit::WebViewImpl::scrollRootLayerRect):
993         (WebKit::WebViewImpl::invalidateRootLayerRect):
994         (WebKit::getCompositorSettings):
995         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
996         (WebKit::WebViewImpl::createRootLayerPainter):
997         (WebKit::WebViewImpl::animateAndLayout):
998         (WebKit::WebViewImpl::didRecreateGraphicsContext):
999         (WebKit::WebViewImpl::scheduleComposite):
1000         (WebKit::WebViewImpl::updateLayerTreeViewport):
1001         (WebKit::WebViewImpl::graphicsContext3D):
1002         (WebKit::WebViewImpl::setVisibilityState):
1003         * src/WebViewImpl.h:
1004
1005 2011-08-11  Nico Weber  <thakis@chromium.org>
1006
1007         [chromium] Expose "min/max scroll size", "has horizontal/vertical scrollbar", "number of wheel handlers" to clients
1008         https://bugs.webkit.org/show_bug.cgi?id=66094
1009
1010         Reviewed by James Robinson.
1011
1012         We want to implement two-finger-swipe for history like safari does on
1013         os x lion. The way this works is:
1014         * If a page has no horizontal scrollbars, or the page is all the way
1015           to the left, scrolling to the left will go back in history instead.
1016         * Same for right/forward.
1017
1018         This is modelled after the WebKit2 functions
1019         WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(),
1020         WKPageHasHorizontalScrollbar(), and
1021         webPageProxy::willHandleHorizontalScrollEvents().
1022
1023         * public/WebFrame.h:
1024         * public/WebViewClient.h:
1025         (WebKit::WebViewClient::numWheelEventHandlersChanged):
1026         * src/ChromeClientImpl.cpp:
1027         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
1028         * src/ChromeClientImpl.h:
1029         * src/WebFrameImpl.cpp:
1030         (WebKit::WebFrameImpl::hasHorizontalScrollbar):
1031         (WebKit::WebFrameImpl::hasVerticalScrollbar):
1032         (WebKit::WebFrameImpl::isPinnedToLeft):
1033         (WebKit::WebFrameImpl::isPinnedToRight):
1034         * src/WebFrameImpl.h:
1035
1036 2011-08-11  Marja Hölttä  <marja@chromium.org>
1037
1038         Remove the temporary workaround added by http://trac.webkit.org/changeset/51338
1039         https://bugs.webkit.org/show_bug.cgi?id=65908
1040
1041         Reviewed by Adam Barth.
1042
1043         SecurityOrigin for a file URL returns "file://", and
1044         SecurityOrigin::createFromString("file://") creates a unique (null)
1045         security origin (because "file://" is first canonicalized to "file:///"
1046         and that is a directory). This means the conversion SecurityOrigin ->
1047         string -> SecurityOrigin doens't give back the same SecurityOrigin in
1048         case of file URLs.
1049
1050         WebStorageNamespaceImpl::createStorageArea contains a workaround which
1051         changes the string "file://" into "file:///a" before giving it to
1052         SecurityOrigin::createFromString.
1053
1054         If SecurityOrigin::m_enforceFilePathSeparation is true, then
1055         SecurityOrigin::toString() returns "null" for file URLs, and this
1056         problem does not exist, and the workaround code is not ran.
1057
1058         This patch removes the workaround.
1059
1060         * src/WebStorageNamespaceImpl.cpp:
1061         (WebKit::WebStorageNamespaceImpl::createStorageArea):
1062
1063 2011-08-10  John Abd-El-Malek  <jam@chromium.org>
1064
1065         [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion
1066         https://bugs.webkit.org/show_bug.cgi?id=66008
1067
1068         Reviewed by James Robinson.
1069
1070         * WebKit.gyp:
1071         * public/WebScrollbar.h:
1072         * public/WebScrollbarClient.h:
1073         * src/ScrollbarGroup.cpp: Added.
1074         (WebKit::ScrollbarGroup::ScrollbarGroup):
1075         (WebKit::ScrollbarGroup::~ScrollbarGroup):
1076         (WebKit::ScrollbarGroup::scrollbarCreated):
1077         (WebKit::ScrollbarGroup::scrollbarDestroyed):
1078         (WebKit::ScrollbarGroup::setLastMousePosition):
1079         (WebKit::ScrollbarGroup::scrollSize):
1080         (WebKit::ScrollbarGroup::scrollPosition):
1081         (WebKit::ScrollbarGroup::setScrollOffset):
1082         (WebKit::ScrollbarGroup::invalidateScrollbarRect):
1083         (WebKit::ScrollbarGroup::invalidateScrollCornerRect):
1084         (WebKit::ScrollbarGroup::isActive):
1085         (WebKit::ScrollbarGroup::enclosingScrollableArea):
1086         (WebKit::ScrollbarGroup::isScrollCornerVisible):
1087         (WebKit::ScrollbarGroup::getTickmarks):
1088         (WebKit::ScrollbarGroup::convertFromContainingViewToScrollbar):
1089         (WebKit::ScrollbarGroup::horizontalScrollbar):
1090         (WebKit::ScrollbarGroup::verticalScrollbar):
1091         (WebKit::ScrollbarGroup::minimumScrollPosition):
1092         (WebKit::ScrollbarGroup::maximumScrollPosition):
1093         (WebKit::ScrollbarGroup::visibleHeight):
1094         (WebKit::ScrollbarGroup::visibleWidth):
1095         (WebKit::ScrollbarGroup::contentsSize):
1096         (WebKit::ScrollbarGroup::overhangAmount):
1097         (WebKit::ScrollbarGroup::currentMousePosition):
1098         (WebKit::ScrollbarGroup::shouldSuspendScrollAnimations):
1099         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
1100         (WebKit::ScrollbarGroup::isOnActivePage):
1101         (WebKit::ScrollbarGroup::disconnectFromPage):
1102         * src/ScrollbarGroup.h: Added.
1103         (WebKit::ScrollbarGroup::scrollCornerRect):
1104         * src/WebPluginContainerImpl.cpp:
1105         (WebKit::WebPluginContainerImpl::paint):
1106         (WebKit::WebPluginContainerImpl::reportGeometry):
1107         (WebKit::WebPluginContainerImpl::scrollbarGroup):
1108         (WebKit::WebPluginContainerImpl::willStartLiveResize):
1109         (WebKit::WebPluginContainerImpl::willEndLiveResize):
1110         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1111         * src/WebPluginContainerImpl.h:
1112         * src/WebScrollbarImpl.cpp:
1113         (WebKit::WebScrollbar::createForPlugin):
1114         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
1115         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
1116         (WebKit::WebScrollbarImpl::setScrollOffset):
1117         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
1118         (WebKit::WebScrollbarImpl::getTickmarks):
1119         (WebKit::WebScrollbarImpl::convertFromContainingViewToScrollbar):
1120         (WebKit::WebScrollbarImpl::scrollbarStyleChanged):
1121         (WebKit::WebScrollbarImpl::isOverlay):
1122         (WebKit::WebScrollbarImpl::setValue):
1123         (WebKit::WebScrollbarImpl::scroll):
1124         (WebKit::WebScrollbarImpl::onMouseMove):
1125         (WebKit::WebScrollbarImpl::onMouseLeave):
1126         (WebKit::WebScrollbarImpl::onMouseWheel):
1127         (WebKit::WebScrollbarImpl::onKeyDown):
1128         * src/WebScrollbarImpl.h:
1129         (WebKit::WebScrollbarImpl::scrollOffset):
1130         (WebKit::WebScrollbarImpl::scrollbar):
1131         * src/WebViewImpl.cpp:
1132         (WebKit::WebViewImpl::willStartLiveResize):
1133         (WebKit::WebViewImpl::willEndLiveResize):
1134
1135 2011-08-10  Dmitry Lomov  <dslomov@google.com>
1136         
1137         [Chromium] Decouple implementation of allowFileSystem, openFileSystem and allowDatabase from WebWorkerBase.
1138         https://bugs.webkit.org/show_bug.cgi?id=65997.
1139
1140         This patch moves implementation of allowFileSystem, openFileSystem and allowDatabase from
1141         WebWorkerBase to respectively LocalFileSystemChromium and DatabaseObserver, 
1142         parameterizing them with relevant data from WebWorker.
1143
1144         Reviewed by Jian Li.
1145
1146         * src/DatabaseObserver.cpp: Move allowDatabase from WebWorkerBase and update the caller.
1147         (WebKit::AllowDatabaseMainThreadBridge::create):
1148         (WebKit::AllowDatabaseMainThreadBridge::cancel):
1149         (WebKit::AllowDatabaseMainThreadBridge::result):
1150         (WebKit::AllowDatabaseMainThreadBridge::signalCompleted):
1151         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1152         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
1153         (WebKit::AllowDatabaseMainThreadBridge::didComplete):
1154         (WebKit::allowDatabaseForWorker):
1155         (WebCore::DatabaseObserver::canEstablishDatabase):
1156         * src/LocalFileSystemChromium.cpp: Move allowFileSystem and openFileSystem from WebWorkerBase and update the caller.
1157         (WebCore::openFileSystemHelper):
1158         * src/WebWorkerBase.cpp: Move allowFileSystem, openFileSystem and allowDatabase to LocalFileSystemChromium and DatabaseObserver resp.
1159         * src/WebWorkerBase.h:
1160         (WebKit::WebWorkerBase::webView):
1161         * src/WorkerFileSystemCallbacksBridge.cpp: Generalized WorkerFileSystemCallbacksBridge to work on WorkerLoaderProxy, not on WebWorkerBase.
1162         (WebKit::WorkerFileSystemCallbacksBridge::stop):
1163         (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
1164         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread):
1165         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
1166         * src/WorkerFileSystemCallbacksBridge.h:
1167         (WebKit::WorkerFileSystemCallbacksBridge::create):
1168
1169 2011-08-10  Vsevolod Vlasov  <vsevik@chromium.org>
1170
1171         Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
1172         https://bugs.webkit.org/show_bug.cgi?id=65929
1173
1174         Reviewed by Pavel Feldman.
1175
1176         * src/SharedWorkerRepository.cpp:
1177         (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
1178
1179 2011-08-10  Andrey Kosyakov  <caseq@chromium.org>
1180
1181         Unreviewed. Rolled DEPS 95813:96009 to pick data url timing fix.
1182
1183         * DEPS:
1184
1185 2011-08-10  Peter Kasting  <pkasting@google.com>
1186
1187         [Chromium] Name an enum used in some template arguments.
1188         https://bugs.webkit.org/show_bug.cgi?id=65953
1189
1190         Reviewed by Darin Fisher.
1191
1192         * public/WebHTTPBody.h:
1193
1194 2011-08-09  Alexei Svitkine  <asvitkine@chromium.org>
1195
1196         [Chromium] Enable rubber banding when scrolling.
1197
1198         https://bugs.webkit.org/show_bug.cgi?id=65707
1199
1200         Reviewed by Dimitri Glazkov.
1201
1202         * features.gypi:
1203         * public/WebInputEvent.h:
1204         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1205         (WebKit::WebGestureEvent::WebGestureEvent):
1206         * public/mac/WebInputEventFactory.h:
1207         * src/WebInputEventConversion.cpp:
1208         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1209         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1210         * src/WebInputEventConversion.h:
1211         * src/WebPopupMenuImpl.cpp:
1212         (WebKit::WebPopupMenuImpl::GestureEvent):
1213         (WebKit::WebPopupMenuImpl::handleInputEvent):
1214         * src/WebPopupMenuImpl.h:
1215         * src/WebViewImpl.cpp:
1216         (WebKit::WebViewImpl::gestureEvent):
1217         (WebKit::WebViewImpl::handleInputEvent):
1218         * src/WebViewImpl.h:
1219         * src/mac/WebInputEventFactory.mm:
1220         (WebKit::gestureEventTypeForEvent):
1221         (WebKit::phaseForNSEventPhase):
1222         (WebKit::phaseForEvent):
1223         (WebKit::momentumPhaseForEvent):
1224         (WebKit::WebInputEventFactory::mouseWheelEvent):
1225         (WebKit::WebInputEventFactory::gestureEvent):
1226
1227 2011-08-09  Dmitry Lomov  <dslomov@google.com>
1228
1229         https://bugs.webkit.org/show_bug.cgi?id=65778
1230         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
1231
1232         Reviewed by Dmitry Titov.
1233
1234         * src/BoundObject.cpp:
1235
1236 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
1237
1238         [chromium] remove temporary #define from WebURLRequest.h
1239         https://bugs.webkit.org/show_bug.cgi?id=65813
1240
1241         Reviewed by Darin Fisher.
1242
1243         * public/WebURLRequest.h:
1244
1245 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
1246
1247         Unreviewed.  Rolled DEPS.
1248
1249         * DEPS:
1250
1251 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1252
1253         Unreviewed, rolling out r92619.
1254         http://trac.webkit.org/changeset/92619
1255         https://bugs.webkit.org/show_bug.cgi?id=65881
1256
1257         This patch breaks chromium canary (Requested by jianli on
1258         #webkit).
1259
1260         * src/BoundObject.cpp:
1261
1262 2011-08-08  Scott Byer  <scottbyer@chromium.org>
1263
1264         Scroll animator changes to nail the framerate
1265         https://bugs.webkit.org/show_bug.cgi?id=65645
1266
1267         Reviewed by James Robinson.
1268
1269         * tests/ScrollAnimatorNoneTest.cpp:
1270         (TEST):
1271
1272 2011-08-08  Dmitry Lomov  <dslomov@google.com>
1273
1274         https://bugs.webkit.org/show_bug.cgi?id=65778
1275         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
1276
1277         Reviewed by David Levin.
1278
1279         * src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h
1280
1281 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
1282
1283         Unreviewed, rolling out r92607.
1284         http://trac.webkit.org/changeset/92607
1285         https://bugs.webkit.org/show_bug.cgi?id=65865
1286
1287         This patch breaks Chromium Mac Canary (Requested by jianli on
1288         #webkit).
1289
1290         * features.gypi:
1291         * public/WebInputEvent.h:
1292         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1293         * public/mac/WebInputEventFactory.h:
1294         * src/WebInputEventConversion.cpp:
1295         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1296         * src/WebInputEventConversion.h:
1297         * src/WebPopupMenuImpl.cpp:
1298         (WebKit::WebPopupMenuImpl::handleInputEvent):
1299         * src/WebPopupMenuImpl.h:
1300         * src/WebViewImpl.cpp:
1301         (WebKit::WebViewImpl::handleInputEvent):
1302         * src/WebViewImpl.h:
1303         * src/mac/WebInputEventFactory.mm:
1304         (WebKit::WebInputEventFactory::mouseWheelEvent):
1305
1306 2011-08-08  Alexei Svitkine  <asvitkine@chromium.org>
1307
1308         [Chromium] Enable rubber banding when scrolling.
1309
1310         https://bugs.webkit.org/show_bug.cgi?id=65707
1311
1312         Reviewed by Dimitri Glazkov.
1313
1314         * features.gypi:
1315         * public/WebInputEvent.h:
1316         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
1317         (WebKit::WebGestureEvent::WebGestureEvent):
1318         * public/mac/WebInputEventFactory.h:
1319         * src/WebInputEventConversion.cpp:
1320         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
1321         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1322         * src/WebInputEventConversion.h:
1323         * src/WebPopupMenuImpl.cpp:
1324         (WebKit::WebPopupMenuImpl::GestureEvent):
1325         (WebKit::WebPopupMenuImpl::handleInputEvent):
1326         * src/WebPopupMenuImpl.h:
1327         * src/WebViewImpl.cpp:
1328         (WebKit::WebViewImpl::gestureEvent):
1329         (WebKit::WebViewImpl::handleInputEvent):
1330         * src/WebViewImpl.h:
1331         * src/mac/WebInputEventFactory.mm:
1332         (WebKit::gestureEventTypeForEvent):
1333         (WebKit::phaseForNSEventPhase):
1334         (WebKit::phaseForEvent):
1335         (WebKit::momentumPhaseForEvent):
1336         (WebKit::WebInputEventFactory::mouseWheelEvent):
1337         (WebKit::WebInputEventFactory::gestureEvent):
1338
1339 2011-08-08  Ryosuke Niwa  <rniwa@webkit.org>
1340
1341         Unreviewed. Rolled Chromium DEPS from 95576 to 95783.
1342
1343         * DEPS:
1344
1345 2011-08-05  Pavel Feldman  <pfeldman@chromium.org>
1346
1347         Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
1348         https://bugs.webkit.org/show_bug.cgi?id=65763
1349
1350         Reviewed by Yury Semikhatsky.
1351
1352         * src/InspectorFrontendClientImpl.cpp:
1353         * src/InspectorFrontendClientImpl.h:
1354         * src/js/DevTools.js:
1355         (devtools.domContentLoaded):
1356
1357 2011-08-07  James Kozianski  <koz@chromium.org>
1358
1359         Make the fullscreen JS API enabled at runtime.
1360         https://bugs.webkit.org/show_bug.cgi?id=65501
1361
1362         Reviewed by Adam Barth.
1363
1364         * public/WebRuntimeFeatures.h:
1365         * src/WebRuntimeFeatures.cpp:
1366         (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
1367         (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
1368
1369 2011-08-05  James Robinson  <jamesr@chromium.org>
1370
1371         [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
1372         https://bugs.webkit.org/show_bug.cgi?id=65402
1373
1374         Reviewed by Stephen White.
1375
1376         Remove plumbing for copyTextureToParentTexture extension, it's no longer used or needed.
1377
1378         * public/WebGraphicsContext3D.h:
1379         * src/Extensions3DChromium.cpp:
1380         * src/GraphicsContext3DChromium.cpp:
1381         * src/GraphicsContext3DInternal.h:
1382
1383 2011-08-05  Jochen Eisinger  <jochen@chromium.org>
1384
1385         Introduce a new ResourceRequest::TargetType for XHRs
1386         https://bugs.webkit.org/show_bug.cgi?id=65544
1387
1388         Reviewed by Darin Fisher.
1389
1390         * public/WebURLRequest.h:
1391
1392 2011-08-04  James Robinson  <jamesr@chromium.org>
1393
1394         Unreviewed.  Rolled DEPS.
1395
1396         * DEPS:
1397
1398 2011-08-04  David Levin  <levin@chromium.org>
1399
1400         CStringBuffer should have thread safety checks turned on.
1401         https://bugs.webkit.org/show_bug.cgi?id=58093
1402
1403         Reviewed by Dmitry Titov.
1404
1405         * DEPS: Roll far enough to pick up the latest WebKit::initialize
1406         fix for Linux.
1407
1408 2011-08-04  Sheriff Bot  <webkit.review.bot@gmail.com>
1409
1410         Unreviewed, rolling out r92415.
1411         http://trac.webkit.org/changeset/92415
1412         https://bugs.webkit.org/show_bug.cgi?id=65728
1413
1414         Causes many DEBUG crashes (Requested by abarth on #webkit).
1415
1416         * public/WebURLRequest.h:
1417
1418 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
1419
1420         Introduce a new ResourceRequest::TargetType for XHRs
1421         https://bugs.webkit.org/show_bug.cgi?id=65544
1422
1423         Reviewed by Darin Fisher.
1424
1425         * public/WebURLRequest.h:
1426
1427 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
1428
1429         Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
1430         https://bugs.webkit.org/show_bug.cgi?id=48483
1431
1432         Reviewed by Alexey Proskuryakov.
1433
1434         * src/SharedWorkerRepository.cpp:
1435         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
1436
1437 2011-08-04  Brian Weinstein  <bweinstein@apple.com>
1438
1439         WebKit2: Web Inspector always starts in undocked mode
1440         https://bugs.webkit.org/show_bug.cgi?id=65493
1441         <rdar://problem/9353114>
1442
1443         Reviewed by Adam Roben.
1444         
1445         Add a stub method for Chromium.
1446
1447         * src/InspectorFrontendClientImpl.cpp:
1448         (WebKit::InspectorFrontendClientImpl::canAttachWindow):
1449         * src/InspectorFrontendClientImpl.h:
1450
1451 2011-08-03  Kentaro Hara  <haraken@google.com>
1452
1453         Implement EventSender.scalePageBy()
1454         https://bugs.webkit.org/show_bug.cgi?id=58013
1455
1456         Reviewed by Darin Fisher.
1457
1458         Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
1459         and then sets a scroll position to (x, y). Enabled the tests that had been waiting
1460         for the implementation of EventSender.scalePageBy(f, x, y).
1461
1462         Tests: compositing/scaling/tiled-layer-recursion.html
1463                fast/repaint/scale-page-shrink.html
1464                fast/dom/Element/scale-page-client-rects.html
1465                fast/dom/Range/scale-page-client-rects.html
1466                fast/events/scroll-in-scaled-page-with-overflow-hidden.html
1467                fast/dom/Element/scale-page-bounding-client-rect.html
1468                fast/dom/Range/scale-page-bounding-client-rect.html
1469
1470         * public/WebView.h:
1471         * src/WebViewImpl.cpp:
1472         (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
1473         * src/WebViewImpl.h:
1474
1475 2011-08-03  Darin Fisher  <darin@chromium.org>
1476
1477         [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
1478         https://bugs.webkit.org/show_bug.cgi?id=65649
1479
1480         Reviewed by Adam Barth.
1481
1482         * README:
1483         * public/WebAccessibilityCache.h:
1484         * public/WebAccessibilityObject.h:
1485         * public/WebArrayBufferView.h:
1486         * public/WebAttribute.h:
1487         * public/WebAudioBus.h:
1488         * public/WebBindings.h:
1489         * public/WebBlobData.h:
1490         * public/WebBlobRegistry.h:
1491         * public/WebCString.h:
1492         * public/WebCache.h:
1493         * public/WebColor.h:
1494         * public/WebCommon.h:
1495         * public/WebCrossOriginPreflightResultCache.h:
1496         * public/WebDOMEvent.h:
1497         * public/WebDOMEventListener.h:
1498         * public/WebDOMMouseEvent.h:
1499         * public/WebDOMMutationEvent.h:
1500         * public/WebDOMStringList.h:
1501         * public/WebData.h:
1502         * public/WebDatabase.h:
1503         * public/WebDevToolsAgent.h:
1504         * public/WebDevToolsFrontend.h:
1505         * public/WebDeviceOrientationClientMock.h:
1506         * public/WebDeviceOrientationController.h:
1507         * public/WebDocument.h:
1508         * public/WebDocumentType.h:
1509         * public/WebDragData.h:
1510         * public/WebElement.h:
1511         * public/WebFont.h:
1512         * public/WebFontCache.h:
1513         * public/WebFormControlElement.h:
1514         * public/WebFormElement.h:
1515         * public/WebFrame.h:
1516         * public/WebGeolocationClientMock.h:
1517         * public/WebGeolocationController.h:
1518         * public/WebGeolocationError.h:
1519         * public/WebGeolocationPermissionRequest.h:
1520         * public/WebGeolocationPermissionRequestManager.h:
1521         * public/WebGeolocationPosition.h:
1522         * public/WebGlyphCache.h:
1523         * public/WebHTTPBody.h:
1524         * public/WebHTTPLoadInfo.h:
1525         * public/WebHistoryItem.h:
1526         * public/WebIDBDatabaseError.h:
1527         * public/WebIDBFactory.h:
1528         * public/WebIDBKey.h:
1529         * public/WebIDBKeyPath.h:
1530         * public/WebIDBKeyRange.h:
1531         * public/WebImage.h:
1532         * public/WebImageDecoder.h:
1533         * public/WebInputElement.h:
1534         * public/WebInputEvent.h:
1535         * public/WebKit.h:
1536         * public/WebLabelElement.h:
1537         * public/WebMediaElement.h:
1538         * public/WebNamedNodeMap.h:
1539         * public/WebNetworkStateNotifier.h:
1540         * public/WebNode.h:
1541         * public/WebNodeCollection.h:
1542         * public/WebNodeList.h:
1543         * public/WebNotification.h:
1544         * public/WebOptionElement.h:
1545         * public/WebPageSerializer.h:
1546         * public/WebPasswordFormData.h:
1547         * public/WebPerformance.h:
1548         * public/WebPluginDocument.h:
1549         * public/WebPopupMenu.h:
1550         * public/WebRange.h:
1551         * public/WebRegularExpression.h:
1552         * public/WebRuntimeFeatures.h:
1553         * public/WebScriptController.h:
1554         * public/WebScrollbar.h:
1555         * public/WebSearchableFormData.h:
1556         * public/WebSecurityOrigin.h:
1557         * public/WebSecurityPolicy.h:
1558         * public/WebSelectElement.h:
1559         * public/WebSerializedScriptValue.h:
1560         * public/WebSharedWorker.h:
1561         * public/WebSpeechInputControllerMock.h:
1562         * public/WebSpeechInputResult.h:
1563         * public/WebStorageEventDispatcher.h:
1564         * public/WebStorageNamespace.h:
1565         * public/WebString.h:
1566         * public/WebTestingSupport.h:
1567         * public/WebThreadSafeData.h:
1568         * public/WebURLLoadTiming.h:
1569         * public/WebURLRequest.h:
1570         * public/WebURLResponse.h:
1571         * public/WebView.h:
1572         * public/WebWorker.h:
1573         * public/gtk/WebFontInfo.h:
1574         * public/gtk/WebInputEventFactory.h:
1575         * public/linux/WebFontRenderStyle.h:
1576         * public/linux/WebFontRendering.h:
1577         * public/linux/WebRenderTheme.h:
1578         * public/mac/WebInputEventFactory.h:
1579         * public/mac/WebScreenInfoFactory.h:
1580         * public/mac/WebSubstringUtil.h:
1581         * public/win/WebInputEventFactory.h:
1582         * public/win/WebScreenInfoFactory.h:
1583         * public/x11/WebScreenInfoFactory.h:
1584         * tests/WebUnitTests.h:
1585
1586 2011-08-03  Michael Nordman  <michaeln@google.com>
1587
1588         [Chromium] Minor cleanup, remove a deprecated method.
1589         The old WebDatabase::updateDatabaseSize method has been replaced with 
1590         updateDatabaseSize, updateSpaceAvailable, and resetSpaceAvailable.
1591         https://bugs.webkit.org/show_bug.cgi?id=65553
1592
1593         Reviewed by Adam Barth.
1594
1595         * public/WebDatabase.h:
1596         * src/WebDatabase.cpp:
1597
1598 2011-08-03  Pavel Feldman  <pfeldman@google.com>
1599
1600         Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
1601         https://bugs.webkit.org/show_bug.cgi?id=65510
1602
1603         Reviewed by Yury Semikhatsky.
1604
1605         * src/WebDevToolsAgentImpl.cpp:
1606         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1607
1608 2011-08-03  Jeremy Moskovich  <jeremy@chromium.org>
1609
1610         [Chromium] Fix OOP font loading to work on 10.6.6 and above.
1611         https://bugs.webkit.org/show_bug.cgi?id=65543
1612
1613         In 10.6.6 the function used to get the unique ID for an NSFont in the 
1614         renderer was changed so it fails in the sandbox (it now tries to access
1615         the on-disk font file). In order to work around this, we get the font
1616         ID from the browser process.
1617
1618         To speed things up, we introduce 2 levels of caching in WebKit. A font
1619         name cache where we can perform a quick lookup without the need for the
1620         font id and a font id cache which we can only lookup in after getting
1621         the unique ID from the browser process.
1622
1623         Reviewed by Kenneth Russell.
1624
1625         No new tests since this is not readily testable.
1626
1627         * public/mac/WebSandboxSupport.h: Plumb font ID parameter through.
1628         * src/PlatformBridge.cpp:
1629         (WebCore::PlatformBridge::loadFont): ditto.
1630
1631 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
1632
1633         Web Inspector: remove Node parameter from the InspectorClient::highlight
1634         https://bugs.webkit.org/show_bug.cgi?id=65549
1635
1636         Reviewed by Yury Semikhatsky.
1637
1638         * src/InspectorClientImpl.cpp:
1639         (WebKit::InspectorClientImpl::highlight):
1640         * src/InspectorClientImpl.h:
1641         * src/WebDevToolsAgentImpl.cpp:
1642         (WebKit::WebDevToolsAgentImpl::highlight):
1643         * src/WebDevToolsAgentImpl.h:
1644
1645 2011-08-02  David Reveman  <reveman@chromium.org>
1646
1647         [Chromium] Remove outer border from TilingData as it's no longer needed by layer compositor for anti-aliasing.
1648         https://bugs.webkit.org/show_bug.cgi?id=64942
1649
1650         Reviewed by James Robinson.
1651
1652         * tests/TilingDataTest.cpp:
1653         (WebCore::TEST):
1654
1655 2011-08-02  Robert Kroeger  <rjkroege@chromium.org>
1656
1657         [chromium] Layering violations in gesture recognizer
1658         https://bugs.webkit.org/show_bug.cgi?id=65044
1659
1660        Reviewed by Adam Barth.
1661
1662         Moved gesture recognition higher up the event delivery code
1663         path so that recognition of gestures is completely separated
1664         from gesture handling.
1665
1666         * features.gypi:
1667         * src/WebFrameImpl.cpp:
1668         (WebKit::WebFrameImpl::createFrameView):
1669         Added code to reset the gesture recognizer to preserve parallel
1670         layout test execution.
1671         * src/WebPopupMenuImpl.cpp:
1672         Support dispatching touch and gesture events to Popups.
1673         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1674         (WebKit::WebPopupMenuImpl::TouchEvent):
1675         (WebKit::WebPopupMenuImpl::handleInputEvent):
1676         * src/WebPopupMenuImpl.h:
1677         * src/WebViewImpl.cpp:
1678         (WebKit::WebViewImpl::WebViewImpl):
1679         Added gesture recognition creation.
1680         (WebKit::WebViewImpl::touchEvent):
1681         Added recognition of gestures and dispatch of gesture events.
1682         (WebKit::WebViewImpl::resetGestureRecognizer):
1683         * src/WebViewImpl.h:
1684
1685 2011-08-02  Zhenyao Mo  <zmo@google.com>
1686
1687         Unreviewed, mark SelectPopupMenuTest.SelectItemKeyEvent as flaky, gardener stuff.
1688
1689         * tests/PopupMenuTest.cpp:
1690         (WebKit::TEST_F):
1691
1692 2011-08-02  Vsevolod Vlasov  <vsevik@chromium.org>
1693
1694         Web Inspector: Remove initator column for JSC, fix network resource initiator tests.
1695         https://bugs.webkit.org/show_bug.cgi?id=65534
1696
1697         Reviewed by Pavel Feldman.
1698
1699         * src/js/DevTools.js:
1700         ():
1701
1702 2011-08-02  Nat Duca  <nduca@chromium.org>
1703
1704         [chromium] Remove resizeOnscreenContent from LRC. It can be derived.
1705         https://bugs.webkit.org/show_bug.cgi?id=65519
1706
1707         Reviewed by James Robinson.
1708
1709         * src/WebViewImpl.cpp:
1710         (WebKit::WebViewImpl::resize):
1711         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1712
1713 2011-08-01  Jean-luc Brouillet  <jeanluc@chromium.org>
1714
1715         Removing old source files in gyp files that slow build
1716         https://bugs.webkit.org/show_bug.cgi?id=65503
1717
1718         Reviewed by Adam Barth.
1719
1720         A number of stale files are listed in the gyp files. These slow the
1721         build on Visual Studio 2010. Removing them.
1722
1723         * WebKit.gyp:
1724
1725 2011-08-01  Nat Duca  <nduca@chromium.org>
1726
1727         [chromium] Add null check to setSwapbuffersCompletCallbackChromium
1728         https://bugs.webkit.org/show_bug.cgi?id=65485
1729
1730         Reviewed by James Robinson.
1731
1732         * src/GraphicsContext3DChromium.cpp:
1733         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
1734
1735 2011-08-01  Yuta Kitamura  <yutak@chromium.org>
1736
1737         WebSocket: Rename SocketStreamHandleClient member functions
1738         https://bugs.webkit.org/show_bug.cgi?id=65374
1739
1740         Reviewed by Kent Tamura.
1741
1742         * src/SocketStreamHandle.cpp:
1743         (WebCore::SocketStreamHandleInternal::didOpenStream):
1744         (WebCore::SocketStreamHandleInternal::didReceiveData):
1745         (WebCore::SocketStreamHandleInternal::didClose):
1746         (WebCore::SocketStreamHandleInternal::didFail):
1747
1748 2011-07-31  Bill Budge  <bbudge@chromium.org>
1749
1750         [Chromium] Remove the parameterless WebFrame::createAssociatedURLLoader
1751         overload, and change the overload that takes WebURLLoaderOptions to
1752         use a default value. This is equivalent to the original parameterless
1753         overload.
1754         https://bugs.webkit.org/show_bug.cgi?id=65280
1755
1756         Reviewed by Darin Fisher.
1757
1758         * public/WebFrame.h:
1759         * src/AssociatedURLLoader.cpp:
1760         * src/AssociatedURLLoader.h:
1761         * src/WebFrameImpl.cpp:
1762         * src/WebFrameImpl.h:
1763
1764 2011-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
1765
1766         Unreviewed.  Rolled DEPS.
1767
1768         * DEPS:
1769
1770 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
1771
1772         Remove inclusion of MainThread.h from Threading.h
1773         https://bugs.webkit.org/show_bug.cgi?id=65081
1774
1775         Reviewed by Darin Adler.
1776
1777         Add missing include statements for MainThread.
1778
1779         * src/WebKit.cpp:
1780         * src/WebViewImpl.cpp:
1781         * tests/CCThreadTest.cpp:
1782
1783 2011-07-29  Zhenyao Mo  <zmo@google.com>
1784
1785         Unreviewed, rolling out r92011.
1786         http://trac.webkit.org/changeset/92011
1787         https://bugs.webkit.org/show_bug.cgi?id=65044
1788
1789         break chromium win build
1790
1791         * features.gypi:
1792         * src/WebFrameImpl.cpp:
1793         (WebKit::WebFrameImpl::createFrameView):
1794         * src/WebPopupMenuImpl.cpp:
1795         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1796         (WebKit::WebPopupMenuImpl::handleInputEvent):
1797         * src/WebPopupMenuImpl.h:
1798         * src/WebViewImpl.cpp:
1799         (WebKit::WebViewImpl::WebViewImpl):
1800         (WebKit::WebViewImpl::touchEvent):
1801         * src/WebViewImpl.h:
1802
1803 2011-07-29  Robert Kroeger  <rjkroege@chromium.org>
1804
1805         [chromium] Layering violations in gesture recognizer
1806         https://bugs.webkit.org/show_bug.cgi?id=65044
1807
1808         Reviewed by Adam Barth.
1809
1810         Moved gesture recognition higher up the event delivery code
1811         path so that recognition of gestures is completely separated
1812         from gesture handling.
1813
1814         * features.gypi:
1815         * src/WebFrameImpl.cpp:
1816         (WebKit::WebFrameImpl::createFrameView):
1817         Added code to reset the gesture recognizer to preserve parallel
1818         layout test execution.
1819         * src/WebPopupMenuImpl.cpp:
1820         Support dispatching touch and gesture events to Popups.
1821         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1822         (WebKit::WebPopupMenuImpl::TouchEvent):
1823         (WebKit::WebPopupMenuImpl::handleInputEvent):
1824         * src/WebPopupMenuImpl.h:
1825         * src/WebViewImpl.cpp:
1826         (WebKit::WebViewImpl::WebViewImpl):
1827         Added gesture recognition creation.
1828         (WebKit::WebViewImpl::touchEvent):
1829         Added recognition of gestures and dispatch of gesture events.
1830         (WebKit::WebViewImpl::resetGestureRecognizer):
1831         * src/WebViewImpl.h:
1832
1833 2011-07-29  Scott Byer  <scottbyer@chromium.org>
1834
1835         Scroll animation refinements.
1836         https://bugs.webkit.org/show_bug.cgi?id=65154
1837
1838         Reviewed by Adam Barth.
1839
1840         Fix scroll animation bugs when scrolling to the ends of a document. Smooth over slow event repeat rates
1841         better. Fix tests to allow for unit testing of scrolling up and not just down.
1842
1843         Additional unit tests added to ScrollAnimatorNoneTest:
1844         ScrollQuadraticSmoothed, ScrollLotsQuadraticSmoothed, ScrollDownToBumper, ScrollUpToBumper
1845         
1846         * tests/ScrollAnimatorNoneTest.cpp:
1847         (ScrollAnimatorNoneTest::reset):
1848         (ScrollAnimatorNoneTest::updateDataFromParameters):
1849         (ScrollAnimatorNoneTest::animateScroll):
1850         (ScrollAnimatorNoneTest::checkDesiredPosition):
1851         (ScrollAnimatorNoneTest::checkSoftLanding):
1852
1853 2011-07-28  Naoki Takano  <honten@chromium.org>
1854
1855         [Chromium] Add form() function to access parent WebFormElement from WebFormControlElement.
1856         https://bugs.webkit.org/show_bug.cgi?id=65304
1857         http://code.google.com/p/chromium/issues/detail?id=63553
1858
1859         Reviewed by Darin Fisher.
1860
1861         Chromium Autofill feature needs to access the parent WebFormElement from WebFormControlElement. So added form() method.
1862
1863         * public/WebFormControlElement.h: Add form() function.
1864         * src/WebFormControlElement.cpp:
1865         (WebKit::WebFormControlElement::form): Return parent WebFormElement.
1866
1867 2011-07-28  Nico Weber  <thakis@chromium.org>
1868
1869         [chromium] Make WebImage::assign(CGImageRef) a WEBKIT_API
1870         https://bugs.webkit.org/show_bug.cgi?id=65265
1871
1872         Reviewed by James Robinson.
1873
1874         Required for the components build on mac. The inline function
1875         operator=(CGImageRef) is used from outside webkit, and calls this
1876         function.
1877
1878         * public/WebImage.h:
1879
1880 2011-07-28  Mihai Parparita  <mihaip@chromium.org>
1881
1882         [Chromium] Remove WebDocument::insertStyleText
1883         https://bugs.webkit.org/show_bug.cgi?id=65332
1884
1885         Reviewed by Tony Chang.
1886
1887         As of http://crrev.com/94499 no Chromium code calls this anymore.
1888         Also does a bit of #include cleanup.
1889
1890         * public/WebDocument.h:
1891         * src/WebDocument.cpp:
1892
1893 2011-07-27  Fady Samuel  <fsamuel@chromium.org>
1894
1895         Added a Chromium WebKit API method to set the minimum row height of a popup listbox.
1896         https://bugs.webkit.org/show_bug.cgi?id=64897
1897
1898         Reviewed by Darin Fisher.
1899
1900         * public/WebPopupMenu.h:
1901         * src/WebPopupMenuImpl.cpp:
1902         (WebKit::WebPopupMenu::setMinimumRowHeight):
1903
1904 2011-07-27  Peng Huang  <penghuang@chromium.org>
1905
1906         Add more text input types for chromium
1907         https://bugs.webkit.org/show_bug.cgi?id=64937
1908
1909         Reviewed by Darin Fisher.
1910
1911         * public/WebTextInputType.h:
1912         * src/WebViewImpl.cpp:
1913         (WebKit::WebViewImpl::textInputType):
1914
1915 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
1916
1917         Add sfntly library to the Chromium DEPS file.
1918
1919         * DEPS:
1920
1921 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
1922
1923         Unreviewed.  Rolled DEPS.
1924
1925         * DEPS:
1926
1927 2011-07-25  Mihai Parparita  <mihaip@chromium.org>
1928
1929         [Chromium] Add better WebKit API for chrome.tabs.insertCSS extension API
1930         https://bugs.webkit.org/show_bug.cgi?id=65158
1931
1932         Reviewed by David Hyatt.
1933
1934         Add WebDocument::insertUserStyleSheet which inserts a user stylesheet,
1935         instead of forcing extensions to use insertStyleText which manipulates
1936         the DOM of the page and results in compatibility issues (see
1937         http://crbug.com/82220).
1938
1939         * public/WebDocument.h:
1940         * src/WebDocument.cpp:
1941         (WebKit::WebDocument::insertUserStyleSheet):
1942
1943 2011-07-27  Vsevolod Vlasov  <vsevik@chromium.org>
1944
1945         Web Inspector: Disable cache option should only clear memory cache, not disable it.
1946         https://bugs.webkit.org/show_bug.cgi?id=65184
1947
1948         Reviewed by Pavel Feldman.
1949
1950         * src/InspectorClientImpl.cpp:
1951         * src/InspectorClientImpl.h:
1952         * src/WebDevToolsAgentImpl.cpp:
1953         * src/WebDevToolsAgentImpl.h:
1954
1955 2011-07-27  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1956
1957         Pass on the suggested name for download file to the client.
1958         https://bugs.webkit.org/show_bug.cgi?id=65181
1959
1960         Reviewed by Darin Fisher.
1961
1962         * src/FrameLoaderClientImpl.cpp:
1963         (WebKit::FrameLoaderClientImpl::startDownload):
1964
1965 2011-07-27  Tony Gentilcore  <tonyg@chromium.org>
1966
1967         Speculative win build fix after r91835
1968         https://bugs.webkit.org/show_bug.cgi?id=65255
1969
1970         Unreviewed build fix.
1971
1972         * src/WebFontImpl.cpp:
1973
1974 2011-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1975
1976         Unreviewed, rolling out r91809.
1977         http://trac.webkit.org/changeset/91809
1978         https://bugs.webkit.org/show_bug.cgi?id=65225
1979
1980         Does not build on Chromium Windows (Requested by abarth on
1981         #webkit).
1982
1983         * features.gypi:
1984         * src/WebFrameImpl.cpp:
1985         (WebKit::WebFrameImpl::createFrameView):
1986         * src/WebPopupMenuImpl.cpp:
1987         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
1988         (WebKit::WebPopupMenuImpl::handleInputEvent):
1989         * src/WebPopupMenuImpl.h:
1990         * src/WebViewImpl.cpp:
1991         (WebKit::WebViewImpl::WebViewImpl):
1992         (WebKit::WebViewImpl::touchEvent):
1993         * src/WebViewImpl.h:
1994
1995 2011-07-26  Robert Kroeger  <rjkroege@chromium.org>
1996
1997         [chromium] Layering violations in gesture recognizer
1998         https://bugs.webkit.org/show_bug.cgi?id=65044
1999
2000         Reviewed by Adam Barth.
2001
2002         Moved gesture recognition higher up the event delivery code
2003         path so that recognition of gestures is completely separated
2004         from gesture handling.
2005
2006         * features.gypi:
2007         * src/WebFrameImpl.cpp:
2008         (WebKit::WebFrameImpl::createFrameView):
2009         Added code to reset the gesture recognizer to preserve parallel
2010         layout test execution.
2011         * src/WebPopupMenuImpl.cpp:
2012         Support dispatching touch and gesture events to Popups.
2013         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2014         (WebKit::WebPopupMenuImpl::TouchEvent):
2015         (WebKit::WebPopupMenuImpl::handleInputEvent):
2016         * src/WebPopupMenuImpl.h:
2017         * src/WebViewImpl.cpp:
2018         (WebKit::WebViewImpl::WebViewImpl):
2019         Added gesture recognition creation.
2020         (WebKit::WebViewImpl::touchEvent):
2021         Added recognition of gestures and dispatch of gesture events.
2022         (WebKit::WebViewImpl::resetGestureRecognizer):
2023         * src/WebViewImpl.h:
2024
2025 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2026
2027         Add support for download='filename' attribute in anchors.
2028         https://bugs.webkit.org/show_bug.cgi?id=64580
2029
2030         Reviewed by Adam Barth.
2031
2032         * features.gypi:
2033         * public/WebFrameClient.h:
2034         (WebKit::WebFrameClient::loadURLExternally):
2035         * src/FrameLoaderClientImpl.cpp:
2036         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
2037         (WebKit::FrameLoaderClientImpl::startDownload):
2038         * src/FrameLoaderClientImpl.h:
2039
2040 2011-07-26  Brett Wilson  <brettw@chromium.org>
2041
2042         Cancel the load when an associated URL loader goes out of scope.
2043         Previously, the load would continue even when the WebURLLoader object
2044         was deleted, and the data would just get queued up.
2045
2046         https://bugs.webkit.org/show_bug.cgi?id=65204
2047
2048         Reviewed by Darin Fisher.
2049
2050         * src/AssociatedURLLoader.cpp:
2051         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2052         (WebKit::AssociatedURLLoader::cancel):
2053
2054 2011-07-25  Al Patrick  <apatrick@chromium.org>
2055
2056         Removed support for the GL_latch_CHROMIUM extension which Chromium no longer supports.
2057         https://bugs.webkit.org/show_bug.cgi?id=65043
2058
2059         Reviewed by James Robinson.
2060
2061         * public/WebGraphicsContext3D.h:
2062         * src/Extensions3DChromium.cpp:
2063         * src/GraphicsContext3DChromium.cpp:
2064         * src/GraphicsContext3DInternal.h:
2065
2066 2011-07-25  Nico Weber  <thakis@chromium.org>
2067
2068         [chromium] Don't link in both libjpeg and libjpeg_turbo in the components build
2069         https://bugs.webkit.org/show_bug.cgi?id=65138
2070
2071         Reviewed by James Robinson.
2072
2073         * WebKit.gyp:
2074
2075 2011-07-25  Chris Rogers  <crogers@google.com>
2076
2077         Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing
2078         https://bugs.webkit.org/show_bug.cgi?id=65039
2079
2080         Reviewed by Tony Chang.
2081
2082         * WebKit.gyp:
2083         * public/WebArrayBufferView.h: Added.
2084         (WebKit::WebArrayBufferView::~WebArrayBufferView):
2085         (WebKit::WebArrayBufferView::WebArrayBufferView):
2086         * public/WebBindings.h:
2087         * src/WebArrayBufferView.cpp: Added.
2088         (WebKit::WebArrayBufferView::assign):
2089         (WebKit::WebArrayBufferView::reset):
2090         (WebKit::WebArrayBufferView::baseAddress):
2091         (WebKit::WebArrayBufferView::byteOffset):
2092         (WebKit::WebArrayBufferView::byteLength):
2093         (WebKit::WebArrayBufferView::WebArrayBufferView):
2094         (WebKit::WebArrayBufferView::operator=):
2095         (WebKit::WebArrayBufferView::operator PassRefPtr<ArrayBufferView>):
2096         * src/WebBindings.cpp:
2097         (WebKit::getArrayBufferViewImpl):
2098         (WebKit::WebBindings::getArrayBufferView):
2099
2100 2011-07-23  Alok Priyadarshi  <alokp@chromium.org>
2101
2102         Switching off acceleration for small canvas broke gpu tests
2103         https://bugs.webkit.org/show_bug.cgi?id=65053
2104
2105         Reviewed by Stephen White.
2106
2107         * public/WebSettings.h:
2108         * src/WebSettingsImpl.cpp:
2109         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
2110         * src/WebSettingsImpl.h:
2111
2112 2011-07-23  Yuta Kitamura  <yutak@chromium.org>
2113
2114         [Chromium] Turn on new WebSocket protocol in worker shadow page
2115         https://bugs.webkit.org/show_bug.cgi?id=64852
2116
2117         Reviewed by Dmitry Titov.
2118
2119         * src/WebWorkerBase.cpp:
2120         (WebKit::WebWorkerBase::initializeLoader):
2121         Initialize the value of WebCore::Settings::useHixie76WebSocketProtocol()
2122         for a new shadow page. The default value of this flag is overridden through
2123         WebPreferences (located in webkit/glue in Chromium source tree) but a shadow
2124         page does not receive the preference values from it.
2125
2126 2011-07-22  James Robinson  <jamesr@chromium.org>
2127
2128         [chromium] Remove code that attempted to explicitly sync compositing state before compositing
2129         https://bugs.webkit.org/show_bug.cgi?id=65055
2130
2131         Reviewed by Kenneth Russell.
2132
2133         There was some logic in WebViewImpl to try to synchronously calculate compositing requirements and sync
2134         compositing state on all frames before painting in an attempt to flush out all pending updates before entering
2135         the composite routines. The idea behind this code was that it would allow us to not worry about compositing
2136         turning off in the middle of a composite operation due to things like RenderLayer overlap being lazily
2137         calculated.  In practice, we still need to be defensive to compositing requirements updating during the
2138         composite anyway and this code is quite expensive on some pages (10ms+ on the HTML specification on my box).
2139
2140         * src/WebViewImpl.cpp:
2141         (WebKit::WebViewImpl::layout):
2142         * src/WebViewImpl.h:
2143
2144 2011-07-22  Cris Neckar  <cdn@chromium.org>
2145
2146         Hook v8 up to cryptographicallyRandomValues as an entropy source.
2147         https://bugs.webkit.org/show_bug.cgi?id=64887
2148
2149         Reviewed by Adam Barth.
2150
2151         * public/WebKitClient.h:
2152         * src/WebKit.cpp:
2153         (WebKit::generateEntropy):
2154         (WebKit::initialize):
2155
2156 2011-07-22  Andrew Scherkus  <scherkus@chromium.org>
2157
2158         Remove surfaceType() and texture() methods from Chromium video frame classes.
2159         https://bugs.webkit.org/show_bug.cgi?id=64818
2160
2161         Reviewed by Kenneth Russell.
2162
2163         * public/WebVideoFrame.h:
2164         * src/AssertMatchingEnums.cpp:
2165         * src/VideoFrameChromiumImpl.cpp:
2166         * src/VideoFrameChromiumImpl.h:
2167
2168 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
2169
2170         Unreviewed.  Rolled DEPS.
2171
2172         * DEPS:
2173
2174 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
2175
2176         Revert r91510 due to Chromium debug test failures.
2177
2178         * src/WebKit.cpp:
2179         (WebKit::initialize):
2180
2181 2011-07-20  Cris Neckar  <cdn@chromium.org>
2182
2183         Hook v8 up to cryptographicallyRandomValues as an entropy source.
2184         https://bugs.webkit.org/show_bug.cgi?id=64887
2185
2186         Reviewed by Adam Barth.
2187
2188         * src/WebKit.cpp:
2189         (WebKit::generateEntropy):
2190         (WebKit::initialize):
2191
2192 2011-07-21  Vsevolod Vlasov  <vsevik@chromium.org>
2193
2194         [Chromium DevTools] Remove unused method setAgentIdentifierPrefix from WebDevToolAgent.
2195         https://bugs.webkit.org/show_bug.cgi?id=64793
2196
2197         Reviewed by Pavel Feldman.
2198
2199         * public/WebDevToolsAgent.h:
2200         * src/WebDevToolsAgentImpl.cpp:
2201         * src/WebDevToolsAgentImpl.h:
2202
2203 2011-07-21  Ryosuke Niwa  <rniwa@webkit.org>
2204
2205         Unreviewed.  Rolled DEPS.
2206
2207         * DEPS:
2208
2209 2011-07-20  Al Patrick  <apatrick@chromium.org>
2210
2211         Set the parent context to that of the associated view when calling GraphicsContext3DChromium::copyTextureToParentCHROMIUM.
2212         This fixes a race condition whereby the view window does not exist when the offscreen context is created. It allows
2213         accelerated 2D canvases to be added to newly created window.
2214         https://bugs.webkit.org/show_bug.cgi?id=64905
2215
2216         Reviewed by James Robinson.
2217
2218         * src/GraphicsContext3DChromium.cpp:
2219         (WebCore::GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM):
2220
2221 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
2222
2223         Web Inspector: Add support for disabling cache in web inspector.
2224         https://bugs.webkit.org/show_bug.cgi?id=64097
2225
2226         Reviewed by Pavel Feldman.
2227
2228         * src/InspectorClientImpl.cpp:
2229         (WebKit::InspectorClientImpl::setCacheDisabled):
2230         * src/InspectorClientImpl.h:
2231         * src/WebDevToolsAgentImpl.cpp:
2232         (WebKit::WebDevToolsAgentImpl::setCacheDisabled):
2233         * src/WebDevToolsAgentImpl.h:
2234         * src/js/DevTools.js:
2235         ():
2236
2237 2011-07-20  Peter Kasting  <pkasting@google.com>
2238
2239         Remove "const" from obviously-non-const accessors
2240         https://bugs.webkit.org/show_bug.cgi?id=62302
2241
2242         Reviewed by Darin Adler.
2243
2244         * public/WebElement.h:
2245         * src/WebElement.cpp:
2246         (WebKit::WebElement::innerText): Not const due to call to newly-non-const Element::innerText().
2247         * src/WebSearchableFormData.cpp: Use non-const Node*s for code that calls newly non-const accessors.
2248         (HTMLNames::IsSelectInDefaultState):
2249         (HTMLNames::IsInDefaultState):
2250         * src/WebViewImpl.cpp: Use non-const Node*s for code that calls newly non-const accessors.
2251         (WebKit::WebViewImpl::setComposition):
2252         (WebKit::WebViewImpl::confirmComposition):
2253         (WebKit::WebViewImpl::textInputType):
2254
2255 2011-07-20  Ilya Sherman  <isherman@chromium.org>
2256
2257         Remove TODO in WebNode.h from a two-sided patch that has now landed
2258         https://bugs.webkit.org/show_bug.cgi?id=64840
2259
2260         Reviewed by Darin Fisher.
2261
2262         * public/WebNode.h:
2263
2264 2011-07-20  Glen Shires  <gshires@google.com>
2265
2266         Bug 64625: Add isSpeechInputEnabled flag to WebContextMenuData.
2267         https://bugs.webkit.org/show_bug.cgi?id=64625
2268
2269         Reviewed by Darin Fisher.
2270
2271         * public/WebContextMenuData.h:
2272         (WebKit::WebContextMenuData::WebContextMenuData): added flag isSpeechInputEnabled
2273         * src/ContextMenuClientImpl.cpp:
2274         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): set flag isSpeechInputEnabled
2275
2276 2011-07-20  Andrey Kosyakov  <caseq@chromium.org>
2277
2278         Web Inspector: move Network log view to an iframe
2279         https://bugs.webkit.org/show_bug.cgi?id=62006
2280
2281         Reviewed by Pavel Feldman.
2282
2283         * WebKit.gyp:
2284
2285 2011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
2286
2287         Unreviewed.  Rolled DEPS.
2288
2289         * DEPS:
2290
2291 2011-07-19  Dominic Mazzoni  <dmazzoni@google.com>
2292
2293         Adds some methods to retrieve accessible information from tables and
2294         table cells. Also refactors WebAccessibilityObject to use WebPrivatePtr
2295         instead of its own implementation that didn't allow access to subclasses
2296         of AccessibilityObject.
2297         https://bugs.webkit.org/show_bug.cgi?id=64805
2298
2299         Reviewed by Dimitri Glazkov.
2300
2301         * public/WebAccessibilityObject.h:
2302         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
2303         (WebKit::WebAccessibilityObject::isNull):
2304         * src/WebAccessibilityObject.cpp:
2305         (WebKit::WebAccessibilityObject::reset):
2306         (WebKit::WebAccessibilityObject::assign):
2307         (WebKit::WebAccessibilityObject::equals):
2308         (WebKit::WebAccessibilityObject::accessibilityDescription):
2309         (WebKit::WebAccessibilityObject::actionVerb):
2310         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
2311         (WebKit::WebAccessibilityObject::canSetValueAttribute):
2312         (WebKit::WebAccessibilityObject::isValid):
2313         (WebKit::WebAccessibilityObject::childCount):
2314         (WebKit::WebAccessibilityObject::childAt):
2315         (WebKit::WebAccessibilityObject::firstChild):
2316         (WebKit::WebAccessibilityObject::focusedChild):
2317         (WebKit::WebAccessibilityObject::lastChild):
2318         (WebKit::WebAccessibilityObject::nextSibling):
2319         (WebKit::WebAccessibilityObject::parentObject):
2320         (WebKit::WebAccessibilityObject::previousSibling):
2321         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
2322         (WebKit::WebAccessibilityObject::isAnchor):
2323         (WebKit::WebAccessibilityObject::isChecked):
2324         (WebKit::WebAccessibilityObject::isCollapsed):
2325         (WebKit::WebAccessibilityObject::isFocused):
2326         (WebKit::WebAccessibilityObject::isEnabled):
2327         (WebKit::WebAccessibilityObject::isHovered):
2328         (WebKit::WebAccessibilityObject::isIndeterminate):
2329         (WebKit::WebAccessibilityObject::isLinked):
2330         (WebKit::WebAccessibilityObject::isMultiSelectable):
2331         (WebKit::WebAccessibilityObject::isOffScreen):
2332         (WebKit::WebAccessibilityObject::isPasswordField):
2333         (WebKit::WebAccessibilityObject::isPressed):
2334         (WebKit::WebAccessibilityObject::isReadOnly):
2335         (WebKit::WebAccessibilityObject::isSelected):
2336         (WebKit::WebAccessibilityObject::isVisible):
2337         (WebKit::WebAccessibilityObject::isVisited):
2338         (WebKit::WebAccessibilityObject::boundingBoxRect):
2339         (WebKit::WebAccessibilityObject::helpText):
2340         (WebKit::WebAccessibilityObject::headingLevel):
2341         (WebKit::WebAccessibilityObject::hitTest):
2342         (WebKit::WebAccessibilityObject::keyboardShortcut):
2343         (WebKit::WebAccessibilityObject::performDefaultAction):
2344         (WebKit::WebAccessibilityObject::roleValue):
2345         (WebKit::WebAccessibilityObject::selectionEnd):
2346         (WebKit::WebAccessibilityObject::selectionStart):
2347         (WebKit::WebAccessibilityObject::setFocused):
2348         (WebKit::WebAccessibilityObject::stringValue):
2349         (WebKit::WebAccessibilityObject::title):
2350         (WebKit::WebAccessibilityObject::url):
2351         (WebKit::WebAccessibilityObject::node):
2352         (WebKit::WebAccessibilityObject::document):
2353         (WebKit::WebAccessibilityObject::hasComputedStyle):
2354         (WebKit::WebAccessibilityObject::computedStyleDisplay):
2355         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2356         (WebKit::WebAccessibilityObject::lineBreaks):
2357         (WebKit::WebAccessibilityObject::columnCount):
2358         (WebKit::WebAccessibilityObject::rowCount):
2359         (WebKit::WebAccessibilityObject::cellForColumnAndRow):
2360         (WebKit::WebAccessibilityObject::cellColumnIndex):
2361         (WebKit::WebAccessibilityObject::cellColumnSpan):
2362         (WebKit::WebAccessibilityObject::cellRowIndex):
2363         (WebKit::WebAccessibilityObject::cellRowSpan):
2364         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
2365         (WebKit::WebAccessibilityObject::operator=):
2366         (WebKit::WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>):
2367
2368 2011-07-19  Robert Sesek  <rsesek@chromium.org>
2369
2370         [Chromium] Need to remove app/ from DEPS
2371         https://bugs.webkit.org/show_bug.cgi?id=64750
2372
2373         Reviewed by Tony Chang.
2374
2375         Roll DEPS and remove dependencies on Chromium's /src/app.
2376
2377         * DEPS:
2378         * WebKit.gyp:
2379
2380 2011-07-19  Yury Semikhatsky  <yurys@chromium.org>
2381
2382         [Chromium] Web Inspector: add sanity test for shared worker inspector
2383         https://bugs.webkit.org/show_bug.cgi?id=64799
2384
2385         Reviewed by Pavel Feldman.
2386
2387         * src/js/Tests.js:
2388         (.TestSuite.prototype.testSharedWorker):
2389         (.TestSuite.prototype.evaluateInConsole_):
2390
2391 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
2392
2393         Web Inspector: Rename agentIdentifierPrefix to processId, move out from page agent and make static.
2394         https://bugs.webkit.org/show_bug.cgi?id=64729
2395
2396         Reviewed by Pavel Feldman.
2397
2398         * public/WebDevToolsAgent.h:
2399         * src/WebDevToolsAgentImpl.cpp:
2400         (WebKit::WebDevToolsAgentImpl::setAgentIdentifierPrefix):
2401         (WebKit::WebDevToolsAgentImpl::setProcessId):
2402         * src/WebDevToolsAgentImpl.h:
2403
2404 2011-07-18  Sheriff Bot  <webkit.review.bot@gmail.com>
2405
2406         Unreviewed.  Rolled DEPS.
2407
2408         * DEPS:
2409
2410 2011-07-18  James Robinson  <jamesr@chromium.org>
2411
2412         Timer scheduling should be based off the monotonic clock
2413         https://bugs.webkit.org/show_bug.cgi?id=64544
2414
2415         Reviewed by Darin Adler.
2416
2417         Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
2418
2419         * public/WebKitClient.h:
2420         (WebKit::WebKitClient::setSharedTimerFireInterval):
2421         * src/PlatformBridge.cpp:
2422         (WebCore::PlatformBridge::setSharedTimerFireInterval):
2423
2424 2011-07-18  Yuzhu Shen  <yzshen@chromium.com>
2425
2426         Reviewed by James Robinson.
2427
2428         [chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
2429         https://bugs.webkit.org/show_bug.cgi?id=64555
2430         
2431         This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
2432  
2433         * src/WebFontImpl.cpp: handled canvasIsOpaque.
2434         * src/WebFontImpl.h: added method declaration.
2435
2436 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
2437
2438         Add code to attempt to align compositing layers to pixel boundaries when page scale changes
2439         https://bugs.webkit.org/show_bug.cgi?id=64658
2440
2441         Reviewed by Dan Bernstein.
2442
2443         Removed implementations of backingScaleFactor() and pageScaleFactor() now
2444         that GraphicsLayerClient has default implementations.
2445
2446         * src/PageOverlay.cpp:
2447
2448 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
2449
2450         Have GraphicsLayer pull their contentsScale, rather than pushing it onto them
2451         https://bugs.webkit.org/show_bug.cgi?id=64643
2452
2453         Reviewed by Darin Adler.
2454         
2455         Impement new GraphicsLayerClient methods related to contents scale.
2456
2457         * src/PageOverlay.cpp:
2458         (WebKit::OverlayGraphicsLayerClientImpl::backingScaleFactor):
2459         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
2460
2461 2011-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2462
2463         Unreviewed.  Rolled DEPS.
2464
2465         * DEPS:
2466
2467 2011-07-15  Kenneth Russell  <kbr@google.com>
2468
2469         Don't restore WebGL context if it was guilty of a graphics reset
2470         https://bugs.webkit.org/show_bug.cgi?id=64497
2471
2472         Reviewed by Stephen White.
2473
2474         Actually implement getGraphicsResetStatusARB rather than inferring
2475         the status based on whether the context has been lost.
2476
2477         * public/WebGraphicsContext3D.h:
2478         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
2479         * src/Extensions3DChromium.cpp:
2480         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
2481         * src/GraphicsContext3DChromium.cpp:
2482         * src/GraphicsContext3DInternal.h:
2483
2484 2011-07-15  Dan Bernstein  <mitz@apple.com>
2485
2486         Chromium build fix.
2487
2488         * src/WebPopupMenuImpl.cpp:
2489         (WebKit::WebPopupMenuImpl::setCursorHiddenUntilMouseMoves):
2490         * src/WebPopupMenuImpl.h:
2491
2492 2011-07-15  Dan Bernstein  <mitz@apple.com>
2493
2494         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
2495         https://bugs.webkit.org/show_bug.cgi?id=64615
2496
2497         Reviewed by Anders Carlsson.
2498
2499         * src/ChromeClientImpl.cpp:
2500         (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
2501         * src/ChromeClientImpl.h:
2502
2503 2011-07-14  Ryosuke Niwa  <rniwa@webkit.org>
2504
2505         Rolled Chromium revision to 92606.
2506
2507         * DEPS:
2508
2509 2011-07-14  Ilya Sherman  <isherman@chromium.org>
2510
2511         Rename AutoFill -> Autofill and autoFill -> autofill
2512         https://bugs.webkit.org/show_bug.cgi?id=64333
2513         http://code.google.com/p/chromium/issues/detail?id=72758
2514
2515         Reviewed by Darin Fisher.
2516
2517         * WebKit.gyp:
2518         * public/WebAutofillClient.h:
2519         (WebKit::WebAutofillClient::didAcceptAutofillSuggestion):
2520         (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
2521         (WebKit::WebAutofillClient::didClearAutofillSelection):
2522         (WebKit::WebAutofillClient::removeAutocompleteSuggestion):
2523         (WebKit::WebAutofillClient::textFieldDidBeginEditing):
2524         (WebKit::WebAutofillClient::textFieldDidEndEditing):
2525         (WebKit::WebAutofillClient::textFieldDidChange):
2526         (WebKit::WebAutofillClient::textFieldDidReceiveKeyDown):
2527         (WebKit::WebAutofillClient::~WebAutofillClient):
2528         * public/WebNode.h:
2529         * public/WebView.h:
2530         * src/AutofillPopupMenuClient.cpp:
2531         (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient):
2532         (WebKit::AutofillPopupMenuClient::~AutofillPopupMenuClient):
2533         (WebKit::AutofillPopupMenuClient::getSuggestionsCount):
2534         (WebKit::AutofillPopupMenuClient::getSuggestion):
2535         (WebKit::AutofillPopupMenuClient::getLabel):
2536         (WebKit::AutofillPopupMenuClient::getIcon):
2537         (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
2538         (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex):
2539         (WebKit::AutofillPopupMenuClient::valueChanged):
2540         (WebKit::AutofillPopupMenuClient::selectionChanged):
2541         (WebKit::AutofillPopupMenuClient::selectionCleared):
2542         (WebKit::AutofillPopupMenuClient::itemText):
2543         (WebKit::AutofillPopupMenuClient::itemLabel):
2544         (WebKit::AutofillPopupMenuClient::itemIcon):
2545         (WebKit::AutofillPopupMenuClient::itemIsEnabled):
2546         (WebKit::AutofillPopupMenuClient::itemStyle):
2547         (WebKit::AutofillPopupMenuClient::menuStyle):
2548         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
2549         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
2550         (WebKit::AutofillPopupMenuClient::popupDidHide):
2551         (WebKit::AutofillPopupMenuClient::itemIsSeparator):
2552         (WebKit::AutofillPopupMenuClient::itemIsWarning):
2553         (WebKit::AutofillPopupMenuClient::setTextFromItem):
2554         (WebKit::AutofillPopupMenuClient::fontSelector):
2555         (WebKit::AutofillPopupMenuClient::hostWindow):
2556         (WebKit::AutofillPopupMenuClient::createScrollbar):
2557         (WebKit::AutofillPopupMenuClient::initialize):
2558         (WebKit::AutofillPopupMenuClient::setSuggestions):
2559         (WebKit::AutofillPopupMenuClient::convertListIndexToInternalIndex):
2560         (WebKit::AutofillPopupMenuClient::getWebView):
2561         (WebKit::AutofillPopupMenuClient::textFieldStyle):
2562         * src/AutofillPopupMenuClient.h:
2563         (WebKit::AutofillPopupMenuClient::itemToolTip):
2564         (WebKit::AutofillPopupMenuClient::itemAccessibilityText):
2565         (WebKit::AutofillPopupMenuClient::clientInsetLeft):
2566         (WebKit::AutofillPopupMenuClient::clientInsetRight):
2567         (WebKit::AutofillPopupMenuClient::listSize):
2568         (WebKit::AutofillPopupMenuClient::selectedIndex):
2569         (WebKit::AutofillPopupMenuClient::itemIsLabel):
2570         (WebKit::AutofillPopupMenuClient::itemIsSelected):
2571         (WebKit::AutofillPopupMenuClient::shouldPopOver):
2572         (WebKit::AutofillPopupMenuClient::valueShouldChangeOnHotTrack):
2573         (WebKit::AutofillPopupMenuClient::getTextField):
2574         (WebKit::AutofillPopupMenuClient::getSelectedIndex):
2575         (WebKit::AutofillPopupMenuClient::setSelectedIndex):
2576         * src/EditorClientImpl.cpp:
2577         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
2578         (WebKit::EditorClientImpl::textFieldDidEndEditing):
2579         (WebKit::EditorClientImpl::textDidChangeInTextField):
2580         (WebKit::EditorClientImpl::doAutofill):
2581         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
2582         * src/WebInputElement.cpp:
2583         (WebKit::WebInputElement::setAutofilled):
2584         * src/WebViewImpl.cpp:
2585         (WebKit::WebViewImpl::setAutofillClient):
2586         (WebKit::WebViewImpl::WebViewImpl):
2587         (WebKit::WebViewImpl::mouseDown):
2588         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
2589         (WebKit::WebViewImpl::hideAutofillPopup):
2590         (WebKit::WebViewImpl::setFocus):
2591         (WebKit::WebViewImpl::applyAutofillSuggestions):
2592         (WebKit::WebViewImpl::hidePopups):
2593         (WebKit::WebViewImpl::refreshAutofillPopup):
2594         * src/WebViewImpl.h:
2595         (WebKit::WebViewImpl::autofillClient):
2596         (WebKit::WebViewImpl::autofillPopupDidHide):
2597
2598 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
2599
2600         [Chromium] Web Inspector: URL parameters should consistently use camel case names
2601         https://bugs.webkit.org/show_bug.cgi?id=64520
2602
2603         Reviewed by Pavel Feldman.
2604
2605         * src/js/DevTools.js:
2606         (devtools.domContentLoaded): Now that Chromium side is updated we can remove the old parameter
2607         handling code.
2608
2609 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
2610
2611         [Chromium] Web Inspector: URL parameters should consistently use camel case names
2612         https://bugs.webkit.org/show_bug.cgi?id=64520
2613
2614         Reviewed by Pavel Feldman.
2615
2616         * src/js/DevTools.js:
2617         (devtools.domContentLoaded):
2618
2619 2011-07-13  Noel Gordon  <noel.gordon@gmail.com>
2620
2621         [chromium] Clean undeeded WebCore:: namespace prefixing from WebBindings.
2622         https://bugs.webkit.org/show_bug.cgi?id=64361
2623
2624         Reviewed by Kent Tamura.
2625
2626         * src/WebBindings.cpp:
2627         (WebKit::makeIntArrayImpl):
2628         (WebKit::makeStringArrayImpl):
2629
2630 2011-07-13  James Robinson  <jamesr@chromium.org>
2631
2632         [chromium] No implementation defined for WTF::monotonicallyIncreasingTime
2633         https://bugs.webkit.org/show_bug.cgi?id=64420
2634
2635         Reviewed by Tony Gentilcore.
2636
2637         Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of
2638         WTF::currentTime().
2639
2640         * src/ChromiumCurrentTime.cpp:
2641         (WTF::monotonicallyIncreasingTime):
2642         * src/PlatformBridge.cpp:
2643
2644 2011-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
2645
2646         Chromium DevTools: Enable clear cache and cookies from network panel in chromium.
2647         https://bugs.webkit.org/show_bug.cgi?id=64095
2648
2649         Reviewed by Pavel Feldman.
2650
2651         * src/js/DevTools.js:
2652         ():
2653
2654 2011-07-12  Al Patrick  <apatrick@chromium.org>
2655
2656         Added the ability to dynamically change the parent context of a WebGraphicsContext3D.
2657         GraphicsContext3DInternal::platformTexture uses this to set the parent as appropriate.
2658         https://bugs.webkit.org/show_bug.cgi?id=64397
2659
2660         Reviewed by Kenneth Russell.
2661
2662         * public/WebGraphicsContext3D.h:
2663         (WebKit::WebGraphicsContext3D::setParentContext):
2664         * src/GraphicsContext3DChromium.cpp:
2665         (WebCore::GraphicsContext3DInternal::platformTexture):
2666
2667 2011-07-12  James Robinson  <jamesr@chromium.org>
2668
2669         [chromium] Delete the unused legacy accelerated canvas 2d code
2670         https://bugs.webkit.org/show_bug.cgi?id=64214
2671
2672         Reviewed by Stephen White.
2673
2674         Adds a way to stash a GrContext* on a GraphicsContext3D. Previously, this was handled by
2675         SharedGraphicsContext3D, but we don't need that class any more.  This is used only for the shared
2676         GraphicsContext3D stashed on the Page and shared by all accelerated canvases within the Page, for WebGL and
2677         compositor contexts the GrContext is never set.
2678
2679         * src/GraphicsContext3DChromium.cpp:
2680         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2681         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2682         (WebCore::GraphicsContext3DInternal::grContext):
2683         (WebCore::GraphicsContext3D::grContext):
2684         * src/GraphicsContext3DInternal.h:
2685
2686 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
2687
2688         ApplicationCache update should not immediately fail when reaching per-origin quota
2689         https://bugs.webkit.org/show_bug.cgi?id=64177
2690
2691         Reviewed by Alexey Proskuryakov.
2692
2693         * src/ChromeClientImpl.cpp:
2694         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
2695         * src/ChromeClientImpl.h:
2696
2697 2011-07-12  John Bates  <jbates@google.com>
2698
2699         Move call to syncCompositingLayers so that we do not trigger redundant draws.
2700         https://bugs.webkit.org/show_bug.cgi?id=64224
2701
2702         doComposite was triggering two composites every time a canvas was dirtied.
2703         By moving syncCompositingLayers call to layout, the client code can draw without triggering
2704         a redundant frame. Also renamed WebViewImpl::updateLayers to
2705         syncCompositingLayers, because it was confusing.
2706
2707         Reviewed by James Robinson.
2708
2709         * src/WebViewImpl.cpp:
2710         (WebKit::WebViewImpl::layout):
2711         (WebKit::WebViewImpl::syncCompositingLayers):
2712         * src/WebViewImpl.h:
2713
2714 2011-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2715
2716         Unreviewed.  Rolled DEPS.
2717
2718         * DEPS:
2719
2720 2011-07-12  Evan Martin  <evan@chromium.org>
2721
2722         [chromium] DRT depends on v8
2723         https://bugs.webkit.org/show_bug.cgi?id=64376
2724
2725         DumpRenderTree.cpp has calls to v8:: functions, so it should have a build
2726         dependency on v8.  This fixes missing references in the shared-object build.
2727
2728         * WebKit.gyp:
2729
2730 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
2731
2732         Unreviewed.  Rolled DEPS.
2733
2734         * DEPS:
2735
2736 2011-07-08  Nate Chapin  <japhet@chromium.org>
2737
2738         Check activeDocumentLoader() in
2739         WebFrameImpl::currentHistoryItem() and return
2740         early if null, since that should mean we're
2741         shutting down.
2742         https://bugs.webkit.org/show_bug.cgi?id=52923
2743
2744         Reviewed by Darin Fisher.
2745
2746         No known repro, so no new test.
2747
2748         * src/WebFrameImpl.cpp:
2749         (WebKit::WebFrameImpl::currentHistoryItem):
2750
2751 2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
2752
2753         Web Inspector: Add support for clearing cache and cookies from network panel.
2754         https://bugs.webkit.org/show_bug.cgi?id=63999
2755
2756         Reviewed by Pavel Feldman.
2757
2758         * public/WebDevToolsAgentClient.h:
2759         (WebKit::WebDevToolsAgentClient::clearBrowserCache):
2760         (WebKit::WebDevToolsAgentClient::clearBrowserCookies):
2761         * src/InspectorClientImpl.cpp:
2762         (WebKit::InspectorClientImpl::clearBrowserCache):
2763         (WebKit::InspectorClientImpl::clearBrowserCookies):
2764         * src/InspectorClientImpl.h:
2765         * src/WebDevToolsAgentImpl.cpp:
2766         (WebKit::WebDevToolsAgentImpl::clearBrowserCache):
2767         (WebKit::WebDevToolsAgentImpl::clearBrowserCookies):
2768         * src/WebDevToolsAgentImpl.h:
2769
2770 2011-07-06  Adam Barth  <abarth@webkit.org>
2771
2772         Unreviewed.  Rolled DEPS.
2773
2774         * DEPS:
2775
2776 2011-07-06  Johnny Ding  <jnd@chromium.org>
2777
2778         https://bugs.webkit.org/show_bug.cgi?id=63857
2779         Check WebWidgetClient before calling it to close widget.  
2780
2781         Reviewed by Tony Chang.
2782
2783         * src/WebPopupMenuImpl.cpp:
2784         (WebKit::WebPopupMenuImpl::popupClosed):
2785
2786 2011-07-06  Adrienne Walker  <enne@google.com>
2787
2788         [chromium] Add compositor texture manager soft limits and lost focus reclaiming
2789         https://bugs.webkit.org/show_bug.cgi?id=64009
2790
2791         Reviewed by James Robinson.
2792
2793         Reclaim textures when the tab loses focus.
2794
2795         * src/WebViewImpl.cpp:
2796         (WebKit::WebViewImpl::setVisibilityState):
2797
2798 2011-06-30  Cris Neckar  <cdn@chromium.org>
2799
2800         Reviewed by Darin Fisher.
2801
2802         Add versioning to Chromium clipboard and prevent polling from inside events.
2803         https://bugs.webkit.org/show_bug.cgi?id=63738
2804
2805         * public/WebClipboard.h:
2806         (WebKit::WebClipboard::getSequenceNumber):
2807         * src/PlatformBridge.cpp:
2808         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
2809
2810 2011-07-06  Ryosuke Niwa  <rniwa@webkit.org>
2811
2812         Rolled DEPS.
2813
2814         * DEPS:
2815
2816 2011-07-05  Yury Semikhatsky  <yurys@chromium.org>
2817
2818         [Chromium] Web Inspector: extend WebSharedWorker with inspector transport methods
2819         https://bugs.webkit.org/show_bug.cgi?id=63942
2820
2821         Added methods for connecting inspector to shared worker and for passing
2822         messages between shared worker inspector and corresponding inspector frontend.
2823
2824         Reviewed by Pavel Feldman.
2825
2826         * public/WebCommonWorkerClient.h:
2827         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
2828         * public/WebSharedWorker.h:
2829         (WebKit::WebSharedWorker::attachDevTools):
2830         (WebKit::WebSharedWorker::detachDevTools):
2831         (WebKit::WebSharedWorker::dispatchDevToolsMessage):
2832         * public/WebWorkerClient.h:
2833         * src/WebSharedWorkerImpl.cpp:
2834         (WebKit::connectToWorkerContextInspectorTask):
2835         (WebKit::WebSharedWorkerImpl::attachDevTools):
2836         (WebKit::disconnectFromWorkerContextInspectorTask):
2837         (WebKit::WebSharedWorkerImpl::detachDevTools):
2838         (WebKit::dispatchOnInspectorBackendTask):
2839         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
2840         * src/WebSharedWorkerImpl.h:
2841         * src/WebWorkerBase.cpp:
2842         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
2843
2844 2011-07-01  Kent Tamura  <tkent@chromium.org>
2845
2846         [Chromium] Rebaseline for fast/forms/input-file-re-render.html
2847         https://bugs.webkit.org/show_bug.cgi?id=63733
2848
2849         * DEPS: Update chromium revision to 91405 to have "Choose Files" string.
2850
2851 2011-07-01  Michael Nordman  <michaeln@google.com>
2852
2853         Reviewed by Darin Fisher.
2854
2855         [Chromium] FileSystem API can be used to learn about installed software on the user's computer
2856         https://bugs.webkit.org/show_bug.cgi?id=63220
2857
2858         * public/WebMimeRegistry.h:
2859         (WebKit::WebMimeRegistry::wellKnownMimeTypeForExtension):
2860         * src/PlatformBridge.cpp:
2861         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
2862
2863 2011-07-01  Scott Byer  <scottbyer@chromium.org>
2864
2865         Reviewed by Adam Barth.
2866
2867         Smooth scrolling fixes
2868         https://bugs.webkit.org/show_bug.cgi?id=63770
2869
2870         Fix issues found in manual testing; distill the traces into unit tests. Fix the issues the tests exposed in the
2871         scroll animation code.
2872
2873         * tests/ScrollAnimatorNoneTest.cpp:
2874         (ScrollAnimatorNoneTest::updateDataFromParameters):
2875         (TEST_F):
2876
2877 2011-07-01  Hans Wennborg  <hans@chromium.org>
2878
2879         IndexedDB: make LevelDB the default back-end
2880         https://bugs.webkit.org/show_bug.cgi?id=63817
2881
2882         Reviewed by Tony Chang.
2883
2884         Use LevelDB as the default back-end.
2885
2886         Covered by existing layout tests for indexeddb, which will now be
2887         using the LevelDB back-end.
2888
2889         * src/WebIDBFactoryImpl.cpp:
2890         (WebKit::WebIDBFactoryImpl::open):
2891
2892 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
2893
2894         Reviewed by Ojan Vafai.
2895
2896         Move m_isDirectional from FrameSelection to VisibleSelection
2897         https://bugs.webkit.org/show_bug.cgi?id=63473
2898
2899         Don't pass MakeNonDirectionalSelection to setSelection since no other port does this.
2900
2901         * src/WebFrameImpl.cpp:
2902         (WebKit::WebFrameImpl::selectRange):
2903
2904 2011-07-01  Andrew Scherkus  <scherkus@chromium.org>
2905
2906         Reviewed by Darin Fisher.
2907
2908         Re-enable WTF_USE_WEBAUDIO_FFMPEG for Chromium
2909         https://bugs.webkit.org/show_bug.cgi?id=63783
2910
2911         * features.gypi:
2912
2913 2011-07-01  Tony Chang  <tony@chromium.org>
2914
2915         Fix the chromium build.  sql is a new top level directory.
2916
2917         * DEPS:
2918
2919 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
2920
2921         Rolled DEPS.
2922
2923         * DEPS:
2924
2925 2011-06-30  Noel Gordon  <noel.gordon@gmail.com>
2926
2927         Reviewed by Hajime Morita.
2928
2929         [Chromium] Remove WebBindings::makeNode.
2930         https://bugs.webkit.org/show_bug.cgi?id=63613
2931
2932         Dead code elimination. No change in behaviour, so no new tests.
2933
2934         * public/WebBindings.h:
2935         * src/WebBindings.cpp:
2936
2937 2011-06-30  Kent Tamura  <tkent@chromium.org>
2938
2939         Reviewed by Darin Fisher.
2940
2941         [Chromium] Implement WebCore::defaultDetailsSummaryText()
2942         https://bugs.webkit.org/show_bug.cgi?id=63700
2943
2944         * public/WebLocalizedString.h: Add new key.
2945         * src/LocalizedStrings.cpp: Call query() with the new key.
2946         (WebCore::defaultDetailsSummaryText):
2947
2948 2011-06-30  Andrew Scherkus  <scherkus@chromium.org>
2949
2950         Unreviewed.
2951
2952         Temporarily disabling WTF_USE_WEBAUDIO_FFMPEG due to FFmpeg update.
2953
2954         * features.gypi:
2955
2956 2011-06-30  John Bates  <jbates@google.com>
2957
2958         Reviewed by James Robinson.
2959
2960         Chromium bug: Compositing on a lost context causes latch deadlocks.
2961         The cause of deadlock was that a setLatch command is added to the lost
2962         compositor GL context, and a waitLatch would never complete on a child context.
2963         This change checks whether the compositor context is in error state before
2964         doing the compositing.
2965         https://bugs.webkit.org/show_bug.cgi?id=63681
2966
2967         * src/WebViewImpl.cpp:
2968         (WebKit::WebViewImpl::composite):
2969
2970 2011-06-30  Cary Clark  <caryclark@google.com>
2971
2972         Reviewed by James Robinson.
2973
2974         Use Skia if Skia on Mac Chrome is enabled
2975         https://bugs.webkit.org/show_bug.cgi?id=62999
2976
2977         * WebKit.gyp:
2978         If building for Skia, exclude CG files.
2979         If not, exclude Skia files.
2980
2981         * features.gypi:
2982         Enable Skia on Chromium Mac if so instructed by the gyp define.
2983         Allow Skia to be hardware accelerated on the Mac.
2984
2985         * public/WebCommon.h:
2986         If Skia is defined on the Mac, define it in the WebXXX
2987         interfaces as well.
2988
2989 2011-06-30  Sreeram Ramachandran  <sreeram@chromium.org>
2990
2991         Reviewed by Adam Barth.
2992
2993         Suppress modal JavaScript/HTML dialogs during unload events
2994         https://bugs.webkit.org/show_bug.cgi?id=56397
2995
2996         Implementation of the new shouldRunModalDialogDuringPageDismissal() API
2997         to block alerts during unload handlers. Logs such events to the console
2998         and updates histograms.
2999
3000         * src/ChromeClientImpl.cpp:
3001         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
3002         * src/ChromeClientImpl.h:
3003
3004 2011-06-30  Anders Carlsson  <andersca@apple.com>
3005
3006         Reviewed by Dan Bernstein.
3007
3008         More ScrollableArea scaffolding
3009         https://bugs.webkit.org/show_bug.cgi?id=63678
3010
3011         Add an enclosingScrollableArea stub.
3012
3013         * src/WebScrollbarImpl.cpp:
3014         (WebKit::WebScrollbarImpl::enclosingScrollableArea):
3015         * src/WebScrollbarImpl.h:
3016
3017 2011-06-28  Hans Wennborg  <hans@chromium.org>
3018
3019         Reviewed by Tony Chang.
3020
3021         IndexedDB: Prepare for running layout tests with LevelDB
3022         https://bugs.webkit.org/show_bug.cgi?id=63593
3023
3024         WebIDBFactory should decide what DefaultBackingStore means.
3025         Also fix handling of layout test and incognito mode properly.
3026
3027         * src/WebIDBFactoryImpl.cpp:
3028         (WebKit::WebIDBFactoryImpl::open):
3029
3030 2011-06-30  Alexander Pavlov  <apavlov@chromium.org>
3031
3032         Reviewed by Kent Tamura.
3033
3034         [Chromium] Autofill suggestions appear in upper left corner after input change
3035         https://bugs.webkit.org/show_bug.cgi?id=63702
3036
3037         * src/ChromeClientImpl.cpp:
3038         (WebKit::ChromeClientImpl::screenToWindow): Implemented.
3039         * src/WebViewImpl.cpp:
3040         (WebKit::WebViewImpl::refreshAutoFillPopup): Pass screen (not window) coordinates into setWindowRect().
3041
3042 2011-06-30  Kentaro Hara  <haraken@google.com>
3043
3044         Reviewed by Kent Tamura.
3045
3046         Change the label of an HTML5 file chooser button to "Choose Files"
3047         https://bugs.webkit.org/show_bug.cgi?id=49245
3048
3049         We should notify capability of multiple files to users.
3050
3051         Test: fast/forms/input-file-label.html
3052
3053         * DEPS:
3054         * public/WebLocalizedString.h: Depends on chromium_rev>=91051.
3055         * src/LocalizedStrings.cpp:
3056         (WebCore::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
3057
3058 2011-06-29  James Hawkins  <jhawkins@chromium.org>
3059
3060         Reviewed by Pavel Feldman.
3061
3062         [Chromium] Fix a crash on when executeCommand(copy) is called on a null node.
3063         https://bugs.webkit.org/show_bug.cgi?id=63626
3064
3065         * src/WebFrameImpl.cpp:
3066         (WebKit::pluginContainerFromNode):
3067
3068 2011-06-29  Andrey Kosyakov  <caseq@chromium.org>
3069
3070         Reviewed by Pavel Feldman.
3071
3072         Web Inspector: backend needs to provide system-unique object ids, so these remain unique across navigation
3073         https://bugs.webkit.org/show_bug.cgi?id=62894
3074
3075         * public/WebDevToolsAgent.h:
3076         * src/WebDevToolsAgentImpl.cpp:
3077         (WebKit::WebDevToolsAgentImpl::setAgentProcessIdentifier):
3078         * src/WebDevToolsAgentImpl.h:
3079
3080 2011-06-28  Ilya Sherman  <isherman@chromium.org>
3081
3082         Reviewed by Adam Barth.
3083
3084         form.autocomplete="off" does not work
3085         https://bugs.webkit.org/show_bug.cgi?id=35823
3086
3087         * src/EditorClientImpl.cpp:
3088         (WebKit::EditorClientImpl::autofill): Update callsite.
3089         * src/WebFormElement.cpp:
3090         (WebKit::WebFormElement::autoComplete): Update callsite.
3091         * src/WebInputElement.cpp:
3092         (WebKit::WebInputElement::autoComplete): Update callsite.
3093         * src/WebPasswordFormUtils.cpp:
3094         (WebKit::findPasswordFormFields): Update callsite.
3095
3096 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
3097
3098         Rolled DEPS.
3099
3100         * DEPS:
3101
3102 2011-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3103
3104         Unreviewed, rolling out r89968.
3105         http://trac.webkit.org/changeset/89968
3106         https://bugs.webkit.org/show_bug.cgi?id=63581
3107
3108         Broke chromium windows compile (Requested by jamesr on
3109         #webkit).
3110
3111         * WebKit.gyp:
3112         * features.gypi:
3113         * public/WebCommon.h:
3114
3115 2011-06-28  Cary Clark  <caryclark@google.com>
3116
3117         Reviewed by James Robinson.
3118
3119         Use Skia if Skia on Mac Chrome is enabled
3120         https://bugs.webkit.org/show_bug.cgi?id=62999
3121
3122         * WebKit.gyp:
3123         If building for Skia, exclude CG files.
3124         If not, exclude Skia files.
3125
3126         * features.gypi:
3127         Enable Skia on Chromium Mac if so instructed by the gyp define.
3128         Allow Skia to be hardware accelerated on the Mac.
3129
3130         * public/WebCommon.h:
3131         If Skia is defined on the Mac, define it in the WebXXX
3132         interfaces as well.
3133
3134 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
3135
3136         Rolled DEPS.
3137
3138         * DEPS:
3139
3140 2011-06-27  James Hawkins  <jhawkins@chromium.org>
3141
3142         Reviewed by Darin Fisher.
3143
3144         [Chromium] Pass an optional WebNode that is the node receiving the context menu action.
3145         https://bugs.webkit.org/show_bug.cgi?id=63503
3146
3147         * public/WebFrame.h:
3148         * src/WebFrameImpl.cpp:
3149         (WebKit::pluginContainerFromNode):
3150         (WebKit::WebFrameImpl::executeCommand):
3151         (WebKit::WebFrameImpl::printBegin):
3152         * src/WebFrameImpl.h:
3153
3154 2011-06-27  Ryosuke Niwa  <rniwa@webkit.org>
3155
3156         Rolled DEPS.
3157
3158         * DEPS:
3159
3160 2011-06-27  Jay Civelli  <jcivelli@chromium.org>
3161
3162         Reviewed by Darin Fisher.
3163
3164         Adding binary part support to MHTML.
3165         https://bugs.webkit.org/show_bug.cgi?id=63310
3166
3167         * public/WebPageSerializer.h:
3168         * src/WebPageSerializer.cpp:
3169         (WebKit::WebPageSerializer::serializeToMHTML):
3170         (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
3171
3172 2011-05-17  Nat Duca  <nduca@chromium.org>
3173
3174         Reviewed by James Robinson.
3175
3176         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
3177         https://bugs.webkit.org/show_bug.cgi?id=58408
3178
3179         Redirect invalidates and scheduling into compositor when in
3180         threaded compositing mode. Add stress tests for CCLayerTreeHost.
3181
3182         * WebKit.gypi:
3183         * public/WebWidget.h:
3184         * src/WebPopupMenuImpl.cpp:
3185         (WebKit::WebPopupMenuImpl::animate):
3186         * src/WebPopupMenuImpl.h:
3187         * src/WebViewImpl.cpp:
3188         (WebKit::WebViewImpl::animate):
3189         (WebKit::WebViewImpl::paint):
3190         (WebKit::WebViewImpl::animateAndLayout):
3191         (WebKit::WebViewImpl::updateLayers):
3192         (WebKit::WebViewImpl::composite):
3193         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3194         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3195         (WebKit::WebViewImpl::doComposite):
3196         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3197         (WebKit::WebViewImpl::reallocateRenderer):
3198         (WebKit::WebViewImpl::updateLayerRendererSettings):
3199         (WebKit::WebViewImpl::updateLayerRendererViewport):
3200         * src/WebViewImpl.h:
3201         * tests/CCLayerTreeHostTest.cpp: Added.
3202         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3203         (WTF::CCLayerTreeHostTest::animateAndLayout):
3204         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
3205         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
3206         (WTF::CCLayerTreeHostTest::commitOnCCThread):
3207         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
3208         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
3209         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
3210         (WTF::CCLayerTreeHostTest::updateLayers):
3211         (WTF::CCLayerTreeHostTest::onBeginTest):
3212         (WTF::CCLayerTreeHostTest::doEndTest):
3213         (WTF::CCLayerTreeHostTest::onEndTest):
3214         (WTF::CCLayerTreeHostTest::runTest):
3215         (WTF::CCLayerTreeHostTest::testTimeout):
3216         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
3217         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3218         (WTF::MockLayerTreeHostClient::animateAndLayout):
3219         (WTF::MockLayerTreeHostClient::updateLayers):
3220         (WTF::MockLayerTreeHostCommitter::create):
3221         (WTF::MockLayerTreeHostCommitter::commit):
3222         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
3223         (WTF::MockLayerTreeHostImpl::create):
3224         (WTF::MockLayerTreeHostImpl::beginCommit):
3225         (WTF::MockLayerTreeHostImpl::commitComplete):
3226         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
3227         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3228         (WTF::MockLayerTreeHostImplProxy::create):
3229         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
3230         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
3231         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3232         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
3233         (WTF::MockLayerTreeHost::updateLayers):
3234         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
3235         (WTF::MockLayerTreeHost::beginCommit):
3236         (WTF::MockLayerTreeHost::commitComplete):
3237         (WTF::CCLayerTreeHostTest::doBeginTest):
3238         (WTF::CCLayerTreeHostTest::endTest):
3239         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
3240         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
3241         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
3242         (WTF::TEST_F):
3243         (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
3244         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
3245         (WTF::CCLayerTreeHostTestShortlived2::afterTest):
3246         (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
3247         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
3248         (WTF::CCLayerTreeHostTestShortlived3::afterTest):
3249         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
3250         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3251         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3252         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
3253         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
3254         (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
3255         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3256         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
3257         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
3258         (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
3259         (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
3260         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3261         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
3262         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
3263         (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
3264         (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
3265         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3266         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
3267         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
3268         (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
3269         * tests/CCThreadTest.cpp:
3270         (WebCore::TEST):
3271
3272 2011-06-27  Yuta Kitamura  <yutak@chromium.org>
3273
3274         Reviewed by Adam Barth.
3275
3276         [Chromium] Add useHixie76WebSocketProtocol to WebSettings
3277         https://bugs.webkit.org/show_bug.cgi?id=63424
3278
3279         * public/WebSettings.h:
3280         * src/WebSettingsImpl.cpp:
3281         (WebKit::WebSettingsImpl::setHixie76WebSocketProtocolEnabled):
3282         * src/WebSettingsImpl.h:
3283
3284 2011-06-26  Adam Barth  <abarth@webkit.org>
3285
3286         Reviewed by Eric Seidel.
3287
3288         [Chromium] Remove WebSecurityOrigin::grantUniversalAccess
3289         https://bugs.webkit.org/show_bug.cgi?id=63415
3290
3291         This function has no callers and is downright dangerous.
3292
3293         * public/WebSecurityOrigin.h:
3294         * src/WebSecurityOrigin.cpp:
3295
3296 2011-06-26  Adam Barth  <abarth@webkit.org>
3297
3298         Reviewed by Eric Seidel.
3299
3300         [Chromium] Remove code behind WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
3301         https://bugs.webkit.org/show_bug.cgi?id=63402
3302
3303         These old APIs are no longer needed.
3304
3305         * public/WebFrame.h:
3306         * src/WebFrameImpl.cpp:
3307         * src/WebFrameImpl.h:
3308
3309 2011-06-25  Adam Barth  <abarth@webkit.org>
3310
3311         Reviewed by Eric Seidel.
3312
3313         [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
3314         https://bugs.webkit.org/show_bug.cgi?id=63394
3315
3316         * src/FrameLoaderClientImpl.cpp:
3317         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
3318
3319 2011-06-25  Adam Barth  <abarth@webkit.org>
3320
3321         Roll Chromium DEPS.
3322
3323         * DEPS:
3324
3325 2011-06-25  Adam Barth  <abarth@webkit.org>
3326
3327         Unreviewed build fix.  Remove ifdefs around these two functions because
3328         we're not planning to move them.  This patch makes WebFrameImpl.h
3329         consistent with WebFrame.h so we can build with the new API
3330         configuration.
3331
3332         * src/WebFrameImpl.h:
3333
3334 2011-06-24  Nat Duca  <nduca@chromium.org>
3335
3336         Unreviewed, rolling out r89694.
3337         http://trac.webkit.org/changeset/89694
3338         https://bugs.webkit.org/show_bug.cgi?id=58408
3339
3340         Test shell still not ready for animate changes.
3341
3342         * WebKit.gypi:
3343         * public/WebWidget.h:
3344         (WebKit::WebWidget::animate):
3345         (WebKit::WebWidget::composite):
3346         * src/WebPopupMenuImpl.cpp:
3347         (WebKit::WebPopupMenuImpl::animate):
3348         * src/WebPopupMenuImpl.h:
3349         * src/WebViewImpl.cpp:
3350         (WebKit::WebViewImpl::resize):
3351         (WebKit::WebViewImpl::animate):
3352         (WebKit::WebViewImpl::paint):
3353         (WebKit::WebViewImpl::composite):
3354         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
3355         (WebKit::WebView::zoomLevelToZoomFactor):
3356         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3357         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3358         (WebKit::WebViewImpl::doComposite):
3359         (WebKit::WebViewImpl::reallocateRenderer):
3360         (WebKit::WebViewImpl::updateLayerRendererViewport):
3361         (WebKit::WebViewImpl::graphicsContext3D):
3362         * src/WebViewImpl.h:
3363         * tests/CCLayerTreeHostTest.cpp: Removed.
3364         * tests/CCThreadTest.cpp:
3365         (WebCore::TEST):
3366
3367 2011-05-17  Nat Duca  <nduca@chromium.org>
3368
3369         Reviewed by James Robinson.
3370
3371         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
3372         https://bugs.webkit.org/show_bug.cgi?id=58408
3373
3374         Redirect invalidates and scheduling into compositor when in
3375         threaded compositing mode. Add stress tests for CCLayerTreeHost.
3376
3377         * WebKit.gypi:
3378         * public/WebWidget.h:
3379         * src/WebPopupMenuImpl.cpp:
3380         (WebKit::WebPopupMenuImpl::animate):
3381         * src/WebPopupMenuImpl.h:
3382         * src/WebViewImpl.cpp:
3383         (WebKit::WebViewImpl::animate):
3384         (WebKit::WebViewImpl::paint):
3385         (WebKit::WebViewImpl::animateAndLayout):
3386         (WebKit::WebViewImpl::updateLayers):
3387         (WebKit::WebViewImpl::composite):
3388         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3389         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3390         (WebKit::WebViewImpl::doComposite):
3391         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
3392         (WebKit::WebViewImpl::reallocateRenderer):
3393         (WebKit::WebViewImpl::updateLayerRendererSettings):
3394         (WebKit::WebViewImpl::updateLayerRendererViewport):
3395         * src/WebViewImpl.h:
3396         * tests/CCLayerTreeHostTest.cpp: Added.
3397         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
3398         (WTF::CCLayerTreeHostTest::animateAndLayout):
3399         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
3400         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
3401         (WTF::CCLayerTreeHostTest::commitOnCCThread):
3402         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
3403         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
3404         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
3405         (WTF::CCLayerTreeHostTest::updateLayers):
3406         (WTF::CCLayerTreeHostTest::onBeginTest):
3407         (WTF::CCLayerTreeHostTest::doEndTest):
3408         (WTF::CCLayerTreeHostTest::onEndTest):
3409         (WTF::CCLayerTreeHostTest::runTest):
3410         (WTF::CCLayerTreeHostTest::testTimeout):
3411         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
3412         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
3413         (WTF::MockLayerTreeHostClient::animateAndLayout):
3414         (WTF::MockLayerTreeHostClient::updateLayers):
3415         (WTF::MockLayerTreeHostCommitter::create):
3416         (WTF::MockLayerTreeHostCommitter::commit):
3417         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
3418         (WTF::MockLayerTreeHostImpl::create):
3419         (WTF::MockLayerTreeHostImpl::beginCommit):
3420         (WTF::MockLayerTreeHostImpl::commitComplete):
3421         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
3422         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
3423         (WTF::MockLayerTreeHostImplProxy::create):
3424         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
3425         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
3426         (WTF::MockLayerTreeHost::MockLayerTreeHost):
3427         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
3428         (WTF::MockLayerTreeHost::updateLayers):
3429         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
3430         (WTF::MockLayerTreeHost::beginCommit):
3431         (WTF::MockLayerTreeHost::commitComplete):
3432         (WTF::CCLayerTreeHostTest::doBeginTest):
3433         (WTF::CCLayerTreeHostTest::endTest):
3434         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
3435         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
3436         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
3437         (WTF::TEST_F):
3438         (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
3439         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
3440         (WTF::CCLayerTreeHostTestShortlived2::afterTest):
3441         (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
3442         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
3443         (WTF::CCLayerTreeHostTestShortlived3::afterTest):
3444         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
3445         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
3446         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
3447         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
3448         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
3449         (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
3450         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
3451         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
3452         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
3453         (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
3454         (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
3455         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
3456         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
3457         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
3458         (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
3459         (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
3460         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
3461         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
3462         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
3463         (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
3464         * tests/CCThreadTest.cpp:
3465         (WebCore::TEST):
3466
3467 2011-06-24  Chris Rogers  <crogers@google.com>
3468
3469         Reviewed by Kenneth Russell.
3470
3471         Enable Web Audio for Chromium Win
3472         https://bugs.webkit.org/show_bug.cgi?id=63338
3473
3474         * features.gypi:
3475
3476 2011-06-24  Dominic Cooney  <dominicc@chromium.org>
3477
3478         Reviewed by Dimitri Glazkov.
3479
3480         Convert shadow DOM-related tests to use window.internals
3481         https://bugs.webkit.org/show_bug.cgi?id=61671
3482
3483         Remove shadow DOM-related methods from Chromium API. These are not
3484         required any more.
3485
3486         * public/WebElement.h:
3487         * src/WebElement.cpp:
3488
3489 2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>
3490
3491         Reviewed by Darin Fisher.
3492
3493         Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console
3494         https://bugs.webkit.org/show_bug.cgi?id=62396
3495
3496         * public/WebURLError.h:
3497         (WebKit::WebURLError::WebURLError):
3498         * src/WebURLError.cpp:
3499         (WebKit::WebURLError::operator=):
3500         (WebKit::WebURLError::operator ResourceError):
3501
3502 2011-06-23  Yury Semikhatsky  <yurys@chromium.org>
3503
3504         Reviewed by Pavel Feldman.
3505
3506         [Chromium] Web Inspector: provide context menu item for enabling native worker inspection
3507         https://bugs.webkit.org/show_bug.cgi?id=63258
3508
3509         * src/js/DevTools.js:
3510         ():
3511
3512 2011-06-23  John Bates  <jbates@google.com>
3513
3514         Reviewed by James Robinson.
3515
3516         Fix latch deadlock when GPU process crashes or context is lost
3517         https://bugs.webkit.org/show_bug.cgi?id=63189
3518