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