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