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