2011-01-21 Chris Rogers <crogers@google.com>
[WebKit.git] / Source / WebKit / chromium / ChangeLog
1 2011-01-21  Chris Rogers  <crogers@google.com>
2
3         Reviewed by Kenneth Russell.
4
5         Add chromium bundled audio spatialization resources to WebAudio.grd
6         https://bugs.webkit.org/show_bug.cgi?id=52651
7
8         * WebKit.grd:
9
10 2011-01-21  Xiyuan Xia  <xiyuan@chromium.org>
11
12         Reviewed by Tony Chang.
13
14         Use WebThemeEngine for relevant RenderTheme parts for chromium/linux.
15         https://bugs.webkit.org/show_bug.cgi?id=52826
16
17         * WebKit.gyp:
18         * src/ChromiumBridge.cpp:
19         (WebCore::WebThemePart):
20         (WebCore::GetWebThemeExtraParams):
21
22 2011-01-21  Sam Weinig  <sam@webkit.org>
23
24         Reviewed by Anders Carlsson.
25
26         Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
27         https://bugs.webkit.org/show_bug.cgi?id=52779
28
29         Rename ScrollbarClient -> ScrollableArea.
30
31         * src/AutoFillPopupMenuClient.cpp:
32         (WebKit::AutoFillPopupMenuClient::createScrollbar):
33         * src/AutoFillPopupMenuClient.h:
34         * src/WebScrollbarImpl.cpp:
35         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
36         (WebKit::WebScrollbarImpl::scroll):
37         (WebKit::WebScrollbarImpl::onMouseWheel):
38         (WebKit::WebScrollbarImpl::onKeyDown):
39         * src/WebScrollbarImpl.h:
40         * tests/PopupMenuTest.cpp:
41         (WebKit::TestPopupMenuClient::createScrollbar):
42
43 2011-01-21  Sailesh Agrawal  <sail@chromium.org>
44
45         Reviewed by Ryosuke Niwa.
46
47         [chromium] Notify WebFrameClient when spellcheck state changes
48         https://bugs.webkit.org/show_bug.cgi?id=52680
49
50         * public/WebFrameClient.h:
51         (WebKit::WebFrameClient::continuousSpellCheckingEnabledStateChanged):
52         * src/EditorClientImpl.cpp:
53         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
54         * src/WebFrameImpl.cpp:
55
56 2011-01-21  Tony Chang  <tony@chromium.org>
57
58         Unreviewed, updating chromium DEPS so we can pull in linux theme changes.
59
60         * DEPS:
61
62 2011-01-21  Adam Klein  <adamk@chromium.org>
63
64         Reviewed by Eric Seidel.
65
66         [chromium] Rename ChromiumBridge to PlatformBridge
67         https://bugs.webkit.org/show_bug.cgi?id=52471
68
69         * WebKit.gyp:
70         * src/AssertMatchingEnums.cpp:
71         * src/PlatformBridge.cpp:
72         (WebCore::toChromeClientImpl):
73         (WebCore::toWebWidgetClient):
74         (WebCore::getCookieJar):
75         (WebCore::PlatformBridge::cacheMetadata):
76         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
77         (WebCore::PlatformBridge::clipboardReadPlainText):
78         (WebCore::PlatformBridge::clipboardReadHTML):
79         (WebCore::PlatformBridge::clipboardWriteSelection):
80         (WebCore::PlatformBridge::clipboardWritePlainText):
81         (WebCore::PlatformBridge::clipboardWriteURL):
82         (WebCore::PlatformBridge::clipboardWriteImage):
83         (WebCore::PlatformBridge::clipboardWriteData):
84         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
85         (WebCore::PlatformBridge::clipboardReadData):
86         (WebCore::PlatformBridge::clipboardReadFilenames):
87         (WebCore::PlatformBridge::setCookies):
88         (WebCore::PlatformBridge::cookies):
89         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
90         (WebCore::PlatformBridge::rawCookies):
91         (WebCore::PlatformBridge::deleteCookie):
92         (WebCore::PlatformBridge::cookiesEnabled):
93         (WebCore::PlatformBridge::prefetchDNS):
94         (WebCore::PlatformBridge::fileExists):
95         (WebCore::PlatformBridge::deleteFile):
96         (WebCore::PlatformBridge::deleteEmptyDirectory):
97         (WebCore::PlatformBridge::getFileSize):
98         (WebCore::PlatformBridge::revealFolderInOS):
99         (WebCore::PlatformBridge::getFileModificationTime):
100         (WebCore::PlatformBridge::directoryName):
101         (WebCore::PlatformBridge::pathByAppendingComponent):
102         (WebCore::PlatformBridge::makeAllDirectories):
103         (WebCore::PlatformBridge::getAbsolutePath):
104         (WebCore::PlatformBridge::isDirectory):
105         (WebCore::PlatformBridge::filePathToURL):
106         (WebCore::PlatformBridge::openFile):
107         (WebCore::PlatformBridge::closeFile):
108         (WebCore::PlatformBridge::seekFile):
109         (WebCore::PlatformBridge::truncateFile):
110         (WebCore::PlatformBridge::readFromFile):
111         (WebCore::PlatformBridge::writeToFile):
112         (WebCore::PlatformBridge::ensureFontLoaded):
113         (WebCore::PlatformBridge::getFontFamilyForCharacters):
114         (WebCore::PlatformBridge::getRenderStyleForStrike):
115         (WebCore::PlatformBridge::loadFont):
116         (WebCore::PlatformBridge::databaseOpenFile):
117         (WebCore::PlatformBridge::databaseDeleteFile):
118         (WebCore::PlatformBridge::databaseGetFileAttributes):
119         (WebCore::PlatformBridge::databaseGetFileSize):
120         (WebCore::PlatformBridge::idbFactory):
121         (WebCore::PlatformBridge::idbShutdown):
122         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
123         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
124         (WebCore::PlatformBridge::computedDefaultLanguage):
125         (WebCore::PlatformBridge::layoutTestMode):
126         (WebCore::PlatformBridge::isSupportedImageMIMEType):
127         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
128         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
129         (WebCore::PlatformBridge::mimeTypeForExtension):
130         (WebCore::PlatformBridge::mimeTypeFromFile):
131         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
132         (WebCore::PlatformBridge::plugins):
133         (WebCore::PlatformBridge::pluginScriptableObject):
134         (WebCore::PlatformBridge::loadPlatformImageResource):
135         (WebCore::PlatformBridge::loadPlatformAudioResource):
136         (WebCore::PlatformBridge::decodeAudioFileData):
137         (WebCore::PlatformBridge::sandboxEnabled):
138         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
139         (WebCore::PlatformBridge::setSharedTimerFireTime):
140         (WebCore::PlatformBridge::stopSharedTimer):
141         (WebCore::PlatformBridge::decrementStatsCounter):
142         (WebCore::PlatformBridge::incrementStatsCounter):
143         (WebCore::PlatformBridge::histogramCustomCounts):
144         (WebCore::PlatformBridge::histogramEnumeration):
145         (WebCore::PlatformBridge::suddenTerminationChanged):
146         (WebCore::PlatformBridge::currentTime):
147         (WebCore::PlatformBridge::paintButton):
148         (WebCore::PlatformBridge::paintMenuList):
149         (WebCore::PlatformBridge::paintScrollbarArrow):
150         (WebCore::PlatformBridge::paintScrollbarThumb):
151         (WebCore::PlatformBridge::paintScrollbarTrack):
152         (WebCore::PlatformBridge::paintSpinButton):
153         (WebCore::PlatformBridge::paintTextField):
154         (WebCore::PlatformBridge::paintTrackbar):
155         (WebCore::PlatformBridge::paintProgressBar):
156         (WebCore::WebThemePart):
157         (WebCore::WebThemeState):
158         (WebCore::GetWebThemeExtraParams):
159         (WebCore::PlatformBridge::getThemePartSize):
160         (WebCore::PlatformBridge::paintThemePart):
161         (WebCore::PlatformBridge::traceEventBegin):
162         (WebCore::PlatformBridge::traceEventEnd):
163         (WebCore::PlatformBridge::visitedLinkHash):
164         (WebCore::PlatformBridge::isLinkVisited):
165         (WebCore::PlatformBridge::notifyJSOutOfMemory):
166         (WebCore::PlatformBridge::memoryUsageMB):
167         (WebCore::PlatformBridge::actualMemoryUsageMB):
168         (WebCore::PlatformBridge::screenDepth):
169         (WebCore::PlatformBridge::screenDepthPerComponent):
170         (WebCore::PlatformBridge::screenIsMonochrome):
171         (WebCore::PlatformBridge::screenRect):
172         (WebCore::PlatformBridge::screenAvailableRect):
173         (WebCore::PlatformBridge::popupsAllowed):
174         (WebCore::WorkerContextProxy::create):
175         * src/ResourceHandle.cpp:
176         (WebCore::ResourceHandle::cacheMetadata):
177         * src/WebFrameImpl.cpp:
178         (WebKit::WebFrameImpl::WebFrameImpl):
179         (WebKit::WebFrameImpl::~WebFrameImpl):
180         * src/WebViewImpl.cpp:
181         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
182
183 2011-01-20  Adam Klein  <adamk@chromium.org>
184
185         Reviewed by Andreas Kling.
186
187         [chromium] Remove deprecated WebKit::nameOfInputElement function
188         https://bugs.webkit.org/show_bug.cgi?id=52824
189
190         * src/DOMUtilitiesPrivate.cpp:
191         * src/DOMUtilitiesPrivate.h:
192
193 2011-01-20  Sam Weinig  <sam@webkit.org>
194
195         Reviewed by Dave Hyatt.
196
197         Cleanup Scrollbar/ScrollbarClient relationship
198         https://bugs.webkit.org/show_bug.cgi?id=52779
199
200         * src/WebScrollbarImpl.cpp:
201         (WebKit::WebScrollbarImpl::WebScrollbarImpl):
202         (WebKit::WebScrollbarImpl::value):
203         (WebKit::WebScrollbarImpl::setValue):
204         (WebKit::WebScrollbarImpl::scroll):
205         (WebKit::WebScrollbarImpl::onMouseDown):
206         (WebKit::WebScrollbarImpl::onMouseMove):
207         (WebKit::WebScrollbarImpl::onMouseWheel):
208         (WebKit::WebScrollbarImpl::onKeyDown):
209         (WebKit::WebScrollbarImpl::scrollPosition):
210         (WebKit::WebScrollbarImpl::setScrollOffset):
211         * src/WebScrollbarImpl.h:
212
213 2011-01-20  James Robinson  <jamesr@chromium.org>
214
215         Reviewed by Darin Fisher.
216
217         Implement mozilla's requestAnimationFrame API
218         https://bugs.webkit.org/show_bug.cgi?id=51218
219
220         Chromium WebKit API support for window.webkitRequestAnimationFrame()
221
222         * features.gypi:
223         * public/WebWidget.h:
224         * public/WebWidgetClient.h:
225         (WebKit::WebWidgetClient::scheduleAnimation):
226         * src/ChromeClientImpl.cpp:
227         (WebKit::ChromeClientImpl::scheduleAnimation):
228         * src/ChromeClientImpl.h:
229         * src/WebPopupMenuImpl.cpp:
230         (WebKit::WebPopupMenuImpl::animate):
231         (WebKit::WebPopupMenuImpl::scheduleAnimation):
232         * src/WebPopupMenuImpl.h:
233         * src/WebViewImpl.cpp:
234         (WebKit::WebViewImpl::animate):
235         * src/WebViewImpl.h:
236
237 2010-12-14  Yury Semikhatsky  <yurys@chromium.org>
238
239         Reviewed by Adam Barth.
240
241         [V8] Get rid of delayed exception reporting in V8ConsoleMessage.cpp
242         https://bugs.webkit.org/show_bug.cgi?id=51044
243
244         * src/ChromeClientImpl.cpp:
245         (WebKit::ChromeClientImpl::runJavaScriptAlert):
246         * src/WebScriptController.cpp:
247         (WebKit::WebScriptController::flushConsoleMessages):
248
249 2010-12-27  Yury Semikhatsky  <yurys@chromium.org>
250
251         Reviewed by Pavel Feldman.
252
253         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
254         https://bugs.webkit.org/show_bug.cgi?id=8519
255
256         Uncaught exceptions are propagated to window.onerror hander if one is present.
257         The handler is expected to be a function accepting three arguments: error message,
258         resource url and line number where the exception occured.
259
260         It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
261         were created in the same isolated world where the exception occured or not.
262
263         Tests: fast/events/window-onerror1.html
264                fast/events/window-onerror10.html
265                fast/events/window-onerror11.html
266                fast/events/window-onerror12.html
267                fast/events/window-onerror2.html
268                fast/events/window-onerror3.html
269                fast/events/window-onerror4.html
270                fast/events/window-onerror5.html
271                fast/events/window-onerror6.html
272                fast/events/window-onerror7.html
273                fast/events/window-onerror8.html
274                fast/events/window-onerror9.html
275                http/tests/security/window-onerror-exception-in-iframe.html
276                userscripts/window-onerror-for-isolated-world-1.html
277                userscripts/window-onerror-for-isolated-world-2.html
278
279         * src/WebWorkerClientImpl.cpp:
280         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
281         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
282         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
283         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
284
285 2011-01-19  Dmitry Titov  <dimich@chromium.org>
286
287         [Chromium] Unreviewed, build fix.
288
289         During revert of 76203, sheriffbot did not revert "rename+change" correctly.
290
291         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
292         (WebCore::toChromeClientImpl):
293         (WebCore::toWebWidgetClient):
294         (WebCore::getCookieJar):
295         (WebCore::ChromiumBridge::cacheMetadata):
296         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
297         (WebCore::ChromiumBridge::clipboardReadPlainText):
298         (WebCore::ChromiumBridge::clipboardReadHTML):
299         (WebCore::ChromiumBridge::clipboardWriteSelection):
300         (WebCore::ChromiumBridge::clipboardWritePlainText):
301         (WebCore::ChromiumBridge::clipboardWriteURL):
302         (WebCore::ChromiumBridge::clipboardWriteImage):
303         (WebCore::ChromiumBridge::clipboardWriteData):
304         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
305         (WebCore::ChromiumBridge::clipboardReadData):
306         (WebCore::ChromiumBridge::clipboardReadFilenames):
307         (WebCore::ChromiumBridge::setCookies):
308         (WebCore::ChromiumBridge::cookies):
309         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
310         (WebCore::ChromiumBridge::rawCookies):
311         (WebCore::ChromiumBridge::deleteCookie):
312         (WebCore::ChromiumBridge::cookiesEnabled):
313         (WebCore::ChromiumBridge::prefetchDNS):
314         (WebCore::ChromiumBridge::fileExists):
315         (WebCore::ChromiumBridge::deleteFile):
316         (WebCore::ChromiumBridge::deleteEmptyDirectory):
317         (WebCore::ChromiumBridge::getFileSize):
318         (WebCore::ChromiumBridge::revealFolderInOS):
319         (WebCore::ChromiumBridge::getFileModificationTime):
320         (WebCore::ChromiumBridge::directoryName):
321         (WebCore::ChromiumBridge::pathByAppendingComponent):
322         (WebCore::ChromiumBridge::makeAllDirectories):
323         (WebCore::ChromiumBridge::getAbsolutePath):
324         (WebCore::ChromiumBridge::isDirectory):
325         (WebCore::ChromiumBridge::filePathToURL):
326         (WebCore::ChromiumBridge::openFile):
327         (WebCore::ChromiumBridge::closeFile):
328         (WebCore::ChromiumBridge::seekFile):
329         (WebCore::ChromiumBridge::truncateFile):
330         (WebCore::ChromiumBridge::readFromFile):
331         (WebCore::ChromiumBridge::writeToFile):
332         (WebCore::ChromiumBridge::ensureFontLoaded):
333         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
334         (WebCore::ChromiumBridge::getRenderStyleForStrike):
335         (WebCore::ChromiumBridge::loadFont):
336         (WebCore::ChromiumBridge::databaseOpenFile):
337         (WebCore::ChromiumBridge::databaseDeleteFile):
338         (WebCore::ChromiumBridge::databaseGetFileAttributes):
339         (WebCore::ChromiumBridge::databaseGetFileSize):
340         (WebCore::ChromiumBridge::idbFactory):
341         (WebCore::ChromiumBridge::idbShutdown):
342         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
343         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
344         (WebCore::ChromiumBridge::computedDefaultLanguage):
345         (WebCore::ChromiumBridge::layoutTestMode):
346         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
347         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
348         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
349         (WebCore::ChromiumBridge::mimeTypeForExtension):
350         (WebCore::ChromiumBridge::mimeTypeFromFile):
351         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
352         (WebCore::ChromiumBridge::plugins):
353         (WebCore::ChromiumBridge::pluginScriptableObject):
354         (WebCore::ChromiumBridge::loadPlatformImageResource):
355         (WebCore::ChromiumBridge::loadPlatformAudioResource):
356         (WebCore::ChromiumBridge::decodeAudioFileData):
357         (WebCore::ChromiumBridge::sandboxEnabled):
358         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
359         (WebCore::ChromiumBridge::setSharedTimerFireTime):
360         (WebCore::ChromiumBridge::stopSharedTimer):
361         (WebCore::ChromiumBridge::decrementStatsCounter):
362         (WebCore::ChromiumBridge::incrementStatsCounter):
363         (WebCore::ChromiumBridge::histogramCustomCounts):
364         (WebCore::ChromiumBridge::histogramEnumeration):
365         (WebCore::ChromiumBridge::suddenTerminationChanged):
366         (WebCore::ChromiumBridge::currentTime):
367         (WebCore::ChromiumBridge::paintButton):
368         (WebCore::ChromiumBridge::paintMenuList):
369         (WebCore::ChromiumBridge::paintScrollbarArrow):
370         (WebCore::ChromiumBridge::paintScrollbarThumb):
371         (WebCore::ChromiumBridge::paintScrollbarTrack):
372         (WebCore::ChromiumBridge::paintSpinButton):
373         (WebCore::ChromiumBridge::paintTextField):
374         (WebCore::ChromiumBridge::paintTrackbar):
375         (WebCore::ChromiumBridge::paintProgressBar):
376         (WebCore::WebThemePart):
377         (WebCore::WebThemeState):
378         (WebCore::GetWebThemeExtraParams):
379         (WebCore::ChromiumBridge::getThemePartSize):
380         (WebCore::ChromiumBridge::paintThemePart):
381         (WebCore::ChromiumBridge::traceEventBegin):
382         (WebCore::ChromiumBridge::traceEventEnd):
383         (WebCore::ChromiumBridge::visitedLinkHash):
384         (WebCore::ChromiumBridge::isLinkVisited):
385         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
386         (WebCore::ChromiumBridge::memoryUsageMB):
387         (WebCore::ChromiumBridge::actualMemoryUsageMB):
388         (WebCore::ChromiumBridge::screenDepth):
389         (WebCore::ChromiumBridge::screenDepthPerComponent):
390         (WebCore::ChromiumBridge::screenIsMonochrome):
391         (WebCore::ChromiumBridge::screenRect):
392         (WebCore::ChromiumBridge::screenAvailableRect):
393         (WebCore::ChromiumBridge::popupsAllowed):
394         (WebCore::WorkerContextProxy::create):
395
396 2011-01-19  Sheriff Bot  <webkit.review.bot@gmail.com>
397
398         Unreviewed, rolling out r76203.
399         http://trac.webkit.org/changeset/76203
400         https://bugs.webkit.org/show_bug.cgi?id=52784
401
402         Broke Win compile on Chromium bots (Requested by dimich on
403         #webkit).
404
405         * WebKit.gyp:
406         * src/AssertMatchingEnums.cpp:
407         * src/ChromiumBridge.cpp: Renamed from Source/WebKit/chromium/src/PlatformBridge.cpp.
408         (WebCore::toChromeClientImpl):
409         (WebCore::toWebWidgetClient):
410         (WebCore::getCookieJar):
411         (WebCore::ChromiumBridge::cacheMetadata):
412         (WebCore::ChromiumBridge::clipboardIsFormatAvailable):
413         (WebCore::ChromiumBridge::clipboardReadPlainText):
414         (WebCore::ChromiumBridge::clipboardReadHTML):
415         (WebCore::ChromiumBridge::clipboardWriteSelection):
416         (WebCore::ChromiumBridge::clipboardWritePlainText):
417         (WebCore::ChromiumBridge::clipboardWriteURL):
418         (WebCore::ChromiumBridge::clipboardWriteImage):
419         (WebCore::ChromiumBridge::clipboardWriteData):
420         (WebCore::ChromiumBridge::clipboardReadAvailableTypes):
421         (WebCore::ChromiumBridge::clipboardReadData):
422         (WebCore::ChromiumBridge::clipboardReadFilenames):
423         (WebCore::ChromiumBridge::setCookies):
424         (WebCore::ChromiumBridge::cookies):
425         (WebCore::ChromiumBridge::cookieRequestHeaderFieldValue):
426         (WebCore::ChromiumBridge::rawCookies):
427         (WebCore::ChromiumBridge::deleteCookie):
428         (WebCore::ChromiumBridge::cookiesEnabled):
429         (WebCore::ChromiumBridge::prefetchDNS):
430         (WebCore::ChromiumBridge::fileExists):
431         (WebCore::ChromiumBridge::deleteFile):
432         (WebCore::ChromiumBridge::deleteEmptyDirectory):
433         (WebCore::ChromiumBridge::getFileSize):
434         (WebCore::ChromiumBridge::revealFolderInOS):
435         (WebCore::ChromiumBridge::getFileModificationTime):
436         (WebCore::ChromiumBridge::directoryName):
437         (WebCore::ChromiumBridge::pathByAppendingComponent):
438         (WebCore::ChromiumBridge::makeAllDirectories):
439         (WebCore::ChromiumBridge::getAbsolutePath):
440         (WebCore::ChromiumBridge::isDirectory):
441         (WebCore::ChromiumBridge::filePathToURL):
442         (WebCore::ChromiumBridge::openFile):
443         (WebCore::ChromiumBridge::closeFile):
444         (WebCore::ChromiumBridge::seekFile):
445         (WebCore::ChromiumBridge::truncateFile):
446         (WebCore::ChromiumBridge::readFromFile):
447         (WebCore::ChromiumBridge::writeToFile):
448         (WebCore::ChromiumBridge::ensureFontLoaded):
449         (WebCore::ChromiumBridge::getFontFamilyForCharacters):
450         (WebCore::ChromiumBridge::getRenderStyleForStrike):
451         (WebCore::ChromiumBridge::loadFont):
452         (WebCore::ChromiumBridge::databaseOpenFile):
453         (WebCore::ChromiumBridge::databaseDeleteFile):
454         (WebCore::ChromiumBridge::databaseGetFileAttributes):
455         (WebCore::ChromiumBridge::databaseGetFileSize):
456         (WebCore::ChromiumBridge::idbFactory):
457         (WebCore::ChromiumBridge::idbShutdown):
458         (WebCore::ChromiumBridge::createIDBKeysFromSerializedValuesAndKeyPath):
459         (WebCore::ChromiumBridge::signedPublicKeyAndChallengeString):
460         (WebCore::ChromiumBridge::computedDefaultLanguage):
461         (WebCore::ChromiumBridge::layoutTestMode):
462         (WebCore::ChromiumBridge::isSupportedImageMIMEType):
463         (WebCore::ChromiumBridge::isSupportedJavaScriptMIMEType):
464         (WebCore::ChromiumBridge::isSupportedNonImageMIMEType):
465         (WebCore::ChromiumBridge::mimeTypeForExtension):
466         (WebCore::ChromiumBridge::mimeTypeFromFile):
467         (WebCore::ChromiumBridge::preferredExtensionForMIMEType):
468         (WebCore::ChromiumBridge::plugins):
469         (WebCore::ChromiumBridge::pluginScriptableObject):
470         (WebCore::ChromiumBridge::loadPlatformImageResource):
471         (WebCore::ChromiumBridge::loadPlatformAudioResource):
472         (WebCore::ChromiumBridge::decodeAudioFileData):
473         (WebCore::ChromiumBridge::sandboxEnabled):
474         (WebCore::ChromiumBridge::setSharedTimerFiredFunction):
475         (WebCore::ChromiumBridge::setSharedTimerFireTime):
476         (WebCore::ChromiumBridge::stopSharedTimer):
477         (WebCore::ChromiumBridge::decrementStatsCounter):
478         (WebCore::ChromiumBridge::incrementStatsCounter):
479         (WebCore::ChromiumBridge::histogramCustomCounts):
480         (WebCore::ChromiumBridge::histogramEnumeration):
481         (WebCore::ChromiumBridge::suddenTerminationChanged):
482         (WebCore::ChromiumBridge::currentTime):
483         (WebCore::ChromiumBridge::paintButton):
484         (WebCore::ChromiumBridge::paintMenuList):
485         (WebCore::ChromiumBridge::paintScrollbarArrow):
486         (WebCore::ChromiumBridge::paintScrollbarThumb):
487         (WebCore::ChromiumBridge::paintScrollbarTrack):
488         (WebCore::ChromiumBridge::paintSpinButton):
489         (WebCore::ChromiumBridge::paintTextField):
490         (WebCore::ChromiumBridge::paintTrackbar):
491         (WebCore::ChromiumBridge::paintProgressBar):
492         (WebCore::WebThemePart):
493         (WebCore::WebThemeState):
494         (WebCore::GetWebThemeExtraParams):
495         (WebCore::ChromiumBridge::getThemePartSize):
496         (WebCore::ChromiumBridge::paintThemePart):
497         (WebCore::ChromiumBridge::traceEventBegin):
498         (WebCore::ChromiumBridge::traceEventEnd):
499         (WebCore::ChromiumBridge::visitedLinkHash):
500         (WebCore::ChromiumBridge::isLinkVisited):
501         (WebCore::ChromiumBridge::notifyJSOutOfMemory):
502         (WebCore::ChromiumBridge::memoryUsageMB):
503         (WebCore::ChromiumBridge::actualMemoryUsageMB):
504         (WebCore::ChromiumBridge::screenDepth):
505         (WebCore::ChromiumBridge::screenDepthPerComponent):
506         (WebCore::ChromiumBridge::screenIsMonochrome):
507         (WebCore::ChromiumBridge::screenRect):
508         (WebCore::ChromiumBridge::screenAvailableRect):
509         (WebCore::ChromiumBridge::popupsAllowed):
510         (WebCore::WorkerContextProxy::create):
511         * src/ResourceHandle.cpp:
512         (WebCore::ResourceHandle::cacheMetadata):
513         * src/WebFrameImpl.cpp:
514         (WebKit::WebFrameImpl::WebFrameImpl):
515         (WebKit::WebFrameImpl::~WebFrameImpl):
516         * src/WebViewImpl.cpp:
517         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
518
519 2011-01-19  Adam Klein  <adamk@chromium.org>
520
521         Reviewed by Darin Fisher.
522
523         [chromium] Rename ChromiumBridge to PlatformBridge
524         https://bugs.webkit.org/show_bug.cgi?id=52471
525
526         * WebKit.gyp:
527         * src/AssertMatchingEnums.cpp:
528         * src/PlatformBridge.cpp:
529         (WebCore::toChromeClientImpl):
530         (WebCore::toWebWidgetClient):
531         (WebCore::getCookieJar):
532         (WebCore::PlatformBridge::cacheMetadata):
533         (WebCore::PlatformBridge::clipboardIsFormatAvailable):
534         (WebCore::PlatformBridge::clipboardReadPlainText):
535         (WebCore::PlatformBridge::clipboardReadHTML):
536         (WebCore::PlatformBridge::clipboardWriteSelection):
537         (WebCore::PlatformBridge::clipboardWritePlainText):
538         (WebCore::PlatformBridge::clipboardWriteURL):
539         (WebCore::PlatformBridge::clipboardWriteImage):
540         (WebCore::PlatformBridge::clipboardWriteData):
541         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
542         (WebCore::PlatformBridge::clipboardReadData):
543         (WebCore::PlatformBridge::clipboardReadFilenames):
544         (WebCore::PlatformBridge::setCookies):
545         (WebCore::PlatformBridge::cookies):
546         (WebCore::PlatformBridge::cookieRequestHeaderFieldValue):
547         (WebCore::PlatformBridge::rawCookies):
548         (WebCore::PlatformBridge::deleteCookie):
549         (WebCore::PlatformBridge::cookiesEnabled):
550         (WebCore::PlatformBridge::prefetchDNS):
551         (WebCore::PlatformBridge::fileExists):
552         (WebCore::PlatformBridge::deleteFile):
553         (WebCore::PlatformBridge::deleteEmptyDirectory):
554         (WebCore::PlatformBridge::getFileSize):
555         (WebCore::PlatformBridge::revealFolderInOS):
556         (WebCore::PlatformBridge::getFileModificationTime):
557         (WebCore::PlatformBridge::directoryName):
558         (WebCore::PlatformBridge::pathByAppendingComponent):
559         (WebCore::PlatformBridge::makeAllDirectories):
560         (WebCore::PlatformBridge::getAbsolutePath):
561         (WebCore::PlatformBridge::isDirectory):
562         (WebCore::PlatformBridge::filePathToURL):
563         (WebCore::PlatformBridge::openFile):
564         (WebCore::PlatformBridge::closeFile):
565         (WebCore::PlatformBridge::seekFile):
566         (WebCore::PlatformBridge::truncateFile):
567         (WebCore::PlatformBridge::readFromFile):
568         (WebCore::PlatformBridge::writeToFile):
569         (WebCore::PlatformBridge::ensureFontLoaded):
570         (WebCore::PlatformBridge::getFontFamilyForCharacters):
571         (WebCore::PlatformBridge::getRenderStyleForStrike):
572         (WebCore::PlatformBridge::loadFont):
573         (WebCore::PlatformBridge::databaseOpenFile):
574         (WebCore::PlatformBridge::databaseDeleteFile):
575         (WebCore::PlatformBridge::databaseGetFileAttributes):
576         (WebCore::PlatformBridge::databaseGetFileSize):
577         (WebCore::PlatformBridge::idbFactory):
578         (WebCore::PlatformBridge::idbShutdown):
579         (WebCore::PlatformBridge::createIDBKeysFromSerializedValuesAndKeyPath):
580         (WebCore::PlatformBridge::signedPublicKeyAndChallengeString):
581         (WebCore::PlatformBridge::computedDefaultLanguage):
582         (WebCore::PlatformBridge::layoutTestMode):
583         (WebCore::PlatformBridge::isSupportedImageMIMEType):
584         (WebCore::PlatformBridge::isSupportedJavaScriptMIMEType):
585         (WebCore::PlatformBridge::isSupportedNonImageMIMEType):
586         (WebCore::PlatformBridge::mimeTypeForExtension):
587         (WebCore::PlatformBridge::mimeTypeFromFile):
588         (WebCore::PlatformBridge::preferredExtensionForMIMEType):
589         (WebCore::PlatformBridge::plugins):
590         (WebCore::PlatformBridge::pluginScriptableObject):
591         (WebCore::PlatformBridge::loadPlatformImageResource):
592         (WebCore::PlatformBridge::loadPlatformAudioResource):
593         (WebCore::PlatformBridge::decodeAudioFileData):
594         (WebCore::PlatformBridge::sandboxEnabled):
595         (WebCore::PlatformBridge::setSharedTimerFiredFunction):
596         (WebCore::PlatformBridge::setSharedTimerFireTime):
597         (WebCore::PlatformBridge::stopSharedTimer):
598         (WebCore::PlatformBridge::decrementStatsCounter):
599         (WebCore::PlatformBridge::incrementStatsCounter):
600         (WebCore::PlatformBridge::histogramCustomCounts):
601         (WebCore::PlatformBridge::histogramEnumeration):
602         (WebCore::PlatformBridge::suddenTerminationChanged):
603         (WebCore::PlatformBridge::currentTime):
604         (WebCore::PlatformBridge::paintButton):
605         (WebCore::PlatformBridge::paintMenuList):
606         (WebCore::PlatformBridge::paintScrollbarArrow):
607         (WebCore::PlatformBridge::paintScrollbarThumb):
608         (WebCore::PlatformBridge::paintScrollbarTrack):
609         (WebCore::PlatformBridge::paintSpinButton):
610         (WebCore::PlatformBridge::paintTextField):
611         (WebCore::PlatformBridge::paintTrackbar):
612         (WebCore::PlatformBridge::paintProgressBar):
613         (WebCore::WebThemePart):
614         (WebCore::WebThemeState):
615         (WebCore::GetWebThemeExtraParams):
616         (WebCore::PlatformBridge::getThemePartSize):
617         (WebCore::PlatformBridge::paintThemePart):
618         (WebCore::PlatformBridge::traceEventBegin):
619         (WebCore::PlatformBridge::traceEventEnd):
620         (WebCore::PlatformBridge::visitedLinkHash):
621         (WebCore::PlatformBridge::isLinkVisited):
622         (WebCore::PlatformBridge::notifyJSOutOfMemory):
623         (WebCore::PlatformBridge::memoryUsageMB):
624         (WebCore::PlatformBridge::actualMemoryUsageMB):
625         (WebCore::PlatformBridge::screenDepth):
626         (WebCore::PlatformBridge::screenDepthPerComponent):
627         (WebCore::PlatformBridge::screenIsMonochrome):
628         (WebCore::PlatformBridge::screenRect):
629         (WebCore::PlatformBridge::screenAvailableRect):
630         (WebCore::PlatformBridge::popupsAllowed):
631         (WebCore::WorkerContextProxy::create):
632         * src/ResourceHandle.cpp:
633         (WebCore::ResourceHandle::cacheMetadata):
634         * src/WebFrameImpl.cpp:
635         (WebKit::WebFrameImpl::WebFrameImpl):
636         (WebKit::WebFrameImpl::~WebFrameImpl):
637         * src/WebViewImpl.cpp:
638         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
639
640 2011-01-19  James Robinson  <jamesr@chromium.org>
641
642         Unreviewed, rolling out r76194.
643         http://trac.webkit.org/changeset/76194
644         https://bugs.webkit.org/show_bug.cgi?id=51218
645
646         Caused mysterious compile failure on the chromium win
647         build.webkit.org bots
648
649         * features.gypi:
650         * public/WebWidget.h:
651         * public/WebWidgetClient.h:
652         * src/ChromeClientImpl.cpp:
653         * src/ChromeClientImpl.h:
654         * src/WebPopupMenuImpl.cpp:
655         * src/WebPopupMenuImpl.h:
656         * src/WebViewImpl.cpp:
657         * src/WebViewImpl.h:
658
659 2011-01-19  James Robinson  <jamesr@chromium.org>
660
661         Reviewed by Darin Fisher.
662
663         Implement mozilla's requestAnimationFrame API
664         https://bugs.webkit.org/show_bug.cgi?id=51218
665
666         Chromium WebKit API support for window.webkitRequestAnimationFrame()
667
668         * features.gypi:
669         * public/WebWidget.h:
670         * public/WebWidgetClient.h:
671         (WebKit::WebWidgetClient::scheduleAnimation):
672         * src/ChromeClientImpl.cpp:
673         (WebKit::ChromeClientImpl::scheduleAnimation):
674         * src/ChromeClientImpl.h:
675         * src/WebPopupMenuImpl.cpp:
676         (WebKit::WebPopupMenuImpl::animate):
677         (WebKit::WebPopupMenuImpl::scheduleAnimation):
678         * src/WebPopupMenuImpl.h:
679         * src/WebViewImpl.cpp:
680         (WebKit::WebViewImpl::animate):
681         * src/WebViewImpl.h:
682
683 2011-01-19  Tony Chang  <tony@chromium.org>
684
685         Unreviewed, roll chromium deps to pick up fixes for the linux build.
686
687         * DEPS:
688
689 2011-01-19  Satish Sampath  <satish@chromium.org>
690
691         Reviewed by Jeremy Orlow.
692
693         Send origin/url as part of speech input requests to the embedder.
694         https://bugs.webkit.org/show_bug.cgi?id=52718
695
696         * public/WebSpeechInputController.h:
697         (WebKit::WebSpeechInputController::startRecognition): Updated prototype.
698         * src/SpeechInputClientImpl.cpp:
699         (WebKit::SpeechInputClientImpl::startRecognition): Pass up additional origin parameter.
700         * src/SpeechInputClientImpl.h:
701         * src/WebSpeechInputControllerMockImpl.cpp: Updated code to pass additional parameter.
702         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
703         * src/WebSpeechInputControllerMockImpl.h: Added new variant of startRecognition method.
704
705 2011-01-19  Pavel Feldman  <pfeldman@chromium.org>
706
707         Not reviewed: updating Chromium devtools sanity tests for downstream use.
708
709         * src/js/Tests.js:
710         (.TestSuite.prototype._checkExecutionLine):
711
712 2011-01-18  Pavel Feldman  <pfeldman@chromium.org>
713
714         Reviewed by Yury Semikhatsky.
715
716         Web Inspector: make InjectedScriptAccess API a part of Web Inspector protocol.
717         https://bugs.webkit.org/show_bug.cgi?id=52652
718
719         Calls served by the InjectedScript should be first class protocol
720         citizens, not dispatched via single protocol message.
721
722         * src/js/Tests.js:
723
724 2011-01-18  Victoria Kirst  <vrk@chromium.org>
725
726         Reviewed by Kenneth Russell.
727
728         [chromium] Adding support for YV16 video frame formats.
729         https://bugs.webkit.org/show_bug.cgi?id=52345
730
731         * src/VideoFrameChromiumImpl.cpp:
732         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
733
734 2011-01-18  Adam Klein  <adamk@chromium.org>
735
736         Reviewed by Darin Fisher.
737
738         [Chromium] Replace ChromiumBridge::widgetSetCursor with ChromeClient::setCursor
739         https://bugs.webkit.org/show_bug.cgi?id=42236
740
741         * src/ChromeClientImpl.cpp:
742         (WebKit::ChromeClientImpl::setCursor):
743         * src/ChromeClientImpl.h:
744         * src/ChromiumBridge.cpp:
745
746 2011-01-17  Nico Weber  <thakis@chromium.org>
747
748         Unreviewed.
749
750         Roll chromium DEPS forward to pick up the skia roll to skia r692.
751         https://bugs.webkit.org/show_bug.cgi?id=52600
752
753         * DEPS:
754
755 2011-01-17  Naoki Takano  <takano.naoki@gmail.com>
756
757         Reviewed by Kent Tamura.
758
759         [Chromium] Fix popup menu re-positioning when the menu is opened upward, above the corresponding form field.
760         https://bugs.webkit.org/show_bug.cgi?id=51382
761         http://crbug.com/60427
762
763         Calculate correct location of popup window whenever the items in the window change.
764
765         No new tests, because this fix is for Chromium project and hard to test only in WebKit project
766
767        * WebKit/chromium/src/WebViewImpl.cpp:
768        (WebKit::WebViewImpl::refreshAutoFillPopup): Change the logic in refreshAutoFilPopup() to check both the location and the size of popup window.
769
770 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
771
772         Reviewed by Yury Semikhatsky.
773
774         Chromium: updated DevTools tests.
775
776         * src/js/Tests.js:
777         (.TestSuite.prototype._waitForScriptPause):
778         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
779         (.TestSuite.prototype._waitUntilScriptsAreParsed):
780
781 2011-01-17  Adam Barth  <abarth@webkit.org>
782
783         Update path to reflect new WebKit directory location.
784
785         * tests/WebFrameTest.cpp:
786         (WebKit::WebFrameTest::registerMockedURLLoad):
787
788 2011-01-16  Kent Tamura  <tkent@chromium.org>
789
790         Unreviewed, Chromium-linux build fix.
791
792         * gyp_webkit: Fix a relative path to the top directory.
793
794 2011-01-16  Adam Barth  <abarth@webkit.org>
795
796         Roll Chromium DEPS to pick up the changes reflecting the new location
797         of WebKit.
798
799         * DEPS:
800
801 2011-01-16  Adam Barth  <abarth@webkit.org>
802
803         Rubber-stamped by Eric Seidel.
804
805         Move WebKit into Source
806         https://bugs.webkit.org/show_bug.cgi?id=52530
807
808         * WebKit.grd:
809         * WebKit.gyp:
810
811 2011-01-15  Jochen Eisinger  <jochen@chromium.org>
812
813         Reviewed by David Levin.
814
815         [chromium] remove obsolete createView method
816         https://bugs.webkit.org/show_bug.cgi?id=52437
817
818         * public/WebViewClient.h:
819         (WebKit::WebViewClient::createView):
820
821 2011-01-14  Xiyuan Xia  <xiyuan@chromium.org>
822
823         Reviewed by Darin Fisher.
824
825         Prepare Linux WebThemeEngine interface to support new theme parts.
826         https://bugs.webkit.org/show_bug.cgi?id=52413
827
828         * public/linux/WebThemeEngine.h:
829
830 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
831
832         Reviewed by Antti Koivisto.
833
834         Rename cache() to memoryCache()
835         https://bugs.webkit.org/show_bug.cgi?id=52433
836
837         * src/WebCache.cpp:
838         (WebKit::WebCache::setCapacities):
839         (WebKit::WebCache::clear):
840         (WebKit::WebCache::getUsageStats):
841         (WebKit::WebCache::getResourceTypeStats):
842
843 2011-01-14  Jochen Eisinger  <jochen@chromium.org>
844
845         Unreviewed, roll chromium deps to r71432.
846
847         * DEPS:
848
849 2011-01-14  Adam Klein  <adamk@chromium.org>
850
851         Reviewed by Darin Fisher.
852
853         [Chromium] Replace BackForwardListClient with BackForwardControllerClient/BackForwardList
854         https://bugs.webkit.org/show_bug.cgi?id=42237
855
856         Replace Chromium-specific BackForwardListClient in WebCore with a Chromium impl
857         of the BackForwardList interface.
858
859         * WebKit.gyp:
860         * src/BackForwardListChromium.cpp: Copied from WebKit/chromium/src/BackForwardListClientImpl.cpp.
861         (WebKit::BackForwardListChromium::create):
862         (WebKit::BackForwardListChromium::BackForwardListChromium):
863         (WebKit::BackForwardListChromium::~BackForwardListChromium):
864         (WebKit::BackForwardListChromium::addItem):
865         (WebKit::BackForwardListChromium::goToItem):
866         (WebKit::BackForwardListChromium::itemAtIndex):
867         (WebKit::BackForwardListChromium::backListCount):
868         (WebKit::BackForwardListChromium::forwardListCount):
869         (WebKit::BackForwardListChromium::isActive):
870         (WebKit::BackForwardListChromium::close):
871         * src/BackForwardListChromium.h: Copied from WebKit/chromium/src/BackForwardListClientImpl.h.
872         * src/BackForwardListClientImpl.cpp: Removed.
873         * src/BackForwardListClientImpl.h: Removed.
874         * src/FrameLoaderClientImpl.cpp:
875         * src/WebFrameImpl.cpp:
876         (WebKit::WebFrameImpl::loadHistoryItem):
877         (WebKit::WebFrameImpl::currentHistoryItem):
878         * src/WebViewImpl.cpp:
879         (WebKit::WebViewImpl::WebViewImpl):
880         * src/WebViewImpl.h:
881
882 2011-01-14  Kent Tamura  <tkent@chromium.org>
883
884         Reviewed by Darin Fisher.
885
886         [Chromium] WebKit API: Add a function for form interactive validation setting
887         https://bugs.webkit.org/show_bug.cgi?id=52430
888
889         * public/WebSettings.h: Add a pure setInteractiveFormValidationEnabled().
890         * src/WebSettingsImpl.cpp:
891         (WebKit::WebSettingsImpl::setInteractiveFormValidationEnabled): Implemented.
892         * src/WebSettingsImpl.h: Add a declaration.
893
894 2011-01-14  Vincent Scheib  <scheib@chromium.org>
895
896         Reviewed by David Levin.
897
898         Add support to DumpRenderTree to use the GPU rather than software renderer
899         https://bugs.webkit.org/show_bug.cgi?id=52333
900
901         * DEPS: Moved forward to take required support from webkit_support.h
902         * WebKit.gyp: DumpRenderTree depends on Angle on windows
903
904 2011-01-14  Finnur Thorarinsson  <finnur.webkit@gmail.com>
905
906         Reviewed by Ojan Vafai.
907
908         Address some user-select-none issues better in our Find in page scoping
909         function.
910
911         The scoping function is in part based on Editor::countMatchesForText
912         (formerly Frame::markAllMatchesForText), but was rewritten with
913         asychronous search and interruptability in mind. At the time the
914         function was written, countMatchesForText didn't work well with
915         user-select-none style but that has now changed. While
916         investigating http://crbug.com/68494 I noticed WebKit had fixed this
917         very problem in the countMatchesForText and I believe we should make
918         the same changes in our platform code. Therefore, this changelist
919         adopts the same approach by integrating:
920         https://bugs.webkit.org/show_bug.cgi?id=33508
921         (r53142: handling user-select-none better) and
922         https://bugs.webkit.org/show_bug.cgi?id=51623
923         (r74886: handling match within textfield better).
924         For more details see those changelists.
925
926         This changelist, however, is tracked here:
927         https://bugs.webkit.org/show_bug.cgi?id=52367
928
929         The original changelists did not come with layout tests, but I'm adding
930         a test on the Chromium side for this.
931
932         * src/WebFrameImpl.cpp:
933         (WebKit::WebFrameImpl::scopeStringMatches):
934
935 2011-01-14  Pavel Feldman  <pfeldman@chromium.org>
936
937         Not reviewed: build fix.
938
939         * src/WebDevToolsAgentImpl.h:
940
941 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
942
943         Reviewed by Mihai Parparita.
944
945         [chromium] Fix minor type in plugin printing
946         https://bugs.webkit.org/show_bug.cgi?id=52410
947
948         * src/WebFrameImpl.cpp:
949         (WebKit::WebFrameImpl::printBegin):
950
951 2011-01-13  Adam Barth  <abarth@webkit.org>
952
953         Reviewed by Eric Seidel.
954
955         Rename RGBA32Buffer to ImageFrame
956         https://bugs.webkit.org/show_bug.cgi?id=52363
957
958         Update references to the new name.
959
960         * src/WebImageDecoder.cpp:
961         (WebKit::WebImageDecoder::isFrameCompleteAtIndex):
962         (WebKit::WebImageDecoder::getFrameAtIndex):
963
964 2011-01-13  John Abd-El-Malek  <jam@chromium.org>
965
966         Reviewed by Tony Chang.
967
968         [chromium]: Only swallow ctrl+c for windowless plugins if we know the plugin has a selection
969         https://bugs.webkit.org/show_bug.cgi?id=52393
970
971         * src/WebPluginContainerImpl.cpp:
972         (WebKit::WebPluginContainerImpl::copy):
973         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
974
975 2011-01-11  John Abd-El-Malek  <jam@chromium.org>
976
977         Reviewed by Darin Fisher.
978
979         [chromium] Add support to allow printing just a plugin in a frame
980         https://bugs.webkit.org/show_bug.cgi?id=52134
981
982         * public/WebContextMenuData.h:
983         * public/WebFrame.h:
984         * src/ContextMenuClientImpl.cpp:
985         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
986         * src/WebFrameImpl.cpp:
987         (WebKit::ChromePluginPrintContext::ChromePluginPrintContext):
988         (WebKit::ChromePluginPrintContext::end):
989         (WebKit::ChromePluginPrintContext::computePageRects):
990         (WebKit::ChromePluginPrintContext::spoolPage):
991         (WebKit::WebFrameImpl::printBegin):
992
993 2011-01-13  Tony Chang  <tony@chromium.org>
994
995         Reviewed by Kent Tamura.
996
997         [chromium] fix plugins/plugin-javascript-access.html on Linux and Mac
998         https://bugs.webkit.org/show_bug.cgi?id=52332
999
1000         * WebKit.gyp: Remove WebKitTestNetscapePlugIn
1001
1002 2011-01-12  Pavel Feldman  <pfeldman@chromium.org>
1003
1004         Reviewed by Yury Semikhatsky.
1005
1006         Web Inspector: embed injected script into the backend.
1007         https://bugs.webkit.org/show_bug.cgi?id=52312
1008
1009         * WebKit.grd:
1010
1011 2011-01-12  Mihai Parparita  <mihaip@chromium.org>
1012
1013         Reviewed by David Levin.
1014
1015         [Chromium] Remove PartScrollbarHoriztonalTrack
1016         https://bugs.webkit.org/show_bug.cgi?id=52329
1017         
1018         Remove PartScrollbarHoriztonalTrack now that usages of it were removed
1019         with http://crrev.com/71249.
1020
1021         * DEPS:
1022         * public/linux/WebThemeEngine.h:
1023
1024 2010-12-29  Yury Semikhatsky  <yurys@chromium.org>
1025
1026         Reviewed by Pavel Feldman.
1027
1028         inspector/timeline-network-resource.html fails when run twice
1029         https://bugs.webkit.org/show_bug.cgi?id=37394
1030
1031         Send didReceiveResponse notification to the timeline agent from ResourceLoadNotifier
1032         instead of ResourceLoader::didReceiveResponse to cover the cases when resources
1033         are loaded from memory cache.
1034
1035         Network notifications are now sent to InspectorInstrumentation which dispatches
1036         them to interested agents and InspectorController.
1037
1038         * src/SharedWorkerRepository.cpp:
1039         (WebCore::SharedWorkerScriptLoader::notifyFinished):
1040         * src/WebDevToolsAgentImpl.cpp:
1041         (WebKit::WebDevToolsAgentImpl::mainFrame):
1042         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
1043         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1044         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1045         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
1046         (WebKit::WebDevToolsAgentImpl::didFinishLoading):
1047         (WebKit::WebDevToolsAgentImpl::didFailLoading):
1048         * src/WebDevToolsAgentImpl.h:
1049
1050 2011-01-11  Tony Chang  <tony@chromium.org>
1051
1052         Reviewed by Eric Seidel.
1053
1054         [chromium] copy test netscape plugin into TestNetscapePlugin
1055         https://bugs.webkit.org/show_bug.cgi?id=52232
1056
1057         * WebKit.gyp: Make a copy of the TestNetscapePlugIn in
1058             TestNetscapePlugIn and WebKitTestNetscapePlugIn
1059
1060 2011-01-11  Kenneth Russell  <kbr@google.com>
1061
1062         Reviewed by James Robinson.
1063
1064         [chromium] Move WebGraphicsContext3DDefaultImpl to Chromium repository
1065         https://bugs.webkit.org/show_bug.cgi?id=52235
1066
1067         Deleted WebGraphicsContext3DDefaultImpl, which has been moved to
1068         the Chromium repository under WebGraphicsContext3DInProcessImpl.
1069         Removed WebGraphicsContext3D::createDefault(). Rolled forward
1070         Chromium version to pick up needed changes.
1071
1072         Tested with build-webkit --chromium --debug and a run of the WebGL
1073         layout tests in DRT.
1074
1075         * DEPS:
1076         * WebKit.gyp:
1077         * public/WebGraphicsContext3D.h:
1078         * src/GraphicsContext3DChromium.cpp:
1079         * src/WebGraphicsContext3D.cpp: Removed.
1080         * src/WebGraphicsContext3DDefaultImpl.cpp: Removed.
1081         * src/WebGraphicsContext3DDefaultImpl.h: Removed.
1082
1083 2011-01-11  Pavel Feldman  <pfeldman@chromium.org>
1084
1085         Reviewed by Yury Semikhatsky.
1086
1087         Chromium DevTools: get rid of APU-related code in WebKit/chromium.
1088         https://bugs.webkit.org/show_bug.cgi?id=52152
1089
1090         * src/WebDevToolsAgentImpl.cpp:
1091         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1092         (WebKit::WebDevToolsAgentImpl::detach):
1093         (WebKit::WebDevToolsAgentImpl::frontendLoaded):
1094         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
1095         (WebKit::WebDevToolsAgentImpl::sendMessageToFrontend):
1096         * src/WebDevToolsAgentImpl.h:
1097
1098 2011-01-10  Adam Barth  <abarth@webkit.org>
1099
1100         Reviewed by Darin Adler.
1101
1102         Introduce the notion of a "display-isolated" URL scheme for use by
1103         Chrome-internal URLs
1104         https://bugs.webkit.org/show_bug.cgi?id=50182
1105
1106         This patch adds a Chromium API for registering schemes as
1107         display-isolated.  In a subsequent patch, I'll change the "chrome"
1108         scheme in Chrome to be display isolated instead of local.  That will
1109         prevent file URLs from linking to chrome URLs.
1110
1111         * public/WebSecurityPolicy.h:
1112         * src/WebSecurityPolicy.cpp:
1113         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
1114
1115 2011-01-10  John Abd-El-Malek  <jam@chromium.org>
1116
1117         Reviewed by James Robinson.
1118
1119         [chromium] Call WebAutoFillClient instead of WebViewClient for autofill related callbacks
1120         https://bugs.webkit.org/show_bug.cgi?id=52169
1121
1122         * public/WebView.h:
1123         * public/WebViewClient.h:
1124         (WebKit::WebViewClient::didUpdateInspectorSetting):
1125         * src/AutoFillPopupMenuClient.cpp:
1126         (WebKit::AutoFillPopupMenuClient::valueChanged):
1127         (WebKit::AutoFillPopupMenuClient::selectionChanged):
1128         (WebKit::AutoFillPopupMenuClient::selectionCleared):
1129         (WebKit::AutoFillPopupMenuClient::popupDidHide):
1130         * src/EditorClientImpl.cpp:
1131         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
1132         (WebKit::EditorClientImpl::textFieldDidEndEditing):
1133         (WebKit::EditorClientImpl::textDidChangeInTextField):
1134         (WebKit::EditorClientImpl::doAutofill):
1135         (WebKit::EditorClientImpl::onAutocompleteSuggestionAccepted):
1136         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
1137         * src/WebViewImpl.cpp:
1138         (WebKit::WebView::create):
1139         (WebKit::WebViewImpl::WebViewImpl):
1140         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
1141         * src/WebViewImpl.h:
1142         (WebKit::WebViewImpl::autoFillClient):
1143         * src/WebWorkerBase.cpp:
1144         (WebKit::WebWorkerBase::initializeLoader):
1145
1146 2011-01-10  John Knottenbelt  <jknotten@chromium.org>
1147
1148         Reviewed by Jeremy Orlow.
1149
1150         [Chromium] Remove non-client-based Geolocation code
1151         https://bugs.webkit.org/show_bug.cgi?id=50921
1152
1153         * WebKit.gyp:
1154         * public/WebGeolocationService.h: Removed.
1155         * public/WebGeolocationServiceBridge.h: Removed.
1156         * public/WebGeolocationServiceMock.h: Removed.
1157         * src/AssertMatchingEnums.cpp:
1158         * src/ChromeClientImpl.cpp:
1159         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1160         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
1161         * src/ChromiumBridge.cpp:
1162         * src/WebGeolocationServiceBridgeImpl.cpp: Removed.
1163         * src/WebGeolocationServiceBridgeImpl.h: Removed.
1164         * src/WebGeolocationServiceMock.cpp: Removed.
1165         * src/WebViewImpl.cpp:
1166         (WebKit::WebViewImpl::WebViewImpl):
1167         * src/WebViewImpl.h:
1168
1169 2011-01-09  Johnny Ding  <jnd@chromium.org>
1170
1171         Unreviewed, fix Chromium windows compilation error according to James Robinson's report.
1172
1173         https://bugs.webkit.org/show_bug.cgi?id=41441
1174         Fix Chromium window compilation error.
1175
1176         * public/WebViewClient.h:
1177         (WebKit::WebViewClient::createView):
1178
1179 2011-01-09  Xianzhu Wang  <phnixwxz@gmail.com>
1180
1181         Reviewed by Darin Fisher.
1182
1183         https://bugs.webkit.org/show_bug.cgi?id=41441
1184         createWindow method should only do window-creating without URL navigation.
1185         Pass URL request to createView.
1186
1187         * public/WebViewClient.h:
1188         (WebKit::WebViewClient::createView):
1189         * src/ChromeClientImpl.cpp:
1190         (WebKit::ChromeClientImpl::createWindow):
1191
1192 2011-01-08  Adam Barth  <abarth@webkit.org>
1193
1194         Update Chromium DEPS to pickup new GYP files.
1195
1196         * DEPS:
1197
1198 2011-01-07  Adam Barth  <abarth@webkit.org>
1199
1200         Rubber-stamped by Eric Seidel.
1201
1202         Move WebCore to Source
1203         https://bugs.webkit.org/show_bug.cgi?id=52050
1204
1205         Update references to WebCore.
1206
1207         * WebKit.grd:
1208         * WebKit.gyp:
1209
1210 2011-01-07  Mihai Parparita  <mihaip@chromium.org>
1211
1212         Reviewed by Darin Fisher.
1213
1214         [Chromium] Scrollbar code cleanup
1215         https://bugs.webkit.org/show_bug.cgi?id=52073
1216
1217         Scrollbar code cleanup:
1218         - Fix typo in Linux scrollbar enum name
1219
1220         * public/linux/WebThemeEngine.h:
1221         * src/ChromiumBridge.cpp:
1222         (WebCore::WebThemePart):
1223         (WebCore::GetWebThemeExtraParams):
1224
1225 2011-01-07  James Robinson  <jamesr@chromium.org>
1226
1227         Revert "Implement mozilla's animationTime property"
1228         https://bugs.webkit.org/show_bug.cgi?id=51952
1229
1230         This approach isn't quite right.
1231
1232         * public/WebWidget.h:
1233         * src/WebPopupMenuImpl.cpp:
1234         * src/WebPopupMenuImpl.h:
1235         * src/WebViewImpl.cpp:
1236         * src/WebViewImpl.h:
1237
1238 2011-01-05  Zhenyao Mo  <zmo@google.com>
1239
1240         Reviewed by Kenneth Russell.
1241
1242         Define GC3D types to match GL types and use them in GraphicsContext3D
1243         https://bugs.webkit.org/show_bug.cgi?id=45557
1244
1245         * src/GraphicsContext3DChromium.cpp:
1246         (WebCore::GraphicsContext3DInternal::bindAttribLocation):
1247         (WebCore::GraphicsContext3DInternal::bufferData):
1248         (WebCore::GraphicsContext3DInternal::bufferSubData):
1249         (WebCore::GraphicsContext3DInternal::getActiveAttrib):
1250         (WebCore::GraphicsContext3DInternal::getActiveUniform):
1251         (WebCore::GraphicsContext3DInternal::getAttribLocation):
1252         (WebCore::GraphicsContext3DInternal::getString):
1253         (WebCore::GraphicsContext3DInternal::getUniformLocation):
1254         (WebCore::GraphicsContext3DInternal::texImage2D):
1255         (WebCore::GraphicsContext3DInternal::texSubImage2D):
1256         (WebCore::GraphicsContext3DInternal::uniform1fv):
1257         (WebCore::GraphicsContext3DInternal::uniform1iv):
1258         (WebCore::GraphicsContext3DInternal::uniform2fv):
1259         (WebCore::GraphicsContext3DInternal::uniform2iv):
1260         (WebCore::GraphicsContext3DInternal::uniform3fv):
1261         (WebCore::GraphicsContext3DInternal::uniform3iv):
1262         (WebCore::GraphicsContext3DInternal::uniform4fv):
1263         (WebCore::GraphicsContext3DInternal::uniform4iv):
1264         (WebCore::GraphicsContext3DInternal::uniformMatrix2fv):
1265         (WebCore::GraphicsContext3DInternal::uniformMatrix3fv):
1266         (WebCore::GraphicsContext3DInternal::uniformMatrix4fv):
1267         * src/GraphicsContext3DInternal.h:
1268
1269 2011-01-06  James Simonsen  <simonjam@chromium.org>
1270
1271         Reviewed by Darin Fisher.
1272
1273         [Web Timing] Remove vendor prefix
1274         https://bugs.webkit.org/show_bug.cgi?id=48922
1275
1276         * src/WebFrameImpl.cpp:
1277         (WebKit::WebFrameImpl::performance): Rename to performance.
1278
1279 2011-01-06  James Robinson  <jamesr@chromium.org>
1280
1281         Reviewed by Simon Fraser.
1282
1283         Implement mozilla's animationTime property
1284         https://bugs.webkit.org/show_bug.cgi?id=51952
1285
1286         WebKit API support for webkitAnimationTime.
1287
1288         * public/WebWidget.h:
1289         * src/WebPopupMenuImpl.cpp:
1290         (WebKit::WebPopupMenuImpl::clearCurrentAnimationTime):
1291         * src/WebPopupMenuImpl.h:
1292         * src/WebViewImpl.cpp:
1293         (WebKit::WebViewImpl::clearCurrentAnimationTime):
1294         * src/WebViewImpl.h:
1295
1296 2010-12-29  John Abd-El-Malek  <jam@chromium.org>
1297
1298         Reviewed by Darin Fisher.
1299
1300         [chromium] Add a WebAutoFillClient interface that moves some functions from WebViewClient
1301         https://bugs.webkit.org/show_bug.cgi?id=51710
1302
1303         * WebKit.gyp:
1304         * public/WebAutoFillClient.h: Added.
1305         (WebKit::WebAutoFillClient::didAcceptAutoFillSuggestion):
1306         (WebKit::WebAutoFillClient::didSelectAutoFillSuggestion):
1307         (WebKit::WebAutoFillClient::didClearAutoFillSelection):
1308         (WebKit::WebAutoFillClient::removeAutocompleteSugestion):
1309         (WebKit::WebAutoFillClient::didAcceptAutocompleteSuggestion):
1310         (WebKit::WebAutoFillClient::textFieldDidBeginEditing):
1311         (WebKit::WebAutoFillClient::textFieldDidEndEditing):
1312         (WebKit::WebAutoFillClient::textFieldDidChange):
1313         (WebKit::WebAutoFillClient::textFieldDidReceiveKeyDown):
1314         (WebKit::WebAutoFillClient::~WebAutoFillClient):
1315
1316 2011-01-05  Chris Rogers  <crogers@google.com>
1317
1318         Reviewed by Darin Fisher.
1319
1320         Add WebKitClient::createAudioDevice() for Chromium port of web audio API
1321         https://bugs.webkit.org/show_bug.cgi?id=51424
1322
1323         * WebKit.gyp:
1324         * public/WebAudioDevice.h: Added.
1325         (WebKit::WebAudioDevice::RenderCallback::~RenderCallback):
1326         (WebKit::WebAudioDevice::~WebAudioDevice):
1327         * public/WebKitClient.h:
1328         (WebKit::WebKitClient::createAudioDevice):
1329         * src/AudioDestinationChromium.cpp: Added.
1330         (WebCore::AudioDestination::create):
1331         (WebCore::AudioDestinationChromium::AudioDestinationChromium):
1332         (WebCore::AudioDestinationChromium::~AudioDestinationChromium):
1333         (WebCore::AudioDestinationChromium::start):
1334         (WebCore::AudioDestinationChromium::stop):
1335         (WebCore::AudioDestination::hardwareSampleRate):
1336         (WebCore::AudioDestinationChromium::render):
1337         * src/AudioDestinationChromium.h: Added.
1338         (WebCore::AudioDestinationChromium::isPlaying):
1339         (WebCore::AudioDestinationChromium::sampleRate):
1340
1341 2011-01-05  David Levin  <levin@chromium.org>
1342
1343         Reviewed by Darin Fisher.
1344
1345         [chromium] WEBKIT_API and styling fixes for the chromium api.
1346         https://bugs.webkit.org/show_bug.cgi?id=51863
1347
1348         Removed some incorrect uses of WEBKIT_API.
1349         Fixed some abbreviations by making them whole words.
1350
1351         * public/WebAnimationController.h: Removed WEBKIT_API from virtual functions.
1352         * public/WebFormElement.h: Removed WEBKIT_API from inline functions
1353         and fixed some abbreviations.
1354         (WebKit::WebFormElement::WebFormElement):
1355         (WebKit::WebFormElement::operator=):
1356         (WebKit::WebFormElement::assign):
1357         * public/WebIDBDatabaseError.h: Ditto.
1358         (WebKit::WebIDBDatabaseError::WebIDBDatabaseError):
1359         (WebKit::WebIDBDatabaseError::operator=):
1360         * public/WebInputElement.h: Ditto.
1361         (WebKit::WebInputElement::WebInputElement):
1362         (WebKit::WebInputElement::operator=):
1363         (WebKit::WebInputElement::assign):
1364         * public/WebLabelElement.h: Ditto.
1365         (WebKit::WebLabelElement::WebLabelElement):
1366         (WebKit::WebLabelElement::operator=):
1367         (WebKit::WebLabelElement::assign):
1368         * public/WebOptionElement.h: Ditto.
1369         (WebKit::WebOptionElement::WebOptionElement):
1370         (WebKit::WebOptionElement::operator=):
1371         (WebKit::WebOptionElement::assign):
1372         * public/WebSelectElement.h: Ditto (and minor spacing cleanup).
1373         (WebKit::WebSelectElement::WebSelectElement):
1374         (WebKit::WebSelectElement::operator=):
1375         (WebKit::WebSelectElement::assign):
1376
1377 2011-01-05  Hans Wennborg  <hans@chromium.org>
1378
1379         Reviewed by David Levin.
1380
1381         [Chromium] WebIDBKey clean-up
1382         https://bugs.webkit.org/show_bug.cgi?id=51925
1383
1384         Remove constructors that are no longer used since the
1385         Chromium side has been updated.
1386
1387         * public/WebIDBKey.h:
1388
1389 2011-01-04  Darin Fisher  <darin@chromium.org>
1390
1391         Reviewed by David Levin.
1392
1393         Update README file with a description of the WEBKIT_API macro and
1394         guidelines for its usage.  Also document the various WEBKIT_USING_*
1395         macros.
1396
1397         https://bugs.webkit.org/show_bug.cgi?id=51880
1398
1399         * README:
1400
1401 2011-01-04  Evan Martin  <evan@chromium.org>
1402
1403         Reviewed by Tony Chang.
1404
1405         [chromium] depend on harfbuzz explicitly
1406         https://bugs.webkit.org/show_bug.cgi?id=51895
1407
1408         Update Chromium DEPS to pick up newer Chromium version
1409         that simplifies expressing the Harfbuzz dependency.
1410
1411         * DEPS:
1412
1413 2011-01-04  Zhe Su  <suzhe@chromium.org>
1414
1415         Reviewed by Kenneth Russell.
1416
1417         Changes:
1418         1. Add WebKit::WebWidget::confirmComposition(const WebString& text)
1419            This new method corresponds to Editor::confirmComposition(text) and
1420            Editor::insertText(text). It'll be used by both DumpRenderTree's
1421            TextInputController and chromium browser.
1422         2. Fix WebFrameImpl::insertText
1423            It should call Editor::confirmComposition(text) rather than
1424            Editor::insertText(text) if there is an ongoing composition.
1425            It matches the behavior of WebKit Mac port.
1426         3. Fix WebFrameImpl::setMarkedText
1427            Editor::confirmComposition(text) shouldn't be called in this
1428            method, which incorrectly inserts the text.
1429
1430         https://bugs.webkit.org/show_bug.cgi?id=51693
1431
1432         * public/WebWidget.h:
1433         * src/WebFrameImpl.cpp:
1434         (WebKit::WebFrameImpl::insertText):
1435         (WebKit::WebFrameImpl::setMarkedText):
1436         * src/WebPopupMenuImpl.cpp:
1437         (WebKit::WebPopupMenuImpl::confirmComposition):
1438         * src/WebPopupMenuImpl.h:
1439         * src/WebViewImpl.cpp:
1440         (WebKit::WebViewImpl::confirmComposition):
1441         * src/WebViewImpl.h:
1442         * tests/PopupMenuTest.cpp:
1443         (WebKit::TestWebWidget::confirmComposition):
1444
1445 2011-01-03  Daniel Bates  <dbates@rim.com>
1446
1447         Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.
1448
1449         The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
1450         file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
1451         associated with this change was landed.
1452
1453         * src/WebSearchableFormData.cpp:
1454         (HTMLNames::IsInDefaultState):
1455
1456 2011-01-02  Dirk Schulze  <krit@webkit.org>
1457
1458         Reviewed by Simon Fraser.
1459
1460         Clarify ImageBuffer and ImageData relationship
1461         https://bugs.webkit.org/show_bug.cgi?id=51297
1462
1463         Use ByteArray instead of ImageData.
1464
1465         * src/WebViewImpl.cpp:
1466         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1467
1468 2011-01-01  Adam Barth  <abarth@webkit.org>
1469
1470         Reviewed by Eric Seidel.
1471
1472         Move JavaScriptCore to Source
1473         https://bugs.webkit.org/show_bug.cgi?id=51604
1474
1475         * WebKit.gyp:
1476           - Point to JavaScriptCore in its new location.
1477
1478 2010-12-30  Mihai Parparita  <mihaip@chromium.org>
1479
1480         Reviewed by Kent Tamura.
1481
1482         [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
1483         https://bugs.webkit.org/show_bug.cgi?id=51728
1484         
1485         Roll DEPS to pick up WebThemeEngine changes.
1486
1487         * DEPS:
1488
1489 2010-12-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1490
1491         Unreviewed, rolling out r74735.
1492         http://trac.webkit.org/changeset/74735
1493         https://bugs.webkit.org/show_bug.cgi?id=51715
1494
1495         assert failures on fast/forms/input-maxlength-ime-
1496         completed.html (Requested by mihaip on #webkit).
1497
1498         * src/WebFrameImpl.cpp:
1499         (WebKit::WebFrameImpl::setMarkedText):
1500
1501 2010-12-29  Zhe Su  <suzhe@chromium.org>
1502
1503         Reviewed by Eric Seidel.
1504
1505         Fix editing/input/ime-composition-clearpreedit.html test in chromium
1506         by removing the line "editor->confirmComposition(text);" from
1507         WebFrameImpl::setMarkedText() method, because that line will insert the
1508         text into the focused node, which is apparently wrong.
1509
1510         https://bugs.webkit.org/show_bug.cgi?id=51693
1511
1512         * src/WebFrameImpl.cpp:
1513         (WebKit::WebFrameImpl::setMarkedText):
1514
1515 2010-12-23  Zhenyao Mo  <zmo@google.com>
1516
1517         Reviewed by Kenneth Russell.
1518
1519         Initialize to 0 for undefined values in CopyTexImage2D
1520         https://bugs.webkit.org/show_bug.cgi?id=51421
1521
1522         * src/GraphicsContext3DChromium.cpp: Implement getInternalFramebufferSize().
1523         (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
1524         * src/GraphicsContext3DInternal.h:
1525
1526 2010-12-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1527
1528         Unreviewed, rolling out r74561.
1529         http://trac.webkit.org/changeset/74561
1530         https://bugs.webkit.org/show_bug.cgi?id=51565
1531
1532         "Broke Chromium UI tests on Vista" (Requested by kbr_google on
1533         #webkit).
1534
1535         * src/GraphicsContext3DChromium.cpp:
1536         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1537
1538 2010-12-23  Mihai Parparita  <mihaip@chromium.org>
1539
1540         Reviewed by Kent Tamura.
1541
1542         [Chromium] Add WebThemeEngine for Mac to allow scrollbar rendering to be overridden for the DRT
1543         https://bugs.webkit.org/show_bug.cgi?id=51507
1544         
1545         Adds WebThemeEngine for the Mac (it already has parallel definitions for
1546         Windows and Linux) so that scrollbar thumb rendering can be overridden
1547         for the DRT (to be consistent with the NSScroller-based rendering
1548         used by the Mac port).        
1549
1550         * public/mac/WebThemeEngine.h: Added.
1551         (WebKit::WebThemeEngine::paintScrollbarThumb):
1552         * src/AssertMatchingEnums.cpp:
1553         * src/ChromiumBridge.cpp:
1554         (WebCore::ChromiumBridge::paintScrollbarThumb):
1555
1556 2010-12-23  Sam Weinig  <sam@webkit.org>
1557
1558         Fix build.
1559
1560         * src/FrameLoaderClientImpl.cpp:
1561         (WebKit::FrameLoaderClientImpl::didSaveToPageCache):
1562         (WebKit::FrameLoaderClientImpl::didRestoreFromPageCache):
1563
1564 2010-12-22  Sam Weinig  <sam@webkit.org>
1565
1566         Reviewed by Darin Adler.
1567
1568         WebKit2 needs to mirror the frame tree in the UIProcess
1569         https://bugs.webkit.org/show_bug.cgi?id=51546
1570
1571         - Add client functions to notify that a frame has been added or
1572           removed from the page cache.
1573
1574         * src/FrameLoaderClientImpl.cpp:
1575         (WebKit::WebFrameLoaderClientImpl::didSaveToPageCache):
1576         (WebKit::WebFrameLoaderClientImpl::didRestoreFromPageCache):
1577         * src/FrameLoaderClientImpl.h:
1578
1579 2010-12-20  Adrienne Walker  <enne@google.com>
1580
1581         Reviewed by Kenneth Russell.
1582
1583         [chromium] Tile root layer of the compositor.
1584         https://bugs.webkit.org/show_bug.cgi?id=49947
1585
1586         Refactor root layer logic out of WebViewImpl and into
1587         LayerTilerChromium.  The painting is now done through an interface
1588         rather than directly in WebViewImpl.
1589
1590         * src/WebViewImpl.cpp:
1591         (WebKit::WebViewImpl::scrollRootLayerRect):
1592         (WebKit::WebViewImpl::invalidateRootLayerRect):
1593         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1594         (WebKit::WebViewImplTilePaintInterface::WebViewImplTilePaintInterface):
1595         (WebKit::WebViewImplTilePaintInterface::paint):
1596         (WebKit::WebViewImplScrollbarPaintInterface::WebViewImplScrollbarPaintInterface):
1597         (WebKit::WebViewImplScrollbarPaintInterface::paint):
1598         (WebKit::WebViewImpl::doComposite):
1599         * src/WebViewImpl.h:
1600
1601 2010-12-22  Ryosuke Niwa  <rniwa@webkit.org>
1602
1603         Reviewed by Eric Seidel.
1604
1605         Editor.h doesn't need to include SelectionController.h
1606         https://bugs.webkit.org/show_bug.cgi?id=51441
1607
1608         Renamed SelectionController::EDirection to SelectionDirection.
1609
1610         * src/WebFrameImpl.cpp:
1611         (WebKit::WebFrameImpl::executeCommand):
1612
1613 2010-12-23  W. James MacLean  <wjmaclean@chromium.org>
1614
1615         Reviewed by Kenneth Russell.
1616
1617         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
1618         https://bugs.webkit.org/show_bug.cgi?id=51186
1619
1620         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
1621
1622         * src/GraphicsContext3DChromium.cpp:
1623         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1624
1625 2010-12-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1626
1627         Unreviewed, rolling out r74503.
1628         http://trac.webkit.org/changeset/74503
1629         https://bugs.webkit.org/show_bug.cgi?id=51513
1630
1631         breaks chromium mac debug compile (Requested by tonyg-cr on
1632         #webkit).
1633
1634         * src/GraphicsContext3DChromium.cpp:
1635         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1636
1637 2010-12-22  W. James MacLean  <wjmaclean@chromium.org>
1638
1639         Reviewed by Kenneth Russell.
1640
1641         [chromium] Add asserts to test for contiguous-pixel Skia bitmaps.
1642         https://bugs.webkit.org/show_bug.cgi?id=51186
1643
1644         Add asserts to detect if assumptions (about contiguous pixels in Skia bitmaps) are violated.
1645
1646         * src/GraphicsContext3DChromium.cpp:
1647         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
1648
1649 2010-12-21  Zhenyao Mo  <zmo@google.com>
1650
1651         Reviewed by Kenneth Russell.
1652
1653         WebGLRenderingContext needs to zero textures and renderbuffers
1654         https://bugs.webkit.org/show_bug.cgi?id=49355
1655
1656         * src/WebGraphicsContext3DDefaultImpl.cpp:
1657         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D): Generate an INVALID_VALUE if pixels==null is passed in.
1658
1659 2010-12-20  Andrei Popescu  <andreip@google.com>
1660
1661         Reviewed by Jeremy Orlow.
1662
1663         IDBCursor::delete is not implemented.
1664         https://bugs.webkit.org/show_bug.cgi?id=51110
1665
1666         * public/WebIDBCursor.h:
1667         (WebKit::WebIDBCursor::remove):
1668         (WebKit::WebIDBCursor::deleteFunction):
1669         * src/IDBCursorBackendProxy.cpp:
1670         (WebCore::IDBCursorBackendProxy::deleteFunction):
1671         * src/IDBCursorBackendProxy.h:
1672         * src/WebIDBCursorImpl.cpp:
1673         (WebKit::WebIDBCursorImpl::deleteFunction):
1674         * src/WebIDBCursorImpl.h:
1675
1676 2010-12-18  Tony Gentilcore  <tonyg@chromium.org>
1677
1678         Reviewed by Laszlo Gombos.
1679
1680         [Web Timing] Rename domContentLoaded{Start,End}->domContentLoadedEvent{Start,End}
1681         https://bugs.webkit.org/show_bug.cgi?id=50943
1682
1683         Exposes all dom* times to the chromium port. I'm particularly interested in
1684         domContentLoadedEventEnd as it compares to the FinishDoc metric.
1685
1686         * public/WebPerformance.h:
1687         * src/WebPerformance.cpp:
1688         (WebKit::WebPerformance::domLoading):
1689         (WebKit::WebPerformance::domInteractive):
1690         (WebKit::WebPerformance::domContentLoadedEventStart):
1691         (WebKit::WebPerformance::domContentLoadedEventEnd):
1692         (WebKit::WebPerformance::domComplete):
1693
1694 2010-12-17  Tony Gentilcore  <tonyg@chromium.org>
1695
1696         Unreviewed, build fix.
1697
1698         Add WebKitTools -> Tools rename that got missed.
1699
1700         * WebKit.gyp:
1701
1702 2010-12-17  Dirk Pranke  <dpranke@chromium.org>
1703
1704         Unreviewed, build fix.
1705
1706         Add WebKitTools -> Tools rename that got missed.
1707
1708         * WebKit.gyp:
1709
1710 2010-12-17  John Knottenbelt  <jknotten@chromium.org>
1711
1712         Reviewed by Jeremy Orlow.
1713
1714         Fix test failures where NULL GeolocationClient is provided
1715         https://bugs.webkit.org/show_bug.cgi?id=51256
1716
1717         * src/GeolocationClientProxy.cpp:
1718         (WebKit::GeolocationClientProxy::geolocationDestroyed):
1719
1720 2010-12-17  Hans Wennborg  <hans@chromium.org>
1721
1722         Reviewed by Jeremy Orlow.
1723
1724         IndexedDB: Support Date objects as keys.
1725         https://bugs.webkit.org/show_bug.cgi?id=51193
1726
1727         Update to match the underlying WebCore IDBKey class:
1728         add the DateType, add create() functions for each type,
1729         deprecate the public constructors (will be removed once
1730         Chromium side is updated).
1731
1732         * public/WebIDBKey.h:
1733         (WebKit::WebIDBKey::WebIDBKey):
1734         * src/AssertMatchingEnums.cpp:
1735         * src/WebIDBKey.cpp:
1736         (WebKit::WebIDBKey::createString):
1737         (WebKit::WebIDBKey::createDate):
1738         (WebKit::WebIDBKey::createNumber):
1739         (WebKit::WebIDBKey::assignNull):
1740         (WebKit::WebIDBKey::assignString):
1741         (WebKit::WebIDBKey::assignDate):
1742         (WebKit::WebIDBKey::assignNumber):
1743         (WebKit::WebIDBKey::date):
1744
1745 2010-12-17  James Simonsen  <simonjam@chromium.org>
1746
1747         Reviewed by Darin Fisher.
1748
1749         [Web Timing] Navigation type enums should begin with TYPE_
1750         https://bugs.webkit.org/show_bug.cgi?id=51200
1751
1752         * src/WebPerformance.cpp:
1753         (WebKit::WebPerformance::navigationType): Added TYPE_ to navigation types.
1754
1755 2010-12-16  John Knottenbelt  <jknotten@chromium.org>
1756
1757         Reviewed by Jeremy Orlow.
1758
1759         Enable client-based geolocation in Chromium
1760         https://bugs.webkit.org/show_bug.cgi?id=50562
1761
1762         * features.gypi:
1763
1764 2010-12-16  Hans Wennborg  <hans@chromium.org>
1765
1766         Reviewed by Jeremy Orlow.
1767
1768         IndexedDB: Fix IDBDatabaseError code offset bug
1769         https://bugs.webkit.org/show_bug.cgi?id=51177
1770
1771         WebIDBDatabaseError must use the
1772         IDBDatabaseError::createWithoutOffset() function.
1773
1774         * src/WebIDBDatabaseError.cpp:
1775         (WebKit::WebIDBDatabaseError::assign):
1776
1777 2010-12-15  Chris Guillory  <chris.guillory@google.com>
1778
1779         Reviewed by Darin Fisher.
1780
1781         Expose AccessibilityObject::url() to Chromium
1782         https://bugs.webkit.org/show_bug.cgi?id=51046
1783
1784         * public/WebAccessibilityObject.h:
1785         * src/WebAccessibilityObject.cpp:
1786         (WebKit::WebAccessibilityObject::url):
1787
1788 2010-12-14  Darin Fisher  <darin@chromium.org>
1789
1790         Reviewed by Dimitri Glazkov.
1791
1792         [chromium] AssociatedURLLoader leaks m_realLoader to its WebURLLoaderClient.
1793         https://bugs.webkit.org/show_bug.cgi?id=51062
1794
1795         * src/AssociatedURLLoader.cpp: Intercept WebURLLoaderClient methods and
1796         forward |this| as the WebURLLoader parameter.
1797         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
1798         (WebKit::AssociatedURLLoader::loadSynchronously):
1799         (WebKit::AssociatedURLLoader::loadAsynchronously):
1800         (WebKit::AssociatedURLLoader::willSendRequest):
1801         (WebKit::AssociatedURLLoader::didSendData):
1802         (WebKit::AssociatedURLLoader::didReceiveResponse):
1803         (WebKit::AssociatedURLLoader::didDownloadData):
1804         (WebKit::AssociatedURLLoader::didReceiveData):
1805         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
1806         (WebKit::AssociatedURLLoader::didFinishLoading):
1807         (WebKit::AssociatedURLLoader::didFail):
1808         * src/AssociatedURLLoader.h:
1809
1810 2010-12-14  Mihai Parparita  <mihaip@chromium.org>
1811
1812         Reviewed by Dimitri Glazkov.
1813
1814         Move asynchronous event dispatching out of Document
1815         https://bugs.webkit.org/show_bug.cgi?id=49785
1816         
1817         Change enqueueEvent callsite.
1818
1819         * src/StorageAreaProxy.cpp:
1820         (WebCore::StorageAreaProxy::storageEvent):
1821
1822 2010-12-13  Mike Lawther  <mikelawther@chromium.org>
1823
1824         Reviewed by James Robinson.
1825
1826         Update chromium DEPS to pull in latest Skia
1827         https://bugs.webkit.org/show_bug.cgi?id=50984
1828
1829         Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558) 
1830
1831         * DEPS:
1832
1833 2010-12-13  David Holloway  <dhollowa@chromium.org>
1834
1835         Reviewed by Eric Seidel.
1836
1837         [chromium] Removes deprecated logic following the consolidation of AutoFill and
1838         Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236).
1839         Filling of the form fields is now handled completely on the Chromium side, for
1840         both AutoFill and Autocomplete.
1841
1842         https://bugs.webkit.org/show_bug.cgi?id=41822
1843
1844         * public/WebView.h:
1845         * src/AutoFillPopupMenuClient.cpp:
1846         (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient):
1847         (WebKit::AutoFillPopupMenuClient::valueChanged):
1848         * src/AutoFillPopupMenuClient.h:
1849         * src/WebViewImpl.cpp:
1850         (WebKit::WebViewImpl::applyAutoFillSuggestions):
1851         * src/WebViewImpl.h:
1852
1853 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
1854
1855         Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
1856
1857         REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
1858         https://bugs.webkit.org/show_bug.cgi?id=50950
1859
1860         * src/WebWorkerClientImpl.cpp:
1861         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1862         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1863         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
1864         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
1865
1866 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
1867
1868         Reviewed by Yury Semikhatsky.
1869
1870         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
1871
1872         Debugger and Resources related notification functions of Inspector.idl were
1873         marked as such with help of "domain" attribute. The other changes in js files
1874         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
1875         the others were moved to DebuggerModel class.
1876
1877         https://bugs.webkit.org/show_bug.cgi?id=50906
1878
1879         * src/js/Tests.js:
1880         (.TestSuite.prototype._waitForScriptPause):
1881         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1882         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1883
1884 2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
1885
1886         Reviewed by Adam Barth.
1887
1888         WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
1889         https://bugs.webkit.org/show_bug.cgi?id=8519
1890
1891         Uncaught exceptions are propagated to window.onerror hander if one is present.
1892         The handler is expected to be a function accepting three arguments: error message,
1893         resource url and line number where the exception occured.
1894
1895         * src/WebWorkerClientImpl.cpp:
1896         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1897         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
1898
1899 2010-12-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1900
1901         Unreviewed, rolling out r73898.
1902         http://trac.webkit.org/changeset/73898
1903         https://bugs.webkit.org/show_bug.cgi?id=50919
1904
1905         FileSystem and Database API's were broken (Requested by loislo
1906         on #webkit).
1907
1908         * src/js/Tests.js:
1909         (.TestSuite.prototype._waitForScriptPause):
1910
1911 2010-12-13  Ilya Tikhonovsky  <loislo@chromium.org>
1912
1913         Reviewed by Yury Semikhatsky.
1914
1915         Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.
1916
1917         Debugger and Resources related notification functions of Inspector.idl were
1918         marked as such with help of "domain" attribute. The other changes in js files
1919         are reflecting this change. Some wrappers in WebInspector namespace were dropped,
1920         the others were moved to DebuggerModel class.
1921
1922         https://bugs.webkit.org/show_bug.cgi?id=50906
1923
1924         * src/js/Tests.js:
1925         (.TestSuite.prototype._waitForScriptPause):
1926
1927 2010-10-28  MORITA Hajime  <morrita@google.com>
1928
1929         Reviewed by Ojan Vafai.
1930
1931         spellcheck does not check pasted text
1932         https://bugs.webkit.org/show_bug.cgi?id=40092
1933
1934         Added a stub implememntation.
1935
1936         * src/EditorClientImpl.h:
1937         (WebKit::EditorClientImpl::requestCheckingOfString):
1938
1939 2010-12-10  Chris Fleizach  <cfleizach@apple.com>
1940
1941         Reviewed by Darin Adler.
1942
1943         AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
1944         https://bugs.webkit.org/show_bug.cgi?id=50574
1945
1946         * src/WebAccessibilityObject.cpp:
1947         (WebKit::WebAccessibilityObject::hitTest):
1948
1949 2010-12-10  Zhenyao Mo  <zmo@google.com>
1950
1951         Reviewed by Adam Barth.
1952
1953         Use enums instead of booleans in ImageSource/ImageDecoder constructors
1954         https://bugs.webkit.org/show_bug.cgi?id=50818
1955
1956         * src/WebImageDecoder.cpp:
1957         (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor.
1958
1959 2010-12-10  Kenneth Russell  <kbr@google.com>
1960
1961         Reviewed by James Robinson.
1962
1963         Implement extension entry points and remove EXTENSIONS enum
1964         https://bugs.webkit.org/show_bug.cgi?id=40316
1965
1966         Added support for ensuring that a particular OpenGL extension is
1967         enabled.
1968
1969         * public/WebGraphicsContext3D.h:
1970         * src/Extensions3DChromium.cpp:
1971         (WebCore::Extensions3DChromium::ensureEnabled):
1972         * src/GraphicsContext3DChromium.cpp:
1973         (WebCore::GraphicsContext3DInternal::initializeExtensions):
1974         (WebCore::GraphicsContext3DInternal::supportsExtension):
1975         (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
1976         * src/GraphicsContext3DInternal.h:
1977         * src/WebGraphicsContext3DDefaultImpl.cpp:
1978         (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM):
1979         (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
1980         * src/WebGraphicsContext3DDefaultImpl.h:
1981
1982 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
1983
1984         Reviewed by Steve Block.
1985
1986         [Chromium] Implement mocks for client-based geolocation
1987         https://bugs.webkit.org/show_bug.cgi?id=46895
1988
1989         * WebKit.gyp:
1990         * public/WebGeolocationClientMock.h: Added.
1991         (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock):
1992         (WebKit::WebGeolocationClientMock::WebGeolocationClientMock):
1993         * src/WebGeolocationClientMock.cpp: Added.
1994         (WebKit::WebGeolocationClientMock::create):
1995         (WebKit::WebGeolocationClientMock::initialize):
1996         (WebKit::WebGeolocationClientMock::reset):
1997         (WebKit::WebGeolocationClientMock::setMockGeolocationPosition):
1998         (WebKit::WebGeolocationClientMock::setMockGeolocationError):
1999         (WebKit::WebGeolocationClientMock::setMockGeolocationPermission):
2000         (WebKit::WebGeolocationClientMock::resetMock):
2001         (WebKit::WebGeolocationClientMock::startUpdating):
2002         (WebKit::WebGeolocationClientMock::stopUpdating):
2003         (WebKit::WebGeolocationClientMock::setEnableHighAccuracy):
2004         (WebKit::WebGeolocationClientMock::geolocationDestroyed):
2005         (WebKit::WebGeolocationClientMock::setController):
2006         (WebKit::WebGeolocationClientMock::lastPosition):
2007         (WebKit::WebGeolocationClientMock::requestPermission):
2008         (WebKit::WebGeolocationClientMock::cancelPermissionRequest):
2009         * src/WebGeolocationServiceMock.cpp:
2010
2011 2010-12-10  John Knottenbelt  <jknotten@chromium.org>
2012
2013         Reviewed by Steve Block.
2014
2015         [chromium] Implement client based geolocation bindings
2016         https://bugs.webkit.org/show_bug.cgi?id=45752
2017
2018         Implements the necessary plumbing to expose client-based geolocation in Chromium
2019         webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
2020         in the future.
2021
2022         * WebKit.gyp:
2023         * public/WebGeolocationClient.h: Added.
2024         (WebKit::WebGeolocationClient::~WebGeolocationClient):
2025         * public/WebGeolocationController.h: Added.
2026         (WebKit::WebGeolocationController::WebGeolocationController):
2027         (WebKit::WebGeolocationController::reset):
2028         * public/WebGeolocationError.h:
2029         * public/WebGeolocationPermissionRequest.h: Added.
2030         (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest):
2031         (WebKit::WebGeolocationPermissionRequest::geolocation):
2032         * public/WebGeolocationPermissionRequestManager.h: Added.
2033         (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager):
2034         (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
2035         * public/WebGeolocationPosition.h:
2036         * public/WebViewClient.h:
2037         (WebKit::WebViewClient::geolocationClient):
2038         * src/ChromeClientImpl.cpp:
2039         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
2040         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2041         * src/GeolocationClientProxy.cpp: Added.
2042         (WebKit::GeolocationClientProxy::GeolocationClientProxy):
2043         (WebKit::GeolocationClientProxy::~GeolocationClientProxy):
2044         (WebKit::GeolocationClientProxy::setController):
2045         (WebKit::GeolocationClientProxy::geolocationDestroyed):
2046         (WebKit::GeolocationClientProxy::startUpdating):
2047         (WebKit::GeolocationClientProxy::stopUpdating):
2048         (WebKit::GeolocationClientProxy::setEnableHighAccuracy):
2049         (WebKit::GeolocationClientProxy::lastPosition):
2050         (WebKit::GeolocationClientProxy::requestPermission):
2051         (WebKit::GeolocationClientProxy::cancelPermissionRequest):
2052         * src/GeolocationClientProxy.h: Added.
2053         * src/WebGeolocationController.cpp: Added.
2054         (WebKit::WebGeolocationController::positionChanged):
2055         (WebKit::WebGeolocationController::errorOccurred):
2056         (WebKit::WebGeolocationController::controller):
2057         * src/WebGeolocationPermissionRequest.cpp: Added.
2058         (WebKit::WebGeolocationPermissionRequest::securityOrigin):
2059         (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
2060         * src/WebGeolocationPermissionRequestManager.cpp: Added.
2061         (WebGeolocationPermissionRequestManager::add):
2062         (WebGeolocationPermissionRequestManager::remove):
2063         (WebGeolocationPermissionRequestManager::init):
2064         (WebGeolocationPermissionRequestManager::reset):
2065         * src/WebViewImpl.cpp:
2066         (WebKit::WebViewImpl::WebViewImpl):
2067         * src/WebViewImpl.h:
2068
2069 2010-12-10  Hans Wennborg  <hans@chromium.org>
2070
2071         Reviewed by Jeremy Orlow.
2072
2073         IndexedDB: Numeric keys are floats.
2074         https://bugs.webkit.org/show_bug.cgi?id=50674
2075
2076         Represent numeric keys as floating point values.
2077
2078         * public/WebIDBKey.h:
2079         (WebKit::WebIDBKey::WebIDBKey):
2080         * src/WebIDBKey.cpp:
2081         (WebKit::WebIDBKey::assign):
2082         (WebKit::WebIDBKey::number):
2083
2084 2010-12-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2085
2086         Unreviewed, rolling out r73616.
2087         http://trac.webkit.org/changeset/73616
2088         https://bugs.webkit.org/show_bug.cgi?id=50772
2089
2090         Breaks chromium win build (Requested by hwennborg on #webkit).
2091
2092         * public/WebIDBKey.h:
2093         (WebKit::WebIDBKey::WebIDBKey):
2094         * src/WebIDBKey.cpp:
2095         (WebKit::WebIDBKey::assign):
2096         (WebKit::WebIDBKey::number):
2097
2098 2010-12-09  Hans Wennborg  <hans@chromium.org>
2099
2100         Reviewed by Jeremy Orlow.
2101
2102         IndexedDB: Numeric keys are floats.
2103         https://bugs.webkit.org/show_bug.cgi?id=50674
2104
2105         Represent numeric keys as floating point values.
2106
2107         * public/WebIDBKey.h:
2108         (WebKit::WebIDBKey::WebIDBKey):
2109         * src/WebIDBKey.cpp:
2110         (WebKit::WebIDBKey::assign):
2111         (WebKit::WebIDBKey::number):
2112
2113 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
2114
2115         Reviewed by John Sullivan.
2116
2117         Layering Violation in ContextMenu - member variable of type HitTestResult
2118         https://bugs.webkit.org/show_bug.cgi?id=50586
2119         
2120         Update users of ContextMenu and ContextMenuController to match where the new functions 
2121         are located.
2122
2123         * src/ContextMenuClientImpl.cpp:
2124         (WebKit::selectMisspelledWord):
2125         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2126
2127 2010-12-06  Darin Adler  <darin@apple.com>
2128
2129         Reviewed by Sam Weinig.
2130
2131         Pass security origin to make local file decision correctly
2132         https://bugs.webkit.org/show_bug.cgi?id=48603
2133
2134         * src/ApplicationCacheHost.cpp:
2135         (WebCore::ApplicationCacheHost::selectCacheWithManifest): Pass security origin.
2136         * src/FrameLoaderClientImpl.cpp:
2137         (WebKit::FrameLoaderClientImpl::dispatchCreatePage): Ditto.
2138         (WebKit::FrameLoaderClientImpl::createFrame): Ditto.
2139         * src/WebPluginContainerImpl.cpp:
2140         (WebKit::WebPluginContainerImpl::loadFrameRequest): Ditto.
2141
2142 2010-12-07  Martin Robinson  <mrobinson@igalia.com>
2143
2144         Unreviewed, rolling out r73392.
2145         http://trac.webkit.org/changeset/73392
2146         https://bugs.webkit.org/show_bug.cgi?id=50489
2147
2148         This commit caused crashes on the GTK+ bots
2149
2150         * src/ContextMenuClientImpl.cpp:
2151         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2152         * src/FrameLoaderClientImpl.cpp:
2153         (WebKit::FrameLoaderClientImpl::finishedLoading):
2154         * src/WebFrameImpl.cpp:
2155         (WebKit::WebFrameImpl::encoding):
2156         (WebKit::WebFrameImpl::loadJavaScriptURL):
2157         * src/WebPageSerializerImpl.cpp:
2158         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
2159         (WebKit::WebPageSerializerImpl::serialize):
2160         * src/WebSearchableFormData.cpp:
2161         (WebCore::GetFormEncoding):
2162         * src/WebViewImpl.cpp:
2163         (WebKit::WebViewImpl::pageEncoding):
2164
2165 2010-12-07  Kenichi Ishibashi  <bashi@google.com>
2166
2167         Reviewed by Kent Tamura.
2168
2169         Let HTMLObjectElement be a form associated element
2170         https://bugs.webkit.org/show_bug.cgi?id=48821
2171
2172         Modified to use FormAssociatedElement instead of HTMLFormControlElement.
2173
2174         * src/WebFormElement.cpp: 
2175         (WebKit::WebFormElement::getFormControlElements): Modified to use
2176         FormAssociatedElement instead of HTMLFormControlElement.
2177         * src/WebPasswordFormUtils.cpp:
2178         (WebKit::findPasswordFormFields): Ditto.
2179         * src/WebSearchableFormData.cpp:
2180         (WebCore::GetButtonToActivate): Ditto.
2181         (WebCore::HasSuitableTextElement): Ditto.
2182
2183 2010-12-06  Nate Chapin  <japhet@chromium.org>
2184
2185         Reviewed by Adam Barth.
2186
2187         Update calls to DocumentWriter.
2188         https://bugs.webkit.org/show_bug.cgi?id=50489
2189
2190         * src/ContextMenuClientImpl.cpp:
2191         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2192         * src/FrameLoaderClientImpl.cpp:
2193         (WebKit::FrameLoaderClientImpl::finishedLoading):
2194         * src/WebFrameImpl.cpp:
2195         (WebKit::WebFrameImpl::encoding):
2196         (WebKit::WebFrameImpl::loadJavaScriptURL):
2197         * src/WebPageSerializerImpl.cpp:
2198         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
2199         (WebKit::WebPageSerializerImpl::serialize):
2200         * src/WebSearchableFormData.cpp:
2201         (WebCore::GetFormEncoding):
2202         * src/WebViewImpl.cpp:
2203         (WebKit::WebViewImpl::pageEncoding):
2204
2205 2010-12-03  Sheriff Bot  <webkit.review.bot@gmail.com>
2206
2207         Unreviewed, rolling out r73302.
2208         http://trac.webkit.org/changeset/73302
2209         https://bugs.webkit.org/show_bug.cgi?id=50499
2210
2211         Causes crashes in debug LayoutTests (Requested by xan_ on
2212         #webkit).
2213
2214         * public/WebAccessibilityObject.h:
2215         * src/WebAccessibilityObject.cpp:
2216         (WebKit::WebAccessibilityObject::parentObject):
2217
2218 2010-12-01  Ilya Tikhonovsky  <loislo@chromium.org>
2219
2220         Reviewed by Pavel Feldman.
2221
2222         Web Inspector: Inspector protocol cleanup task.
2223
2224         The patch has just small renames and adjustments for the protocol things.
2225         'handler' keyword in idl file was replaced with 'domain'.
2226         'domain' property was assigned for the each backend to frontend messages.
2227         At the next step WebInspector wrapper functions will be removed and 'agents' will be called directly.
2228
2229         https://bugs.webkit.org/show_bug.cgi?id=50337
2230
2231         * src/WebDevToolsFrontendImpl.cpp:
2232         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
2233
2234 2010-12-03  Chris Guillory  <chris.guillory@google.com>
2235
2236         Reviewed by Chris Fleizach.
2237
2238         Include the FrameView widget of a RenderWidget in the accessibility tree.
2239         https://bugs.webkit.org/show_bug.cgi?id=49106
2240
2241         * public/WebAccessibilityObject.h:
2242         * src/WebAccessibilityObject.cpp:
2243         (WebKit::WebAccessibilityObject::equals):
2244         (WebKit::WebAccessibilityObject::parentObject):
2245
2246 2010-11-29  Jeremy Orlow  <jorlow@chromium.org>
2247
2248         Reviewed by Darin Fisher.
2249
2250         [Chromium] Clean up IndexedDB 2 sided roll bits
2251         https://bugs.webkit.org/show_bug.cgi?id=50160
2252
2253         * public/WebIDBDatabase.h:
2254         (WebKit::WebIDBDatabase::version):
2255         (WebKit::WebIDBDatabase::objectStoreNames):
2256         (WebKit::WebIDBDatabase::deleteObjectStore):
2257         * public/WebIDBFactory.h:
2258         (WebKit::WebIDBFactory::open):
2259         * public/WebIDBKeyRange.h:
2260         * public/WebIDBObjectStore.h:
2261         (WebKit::WebIDBObjectStore::deleteFunction):
2262         * src/IDBDatabaseProxy.cpp:
2263         * src/IDBDatabaseProxy.h:
2264         * src/WebIDBKeyRange.cpp:
2265
2266 2010-12-02  Chris Rogers  <crogers@google.com>
2267
2268         Reviewed by Darin Fisher.
2269
2270         Fine-tune chromium WebKit API for loading audio resources
2271         https://bugs.webkit.org/show_bug.cgi?id=50406
2272
2273         * public/WebAudioBus.h:
2274         (WebKit::WebAudioBus::~WebAudioBus):
2275         * public/WebKitClient.h:
2276         (WebKit::WebKitClient::loadAudioResource):
2277         * src/ChromiumBridge.cpp:
2278         (WebCore::ChromiumBridge::decodeAudioFileData):
2279         * src/WebAudioBus.cpp:
2280         (WebKit::WebAudioBus::reset):
2281
2282 2010-12-02  Darin Fisher  <darin@chromium.org>
2283
2284         Fix the Windows multi-dll build.  Do not export functions that are
2285         implemented inline!
2286
2287         * public/WebFormControlElement.h:
2288         (WebKit::WebFormControlElement::assign):
2289
2290 2010-12-02  Tony Chang  <tony@chromium.org>
2291
2292         Unreviewed, roll chromium deps to r67980.
2293
2294         * DEPS:
2295
2296 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
2297
2298         Reviewed by Pavel Feldman.
2299
2300         Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
2301         Enable resource export to HAR for Chromium.
2302         https://bugs.webkit.org/show_bug.cgi?id=45663
2303
2304         * src/js/DevTools.js: Preferences.resourceExportEnabled = true
2305
2306 2010-12-02  Vincent Scheib  <scheib@chromium.org>
2307
2308         Reviewed by Darin Fisher.
2309
2310         [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
2311         https://bugs.webkit.org/show_bug.cgi?id=50285
2312
2313         Test by loading "about:histograms" after navigating to accelerated pages.
2314
2315         * public/WebKitClient.h:
2316         (WebKit::WebKitClient::histogramCustomCounts): api update.
2317         (WebKit::WebKitClient::histogramEnumeration): api update.
2318         * src/ChromiumBridge.cpp:
2319         (WebCore::ChromiumBridge::histogramCustomCounts): api update.
2320         (WebCore::ChromiumBridge::histogramEnumeration): api update.
2321         * src/WebViewImpl.cpp:
2322         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
2323
2324 2010-12-01  Jia Pu  <jpu@apple.com>
2325
2326         Reviewed by Darin Adler.
2327
2328         Support multiple correction candidates panel for misspelled word on Mac OS X.
2329         https://bugs.webkit.org/show_bug.cgi?id=50137
2330         <rdar://problem/8568059>
2331
2332         Adopted new function signature defined in base class.
2333
2334         * src/EditorClientImpl.cpp:
2335         (WebKit::EditorClientImpl::getGuessesForWord):
2336         * src/EditorClientImpl.h:
2337
2338 2010-12-01  Alexey Marinichev  <amarinichev@chromium.org>
2339
2340         Reviewed by James Robinson.
2341
2342         [chromium] renderer does not realize hardware compositing is disabled and crashes
2343         https://bugs.webkit.org/show_bug.cgi?id=50264
2344
2345         * src/WebViewImpl.cpp:
2346         (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always
2347         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check
2348         (WebKit::WebViewImpl::reallocateRenderer):
2349
2350 2010-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
2351
2352         Reviewed by Darin Fisher.
2353
2354         Get the value of the accelerated compositing triggers from the Settings
2355         class.  This allows setting the triggers via command line flags.
2356         https://bugs.webkit.org/show_bug.cgi?id=50301
2357
2358         * public/WebSettings.h:
2359         * src/ChromeClientImpl.cpp:
2360         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
2361         * src/WebSettingsImpl.cpp:
2362         (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
2363         (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
2364         (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
2365         (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
2366         (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
2367         * src/WebSettingsImpl.h:
2368
2369 2010-12-01  Tony Chang  <tony@chromium.org>
2370
2371         Unreviewed, rolling chromium deps to r67811.
2372
2373         * DEPS:
2374
2375 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
2376
2377         Reviewed by Pavel Feldman.
2378
2379         Web Inspector: disable cookies tab in network resource view by default, enable for chromium
2380         https://bugs.webkit.org/show_bug.cgi?id=50249
2381
2382         * src/js/DevTools.js:
2383
2384 2010-11-30  Ojan Vafai  <ojan@chromium.org>
2385
2386         Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
2387         https://bugs.webkit.org/show_bug.cgi?id=50288
2388
2389         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
2390         Reviewed by Darin Adler.
2391         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
2392         https://bugs.webkit.org/show_bug.cgi?id=50182
2393         A display-isolated URL can only be displayed (e.g., put in an iframe,
2394         hyperlinked to) by documents from that scheme. In a sense, this is a
2395         generalization of some of the protections we give file URLs, but
2396         instead of lumping them all together into one "local" bucket, this
2397         patch creates a separate bucket for each scheme.
2398         For a while, I tried using a separate bucket for each origin. That
2399         would have played nicely with what Blob URLs are trying to do, but some
2400         "chrome" URL pages rely on being able to display other chrome URL
2401         pages, even in different origins. For example, the New Tab Page shows
2402         thumbnails from the "thumbnail" host.
2403         This patch also removes a bunch of unused code. I've also propagated
2404         the "deprecated" status of deprecatedCanDisplay to
2405         deprecatedShouldTreatURLAsLocal because that method has no other
2406         callers and is really asking for uppercase/lowercase bugs. I dream of
2407         someday removing these functions.
2408         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
2409         Reviewed by Darin Adler.
2410         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
2411          https://bugs.webkit.org/show_bug.cgi?id=50182
2412         This patch adds a Chromium API for registering schemes as
2413         display-isolated. In a subsequent patch, I'll change the "chrome"
2414         scheme in Chrome to be display isolated instead of local. That will
2415         prevent file URLs from linking to chrome URLs.
2416
2417         * public/WebSecurityPolicy.h:
2418         * src/WebSecurityPolicy.cpp:
2419
2420 2010-11-30  James Robinson  <jamesr@chromium.org>
2421
2422         Reviewed by Dimitri Glazkov.
2423
2424         [chromium] Update yasm entry in DEPS to match downstream
2425         https://bugs.webkit.org/show_bug.cgi?id=50274
2426
2427         http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule
2428         for yasm to pull unconditionally rather than pulling in each deps_os.  This changes the WebKit
2429         chromium DEPS to match.
2430
2431         * DEPS:
2432
2433 2010-11-29  Vangelis Kokkevis  <vangelis@chromium.org>
2434
2435         Reviewed by Simon Fraser.
2436
2437         Provide more fine grained control to ports over when to turn on accelerated
2438         compositing.
2439         https://bugs.webkit.org/show_bug.cgi?id=49998
2440
2441         As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
2442         has now been replaced by allowedCompositingTriggers which returns a bitfield of
2443         all the features which can trigger the compositor.
2444
2445         * src/ChromeClientImpl.cpp:
2446         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
2447         * src/ChromeClientImpl.h:
2448
2449 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
2450
2451         Reviewed by Darin Fisher.
2452
2453         [chromium] pass webframe to web frame client's cookieJar
2454         https://bugs.webkit.org/show_bug.cgi?id=50148
2455
2456         * public/WebFrameClient.h:
2457         (WebKit::WebFrameClient::cookieJar):
2458         * src/ChromiumBridge.cpp:
2459         (WebCore::getCookieJar):
2460
2461 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
2462
2463         Unreviewed. Roll chromium 67532:67541.
2464
2465         * DEPS:
2466
2467 2010-11-29  Adam Barth  <abarth@webkit.org>
2468
2469         Reviewed by Darin Adler.
2470
2471         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
2472         https://bugs.webkit.org/show_bug.cgi?id=50182
2473
2474         This patch adds a Chromium API for registering schemes as
2475         display-isolated.  In a subsequent patch, I'll change the "chrome"
2476         scheme in Chrome to be display isolated instead of local.  That will
2477         prevent file URLs from linking to chrome URLs.
2478
2479         * public/WebSecurityPolicy.h:
2480         * src/WebSecurityPolicy.cpp:
2481         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
2482
2483 2010-11-29  Kent Tamura  <tkent@chromium.org>
2484
2485         Reviewed by Darin Fisher.
2486
2487         [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
2488         https://bugs.webkit.org/show_bug.cgi?id=50053
2489
2490         * public/WebKitClient.h:
2491         (WebKit::WebKitClient::queryLocalizedString): Add overload functions with
2492           substitution string parameters, and remove the integer parameter overload.
2493         * src/LocalizedStrings.cpp:
2494         (WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
2495         (WebCore::multipleFileUploadText): Call the string parameter query().
2496         (WebCore::validationMessageTooLongText): Pass the parameters to query().
2497         (WebCore::validationMessageRangeUnderflowText): ditto.
2498         (WebCore::validationMessageRangeOverflowText): ditto.
2499         (WebCore::validationMessageStepMismatchText): ditto.
2500
2501 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
2502
2503         Remove Build directory that was erroneously added in r72103.
2504
2505         * Build: Removed.
2506
2507 2010-11-29  Andrey Kosyakov  <caseq@chromium.org>
2508
2509         Reviewed by Darin Fisher.
2510
2511         Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
2512         Added WebDevToolsAgent::inspect()
2513         https://bugs.webkit.org/show_bug.cgi?id=49727
2514
2515         * public/WebDevToolsAgent.h:
2516         * src/WebDevToolsAgentImpl.cpp:
2517         (WebKit::WebDevToolsAgentImpl::inspectNode):
2518         * src/WebDevToolsAgentImpl.h:
2519
2520 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
2521
2522         [Chromium] Remove python_24 dependency, because it is no longer necessary.
2523
2524         * DEPS: Removed python_24 dependency.
2525
2526 2010-11-29  Bernhard Bauer  <bauerb@chromium.org>
2527
2528         Reviewed by Jeremy Orlow.
2529
2530         Remove databaseFileName from WebIDBFactory
2531         https://bugs.webkit.org/show_bug.cgi?id=50150
2532
2533         * WebKit.gyp:
2534         * public/WebIDBFactory.h:
2535         (WebKit::WebIDBFactory::open):
2536         * src/WebIDBFactory.cpp: Removed.
2537
2538 2010-11-26  Andrei Popescu  <andreip@google.com>
2539
2540         Reviewed by Jeremy Orlow.
2541
2542         IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
2543         https://bugs.webkit.org/show_bug.cgi?id=50113
2544
2545         * public/WebIDBDatabase.h:
2546         (WebKit::WebIDBDatabase::deleteObjectStore):
2547         (WebKit::WebIDBDatabase::removeObjectStore):
2548         * public/WebIDBObjectStore.h:
2549         (WebKit::WebIDBObjectStore::remove):
2550         (WebKit::WebIDBObjectStore::deleteFunction):
2551         (WebKit::WebIDBObjectStore::deleteIndex):
2552         * src/IDBDatabaseProxy.cpp:
2553         (WebCore::IDBDatabaseProxy::deleteObjectStore):
2554         * src/IDBDatabaseProxy.h:
2555         * src/IDBObjectStoreProxy.cpp:
2556         (WebCore::IDBObjectStoreProxy::deleteFunction):
2557         (WebCore::IDBObjectStoreProxy::deleteIndex):
2558         * src/IDBObjectStoreProxy.h:
2559         * src/WebIDBDatabaseImpl.cpp:
2560         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
2561         * src/WebIDBDatabaseImpl.h:
2562         * src/WebIDBObjectStoreImpl.cpp:
2563         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
2564         (WebKit::WebIDBObjectStoreImpl::deleteIndex):
2565         * src/WebIDBObjectStoreImpl.h:
2566
2567 2010-11-26  Jeremy Orlow  <jorlow@chromium.org>
2568
2569         Reviewed by Steve Block.
2570
2571         Make IDBKeyRange match the spec
2572         https://bugs.webkit.org/show_bug.cgi?id=50105
2573
2574         Remove flags and instead add two booleans for being open.
2575         Change left to lower and right to upper everywhere.
2576
2577         * public/WebIDBKeyRange.h:
2578         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
2579         * src/WebIDBKeyRange.cpp:
2580         (WebKit::WebIDBKeyRange::assign):
2581         (WebKit::WebIDBKeyRange::left):
2582         (WebKit::WebIDBKeyRange::right):
2583         (WebKit::WebIDBKeyRange::lower):
2584         (WebKit::WebIDBKeyRange::upper):
2585         (WebKit::WebIDBKeyRange::lowerOpen):
2586         (WebKit::WebIDBKeyRange::upperOpen):
2587         (WebKit::WebIDBKeyRange::flags):
2588
2589 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
2590
2591         Reviewed by Steve Block.
2592
2593         Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
2594         https://bugs.webkit.org/show_bug.cgi?id=50081
2595
2596         Plumb IDBTransaction.objectStore's exception code.
2597
2598         * public/WebIDBTransaction.h:
2599         (WebKit::WebIDBTransaction::objectStore):
2600         * src/IDBDatabaseProxy.cpp:
2601         (WebCore::IDBDatabaseProxy::transaction):
2602         * src/IDBTransactionBackendProxy.cpp:
2603         (WebCore::IDBTransactionBackendProxy::objectStore):
2604         * src/IDBTransactionBackendProxy.h:
2605         * src/WebIDBDatabaseImpl.cpp:
2606         (WebKit::WebIDBDatabaseImpl::createObjectStore):
2607         (WebKit::WebIDBDatabaseImpl::transaction):
2608         * src/WebIDBTransactionImpl.cpp:
2609         (WebKit::WebIDBTransactionImpl::objectStore):
2610         * src/WebIDBTransactionImpl.h:
2611
2612 2010-11-26  Hans Wennborg  <hans@chromium.org>
2613
2614         Reviewed by Jeremy Orlow.
2615
2616         IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
2617         https://bugs.webkit.org/show_bug.cgi?id=50102
2618
2619         Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
2620
2621         * public/WebIDBDatabase.h:
2622         (WebKit::WebIDBDatabase::objectStores):
2623         (WebKit::WebIDBDatabase::objectStoreNames):
2624         * src/IDBDatabaseProxy.cpp:
2625         (WebCore::IDBDatabaseProxy::objectStoreNames):
2626         * src/IDBDatabaseProxy.h:
2627         * src/WebIDBDatabaseImpl.cpp:
2628         (WebKit::WebIDBDatabaseImpl::objectStoreNames):
2629         * src/WebIDBDatabaseImpl.h:
2630
2631 2010-11-26  Andrei Popescu  <andreip@google.com>
2632
2633         Reviewed by Jeremy Orlow.
2634
2635         IDBFactory::open should not have a description argument.
2636         https://bugs.webkit.org/show_bug.cgi?id=50087
2637
2638         * public/WebIDBDatabase.h:
2639         (WebKit::WebIDBDatabase::description):
2640         * public/WebIDBFactory.h:
2641         (WebKit::WebIDBFactory::open):
2642         * src/IDBFactoryBackendProxy.cpp:
2643         (WebCore::IDBFactoryBackendProxy::open):
2644         * src/IDBFactoryBackendProxy.h:
2645         * src/WebIDBDatabaseImpl.cpp:
2646         * src/WebIDBDatabaseImpl.h:
2647         * src/WebIDBFactory.cpp:
2648         * src/WebIDBFactoryImpl.cpp:
2649         (WebKit::WebIDBFactoryImpl::open):
2650         * src/WebIDBFactoryImpl.h:
2651
2652 2010-11-25  Ilya Tikhonovsky  <loislo@chromium.org>
2653
2654         Unreviewed. Roll chromium 67004:67404.
2655
2656         * DEPS:
2657
2658 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
2659
2660         Reviewed by Steve Block.
2661
2662         Add exception code to WebIDBTransaction::objectStore
2663         https://bugs.webkit.org/show_bug.cgi?id=50030
2664
2665         * public/WebIDBTransaction.h:
2666         (WebKit::WebIDBTransaction::objectStore):
2667
2668 2010-11-24  MORITA Hajime  <morrita@google.com>
2669
2670         Reviewed by Kent Tamura.
2671
2672         [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick()
2673         https://bugs.webkit.org/show_bug.cgi?id=50052
2674         
2675         makeStringArrayImpl() assumed wtf::StringImpl data is
2676         null-terminated. But it is not.
2677         Changed the code to pass the string length explicitly instead of
2678         making it computed by v8::String::New().
2679
2680         * src/WebBindings.cpp:
2681         (WebKit::makeStringArrayImpl):
2682
2683 2010-11-24  Eric Uhrhane  <ericu@chromium.org>
2684
2685         Reviewed by David Levin.
2686
2687         [Chromium] Implement FileWriterSync
2688         https://bugs.webkit.org/show_bug.cgi?id=49940
2689
2690         Added waitForOperationToComplete, delegating to the bridge.
2691         * src/WorkerAsyncFileWriterChromium.cpp:
2692         * src/WorkerAsyncFileWriterChromium.h:
2693
2694         Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
2695         * src/WorkerFileWriterCallbacksBridge.cpp:
2696         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
2697         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
2698         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
2699         (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
2700         (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
2701         (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
2702         (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
2703         (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
2704         * src/WorkerFileWriterCallbacksBridge.h:
2705
2706 2010-11-24  Kenneth Russell  <kbr@google.com>
2707
2708         Reviewed by Darin Fisher.
2709
2710         [chromium] Disable antialiasing for compositor
2711         https://bugs.webkit.org/show_bug.cgi?id=50039
2712
2713         * src/WebViewImpl.cpp:
2714         (WebCore::getCompositorContextAttributes):
2715         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2716         (WebKit::WebViewImpl::graphicsContext3D):
2717
2718 2010-11-24  Satish Sampath  <satish@chromium.org>
2719
2720         Reviewed by Steve Block.
2721
2722         Remove API migration code which is no longer used.
2723         https://bugs.webkit.org/show_bug.cgi?id=50013
2724
2725         * public/WebSpeechInputControllerMock.h:
2726
2727 2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2728
2729         Unreviewed, rolling out r72628.
2730         http://trac.webkit.org/changeset/72628
2731         https://bugs.webkit.org/show_bug.cgi?id=49994
2732
2733         This patch is causing layout-test failtures on GTK Linux
2734         64-bit Debug (Requested by ctguil on #webkit).
2735
2736         * public/WebAccessibilityObject.h:
2737         * src/WebAccessibilityObject.cpp:
2738         (WebKit::WebAccessibilityObject::parentObject):
2739
2740 2010-11-23  Chris Guillory  <chris.guillory@google.com>
2741
2742         Reviewed by Dimitri Glazkov.
2743
2744         Include the FrameView widget of a RenderWidget in the accessibility tree.
2745         https://bugs.webkit.org/show_bug.cgi?id=49106
2746
2747         * public/WebAccessibilityObject.h:
2748         * src/WebAccessibilityObject.cpp:
2749         (WebKit::WebAccessibilityObject::equals):
2750         (WebKit::WebAccessibilityObject::parentObject):
2751
2752 2010-11-23  John Knottenbelt  <jknotten@chromium.org>
2753
2754         Reviewed by Darin Fisher.
2755
2756         [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
2757         https://bugs.webkit.org/show_bug.cgi?id=49735
2758
2759         Introduce WebKit API types so that the browser implementation can feed
2760         position and error updates to the WebCore::GeolocationController.
2761
2762         * WebKit.gyp:
2763         * public/WebGeolocationError.h: Added.
2764         (WebKit::WebGeolocationError::WebGeolocationError):
2765         (WebKit::WebGeolocationError::~WebGeolocationError):
2766         * public/WebGeolocationPosition.h: Added.
2767         (WebKit::WebGeolocationPosition::WebGeolocationPosition):
2768         (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
2769         * src/WebGeolocationError.cpp: Added.
2770         (WebKit::WebGeolocationError::assign):
2771         (WebKit::WebGeolocationError::reset):
2772         (WebKit::WebGeolocationError::WebGeolocationError):
2773         (WebKit::WebGeolocationError::operator=):
2774         (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
2775         * src/WebGeolocationPosition.cpp: Added.
2776         (WebKit::WebGeolocationPosition::assign):
2777         (WebKit::WebGeolocationPosition::reset):
2778         (WebKit::WebGeolocationPosition::operator=):
2779         (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):
2780
2781 2010-11-23  Jonathan Backer  <backer@chromium.org>
2782
2783         Reviewed by Kenneth Russell.
2784
2785         Renderer is resizing IOSurfaces when accelerated compositing is disabled.
2786         https://bugs.webkit.org/show_bug.cgi?id=49827
2787
2788         - IOSurfaces are only presented when accelerated compositing is enabled.
2789         - Slight performance increase (and clean-up for using this path for Linux and Windows).
2790
2791         * src/WebViewImpl.cpp:
2792         (WebKit::WebViewImpl::resize):
2793
2794 2010-11-23  Grace Kloba  <klobag@chromium.org>
2795
2796         Reviewed by Kenneth Russell.
2797
2798         [chromium] Accumulated scroll damage rect should be in the content space
2799         https://bugs.webkit.org/show_bug.cgi?id=49842
2800
2801         * src/WebViewImpl.cpp:
2802         (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect.
2803
2804 2010-11-18  Darin Fisher  <darin@chromium.org>
2805
2806         Reviewed by Dimitri Glazkov.
2807
2808         Add a mechanism for creating a WebURLLoader that is associated with a
2809         particular WebFrame.
2810         https://bugs.webkit.org/show_bug.cgi?id=49764
2811
2812         This will be used by code that calls webKitClient()->createURLLoader()
2813         from within the Chromium source tree.
2814
2815         An associated WebURLLoader should be treated like a subresource of the
2816         WebFrame's document.
2817
2818         * WebKit.gyp:
2819         * public/WebFrame.h:
2820         * src/AssociatedURLLoader.cpp: Added.
2821         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2822         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2823         (WebKit::AssociatedURLLoader::loadSynchronously):
2824         (WebKit::AssociatedURLLoader::loadAsynchronously):
2825         (WebKit::AssociatedURLLoader::cancel):
2826         (WebKit::AssociatedURLLoader::setDefersLoading):
2827         (WebKit::AssociatedURLLoader::PrepareRequest):
2828         * src/AssociatedURLLoader.h: Added.
2829         * src/WebFrameImpl.cpp:
2830         (WebKit::WebFrameImpl::createAssociatedURLLoader):
2831         * src/WebFrameImpl.h:
2832
2833 2010-11-23  Satish Sampath  <satish@chromium.org>
2834
2835         Unreviewed, chromium build fix.
2836
2837         * public/WebSpeechInputControllerMock.h:
2838         (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult):
2839
2840 2010-11-18  Satish Sampath  <satish@chromium.org>
2841
2842         Reviewed by Jeremy Orlow.
2843
2844         For speech input event, send an event object containing all the recognition results and metadata.
2845         https://bugs.webkit.org/show_bug.cgi?id=49736
2846
2847         Updated mock object's method to new signature.
2848
2849         * public/WebSpeechInputControllerMock.h:
2850         * src/WebSpeechInputControllerMockImpl.cpp:
2851         (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
2852         * src/WebSpeechInputControllerMockImpl.h:
2853
2854 2010-11-22  Alexey Marinichev  <amarinichev@chromium.org>
2855
2856         Reviewed by Kenneth Russell.
2857
2858         [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB
2859         https://bugs.webkit.org/show_bug.cgi?id=49946
2860
2861         * public/WebGraphicsContext3D.h: added isContextLost()
2862         * src/Extensions3DChromium.cpp:
2863         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
2864         * src/GraphicsContext3DChromium.cpp:
2865         (WebCore::GraphicsContext3DInternal::isContextLost):
2866         * src/GraphicsContext3DInternal.h:
2867         * src/WebGraphicsContext3DDefaultImpl.cpp:
2868         (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost):
2869         * src/WebGraphicsContext3DDefaultImpl.h:
2870         * src/WebViewImpl.cpp:
2871         (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining
2872
2873 2010-11-22  Jay Civelli  <jcivelli@chromium.org>
2874
2875         Reviewed by David Levin.
2876
2877         Don't create an external popup menu when there are no items to show.
2878         https://bugs.webkit.org/show_bug.cgi?id=49937
2879
2880         * src/ExternalPopupMenu.cpp:
2881         (WebKit::ExternalPopupMenu::show):
2882
2883 2010-11-22  Nat Duca  <nduca@chromium.org>
2884
2885         Reviewed by Kenneth Russell.
2886
2887         [chromium] Send didActivateAcceleratedCompositing when compositor
2888         initializes but does not create the shared context3d.
2889         https://bugs.webkit.org/show_bug.cgi?id=49930
2890
2891         * src/WebViewImpl.cpp:
2892         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2893
2894 2010-11-22  Tony Chang  <tony@chromium.org>
2895
2896         Unreviewed, roll Chromium DEPS to r67004.
2897
2898         * DEPS:
2899
2900 2010-11-22  Pavel Feldman  <pfeldman@chromium.org>
2901
2902         Not reviewed. Partially roll out r72282.
2903         It should not have modified devtools files.
2904
2905         * src/js/devTools.css:
2906
2907 2010-11-19  Ilya Sherman  <isherman@chromium.org>
2908
2909         Reviewed by Darin Fisher.
2910
2911         Expose default value of maxLength in Chromium API
2912         https://bugs.webkit.org/show_bug.cgi?id=49723
2913
2914         * public/WebInputElement.h: Added constant defaultMaximumLength
2915         * src/WebInputElement.cpp:
2916
2917 2010-11-18  Zhenyao Mo  <zmo@google.com>
2918
2919         Reviewed by Kenneth Russell.
2920
2921         GraphicsContext3D::reshape is clearing using current clear color instead of transparent
2922         https://bugs.webkit.org/show_bug.cgi?id=44064
2923
2924         * src/WebGraphicsContext3DDefaultImpl.cpp:
2925         (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values.
2926
2927 2010-11-19  Tony Chang  <tony@chromium.org>
2928
2929         Unreviewed, updating Chromium DEPS to try and fix the chromium win build.
2930
2931         * DEPS: r66792
2932
2933 2010-11-19  Tony Chang  <tony@chromium.org>
2934
2935         Reviewed by Kent Tamura.
2936
2937         [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux
2938         https://bugs.webkit.org/show_bug.cgi?id=49706
2939
2940         It is enabled simply by copying the plugin into
2941         {Debug,Release}/plugins.  This change also rolls in a version of
2942         Chromium that disables the old plugin.
2943
2944         * WebKit.gyp:
2945
2946 2010-11-19  Sheriff Bot  <webkit.review.bot@gmail.com>
2947
2948         Unreviewed, rolling out r72399.
2949         http://trac.webkit.org/changeset/72399
2950         https://bugs.webkit.org/show_bug.cgi?id=49805
2951
2952         Broke Chromium build (Requested by antonm_ on #webkit).
2953
2954         * src/ChromeClientImpl.cpp:
2955         (WebKit::ChromeClientImpl::popupOpened):
2956         * src/ChromeClientImpl.h:
2957
2958 2010-11-19  Jay Civelli  <jcivelli@chromium.org>
2959
2960         Reviewed by David Levin.
2961
2962         Removing unused code to show popup externally on Mac.
2963         https://bugs.webkit.org/show_bug.cgi?id=49747
2964
2965         * src/ChromeClientImpl.cpp:
2966         (WebKit::ChromeClientImpl::popupOpened):
2967         * src/ChromeClientImpl.h:
2968
2969 2010-11-19  Pavel Feldman  <pfeldman@chromium.org>
2970
2971         Not reviewed: flip chromium version to mitigate two-sided patch impact.
2972
2973         * DEPS:
2974
2975 2010-11-18  Pavel Feldman  <pfeldman@chromium.org>
2976
2977         Reviewed by Yury Semikhatsky.
2978
2979         Web Inspector: provide response code and status text as a part
2980         of raw headers data.
2981         https://bugs.webkit.org/show_bug.cgi?id=49668
2982
2983         * WebKit.gyp:
2984         * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h.
2985         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
2986         (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
2987         (WebKit::WebHTTPLoadInfo::operator =):
2988         * public/WebURLResponse.h:
2989         * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp.
2990         (WebKit::WebHTTPLoadInfo::initialize):
2991         (WebKit::WebHTTPLoadInfo::reset):
2992         (WebKit::WebHTTPLoadInfo::assign):
2993         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
2994         (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
2995         (WebKit::WebHTTPLoadInfo::responseCode):
2996         (WebKit::WebHTTPLoadInfo::setResponseCode):
2997         (WebKit::WebHTTPLoadInfo::statusText):
2998         (WebKit::WebHTTPLoadInfo::setStatusText):
2999         (WebKit::addHeader):
3000         (WebKit::WebHTTPLoadInfo::addRequestHeader):
3001         (WebKit::WebHTTPLoadInfo::addResponseHeader):
3002         * src/WebURLResponse.cpp:
3003         (WebKit::WebURLResponse::httpLoadInfo):
3004         (WebKit::WebURLResponse::setHTTPLoadInfo):
3005
3006 2010-11-18  Kent Tamura  <tkent@chromium.org>
3007
3008         Reviewed by Tony Chang.
3009
3010         Add more validation message functions
3011         https://bugs.webkit.org/show_bug.cgi?id=49716
3012
3013         Add implementations of new functions and symbols for new messages.
3014
3015         * public/WebLocalizedString.h:
3016         * src/LocalizedStrings.cpp:
3017         (WebCore::validationMessageValueMissingForCheckboxText):
3018         (WebCore::validationMessageValueMissingForFileText):
3019         (WebCore::validationMessageValueMissingForMultipleFileText):
3020         (WebCore::validationMessageValueMissingForRadioText):
3021         (WebCore::validationMessageValueMissingForSelectText):
3022
3023 2010-11-18  Tony Chang  <tony@chromium.org>
3024
3025         Unreviewed, fix chromium compile.  We need ipc and openssl now.
3026
3027         * DEPS:
3028
3029 2010-11-18  James Robinson  <jamesr@chromium.org>
3030
3031         Reviewed by David Levin.
3032
3033         [chromium] Update chromium DEPS to r66658 to pick up skia roll
3034         https://bugs.webkit.org/show_bug.cgi?id=49754
3035
3036         * DEPS:
3037
3038 2010-11-18  Jeremy Orlow  <jorlow@chromium.org>
3039
3040         Reviewed by Darin Fisher.
3041
3042         [chromium] IndexedDB API cleanup
3043         https://bugs.webkit.org/show_bug.cgi?id=49733
3044
3045         Make it so that you can't directly instantiate our "interface"
3046         classes.  Remove some code for 2 sided merges.
3047
3048         * public/WebIDBCursor.h:
3049         (WebKit::WebIDBCursor::WebIDBCursor):
3050         * public/WebIDBDatabase.h:
3051         (WebKit::WebIDBDatabase::WebIDBDatabase):
3052         * public/WebIDBIndex.h:
3053         (WebKit::WebIDBIndex::WebIDBIndex):
3054         * public/WebIDBObjectStore.h:
3055         (WebKit::WebIDBObjectStore::WebIDBObjectStore):
3056         * public/WebIDBTransaction.h:
3057         (WebKit::WebIDBTransaction::WebIDBTransaction):
3058         * src/IDBTransactionBackendProxy.cpp:
3059         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
3060
3061 2010-11-18  Pavel Feldman  <pfeldman@chromium.org>
3062
3063         Reviewed by Yury Semikhatsky.
3064
3065         Chrome DevTools: minify front-end JavaScript.
3066         https://bugs.webkit.org/show_bug.cgi?id=49657
3067
3068         * scripts/concatenate_js_files.py:
3069         * scripts/jsmin.py: Added.
3070
3071 2010-11-18  Chris Rogers  <crogers@google.com>
3072
3073         Reviewed by Dimitri Glazkov.
3074
3075         Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge
3076         https://bugs.webkit.org/show_bug.cgi?id=49557
3077
3078         * WebKit.gyp:
3079         * public/WebAudioBus.h: Added.
3080         (WebKit::WebAudioBus::WebAudioBus):
3081         * public/WebKitClient.h:
3082         (WebKit::WebKitClient::decodeAudioFileData):
3083         * src/ChromiumBridge.cpp:
3084         (WebCore::ChromiumBridge::loadPlatformAudioResource):
3085         (WebCore::ChromiumBridge::decodeAudioFileData):
3086         * src/WebAudioBus.cpp: Added.
3087         (WebKit::WebAudioBus::~WebAudioBus):
3088         (WebKit::WebAudioBus::initialize):
3089         (WebKit::WebAudioBus::numberOfChannels):
3090         (WebKit::WebAudioBus::length):
3091         (WebKit::WebAudioBus::sampleRate):
3092         (WebKit::WebAudioBus::channelData):
3093         (WebKit::WebAudioBus::release):
3094
3095 2010-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
3096
3097         Unreviewed, rolling out r72228.
3098         http://trac.webkit.org/changeset/72228
3099         https://bugs.webkit.org/show_bug.cgi?id=49712
3100
3101         Caused many >10 regressions on Win and Linux gpu layout test
3102         runs. (Requested by dave_levin on #webkit).
3103
3104         * src/WebGraphicsContext3DDefaultImpl.cpp:
3105         (WebKit::bytesPerComponent):
3106         (WebKit::componentsPerPixel):
3107         (WebKit::imageSizeInBytes):
3108         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
3109
3110 2010-11-17  Dimitri Glazkov  <dglazkov@chromium.org>
3111
3112         Reviewed by Darin Adler.
3113
3114         Converge means of querying a parent node into one way, which is Node::parentNode.
3115         https://bugs.webkit.org/show_bug.cgi?id=49686
3116
3117         * src/WebFrameImpl.cpp:
3118         (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode.
3119         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto.
3120
3121 2010-11-16  Zhenyao Mo  <zmo@google.com>
3122
3123         Reviewed by Kenneth Russell.
3124
3125         WebGLRenderingContext needs to zero textures and renderbuffers
3126         https://bugs.webkit.org/show_bug.cgi?id=49355
3127
3128         * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level.
3129
3130 2010-11-17  Satish Sampath  <satish@chromium.org>
3131
3132         Reviewed by Jeremy Orlow.
3133
3134         Clear the speech input mock explicitly before each test.
3135         https://bugs.webkit.org/show_bug.cgi?id=49660
3136
3137         * public/WebSpeechInputControllerMock.h:
3138         * src/WebSpeechInputControllerMockImpl.cpp:
3139         (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results.
3140         * src/WebSpeechInputControllerMockImpl.h:
3141
3142 2010-11-17  Eric Uhrhane  <ericu@chromium.org>
3143
3144         Reviewed by David Levin.
3145
3146         [Chromium] implementation of async FileWriter for workers
3147         https://bugs.webkit.org/show_bug.cgi?id=47681
3148
3149         Tests are in a separate changelist.
3150
3151         Added new files.
3152         * WebKit.gyp:
3153
3154         * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction.
3155         * src/WorkerAsyncFileWriterChromium.cpp: Added.
3156         * src/WorkerAsyncFileWriterChromium.h: Added.
3157
3158         This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium.
3159         * src/WorkerFileWriterCallbacksBridge.cpp: Added.
3160         * src/WorkerFileWriterCallbacksBridge.h: Added.
3161
3162 2010-11-17  John Mellor  <johnme@chromium.org>
3163
3164         Reviewed by Darin Fisher.
3165
3166         [chromium] Expose frame flattening setting in WebSettings.
3167         https://bugs.webkit.org/show_bug.cgi?id=49621
3168
3169         * public/WebSettings.h:
3170         * src/WebSettingsImpl.cpp:
3171         (WebKit::WebSettingsImpl::setFrameFlatteningEnabled):
3172         * src/WebSettingsImpl.h:
3173
3174 2010-11-17  Jonathan Backer  <backer@chromium.org>
3175
3176         Reviewed by Kenneth Russell.
3177
3178         [Chromium] Resize initiated by renderer.
3179         https://bugs.webkit.org/show_bug.cgi?id=49617
3180
3181         To address synchronization issues with resizing, make resize work like DARWIN.
3182
3183         * src/WebViewImpl.cpp:
3184         (WebKit::WebViewImpl::resize):
3185
3186 2010-11-17  Stuart Morgan  <stuartmorgan@chromium.org>
3187
3188         Reviewed by Dimitri Glazkov.
3189
3190         Fix click count for mouse-up events.
3191         - clickCount for mouse up was lost in conversion from NSEvent
3192         - clickCount was also lost when disptaching events through the
3193         plugin mouse capture event codepath.
3194
3195         https://bugs.webkit.org/show_bug.cgi?id=49290
3196
3197         * src/WebViewImpl.cpp:
3198         (WebKit::WebViewImpl::handleInputEvent):
3199         * src/mac/WebInputEventFactory.mm:
3200         (WebKit::WebInputEventFactory::mouseEvent):
3201
3202 2010-11-11  Zhenyao Mo  <zmo@google.com>
3203
3204         Reviewed by Kenneth Russell.
3205
3206         Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
3207         https://bugs.webkit.org/show_bug.cgi?id=47196
3208
3209         * src/WebImageDecoder.cpp:
3210         (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter.
3211
3212 2010-11-12  Zhenyao Mo  <zmo@google.com>
3213
3214         Reviewed by Kenneth Russell.
3215
3216         Refactor GL backend flags
3217         https://bugs.webkit.org/show_bug.cgi?id=49460
3218
3219         * public/WebGraphicsContext3D.h: Remove GL flag queries at this level.
3220         * src/GraphicsContext3DChromium.cpp: Ditto.
3221         * src/GraphicsContext3DInternal.h: Ditto.
3222         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
3223         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
3224
3225 2010-11-16  Pavel Feldman  <pfeldman@chromium.org>
3226
3227         Not reviewed. Chromium build fix.
3228
3229         * WebKit.gyp:
3230         * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py.
3231         * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py.
3232         * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py.
3233
3234 2010-11-16  Pavel Feldman  <pfeldman@chromium.org>
3235
3236         Reviewed by Yury Semikhatsky.
3237
3238         Chrome DevTools: concatenate CSS files, do not link
3239         missing JS files in release mode.
3240         https://bugs.webkit.org/show_bug.cgi?id=49586
3241
3242         * Build/concatenate_css_files.py: Added.
3243         * Build/concatenate_js_files.py: Added.
3244         * Build/generate_devtools_html.py: Added.
3245         * WebKit.gyp:
3246
3247 2010-11-15  Nat Duca  <nduca@chromium.org>
3248
3249         Reviewed by Darin Fisher.
3250
3251         [chromium] Make WebWidget actively notify client when compositing enables.
3252         https://bugs.webkit.org/show_bug.cgi?id=49396
3253
3254         * public/WebWidgetClient.h:
3255         (WebKit::WebWidgetClient::didAcceleratedCompositingEnable):
3256         * src/WebViewImpl.cpp:
3257         (WebKit::WebViewImpl::resize):
3258         (WebKit::WebViewImpl::paint):
3259         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3260         (WebKit::WebViewImpl::scrollRootLayerRect):
3261         (WebKit::WebViewImpl::invalidateRootLayerRect):
3262         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3263
3264 2010-11-15  Kenneth Russell  <kbr@google.com>
3265
3266         Reviewed by James Robinson.
3267
3268         [chromium] Remove assumption that GL functions are function pointers
3269         https://bugs.webkit.org/show_bug.cgi?id=49486
3270
3271         Added appropriate extension queries and no longer assume that GL
3272         function names are function pointers which can be tested.
3273
3274         * src/WebGraphicsContext3DDefaultImpl.cpp:
3275         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
3276         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3277         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
3278         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
3279         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
3280         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
3281         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
3282         * src/WebGraphicsContext3DDefaultImpl.h:
3283
3284 2010-11-15  Ilya Sherman  <isherman@chromium.org>
3285
3286         Reviewed by Kent Tamura.
3287
3288         Add capability for displaying warnings to autofill popup
3289         Warnings are displayed in dark gray italic.
3290         https://bugs.webkit.org/show_bug.cgi?id=49291
3291         http://code.google.com/p/chromium/issues/detail?id=58509
3292
3293         * src/AutoFillPopupMenuClient.cpp:
3294         (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
3295           Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0.
3296         (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings.
3297         (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings.
3298         (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed.
3299         (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0.
3300         (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above).
3301         * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style.
3302         * src/WebViewImpl.cpp: Minor cleanup.
3303         (WebKit::WebViewImpl::applyAutoFillSuggestions): 
3304
3305 2010-11-14  Kent Tamura  <tkent@chromium.org>
3306
3307         Reviewed by Dimitri Glazkov.
3308
3309         Improve API for form validation message strings
3310         https://bugs.webkit.org/show_bug.cgi?id=34945
3311
3312         * public/WebLocalizedString.h:
3313         * src/LocalizedStrings.cpp:
3314         (WebCore::validationMessageTypeMismatchForEmailText):
3315         (WebCore::validationMessageTypeMismatchForMultipleEmailText):
3316         (WebCore::validationMessageTypeMismatchForURLText):
3317         (WebCore::validationMessageTooLongText):
3318         (WebCore::validationMessageRangeUnderflowText):
3319         (WebCore::validationMessageRangeOverflowText):
3320         (WebCore::validationMessageStepMismatchText):
3321
3322 2010-11-13  Shinichiro Hamaji  <hamaji@chromium.org>
3323
3324         Reviewed by Kent Tamura.
3325
3326         [Chromium] print doesn't work on http://nodejs.org/api.html
3327         https://bugs.webkit.org/show_bug.cgi?id=49304
3328
3329         * src/WebFrameImpl.cpp:
3330         (WebKit::ChromePrintContext::begin):
3331         (WebKit::WebFrameImpl::printBegin):
3332
3333 2010-11-12  James Simonsen  <simonjam@chromium.org>
3334
3335         Reviewed by Darin Fisher.
3336
3337         [Web Timing] Rename interfaces:
3338         - Navigation -> PerformanceNavigation
3339         - Timing -> PerformanceTiming
3340         https://bugs.webkit.org/show_bug.cgi?id=48919
3341
3342         * src/WebPerformance.cpp:
3343         (WebKit::WebPerformance::navigationType):
3344
3345 2010-11-12  Zhenyao Mo  <zmo@google.com>
3346
3347         Reviewed by James Robinson.
3348
3349         WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
3350         https://bugs.webkit.org/show_bug.cgi?id=48282
3351
3352         Simple fix for a regression introduced in r71793.
3353
3354         * src/WebGraphicsContext3DDefaultImpl.cpp:
3355         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3356
3357 2010-11-12  Ilya Sherman  <isherman@chromium.org>
3358
3359         Reviewed by Eric Seidel.
3360
3361         Remove some trailing whitespace
3362         https://bugs.webkit.org/show_bug.cgi?id=49433
3363
3364         * src/ChromeClientImpl.cpp:
3365         (WebKit::ChromeClientImpl::createPopupMenu):
3366         * src/WebViewImpl.cpp:
3367         (WebKit::WebViewImpl::scrollRootLayerRect):
3368         (WebKit::WebViewImpl::invalidateRootLayerRect):
3369
3370 2010-11-11  MORITA Hajime  <morrita@google.com>
3371
3372         Unreviewed another attempt to fx windows build.
3373
3374         * src/WebBindings.cpp:
3375         (WebKit::makeStringArrayImpl):
3376
3377 2010-11-11  MORITA Hajime <morrita@google.com>
3378
3379         Unreviewed attempt to fx windows build.
3380
3381         * src/WebBindings.cpp:
3382         (WebKit::makeStringArrayImpl):
3383
3384 2010-11-11  MORITA Hajime  <morrita@google.com>
3385
3386         Reviewed by Kent Tamura.
3387
3388         editing/selection/context-menu-on-text.html fails on chromium
3389         https://bugs.webkit.org/show_bug.cgi?id=45898
3390
3391         Added makeStringArray(), that is used by DumpRenderTree.
3392         
3393         * public/WebBindings.h:
3394         * src/WebBindings.cpp:
3395         (WebKit::makeStringArrayImpl): Added.
3396         (WebKit::WebBindings::makeStringArray): Added.
3397
3398 2010-11-11  Tony Gentilcore  <tonyg@chromium.org>
3399
3400         Reviewed by Nate Chapin.
3401
3402         [chromium] Convert WebPerformance doubles to seconds
3403         https://bugs.webkit.org/show_bug.cgi?id=49232
3404
3405         This makes them suitable for passing to Time::FromDoubleT().
3406
3407         * src/WebPerformance.cpp:
3408         (WebKit::millisecondsToSeconds):
3409         (WebKit::WebPerformance::navigationStart):
3410         (WebKit::WebPerformance::unloadEventEnd):
3411         (WebKit::WebPerformance::redirectStart):
3412         (WebKit::WebPerformance::redirectEnd):
3413         (WebKit::WebPerformance::fetchStart):
3414         (WebKit::WebPerformance::domainLookupStart):
3415         (WebKit::WebPerformance::domainLookupEnd):
3416         (WebKit::WebPerformance::connectStart):
3417         (WebKit::WebPerformance::connectEnd):
3418         (WebKit::WebPerformance::requestStart):
3419         (WebKit::WebPerformance::requestEnd):
3420         (WebKit::WebPerformance::responseStart):
3421         (WebKit::WebPerformance::responseEnd):
3422         (WebKit::WebPerformance::loadEventStart):
3423         (WebKit::WebPerformance::loadEventEnd):
3424
3425 2010-11-11  Hans Wennborg  <hans@chromium.org>
3426
3427         Reviewed by Jeremy Orlow.
3428
3429         IndexedDB: signal IDBFactoryBackendInterface destruction to embedder
3430         https://bugs.webkit.org/show_bug.cgi?id=49313
3431
3432         Implement ChromiumBridge::idbShutdown(), passing through to the
3433         WebKitClient.
3434
3435         * public/WebKitClient.h:
3436         (WebKit::WebKitClient::idbShutdown):
3437         * src/ChromiumBridge.cpp:
3438         (WebCore::ChromiumBridge::idbShutdown):
3439
3440 2010-11-10  Kenneth Russell  <kbr@google.com>
3441
3442         Reviewed by James Robinson.
3443
3444         [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl
3445         https://bugs.webkit.org/show_bug.cgi?id=49336
3446
3447         * src/WebGraphicsContext3DDefaultImpl.cpp:
3448         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3449         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
3450         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
3451         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
3452
3453 2010-11-10  Evan Stade  <estade@chromium.org>
3454
3455         Reviewed by Tony Chang.
3456
3457         [chromium] menu key doesn't work when capslock or numslock is on
3458         https://bugs.webkit.org/show_bug.cgi?id=49289
3459
3460         Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier
3461         enum has grown to something that might be better termed State, but changing the nomenclature
3462         now is difficult. The bitmask gets its name from the related function getWebInputModifiers.
3463
3464         * public/WebInputEvent.h: add InputModifiers mask for true modifier keys
3465         * src/WebViewImpl.cpp: disregard non-modifier keys
3466         (WebKit::WebViewImpl::keyEvent):
3467
3468 2010-11-10  Csaba Osztrogon√°c  <ossy@webkit.org>
3469
3470         Reviewed by David Hyatt.
3471
3472         HTML5 Ruby support should be mandatory feature
3473         https://bugs.webkit.org/show_bug.cgi?id=49272
3474
3475         Remove Ruby as optional feature.
3476
3477         * features.gypi:
3478
3479 2010-11-10  Tony Chang  <tony@chromium.org>
3480
3481         Unreviewed, add libvpx as a chromium dependency.
3482
3483         This should fix the chromium linux build.
3484
3485         * DEPS:
3486
3487 2010-11-10  Peter Rybin  <peter.rybin@gmail.com>
3488
3489         Reviewed by Adam Barth.
3490
3491         HTML parser should provide script column position within HTML document to JavaScript engine
3492         https://bugs.webkit.org/show_bug.cgi?id=45271
3493
3494         Replaces script line number with TextPosition structure.
3495
3496         * src/WebFrameImpl.cpp:
3497         (WebKit::WebFrameImpl::executeScript):
3498         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
3499         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
3500
3501 2010-11-09  Kenneth Russell  <kbr@google.com>
3502
3503         Reviewed by James Robinson.
3504
3505         WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
3506         https://bugs.webkit.org/show_bug.cgi?id=48282
3507
3508         Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was
3509         running on top of desktop GL.
3510
3511         Tested various WebGL demos on Windows with ANGLE and
3512         --in-process-webgl --disable-accelerated-compositing; all are now
3513         working. Verified that --use-gl=desktop continues to work in the
3514         same configuration.
3515
3516         * src/WebGraphicsContext3DDefaultImpl.cpp:
3517         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
3518         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3519         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
3520         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
3521         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
3522         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
3523         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
3524         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
3525         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
3526         * src/WebGraphicsContext3DDefaultImpl.h:
3527
3528 2010-11-09  Kent Tamura  <tkent@chromium.org>
3529
3530         Reviewed by Dimitri Glazkov.
3531
3532         [Chromium] Add form validation message support to WebLocalizedString.h
3533         https://bugs.webkit.org/show_bug.cgi?id=49239
3534
3535         * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502
3536         * public/WebLocalizedString.h: Add new symbols
3537         * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions.
3538         (WebCore::validationMessageValueMissingText):
3539         (WebCore::validationMessageTypeMismatchText):
3540         (WebCore::validationMessagePatternMismatchText):
3541         (WebCore::validationMessageTooLongText):
3542         (WebCore::validationMessageRangeUnderflowText):
3543         (WebCore::validationMessageRangeOverflowText):
3544         (WebCore::validationMessageStepMismatchText):
3545
3546 2010-11-09  Tony Chang  <tony@chromium.org>
3547
3548         Unreviewed, rolling chromium DEPS.
3549
3550         * DEPS: Roll to r65462.
3551
3552 2010-11-09  Mihai Parparita  <mihaip@chromium.org>
3553
3554         Unreviewed Chromium Windows build fix.
3555
3556         Add isDisplayNone to the PopupMenuStyle constructor call in
3557         PopupMenuTest (necessary after r71618).
3558
3559         * tests/PopupMenuTest.cpp:
3560         (WebKit::TestPopupMenuClient::itemStyle):
3561
3562 2010-11-09  Shinichiro Hamaji  <hamaji@chromium.org>
3563
3564         Reviewed by Dimitri Glazkov.
3565
3566         [Chromium] display:none has no effect on <option> element
3567         https://bugs.webkit.org/show_bug.cgi?id=49169
3568
3569         * src/AutoFillPopupMenuClient.cpp:
3570         (WebKit::AutoFillPopupMenuClient::initialize):
3571
3572 2010-11-09  James Simonsen  <simonjam@chromium.org>
3573