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