REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on...
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
2
3         REGRESSION(r94274): FormManagerTest.PreviewForm and FillFormNonEmptyField fail on chromium
4         https://bugs.webkit.org/show_bug.cgi?id=67453
5
6         Reviewed by Kent Tamura.
7
8         Chromium code incorrectly calls Node::isFocusable without updating layout, and was hitting assertions.
9         Fix the assertion failure (and a potential crash) by updating layout in WebCore::isFocusable.
10
11         * src/WebNode.cpp:
12         (WebKit::WebNode::isFocusable):
13
14 2011-09-04  Adam Barth  <abarth@webkit.org>
15
16         [Chromium] Add mutliple to WebPopupMenuInfo for Android
17         https://bugs.webkit.org/show_bug.cgi?id=67576
18
19         Reviewed by Darin Fisher.
20
21         This flag requests that the embedder allow multiple selection for the
22         popup menu.  (See also https://bugs.webkit.org/show_bug.cgi?id=67574.)
23
24         * public/WebPopupMenuInfo.h:
25         * src/ExternalPopupMenu.cpp:
26         (WebKit::ExternalPopupMenu::getPopupMenuInfo):
27
28 2011-09-04  Adam Barth  <abarth@webkit.org>
29
30         [Chromium] Add memory threshold values to WebKitPlatformSupport.h
31         https://bugs.webkit.org/show_bug.cgi?id=67575
32
33         Reviewed by Darin Fisher.
34
35         Instead of hard-coding these values, we now grab them from
36         WebKitPlatformSupport because Android wishes to configure them on a
37         per-device basis.
38
39         One could view grabing these values from PlatformSupport as a bit of a
40         layering violation (because they feel like policy), but another view is
41         that the alternative implementation is to query the OS for various
42         memory parameters.  In either case, getting these values via
43         PlatformSupport is much easier and consistent with the other memory
44         related queries in PlatformSupport already.
45
46         * public/WebKitPlatformSupport.h:
47         (WebKit::WebKitPlatformSupport::lowMemoryUsageMB):
48         (WebKit::WebKitPlatformSupport::highMemoryUsageMB):
49         (WebKit::WebKitPlatformSupport::highUsageDeltaMB):
50         * src/PlatformSupport.cpp:
51         (WebCore::PlatformSupport::lowMemoryUsageMB):
52         (WebCore::PlatformSupport::highMemoryUsageMB):
53         (WebCore::PlatformSupport::highUsageDeltaMB):
54
55 2011-09-02  Adam Barth  <abarth@webkit.org>
56
57         Remove WebKitClient.h
58         https://bugs.webkit.org/show_bug.cgi?id=67539
59
60         Reviewed by Sam Weinig.
61
62         This API no longer has any callers.
63
64         * WebKit.gyp:
65         * public/WebKit.h:
66         * public/WebKitClient.h: Removed.
67         * src/WebKit.cpp:
68
69 2011-09-02  Bill Budge  <bbudge@chromium.org>
70
71         Add a 'didDownloadData' method to ResourceHandleInternal and pass these
72         notifications to WebURLLoaderClients.
73         https://bugs.webkit.org/show_bug.cgi?id=67229
74
75         Reviewed by Darin Fisher.
76
77         * src/AssociatedURLLoader.cpp:
78         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
79         (WebKit::AssociatedURLLoader::ClientAdapter::didDownloadData):
80         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
81         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
82         * src/ResourceHandle.cpp:
83         (WebCore::ResourceHandleInternal::didDownloadData):
84         * src/ResourceHandleInternal.h:
85
86 2011-09-02  Peng Huang  <penghuang@chromium.org>
87
88         Need API for getting surrounding text from webkit in chromium
89         https://bugs.webkit.org/show_bug.cgi?id=66681
90
91         Reviewed by Ryosuke Niwa.
92
93         Add getSelectionOffsetsAndTextInEditableContent() to Chromium's
94         WebViewImpl. This function is for supporting some input methods which
95         need input context around the edit caret.
96
97         * public/WebWidget.h:
98         (WebKit::WebWidget::getSelectionOffsetsAndTextInEditableContent):
99         * src/WebViewImpl.cpp:
100         (WebKit::WebViewImpl::getSelectionOffsetsAndTextInEditableContent):
101         * src/WebViewImpl.h:
102
103 2011-09-02  Sheriff Bot  <webkit.review.bot@gmail.com>
104
105         Unreviewed.  Rolled DEPS.
106
107         * DEPS:
108
109 2011-09-02  Adrienne Walker  <enne@google.com>
110
111         [chromium] Remove LayerRendererChromium references from the LayerChromium tree
112         https://bugs.webkit.org/show_bug.cgi?id=66430
113
114         Reviewed by James Robinson.
115
116         Change references to LayerRendererChromium to CCLayerTreeHost.
117
118         * src/WebMediaPlayerClientImpl.cpp:
119         (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
120
121 2011-09-01  Robert Kroeger  <rjkroege@chromium.org>
122
123  
124         [chromium] Code cleanup FIXME in Chromium recognizer
125         https://bugs.webkit.org/show_bug.cgi?id=67448
126
127         Updated GestureRecognizer unit tests for more encapsulated
128         gesture recognizer implementation.
129
130         Reviewed by Adam Barth.
131
132         * tests/InnerGestureRecognizerTest.cpp:
133         (InspectableGestureRecognizerChromium::InspectableGestureRecognizerChromium):
134         (InspectableGestureRecognizerChromium::signature):
135         (InspectableGestureRecognizerChromium::edgeFunction):
136         (InspectableGestureRecognizerChromium::updateValues):
137         (InspectableGestureRecognizerChromium::addEdgeFunction):
138         (InspectableGestureRecognizerChromium::setStateTest):
139         (InspectableGestureRecognizerChromium::isInsideManhattanSquare):
140         (InspectableGestureRecognizerChromium::isInClickTimeWindow):
141         (InspectableGestureRecognizerChromium::stubEdgeFunction):
142         (GestureRecognizerTest::GestureRecognizerTest):
143         (TEST_F):
144
145 2011-09-01  Brian Salomon  <bsalomon@google.com>
146
147         [Chromium, Skia] Add virtual to WebGraphicsContext3D to create a new GrGLInterface per context. Insert per-skia-GL-function callback to set correct GL context.
148         https://bugs.webkit.org/show_bug.cgi?id=67395
149
150         Reviewed by Kenneth Russell.
151
152         * WebKit.gyp:
153         * public/WebGraphicsContext3D.h:
154         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
155         * src/GraphicsContext3DChromium.cpp:
156         (WebCore::GraphicsContext3DPrivate::grContext):
157         * src/WebGraphicsContext3D.cpp: Added.
158         (WebKit::WebGraphicsContext3D::createGrGLInterface):
159
160 2011-08-29  Nat Duca  <nduca@chromium.org>
161
162         [chromium] Introduce CCSingleThreadProxy in order to move LayerRenderer to CCLayerTreeHostImpl
163         https://bugs.webkit.org/show_bug.cgi?id=66807
164
165         Reviewed by James Robinson.
166
167         * src/WebViewImpl.cpp:
168         (WebKit::WebViewImpl::composite):
169         (WebKit::WebViewImpl::setRootGraphicsLayer):
170         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
171         (WebKit::WebViewImpl::didRecreateGraphicsContext):
172         * tests/CCThreadTaskTest.cpp:
173         (WebCore::TEST):
174
175 2011-09-01  Dominic Mazzoni  <dmazzoni@google.com>
176
177         Add API functions to enable starting and stopping speech input,
178         and checking the current speech input state.
179         https://bugs.webkit.org/show_bug.cgi?id=60170
180
181         Reviewed by Dimitri Glazkov.
182
183         * public/WebInputElement.h:
184         * src/AssertMatchingEnums.cpp:
185         * src/WebInputElement.cpp:
186         (WebKit::WebInputElement::isSpeechInputEnabled):
187         (WebKit::WebInputElement::getSpeechInputState):
188         (WebKit::WebInputElement::startSpeechInput):
189         (WebKit::WebInputElement::stopSpeechInput):
190
191 2011-08-31  Greg Billock  <gbillock@google.com>
192
193         Add pass-throughs for NPObject/v8::Value marshalling to WebBindings
194         https://bugs.webkit.org/show_bug.cgi?id=67302
195
196         Reviewed by Darin Fisher.
197
198         * public/WebBindings.h:
199         * src/WebBindings.cpp:
200         (WebKit::WebBindings::toNPVariant):
201         (WebKit::WebBindings::toV8Value):
202         * src/WebSerializedScriptValue.cpp:
203         (WebKit::WebSerializedScriptValue::serialize):
204
205 2011-08-31  Adam Barth  <abarth@webkit.org>
206
207         [Chromium] Rename PlatformBridge to PlatformSupport
208         https://bugs.webkit.org/show_bug.cgi?id=67349
209
210         Reviewed by Darin Fisher.
211
212         This matches the WebKitPlatformSupport embedder API.
213
214         * WebKit.gyp:
215         * src/AssertMatchingEnums.cpp:
216         * src/ChromeClientImpl.cpp:
217         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
218         * src/PlatformBridge.cpp: Removed.
219         * src/ResourceHandle.cpp:
220         (WebCore::ResourceHandle::cacheMetadata):
221         * src/WebFrameImpl.cpp:
222         (WebKit::WebFrameImpl::WebFrameImpl):
223         (WebKit::WebFrameImpl::~WebFrameImpl):
224         * src/WebViewImpl.cpp:
225         (WebKit::WebViewImpl::paint):
226         (WebKit::WebViewImplContentPainter::paint):
227         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
228
229 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
230
231         Chromium Mac: PDF: Scrollsbars should be visible when scrolling using the two finger gesture on Lion
232         https://bugs.webkit.org/show_bug.cgi?id=66599
233
234         Reviewed by Darin Fisher.
235
236         Overlay scrollbars over a pdf wouldn't stay visible if a gesture was in progress. Normally we use a beginScrollGesture and endScrollGesture to keep the scrollbars visible. Unfortunately PDFs didn't handle gesture events so we didn't get the begin/end gesture events.
237
238         This change pipes gesture events to WebPluginContainerImpl if possible. This fixes this bug.
239
240         * src/WebPluginContainerImpl.cpp:
241         (WebKit::WebPluginContainerImpl::handleGestureEvent):
242         * src/WebPluginContainerImpl.h:
243         * src/WebViewImpl.cpp:
244         (WebKit::WebViewImpl::gestureEvent):
245
246 2011-08-31  Sailesh Agrawal  <sail@chromium.org>
247
248         Chromium Mac: Add fallback for drawing PDF overhang area
249         https://bugs.webkit.org/show_bug.cgi?id=66614
250
251         Reviewed by Darin Fisher.
252
253         This change adds a fallback for overhang drawing for PDF content. This fallback is needed until the PDF plugin uses the linen pattern to draw its own overhang.
254
255         * src/ChromeClientImpl.cpp:
256         (WebKit::ChromeClientImpl::paintCustomOverhangArea):
257         * src/ChromeClientImpl.h:
258         * src/WebPluginContainerImpl.cpp:
259         (WebKit::WebPluginContainerImpl::paintCustomOverhangArea):
260         * src/WebPluginContainerImpl.h:
261
262 2011-08-31  James Weatherall  <wez@chromium.org>
263
264         [chromium] Have the FrameLoaderClient release any plugin widget
265         reference is holding when the FrameLoader detaches it, to ensure that
266         the plugin won't out-live the containing page.
267         https://bugs.webkit.org/show_bug.cgi?id=66517
268
269         Reviewed by Darin Fisher.
270
271         * src/FrameLoaderClientImpl.cpp:
272         (WebKit::FrameLoaderClientImpl::detachedFromParent3):
273
274 2011-08-31  Adam Barth  <abarth@webkit.org>
275
276         [Chromium] Rename WebKitClient to WebKitPlatformSupport
277         https://bugs.webkit.org/show_bug.cgi?id=67309
278
279         Reviewed by Darin Fisher.
280
281         WebKitClient doesn't actually represent the WebKit Client.  Instead, it
282         represents supporting code for the WebKit Platform.  This patch renames
283         WebKitClient to WebKitPlatformSupport to make it easier for folks to
284         understand the difference between the Client and the Platform.
285
286         This patch includes shims so as not to break the Chromium build.  Once
287         the Chromium side is updated, I'll remove the shims.
288
289         * WebKit.gyp:
290         * public/WebFrameClient.h:
291         * public/WebKit.h:
292         (WebKit::webKitClient):
293         * public/WebKitClient.h: Removed.
294         * public/WebKitPlatformSupport.h: Copied from Source/WebKit/chromium/public/WebKitClient.h.
295         (WebKit::WebKitPlatformSupport::~WebKitPlatformSupport):
296         * src/ApplicationCacheHostInternal.h:
297         * src/AssociatedURLLoader.cpp:
298         * src/AsyncFileSystemChromium.cpp:
299         (WebCore::AsyncFileSystemChromium::AsyncFileSystemChromium):
300         * src/AudioDestinationChromium.cpp:
301         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
302         (WebCore::AudioDestination::hardwareSampleRate):
303         * src/BlobRegistryProxy.cpp:
304         (WebCore::BlobRegistryProxy::BlobRegistryProxy):
305         * src/CCThreadImpl.cpp:
306         (WebKit::CCThreadImpl::CCThreadImpl):
307         * src/ChromiumCurrentTime.cpp:
308         (WTF::currentTime):
309         (WTF::monotonicallyIncreasingTime):
310         * src/ChromiumOSRandomSource.cpp:
311         (WTF::cryptographicallyRandomValuesFromOS):
312         * src/ChromiumThreading.cpp:
313         (WTF::ChromiumThreading::callOnMainThread):
314         * src/FrameLoaderClientImpl.cpp:
315         (WebKit::FrameLoaderClientImpl::canShowMIMEType):
316         (WebKit::FrameLoaderClientImpl::userAgent):
317         * src/GraphicsContext3DChromium.cpp:
318         (WebCore::GraphicsContext3D::create):
319         * src/IDBFactoryBackendProxy.cpp:
320         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
321         * src/LocalizedStrings.cpp:
322         (WebCore::query):
323         * src/PlatformBridge.cpp:
324         (WebCore::getCookieJar):
325         (WebCore::PlatformBridge::cacheMetadata):
326         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
327         (WebCore::PlatformBridge::clipboardReadPlainText):
328         (WebCore::PlatformBridge::clipboardReadHTML):
329         (WebCore::PlatformBridge::clipboardReadImage):
330         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
331         (WebCore::PlatformBridge::clipboardWriteSelection):
332         (WebCore::PlatformBridge::clipboardWritePlainText):
333         (WebCore::PlatformBridge::clipboardWriteURL):
334         (WebCore::PlatformBridge::clipboardWriteImage):
335         (WebCore::PlatformBridge::clipboardWriteData):
336         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
337         (WebCore::PlatformBridge::clipboardReadData):
338         (WebCore::PlatformBridge::clipboardReadFilenames):
339         (WebCore::PlatformBridge::prefetchDNS):
340         (WebCore::PlatformBridge::fileExists):
341         (WebCore::PlatformBridge::deleteFile):
342         (WebCore::PlatformBridge::deleteEmptyDirectory):
343         (WebCore::PlatformBridge::getFileSize):
344         (WebCore::PlatformBridge::revealFolderInOS):
345         (WebCore::PlatformBridge::getFileModificationTime):
346         (WebCore::PlatformBridge::directoryName):
347         (WebCore::PlatformBridge::pathByAppendingComponent):
348         (WebCore::PlatformBridge::makeAllDirectories):
349         (WebCore::PlatformBridge::getAbsolutePath):
350         (WebCore::PlatformBridge::isDirectory):
351         (WebCore::PlatformBridge::filePathToURL):
352         (WebCore::PlatformBridge::openFile):
353         (WebCore::PlatformBridge::closeFile):
354         (WebCore::PlatformBridge::seekFile):
355         (WebCore::PlatformBridge::truncateFile):
356         (WebCore::PlatformBridge::readFromFile):
357         (WebCore::PlatformBridge::writeToFile):
358         (WebCore::PlatformBridge::ensureFontLoaded):
359         (WebCore::PlatformBridge::loadFont):
360         (WebCore::PlatformBridge::getFontFamilyForCharacters):
361         (WebCore::PlatformBridge::getRenderStyleForStrike):
362         (WebCore::PlatformBridge::databaseOpenFile):
363         (WebCore::PlatformBridge::databaseDeleteFile):
364         (WebCore::PlatformBridge::databaseGetFileAttributes):
365         (WebCore::PlatformBridge::databaseGetFileSize):
366         (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
367         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
368         (WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
369         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
370         (WebCore::PlatformBridge::computedDefaultLanguage):
371         (WebCore::PlatformBridge::isSupportedImageMIMEType):
372         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
373         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
374         (WebCore::PlatformBridge::mimeTypeForExtension):
375         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
376         (WebCore::PlatformBridge::mimeTypeFromFile):
377         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
378         (WebCore::PlatformBridge::plugins):
379         (WebCore::PlatformBridge::loadPlatformImageResource):
380         (WebCore::PlatformBridge::loadPlatformAudioResource):
381         (WebCore::PlatformBridge::decodeAudioFileData):
382         (WebCore::PlatformBridge::sandboxEnabled):
383         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
384         (WebCore::PlatformBridge::setSharedTimerFireInterval):
385         (WebCore::PlatformBridge::stopSharedTimer):
386         (WebCore::PlatformBridge::decrementStatsCounter):
387         (WebCore::PlatformBridge::incrementStatsCounter):
388         (WebCore::PlatformBridge::histogramCustomCounts):
389         (WebCore::PlatformBridge::histogramEnumeration):
390         (WebCore::PlatformBridge::suddenTerminationChanged):
391         (WebCore::PlatformBridge::paintButton):
392         (WebCore::PlatformBridge::paintMenuList):
393         (WebCore::PlatformBridge::paintScrollbarArrow):
394         (WebCore::PlatformBridge::paintScrollbarThumb):
395         (WebCore::PlatformBridge::paintScrollbarTrack):
396         (WebCore::PlatformBridge::paintSpinButton):
397         (WebCore::PlatformBridge::paintTextField):
398         (WebCore::PlatformBridge::paintTrackbar):
399         (WebCore::PlatformBridge::paintProgressBar):
400         (WebCore::PlatformBridge::getThemePartSize):
401         (WebCore::PlatformBridge::paintThemePart):
402         (WebCore::PlatformBridge::traceEventBegin):
403         (WebCore::PlatformBridge::traceEventEnd):
404         (WebCore::PlatformBridge::visitedLinkHash):
405         (WebCore::PlatformBridge::isLinkVisited):
406         (WebCore::PlatformBridge::memoryUsageMB):
407         (WebCore::PlatformBridge::actualMemoryUsageMB):
408         * src/PlatformMessagePortChannel.cpp:
409         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
410         * src/ResourceHandle.cpp:
411         (WebCore::ResourceHandleInternal::start):
412         (WebCore::ResourceHandle::loadResourceSynchronously):
413         * src/SharedWorkerRepository.cpp:
414         (WebCore::SharedWorkerRepository::isAvailable):
415         (WebCore::SharedWorkerRepository::connect):
416         (WebCore::SharedWorkerRepository::documentDetached):
417         (WebCore::SharedWorkerRepository::hasSharedWorkers):
418         * src/SocketStreamHandle.cpp:
419         (WebCore::SocketStreamHandleInternal::connect):
420         * src/StorageEventDispatcherChromium.cpp:
421         (WebCore::StorageEventDispatcher::dispatch):
422         * src/StorageNamespaceProxy.cpp:
423         (WebCore::StorageNamespace::localStorageNamespace):
424         * src/WebKit.cpp:
425         (WebKit::generateEntropy):
426         (WebKit::initialize):
427         (WebKit::shutdown):
428         (WebKit::webKitPlatformSupport):
429         * src/WebMediaPlayerClientImpl.cpp:
430         (WebKit::WebMediaPlayerClientImpl::supportsType):
431         * src/WebPluginContainerImpl.cpp:
432         (WebKit::WebPluginContainerImpl::copy):
433         * src/WebViewImpl.cpp:
434         * src/WebWorkerClientImpl.cpp:
435         * src/WorkerAsyncFileSystemChromium.cpp:
436         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
437         * src/WorkerFileWriterCallbacksBridge.cpp:
438         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
439         * tests/RunAllTests.cpp:
440
441 2011-08-31  Sheriff Bot  <webkit.review.bot@gmail.com>
442
443         Unreviewed.  Rolled DEPS.
444
445         * DEPS:
446
447 2011-08-31  Nat Duca  <nduca@chromium.org>
448
449         [Chromium] Unreviewed, fix inconsistent WebKit.gypi after r94106
450         https://bugs.webkit.org/show_bug.cgi?id=67288
451
452         * WebKit.gypi:
453
454 2011-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
455
456         Unreviewed, rolling out r94142, r94144, r94145, and r94148.
457         http://trac.webkit.org/changeset/94142
458         http://trac.webkit.org/changeset/94144
459         http://trac.webkit.org/changeset/94145
460         http://trac.webkit.org/changeset/94148
461         https://bugs.webkit.org/show_bug.cgi?id=67262
462
463         Broke isindex element (Requested by rniwa on #webkit).
464
465         * src/EditorClientImpl.cpp:
466         (WebKit::EditorClientImpl::textFieldDidEndEditing):
467         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
468         * src/WebInputElement.cpp:
469         (WebKit::toWebInputElement):
470         * src/WebPasswordFormUtils.cpp:
471         (WebKit::findPasswordFormFields):
472
473 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
474
475         Chromium build fix after r94142.
476
477         * src/EditorClientImpl.cpp:
478         (WebKit::EditorClientImpl::textFieldDidEndEditing):
479         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
480         * src/WebPasswordFormUtils.cpp:
481         (WebKit::findPasswordFormFields):
482
483 2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
484
485         Get rid of toInputElement()
486         https://bugs.webkit.org/show_bug.cgi?id=67175
487
488         Reviewed by Darin Adler.
489
490         * src/WebInputElement.cpp:
491         (WebKit::toWebInputElement):
492
493 2011-08-30  Nat Duca  <nduca@chromium.org>
494
495         Unreviewed, fix WebGL layout tests due to missing WebView pointer.
496
497         * src/GraphicsContext3DChromium.cpp:
498         (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
499
500 2011-08-30  Aaron Colwell  <acolwell@chromium.org>
501
502         Add MediaSource API to HTMLMediaElement
503         https://bugs.webkit.org/show_bug.cgi?id=64731
504
505         Reviewed by Eric Carlson.
506
507         * public/WebMediaPlayer.h:
508         (WebKit::WebMediaPlayer::sourceAppend):
509         (WebKit::WebMediaPlayer::sourceEndOfStream):
510         * public/WebMediaPlayerClient.h:
511         * src/WebMediaPlayerClientImpl.cpp:
512         (WebKit::WebMediaPlayerClientImpl::sourceOpened):
513         (WebKit::WebMediaPlayerClientImpl::sourceURL):
514         (WebKit::WebMediaPlayerClientImpl::sourceAppend):
515         (WebKit::WebMediaPlayerClientImpl::sourceEndOfStream):
516         * src/WebMediaPlayerClientImpl.h:
517
518 2011-08-30  Nat Duca  <nduca@chromium.org>
519
520         [chromium] Allow GraphicsContexts to be created from MockWebGraphicsContexts
521         https://bugs.webkit.org/show_bug.cgi?id=67179
522
523         Reviewed by Kenneth Russell.
524
525         * WebKit.gypi:
526         * src/GraphicsContext3DChromium.cpp:
527         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
528         (WebCore::GraphicsContext3DInternal::create):
529         (WebCore::GraphicsContext3DInternal::createFromWebContext):
530         (WebCore::GraphicsContext3D::create):
531         * src/GraphicsContext3DInternal.h:
532         * tests/MockGraphicsContext3DTest.cpp: Renamed from Source/WebKit/chromium/tests/MockWebGraphicsContext3DTest.cpp.
533         (FrameCountingContext::FrameCountingContext):
534         (FrameCountingContext::prepareTexture):
535         (FrameCountingContext::frameCount):
536         (TEST):
537
538 2011-08-30  Adam Barth  <abarth@webkit.org>
539
540         [Chromium] Add null checks for document()->loader()
541         https://bugs.webkit.org/show_bug.cgi?id=67077
542
543         Reviewed by Nate Chapin.
544
545         Document::loader can return 0 for a number of reasons.  Call sites need
546         to null check the result, like we do for Document::frame.  I suspect
547         some of these are real crashes, along the lines of
548         http://trac.webkit.org/changeset/93692, but null checking this function
549         is just good practice.
550
551         * src/ContextMenuClientImpl.cpp:
552         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
553         * src/WebSearchableFormData.cpp:
554         (HTMLNames::GetFormEncoding):
555         * src/WebViewImpl.cpp:
556         (WebKit::WebViewImpl::pageEncoding):
557
558 2011-08-29  Darin Fisher  <darin@chromium.org>
559
560         [chromium] DumpRenderTree should be explicit about its dependency on
561         GoogleURL
562         https://bugs.webkit.org/show_bug.cgi?id=67169
563
564         Reviewed by Ryosuke Niwa.
565
566         DumpRenderTree uses GoogleURL code directly, and it should be explicit
567         about that instead of picking up this dependency transitively, which
568         only works for the static build.
569
570         This is needed to support the "component" build of DumpRenderTree, in
571         which the various Chromium dependencies are built as separate DLLs.
572
573         * WebKit.gyp:
574
575 2011-08-30  Tony Chang  <tony@chromium.org>
576
577         Fix chromium compile when using clang.  Another compile error due
578         to r94080.
579
580         * src/ChromeClientImpl.h:
581         (WebKit::ChromeClientImpl::scrollRectIntoView):
582
583 2011-08-30  Tony Chang  <tony@chromium.org>
584
585         Roll chromium DEPS to r98771.
586
587         * DEPS:
588
589 2011-08-29  Chris Marrin  <cmarrin@apple.com>
590
591         Rename GraphicsContext3DInternal to GraphicsContext3DPrivate and add a dummy version of this class for Mac
592         https://bugs.webkit.org/show_bug.cgi?id=67172
593
594         Reviewed by Kenneth Russell.
595
596         * WebKit.gyp:
597         * src/Extensions3DChromium.cpp:
598         (WebCore::Extensions3DChromium::Extensions3DChromium):
599         (WebCore::Extensions3DChromium::supports):
600         (WebCore::Extensions3DChromium::ensureEnabled):
601         (WebCore::Extensions3DChromium::isEnabled):
602         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
603         (WebCore::Extensions3DChromium::blitFramebuffer):
604         (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
605         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
606         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
607         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
608         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
609         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
610         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
611         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
612         * src/GraphicsContext3DChromium.cpp:
613         (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
614         (WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
615         (WebCore::GraphicsContext3DPrivate::initialize):
616         (WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
617         (WebCore::GraphicsContext3DPrivate::platformGraphicsContext3D):
618         (WebCore::GraphicsContext3DPrivate::platformTexture):
619         (WebCore::GraphicsContext3DPrivate::grContext):
620         (WebCore::GraphicsContext3DPrivate::prepareTexture):
621         (WebCore::GraphicsContext3DPrivate::platformLayer):
622         (WebCore::GraphicsContext3DPrivate::markContextChanged):
623         (WebCore::GraphicsContext3DPrivate::markLayerComposited):
624         (WebCore::GraphicsContext3DPrivate::layerComposited):
625         (WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
626         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToCanvas):
627         (WebCore::GraphicsContext3DPrivate::paintCompositedResultsToCanvas):
628         (WebCore::GraphicsContext3DPrivate::paintRenderingResultsToImageData):
629         (WebCore::GraphicsContext3DPrivate::paintsIntoCanvasBuffer):
630         (WebCore::GraphicsContext3DPrivate::reshape):
631         (WebCore::GraphicsContext3DPrivate::getInternalFramebufferSize):
632         (WebCore::GraphicsContext3DPrivate::isContextLost):
633         (WebCore::GraphicsContext3DPrivate::isGLES2Compliant):
634         (WebCore::GraphicsContext3DPrivate::bindAttribLocation):
635         (WebCore::GraphicsContext3DPrivate::bufferData):
636         (WebCore::GraphicsContext3DPrivate::bufferSubData):
637         (WebCore::GraphicsContext3DPrivate::getActiveAttrib):
638         (WebCore::GraphicsContext3DPrivate::getActiveUniform):
639         (WebCore::GraphicsContext3DPrivate::getAttribLocation):
640         (WebCore::GraphicsContext3DPrivate::getContextAttributes):
641         (WebCore::GraphicsContext3DPrivate::getProgramInfoLog):
642         (WebCore::GraphicsContext3DPrivate::getShaderInfoLog):
643         (WebCore::GraphicsContext3DPrivate::getShaderSource):
644         (WebCore::GraphicsContext3DPrivate::getString):
645         (WebCore::GraphicsContext3DPrivate::getUniformLocation):
646         (WebCore::GraphicsContext3DPrivate::shaderSource):
647         (WebCore::GraphicsContext3DPrivate::texImage2D):
648         (WebCore::GraphicsContext3DPrivate::texSubImage2D):
649         (WebCore::GraphicsContext3DPrivate::uniform1fv):
650         (WebCore::GraphicsContext3DPrivate::uniform1iv):
651         (WebCore::GraphicsContext3DPrivate::uniform2fv):
652         (WebCore::GraphicsContext3DPrivate::uniform2iv):
653         (WebCore::GraphicsContext3DPrivate::uniform3fv):
654         (WebCore::GraphicsContext3DPrivate::uniform3iv):
655         (WebCore::GraphicsContext3DPrivate::uniform4fv):
656         (WebCore::GraphicsContext3DPrivate::uniform4iv):
657         (WebCore::GraphicsContext3DPrivate::uniformMatrix2fv):
658         (WebCore::GraphicsContext3DPrivate::uniformMatrix3fv):
659         (WebCore::GraphicsContext3DPrivate::uniformMatrix4fv):
660         (WebCore::GraphicsContext3DPrivate::getExtensions):
661         (WebCore::GraphicsContext3DPrivate::isResourceSafe):
662         (WebCore::GraphicsContext3DPrivate::initializeExtensions):
663         (WebCore::GraphicsContext3DPrivate::supportsExtension):
664         (WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
665         (WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
666         (WebCore::GraphicsContext3D::~GraphicsContext3D):
667         (WebCore::GraphicsContext3D::create):
668         (WebCore::GraphicsContext3D::platformGraphicsContext3D):
669         (WebCore::GraphicsContext3D::platformTexture):
670         (WebCore::GraphicsContext3D::grContext):
671         (WebCore::GraphicsContext3D::prepareTexture):
672         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
673         (WebCore::GraphicsContext3D::isResourceSafe):
674         (WebCore::GraphicsContext3D::platformLayer):
675         (WebCore::GraphicsContext3D::layerComposited):
676         (WebCore::GraphicsContext3D::paintsIntoCanvasBuffer):
677         (WebCore::GraphicsContext3DPrivate::setContextLostCallback):
678         (WebCore::GraphicsContext3D::isGLES2Compliant):
679         (WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
680         * src/GraphicsContext3DInternal.h: Removed.
681         * src/GraphicsContext3DPrivate.h: Copied from Source/WebKit/chromium/src/GraphicsContext3DInternal.h.
682         * src/WebViewImpl.cpp:
683         (WebKit::WebViewImpl::graphicsContext3D):
684
685 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
686
687         The unused ScrollView* argument can and should be removed from
688         scrollRectIntoView.
689         https://bugs.webkit.org/show_bug.cgi?id=67117
690
691         Reviewed by Darin Adler.
692
693         * src/WebPopupMenuImpl.cpp:
694         (WebKit::WebPopupMenuImpl::scrollRectIntoView):
695         * src/WebPopupMenuImpl.h:
696
697 2011-08-29  Greg Billock  <gbillock@google.com>
698
699         [Chromium] Add ability to do static SerializedScriptValue deserialization
700         https://bugs.webkit.org/show_bug.cgi?id=66877
701
702         Reviewed by Darin Fisher.
703
704         * public/WebSerializedScriptValue.h:
705         * src/WebSerializedScriptValue.cpp:
706         (WebKit::WebSerializedScriptValue::deserialize):
707         (WebKit::WebSerializedScriptValue::serialize):
708
709 2011-08-27  Peter Beverloo  <peter@chromium.org>
710
711         Teach the update and build scripts how to handle dependencies
712         and cross-compiling rules for the Chromium port on OS(ANDROID).
713         https://bugs.webkit.org/show_bug.cgi?id=66687
714
715         Reviewed by Adam Barth.
716
717         * gyp_webkit:
718
719 2011-08-26  Iain Merrick  <husky@google.com>
720
721         [chromium] Add MockWebGraphicsContext3D, for compositor unit testing
722         https://bugs.webkit.org/show_bug.cgi?id=67006
723
724         MockWebGraphicsContext3D is a no-op implementation of the pure virtual
725         interface WebGraphicsContext3D. I've included a test with a couple of
726         example usages: subclassing it manually, and using it with GMock.
727
728         Reviewed by Kenneth Russell.
729
730         * WebKit.gypi:
731         * tests/MockWebGraphicsContext3D.h: Added.
732         (WebKit::MockWebGraphicsContext3D::initialize):
733         (WebKit::MockWebGraphicsContext3D::makeContextCurrent):
734         (WebKit::MockWebGraphicsContext3D::width):
735         (WebKit::MockWebGraphicsContext3D::height):
736         (WebKit::MockWebGraphicsContext3D::reshape):
737         (WebKit::MockWebGraphicsContext3D::isGLES2Compliant):
738         (WebKit::MockWebGraphicsContext3D::readBackFramebuffer):
739         (WebKit::MockWebGraphicsContext3D::getPlatformTextureId):
740         (WebKit::MockWebGraphicsContext3D::prepareTexture):
741         (WebKit::MockWebGraphicsContext3D::synthesizeGLError):
742         (WebKit::MockWebGraphicsContext3D::isContextLost):
743         (WebKit::MockWebGraphicsContext3D::mapBufferSubDataCHROMIUM):
744         (WebKit::MockWebGraphicsContext3D::unmapBufferSubDataCHROMIUM):
745         (WebKit::MockWebGraphicsContext3D::mapTexSubImage2DCHROMIUM):
746         (WebKit::MockWebGraphicsContext3D::unmapTexSubImage2DCHROMIUM):
747         (WebKit::MockWebGraphicsContext3D::getRequestableExtensionsCHROMIUM):
748         (WebKit::MockWebGraphicsContext3D::requestExtensionCHROMIUM):
749         (WebKit::MockWebGraphicsContext3D::blitFramebufferCHROMIUM):
750         (WebKit::MockWebGraphicsContext3D::renderbufferStorageMultisampleCHROMIUM):
751         (WebKit::MockWebGraphicsContext3D::activeTexture):
752         (WebKit::MockWebGraphicsContext3D::attachShader):
753         (WebKit::MockWebGraphicsContext3D::bindAttribLocation):
754         (WebKit::MockWebGraphicsContext3D::bindBuffer):
755         (WebKit::MockWebGraphicsContext3D::bindFramebuffer):
756         (WebKit::MockWebGraphicsContext3D::bindRenderbuffer):
757         (WebKit::MockWebGraphicsContext3D::bindTexture):
758         (WebKit::MockWebGraphicsContext3D::blendColor):
759         (WebKit::MockWebGraphicsContext3D::blendEquation):
760         (WebKit::MockWebGraphicsContext3D::blendEquationSeparate):
761         (WebKit::MockWebGraphicsContext3D::blendFunc):
762         (WebKit::MockWebGraphicsContext3D::blendFuncSeparate):
763         (WebKit::MockWebGraphicsContext3D::bufferData):
764         (WebKit::MockWebGraphicsContext3D::bufferSubData):
765         (WebKit::MockWebGraphicsContext3D::checkFramebufferStatus):
766         (WebKit::MockWebGraphicsContext3D::clear):
767         (WebKit::MockWebGraphicsContext3D::clearColor):
768         (WebKit::MockWebGraphicsContext3D::clearDepth):
769         (WebKit::MockWebGraphicsContext3D::clearStencil):
770         (WebKit::MockWebGraphicsContext3D::colorMask):
771         (WebKit::MockWebGraphicsContext3D::compileShader):
772         (WebKit::MockWebGraphicsContext3D::copyTexImage2D):
773         (WebKit::MockWebGraphicsContext3D::copyTexSubImage2D):
774         (WebKit::MockWebGraphicsContext3D::cullFace):
775         (WebKit::MockWebGraphicsContext3D::depthFunc):
776         (WebKit::MockWebGraphicsContext3D::depthMask):
777         (WebKit::MockWebGraphicsContext3D::depthRange):
778         (WebKit::MockWebGraphicsContext3D::detachShader):
779         (WebKit::MockWebGraphicsContext3D::disable):
780         (WebKit::MockWebGraphicsContext3D::disableVertexAttribArray):
781         (WebKit::MockWebGraphicsContext3D::drawArrays):
782         (WebKit::MockWebGraphicsContext3D::drawElements):
783         (WebKit::MockWebGraphicsContext3D::enable):
784         (WebKit::MockWebGraphicsContext3D::enableVertexAttribArray):
785         (WebKit::MockWebGraphicsContext3D::finish):
786         (WebKit::MockWebGraphicsContext3D::flush):
787         (WebKit::MockWebGraphicsContext3D::framebufferRenderbuffer):
788         (WebKit::MockWebGraphicsContext3D::framebufferTexture2D):
789         (WebKit::MockWebGraphicsContext3D::frontFace):
790         (WebKit::MockWebGraphicsContext3D::generateMipmap):
791         (WebKit::MockWebGraphicsContext3D::getActiveAttrib):
792         (WebKit::MockWebGraphicsContext3D::getActiveUniform):
793         (WebKit::MockWebGraphicsContext3D::getAttachedShaders):
794         (WebKit::MockWebGraphicsContext3D::getAttribLocation):
795         (WebKit::MockWebGraphicsContext3D::getBooleanv):
796         (WebKit::MockWebGraphicsContext3D::getBufferParameteriv):
797         (WebKit::MockWebGraphicsContext3D::getContextAttributes):
798         (WebKit::MockWebGraphicsContext3D::getError):
799         (WebKit::MockWebGraphicsContext3D::getFloatv):
800         (WebKit::MockWebGraphicsContext3D::getFramebufferAttachmentParameteriv):
801         (WebKit::MockWebGraphicsContext3D::getIntegerv):
802         (WebKit::MockWebGraphicsContext3D::getProgramiv):
803         (WebKit::MockWebGraphicsContext3D::getProgramInfoLog):
804         (WebKit::MockWebGraphicsContext3D::getRenderbufferParameteriv):
805         (WebKit::MockWebGraphicsContext3D::getShaderiv):
806         (WebKit::MockWebGraphicsContext3D::getShaderInfoLog):
807         (WebKit::MockWebGraphicsContext3D::getShaderSource):
808         (WebKit::MockWebGraphicsContext3D::getString):
809         (WebKit::MockWebGraphicsContext3D::getTexParameterfv):
810         (WebKit::MockWebGraphicsContext3D::getTexParameteriv):
811         (WebKit::MockWebGraphicsContext3D::getUniformfv):
812         (WebKit::MockWebGraphicsContext3D::getUniformiv):
813         (WebKit::MockWebGraphicsContext3D::getUniformLocation):
814         (WebKit::MockWebGraphicsContext3D::getVertexAttribfv):
815         (WebKit::MockWebGraphicsContext3D::getVertexAttribiv):
816         (WebKit::MockWebGraphicsContext3D::getVertexAttribOffset):
817         (WebKit::MockWebGraphicsContext3D::hint):
818         (WebKit::MockWebGraphicsContext3D::isBuffer):
819         (WebKit::MockWebGraphicsContext3D::isEnabled):
820         (WebKit::MockWebGraphicsContext3D::isFramebuffer):
821         (WebKit::MockWebGraphicsContext3D::isProgram):
822         (WebKit::MockWebGraphicsContext3D::isRenderbuffer):
823         (WebKit::MockWebGraphicsContext3D::isShader):
824         (WebKit::MockWebGraphicsContext3D::isTexture):
825         (WebKit::MockWebGraphicsContext3D::lineWidth):
826         (WebKit::MockWebGraphicsContext3D::linkProgram):
827         (WebKit::MockWebGraphicsContext3D::pixelStorei):
828         (WebKit::MockWebGraphicsContext3D::polygonOffset):
829         (WebKit::MockWebGraphicsContext3D::readPixels):
830         (WebKit::MockWebGraphicsContext3D::releaseShaderCompiler):
831         (WebKit::MockWebGraphicsContext3D::renderbufferStorage):
832         (WebKit::MockWebGraphicsContext3D::sampleCoverage):
833         (WebKit::MockWebGraphicsContext3D::scissor):
834         (WebKit::MockWebGraphicsContext3D::shaderSource):
835         (WebKit::MockWebGraphicsContext3D::stencilFunc):
836         (WebKit::MockWebGraphicsContext3D::stencilFuncSeparate):
837         (WebKit::MockWebGraphicsContext3D::stencilMask):
838         (WebKit::MockWebGraphicsContext3D::stencilMaskSeparate):
839         (WebKit::MockWebGraphicsContext3D::stencilOp):
840         (WebKit::MockWebGraphicsContext3D::stencilOpSeparate):
841         (WebKit::MockWebGraphicsContext3D::texImage2D):
842         (WebKit::MockWebGraphicsContext3D::texParameterf):
843         (WebKit::MockWebGraphicsContext3D::texParameteri):
844         (WebKit::MockWebGraphicsContext3D::texSubImage2D):
845         (WebKit::MockWebGraphicsContext3D::uniform1f):
846         (WebKit::MockWebGraphicsContext3D::uniform1fv):
847         (WebKit::MockWebGraphicsContext3D::uniform1i):
848         (WebKit::MockWebGraphicsContext3D::uniform1iv):
849         (WebKit::MockWebGraphicsContext3D::uniform2f):
850         (WebKit::MockWebGraphicsContext3D::uniform2fv):
851         (WebKit::MockWebGraphicsContext3D::uniform2i):
852         (WebKit::MockWebGraphicsContext3D::uniform2iv):
853         (WebKit::MockWebGraphicsContext3D::uniform3f):
854         (WebKit::MockWebGraphicsContext3D::uniform3fv):
855         (WebKit::MockWebGraphicsContext3D::uniform3i):
856         (WebKit::MockWebGraphicsContext3D::uniform3iv):
857         (WebKit::MockWebGraphicsContext3D::uniform4f):
858         (WebKit::MockWebGraphicsContext3D::uniform4fv):
859         (WebKit::MockWebGraphicsContext3D::uniform4i):
860         (WebKit::MockWebGraphicsContext3D::uniform4iv):
861         (WebKit::MockWebGraphicsContext3D::uniformMatrix2fv):
862         (WebKit::MockWebGraphicsContext3D::uniformMatrix3fv):
863         (WebKit::MockWebGraphicsContext3D::uniformMatrix4fv):
864         (WebKit::MockWebGraphicsContext3D::useProgram):
865         (WebKit::MockWebGraphicsContext3D::validateProgram):
866         (WebKit::MockWebGraphicsContext3D::vertexAttrib1f):
867         (WebKit::MockWebGraphicsContext3D::vertexAttrib1fv):
868         (WebKit::MockWebGraphicsContext3D::vertexAttrib2f):
869         (WebKit::MockWebGraphicsContext3D::vertexAttrib2fv):
870         (WebKit::MockWebGraphicsContext3D::vertexAttrib3f):
871         (WebKit::MockWebGraphicsContext3D::vertexAttrib3fv):
872         (WebKit::MockWebGraphicsContext3D::vertexAttrib4f):
873         (WebKit::MockWebGraphicsContext3D::vertexAttrib4fv):
874         (WebKit::MockWebGraphicsContext3D::vertexAttribPointer):
875         (WebKit::MockWebGraphicsContext3D::viewport):
876         (WebKit::MockWebGraphicsContext3D::createBuffer):
877         (WebKit::MockWebGraphicsContext3D::createFramebuffer):
878         (WebKit::MockWebGraphicsContext3D::createProgram):
879         (WebKit::MockWebGraphicsContext3D::createRenderbuffer):
880         (WebKit::MockWebGraphicsContext3D::createShader):
881         (WebKit::MockWebGraphicsContext3D::createTexture):
882         (WebKit::MockWebGraphicsContext3D::deleteBuffer):
883         (WebKit::MockWebGraphicsContext3D::deleteFramebuffer):
884         (WebKit::MockWebGraphicsContext3D::deleteProgram):
885         (WebKit::MockWebGraphicsContext3D::deleteRenderbuffer):
886         (WebKit::MockWebGraphicsContext3D::deleteShader):
887         (WebKit::MockWebGraphicsContext3D::deleteTexture):
888         * tests/MockWebGraphicsContext3DTest.cpp: Added.
889         (TEST):
890         (FrameCountingContext::FrameCountingContext):
891         (FrameCountingContext::prepareTexture):
892         (FrameCountingContext::frameCount):
893
894 2011-08-26  Nate Chapin  <japhet@chromium.org>
895
896         Use enums instead of bools for ThreadableLoaderOptions
897         variables.
898         https://bugs.webkit.org/show_bug.cgi?id=66984
899
900         Reviewed by David Levin.
901
902         * src/AssociatedURLLoader.cpp:
903         (WebKit::AssociatedURLLoader::loadAsynchronously):
904
905 2011-08-25  Jeremy Apthorp  <jeremya@google.com>
906
907         Enable fullscreen API in Chromium by default.
908         https://bugs.webkit.org/show_bug.cgi?id=66993
909
910         Reviewed by Adam Barth.
911
912         * features.gypi:
913
914 2011-08-25  Scott Graham  <scottmg@chromium.org>
915
916         Enable incremental linking for component build on Chromium
917         https://bugs.webkit.org/show_bug.cgi?id=66950
918
919         Reviewed by Darin Fisher.
920
921         Turns on Use Library Dependency Inputs for webkit.vcproj on Windows
922         build, when incremental_chrome_dll gyp flag is set. This is to get
923         faster incremental links on Windows builds.
924
925         * WebKit.gyp:
926
927 2011-08-25  Pavel Podivilov  <podivilov@chromium.org>
928
929         Unreviewed, fix chromium devtools tests.
930
931         * src/js/Tests.js:
932         (.TestSuite.prototype.evaluateInConsole_):
933
934 2011-08-25  John Bates  <jbates@google.com>
935
936         [chromium] Leaking SkBitmaps for background images
937         https://bugs.webkit.org/show_bug.cgi?id=66488
938
939         Reviewed by Stephen White.
940
941         This patch simply changes NativeImageSkia to have a SkBitmap instead of
942         deriving from SkBitmap. All dependent code updated to access the member
943         instead of calling SkBitmap methods on NativeImageSkia objects. This
944         may or may not fix the memory leak, but it's definitely a bug that could
945         cause memory leaks.
946
947         * src/PlatformBridge.cpp:
948         (WebCore::PlatformBridge::clipboardWriteImage):
949         * src/WebImageDecoder.cpp:
950         (WebKit::WebImageDecoder::getFrameAtIndex):
951         * src/WebImageSkia.cpp:
952         (WebKit::WebImage::fromData):
953         (WebKit::WebImage::operator=):
954
955 2011-08-25  Brian Salomon  <bsalomon@google.com>
956
957         [SKIA] Move forward decl of skia type outside namespace Webkit
958         https://bugs.webkit.org/show_bug.cgi?id=66942
959
960         Reviewed by Stephen White.
961
962         * public/WebGraphicsContext3D.h:
963
964 2011-08-25  Mikhail Naganov  <mnaganov@chromium.org>
965
966         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
967         https://bugs.webkit.org/show_bug.cgi?id=66132
968
969         Reviewed by Tony Gentilcore.
970
971         * public/WebCache.h:
972         * public/WebFontCache.h:
973         * src/WebCache.cpp:
974         (WebKit::WebCache::clear):
975         (WebKit::WebCache::prune):
976         * src/WebFontCache.cpp:
977         (WebKit::WebFontCache::prune):
978
979 2011-08-24  Kentaro Hara  <haraken@google.com>
980
981         Implement a keypath parser strictly following the specification
982         https://bugs.webkit.org/show_bug.cgi?id=62288
983
984         Reviewed by Tony Chang.
985
986         Implemented a keypath parser that accepts either an empty string, a JavaScript
987         identifier, or multiple JavaScript identifiers separated by periods.
988         We fixed createObjectStore() and createIndex() so that they parse and check
989         their |keypath| argument and return an appropriate exception if the |keypath|
990         is not valid. We also added unit tests for the new keypath parser in
991         tests/IDBKeyPathTest.cpp. We replaced IDBKeyPathElement with String here and there.
992
993         Tests: IDBKeyPathTest.*
994                IDBKeyFromValueAndKeyPathTest.*
995                InjectIDBKeyTest.*
996
997         * public/WebIDBKeyPath.h:
998         * src/WebIDBKeyPath.cpp:
999         (WebKit::WebIDBKeyPath::create): Replaced IDBKeyPathElement with String
1000         (WebKit::WebIDBKeyPath::WebIDBKeyPath): Replaced IDBKeyPathElement with String
1001         (WebKit::WebIDBKeyPath::assign): Replaced IDBKeyPathElement with String
1002         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WTF::String, 0>&): Replaced IDBKeyPathElement with String
1003         * tests/IDBBindingUtilitiesTest.cpp:
1004         (WebCore::checkKeyFromValueAndKeyPathInternal): Replaced IDBKeyPathElement with String
1005         (WebCore::injectKey): Replaced IDBKeyPathElement with String
1006         (WebCore::TEST): Rewrote tests for the new keypath parser
1007         * tests/IDBKeyPathTest.cpp:
1008         (WebCore::checkKeyPath): Checks if a keypath is an expected keypath or not
1009         (WebCore::TEST): Unit tests for the new keypath parser
1010
1011 2011-08-24  Eric Uhrhane  <ericu@chromium.org>
1012
1013         Reviewed by Adam Barth.
1014
1015         [filesystem/Chromium] Filesystem paths need proper URL escaping
1016         https://bugs.webkit.org/show_bug.cgi?id=62811
1017
1018         Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
1019         KURLChromium.cpp's escaping code actually work.
1020
1021         Here I added the needed calls to encodeWithURLEscapeSequences.
1022         * src/AsyncFileSystemChromium.cpp:
1023         (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
1024         * src/WorkerAsyncFileSystemChromium.cpp:
1025         (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
1026
1027         Here I updated the test to reflect the new functionality in
1028         encodeWithURLEscapeSequences.
1029         * tests/KURLTest.cpp:
1030
1031 2011-08-24  Ilya Sherman  <isherman@chromium.org>
1032
1033         Remove some dead Autofill code
1034         https://bugs.webkit.org/show_bug.cgi?id=66899
1035         http://code.google.com/p/chromium/issues/detail?id=51644
1036
1037         Reviewed by James Robinson.
1038
1039         * WebKit.gyp:
1040         * public/WebAutofillClient.h:
1041         * public/WebFrame.h:
1042         * public/WebPasswordAutocompleteListener.h: Removed.
1043         * src/EditorClientImpl.cpp:
1044         (WebKit::EditorClientImpl::EditorClientImpl):
1045         (WebKit::EditorClientImpl::handleKeyboardEvent):
1046         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
1047         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1048         (WebKit::EditorClientImpl::textDidChangeInTextField):
1049         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
1050         * src/EditorClientImpl.h:
1051         * src/FrameLoaderClientImpl.cpp:
1052         (WebKit::FrameLoaderClientImpl::dispatchDidFinishDocumentLoad):
1053         * src/WebFrameImpl.cpp:
1054         (WebKit::frameContentAsPlainText):
1055         (WebKit::WebFrameImpl::scopeStringMatches):
1056         (WebKit::WebFrameImpl::~WebFrameImpl):
1057         * src/WebFrameImpl.h:
1058         * src/WebViewImpl.cpp:
1059         (WebKit::WebViewImpl::mouseDown):
1060
1061 2011-08-24  Tom Sepez  <tsepez@chromium.org>
1062
1063         chromium WebFrameImpl - don't load javascript URLs against chrome internal pages.
1064         https://bugs.webkit.org/show_bug.cgi?id=66720
1065
1066         Reviewed by Adam Barth.
1067
1068         * public/WebSecurityPolicy.h:
1069         * src/WebFrameImpl.cpp:
1070         (WebKit::WebFrameImpl::loadJavaScriptURL):
1071         * src/WebSecurityPolicy.cpp:
1072         (WebKit::WebSecurityPolicy::registerURLSchemeAsNotAllowingJavascriptURLs):
1073         * tests/WebFrameTest.cpp:
1074         (WebKit::WebFrameTest::WebFrameTest):
1075         (WebKit::WebFrameTest::registerMockedHttpURLLoad):
1076         (WebKit::WebFrameTest::registerMockedChromeURLLoad):
1077         (WebKit::WebFrameTest::serveRequests):
1078         (WebKit::WebFrameTest::loadHttpFrame):
1079         (WebKit::WebFrameTest::loadChromeFrame):
1080         (WebKit::WebFrameTest::registerMockedURLLoad):
1081         (WebKit::WebFrameTest::loadFrame):
1082         (WebKit::TEST_F):
1083         * tests/data/history.html: Added.
1084
1085 2011-08-24  Jeremy Apthorp  <jeremya@google.com>
1086
1087         Expose fullscreen API on WebElement/WebDocument
1088         https://bugs.webkit.org/show_bug.cgi?id=66746
1089
1090         Reviewed by Darin Fisher.
1091
1092         * public/WebPluginContainer.h:
1093         * src/WebPluginContainerImpl.cpp:
1094         (WebKit::WebPluginContainerImpl::setFullscreen):
1095         * src/WebPluginContainerImpl.h:
1096
1097 2011-08-24  Brian Salomon  <bsalomon@google.com>
1098
1099         [SKIA] Allow WebKitGraphicsContext3D implementation to provide a compatible GrGLInterface
1100         https://bugs.webkit.org/show_bug.cgi?id=66809
1101
1102         Reviewed by Stephen White.
1103
1104         * public/WebGraphicsContext3D.h:
1105         (WebKit::WebGraphicsContext3D::grGLInterface):
1106         * src/GraphicsContext3DChromium.cpp:
1107         (WebCore::GraphicsContext3DInternal::grContext):
1108
1109 2011-08-23  Adam Barth  <abarth@webkit.org>
1110
1111         WebSearchableFormData crashes when given a detached HTMLFormElement
1112         https://bugs.webkit.org/show_bug.cgi?id=66831
1113
1114         Reviewed by Dimitri Glazkov.
1115
1116         We need to null-check the Frame.
1117
1118         * src/WebSearchableFormData.cpp:
1119         (HTMLNames::GetFormEncoding):
1120         * tests/WebFrameTest.cpp:
1121         (WebKit::TEST_F):
1122         * tests/data/form.html: Added.
1123
1124 2011-08-23  Iain Merrick  <husky@google.com>
1125
1126         [chromium] Make WebGL context current before querying for extensions
1127         https://bugs.webkit.org/show_bug.cgi?id=66788
1128
1129         We're making changes on the Chromium side for threaded compositing that
1130         will require makeContextCurrent to be called on the appropriate thread
1131         before any other GL calls.
1132
1133         In line with other GraphicsContext3D implementations, we do this
1134         implicitly. This is the minimum change that makes WebGL compliant.
1135
1136         Reviewed by Kenneth Russell.
1137
1138         * src/GraphicsContext3DChromium.cpp:
1139         (WebCore::GraphicsContext3DInternal::initializeExtensions):
1140
1141 2011-08-23  Scott Byer  <scottbyer@chromium.org>
1142
1143         ScrollAnimatorNone coasting implementation
1144         https://bugs.webkit.org/show_bug.cgi?id=66258
1145
1146         Reviewed by James Robinson.
1147
1148         * tests/ScrollAnimatorNoneTest.cpp:
1149         (MockScrollableArea::visibleHeight):
1150         (MockScrollableArea::visibleWidth):
1151         (ScrollAnimatorNoneTest::SavePerAxisData::SavePerAxisData):
1152         (ScrollAnimatorNoneTest::SavePerAxisData::operator==):
1153         (ScrollAnimatorNoneTest::SetUp):
1154         (ScrollAnimatorNoneTest::updateDataFromParameters):
1155         (ScrollAnimatorNoneTest::animateScroll):
1156         (ScrollAnimatorNoneTest::attackArea):
1157         (ScrollAnimatorNoneTest::releaseArea):
1158         (ScrollAnimatorNoneTest::coastCurve):
1159         (ScrollAnimatorNoneTest::curveTestInner):
1160         (TEST_F):
1161
1162 2011-08-23  James Robinson  <jamesr@chromium.org>
1163
1164         [chromium] Need a way to test lost compositor context recovery
1165         https://bugs.webkit.org/show_bug.cgi?id=66820
1166
1167         Reviewed by Kenneth Russell.
1168
1169         Adds a testing-only API to simulate a lost compositor context.
1170
1171         * public/WebView.h:
1172         * src/WebViewImpl.cpp:
1173         (WebKit::WebViewImpl::loseCompositorContext):
1174         * src/WebViewImpl.h:
1175
1176 2011-08-23  Nat Duca  <nduca@chromium.org>
1177
1178         [chromium] Implement CCThread in terms of WebThread
1179         https://bugs.webkit.org/show_bug.cgi?id=66610
1180
1181         Reviewed by Darin Fisher.
1182
1183         * WebKit.gyp:
1184         * public/WebThread.h:
1185         (WebKit::WebThread::~WebThread):
1186         * src/CCThreadImpl.cpp: Added.
1187         (WebKit::GetThreadIDTask::GetThreadIDTask):
1188         (WebKit::GetThreadIDTask::~GetThreadIDTask):
1189         (WebKit::GetThreadIDTask::run):
1190         (WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
1191         (WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
1192         (WebKit::CCThreadTaskAdapter::run):
1193         (WebKit::CCThreadImpl::create):
1194         (WebKit::CCThreadImpl::~CCThreadImpl):
1195         (WebKit::CCThreadImpl::postTask):
1196         (WebKit::CCThreadImpl::threadID):
1197         (WebKit::CCThreadImpl::CCThreadImpl):
1198         * src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
1199         * src/WebViewImpl.cpp:
1200         (WebKit::WebViewImpl::createCompositorThread):
1201         * src/WebViewImpl.h:
1202         * tests/CCThreadTest.cpp:
1203
1204 2011-08-23  Iain Merrick  <husky@google.com>
1205
1206         [chromium] Renderer crashes when about:gpucrash is loaded
1207         https://bugs.webkit.org/show_bug.cgi?id=66814
1208
1209         WebViewImpl::didRecreateGraphicsContext() was calling
1210         setRootLayer() on the CC layer tree, but the root layer
1211         doesn't actually change and the code wasn't defensive
1212         against this. This CL adds some asserts to catch tree
1213         corruption and removes the unnecessary calls.
1214
1215         Reviewed by James Robinson.
1216
1217         * src/WebViewImpl.cpp:
1218         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1219
1220 2011-08-23  Dmitry Lomov  <Dmitry Lomov (dslomov@google.com)>
1221
1222         https://bugs.webkit.org/show_bug.cgi?id=66751 
1223         [Chromium]WebWorkerClientImpl should always invoke
1224         InspectorIntrumentation on main thread.
1225         The fix moves calls to InspectorInstrumentation from
1226         WebWorkerClientImpl to unedrlying WorkerMessagingProxy.
1227
1228         Reviewed by Pavel Feldman.
1229
1230         * src/WebWorkerClientImpl.cpp:
1231         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1232         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
1233
1234 2011-08-23  Adam Klein  <adamk@chromium.org>
1235
1236         [chromium] Remove a few FIXME #defines in API headers
1237         https://bugs.webkit.org/show_bug.cgi?id=66791
1238
1239         Reviewed by James Robinson.
1240
1241         * DEPS:
1242         Roll chromium_rev to r97891.
1243         * public/WebFileSystem.h:
1244         #define made obsolete in http://crrev.com/97520.
1245         * public/WebKitClient.h:
1246         #define made obsolete in http://crrev.com/97524 and
1247         http://crrev.com/97891.
1248
1249
1250 2011-08-23  Al Patrick  <apatrick@chromium.org>
1251
1252         Add shareResources flag to 3D graphics context attributes
1253         https://bugs.webkit.org/show_bug.cgi?id=66516
1254
1255         Reviewed by James Robinson.
1256
1257         * public/WebGraphicsContext3D.h:
1258         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
1259         * src/GraphicsContext3DChromium.cpp:
1260         (WebCore::GraphicsContext3DInternal::initialize):
1261         * src/WebViewImpl.cpp:
1262         (std::getCompositorContextAttributes):
1263
1264 2011-08-23  Fady Samuel  <fsamuel@chromium.org>
1265
1266         New MainFrame views should inherit fixed layout settings from existing MainFrame view in Chromium.
1267         https://bugs.webkit.org/show_bug.cgi?id=66780
1268
1269         Fixed layout mode is set from WebViewImpl, but new main FrameViews are created on loading new pages. The new page's FrameView should get its
1270         fixed layout settings from the current page.
1271
1272         Reviewed by Darin Fisher.
1273
1274         * src/WebFrameImpl.cpp:
1275         (WebKit::WebFrameImpl::createFrameView):
1276
1277 2011-08-23  Matt Falkenhagen  <falken@chromium.org>
1278
1279         [chromium] Update WebSettings to support per-script font settings
1280         https://bugs.webkit.org/show_bug.cgi?id=66220
1281
1282         Reviewed by Tony Chang.
1283
1284         * WebKit.gyp:
1285         * public/WebSettings.h:
1286         * src/WebSettingsImpl.cpp:
1287         (WebKit::WebSettingsImpl::setStandardFontFamily):
1288         (WebKit::WebSettingsImpl::setFixedFontFamily):
1289         (WebKit::WebSettingsImpl::setSerifFontFamily):
1290         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
1291         (WebKit::WebSettingsImpl::setCursiveFontFamily):
1292         (WebKit::WebSettingsImpl::setFantasyFontFamily):
1293         * src/WebSettingsImpl.h:
1294
1295 2011-08-23  Nat Duca  <nduca@chromium.org>
1296
1297         Unreviewd, roll chromium reverse DEPS 97698:97834
1298         https://bugs.webkit.org/show_bug.cgi?id=66781
1299
1300         * DEPS:
1301
1302 2011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1303
1304         Unreviewed, rolling out r93575.
1305         http://trac.webkit.org/changeset/93575
1306         https://bugs.webkit.org/show_bug.cgi?id=66744
1307
1308         Does not compile on chromium canaries (Requested by jamesr on
1309         #webkit).
1310
1311         * public/WebSettings.h:
1312         * src/WebSettingsImpl.cpp:
1313         (WebKit::WebSettingsImpl::setStandardFontFamily):
1314         (WebKit::WebSettingsImpl::setFixedFontFamily):
1315         (WebKit::WebSettingsImpl::setSerifFontFamily):
1316         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
1317         (WebKit::WebSettingsImpl::setCursiveFontFamily):
1318         (WebKit::WebSettingsImpl::setFantasyFontFamily):
1319         * src/WebSettingsImpl.h:
1320
1321 2011-08-22  Matt Falkenhagen  <falken@chromium.org>
1322
1323         [chromium] Update WebSettings to support per-script font settings
1324         https://bugs.webkit.org/show_bug.cgi?id=66220
1325
1326         Reviewed by Tony Chang.
1327
1328         * public/WebSettings.h:
1329         * src/WebSettingsImpl.cpp:
1330         (WebKit::WebSettingsImpl::setStandardFontFamily):
1331         (WebKit::WebSettingsImpl::setFixedFontFamily):
1332         (WebKit::WebSettingsImpl::setSerifFontFamily):
1333         (WebKit::WebSettingsImpl::setSansSerifFontFamily):
1334         (WebKit::WebSettingsImpl::setCursiveFontFamily):
1335         (WebKit::WebSettingsImpl::setFantasyFontFamily):
1336         * src/WebSettingsImpl.h:
1337
1338 2011-08-22  Iain Merrick  <husky@google.com>
1339
1340         [chromium] WebViewImpl should not reshape the 3D context
1341         https://bugs.webkit.org/show_bug.cgi?id=66704
1342
1343         Reviewed by James Robinson.
1344
1345         * src/WebViewImpl.cpp:
1346         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1347         (WebKit::WebViewImpl::graphicsContext3D):
1348
1349 2011-08-22  Nat Duca  <nduca@chromium.org>
1350
1351         Make GraphicsContext3D::isResourceSafe a function and, on Chromium, determine its value lazily
1352         https://bugs.webkit.org/show_bug.cgi?id=66708
1353
1354         Reviewed by Kenneth Russell.
1355
1356         * src/GraphicsContext3DChromium.cpp:
1357         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1358         (WebCore::GraphicsContext3DInternal::isResourceSafe):
1359         (WebCore::GraphicsContext3D::create):
1360         (WebCore::GraphicsContext3D::isResourceSafe):
1361         * src/GraphicsContext3DInternal.h:
1362
1363 2011-08-22  Adam Klein  <adamk@chromium.org>
1364
1365         [chromium] Remove deprecated and unused bits of WebIDB* headers
1366         https://bugs.webkit.org/show_bug.cgi?id=66711
1367
1368         Reviewed by Tony Chang.
1369
1370         The Chromium side of this patch was submitted as
1371         http://crrev.com/97687.
1372
1373         * public/WebIDBCallbacks.h:
1374         * public/WebIDBCursor.h:
1375         (WebKit::WebIDBCursor::primaryKey):
1376         (WebKit::WebIDBCursor::value):
1377         (WebKit::WebIDBCursor::deleteFunction):
1378         * public/WebIDBDatabase.h:
1379         (WebKit::WebIDBDatabase::transaction):
1380
1381 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
1382
1383         Remove third_party/leveldb, because it's no longer used and doesn't exist downstream.
1384
1385         * DEPS: Done it.
1386
1387 2011-08-22  Dimitri Glazkov  <dglazkov@chromium.org>
1388
1389         Roll Chromium DEPS to 97698.
1390
1391         * DEPS: Rolled.
1392
1393 2011-08-22  Justin Novosad  <junov@chromium.org>
1394
1395         [Chromium] Crash when allocation of very large canvas fails
1396         https://bugs.webkit.org/show_bug.cgi?id=66563
1397
1398         Reviewed by Stephen White.
1399
1400         * DEPS:
1401         Bumping up the chrome DEPS to pick up 97474, which is
1402         required by this patch.
1403
1404 2011-08-20  Nebojsa Ciric  <cira@chromium.org>
1405
1406         Add dependency on v8-i18n library. We used v8 repository before.
1407         Chromium DEPS change was already submited (http://codereview.chromium.org/7583050).
1408         https://bugs.webkit.org/show_bug.cgi?id=66573
1409
1410         Reviewed by Kent Tamura.
1411
1412         * DEPS:
1413
1414 2011-08-19  Adam Klein  <adamk@chromium.org>
1415
1416         [chromium] Remove various unreferenced bits from Chromium API headers
1417         https://bugs.webkit.org/show_bug.cgi?id=66575
1418
1419         Reviewed by Tony Chang.
1420
1421         * public/WebApplicationCacheHost.h:
1422         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
1423         * public/WebFrame.h:
1424         * public/WebFrameClient.h:
1425         (WebKit::WebFrameClient::didReceiveTitle):
1426         * public/WebVideoFrame.h:
1427
1428 2011-08-19  Fady Samuel  <fsamuel@chromium.org>
1429
1430         Expose Fixed Layout Size mode to Chromium's WebKit API
1431         https://bugs.webkit.org/show_bug.cgi?id=66568
1432
1433         Reviewed by Darin Fisher.
1434
1435         * public/WebView.h:
1436         * src/WebViewImpl.cpp:
1437         (WebKit::WebViewImpl::isFixedLayoutModeEnabled):
1438         (WebKit::WebViewImpl::enableFixedLayoutMode):
1439         (WebKit::WebViewImpl::fixedLayoutSize):
1440         (WebKit::WebViewImpl::setFixedLayoutSize):
1441         * src/WebViewImpl.h:
1442
1443 2011-08-17  Adrienne Walker  <enne@google.com>
1444
1445         [chromium] Split tiler into main thread / compositor thread versions
1446         https://bugs.webkit.org/show_bug.cgi?id=66065
1447
1448         Reviewed by James Robinson.
1449
1450         Add a test for assignment and copy constructor for TilingData.
1451
1452         * tests/TilingDataTest.cpp:
1453         (WebCore::TEST):
1454
1455 2011-08-19  Andrey Kosyakov  <caseq@chromium.org>
1456
1457         Web Inspector: [Extensions API][chromium] webInspector.resources deprecation warning is given even for extensions that don't use webInspector.resources
1458         https://bugs.webkit.org/show_bug.cgi?id=66553
1459
1460         Reviewed by Pavel Feldman.
1461
1462         * src/js/DevTools.js:
1463         (WebInspector.platformExtensionAPI):
1464
1465 2011-08-18  James Kozianski  <koz@chromium.org>
1466
1467         Chromium plumbing for webkitRequestFullScreen
1468         https://bugs.webkit.org/show_bug.cgi?id=66031
1469
1470         Reviewed by Darin Fisher.
1471
1472         * public/WebView.h:
1473         * public/WebViewClient.h:
1474         (WebKit::WebViewClient::enterFullscreenForElement):
1475         (WebKit::WebViewClient::exitFullscreenForElement):
1476         * src/ChromeClientImpl.cpp:
1477         (WebKit::ChromeClientImpl::enterFullScreenForElement):
1478         (WebKit::ChromeClientImpl::exitFullScreenForElement):
1479         * src/WebViewImpl.cpp:
1480         (WebKit::WebViewImpl::exitFullscreen):
1481         * src/WebViewImpl.h:
1482
1483 2011-08-18  Chris Rogers  <crogers@google.com>
1484
1485         Implement WebMediaPlayerClientImpl::audioSourceProvider() and interface into chromium
1486         https://bugs.webkit.org/show_bug.cgi?id=66441
1487
1488         Reviewed by Darin Fisher.
1489
1490         * public/WebAudioSourceProvider.h: Added.
1491         (WebKit::WebAudioSourceProvider::~WebAudioSourceProvider):
1492         * public/WebMediaPlayer.h:
1493         (WebKit::WebMediaPlayer::audioSourceProvider):
1494         * src/WebMediaPlayerClientImpl.cpp:
1495         (WebKit::WebMediaPlayerClientImpl::audioSourceProvider):
1496         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::provideInput):
1497         * src/WebMediaPlayerClientImpl.h:
1498         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::AudioSourceProviderImpl):
1499         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::~AudioSourceProviderImpl):
1500         (WebKit::WebMediaPlayerClientImpl::AudioSourceProviderImpl::initialize):
1501
1502 2011-08-18  Sailesh Agrawal  <sail@chromium.org>
1503
1504         Chromium Mac: Show scrollbar when doing search
1505         https://bugs.webkit.org/show_bug.cgi?id=66209
1506
1507         Reviewed by James Robinson.
1508
1509         Fixed a bug in invalidateArea where it wouldn't properly invalidate overlay scrollbars. The problem was that it was assuming that the scrollbar was always to the right of the visible scrollbar. This isn't true for overlay scrollbars.
1510
1511         No tests because there are no Mac 10.7 chromium bots yet.
1512
1513         * src/WebFrameImpl.cpp:
1514         (WebKit::WebFrameImpl::invalidateArea):
1515
1516 2011-08-18  James Robinson  <jamesr@chromium.org>
1517
1518         [chromium] Draw the root/"non-composited content" in compositor side
1519         https://bugs.webkit.org/show_bug.cgi?id=58834
1520
1521         Reviewed by Kenneth Russell.
1522
1523         * src/WebViewImpl.cpp:
1524         (WebKit::WebViewImpl::paint):
1525         (WebKit::WebViewImpl::setRootGraphicsLayer):
1526         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1527         (WebKit::WebViewImpl::updateLayerTreeViewport):
1528         * src/WebViewImpl.h:
1529
1530 2011-08-18  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1531
1532         GestureRecognizer: Update how gesture-scroll works.
1533
1534         Add a unit-test to make sure the correct gesture events are being
1535         generated.
1536         https://bugs.webkit.org/show_bug.cgi?id=66267
1537
1538         Reviewed by Adam Barth.
1539
1540         * tests/InnerGestureRecognizerTest.cpp:
1541         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
1542         (WebCore::BuildablePlatformTouchEvent::BuildablePlatformTouchEvent):
1543         (WebCore::TEST_F):
1544
1545 2011-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>
1546
1547         Unreviewed, rolling out r93329.
1548         http://trac.webkit.org/changeset/93329
1549         https://bugs.webkit.org/show_bug.cgi?id=66497
1550
1551         Turned text on chromium win blue (Requested by jamesr_ on
1552         #webkit).
1553
1554         * src/WebViewImpl.cpp:
1555         (WebKit::WebViewImpl::paint):
1556         (WebKit::WebViewImpl::setRootGraphicsLayer):
1557         (WebKit::WebViewImpl::setRootPlatformLayer):
1558         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1559         (WebKit::WebViewImpl::updateLayerTreeViewport):
1560         * src/WebViewImpl.h:
1561
1562 2011-08-18  Dominic Mazzoni  <dmazzoni@google.com>
1563
1564         Add a bunch of accessors to WebAccessibilityObject to expose more of
1565         AccessibilityObject to Chromium, including range control values,
1566         document load state, live region attributes, and a few other
1567         ARIA attributes.
1568
1569         https://bugs.webkit.org/show_bug.cgi?id=66411
1570
1571         Reviewed by Dimitri Glazkov.
1572
1573         * public/WebAccessibilityObject.h:
1574         * src/WebAccessibilityObject.cpp:
1575         (WebKit::WebAccessibilityObject::isAriaReadOnly):
1576         (WebKit::WebAccessibilityObject::isButtonStateMixed):
1577         (WebKit::WebAccessibilityObject::isControl):
1578         (WebKit::WebAccessibilityObject::isFocused):
1579         (WebKit::WebAccessibilityObject::isLoaded):
1580         (WebKit::WebAccessibilityObject::isRequired):
1581         (WebKit::WebAccessibilityObject::isVertical):
1582         (WebKit::WebAccessibilityObject::accessKey):
1583         (WebKit::WebAccessibilityObject::ariaHasPopup):
1584         (WebKit::WebAccessibilityObject::ariaLiveRegionAtomic):
1585         (WebKit::WebAccessibilityObject::ariaLiveRegionBusy):
1586         (WebKit::WebAccessibilityObject::ariaLiveRegionRelevant):
1587         (WebKit::WebAccessibilityObject::ariaLiveRegionStatus):
1588         (WebKit::WebAccessibilityObject::estimatedLoadingProgress):
1589         (WebKit::WebAccessibilityObject::hierarchicalLevel):
1590         (WebKit::WebAccessibilityObject::valueDescription):
1591         (WebKit::WebAccessibilityObject::valueForRange):
1592         (WebKit::WebAccessibilityObject::maxValueForRange):
1593         (WebKit::WebAccessibilityObject::minValueForRange):
1594
1595 2011-08-15  Dmitry Lomov  <dslomov@google.com>
1596
1597         https://bugs.webkit.org/show_bug.cgi?id=61016
1598         [WebWorkers][Chromium] Use v8 Isolates for in-process implementation of WebWorkers.
1599         This adds an implementation of in-process dedicated workers to chromium port.
1600         The crux of the matter is the reimplementation of WebWorkerClientImpl. WebWorkerClientImpl now 
1601         implements all three of Worker{Loader,Context,Object}Proxies and delegates the implementation to 
1602         WebKit's standard WorkerMessagingProxy.
1603         For now, we have 3 implementations of workers in chromium WebKit:
1604           - In-process dedicated workers (this checkin)
1605           - Inter-process shared workers
1606           - Inter-process dedicated workers (defunct after this checkin)
1607         This patch extracts some new common interfaces (NewWebWorkerBase and NewWebWorkerClient) for these 
1608         three implementations. 
1609         Removing the remainings of inter-process dedicated workers -related classes is left for a separate patch 
1610         (it will require coordinated changes on chromuium side).
1611
1612         Reviewed by David Levin.
1613
1614         * public/WebCommonWorkerClient.h:
1615         * src/DatabaseObserver.cpp:
1616         (WebKit::AllowDatabaseMainThreadBridge::create):
1617         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
1618         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
1619         (WebKit::allowDatabaseForWorker):
1620         (WebCore::DatabaseObserver::canEstablishDatabase):
1621         * src/LocalFileSystemChromium.cpp:
1622         (WebCore::openFileSystemHelper):
1623         * src/WebSharedWorkerImpl.h:
1624         (WebKit::WebSharedWorkerImpl::newCommonClient):
1625         * src/WebWorkerBase.h:
1626         (WebKit::WebWorkerBase::view):
1627         * src/WebWorkerClientImpl.cpp:
1628         (WebKit::WebWorkerClientImpl::createWorkerContextProxy):
1629         (WebKit::WebWorkerClientImpl::startWorkerContext):
1630         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1631         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
1632         (WebKit::WebWorkerClientImpl::hasPendingActivity):
1633         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
1634         (WebKit::WebWorkerClientImpl::connectToInspector):
1635         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
1636         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
1637         (WebKit::WebWorkerClientImpl::postMessageToPageInspector):
1638         (WebKit::WebWorkerClientImpl::postTaskToLoader):
1639         (WebKit::WebWorkerClientImpl::postTaskForModeToWorkerContext):
1640         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
1641         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
1642         (WebKit::WebWorkerClientImpl::reportPendingActivity):
1643         (WebKit::WebWorkerClientImpl::workerContextClosed):
1644         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1645         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1646         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
1647         (WebKit::WebWorkerClientImpl::allowFileSystem):
1648         (WebKit::WebWorkerClientImpl::openFileSystem):
1649         (WebKit::WebWorkerClientImpl::allowDatabase):
1650         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
1651         (WebKit::WebWorkerClientImpl::view):
1652         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1653         (WebKit::WebWorkerClientImpl::~WebWorkerClientImpl):
1654         * src/WebWorkerClientImpl.h:
1655         (WebKit::WebWorkerClientImpl::newCommonClient):
1656         * src/WebWorkerImpl.cpp:
1657         (WebKit::WebWorkerImpl::newCommonClient):
1658         * src/WebWorkerImpl.h:
1659         * src/WorkerFileSystemCallbacksBridge.cpp:
1660         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1661         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1662         * src/WorkerFileSystemCallbacksBridge.h:
1663
1664 2011-08-18  James Robinson  <jamesr@chromium.org>
1665
1666         [chromium] Draw the root/"non-composited content" in compositor side
1667         https://bugs.webkit.org/show_bug.cgi?id=58834
1668
1669         Reviewed by Darin Fisher.
1670
1671         * src/WebViewImpl.cpp:
1672         (WebKit::WebViewImpl::paint):
1673         (WebKit::WebViewImpl::setRootGraphicsLayer):
1674         (WebKit::WebViewImpl::didRecreateGraphicsContext):
1675         (WebKit::WebViewImpl::updateLayerTreeViewport):
1676         * src/WebViewImpl.h:
1677
1678 2011-08-18  Tony Chang  <tony@chromium.org>
1679
1680         Revert r93294, doesn't compile on Chromium Mac.
1681
1682         * features.gypi:
1683
1684 2011-08-17  Adam Roben  <aroben@apple.com>
1685
1686         Make WebCore keep track of the current device scale factor
1687
1688         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
1689         device scale factor
1690
1691         Reviewed by Darin Adler.
1692
1693         * src/ChromeClientImpl.cpp:
1694         * src/ChromeClientImpl.h:
1695         Removed deviceScaleFactor.
1696
1697 2011-08-18  Steve Block  <steveblock@google.com>
1698
1699         Remove a superfluous 'using' from WebBindings.cpp
1700         https://bugs.webkit.org/show_bug.cgi?id=66046
1701
1702         Reviewed by Alexey Proskuryakov.
1703
1704         * src/WebBindings.cpp:
1705
1706 2011-08-18  Gavin Peters  <gavinp@chromium.org>
1707
1708         Prepare frames for history navigation.
1709
1710         Before beginning an explicit history navigation in a newly initialized
1711         frame, it's important to give a "previous" item to avoid crashes, and
1712         give a state to the state machine to avoid extra validating loads.
1713
1714         https://bugs.webkit.org/show_bug.cgi?id=66322
1715
1716         Reviewed by Darin Fisher.
1717
1718         * src/WebFrameImpl.cpp:
1719         (WebKit::WebFrameImpl::loadHistoryItem):
1720
1721 2011-08-18  Nico Weber  <thakis@chromium.org>
1722
1723         [chromium/mac] Enable smooth scrolling
1724         https://bugs.webkit.org/show_bug.cgi?id=66418
1725
1726         Reviewed by Dimitri Glazkov.
1727
1728         * features.gypi:
1729
1730 2011-08-17  Scott Byer  <scottbyer@chromium.org>
1731
1732         ScrollAnimatorNone: Remove unused field
1733         https://bugs.webkit.org/show_bug.cgi?id=66312
1734
1735         Reviewed by Adam Barth.
1736
1737         * tests/ScrollAnimatorNoneTest.cpp:
1738         (ScrollAnimatorNoneTest::updateDataFromParameters):
1739         (TEST_F):
1740
1741 2011-08-16  Chang Shu  <cshu@webkit.org>
1742
1743         Support reset in WebCore::Internals
1744         https://bugs.webkit.org/show_bug.cgi?id=66307
1745
1746         Reviewed by Dimitri Glazkov.
1747
1748         Added framework code in WebKit.
1749
1750         * public/WebTestingSupport.h:
1751         * src/WebTestingSupport.cpp:
1752         (WebKit::WebTestingSupport::resetInternalsObject):
1753
1754 2011-08-15  Aaron Boodman  <aa@chromium.org>
1755
1756         Remove support for old didCreateIsolatedContext() signature
1757         https://bugs.webkit.org/show_bug.cgi?id=66249
1758
1759         Reviewed by Darin Fisher.
1760
1761         * public/WebFrameClient.h:
1762         * src/FrameLoaderClientImpl.cpp:
1763         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
1764
1765 2011-08-17  Aaron Boodman  <aa@chromium.org>
1766
1767         Remove support for old didCreateIsolatedContext() signature
1768         https://bugs.webkit.org/show_bug.cgi?id=66249
1769
1770         Reviewed by Darin Fisher.
1771
1772         * public/WebFrameClient.h:
1773         * src/FrameLoaderClientImpl.cpp:
1774         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
1775
1776 2011-08-17  David Grogan  <dgrogan@chromium.org>
1777
1778         Remove onTimeout from WebIDBTransactionCallbacks.h
1779         https://bugs.webkit.org/show_bug.cgi?id=66326
1780
1781         Reviewed by Tony Chang.
1782
1783         * public/WebIDBTransactionCallbacks.h:
1784
1785 2011-08-16  Per-Erik Brodin  <per-erik.brodin@ericsson.com>
1786
1787         Make it possible to explicitly prevent a preflight via ThreadableLoaderOptions
1788         https://bugs.webkit.org/show_bug.cgi?id=65694
1789
1790         Reviewed by Alexey Proskuryakov.
1791
1792         * src/AssociatedURLLoader.cpp:
1793         (WebKit::AssociatedURLLoader::loadAsynchronously):
1794
1795 2011-08-12  John Abd-El-Malek  <jam@chromium.org>
1796
1797         [chromium] cleanup after previous webkit change rolled into chrome
1798         https://bugs.webkit.org/show_bug.cgi?id=66177
1799
1800         Reviewed by James Robinson.
1801
1802         * DEPS:
1803         * WebKit.gyp:
1804         * public/WebScrollbar.h:
1805
1806 2011-08-16  Stephen White  <senorblanco@chromium.org>
1807
1808         GraphicsContext3D should allow its hostWindow to be NULL
1809         https://bugs.webkit.org/show_bug.cgi?id=66305
1810
1811         Allow the hostWindow param (and m_webViewImpl) to be NULL.  This
1812         makes it much easier to enable GPU acceleration at a lower level
1813         in WebKit's platform/graphics layer, without needing access to the
1814         Page* or HostWindow*.  Also bump the chromium DEPS to chrome r96940,
1815         which includes a similar change for the in-process GraphicsContext3D
1816         implementations.
1817
1818         Reviewed by James Robinson.
1819
1820         * DEPS:
1821         * src/GraphicsContext3DChromium.cpp:
1822         (WebCore::GraphicsContext3DInternal::initialize):
1823         (WebCore::GraphicsContext3DInternal::platformTexture):
1824         (WebCore::GraphicsContext3DInternal::paintsIntoCanvasBuffer):
1825
1826 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
1827
1828         Web Inspector: [Chromium] Add deployment of NetworkPanel .css files to concatenated version
1829         https://bugs.webkit.org/show_bug.cgi?id=66316
1830
1831         Reviewed by Pavel Feldman.
1832
1833         * WebKit.gyp:
1834
1835 2011-08-16  Mikhail Naganov  <mnaganov@chromium.org>
1836
1837         Web Inspector: [Chromium] Fix 'inspector_resources' target to depend on 'concatenated_heap_snapshot_worker_js'
1838         https://bugs.webkit.org/show_bug.cgi?id=66300
1839
1840         Reviewed by Pavel Feldman.
1841
1842         * WebKit.gyp:
1843
1844 2011-08-15  Dmitry Titov  <dimich@chromium.org>
1845
1846         [Chromium] Add WebFrameClient::didAdoptURLLoader() notification
1847         https://bugs.webkit.org/show_bug.cgi?id=66167
1848
1849         Reviewed by Darin Fisher.
1850
1851         * public/WebFrameClient.h:
1852         (WebKit::WebFrameClient::didAdoptURLLoader):
1853         * src/FrameLoaderClientImpl.cpp:
1854         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
1855         * src/ResourceHandle.cpp:
1856         (WebCore::ResourceHandleInternal::ResourceHandleInternal):
1857         (WebCore::ResourceHandleInternal::FromResourceHandle):
1858         (WebCore::ResourceHandle::ResourceHandle):
1859         (WebCore::ResourceHandle::firstRequest):
1860         (WebCore::ResourceHandle::client):
1861         (WebCore::ResourceHandle::setClient):
1862         (WebCore::ResourceHandle::~ResourceHandle):
1863         * src/ResourceHandleInternal.h: Added.
1864         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
1865         (WebCore::ResourceHandleInternal::setOwner):
1866         (WebCore::ResourceHandleInternal::request):
1867         (WebCore::ResourceHandleInternal::client):
1868         (WebCore::ResourceHandleInternal::setClient):
1869         (WebCore::ResourceHandleInternal::loader):
1870
1871 2011-08-15  Dmitry Titov  <dimich@chromium.org>
1872
1873         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
1874         https://bugs.webkit.org/show_bug.cgi?id=66165
1875
1876         Reviewed by Darin Fisher.
1877
1878         * src/FrameLoaderClientImpl.cpp:
1879         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
1880         * src/FrameLoaderClientImpl.h:
1881
1882 2011-08-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1883
1884         Unreviewed, rolling out r93060.
1885         http://trac.webkit.org/changeset/93060
1886         https://bugs.webkit.org/show_bug.cgi?id=66259
1887
1888         Does not compile on Chromium Windows (Requested by
1889         abarth|gardener on #webkit).
1890
1891         * public/WebCache.h:
1892         * public/WebFontCache.h:
1893         * src/WebCache.cpp:
1894         (WebKit::WebCache::clear):
1895         * src/WebFontCache.cpp:
1896
1897 2011-08-15  Mikhail Naganov  <mnaganov@chromium.org>
1898
1899         Chromium: expose MemoryCache::prune and FontCache::purgeInactiveFontData.
1900         https://bugs.webkit.org/show_bug.cgi?id=66132
1901
1902         Reviewed by Darin Fisher.
1903
1904         * public/WebCache.h:
1905         * public/WebFontCache.h:
1906         * src/WebCache.cpp:
1907         (WebKit::WebCache::prune):
1908         * src/WebFontCache.cpp:
1909         (WebKit::WebFontCache::prune):
1910
1911 2011-08-15  Nico Weber  <thakis@chromium.org>
1912
1913         [chromium] Implement shouldRubberBandInDirection
1914         https://bugs.webkit.org/show_bug.cgi?id=66206
1915
1916         Reviewed by Adam Barth.
1917
1918         History swiping can only start after an unhandled mouse wheel event
1919         came back from the renderer, because mouse wheel javascript handlers
1920         take precedence over history swiping. This means that rubberbanding
1921         must not consume wheel events if they could trigger history, else
1922         history swiping won't be triggered for pages without wheel handlers
1923         either.
1924
1925         This is based on the implementation in
1926         Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
1927
1928         * src/ChromeClientImpl.cpp:
1929         (WebKit::ChromeClientImpl::shouldRubberBandInDirection):
1930         * src/ChromeClientImpl.h:
1931
1932 2011-08-10  Aaron Boodman  <aa@chromium.org>
1933
1934         Pass additional details to client in didCreateIsolatedContext
1935         https://bugs.webkit.org/show_bug.cgi?id=66037
1936
1937         Reviewed by Darin Fisher.
1938
1939         * public/WebFrameClient.h:
1940         (WebKit::WebFrameClient::didCreateIsolatedScriptContext):
1941         * src/FrameLoaderClientImpl.cpp:
1942         (WebKit::FrameLoaderClientImpl::didCreateIsolatedScriptContext):
1943         * src/FrameLoaderClientImpl.h:
1944
1945 2011-08-10  Adam Roben  <aroben@apple.com>
1946
1947         Clear up scale factor terminology
1948
1949         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
1950         software is running, and one that is per-Page and can be controlled via API calls. This
1951         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
1952         code use those names. It should introduce no behavior changes.
1953
1954         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
1955         device scale factor
1956
1957         Reviewed by Simon Fraser.
1958
1959         * src/ChromeClientImpl.cpp:
1960         * src/ChromeClientImpl.h:
1961
1962 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
1963
1964         Refactoring of PopupMenuChromium For Readability and Maintainability
1965         https://bugs.webkit.org/show_bug.cgi?id=66009
1966
1967         Reviewed by Darin Fisher.
1968
1969         * src/ChromeClientImpl.cpp:
1970         * src/WebPopupMenuImpl.cpp:
1971         * src/WebViewImpl.cpp:
1972         * tests/PopupMenuTest.cpp:
1973
1974 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
1975
1976         Expose pageScaleFactor() to Chromium's WebViewImpl
1977         https://bugs.webkit.org/show_bug.cgi?id=66067
1978
1979         Reviewed by Darin Fisher.
1980
1981         * public/WebView.h:
1982         * src/WebViewImpl.cpp:
1983         (WebKit::WebViewImpl::pageScaleFactor):
1984         * src/WebViewImpl.h:
1985
1986 2011-08-12  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1987
1988         Wire gesture tap events, add support for gesture events in the DRT and add a layout test for it.
1989         https://bugs.webkit.org/show_bug.cgi?id=66105
1990
1991         Reviewed by Darin Fisher.
1992
1993         * public/WebInputEvent.h:
1994         * src/WebInputEventConversion.cpp:
1995         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
1996         * src/WebPopupMenuImpl.cpp:
1997         (WebKit::WebPopupMenuImpl::handleInputEvent):
1998         * src/WebViewImpl.cpp:
1999         (WebKit::WebViewImpl::handleInputEvent):
2000
2001 2011-08-12  Tommy Widenflycht  <tommyw@google.com>
2002
2003         [Chromium] Implement the embedders for the HTML5 Track List objects
2004         https://bugs.webkit.org/show_bug.cgi?id=60260
2005
2006         Reviewed by Darin Fisher.
2007
2008         * WebKit.gyp:
2009         * public/WebMediaStreamTrack.h: Added.
2010         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
2011         (WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
2012         (WebKit::WebMediaStreamTrack::isNull):
2013         * public/WebMediaStreamTrackList.h: Added.
2014         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
2015         (WebKit::WebMediaStreamTrackList::~WebMediaStreamTrackList):
2016         (WebKit::WebMediaStreamTrackList::isNull):
2017         * src/WebMediaStreamTrack.cpp: Added.
2018         (WebKit::WebMediaStreamTrack::initialize):
2019         (WebKit::WebMediaStreamTrack::reset):
2020         (WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
2021         (WebKit::WebMediaStreamTrack::operator WTF::PassRefPtr<WebCore::MediaStreamTrack>):
2022         * src/WebMediaStreamTrackList.cpp: Added.
2023         (WebKit::WebMediaStreamTrackList::initialize):
2024         (WebKit::WebMediaStreamTrackList::reset):
2025         (WebKit::WebMediaStreamTrackList::WebMediaStreamTrackList):
2026         (WebKit::WebMediaStreamTrackList::operator WTF::PassRefPtr<MediaStreamTrackList>):
2027
2028 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2029
2030         Unreviewed, rolling out r92976.
2031         http://trac.webkit.org/changeset/92976
2032         https://bugs.webkit.org/show_bug.cgi?id=66159
2033
2034         Does not compile on chromium-win (Requested by abarth|gardener
2035         on #webkit).
2036
2037         * src/ChromeClientImpl.cpp:
2038         * src/WebPopupMenuImpl.cpp:
2039         * src/WebViewImpl.cpp:
2040
2041 2011-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
2042
2043         Unreviewed, rolling out r92978.
2044         http://trac.webkit.org/changeset/92978
2045         https://bugs.webkit.org/show_bug.cgi?id=66155
2046
2047         This patch does not compile (Requested by abarth|gardener on
2048         #webkit).
2049
2050         * public/WebView.h:
2051         * src/WebViewImpl.cpp:
2052         (WebKit::WebViewImpl::zoomLevel):
2053         (WebKit::WebViewImpl::setZoomLevel):
2054         (WebKit::WebViewImpl::zoomLimitsChanged):
2055         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
2056         (WebKit::WebView::zoomLevelToZoomFactor):
2057         (WebKit::WebView::zoomFactorToZoomLevel):
2058         * src/WebViewImpl.h:
2059
2060 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
2061
2062         Chromium's WebKit API should use floats instead of doubles for zoom to match WebCore
2063         https://bugs.webkit.org/show_bug.cgi?id=66089
2064
2065         Reviewed by Darin Fisher.
2066
2067         * public/WebView.h:
2068         * src/WebViewImpl.cpp:
2069         (WebKit::WebViewImpl::zoomLevel):
2070         (WebKit::WebViewImpl::setZoomLevel):
2071         (WebKit::WebViewImpl::zoomLimitsChanged):
2072         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
2073         (WebKit::WebView::zoomLevelToZoomFactor):
2074         (WebKit::WebView::zoomFactorToZoomLevel):
2075         * src/WebViewImpl.h:
2076
2077 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
2078
2079         Refactoring of PopupMenuChromium
2080         https://bugs.webkit.org/show_bug.cgi?id=66009
2081
2082         Reviewed by Darin Fisher.
2083
2084         * src/ChromeClientImpl.cpp:
2085         * src/WebPopupMenuImpl.cpp:
2086         * src/WebViewImpl.cpp:
2087
2088 2011-08-12  Fady Samuel  <fsamuel@chromium.org>
2089
2090         Expose pageScaleFactor in Chromium's WebHistoryItem
2091         https://bugs.webkit.org/show_bug.cgi?id=66139
2092
2093         Reviewed by Darin Fisher.
2094
2095         * public/WebHistoryItem.h:
2096         * src/WebHistoryItem.cpp:
2097         (WebKit::WebHistoryItem::pageScaleFactor):
2098         (WebKit::WebHistoryItem::setPageScaleFactor):
2099
2100 2011-08-10  Nat Duca  <nduca@chromium.org>
2101
2102         [chromium] Add WebThread to WebKitClient
2103         https://bugs.webkit.org/show_bug.cgi?id=66013
2104
2105         Reviewed by Darin Fisher.
2106
2107         * public/WebKitClient.h:
2108         (WebKit::WebKitClient::createThread):
2109         * public/WebThread.h: Added.
2110         (WebKit::WebThread::~WebThread):
2111
2112 2011-08-11  John Bauman  <jbauman@chromium.org>
2113
2114         Readback composited webgl results for printing
2115         https://bugs.webkit.org/show_bug.cgi?id=65658
2116
2117         Reviewed by James Robinson.
2118
2119         Add support for reading from the composited version of a canvas.
2120
2121         * public/WebGraphicsContext3D.h:
2122         * src/Extensions3DChromium.cpp:
2123         (WebCore::Extensions3DChromium::paintFramebufferToCanvas):
2124         * src/GraphicsContext3DChromium.cpp:
2125         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2126         (WebCore::GraphicsContext3DInternal::paintFramebufferToCanvas):
2127         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2128         (WebCore::GraphicsContext3DInternal::paintCompositedResultsToCanvas):
2129         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
2130         (WebCore::GraphicsContext3DInternal::reshape):
2131         * src/GraphicsContext3DInternal.h:
2132
2133 2011-08-05  Nat Duca  <nduca@chromium.org>
2134
2135         [chromium] Make WebViewImpl point at CCLayerTreeHost and related separation
2136         https://bugs.webkit.org/show_bug.cgi?id=65791
2137
2138         With this patch, LayerRendererChromium becomes increasingly responsible
2139         for rendering, while render scheduling and tree hosting moves into the
2140         CCLayerTreeHost.
2141
2142         Reviewed by James Robinson.
2143
2144         * src/WebViewImpl.cpp:
2145         (WebKit::WebViewImpl::WebViewImpl):
2146         (WebKit::WebViewImpl::resize):
2147         (WebKit::WebViewImpl::animate):
2148         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2149         (WebKit::WebViewImpl::paint):
2150         (WebKit::WebViewImpl::composite):
2151         (WebKit::WebViewImpl::setRootPlatformLayer):
2152         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
2153         (WebKit::WebViewImpl::scrollRootLayerRect):
2154         (WebKit::WebViewImpl::invalidateRootLayerRect):
2155         (WebKit::getCompositorSettings):
2156         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2157         (WebKit::WebViewImpl::createRootLayerPainter):
2158         (WebKit::WebViewImpl::animateAndLayout):
2159         (WebKit::WebViewImpl::didRecreateGraphicsContext):
2160         (WebKit::WebViewImpl::scheduleComposite):
2161         (WebKit::WebViewImpl::updateLayerTreeViewport):
2162         (WebKit::WebViewImpl::graphicsContext3D):
2163         (WebKit::WebViewImpl::setVisibilityState):
2164         * src/WebViewImpl.h:
2165
2166 2011-08-11  Nico Weber  <thakis@chromium.org>
2167
2168         [chromium] Expose "min/max scroll size", "has horizontal/vertical scrollbar", "number of wheel handlers" to clients
2169         https://bugs.webkit.org/show_bug.cgi?id=66094
2170
2171         Reviewed by James Robinson.
2172
2173         We want to implement two-finger-swipe for history like safari does on
2174         os x lion. The way this works is:
2175         * If a page has no horizontal scrollbars, or the page is all the way
2176           to the left, scrolling to the left will go back in history instead.
2177         * Same for right/forward.
2178
2179         This is modelled after the WebKit2 functions
2180         WKPageIsPinnedToLeftSide(), WKPageIsPinnedToRightSide(),
2181         WKPageHasHorizontalScrollbar(), and
2182         webPageProxy::willHandleHorizontalScrollEvents().
2183
2184         * public/WebFrame.h:
2185         * public/WebViewClient.h:
2186         (WebKit::WebViewClient::numWheelEventHandlersChanged):
2187         * src/ChromeClientImpl.cpp:
2188         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged):
2189         * src/ChromeClientImpl.h:
2190         * src/WebFrameImpl.cpp:
2191         (WebKit::WebFrameImpl::hasHorizontalScrollbar):
2192         (WebKit::WebFrameImpl::hasVerticalScrollbar):
2193         (WebKit::WebFrameImpl::isPinnedToLeft):
2194         (WebKit::WebFrameImpl::isPinnedToRight):
2195         * src/WebFrameImpl.h:
2196
2197 2011-08-11  Marja Hölttä  <marja@chromium.org>
2198
2199         Remove the temporary workaround added by http://trac.webkit.org/changeset/51338
2200         https://bugs.webkit.org/show_bug.cgi?id=65908
2201
2202         Reviewed by Adam Barth.
2203
2204         SecurityOrigin for a file URL returns "file://", and
2205         SecurityOrigin::createFromString("file://") creates a unique (null)
2206         security origin (because "file://" is first canonicalized to "file:///"
2207         and that is a directory). This means the conversion SecurityOrigin ->
2208         string -> SecurityOrigin doens't give back the same SecurityOrigin in
2209         case of file URLs.
2210
2211         WebStorageNamespaceImpl::createStorageArea contains a workaround which
2212         changes the string "file://" into "file:///a" before giving it to
2213         SecurityOrigin::createFromString.
2214
2215         If SecurityOrigin::m_enforceFilePathSeparation is true, then
2216         SecurityOrigin::toString() returns "null" for file URLs, and this
2217         problem does not exist, and the workaround code is not ran.
2218
2219         This patch removes the workaround.
2220
2221         * src/WebStorageNamespaceImpl.cpp:
2222         (WebKit::WebStorageNamespaceImpl::createStorageArea):
2223
2224 2011-08-10  John Abd-El-Malek  <jam@chromium.org>
2225
2226         [chromium] Update WebScrollbar so that it works with overlay scrollbars on Lion
2227         https://bugs.webkit.org/show_bug.cgi?id=66008
2228
2229         Reviewed by James Robinson.
2230
2231         * WebKit.gyp:
2232         * public/WebScrollbar.h:
2233         * public/WebScrollbarClient.h:
2234         * src/ScrollbarGroup.cpp: Added.
2235         (WebKit::ScrollbarGroup::ScrollbarGroup):
2236         (WebKit::ScrollbarGroup::~ScrollbarGroup):
2237         (WebKit::ScrollbarGroup::scrollbarCreated):
2238         (WebKit::ScrollbarGroup::scrollbarDestroyed):
2239         (WebKit::ScrollbarGroup::setLastMousePosition):
2240         (WebKit::ScrollbarGroup::scrollSize):
2241         (WebKit::ScrollbarGroup::scrollPosition):
2242         (WebKit::ScrollbarGroup::setScrollOffset):
2243         (WebKit::ScrollbarGroup::invalidateScrollbarRect):
2244         (WebKit::ScrollbarGroup::invalidateScrollCornerRect):
2245         (WebKit::ScrollbarGroup::isActive):
2246         (WebKit::ScrollbarGroup::enclosingScrollableArea):
2247         (WebKit::ScrollbarGroup::isScrollCornerVisible):
2248         (WebKit::ScrollbarGroup::getTickmarks):
2249         (WebKit::ScrollbarGroup::convertFromContainingViewToScrollbar):
2250         (WebKit::ScrollbarGroup::horizontalScrollbar):
2251         (WebKit::ScrollbarGroup::verticalScrollbar):
2252         (WebKit::ScrollbarGroup::minimumScrollPosition):
2253         (WebKit::ScrollbarGroup::maximumScrollPosition):
2254         (WebKit::ScrollbarGroup::visibleHeight):
2255         (WebKit::ScrollbarGroup::visibleWidth):
2256         (WebKit::ScrollbarGroup::contentsSize):
2257         (WebKit::ScrollbarGroup::overhangAmount):
2258         (WebKit::ScrollbarGroup::currentMousePosition):
2259         (WebKit::ScrollbarGroup::shouldSuspendScrollAnimations):
2260         (WebKit::ScrollbarGroup::scrollbarStyleChanged):
2261         (WebKit::ScrollbarGroup::isOnActivePage):
2262         (WebKit::ScrollbarGroup::disconnectFromPage):
2263         * src/ScrollbarGroup.h: Added.
2264         (WebKit::ScrollbarGroup::scrollCornerRect):
2265         * src/WebPluginContainerImpl.cpp:
2266         (WebKit::WebPluginContainerImpl::paint):
2267         (WebKit::WebPluginContainerImpl::reportGeometry):
2268         (WebKit::WebPluginContainerImpl::scrollbarGroup):
2269         (WebKit::WebPluginContainerImpl::willStartLiveResize):
2270         (WebKit::WebPluginContainerImpl::willEndLiveResize):
2271         (WebKit::WebPluginContainerImpl::handleMouseEvent):
2272         * src/WebPluginContainerImpl.h:
2273         * src/WebScrollbarImpl.cpp:
2274         (WebKit::WebScrollbar::createForPlugin):
2275         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
2276         (WebKit::WebScrollbarImpl::~WebScrollbarImpl):
2277         (WebKit::WebScrollbarImpl::setScrollOffset):
2278         (WebKit::WebScrollbarImpl::invalidateScrollbarRect):
2279         (WebKit::WebScrollbarImpl::getTickmarks):
2280         (WebKit::WebScrollbarImpl::convertFromContainingViewToScrollbar):
2281         (WebKit::WebScrollbarImpl::scrollbarStyleChanged):
2282         (WebKit::WebScrollbarImpl::isOverlay):
2283         (WebKit::WebScrollbarImpl::setValue):
2284         (WebKit::WebScrollbarImpl::scroll):
2285         (WebKit::WebScrollbarImpl::onMouseMove):
2286         (WebKit::WebScrollbarImpl::onMouseLeave):
2287         (WebKit::WebScrollbarImpl::onMouseWheel):
2288         (WebKit::WebScrollbarImpl::onKeyDown):
2289         * src/WebScrollbarImpl.h:
2290         (WebKit::WebScrollbarImpl::scrollOffset):
2291         (WebKit::WebScrollbarImpl::scrollbar):
2292         * src/WebViewImpl.cpp:
2293         (WebKit::WebViewImpl::willStartLiveResize):
2294         (WebKit::WebViewImpl::willEndLiveResize):
2295
2296 2011-08-10  Dmitry Lomov  <dslomov@google.com>
2297         
2298         [Chromium] Decouple implementation of allowFileSystem, openFileSystem and allowDatabase from WebWorkerBase.
2299         https://bugs.webkit.org/show_bug.cgi?id=65997.
2300
2301         This patch moves implementation of allowFileSystem, openFileSystem and allowDatabase from
2302         WebWorkerBase to respectively LocalFileSystemChromium and DatabaseObserver, 
2303         parameterizing them with relevant data from WebWorker.
2304
2305         Reviewed by Jian Li.
2306
2307         * src/DatabaseObserver.cpp: Move allowDatabase from WebWorkerBase and update the caller.
2308         (WebKit::AllowDatabaseMainThreadBridge::create):
2309         (WebKit::AllowDatabaseMainThreadBridge::cancel):
2310         (WebKit::AllowDatabaseMainThreadBridge::result):
2311         (WebKit::AllowDatabaseMainThreadBridge::signalCompleted):
2312         (WebKit::AllowDatabaseMainThreadBridge::AllowDatabaseMainThreadBridge):
2313         (WebKit::AllowDatabaseMainThreadBridge::allowDatabaseTask):
2314         (WebKit::AllowDatabaseMainThreadBridge::didComplete):
2315         (WebKit::allowDatabaseForWorker):
2316         (WebCore::DatabaseObserver::canEstablishDatabase):
2317         * src/LocalFileSystemChromium.cpp: Move allowFileSystem and openFileSystem from WebWorkerBase and update the caller.
2318         (WebCore::openFileSystemHelper):
2319         * src/WebWorkerBase.cpp: Move allowFileSystem, openFileSystem and allowDatabase to LocalFileSystemChromium and DatabaseObserver resp.
2320         * src/WebWorkerBase.h:
2321         (WebKit::WebWorkerBase::webView):
2322         * src/WorkerFileSystemCallbacksBridge.cpp: Generalized WorkerFileSystemCallbacksBridge to work on WorkerLoaderProxy, not on WebWorkerBase.
2323         (WebKit::WorkerFileSystemCallbacksBridge::stop):
2324         (WebKit::WorkerFileSystemCallbacksBridge::WorkerFileSystemCallbacksBridge):
2325         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread):
2326         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
2327         * src/WorkerFileSystemCallbacksBridge.h:
2328         (WebKit::WorkerFileSystemCallbacksBridge::create):
2329
2330 2011-08-10  Vsevolod Vlasov  <vsevik@chromium.org>
2331
2332         Web Inspector: Remove Network.initialContentSet from protocol, store workers content on backend.
2333         https://bugs.webkit.org/show_bug.cgi?id=65929
2334
2335         Reviewed by Pavel Feldman.
2336
2337         * src/SharedWorkerRepository.cpp:
2338         (WebCore::SharedWorkerScriptLoader::didReceiveResponse):
2339
2340 2011-08-10  Andrey Kosyakov  <caseq@chromium.org>
2341
2342         Unreviewed. Rolled DEPS 95813:96009 to pick data url timing fix.
2343
2344         * DEPS:
2345
2346 2011-08-10  Peter Kasting  <pkasting@google.com>
2347
2348         [Chromium] Name an enum used in some template arguments.
2349         https://bugs.webkit.org/show_bug.cgi?id=65953
2350
2351         Reviewed by Darin Fisher.
2352
2353         * public/WebHTTPBody.h:
2354
2355 2011-08-09  Alexei Svitkine  <asvitkine@chromium.org>
2356
2357         [Chromium] Enable rubber banding when scrolling.
2358
2359         https://bugs.webkit.org/show_bug.cgi?id=65707
2360
2361         Reviewed by Dimitri Glazkov.
2362
2363         * features.gypi:
2364         * public/WebInputEvent.h:
2365         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2366         (WebKit::WebGestureEvent::WebGestureEvent):
2367         * public/mac/WebInputEventFactory.h:
2368         * src/WebInputEventConversion.cpp:
2369         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2370         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2371         * src/WebInputEventConversion.h:
2372         * src/WebPopupMenuImpl.cpp:
2373         (WebKit::WebPopupMenuImpl::GestureEvent):
2374         (WebKit::WebPopupMenuImpl::handleInputEvent):
2375         * src/WebPopupMenuImpl.h:
2376         * src/WebViewImpl.cpp:
2377         (WebKit::WebViewImpl::gestureEvent):
2378         (WebKit::WebViewImpl::handleInputEvent):
2379         * src/WebViewImpl.h:
2380         * src/mac/WebInputEventFactory.mm:
2381         (WebKit::gestureEventTypeForEvent):
2382         (WebKit::phaseForNSEventPhase):
2383         (WebKit::phaseForEvent):
2384         (WebKit::momentumPhaseForEvent):
2385         (WebKit::WebInputEventFactory::mouseWheelEvent):
2386         (WebKit::WebInputEventFactory::gestureEvent):
2387
2388 2011-08-09  Dmitry Lomov  <dslomov@google.com>
2389
2390         https://bugs.webkit.org/show_bug.cgi?id=65778
2391         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
2392
2393         Reviewed by Dmitry Titov.
2394
2395         * src/BoundObject.cpp:
2396
2397 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
2398
2399         [chromium] remove temporary #define from WebURLRequest.h
2400         https://bugs.webkit.org/show_bug.cgi?id=65813
2401
2402         Reviewed by Darin Fisher.
2403
2404         * public/WebURLRequest.h:
2405
2406 2011-08-09  Jochen Eisinger  <jochen@chromium.org>
2407
2408         Unreviewed.  Rolled DEPS.
2409
2410         * DEPS:
2411
2412 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
2413
2414         Unreviewed, rolling out r92619.
2415         http://trac.webkit.org/changeset/92619
2416         https://bugs.webkit.org/show_bug.cgi?id=65881
2417
2418         This patch breaks chromium canary (Requested by jianli on
2419         #webkit).
2420
2421         * src/BoundObject.cpp:
2422
2423 2011-08-08  Scott Byer  <scottbyer@chromium.org>
2424
2425         Scroll animator changes to nail the framerate
2426         https://bugs.webkit.org/show_bug.cgi?id=65645
2427
2428         Reviewed by James Robinson.
2429
2430         * tests/ScrollAnimatorNoneTest.cpp:
2431         (TEST):
2432
2433 2011-08-08  Dmitry Lomov  <dslomov@google.com>
2434
2435         https://bugs.webkit.org/show_bug.cgi?id=65778
2436         [WebWorkers][chromium] Make statics thread-safe and make sure V8 API accesses correct isolates
2437
2438         Reviewed by David Levin.
2439
2440         * src/BoundObject.cpp: AllowAllocation moved from V8Utilities.h to V8Binding.h
2441
2442 2011-08-08  Sheriff Bot  <webkit.review.bot@gmail.com>
2443
2444         Unreviewed, rolling out r92607.
2445         http://trac.webkit.org/changeset/92607
2446         https://bugs.webkit.org/show_bug.cgi?id=65865
2447
2448         This patch breaks Chromium Mac Canary (Requested by jianli on
2449         #webkit).
2450
2451         * features.gypi:
2452         * public/WebInputEvent.h:
2453         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2454         * public/mac/WebInputEventFactory.h:
2455         * src/WebInputEventConversion.cpp:
2456         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2457         * src/WebInputEventConversion.h:
2458         * src/WebPopupMenuImpl.cpp:
2459         (WebKit::WebPopupMenuImpl::handleInputEvent):
2460         * src/WebPopupMenuImpl.h:
2461         * src/WebViewImpl.cpp:
2462         (WebKit::WebViewImpl::handleInputEvent):
2463         * src/WebViewImpl.h:
2464         * src/mac/WebInputEventFactory.mm:
2465         (WebKit::WebInputEventFactory::mouseWheelEvent):
2466
2467 2011-08-08  Alexei Svitkine  <asvitkine@chromium.org>
2468
2469         [Chromium] Enable rubber banding when scrolling.
2470
2471         https://bugs.webkit.org/show_bug.cgi?id=65707
2472
2473         Reviewed by Dimitri Glazkov.
2474
2475         * features.gypi:
2476         * public/WebInputEvent.h:
2477         (WebKit::WebMouseWheelEvent::WebMouseWheelEvent):
2478         (WebKit::WebGestureEvent::WebGestureEvent):
2479         * public/mac/WebInputEventFactory.h:
2480         * src/WebInputEventConversion.cpp:
2481         (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
2482         (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
2483         * src/WebInputEventConversion.h:
2484         * src/WebPopupMenuImpl.cpp:
2485         (WebKit::WebPopupMenuImpl::GestureEvent):
2486         (WebKit::WebPopupMenuImpl::handleInputEvent):
2487         * src/WebPopupMenuImpl.h:
2488         * src/WebViewImpl.cpp:
2489         (WebKit::WebViewImpl::gestureEvent):
2490         (WebKit::WebViewImpl::handleInputEvent):
2491         * src/WebViewImpl.h:
2492         * src/mac/WebInputEventFactory.mm:
2493         (WebKit::gestureEventTypeForEvent):
2494         (WebKit::phaseForNSEventPhase):
2495         (WebKit::phaseForEvent):
2496         (WebKit::momentumPhaseForEvent):
2497         (WebKit::WebInputEventFactory::mouseWheelEvent):
2498         (WebKit::WebInputEventFactory::gestureEvent):
2499
2500 2011-08-08  Ryosuke Niwa  <rniwa@webkit.org>
2501
2502         Unreviewed. Rolled Chromium DEPS from 95576 to 95783.
2503
2504         * DEPS:
2505
2506 2011-08-05  Pavel Feldman  <pfeldman@chromium.org>
2507
2508         Web Inspector: implement dock/undock in WebKit2 without getting into WebCore.
2509         https://bugs.webkit.org/show_bug.cgi?id=65763
2510
2511         Reviewed by Yury Semikhatsky.
2512
2513         * src/InspectorFrontendClientImpl.cpp:
2514         * src/InspectorFrontendClientImpl.h:
2515         * src/js/DevTools.js:
2516         (devtools.domContentLoaded):
2517
2518 2011-08-07  James Kozianski  <koz@chromium.org>
2519
2520         Make the fullscreen JS API enabled at runtime.
2521         https://bugs.webkit.org/show_bug.cgi?id=65501
2522
2523         Reviewed by Adam Barth.
2524
2525         * public/WebRuntimeFeatures.h:
2526         * src/WebRuntimeFeatures.cpp:
2527         (WebKit::WebRuntimeFeatures::enableFullScreenAPI):
2528         (WebKit::WebRuntimeFeatures::isFullScreenAPIEnabled):
2529
2530 2011-08-05  James Robinson  <jamesr@chromium.org>
2531
2532         [chromium] Accelerated canvas breaks when moving canvases or resources between Pages
2533         https://bugs.webkit.org/show_bug.cgi?id=65402
2534
2535         Reviewed by Stephen White.
2536
2537         Remove plumbing for copyTextureToParentTexture extension, it's no longer used or needed.
2538
2539         * public/WebGraphicsContext3D.h:
2540         * src/Extensions3DChromium.cpp:
2541         * src/GraphicsContext3DChromium.cpp:
2542         * src/GraphicsContext3DInternal.h:
2543
2544 2011-08-05  Jochen Eisinger  <jochen@chromium.org>
2545
2546         Introduce a new ResourceRequest::TargetType for XHRs
2547         https://bugs.webkit.org/show_bug.cgi?id=65544
2548
2549         Reviewed by Darin Fisher.
2550
2551         * public/WebURLRequest.h:
2552
2553 2011-08-04  James Robinson  <jamesr@chromium.org>
2554
2555         Unreviewed.  Rolled DEPS.
2556
2557         * DEPS:
2558
2559 2011-08-04  David Levin  <levin@chromium.org>
2560
2561         CStringBuffer should have thread safety checks turned on.
2562         https://bugs.webkit.org/show_bug.cgi?id=58093
2563
2564         Reviewed by Dmitry Titov.
2565
2566         * DEPS: Roll far enough to pick up the latest WebKit::initialize
2567         fix for Linux.
2568
2569 2011-08-04  Sheriff Bot  <webkit.review.bot@gmail.com>
2570
2571         Unreviewed, rolling out r92415.
2572         http://trac.webkit.org/changeset/92415
2573         https://bugs.webkit.org/show_bug.cgi?id=65728
2574
2575         Causes many DEBUG crashes (Requested by abarth on #webkit).
2576
2577         * public/WebURLRequest.h:
2578
2579 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
2580
2581         Introduce a new ResourceRequest::TargetType for XHRs
2582         https://bugs.webkit.org/show_bug.cgi?id=65544
2583
2584         Reviewed by Darin Fisher.
2585
2586         * public/WebURLRequest.h:
2587
2588 2011-08-04  Jochen Eisinger  <jochen@chromium.org>
2589
2590         Get rid of ResourceRequestBase::m_targetType. Move it to chromium's ResourceRequest.
2591         https://bugs.webkit.org/show_bug.cgi?id=48483
2592
2593         Reviewed by Alexey Proskuryakov.
2594
2595         * src/SharedWorkerRepository.cpp:
2596         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
2597
2598 2011-08-04  Brian Weinstein  <bweinstein@apple.com>
2599
2600         WebKit2: Web Inspector always starts in undocked mode
2601         https://bugs.webkit.org/show_bug.cgi?id=65493
2602         <rdar://problem/9353114>
2603
2604         Reviewed by Adam Roben.
2605         
2606         Add a stub method for Chromium.
2607
2608         * src/InspectorFrontendClientImpl.cpp:
2609         (WebKit::InspectorFrontendClientImpl::canAttachWindow):
2610         * src/InspectorFrontendClientImpl.h:
2611
2612 2011-08-03  Kentaro Hara  <haraken@google.com>
2613
2614         Implement EventSender.scalePageBy()
2615         https://bugs.webkit.org/show_bug.cgi?id=58013
2616
2617         Reviewed by Darin Fisher.
2618
2619         Implemented EventSender.scalePageBy(f, x, y), which scales a page by a factor of f
2620         and then sets a scroll position to (x, y). Enabled the tests that had been waiting
2621         for the implementation of EventSender.scalePageBy(f, x, y).
2622
2623         Tests: compositing/scaling/tiled-layer-recursion.html
2624                fast/repaint/scale-page-shrink.html
2625                fast/dom/Element/scale-page-client-rects.html
2626                fast/dom/Range/scale-page-client-rects.html
2627                fast/events/scroll-in-scaled-page-with-overflow-hidden.html
2628                fast/dom/Element/scale-page-bounding-client-rect.html
2629                fast/dom/Range/scale-page-bounding-client-rect.html
2630
2631         * public/WebView.h:
2632         * src/WebViewImpl.cpp:
2633         (WebKit::WebViewImpl::scalePage): A wrapper method for scalePage() in WebCore.
2634         * src/WebViewImpl.h:
2635
2636 2011-08-03  Darin Fisher  <darin@chromium.org>
2637
2638         [Chromium] Rename WEBKIT_API to WEBKIT_EXPORT.
2639         https://bugs.webkit.org/show_bug.cgi?id=65649
2640
2641         Reviewed by Adam Barth.
2642
2643         * README:
2644         * public/WebAccessibilityCache.h:
2645         * public/WebAccessibilityObject.h:
2646         * public/WebArrayBufferView.h:
2647         * public/WebAttribute.h:
2648         * public/WebAudioBus.h:
2649         * public/WebBindings.h:
2650         * public/WebBlobData.h:
2651         * public/WebBlobRegistry.h:
2652         * public/WebCString.h:
2653         * public/WebCache.h:
2654         * public/WebColor.h:
2655         * public/WebCommon.h:
2656         * public/WebCrossOriginPreflightResultCache.h:
2657         * public/WebDOMEvent.h:
2658         * public/WebDOMEventListener.h:
2659         * public/WebDOMMouseEvent.h:
2660         * public/WebDOMMutationEvent.h:
2661         * public/WebDOMStringList.h:
2662         * public/WebData.h:
2663         * public/WebDatabase.h:
2664         * public/WebDevToolsAgent.h:
2665         * public/WebDevToolsFrontend.h:
2666         * public/WebDeviceOrientationClientMock.h:
2667         * public/WebDeviceOrientationController.h:
2668         * public/WebDocument.h:
2669         * public/WebDocumentType.h:
2670         * public/WebDragData.h:
2671         * public/WebElement.h:
2672         * public/WebFont.h:
2673         * public/WebFontCache.h:
2674         * public/WebFormControlElement.h:
2675         * public/WebFormElement.h:
2676         * public/WebFrame.h:
2677         * public/WebGeolocationClientMock.h:
2678         * public/WebGeolocationController.h:
2679         * public/WebGeolocationError.h:
2680         * public/WebGeolocationPermissionRequest.h:
2681         * public/WebGeolocationPermissionRequestManager.h:
2682         * public/WebGeolocationPosition.h:
2683         * public/WebGlyphCache.h:
2684         * public/WebHTTPBody.h:
2685         * public/WebHTTPLoadInfo.h:
2686         * public/WebHistoryItem.h:
2687         * public/WebIDBDatabaseError.h:
2688         * public/WebIDBFactory.h:
2689         * public/WebIDBKey.h:
2690         * public/WebIDBKeyPath.h:
2691         * public/WebIDBKeyRange.h:
2692         * public/WebImage.h:
2693         * public/WebImageDecoder.h:
2694         * public/WebInputElement.h:
2695         * public/WebInputEvent.h:
2696         * public/WebKit.h:
2697         * public/WebLabelElement.h:
2698         * public/WebMediaElement.h:
2699         * public/WebNamedNodeMap.h:
2700         * public/WebNetworkStateNotifier.h:
2701         * public/WebNode.h:
2702         * public/WebNodeCollection.h:
2703         * public/WebNodeList.h:
2704         * public/WebNotification.h:
2705         * public/WebOptionElement.h:
2706         * public/WebPageSerializer.h:
2707         * public/WebPasswordFormData.h:
2708         * public/WebPerformance.h:
2709         * public/WebPluginDocument.h:
2710         * public/WebPopupMenu.h:
2711         * public/WebRange.h:
2712         * public/WebRegularExpression.h:
2713         * public/WebRuntimeFeatures.h:
2714         * public/WebScriptController.h:
2715         * public/WebScrollbar.h:
2716         * public/WebSearchableFormData.h:
2717         * public/WebSecurityOrigin.h:
2718         * public/WebSecurityPolicy.h:
2719         * public/WebSelectElement.h:
2720         * public/WebSerializedScriptValue.h:
2721         * public/WebSharedWorker.h:
2722         * public/WebSpeechInputControllerMock.h:
2723         * public/WebSpeechInputResult.h:
2724         * public/WebStorageEventDispatcher.h:
2725         * public/WebStorageNamespace.h:
2726         * public/WebString.h:
2727         * public/WebTestingSupport.h:
2728         * public/WebThreadSafeData.h:
2729         * public/WebURLLoadTiming.h:
2730         * public/WebURLRequest.h:
2731         * public/WebURLResponse.h:
2732         * public/WebView.h:
2733         * public/WebWorker.h:
2734         * public/gtk/WebFontInfo.h:
2735         * public/gtk/WebInputEventFactory.h:
2736         * public/linux/WebFontRenderStyle.h:
2737         * public/linux/WebFontRendering.h:
2738         * public/linux/WebRenderTheme.h:
2739         * public/mac/WebInputEventFactory.h:
2740         * public/mac/WebScreenInfoFactory.h:
2741         * public/mac/WebSubstringUtil.h:
2742         * public/win/WebInputEventFactory.h:
2743         * public/win/WebScreenInfoFactory.h:
2744         * public/x11/WebScreenInfoFactory.h:
2745         * tests/WebUnitTests.h:
2746
2747 2011-08-03  Michael Nordman  <michaeln@google.com>
2748
2749         [Chromium] Minor cleanup, remove a deprecated method.
2750         The old WebDatabase::updateDatabaseSize method has been replaced with 
2751         updateDatabaseSize, updateSpaceAvailable, and resetSpaceAvailable.
2752         https://bugs.webkit.org/show_bug.cgi?id=65553
2753
2754         Reviewed by Adam Barth.
2755
2756         * public/WebDatabase.h:
2757         * src/WebDatabase.cpp:
2758
2759 2011-08-03  Pavel Feldman  <pfeldman@google.com>
2760
2761         Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
2762         https://bugs.webkit.org/show_bug.cgi?id=65510
2763
2764         Reviewed by Yury Semikhatsky.
2765
2766         * src/WebDevToolsAgentImpl.cpp:
2767         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
2768
2769 2011-08-03  Jeremy Moskovich  <jeremy@chromium.org>
2770
2771         [Chromium] Fix OOP font loading to work on 10.6.6 and above.
2772         https://bugs.webkit.org/show_bug.cgi?id=65543
2773
2774         In 10.6.6 the function used to get the unique ID for an NSFont in the 
2775         renderer was changed so it fails in the sandbox (it now tries to access
2776         the on-disk font file). In order to work around this, we get the font
2777         ID from the browser process.
2778
2779         To speed things up, we introduce 2 levels of caching in WebKit. A font
2780         name cache where we can perform a quick lookup without the need for the
2781         font id and a font id cache which we can only lookup in after getting
2782         the unique ID from the browser process.
2783
2784         Reviewed by Kenneth Russell.
2785
2786         No new tests since this is not readily testable.
2787
2788         * public/mac/WebSandboxSupport.h: Plumb font ID parameter through.
2789         * src/PlatformBridge.cpp:
2790         (WebCore::PlatformBridge::loadFont): ditto.
2791
2792 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
2793
2794         Web Inspector: remove Node parameter from the InspectorClient::highlight
2795         https://bugs.webkit.org/show_bug.cgi?id=65549
2796
2797         Reviewed by Yury Semikhatsky.
2798
2799         * src/InspectorClientImpl.cpp:
2800         (WebKit::InspectorClientImpl::highlight):
2801         * src/InspectorClientImpl.h:
2802         * src/WebDevToolsAgentImpl.cpp:
2803         (WebKit::WebDevToolsAgentImpl::highlight):
2804         * src/WebDevToolsAgentImpl.h:
2805
2806 2011-08-02  David Reveman  <reveman@chromium.org>
2807
2808         [Chromium] Remove outer border from TilingData as it's no longer needed by layer compositor for anti-aliasing.
2809         https://bugs.webkit.org/show_bug.cgi?id=64942
2810
2811         Reviewed by James Robinson.
2812
2813         * tests/TilingDataTest.cpp:
2814         (WebCore::TEST):
2815
2816 2011-08-02  Robert Kroeger  <rjkroege@chromium.org>
2817
2818         [chromium] Layering violations in gesture recognizer
2819         https://bugs.webkit.org/show_bug.cgi?id=65044
2820
2821        Reviewed by Adam Barth.
2822
2823         Moved gesture recognition higher up the event delivery code
2824         path so that recognition of gestures is completely separated
2825         from gesture handling.
2826
2827         * features.gypi:
2828         * src/WebFrameImpl.cpp:
2829         (WebKit::WebFrameImpl::createFrameView):
2830         Added code to reset the gesture recognizer to preserve parallel
2831         layout test execution.
2832         * src/WebPopupMenuImpl.cpp:
2833         Support dispatching touch and gesture events to Popups.
2834         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2835         (WebKit::WebPopupMenuImpl::TouchEvent):
2836         (WebKit::WebPopupMenuImpl::handleInputEvent):
2837         * src/WebPopupMenuImpl.h:
2838         * src/WebViewImpl.cpp:
2839         (WebKit::WebViewImpl::WebViewImpl):
2840         Added gesture recognition creation.
2841         (WebKit::WebViewImpl::touchEvent):
2842         Added recognition of gestures and dispatch of gesture events.
2843         (WebKit::WebViewImpl::resetGestureRecognizer):
2844         * src/WebViewImpl.h:
2845
2846 2011-08-02  Zhenyao Mo  <zmo@google.com>
2847
2848         Unreviewed, mark SelectPopupMenuTest.SelectItemKeyEvent as flaky, gardener stuff.
2849
2850         * tests/PopupMenuTest.cpp:
2851         (WebKit::TEST_F):
2852
2853 2011-08-02  Vsevolod Vlasov  <vsevik@chromium.org>
2854
2855         Web Inspector: Remove initator column for JSC, fix network resource initiator tests.
2856         https://bugs.webkit.org/show_bug.cgi?id=65534
2857
2858         Reviewed by Pavel Feldman.
2859
2860         * src/js/DevTools.js:
2861         ():
2862
2863 2011-08-02  Nat Duca  <nduca@chromium.org>
2864
2865         [chromium] Remove resizeOnscreenContent from LRC. It can be derived.
2866         https://bugs.webkit.org/show_bug.cgi?id=65519
2867
2868         Reviewed by James Robinson.
2869
2870         * src/WebViewImpl.cpp:
2871         (WebKit::WebViewImpl::resize):
2872         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2873
2874 2011-08-01  Jean-luc Brouillet  <jeanluc@chromium.org>
2875
2876         Removing old source files in gyp files that slow build
2877         https://bugs.webkit.org/show_bug.cgi?id=65503
2878
2879         Reviewed by Adam Barth.
2880
2881         A number of stale files are listed in the gyp files. These slow the
2882         build on Visual Studio 2010. Removing them.
2883
2884         * WebKit.gyp:
2885
2886 2011-08-01  Nat Duca  <nduca@chromium.org>
2887
2888         [chromium] Add null check to setSwapbuffersCompletCallbackChromium
2889         https://bugs.webkit.org/show_bug.cgi?id=65485
2890
2891         Reviewed by James Robinson.
2892
2893         * src/GraphicsContext3DChromium.cpp:
2894         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
2895
2896 2011-08-01  Yuta Kitamura  <yutak@chromium.org>
2897
2898         WebSocket: Rename SocketStreamHandleClient member functions
2899         https://bugs.webkit.org/show_bug.cgi?id=65374
2900
2901         Reviewed by Kent Tamura.
2902
2903         * src/SocketStreamHandle.cpp:
2904         (WebCore::SocketStreamHandleInternal::didOpenStream):
2905         (WebCore::SocketStreamHandleInternal::didReceiveData):
2906         (WebCore::SocketStreamHandleInternal::didClose):
2907         (WebCore::SocketStreamHandleInternal::didFail):
2908
2909 2011-07-31  Bill Budge  <bbudge@chromium.org>
2910
2911         [Chromium] Remove the parameterless WebFrame::createAssociatedURLLoader
2912         overload, and change the overload that takes WebURLLoaderOptions to
2913         use a default value. This is equivalent to the original parameterless
2914         overload.
2915         https://bugs.webkit.org/show_bug.cgi?id=65280
2916
2917         Reviewed by Darin Fisher.
2918
2919         * public/WebFrame.h:
2920         * src/AssociatedURLLoader.cpp:
2921         * src/AssociatedURLLoader.h:
2922         * src/WebFrameImpl.cpp:
2923         * src/WebFrameImpl.h:
2924
2925 2011-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2926
2927         Unreviewed.  Rolled DEPS.
2928
2929         * DEPS:
2930
2931 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
2932
2933         Remove inclusion of MainThread.h from Threading.h
2934         https://bugs.webkit.org/show_bug.cgi?id=65081
2935
2936         Reviewed by Darin Adler.
2937
2938         Add missing include statements for MainThread.
2939
2940         * src/WebKit.cpp:
2941         * src/WebViewImpl.cpp:
2942         * tests/CCThreadTest.cpp:
2943
2944 2011-07-29  Zhenyao Mo  <zmo@google.com>
2945
2946         Unreviewed, rolling out r92011.
2947         http://trac.webkit.org/changeset/92011
2948         https://bugs.webkit.org/show_bug.cgi?id=65044
2949
2950         break chromium win build
2951
2952         * features.gypi:
2953         * src/WebFrameImpl.cpp:
2954         (WebKit::WebFrameImpl::createFrameView):
2955         * src/WebPopupMenuImpl.cpp:
2956         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2957         (WebKit::WebPopupMenuImpl::handleInputEvent):
2958         * src/WebPopupMenuImpl.h:
2959         * src/WebViewImpl.cpp:
2960         (WebKit::WebViewImpl::WebViewImpl):
2961         (WebKit::WebViewImpl::touchEvent):
2962         * src/WebViewImpl.h:
2963
2964 2011-07-29  Robert Kroeger  <rjkroege@chromium.org>
2965
2966         [chromium] Layering violations in gesture recognizer
2967         https://bugs.webkit.org/show_bug.cgi?id=65044
2968
2969         Reviewed by Adam Barth.
2970
2971         Moved gesture recognition higher up the event delivery code
2972         path so that recognition of gestures is completely separated
2973         from gesture handling.
2974
2975         * features.gypi:
2976         * src/WebFrameImpl.cpp:
2977         (WebKit::WebFrameImpl::createFrameView):
2978         Added code to reset the gesture recognizer to preserve parallel
2979         layout test execution.
2980         * src/WebPopupMenuImpl.cpp:
2981         Support dispatching touch and gesture events to Popups.
2982         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
2983         (WebKit::WebPopupMenuImpl::TouchEvent):
2984         (WebKit::WebPopupMenuImpl::handleInputEvent):
2985         * src/WebPopupMenuImpl.h:
2986         * src/WebViewImpl.cpp:
2987         (WebKit::WebViewImpl::WebViewImpl):
2988         Added gesture recognition creation.
2989         (WebKit::WebViewImpl::touchEvent):
2990         Added recognition of gestures and dispatch of gesture events.
2991         (WebKit::WebViewImpl::resetGestureRecognizer):
2992         * src/WebViewImpl.h:
2993
2994 2011-07-29  Scott Byer  <scottbyer@chromium.org>
2995
2996         Scroll animation refinements.
2997         https://bugs.webkit.org/show_bug.cgi?id=65154
2998
2999         Reviewed by Adam Barth.
3000
3001         Fix scroll animation bugs when scrolling to the ends of a document. Smooth over slow event repeat rates
3002         better. Fix tests to allow for unit testing of scrolling up and not just down.
3003
3004         Additional unit tests added to ScrollAnimatorNoneTest:
3005         ScrollQuadraticSmoothed, ScrollLotsQuadraticSmoothed, ScrollDownToBumper, ScrollUpToBumper
3006         
3007         * tests/ScrollAnimatorNoneTest.cpp:
3008         (ScrollAnimatorNoneTest::reset):
3009         (ScrollAnimatorNoneTest::updateDataFromParameters):
3010         (ScrollAnimatorNoneTest::animateScroll):
3011         (ScrollAnimatorNoneTest::checkDesiredPosition):
3012         (ScrollAnimatorNoneTest::checkSoftLanding):
3013
3014 2011-07-28  Naoki Takano  <honten@chromium.org>
3015
3016         [Chromium] Add form() function to access parent WebFormElement from WebFormControlElement.
3017         https://bugs.webkit.org/show_bug.cgi?id=65304
3018         http://code.google.com/p/chromium/issues/detail?id=63553
3019
3020         Reviewed by Darin Fisher.
3021
3022         Chromium Autofill feature needs to access the parent WebFormElement from WebFormControlElement. So added form() method.
3023
3024         * public/WebFormControlElement.h: Add form() function.
3025         * src/WebFormControlElement.cpp:
3026         (WebKit::WebFormControlElement::form): Return parent WebFormElement.
3027
3028 2011-07-28  Nico Weber  <thakis@chromium.org>
3029
3030         [chromium] Make WebImage::assign(CGImageRef) a WEBKIT_API
3031         https://bugs.webkit.org/show_bug.cgi?id=65265
3032
3033         Reviewed by James Robinson.
3034
3035         Required for the components build on mac. The inline function
3036         operator=(CGImageRef) is used from outside webkit, and calls this
3037         function.
3038
3039         * public/WebImage.h:
3040
3041 2011-07-28  Mihai Parparita  <mihaip@chromium.org>
3042
3043         [Chromium] Remove WebDocument::insertStyleText
3044         https://bugs.webkit.org/show_bug.cgi?id=65332
3045
3046         Reviewed by Tony Chang.
3047
3048         As of http://crrev.com/94499 no Chromium code calls this anymore.
3049         Also does a bit of #include cleanup.
3050
3051         * public/WebDocument.h:
3052         * src/WebDocument.cpp:
3053
3054 2011-07-27  Fady Samuel  <fsamuel@chromium.org>
3055
3056         Added a Chromium WebKit API method to set the minimum row height of a popup listbox.
3057         https://bugs.webkit.org/show_bug.cgi?id=64897
3058
3059         Reviewed by Darin Fisher.
3060
3061         * public/WebPopupMenu.h:
3062         * src/WebPopupMenuImpl.cpp:
3063         (WebKit::WebPopupMenu::setMinimumRowHeight):
3064
3065 2011-07-27  Peng Huang  <penghuang@chromium.org>
3066
3067         Add more text input types for chromium
3068         https://bugs.webkit.org/show_bug.cgi?id=64937
3069
3070         Reviewed by Darin Fisher.
3071
3072         * public/WebTextInputType.h:
3073         * src/WebViewImpl.cpp:
3074         (WebKit::WebViewImpl::textInputType):
3075
3076 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
3077
3078         Add sfntly library to the Chromium DEPS file.
3079
3080         * DEPS:
3081
3082 2011-07-27  Ryosuke Niwa  <rniwa@webkit.org>
3083
3084         Unreviewed.  Rolled DEPS.
3085
3086         * DEPS:
3087
3088 2011-07-25  Mihai Parparita  <mihaip@chromium.org>
3089
3090         [Chromium] Add better WebKit API for chrome.tabs.insertCSS extension API
3091         https://bugs.webkit.org/show_bug.cgi?id=65158
3092
3093         Reviewed by David Hyatt.
3094
3095         Add WebDocument::insertUserStyleSheet which inserts a user stylesheet,
3096         instead of forcing extensions to use insertStyleText which manipulates
3097         the DOM of the page and results in compatibility issues (see
3098         http://crbug.com/82220).
3099
3100         * public/WebDocument.h:
3101         * src/WebDocument.cpp:
3102         (WebKit::WebDocument::insertUserStyleSheet):
3103
3104 2011-07-27  Vsevolod Vlasov  <vsevik@chromium.org>
3105
3106         Web Inspector: Disable cache option should only clear memory cache, not disable it.
3107         https://bugs.webkit.org/show_bug.cgi?id=65184
3108
3109         Reviewed by Pavel Feldman.
3110
3111         * src/InspectorClientImpl.cpp:
3112         * src/InspectorClientImpl.h:
3113         * src/WebDevToolsAgentImpl.cpp:
3114         * src/WebDevToolsAgentImpl.h:
3115
3116 2011-07-27  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3117
3118         Pass on the suggested name for download file to the client.
3119         https://bugs.webkit.org/show_bug.cgi?id=65181
3120
3121         Reviewed by Darin Fisher.
3122
3123         * src/FrameLoaderClientImpl.cpp:
3124         (WebKit::FrameLoaderClientImpl::startDownload):
3125
3126 2011-07-27  Tony Gentilcore  <tonyg@chromium.org>
3127
3128         Speculative win build fix after r91835
3129         https://bugs.webkit.org/show_bug.cgi?id=65255
3130
3131         Unreviewed build fix.
3132
3133         * src/WebFontImpl.cpp:
3134
3135 2011-07-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3136
3137         Unreviewed, rolling out r91809.
3138         http://trac.webkit.org/changeset/91809
3139         https://bugs.webkit.org/show_bug.cgi?id=65225
3140
3141         Does not build on Chromium Windows (Requested by abarth on
3142         #webkit).
3143
3144         * features.gypi:
3145         * src/WebFrameImpl.cpp:
3146         (WebKit::WebFrameImpl::createFrameView):
3147         * src/WebPopupMenuImpl.cpp:
3148         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
3149         (WebKit::WebPopupMenuImpl::handleInputEvent):
3150         * src/WebPopupMenuImpl.h:
3151         * src/WebViewImpl.cpp:
3152         (WebKit::WebViewImpl::WebViewImpl):
3153         (WebKit::WebViewImpl::touchEvent):
3154         * src/WebViewImpl.h:
3155
3156 2011-07-26  Robert Kroeger  <rjkroege@chromium.org>
3157
3158         [chromium] Layering violations in gesture recognizer
3159         https://bugs.webkit.org/show_bug.cgi?id=65044
3160
3161         Reviewed by Adam Barth.
3162
3163         Moved gesture recognition higher up the event delivery code
3164         path so that recognition of gestures is completely separated
3165         from gesture handling.
3166
3167         * features.gypi:
3168         * src/WebFrameImpl.cpp:
3169         (WebKit::WebFrameImpl::createFrameView):
3170         Added code to reset the gesture recognizer to preserve parallel
3171         layout test execution.
3172         * src/WebPopupMenuImpl.cpp:
3173         Support dispatching touch and gesture events to Popups.
3174         (WebKit::WebPopupMenuImpl::WebPopupMenuImpl):
3175         (WebKit::WebPopupMenuImpl::TouchEvent):
3176         (WebKit::WebPopupMenuImpl::handleInputEvent):
3177         * src/WebPopupMenuImpl.h:
3178         * src/WebViewImpl.cpp:
3179         (WebKit::WebViewImpl::WebViewImpl):
3180         Added gesture recognition creation.
3181         (WebKit::WebViewImpl::touchEvent):
3182         Added recognition of gestures and dispatch of gesture events.
3183         (WebKit::WebViewImpl::resetGestureRecognizer):
3184         * src/WebViewImpl.h:
3185
3186 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
3187
3188         Add support for download='filename' attribute in anchors.
3189         https://bugs.webkit.org/show_bug.cgi?id=64580
3190
3191         Reviewed by Adam Barth.
3192
3193         * features.gypi:
3194         * public/WebFrameClient.h:
3195         (WebKit::WebFrameClient::loadURLExternally):
3196         * src/FrameLoaderClientImpl.cpp:
3197         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForNavigationAction):
3198         (WebKit::FrameLoaderClientImpl::startDownload):
3199         * src/FrameLoaderClientImpl.h:
3200
3201 2011-07-26  Brett Wilson  <brettw@chromium.org>
3202
3203         Cancel the load when an associated URL loader goes out of scope.
3204         Previously, the load would continue even when the WebURLLoader object
3205         was deleted, and the data would just get queued up.
3206
3207         https://bugs.webkit.org/show_bug.cgi?id=65204
3208
3209         Reviewed by Darin Fisher.
3210
3211         * src/AssociatedURLLoader.cpp:
3212         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3213         (WebKit::AssociatedURLLoader::cancel):
3214
3215 2011-07-25  Al Patrick  <apatrick@chromium.org>
3216
3217         Removed support for the GL_latch_CHROMIUM extension which Chromium no longer supports.
3218         https://bugs.webkit.org/show_bug.cgi?id=65043
3219
3220         Reviewed by James Robinson.
3221
3222         * public/WebGraphicsContext3D.h:
3223         * src/Extensions3DChromium.cpp:
3224         * src/GraphicsContext3DChromium.cpp:
3225         * src/GraphicsContext3DInternal.h:
3226
3227 2011-07-25  Nico Weber  <thakis@chromium.org>
3228
3229         [chromium] Don't link in both libjpeg and libjpeg_turbo in the components build
3230         https://bugs.webkit.org/show_bug.cgi?id=65138
3231
3232         Reviewed by James Robinson.
3233
3234         * WebKit.gyp:
3235
3236 2011-07-25  Chris Rogers  <crogers@google.com>
3237
3238         Update Chromium DRT to output binary (instead of base64-encoded) data for web audio testing
3239         https://bugs.webkit.org/show_bug.cgi?id=65039
3240
3241         Reviewed by Tony Chang.
3242
3243         * WebKit.gyp:
3244         * public/WebArrayBufferView.h: Added.
3245         (WebKit::WebArrayBufferView::~WebArrayBufferView):
3246         (WebKit::WebArrayBufferView::WebArrayBufferView):
3247         * public/WebBindings.h:
3248         * src/WebArrayBufferView.cpp: Added.
3249         (WebKit::WebArrayBufferView::assign):
3250         (WebKit::WebArrayBufferView::reset):
3251         (WebKit::WebArrayBufferView::baseAddress):
3252         (WebKit::WebArrayBufferView::byteOffset):
3253         (WebKit::WebArrayBufferView::byteLength):
3254         (WebKit::WebArrayBufferView::WebArrayBufferView):
3255         (WebKit::WebArrayBufferView::operator=):
3256         (WebKit::WebArrayBufferView::operator PassRefPtr<ArrayBufferView>):
3257         * src/WebBindings.cpp:
3258         (WebKit::getArrayBufferViewImpl):
3259         (WebKit::WebBindings::getArrayBufferView):
3260
3261 2011-07-23  Alok Priyadarshi  <alokp@chromium.org>
3262
3263         Switching off acceleration for small canvas broke gpu tests
3264         https://bugs.webkit.org/show_bug.cgi?id=65053
3265
3266         Reviewed by Stephen White.
3267
3268         * public/WebSettings.h:
3269         * src/WebSettingsImpl.cpp:
3270         (WebKit::WebSettingsImpl::setMinimumAccelerated2dCanvasSize):
3271         * src/WebSettingsImpl.h:
3272
3273 2011-07-23  Yuta Kitamura  <yutak@chromium.org>
3274
3275         [Chromium] Turn on new WebSocket protocol in worker shadow page
3276         https://bugs.webkit.org/show_bug.cgi?id=64852
3277
3278         Reviewed by Dmitry Titov.
3279
3280         * src/WebWorkerBase.cpp:
3281         (WebKit::WebWorkerBase::initializeLoader):
3282         Initialize the value of WebCore::Settings::useHixie76WebSocketProtocol()
3283         for a new shadow page. The default value of this flag is overridden through
3284         WebPreferences (located in webkit/glue in Chromium source tree) but a shadow
3285         page does not receive the preference values from it.
3286
3287 2011-07-22  James Robinson  <jamesr@chromium.org>
3288
3289         [chromium] Remove code that attempted to explicitly sync compositing state before compositing
3290         https://bugs.webkit.org/show_bug.cgi?id=65055
3291
3292         Reviewed by Kenneth Russell.
3293
3294         There was some logic in WebViewImpl to try to synchronously calculate compositing requirements and sync
3295         compositing state on all frames before painting in an attempt to flush out all pending updates before entering
3296         the composite routines. The idea behind this code was that it would allow us to not worry about compositing
3297         turning off in the middle of a composite operation due to things like RenderLayer overlap being lazily
3298         calculated.  In practice, we still need to be defensive to compositing requirements updating during the
3299         composite anyway and this code is quite expensive on some pages (10ms+ on the HTML specification on my box).
3300
3301         * src/WebViewImpl.cpp:
3302         (WebKit::WebViewImpl::layout):
3303         * src/WebViewImpl.h:
3304
3305 2011-07-22  Cris Neckar  <cdn@chromium.org>
3306
3307         Hook v8 up to cryptographicallyRandomValues as an entropy source.
3308         https://bugs.webkit.org/show_bug.cgi?id=64887
3309
3310         Reviewed by Adam Barth.
3311
3312         * public/WebKitClient.h:
3313         * src/WebKit.cpp:
3314         (WebKit::generateEntropy):
3315         (WebKit::initialize):
3316
3317 2011-07-22  Andrew Scherkus  <scherkus@chromium.org>
3318
3319         Remove surfaceType() and texture() methods from Chromium video frame classes.
3320         https://bugs.webkit.org/show_bug.cgi?id=64818
3321
3322         Reviewed by Kenneth Russell.
3323
3324         * public/WebVideoFrame.h:
3325         * src/AssertMatchingEnums.cpp:
3326         * src/VideoFrameChromiumImpl.cpp:
3327         * src/VideoFrameChromiumImpl.h:
3328
3329 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
3330
3331         Unreviewed.  Rolled DEPS.
3332
3333         * DEPS:
3334
3335 2011-07-22  Ryosuke Niwa  <rniwa@webkit.org>
3336
3337         Revert r91510 due to Chromium debug test failures.
3338
3339         * src/WebKit.cpp:
3340         (WebKit::initialize):
3341
3342 2011-07-20  Cris Neckar  <cdn@chromium.org>
3343
3344         Hook v8 up to cryptographicallyRandomValues as an entropy source.
3345         https://bugs.webkit.org/show_bug.cgi?id=64887
3346
3347         Reviewed by Adam Barth.
3348
3349         * src/WebKit.cpp:
3350         (WebKit::generateEntropy):
3351         (WebKit::initialize):
3352
3353 2011-07-21  Vsevolod Vlasov  <vsevik@chromium.org>
3354
3355         [Chromium DevTools] Remove unused method setAgentIdentifierPrefix from WebDevToolAgent.
3356         https://bugs.webkit.org/show_bug.cgi?id=64793
3357
3358         Reviewed by Pavel Feldman.
3359
3360         * public/WebDevToolsAgent.h:
3361         * src/WebDevToolsAgentImpl.cpp:
3362         * src/WebDevToolsAgentImpl.h:
3363
3364 2011-07-21  Ryosuke Niwa  <rniwa@webkit.org>
3365
3366         Unreviewed.  Rolled DEPS.
3367
3368         * DEPS:
3369
3370 2011-07-20  Al Patrick  <apatrick@chromium.org>
3371
3372         Set the parent context to that of the associated view when calling GraphicsContext3DChromium::copyTextureToParentCHROMIUM.
3373         This fixes a race condition whereby the view window does not exist when the offscreen context is created. It allows
3374         accelerated 2D canvases to be added to newly created window.
3375         https://bugs.webkit.org/show_bug.cgi?id=64905
3376
3377         Reviewed by James Robinson.
3378
3379         * src/GraphicsContext3DChromium.cpp:
3380         (WebCore::GraphicsContext3DInternal::copyTextureToParentTextureCHROMIUM):
3381
3382 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
3383
3384         Web Inspector: Add support for disabling cache in web inspector.
3385         https://bugs.webkit.org/show_bug.cgi?id=64097
3386
3387         Reviewed by Pavel Feldman.
3388
3389         * src/InspectorClientImpl.cpp:
3390         (WebKit::InspectorClientImpl::setCacheDisabled):
3391         * src/InspectorClientImpl.h:
3392         * src/WebDevToolsAgentImpl.cpp:
3393         (WebKit::WebDevToolsAgentImpl::setCacheDisabled):
3394         * src/WebDevToolsAgentImpl.h:
3395         * src/js/DevTools.js:
3396         ():
3397
3398 2011-07-20  Peter Kasting  <pkasting@google.com>
3399
3400         Remove "const" from obviously-non-const accessors
3401         https://bugs.webkit.org/show_bug.cgi?id=62302
3402
3403         Reviewed by Darin Adler.
3404
3405         * public/WebElement.h:
3406         * src/WebElement.cpp:
3407         (WebKit::WebElement::innerText): Not const due to call to newly-non-const Element::innerText().
3408         * src/WebSearchableFormData.cpp: Use non-const Node*s for code that calls newly non-const accessors.
3409         (HTMLNames::IsSelectInDefaultState):
3410         (HTMLNames::IsInDefaultState):
3411         * src/WebViewImpl.cpp: Use non-const Node*s for code that calls newly non-const accessors.
3412         (WebKit::WebViewImpl::setComposition):
3413         (WebKit::WebViewImpl::confirmComposition):
3414         (WebKit::WebViewImpl::textInputType):
3415
3416 2011-07-20  Ilya Sherman  <isherman@chromium.org>
3417
3418         Remove TODO in WebNode.h from a two-sided patch that has now landed
3419         https://bugs.webkit.org/show_bug.cgi?id=64840
3420
3421         Reviewed by Darin Fisher.
3422
3423         * public/WebNode.h:
3424
3425 2011-07-20  Glen Shires  <gshires@google.com>
3426
3427         Bug 64625: Add isSpeechInputEnabled flag to WebContextMenuData.
3428         https://bugs.webkit.org/show_bug.cgi?id=64625
3429
3430         Reviewed by Darin Fisher.
3431
3432         * public/WebContextMenuData.h:
3433         (WebKit::WebContextMenuData::WebContextMenuData): added flag isSpeechInputEnabled
3434         * src/ContextMenuClientImpl.cpp:
3435         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): set flag isSpeechInputEnabled
3436
3437 2011-07-20  Andrey Kosyakov  <caseq@chromium.org>
3438
3439         Web Inspector: move Network log view to an iframe
3440         https://bugs.webkit.org/show_bug.cgi?id=62006
3441
3442         Reviewed by Pavel Feldman.
3443
3444         * WebKit.gyp:
3445
3446 2011-07-19  Ryosuke Niwa  <rniwa@webkit.org>
3447
3448         Unreviewed.  Rolled DEPS.
3449
3450         * DEPS:
3451
3452 2011-07-19  Dominic Mazzoni  <dmazzoni@google.com>
3453
3454         Adds some methods to retrieve accessible information from tables and
3455         table cells. Also refactors WebAccessibilityObject to use WebPrivatePtr
3456         instead of its own implementation that didn't allow access to subclasses
3457         of AccessibilityObject.
3458         https://bugs.webkit.org/show_bug.cgi?id=64805
3459
3460         Reviewed by Dimitri Glazkov.
3461
3462         * public/WebAccessibilityObject.h:
3463         (WebKit::WebAccessibilityObject::WebAccessibilityObject):
3464         (WebKit::WebAccessibilityObject::isNull):
3465         * src/WebAccessibilityObject.cpp:
3466         (WebKit::WebAccessibilityObject::reset):
3467         (WebKit::WebAccessibilityObject::assign):
3468         (WebKit::WebAccessibilityObject::equals):
3469         (WebKit::WebAccessibilityObject::accessibilityDescription):
3470         (WebKit::WebAccessibilityObject::actionVerb):
3471         (WebKit::WebAccessibilityObject::canSetFocusAttribute):
3472         (WebKit::WebAccessibilityObject::canSetValueAttribute):
3473         (WebKit::WebAccessibilityObject::isValid):
3474         (WebKit::WebAccessibilityObject::childCount):
3475         (WebKit::WebAccessibilityObject::childAt):
3476         (WebKit::WebAccessibilityObject::firstChild):
3477         (WebKit::WebAccessibilityObject::focusedChild):
3478         (WebKit::WebAccessibilityObject::lastChild):
3479         (WebKit::WebAccessibilityObject::nextSibling):
3480         (WebKit::WebAccessibilityObject::parentObject):
3481         (WebKit::WebAccessibilityObject::previousSibling):
3482         (WebKit::WebAccessibilityObject::canSetSelectedAttribute):
3483         (WebKit::WebAccessibilityObject::isAnchor):
3484         (WebKit::WebAccessibilityObject::isChecked):
3485         (WebKit::WebAccessibilityObject::isCollapsed):