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