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