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