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