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