2010-11-29 Jeremy Orlow <jorlow@chromium.org>
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-11-29  Jeremy Orlow  <jorlow@chromium.org>
2
3         Reviewed by Darin Fisher.
4
5         [Chromium] Clean up IndexedDB 2 sided roll bits
6         https://bugs.webkit.org/show_bug.cgi?id=50160
7
8         * public/WebIDBDatabase.h:
9         (WebKit::WebIDBDatabase::version):
10         (WebKit::WebIDBDatabase::objectStoreNames):
11         (WebKit::WebIDBDatabase::deleteObjectStore):
12         * public/WebIDBFactory.h:
13         (WebKit::WebIDBFactory::open):
14         * public/WebIDBKeyRange.h:
15         * public/WebIDBObjectStore.h:
16         (WebKit::WebIDBObjectStore::deleteFunction):
17         * src/IDBDatabaseProxy.cpp:
18         * src/IDBDatabaseProxy.h:
19         * src/WebIDBKeyRange.cpp:
20
21 2010-12-02  Chris Rogers  <crogers@google.com>
22
23         Reviewed by Darin Fisher.
24
25         Fine-tune chromium WebKit API for loading audio resources
26         https://bugs.webkit.org/show_bug.cgi?id=50406
27
28         * public/WebAudioBus.h:
29         (WebKit::WebAudioBus::~WebAudioBus):
30         * public/WebKitClient.h:
31         (WebKit::WebKitClient::loadAudioResource):
32         * src/ChromiumBridge.cpp:
33         (WebCore::ChromiumBridge::decodeAudioFileData):
34         * src/WebAudioBus.cpp:
35         (WebKit::WebAudioBus::reset):
36
37 2010-12-02  Darin Fisher  <darin@chromium.org>
38
39         Fix the Windows multi-dll build.  Do not export functions that are
40         implemented inline!
41
42         * public/WebFormControlElement.h:
43         (WebKit::WebFormControlElement::assign):
44
45 2010-12-02  Tony Chang  <tony@chromium.org>
46
47         Unreviewed, roll chromium deps to r67980.
48
49         * DEPS:
50
51 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
52
53         Reviewed by Pavel Feldman.
54
55         Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
56         Enable resource export to HAR for Chromium.
57         https://bugs.webkit.org/show_bug.cgi?id=45663
58
59         * src/js/DevTools.js: Preferences.resourceExportEnabled = true
60
61 2010-12-02  Vincent Scheib  <scheib@chromium.org>
62
63         Reviewed by Darin Fisher.
64
65         [chromium] histograms api updated in WebKitClient/ChromiumBridge and histogram "GPU.setIsAcceleratedCompositingActive" added.
66         https://bugs.webkit.org/show_bug.cgi?id=50285
67
68         Test by loading "about:histograms" after navigating to accelerated pages.
69
70         * public/WebKitClient.h:
71         (WebKit::WebKitClient::histogramCustomCounts): api update.
72         (WebKit::WebKitClient::histogramEnumeration): api update.
73         * src/ChromiumBridge.cpp:
74         (WebCore::ChromiumBridge::histogramCustomCounts): api update.
75         (WebCore::ChromiumBridge::histogramEnumeration): api update.
76         * src/WebViewImpl.cpp:
77         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): "GPU.setIsAcceleratedCompositingActive" added.
78
79 2010-12-01  Jia Pu  <jpu@apple.com>
80
81         Reviewed by Darin Adler.
82
83         Support multiple correction candidates panel for misspelled word on Mac OS X.
84         https://bugs.webkit.org/show_bug.cgi?id=50137
85         <rdar://problem/8568059>
86
87         Adopted new function signature defined in base class.
88
89         * src/EditorClientImpl.cpp:
90         (WebKit::EditorClientImpl::getGuessesForWord):
91         * src/EditorClientImpl.h:
92
93 2010-12-01  Alexey Marinichev  <amarinichev@chromium.org>
94
95         Reviewed by James Robinson.
96
97         [chromium] renderer does not realize hardware compositing is disabled and crashes
98         https://bugs.webkit.org/show_bug.cgi?id=50264
99
100         * src/WebViewImpl.cpp:
101         (WebKit::WebViewImpl::setRootGraphicsLayer): repaint always
102         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): null check
103         (WebKit::WebViewImpl::reallocateRenderer):
104
105 2010-11-30  Vangelis Kokkevis  <vangelis@chromium.org>
106
107         Reviewed by Darin Fisher.
108
109         Get the value of the accelerated compositing triggers from the Settings
110         class.  This allows setting the triggers via command line flags.
111         https://bugs.webkit.org/show_bug.cgi?id=50301
112
113         * public/WebSettings.h:
114         * src/ChromeClientImpl.cpp:
115         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
116         * src/WebSettingsImpl.cpp:
117         (WebKit::WebSettingsImpl::setAcceleratedCompositingFor3DTransformsEnabled):
118         (WebKit::WebSettingsImpl::setAcceleratedCompositingForVideoEnabled):
119         (WebKit::WebSettingsImpl::setAcceleratedCompositingForPluginsEnabled):
120         (WebKit::WebSettingsImpl::setAcceleratedCompositingForCanvasEnabled):
121         (WebKit::WebSettingsImpl::setAcceleratedCompositingForAnimationEnabled):
122         * src/WebSettingsImpl.h:
123
124 2010-12-01  Tony Chang  <tony@chromium.org>
125
126         Unreviewed, rolling chromium deps to r67811.
127
128         * DEPS:
129
130 2010-12-01  Andrey Kosyakov  <caseq@chromium.org>
131
132         Reviewed by Pavel Feldman.
133
134         Web Inspector: disable cookies tab in network resource view by default, enable for chromium
135         https://bugs.webkit.org/show_bug.cgi?id=50249
136
137         * src/js/DevTools.js:
138
139 2010-11-30  Ojan Vafai  <ojan@chromium.org>
140
141         Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
142         https://bugs.webkit.org/show_bug.cgi?id=50288
143
144         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
145         Reviewed by Darin Adler.
146         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
147         https://bugs.webkit.org/show_bug.cgi?id=50182
148         A display-isolated URL can only be displayed (e.g., put in an iframe,
149         hyperlinked to) by documents from that scheme. In a sense, this is a
150         generalization of some of the protections we give file URLs, but
151         instead of lumping them all together into one "local" bucket, this
152         patch creates a separate bucket for each scheme.
153         For a while, I tried using a separate bucket for each origin. That
154         would have played nicely with what Blob URLs are trying to do, but some
155         "chrome" URL pages rely on being able to display other chrome URL
156         pages, even in different origins. For example, the New Tab Page shows
157         thumbnails from the "thumbnail" host.
158         This patch also removes a bunch of unused code. I've also propagated
159         the "deprecated" status of deprecatedCanDisplay to
160         deprecatedShouldTreatURLAsLocal because that method has no other
161         callers and is really asking for uppercase/lowercase bugs. I dream of
162         someday removing these functions.
163         2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
164         Reviewed by Darin Adler.
165         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
166          https://bugs.webkit.org/show_bug.cgi?id=50182
167         This patch adds a Chromium API for registering schemes as
168         display-isolated. In a subsequent patch, I'll change the "chrome"
169         scheme in Chrome to be display isolated instead of local. That will
170         prevent file URLs from linking to chrome URLs.
171
172         * public/WebSecurityPolicy.h:
173         * src/WebSecurityPolicy.cpp:
174
175 2010-11-30  James Robinson  <jamesr@chromium.org>
176
177         Reviewed by Dimitri Glazkov.
178
179         [chromium] Update yasm entry in DEPS to match downstream
180         https://bugs.webkit.org/show_bug.cgi?id=50274
181
182         http://src.chromium.org/viewvc/chrome?view=rev&revision=67540 changed the downstream DEPS rule
183         for yasm to pull unconditionally rather than pulling in each deps_os.  This changes the WebKit
184         chromium DEPS to match.
185
186         * DEPS:
187
188 2010-11-29  Vangelis Kokkevis  <vangelis@chromium.org>
189
190         Reviewed by Simon Fraser.
191
192         Provide more fine grained control to ports over when to turn on accelerated
193         compositing.
194         https://bugs.webkit.org/show_bug.cgi?id=49998
195
196         As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
197         has now been replaced by allowedCompositingTriggers which returns a bitfield of
198         all the features which can trigger the compositor.
199
200         * src/ChromeClientImpl.cpp:
201         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
202         * src/ChromeClientImpl.h:
203
204 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
205
206         Reviewed by Darin Fisher.
207
208         [chromium] pass webframe to web frame client's cookieJar
209         https://bugs.webkit.org/show_bug.cgi?id=50148
210
211         * public/WebFrameClient.h:
212         (WebKit::WebFrameClient::cookieJar):
213         * src/ChromiumBridge.cpp:
214         (WebCore::getCookieJar):
215
216 2010-11-30  Jochen Eisinger  <jochen@chromium.org>
217
218         Unreviewed. Roll chromium 67532:67541.
219
220         * DEPS:
221
222 2010-11-29  Adam Barth  <abarth@webkit.org>
223
224         Reviewed by Darin Adler.
225
226         Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
227         https://bugs.webkit.org/show_bug.cgi?id=50182
228
229         This patch adds a Chromium API for registering schemes as
230         display-isolated.  In a subsequent patch, I'll change the "chrome"
231         scheme in Chrome to be display isolated instead of local.  That will
232         prevent file URLs from linking to chrome URLs.
233
234         * public/WebSecurityPolicy.h:
235         * src/WebSecurityPolicy.cpp:
236         (WebKit::WebSecurityPolicy::registerURLSchemeAsDisplayIsolated):
237
238 2010-11-29  Kent Tamura  <tkent@chromium.org>
239
240         Reviewed by Darin Fisher.
241
242         [Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
243         https://bugs.webkit.org/show_bug.cgi?id=50053
244
245         * public/WebKitClient.h:
246         (WebKit::WebKitClient::queryLocalizedString): Add overload functions with
247           substitution string parameters, and remove the integer parameter overload.
248         * src/LocalizedStrings.cpp:
249         (WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
250         (WebCore::multipleFileUploadText): Call the string parameter query().
251         (WebCore::validationMessageTooLongText): Pass the parameters to query().
252         (WebCore::validationMessageRangeUnderflowText): ditto.
253         (WebCore::validationMessageRangeOverflowText): ditto.
254         (WebCore::validationMessageStepMismatchText): ditto.
255
256 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
257
258         Remove Build directory that was erroneously added in r72103.
259
260         * Build: Removed.
261
262 2010-11-29  Andrey Kosyakov  <caseq@chromium.org>
263
264         Reviewed by Darin Fisher.
265
266         Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
267         Added WebDevToolsAgent::inspect()
268         https://bugs.webkit.org/show_bug.cgi?id=49727
269
270         * public/WebDevToolsAgent.h:
271         * src/WebDevToolsAgentImpl.cpp:
272         (WebKit::WebDevToolsAgentImpl::inspectNode):
273         * src/WebDevToolsAgentImpl.h:
274
275 2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>
276
277         [Chromium] Remove python_24 dependency, because it is no longer necessary.
278
279         * DEPS: Removed python_24 dependency.
280
281 2010-11-29  Bernhard Bauer  <bauerb@chromium.org>
282
283         Reviewed by Jeremy Orlow.
284
285         Remove databaseFileName from WebIDBFactory
286         https://bugs.webkit.org/show_bug.cgi?id=50150
287
288         * WebKit.gyp:
289         * public/WebIDBFactory.h:
290         (WebKit::WebIDBFactory::open):
291         * src/WebIDBFactory.cpp: Removed.
292
293 2010-11-26  Andrei Popescu  <andreip@google.com>
294
295         Reviewed by Jeremy Orlow.
296
297         IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
298         https://bugs.webkit.org/show_bug.cgi?id=50113
299
300         * public/WebIDBDatabase.h:
301         (WebKit::WebIDBDatabase::deleteObjectStore):
302         (WebKit::WebIDBDatabase::removeObjectStore):
303         * public/WebIDBObjectStore.h:
304         (WebKit::WebIDBObjectStore::remove):
305         (WebKit::WebIDBObjectStore::deleteFunction):
306         (WebKit::WebIDBObjectStore::deleteIndex):
307         * src/IDBDatabaseProxy.cpp:
308         (WebCore::IDBDatabaseProxy::deleteObjectStore):
309         * src/IDBDatabaseProxy.h:
310         * src/IDBObjectStoreProxy.cpp:
311         (WebCore::IDBObjectStoreProxy::deleteFunction):
312         (WebCore::IDBObjectStoreProxy::deleteIndex):
313         * src/IDBObjectStoreProxy.h:
314         * src/WebIDBDatabaseImpl.cpp:
315         (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
316         * src/WebIDBDatabaseImpl.h:
317         * src/WebIDBObjectStoreImpl.cpp:
318         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
319         (WebKit::WebIDBObjectStoreImpl::deleteIndex):
320         * src/WebIDBObjectStoreImpl.h:
321
322 2010-11-26  Jeremy Orlow  <jorlow@chromium.org>
323
324         Reviewed by Steve Block.
325
326         Make IDBKeyRange match the spec
327         https://bugs.webkit.org/show_bug.cgi?id=50105
328
329         Remove flags and instead add two booleans for being open.
330         Change left to lower and right to upper everywhere.
331
332         * public/WebIDBKeyRange.h:
333         (WebKit::WebIDBKeyRange::WebIDBKeyRange):
334         * src/WebIDBKeyRange.cpp:
335         (WebKit::WebIDBKeyRange::assign):
336         (WebKit::WebIDBKeyRange::left):
337         (WebKit::WebIDBKeyRange::right):
338         (WebKit::WebIDBKeyRange::lower):
339         (WebKit::WebIDBKeyRange::upper):
340         (WebKit::WebIDBKeyRange::lowerOpen):
341         (WebKit::WebIDBKeyRange::upperOpen):
342         (WebKit::WebIDBKeyRange::flags):
343
344 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
345
346         Reviewed by Steve Block.
347
348         Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
349         https://bugs.webkit.org/show_bug.cgi?id=50081
350
351         Plumb IDBTransaction.objectStore's exception code.
352
353         * public/WebIDBTransaction.h:
354         (WebKit::WebIDBTransaction::objectStore):
355         * src/IDBDatabaseProxy.cpp:
356         (WebCore::IDBDatabaseProxy::transaction):
357         * src/IDBTransactionBackendProxy.cpp:
358         (WebCore::IDBTransactionBackendProxy::objectStore):
359         * src/IDBTransactionBackendProxy.h:
360         * src/WebIDBDatabaseImpl.cpp:
361         (WebKit::WebIDBDatabaseImpl::createObjectStore):
362         (WebKit::WebIDBDatabaseImpl::transaction):
363         * src/WebIDBTransactionImpl.cpp:
364         (WebKit::WebIDBTransactionImpl::objectStore):
365         * src/WebIDBTransactionImpl.h:
366
367 2010-11-26  Hans Wennborg  <hans@chromium.org>
368
369         Reviewed by Jeremy Orlow.
370
371         IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
372         https://bugs.webkit.org/show_bug.cgi?id=50102
373
374         Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface
375
376         * public/WebIDBDatabase.h:
377         (WebKit::WebIDBDatabase::objectStores):
378         (WebKit::WebIDBDatabase::objectStoreNames):
379         * src/IDBDatabaseProxy.cpp:
380         (WebCore::IDBDatabaseProxy::objectStoreNames):
381         * src/IDBDatabaseProxy.h:
382         * src/WebIDBDatabaseImpl.cpp:
383         (WebKit::WebIDBDatabaseImpl::objectStoreNames):
384         * src/WebIDBDatabaseImpl.h:
385
386 2010-11-26  Andrei Popescu  <andreip@google.com>
387
388         Reviewed by Jeremy Orlow.
389
390         IDBFactory::open should not have a description argument.
391         https://bugs.webkit.org/show_bug.cgi?id=50087
392
393         * public/WebIDBDatabase.h:
394         (WebKit::WebIDBDatabase::description):
395         * public/WebIDBFactory.h:
396         (WebKit::WebIDBFactory::open):
397         * src/IDBFactoryBackendProxy.cpp:
398         (WebCore::IDBFactoryBackendProxy::open):
399         * src/IDBFactoryBackendProxy.h:
400         * src/WebIDBDatabaseImpl.cpp:
401         * src/WebIDBDatabaseImpl.h:
402         * src/WebIDBFactory.cpp:
403         * src/WebIDBFactoryImpl.cpp:
404         (WebKit::WebIDBFactoryImpl::open):
405         * src/WebIDBFactoryImpl.h:
406
407 2010-11-25  Ilya Tikhonovsky  <loislo@chromium.org>
408
409         Unreviewed. Roll chromium 67004:67404.
410
411         * DEPS:
412
413 2010-11-25  Jeremy Orlow  <jorlow@chromium.org>
414
415         Reviewed by Steve Block.
416
417         Add exception code to WebIDBTransaction::objectStore
418         https://bugs.webkit.org/show_bug.cgi?id=50030
419
420         * public/WebIDBTransaction.h:
421         (WebKit::WebIDBTransaction::objectStore):
422
423 2010-11-24  MORITA Hajime  <morrita@google.com>
424
425         Reviewed by Kent Tamura.
426
427         [Chromium][Windows] TestShell flakily crashes with EventSender.contextClick()
428         https://bugs.webkit.org/show_bug.cgi?id=50052
429         
430         makeStringArrayImpl() assumed wtf::StringImpl data is
431         null-terminated. But it is not.
432         Changed the code to pass the string length explicitly instead of
433         making it computed by v8::String::New().
434
435         * src/WebBindings.cpp:
436         (WebKit::makeStringArrayImpl):
437
438 2010-11-24  Eric Uhrhane  <ericu@chromium.org>
439
440         Reviewed by David Levin.
441
442         [Chromium] Implement FileWriterSync
443         https://bugs.webkit.org/show_bug.cgi?id=49940
444
445         Added waitForOperationToComplete, delegating to the bridge.
446         * src/WorkerAsyncFileWriterChromium.cpp:
447         * src/WorkerAsyncFileWriterChromium.h:
448
449         Added waitForOperationToComplete and some debug-only code to make sure it's working properly.
450         * src/WorkerFileWriterCallbacksBridge.cpp:
451         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
452         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
453         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
454         (WebKit::WorkerFileWriterCallbacksBridge::WorkerFileWriterCallbacksBridge):
455         (WebKit::WorkerFileWriterCallbacksBridge::didWriteOnWorkerThread):
456         (WebKit::WorkerFileWriterCallbacksBridge::didFailOnWorkerThread):
457         (WebKit::WorkerFileWriterCallbacksBridge::didTruncateOnWorkerThread):
458         (WebKit::WorkerFileWriterCallbacksBridge::waitForOperationToComplete):
459         * src/WorkerFileWriterCallbacksBridge.h:
460
461 2010-11-24  Kenneth Russell  <kbr@google.com>
462
463         Reviewed by Darin Fisher.
464
465         [chromium] Disable antialiasing for compositor
466         https://bugs.webkit.org/show_bug.cgi?id=50039
467
468         * src/WebViewImpl.cpp:
469         (WebCore::getCompositorContextAttributes):
470         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
471         (WebKit::WebViewImpl::graphicsContext3D):
472
473 2010-11-24  Satish Sampath  <satish@chromium.org>
474
475         Reviewed by Steve Block.
476
477         Remove API migration code which is no longer used.
478         https://bugs.webkit.org/show_bug.cgi?id=50013
479
480         * public/WebSpeechInputControllerMock.h:
481
482 2010-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
483
484         Unreviewed, rolling out r72628.
485         http://trac.webkit.org/changeset/72628
486         https://bugs.webkit.org/show_bug.cgi?id=49994
487
488         This patch is causing layout-test failtures on GTK Linux
489         64-bit Debug (Requested by ctguil on #webkit).
490
491         * public/WebAccessibilityObject.h:
492         * src/WebAccessibilityObject.cpp:
493         (WebKit::WebAccessibilityObject::parentObject):
494
495 2010-11-23  Chris Guillory  <chris.guillory@google.com>
496
497         Reviewed by Dimitri Glazkov.
498
499         Include the FrameView widget of a RenderWidget in the accessibility tree.
500         https://bugs.webkit.org/show_bug.cgi?id=49106
501
502         * public/WebAccessibilityObject.h:
503         * src/WebAccessibilityObject.cpp:
504         (WebKit::WebAccessibilityObject::equals):
505         (WebKit::WebAccessibilityObject::parentObject):
506
507 2010-11-23  John Knottenbelt  <jknotten@chromium.org>
508
509         Reviewed by Darin Fisher.
510
511         [Chromium] Introduce wrapper types for WebCore::GeolocationError, WebCore::GeolocationPosition.
512         https://bugs.webkit.org/show_bug.cgi?id=49735
513
514         Introduce WebKit API types so that the browser implementation can feed
515         position and error updates to the WebCore::GeolocationController.
516
517         * WebKit.gyp:
518         * public/WebGeolocationError.h: Added.
519         (WebKit::WebGeolocationError::WebGeolocationError):
520         (WebKit::WebGeolocationError::~WebGeolocationError):
521         * public/WebGeolocationPosition.h: Added.
522         (WebKit::WebGeolocationPosition::WebGeolocationPosition):
523         (WebKit::WebGeolocationPosition::~WebGeolocationPosition):
524         * src/WebGeolocationError.cpp: Added.
525         (WebKit::WebGeolocationError::assign):
526         (WebKit::WebGeolocationError::reset):
527         (WebKit::WebGeolocationError::WebGeolocationError):
528         (WebKit::WebGeolocationError::operator=):
529         (WebKit::WebGeolocationError::operator WTF::PassRefPtr<WebCore::GeolocationError>):
530         * src/WebGeolocationPosition.cpp: Added.
531         (WebKit::WebGeolocationPosition::assign):
532         (WebKit::WebGeolocationPosition::reset):
533         (WebKit::WebGeolocationPosition::operator=):
534         (WebKit::WebGeolocationPosition::operator PassRefPtr<WebCore::GeolocationPosition>):
535
536 2010-11-23  Jonathan Backer  <backer@chromium.org>
537
538         Reviewed by Kenneth Russell.
539
540         Renderer is resizing IOSurfaces when accelerated compositing is disabled.
541         https://bugs.webkit.org/show_bug.cgi?id=49827
542
543         - IOSurfaces are only presented when accelerated compositing is enabled.
544         - Slight performance increase (and clean-up for using this path for Linux and Windows).
545
546         * src/WebViewImpl.cpp:
547         (WebKit::WebViewImpl::resize):
548
549 2010-11-23  Grace Kloba  <klobag@chromium.org>
550
551         Reviewed by Kenneth Russell.
552
553         [chromium] Accumulated scroll damage rect should be in the content space
554         https://bugs.webkit.org/show_bug.cgi?id=49842
555
556         * src/WebViewImpl.cpp:
557         (WebKit::WebViewImpl::scrollRootLayerRect): Adjust the previous scroll damage with the scroll delta before union it with the new damage rect.
558
559 2010-11-18  Darin Fisher  <darin@chromium.org>
560
561         Reviewed by Dimitri Glazkov.
562
563         Add a mechanism for creating a WebURLLoader that is associated with a
564         particular WebFrame.
565         https://bugs.webkit.org/show_bug.cgi?id=49764
566
567         This will be used by code that calls webKitClient()->createURLLoader()
568         from within the Chromium source tree.
569
570         An associated WebURLLoader should be treated like a subresource of the
571         WebFrame's document.
572
573         * WebKit.gyp:
574         * public/WebFrame.h:
575         * src/AssociatedURLLoader.cpp: Added.
576         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
577         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
578         (WebKit::AssociatedURLLoader::loadSynchronously):
579         (WebKit::AssociatedURLLoader::loadAsynchronously):
580         (WebKit::AssociatedURLLoader::cancel):
581         (WebKit::AssociatedURLLoader::setDefersLoading):
582         (WebKit::AssociatedURLLoader::PrepareRequest):
583         * src/AssociatedURLLoader.h: Added.
584         * src/WebFrameImpl.cpp:
585         (WebKit::WebFrameImpl::createAssociatedURLLoader):
586         * src/WebFrameImpl.h:
587
588 2010-11-23  Satish Sampath  <satish@chromium.org>
589
590         Unreviewed, chromium build fix.
591
592         * public/WebSpeechInputControllerMock.h:
593         (WebKit::WebSpeechInputControllerMock::setMockRecognitionResult):
594
595 2010-11-18  Satish Sampath  <satish@chromium.org>
596
597         Reviewed by Jeremy Orlow.
598
599         For speech input event, send an event object containing all the recognition results and metadata.
600         https://bugs.webkit.org/show_bug.cgi?id=49736
601
602         Updated mock object's method to new signature.
603
604         * public/WebSpeechInputControllerMock.h:
605         * src/WebSpeechInputControllerMockImpl.cpp:
606         (WebKit::WebSpeechInputControllerMockImpl::addMockRecognitionResult):
607         * src/WebSpeechInputControllerMockImpl.h:
608
609 2010-11-22  Alexey Marinichev  <amarinichev@chromium.org>
610
611         Reviewed by Kenneth Russell.
612
613         [chromium] Implement Extensions3DChromium::getGraphicsResetStatusARB
614         https://bugs.webkit.org/show_bug.cgi?id=49946
615
616         * public/WebGraphicsContext3D.h: added isContextLost()
617         * src/Extensions3DChromium.cpp:
618         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
619         * src/GraphicsContext3DChromium.cpp:
620         (WebCore::GraphicsContext3DInternal::isContextLost):
621         * src/GraphicsContext3DInternal.h:
622         * src/WebGraphicsContext3DDefaultImpl.cpp:
623         (WebKit::WebGraphicsContext3DDefaultImpl::isContextLost):
624         * src/WebGraphicsContext3DDefaultImpl.h:
625         * src/WebViewImpl.cpp:
626         (WebKit::WebViewImpl::reallocateRenderer): ensure root layer repaining
627
628 2010-11-22  Jay Civelli  <jcivelli@chromium.org>
629
630         Reviewed by David Levin.
631
632         Don't create an external popup menu when there are no items to show.
633         https://bugs.webkit.org/show_bug.cgi?id=49937
634
635         * src/ExternalPopupMenu.cpp:
636         (WebKit::ExternalPopupMenu::show):
637
638 2010-11-22  Nat Duca  <nduca@chromium.org>
639
640         Reviewed by Kenneth Russell.
641
642         [chromium] Send didActivateAcceleratedCompositing when compositor
643         initializes but does not create the shared context3d.
644         https://bugs.webkit.org/show_bug.cgi?id=49930
645
646         * src/WebViewImpl.cpp:
647         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
648
649 2010-11-22  Tony Chang  <tony@chromium.org>
650
651         Unreviewed, roll Chromium DEPS to r67004.
652
653         * DEPS:
654
655 2010-11-22  Pavel Feldman  <pfeldman@chromium.org>
656
657         Not reviewed. Partially roll out r72282.
658         It should not have modified devtools files.
659
660         * src/js/devTools.css:
661
662 2010-11-19  Ilya Sherman  <isherman@chromium.org>
663
664         Reviewed by Darin Fisher.
665
666         Expose default value of maxLength in Chromium API
667         https://bugs.webkit.org/show_bug.cgi?id=49723
668
669         * public/WebInputElement.h: Added constant defaultMaximumLength
670         * src/WebInputElement.cpp:
671
672 2010-11-18  Zhenyao Mo  <zmo@google.com>
673
674         Reviewed by Kenneth Russell.
675
676         GraphicsContext3D::reshape is clearing using current clear color instead of transparent
677         https://bugs.webkit.org/show_bug.cgi?id=44064
678
679         * src/WebGraphicsContext3DDefaultImpl.cpp:
680         (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values.
681
682 2010-11-19  Tony Chang  <tony@chromium.org>
683
684         Unreviewed, updating Chromium DEPS to try and fix the chromium win build.
685
686         * DEPS: r66792
687
688 2010-11-19  Tony Chang  <tony@chromium.org>
689
690         Reviewed by Kent Tamura.
691
692         [chromium] Enable webkit's TestNetscapePlugIn for DRT on win and linux
693         https://bugs.webkit.org/show_bug.cgi?id=49706
694
695         It is enabled simply by copying the plugin into
696         {Debug,Release}/plugins.  This change also rolls in a version of
697         Chromium that disables the old plugin.
698
699         * WebKit.gyp:
700
701 2010-11-19  Sheriff Bot  <webkit.review.bot@gmail.com>
702
703         Unreviewed, rolling out r72399.
704         http://trac.webkit.org/changeset/72399
705         https://bugs.webkit.org/show_bug.cgi?id=49805
706
707         Broke Chromium build (Requested by antonm_ on #webkit).
708
709         * src/ChromeClientImpl.cpp:
710         (WebKit::ChromeClientImpl::popupOpened):
711         * src/ChromeClientImpl.h:
712
713 2010-11-19  Jay Civelli  <jcivelli@chromium.org>
714
715         Reviewed by David Levin.
716
717         Removing unused code to show popup externally on Mac.
718         https://bugs.webkit.org/show_bug.cgi?id=49747
719
720         * src/ChromeClientImpl.cpp:
721         (WebKit::ChromeClientImpl::popupOpened):
722         * src/ChromeClientImpl.h:
723
724 2010-11-19  Pavel Feldman  <pfeldman@chromium.org>
725
726         Not reviewed: flip chromium version to mitigate two-sided patch impact.
727
728         * DEPS:
729
730 2010-11-18  Pavel Feldman  <pfeldman@chromium.org>
731
732         Reviewed by Yury Semikhatsky.
733
734         Web Inspector: provide response code and status text as a part
735         of raw headers data.
736         https://bugs.webkit.org/show_bug.cgi?id=49668
737
738         * WebKit.gyp:
739         * public/WebHTTPLoadInfo.h: Renamed from WebKit/chromium/public/WebResourceRawHeaders.h.
740         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
741         (WebKit::WebHTTPLoadInfo::~WebHTTPLoadInfo):
742         (WebKit::WebHTTPLoadInfo::operator =):
743         * public/WebURLResponse.h:
744         * src/WebHTTPLoadInfo.cpp: Renamed from WebKit/chromium/src/WebResourceRawHeaders.cpp.
745         (WebKit::WebHTTPLoadInfo::initialize):
746         (WebKit::WebHTTPLoadInfo::reset):
747         (WebKit::WebHTTPLoadInfo::assign):
748         (WebKit::WebHTTPLoadInfo::WebHTTPLoadInfo):
749         (WebKit::WebHTTPLoadInfo::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
750         (WebKit::WebHTTPLoadInfo::responseCode):
751         (WebKit::WebHTTPLoadInfo::setResponseCode):
752         (WebKit::WebHTTPLoadInfo::statusText):
753         (WebKit::WebHTTPLoadInfo::setStatusText):
754         (WebKit::addHeader):
755         (WebKit::WebHTTPLoadInfo::addRequestHeader):
756         (WebKit::WebHTTPLoadInfo::addResponseHeader):
757         * src/WebURLResponse.cpp:
758         (WebKit::WebURLResponse::httpLoadInfo):
759         (WebKit::WebURLResponse::setHTTPLoadInfo):
760
761 2010-11-18  Kent Tamura  <tkent@chromium.org>
762
763         Reviewed by Tony Chang.
764
765         Add more validation message functions
766         https://bugs.webkit.org/show_bug.cgi?id=49716
767
768         Add implementations of new functions and symbols for new messages.
769
770         * public/WebLocalizedString.h:
771         * src/LocalizedStrings.cpp:
772         (WebCore::validationMessageValueMissingForCheckboxText):
773         (WebCore::validationMessageValueMissingForFileText):
774         (WebCore::validationMessageValueMissingForMultipleFileText):
775         (WebCore::validationMessageValueMissingForRadioText):
776         (WebCore::validationMessageValueMissingForSelectText):
777
778 2010-11-18  Tony Chang  <tony@chromium.org>
779
780         Unreviewed, fix chromium compile.  We need ipc and openssl now.
781
782         * DEPS:
783
784 2010-11-18  James Robinson  <jamesr@chromium.org>
785
786         Reviewed by David Levin.
787
788         [chromium] Update chromium DEPS to r66658 to pick up skia roll
789         https://bugs.webkit.org/show_bug.cgi?id=49754
790
791         * DEPS:
792
793 2010-11-18  Jeremy Orlow  <jorlow@chromium.org>
794
795         Reviewed by Darin Fisher.
796
797         [chromium] IndexedDB API cleanup
798         https://bugs.webkit.org/show_bug.cgi?id=49733
799
800         Make it so that you can't directly instantiate our "interface"
801         classes.  Remove some code for 2 sided merges.
802
803         * public/WebIDBCursor.h:
804         (WebKit::WebIDBCursor::WebIDBCursor):
805         * public/WebIDBDatabase.h:
806         (WebKit::WebIDBDatabase::WebIDBDatabase):
807         * public/WebIDBIndex.h:
808         (WebKit::WebIDBIndex::WebIDBIndex):
809         * public/WebIDBObjectStore.h:
810         (WebKit::WebIDBObjectStore::WebIDBObjectStore):
811         * public/WebIDBTransaction.h:
812         (WebKit::WebIDBTransaction::WebIDBTransaction):
813         * src/IDBTransactionBackendProxy.cpp:
814         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
815
816 2010-11-18  Pavel Feldman  <pfeldman@chromium.org>
817
818         Reviewed by Yury Semikhatsky.
819
820         Chrome DevTools: minify front-end JavaScript.
821         https://bugs.webkit.org/show_bug.cgi?id=49657
822
823         * scripts/concatenate_js_files.py:
824         * scripts/jsmin.py: Added.
825
826 2010-11-18  Chris Rogers  <crogers@google.com>
827
828         Reviewed by Dimitri Glazkov.
829
830         Add loadPlatformAudioResource() and decodeAudioFileData() to ChromiumBridge
831         https://bugs.webkit.org/show_bug.cgi?id=49557
832
833         * WebKit.gyp:
834         * public/WebAudioBus.h: Added.
835         (WebKit::WebAudioBus::WebAudioBus):
836         * public/WebKitClient.h:
837         (WebKit::WebKitClient::decodeAudioFileData):
838         * src/ChromiumBridge.cpp:
839         (WebCore::ChromiumBridge::loadPlatformAudioResource):
840         (WebCore::ChromiumBridge::decodeAudioFileData):
841         * src/WebAudioBus.cpp: Added.
842         (WebKit::WebAudioBus::~WebAudioBus):
843         (WebKit::WebAudioBus::initialize):
844         (WebKit::WebAudioBus::numberOfChannels):
845         (WebKit::WebAudioBus::length):
846         (WebKit::WebAudioBus::sampleRate):
847         (WebKit::WebAudioBus::channelData):
848         (WebKit::WebAudioBus::release):
849
850 2010-11-17  Sheriff Bot  <webkit.review.bot@gmail.com>
851
852         Unreviewed, rolling out r72228.
853         http://trac.webkit.org/changeset/72228
854         https://bugs.webkit.org/show_bug.cgi?id=49712
855
856         Caused many >10 regressions on Win and Linux gpu layout test
857         runs. (Requested by dave_levin on #webkit).
858
859         * src/WebGraphicsContext3DDefaultImpl.cpp:
860         (WebKit::bytesPerComponent):
861         (WebKit::componentsPerPixel):
862         (WebKit::imageSizeInBytes):
863         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
864
865 2010-11-17  Dimitri Glazkov  <dglazkov@chromium.org>
866
867         Reviewed by Darin Adler.
868
869         Converge means of querying a parent node into one way, which is Node::parentNode.
870         https://bugs.webkit.org/show_bug.cgi?id=49686
871
872         * src/WebFrameImpl.cpp:
873         (WebKit::WebFrameImpl::insertStyleText): Changed to use parentNode.
874         (WebKit::WebFrameImpl::setFindEndstateFocusAndSelection): Ditto.
875
876 2010-11-16  Zhenyao Mo  <zmo@google.com>
877
878         Reviewed by Kenneth Russell.
879
880         WebGLRenderingContext needs to zero textures and renderbuffers
881         https://bugs.webkit.org/show_bug.cgi?id=49355
882
883         * src/WebGraphicsContext3DDefaultImpl.cpp: Don't deal with texture initialization at this level.
884
885 2010-11-17  Satish Sampath  <satish@chromium.org>
886
887         Reviewed by Jeremy Orlow.
888
889         Clear the speech input mock explicitly before each test.
890         https://bugs.webkit.org/show_bug.cgi?id=49660
891
892         * public/WebSpeechInputControllerMock.h:
893         * src/WebSpeechInputControllerMockImpl.cpp:
894         (WebKit::WebSpeechInputControllerMockImpl::clearResults): Added method to clear results.
895         * src/WebSpeechInputControllerMockImpl.h:
896
897 2010-11-17  Eric Uhrhane  <ericu@chromium.org>
898
899         Reviewed by David Levin.
900
901         [Chromium] implementation of async FileWriter for workers
902         https://bugs.webkit.org/show_bug.cgi?id=47681
903
904         Tests are in a separate changelist.
905
906         Added new files.
907         * WebKit.gyp:
908
909         * src/WorkerAsyncFileSystemChromium.cpp: Added WorkerAsyncFileWriterChromium construction.
910         * src/WorkerAsyncFileWriterChromium.cpp: Added.
911         * src/WorkerAsyncFileWriterChromium.h: Added.
912
913         This class bridges between the context and main threads for the WorkerAsyncFileWriterChromium.
914         * src/WorkerFileWriterCallbacksBridge.cpp: Added.
915         * src/WorkerFileWriterCallbacksBridge.h: Added.
916
917 2010-11-17  John Mellor  <johnme@chromium.org>
918
919         Reviewed by Darin Fisher.
920
921         [chromium] Expose frame flattening setting in WebSettings.
922         https://bugs.webkit.org/show_bug.cgi?id=49621
923
924         * public/WebSettings.h:
925         * src/WebSettingsImpl.cpp:
926         (WebKit::WebSettingsImpl::setFrameFlatteningEnabled):
927         * src/WebSettingsImpl.h:
928
929 2010-11-17  Jonathan Backer  <backer@chromium.org>
930
931         Reviewed by Kenneth Russell.
932
933         [Chromium] Resize initiated by renderer.
934         https://bugs.webkit.org/show_bug.cgi?id=49617
935
936         To address synchronization issues with resizing, make resize work like DARWIN.
937
938         * src/WebViewImpl.cpp:
939         (WebKit::WebViewImpl::resize):
940
941 2010-11-17  Stuart Morgan  <stuartmorgan@chromium.org>
942
943         Reviewed by Dimitri Glazkov.
944
945         Fix click count for mouse-up events.
946         - clickCount for mouse up was lost in conversion from NSEvent
947         - clickCount was also lost when disptaching events through the
948         plugin mouse capture event codepath.
949
950         https://bugs.webkit.org/show_bug.cgi?id=49290
951
952         * src/WebViewImpl.cpp:
953         (WebKit::WebViewImpl::handleInputEvent):
954         * src/mac/WebInputEventFactory.mm:
955         (WebKit::WebInputEventFactory::mouseEvent):
956
957 2010-11-11  Zhenyao Mo  <zmo@google.com>
958
959         Reviewed by Kenneth Russell.
960
961         Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
962         https://bugs.webkit.org/show_bug.cgi?id=47196
963
964         * src/WebImageDecoder.cpp:
965         (WebKit::WebImageDecoder::init): Add ignoreGammaAndColorProfile parameter.
966
967 2010-11-12  Zhenyao Mo  <zmo@google.com>
968
969         Reviewed by Kenneth Russell.
970
971         Refactor GL backend flags
972         https://bugs.webkit.org/show_bug.cgi?id=49460
973
974         * public/WebGraphicsContext3D.h: Remove GL flag queries at this level.
975         * src/GraphicsContext3DChromium.cpp: Ditto.
976         * src/GraphicsContext3DInternal.h: Ditto.
977         * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
978         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
979
980 2010-11-16  Pavel Feldman  <pfeldman@chromium.org>
981
982         Not reviewed. Chromium build fix.
983
984         * WebKit.gyp:
985         * scripts/concatenate_css_files.py: Renamed from WebKit/chromium/Build/concatenate_css_files.py.
986         * scripts/concatenate_js_files.py: Renamed from WebKit/chromium/Build/concatenate_js_files.py.
987         * scripts/generate_devtools_html.py: Renamed from WebKit/chromium/Build/generate_devtools_html.py.
988
989 2010-11-16  Pavel Feldman  <pfeldman@chromium.org>
990
991         Reviewed by Yury Semikhatsky.
992
993         Chrome DevTools: concatenate CSS files, do not link
994         missing JS files in release mode.
995         https://bugs.webkit.org/show_bug.cgi?id=49586
996
997         * Build/concatenate_css_files.py: Added.
998         * Build/concatenate_js_files.py: Added.
999         * Build/generate_devtools_html.py: Added.
1000         * WebKit.gyp:
1001
1002 2010-11-15  Nat Duca  <nduca@chromium.org>
1003
1004         Reviewed by Darin Fisher.
1005
1006         [chromium] Make WebWidget actively notify client when compositing enables.
1007         https://bugs.webkit.org/show_bug.cgi?id=49396
1008
1009         * public/WebWidgetClient.h:
1010         (WebKit::WebWidgetClient::didAcceleratedCompositingEnable):
1011         * src/WebViewImpl.cpp:
1012         (WebKit::WebViewImpl::resize):
1013         (WebKit::WebViewImpl::paint):
1014         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1015         (WebKit::WebViewImpl::scrollRootLayerRect):
1016         (WebKit::WebViewImpl::invalidateRootLayerRect):
1017         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1018
1019 2010-11-15  Kenneth Russell  <kbr@google.com>
1020
1021         Reviewed by James Robinson.
1022
1023         [chromium] Remove assumption that GL functions are function pointers
1024         https://bugs.webkit.org/show_bug.cgi?id=49486
1025
1026         Added appropriate extension queries and no longer assume that GL
1027         function names are function pointers which can be tested.
1028
1029         * src/WebGraphicsContext3DDefaultImpl.cpp:
1030         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1031         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1032         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
1033         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
1034         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
1035         (WebKit::WebGraphicsContext3DDefaultImpl::generateMipmap):
1036         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
1037         * src/WebGraphicsContext3DDefaultImpl.h:
1038
1039 2010-11-15  Ilya Sherman  <isherman@chromium.org>
1040
1041         Reviewed by Kent Tamura.
1042
1043         Add capability for displaying warnings to autofill popup
1044         Warnings are displayed in dark gray italic.
1045         https://bugs.webkit.org/show_bug.cgi?id=49291
1046         http://code.google.com/p/chromium/issues/detail?id=58509
1047
1048         * src/AutoFillPopupMenuClient.cpp:
1049         (WebKit::AutoFillPopupMenuClient::canRemoveSuggestionAtIndex):
1050           Updated logic -- can only remove Autocomplete suggestions, which have unique ID 0.
1051         (WebKit::AutoFillPopupMenuClient::itemIsEnabled): False for warnings.
1052         (WebKit::AutoFillPopupMenuClient::itemStyle): Dark gray italic for warnings.
1053         (WebKit::AutoFillPopupMenuClient::menuStyle): Variable name changed.
1054         (WebKit::AutoFillPopupMenuClient::itemIsWarning): True for unique ID < 0.
1055         (WebKit::AutoFillPopupMenuClient::initialize): Updated cached styles (see above).
1056         * src/AutoFillPopupMenuClient.h: Added itemIsEnabled(), variable to cache warning style.
1057         * src/WebViewImpl.cpp: Minor cleanup.
1058         (WebKit::WebViewImpl::applyAutoFillSuggestions): 
1059
1060 2010-11-14  Kent Tamura  <tkent@chromium.org>
1061
1062         Reviewed by Dimitri Glazkov.
1063
1064         Improve API for form validation message strings
1065         https://bugs.webkit.org/show_bug.cgi?id=34945
1066
1067         * public/WebLocalizedString.h:
1068         * src/LocalizedStrings.cpp:
1069         (WebCore::validationMessageTypeMismatchForEmailText):
1070         (WebCore::validationMessageTypeMismatchForMultipleEmailText):
1071         (WebCore::validationMessageTypeMismatchForURLText):
1072         (WebCore::validationMessageTooLongText):
1073         (WebCore::validationMessageRangeUnderflowText):
1074         (WebCore::validationMessageRangeOverflowText):
1075         (WebCore::validationMessageStepMismatchText):
1076
1077 2010-11-13  Shinichiro Hamaji  <hamaji@chromium.org>
1078
1079         Reviewed by Kent Tamura.
1080
1081         [Chromium] print doesn't work on http://nodejs.org/api.html
1082         https://bugs.webkit.org/show_bug.cgi?id=49304
1083
1084         * src/WebFrameImpl.cpp:
1085         (WebKit::ChromePrintContext::begin):
1086         (WebKit::WebFrameImpl::printBegin):
1087
1088 2010-11-12  James Simonsen  <simonjam@chromium.org>
1089
1090         Reviewed by Darin Fisher.
1091
1092         [Web Timing] Rename interfaces:
1093         - Navigation -> PerformanceNavigation
1094         - Timing -> PerformanceTiming
1095         https://bugs.webkit.org/show_bug.cgi?id=48919
1096
1097         * src/WebPerformance.cpp:
1098         (WebKit::WebPerformance::navigationType):
1099
1100 2010-11-12  Zhenyao Mo  <zmo@google.com>
1101
1102         Reviewed by James Robinson.
1103
1104         WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
1105         https://bugs.webkit.org/show_bug.cgi?id=48282
1106
1107         Simple fix for a regression introduced in r71793.
1108
1109         * src/WebGraphicsContext3DDefaultImpl.cpp:
1110         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1111
1112 2010-11-12  Ilya Sherman  <isherman@chromium.org>
1113
1114         Reviewed by Eric Seidel.
1115
1116         Remove some trailing whitespace
1117         https://bugs.webkit.org/show_bug.cgi?id=49433
1118
1119         * src/ChromeClientImpl.cpp:
1120         (WebKit::ChromeClientImpl::createPopupMenu):
1121         * src/WebViewImpl.cpp:
1122         (WebKit::WebViewImpl::scrollRootLayerRect):
1123         (WebKit::WebViewImpl::invalidateRootLayerRect):
1124
1125 2010-11-11  MORITA Hajime  <morrita@google.com>
1126
1127         Unreviewed another attempt to fx windows build.
1128
1129         * src/WebBindings.cpp:
1130         (WebKit::makeStringArrayImpl):
1131
1132 2010-11-11  MORITA Hajime <morrita@google.com>
1133
1134         Unreviewed attempt to fx windows build.
1135
1136         * src/WebBindings.cpp:
1137         (WebKit::makeStringArrayImpl):
1138
1139 2010-11-11  MORITA Hajime  <morrita@google.com>
1140
1141         Reviewed by Kent Tamura.
1142
1143         editing/selection/context-menu-on-text.html fails on chromium
1144         https://bugs.webkit.org/show_bug.cgi?id=45898
1145
1146         Added makeStringArray(), that is used by DumpRenderTree.
1147         
1148         * public/WebBindings.h:
1149         * src/WebBindings.cpp:
1150         (WebKit::makeStringArrayImpl): Added.
1151         (WebKit::WebBindings::makeStringArray): Added.
1152
1153 2010-11-11  Tony Gentilcore  <tonyg@chromium.org>
1154
1155         Reviewed by Nate Chapin.
1156
1157         [chromium] Convert WebPerformance doubles to seconds
1158         https://bugs.webkit.org/show_bug.cgi?id=49232
1159
1160         This makes them suitable for passing to Time::FromDoubleT().
1161
1162         * src/WebPerformance.cpp:
1163         (WebKit::millisecondsToSeconds):
1164         (WebKit::WebPerformance::navigationStart):
1165         (WebKit::WebPerformance::unloadEventEnd):
1166         (WebKit::WebPerformance::redirectStart):
1167         (WebKit::WebPerformance::redirectEnd):
1168         (WebKit::WebPerformance::fetchStart):
1169         (WebKit::WebPerformance::domainLookupStart):
1170         (WebKit::WebPerformance::domainLookupEnd):
1171         (WebKit::WebPerformance::connectStart):
1172         (WebKit::WebPerformance::connectEnd):
1173         (WebKit::WebPerformance::requestStart):
1174         (WebKit::WebPerformance::requestEnd):
1175         (WebKit::WebPerformance::responseStart):
1176         (WebKit::WebPerformance::responseEnd):
1177         (WebKit::WebPerformance::loadEventStart):
1178         (WebKit::WebPerformance::loadEventEnd):
1179
1180 2010-11-11  Hans Wennborg  <hans@chromium.org>
1181
1182         Reviewed by Jeremy Orlow.
1183
1184         IndexedDB: signal IDBFactoryBackendInterface destruction to embedder
1185         https://bugs.webkit.org/show_bug.cgi?id=49313
1186
1187         Implement ChromiumBridge::idbShutdown(), passing through to the
1188         WebKitClient.
1189
1190         * public/WebKitClient.h:
1191         (WebKit::WebKitClient::idbShutdown):
1192         * src/ChromiumBridge.cpp:
1193         (WebCore::ChromiumBridge::idbShutdown):
1194
1195 2010-11-10  Kenneth Russell  <kbr@google.com>
1196
1197         Reviewed by James Robinson.
1198
1199         [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl
1200         https://bugs.webkit.org/show_bug.cgi?id=49336
1201
1202         * src/WebGraphicsContext3DDefaultImpl.cpp:
1203         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1204         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
1205         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1206         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
1207
1208 2010-11-10  Evan Stade  <estade@chromium.org>
1209
1210         Reviewed by Tony Chang.
1211
1212         [chromium] menu key doesn't work when capslock or numslock is on
1213         https://bugs.webkit.org/show_bug.cgi?id=49289
1214
1215         Add a special bitmask for the "input" modifier keys (shift, alt, crtl, meta). The Modifier
1216         enum has grown to something that might be better termed State, but changing the nomenclature
1217         now is difficult. The bitmask gets its name from the related function getWebInputModifiers.
1218
1219         * public/WebInputEvent.h: add InputModifiers mask for true modifier keys
1220         * src/WebViewImpl.cpp: disregard non-modifier keys
1221         (WebKit::WebViewImpl::keyEvent):
1222
1223 2010-11-10  Csaba Osztrogon√°c  <ossy@webkit.org>
1224
1225         Reviewed by David Hyatt.
1226
1227         HTML5 Ruby support should be mandatory feature
1228         https://bugs.webkit.org/show_bug.cgi?id=49272
1229
1230         Remove Ruby as optional feature.
1231
1232         * features.gypi:
1233
1234 2010-11-10  Tony Chang  <tony@chromium.org>
1235
1236         Unreviewed, add libvpx as a chromium dependency.
1237
1238         This should fix the chromium linux build.
1239
1240         * DEPS:
1241
1242 2010-11-10  Peter Rybin  <peter.rybin@gmail.com>
1243
1244         Reviewed by Adam Barth.
1245
1246         HTML parser should provide script column position within HTML document to JavaScript engine
1247         https://bugs.webkit.org/show_bug.cgi?id=45271
1248
1249         Replaces script line number with TextPosition structure.
1250
1251         * src/WebFrameImpl.cpp:
1252         (WebKit::WebFrameImpl::executeScript):
1253         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1254         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1255
1256 2010-11-09  Kenneth Russell  <kbr@google.com>
1257
1258         Reviewed by James Robinson.
1259
1260         WebGraphicsContext3DDefaultImpl does not run on top of OpenGL ES 2.0 implementations
1261         https://bugs.webkit.org/show_bug.cgi?id=48282
1262
1263         Fixed assumptions in WebGraphicsContext3DDefaultImpl that it was
1264         running on top of desktop GL.
1265
1266         Tested various WebGL demos on Windows with ANGLE and
1267         --in-process-webgl --disable-accelerated-compositing; all are now
1268         working. Verified that --use-gl=desktop continues to work in the
1269         same configuration.
1270
1271         * src/WebGraphicsContext3DDefaultImpl.cpp:
1272         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
1273         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
1274         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
1275         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
1276         (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2Compliant):
1277         (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
1278         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
1279         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
1280         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
1281         * src/WebGraphicsContext3DDefaultImpl.h:
1282
1283 2010-11-09  Kent Tamura  <tkent@chromium.org>
1284
1285         Reviewed by Dimitri Glazkov.
1286
1287         [Chromium] Add form validation message support to WebLocalizedString.h
1288         https://bugs.webkit.org/show_bug.cgi?id=49239
1289
1290         * DEPS: Roll Chromium revision to r65502 to have crrev.com/65502
1291         * public/WebLocalizedString.h: Add new symbols
1292         * src/LocalizedStrings.cpp: Call query() with the new symbols in the following functions.
1293         (WebCore::validationMessageValueMissingText):
1294         (WebCore::validationMessageTypeMismatchText):
1295         (WebCore::validationMessagePatternMismatchText):
1296         (WebCore::validationMessageTooLongText):
1297         (WebCore::validationMessageRangeUnderflowText):
1298         (WebCore::validationMessageRangeOverflowText):
1299         (WebCore::validationMessageStepMismatchText):
1300
1301 2010-11-09  Tony Chang  <tony@chromium.org>
1302
1303         Unreviewed, rolling chromium DEPS.
1304
1305         * DEPS: Roll to r65462.
1306
1307 2010-11-09  Mihai Parparita  <mihaip@chromium.org>
1308
1309         Unreviewed Chromium Windows build fix.
1310
1311         Add isDisplayNone to the PopupMenuStyle constructor call in
1312         PopupMenuTest (necessary after r71618).
1313
1314         * tests/PopupMenuTest.cpp:
1315         (WebKit::TestPopupMenuClient::itemStyle):
1316
1317 2010-11-09  Shinichiro Hamaji  <hamaji@chromium.org>
1318
1319         Reviewed by Dimitri Glazkov.
1320
1321         [Chromium] display:none has no effect on <option> element
1322         https://bugs.webkit.org/show_bug.cgi?id=49169
1323
1324         * src/AutoFillPopupMenuClient.cpp:
1325         (WebKit::AutoFillPopupMenuClient::initialize):
1326
1327 2010-11-09  James Simonsen  <simonjam@chromium.org>
1328
1329         Reviewed by Dimitri Glazkov.
1330
1331         [Web Timing] Remove requestEnd
1332         https://bugs.webkit.org/show_bug.cgi?id=48924
1333
1334         * public/WebPerformance.h:
1335         * src/WebPerformance.cpp:
1336
1337 2010-11-08  John Knottenbelt  <jknotten@chromium.org>
1338
1339         Reviewed by Steve Block.
1340
1341         Convert to and from DOMTimeStamp with converter functions
1342         https://bugs.webkit.org/show_bug.cgi?id=49066
1343
1344         * src/WebDataSourceImpl.cpp:
1345         (WebKit::WebDataSourceImpl::triggeringEventTime):
1346
1347
1348 2010-11-08  Pierre-Antoine LaFayette  <pierre.lafayette@gmail.com>
1349
1350         Reviewed by Darin Fisher.
1351
1352         [chromium] Adding hasUserGesture flag to the ResourceRequest
1353         https://bugs.webkit.org/show_bug.cgi?id=37057
1354
1355         This flag is to be used on the browser side to indicate when a
1356         download has been user initiated.
1357
1358         * public/WebURLRequest.h:
1359         * src/WebURLRequest.cpp:
1360         (WebKit::WebURLRequest::hasUserGesture):
1361         (WebKit::WebURLRequest::setHasUserGesture):
1362
1363 2010-11-08  Jay Civelli  <jcivelli@chromium.org>
1364
1365         Reviewed by Darin Fisher.
1366
1367         Add an API to WebViewClient that report the load progress for a frame.
1368         https://bugs.webkit.org/show_bug.cgi?id=49137
1369
1370         * public/WebViewClient.h:
1371         (WebKit::WebViewClient::didChangeLoadProgress):
1372         * src/FrameLoaderClientImpl.cpp:
1373         (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
1374
1375  2010-11-08  Alexey Proskuryakov  <ap@apple.com>
1376
1377         Reviewed by Darin Adler.
1378
1379         https://bugs.webkit.org/show_bug.cgi?id=48685
1380         Notify UI process about focused frame
1381
1382         Added an empty implementation of the new ChromeClient method.
1383
1384         * src/ChromeClientImpl.cpp:
1385         (WebKit::ChromeClientImpl::focusedFrameChanged):
1386         * src/ChromeClientImpl.h:
1387
1388 2010-11-08  Andrey Kosyakov  <caseq@chromium.org>
1389
1390         Reviewed by Yury Semikhatsky.
1391
1392         Only call WebInspector_syncDispatch if it's actually a function.
1393         https://bugs.webkit.org/show_bug.cgi?id=49180
1394
1395         * src/WebDevToolsFrontendImpl.cpp:
1396         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
1397         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
1398         * src/WebDevToolsFrontendImpl.h:
1399
1400 2010-11-07  Adam Barth  <abarth@webkit.org>
1401
1402         Reviewed by Eric Seidel.
1403
1404         Rename Cache to MemoryCache
1405         https://bugs.webkit.org/show_bug.cgi?id=49159
1406
1407         * public/WebCache.h:
1408         * src/WebCache.cpp:
1409         (WebKit::ToResourceTypeStat):
1410         (WebKit::WebCache::setCapacities):
1411         (WebKit::WebCache::clear):
1412         (WebKit::WebCache::getUsageStats):
1413         (WebKit::WebCache::getResourceTypeStats):
1414
1415 2010-11-07  Jay Civelli  <jcivelli@chromium.org>
1416
1417         Reviewed by Kent Tamura.
1418
1419         Fixing a crasher with the select popup on Mac that happens when a
1420         page removes the select node when the select changes.
1421         https://bugs.webkit.org/show_bug.cgi?id=49108
1422
1423         * src/ExternalPopupMenu.cpp:
1424         (WebKit::ExternalPopupMenu::didAcceptIndex):
1425         (WebKit::ExternalPopupMenu::didCancel):
1426
1427 2010-11-06  Pavel Feldman  <pfeldman@chromium.org>
1428
1429         Not reviewed. Chromium DevTools: disable filesystem inspection
1430         until polished.
1431         https://bugs.webkit.org/show_bug.cgi?id=48963
1432
1433         * src/js/DevTools.js:
1434
1435 2010-11-05  Ilya Sherman  <isherman@chromium.org>
1436
1437         Reviewed by Simon Fraser.
1438
1439         Querying selection start and end should be const
1440         https://bugs.webkit.org/show_bug.cgi?id=48786
1441
1442         * public/WebInputElement.h:
1443         * src/WebInputElement.cpp:
1444         (WebKit::WebInputElement::selectionStart):
1445         (WebKit::WebInputElement::selectionEnd):
1446
1447 2010-11-05  Chris Marrin  <cmarrin@apple.com>
1448
1449         Reviewed by Simon Fraser.
1450
1451         Move resumeAnimations/suspendAnimations from Frame to AnimationController.
1452         https://bugs.webkit.org/show_bug.cgi?id=49073
1453
1454         * src/WebAnimationControllerImpl.cpp:
1455         (WebKit::WebAnimationControllerImpl::suspendAnimations):
1456         (WebKit::WebAnimationControllerImpl::resumeAnimations):
1457
1458 2010-11-04  Zhenyao Mo  <zmo@google.com>
1459
1460         Reviewed by Kenneth Russell.
1461
1462         Need to simulate DEPTH_STENCIL in framebufferRenderbuffer / getFramebufferAttachmentParameter
1463         https://bugs.webkit.org/show_bug.cgi?id=49020
1464
1465         * src/WebGraphicsContext3DDefaultImpl.cpp: Remove DEPTH_STENCIL_ATTACHMENT emulation at this level.
1466
1467 2010-11-05  Darin Fisher  <darin@chromium.org>
1468
1469         Pull chromium@65229 to fix the build.
1470
1471         * DEPS:
1472
1473 2010-11-05  Darin Fisher  <darin@chromium.org>
1474
1475         Reviewed by Nate Chapin.
1476
1477         Replace deprecated TargetIsSub{Frame,Resource} with TargetIsSub{frame,resource}.
1478         https://bugs.webkit.org/show_bug.cgi?id=49074
1479
1480         * public/WebURLRequest.h:
1481         * src/FrameLoaderClientImpl.cpp:
1482
1483 2010-11-05  Charlie Reis  <creis@chromium.org>
1484
1485         Reviewed by Darin Fisher.
1486
1487         WebFrame::previousHistoryItem() should return last committed item.
1488         https://bugs.webkit.org/show_bug.cgi?id=48809
1489
1490         * src/WebFrameImpl.cpp:
1491
1492 2010-10-27  Jeremy Orlow  <jorlow@chromium.org>
1493
1494         Reviewed by Steve Block.
1495
1496         Clean up IDBTransactionBackend/Coordinator
1497         https://bugs.webkit.org/show_bug.cgi?id=48425
1498
1499         Remove obsolete ::id() method.
1500
1501         * public/WebIDBTransaction.h:
1502         * src/IDBTransactionBackendProxy.cpp:
1503         * src/IDBTransactionBackendProxy.h:
1504         * src/WebIDBTransactionImpl.cpp:
1505         * src/WebIDBTransactionImpl.h:
1506
1507 2010-11-04  usaini  <usaini08@gmail.com>
1508
1509         Reviewed by Antonio Gomes.
1510
1511         WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures
1512         https://bugs.webkit.org/show_bug.cgi?id=48035
1513
1514         * public/WebWindowFeatures.h:
1515         (WebKit::WebWindowFeatures::WebWindowFeatures): updated the constructor
1516         that takes in a WebCore::WindowFeature and had it copy all the variables
1517         over properly so that after calling the constructor WebWindowFeatures is
1518         always in a valid state. Before, the x,y,width,height booleans may be true, but
1519         the corresponding int values would not be updated.
1520
1521 2010-11-04  Zhenyao Mo  <zmo@google.com>
1522
1523         Reviewed by Kenneth Russell.
1524
1525         Remove IMPLEMENTATION_COLOR_READ_FORMAT and TYPE
1526         https://bugs.webkit.org/show_bug.cgi?id=48938
1527
1528         * src/WebGraphicsContext3DDefaultImpl.cpp:
1529         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
1530
1531 2010-11-04  Kavita Kanetkar  <kkanetkar@chromium.org>
1532
1533         Reviewed by Adam Barth.
1534
1535         Web Inspector: Enable files ystem UI for chromium
1536         https://bugs.webkit.org/show_bug.cgi?id=48963
1537
1538         * src/js/DevTools.js:
1539
1540 2010-11-03  Adam Barth  <abarth@webkit.org>
1541
1542         Roll Chromium DEPS
1543         https://bugs.webkit.org/show_bug.cgi?id=48978
1544
1545         * DEPS:
1546
1547 2010-11-03  Vincent Scheib  <scheib@chromium.org>
1548
1549         Reviewed by James Robinson.
1550
1551         [chromium] GraphicsContext3D creation attributes include canRecoverFromContextLoss option
1552         https://bugs.webkit.org/show_bug.cgi?id=48850
1553
1554         Implementations of GraphicsContext3D may respect the creation attribute
1555         canRecoverFromContextLoss being false, and then only succeeding initialization if
1556         the context can satisfy that request of never being lost. DX9 on XP can not satisfy
1557         such a request.
1558
1559         Test by use of accelerated canvas 2d in Chromium with ANGLE on XP machines.
1560
1561         * public/WebGraphicsContext3D.h:
1562         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
1563         * src/GraphicsContext3DChromium.cpp:
1564         (WebCore::GraphicsContext3DInternal::initialize):
1565
1566 2010-11-03  Jenn Braithwaite  <jennb@chromium.org>
1567
1568         Reviewed by Dmitry Titov.
1569
1570         Chromium: Update resource tracking when moving a frame between documents
1571         https://bugs.webkit.org/show_bug.cgi?id=48363
1572
1573         * public/WebFrameClient.h:
1574         (WebKit::WebFrameClient::removeIdentifierForRequest):
1575         Added
1576         * src/FrameLoaderClientImpl.cpp:
1577         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
1578         Notify current WebFrameClient of the resource and remove from
1579         former WebFrameClient.
1580
1581 2010-11-03  Adam Barth  <abarth@webkit.org>
1582
1583         Roll Chromium DEPs
1584         https://bugs.webkit.org/show_bug.cgi?id=48959
1585
1586         * DEPS:
1587
1588 2010-11-03  Kenneth Russell  <kbr@google.com>
1589
1590         Reviewed by Chris Marrin.
1591
1592         Redesign extension mechanism in GraphicsContext3D
1593         https://bugs.webkit.org/show_bug.cgi?id=46894
1594
1595         Upon request, factored out extension support from GraphicsContext3D
1596         into a new Extensions3D class. (The plural was chosen because the
1597         class and subclasses hold multiple extensions.)
1598
1599         Unlike GraphicsContext3D, Extensions3D contains only pure virtual
1600         methods. This was done because Extensions3D's inheritance diagram
1601         and usage pattern is very different from that of GraphicsContext3D,
1602         and the concrete subclasses need to decide how to implement the
1603         various entry points. Requiring them to be placed at the
1604         Extensions3D level will cause implementation details to leak into
1605         the base class, which is highly undesirable. Any virtual call
1606         overhead to these entry points will be negligible.
1607
1608         Changed call sites utilizing these extensions to call through the
1609         Extensions3D object or its subclasses.
1610
1611         Tested:
1612          - Chromium on Linux with accelerated 2D canvas and HTML5 video
1613          - Chromium on Mac OS X with WebGL and CSS 3D content
1614          - Safari on Mac OS X with WebGL and CSS 3D content
1615
1616         No new tests. Covered by existing tests.
1617
1618         * WebKit.gyp:
1619         * public/WebGraphicsContext3D.h:
1620         * src/Extensions3DChromium.cpp: Added.
1621         (WebCore::Extensions3DChromium::Extensions3DChromium):
1622         (WebCore::Extensions3DChromium::~Extensions3DChromium):
1623         (WebCore::Extensions3DChromium::supports):
1624         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
1625         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
1626         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
1627         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
1628         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
1629         (WebCore::Extensions3DChromium::copyTextureToParentTextureCHROMIUM):
1630         * src/GraphicsContext3DChromium.cpp:
1631         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
1632         (WebCore::GraphicsContext3DInternal::getExtensions):
1633         (WebCore::GraphicsContext3DInternal::supportsExtension):
1634         * src/GraphicsContext3DInternal.h:
1635         * src/WebGraphicsContext3DDefaultImpl.cpp:
1636         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
1637         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
1638         * src/WebGraphicsContext3DDefaultImpl.h:
1639         * src/WebViewImpl.cpp:
1640         (WebKit::WebViewImpl::composite):
1641
1642 2010-11-03  Daniel Bates  <dbates@rim.com>
1643
1644         For unnamed frames, window.name returns a generated name
1645         https://bugs.webkit.org/show_bug.cgi?id=6751
1646
1647         Part 1 of 2.
1648
1649         Substitute FrameTree::uniqueName() for FrameTree::name() in the Chromium port.
1650
1651         * src/WebFrameImpl.cpp:
1652         (WebKit::WebFrameImpl::name):
1653
1654 2010-11-02  Al Patrick  <apatrick@chromium.org>
1655
1656         Reviewed by Kenneth Russell.
1657
1658         [chromium] Plugin instances can propagate the ID of the OpenGL texture they render to.
1659
1660         https://bugs.webkit.org/show_bug.cgi?id=48032
1661
1662         * public/WebPlugin.h:
1663         (WebKit::WebPlugin::getBackingTextureId):
1664         * public/WebPluginContainer.h:
1665         (WebKit::WebPluginContainer::commitBackingTexture):
1666         * src/WebPluginContainerImpl.cpp:
1667         (WebKit::WebPluginContainerImpl::commitBackingTexture):
1668         (WebKit::WebPluginContainerImpl::platformLayer):
1669         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
1670         * src/WebPluginContainerImpl.h:
1671
1672 2010-11-02  Kavita Kanetkar  <kkanetkar@chromium.org>
1673
1674         Reviewed by Dumitru Daniliuc.
1675
1676         [FileSystem] Support not creating directories when queried by inspector.
1677         https://bugs.webkit.org/show_bug.cgi?id=48169
1678
1679         * src/LocalFileSystemChromium.cpp:
1680         (WebCore::LocalFileSystem::readFileSystem):
1681         (WebCore::LocalFileSystem::requestFileSystem):
1682
1683 2010-11-02  Chris Guillory  <chris.guillory@google.com>
1684
1685         Reviewed by Chris Fleizach.
1686
1687         Chromium: Propagate a document value changed notification on scroll.
1688         https://bugs.webkit.org/show_bug.cgi?id=48817
1689
1690         * src/WebAccessibilityObject.cpp:
1691         (WebKit::WebAccessibilityObject::boundingBoxRect):
1692
1693 2010-10-29  John Abd-El-Malek  <jam@chromium.org>
1694
1695         Reviewed by Darin Fisher.
1696
1697         [chromium]: Allow plugins to use optimized scrolling
1698         https://bugs.webkit.org/show_bug.cgi?id=48660
1699
1700         * public/WebPluginContainer.h:
1701         * src/WebPluginContainerImpl.cpp:
1702         (WebKit::WebPluginContainerImpl::scrollRect):
1703         * src/WebPluginContainerImpl.h:
1704
1705 2010-11-02  Marc-Antoine Ruel  <maruel@chromium.org>
1706
1707         Reviewed by Dimitri Glazkov.
1708
1709         Disable incremental linking for webkit_unit_test and DumpRenderTRee on x86 Windows on chromium build.
1710         https://bugs.webkit.org/show_bug.cgi?id=48836
1711
1712         It fails to link otherwise due to lack of virtual address space.
1713
1714         * WebKit.gyp:
1715
1716 2010-11-02  Ilya Sherman  <isherman@chromium.org>
1717
1718         Reviewed by Kent Tamura.
1719
1720         Expose the sendChangeEvent parameter in WebInputElement::setValue() API,
1721         primarily so that chromium form autofill can fire the onChange event.
1722         https://bugs.webkit.org/show_bug.cgi?id=48177
1723
1724         * public/WebInputElement.h:
1725         * src/WebInputElement.cpp:
1726         (WebKit::WebInputElement::setValue):
1727
1728 2010-11-02  Pavel Feldman  <pfeldman@chromium.org>
1729
1730         Reviewed by Timothy Hatcher.
1731
1732         Web Inspector: make properties and event listeners look consistent with the styles section.
1733         https://bugs.webkit.org/show_bug.cgi?id=48827
1734
1735         * src/js/devTools.css:
1736
1737 2010-11-01  Tony Chang  <tony@chromium.org>
1738
1739         Reviewed by Kent Tamura.
1740
1741         [chromium] Compile TestNetscapePlugin on chromium win
1742         https://bugs.webkit.org/show_bug.cgi?id=48802
1743
1744         It creates npTestNetscapePlugin.dll in the build directory, so
1745         it's not yet loaded by DRT or test_shell.
1746
1747         * WebKit.gyp:
1748
1749 2010-11-01  Brady Eidson  <beidson@apple.com>
1750
1751         Reviewed by Anders Carlsson.
1752
1753         <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
1754         Context menu support for WebKit 2.
1755
1756         * src/ChromeClientImpl.h:
1757         (WebKit::ChromeClientImpl::showContextMenu):
1758
1759 2010-11-01  Pavel Feldman  <pfeldman@chromium.org>
1760
1761         Not reviewed: Chromium build fix.
1762
1763         * src/WebDevToolsAgentImpl.cpp:
1764         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
1765
1766 2010-11-01  Pavel Feldman  <pfeldman@chromium.org>
1767
1768         Reviewed by Timothy Hatcher.
1769
1770         Web Inspector: remove old resources panel.
1771         https://bugs.webkit.org/show_bug.cgi?id=45657
1772
1773         * src/WebDevToolsAgentImpl.cpp:
1774         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1775         * src/WebDevToolsAgentImpl.h:
1776
1777 2010-11-01  Leandro Gracia Gil  <leandrogracia@google.com>
1778
1779         Reviewed by Jeremy Orlow.
1780
1781         This is the last part of a 4-sided patch for the language attribute
1782         in speech text buttons. This patch removes what now is dead code
1783         and re-enables the layout test introduced by bug 47089.
1784         https://bugs.webkit.org/show_bug.cgi?id=47420
1785
1786         * public/WebSpeechInputControllerMock.h:
1787         * src/WebSpeechInputControllerMockImpl.cpp:
1788         * src/WebSpeechInputControllerMockImpl.h:
1789
1790 2010-10-31  Pavel Feldman  <pfeldman@chromium.org>
1791
1792         Reviewed by Timothy Hatcher.
1793
1794         Web Inspector: unhide new network and resources panels.
1795         https://bugs.webkit.org/show_bug.cgi?id=48725
1796
1797         * src/WebDevToolsAgentImpl.cpp:
1798         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
1799
1800 2010-10-29  Daniel Bates  <dbates@rim.com>
1801
1802         No review, rolling out 70971.
1803         http://trac.webkit.org/changeset/70971
1804         https://bugs.webkit.org/show_bug.cgi?id=6751
1805
1806         Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
1807         it caused layout test failures on all bots. In particular, the
1808         child count in a generated frame name differs after this patch. We need
1809         to look into this further.
1810
1811         * src/WebFrameImpl.cpp:
1812         (WebKit::WebFrameImpl::name):
1813
1814 2010-10-28  Antonio Gomes  <agomes@rim.com>
1815
1816         Reviewed by Ojan Vafai.
1817
1818         Needs a "LinuxEditingBehavior", perhaps with a better name
1819         https://bugs.webkit.org/show_bug.cgi?id=36627
1820
1821         Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix.
1822
1823         * public/WebSettings.h:
1824         * src/AssertMatchingEnums.cpp:
1825
1826 2010-10-29  Daniel Bates  <dbates@rim.com>
1827
1828         Reviewed by Adam Barth.
1829
1830         For unnamed frames, window.name returns a generated name
1831         https://bugs.webkit.org/show_bug.cgi?id=6751
1832
1833         Modified Chromium-port to use FrameTree::uniqueName().
1834
1835         * src/WebFrameImpl.cpp:
1836         (WebKit::WebFrameImpl::name):
1837
1838 2010-10-29  Kavita Kanetkar  <kkanetkar@chromium.org>
1839
1840         Reviewed by Pavel Feldman.
1841
1842         Web Inspector: FileSystem integration
1843         https://bugs.webkit.org/show_bug.cgi?id=45982
1844
1845         * public/WebFileUtilities.h:
1846         (WebKit::WebFileUtilities::revealFolderInOS):
1847         * src/ChromiumBridge.cpp:
1848         (WebCore::ChromiumBridge::revealFolderInOS):
1849
1850
1851 2010-10-29  Darin Adler  <darin@apple.com>
1852
1853         Reviewed by Sam Weinig.
1854
1855         Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
1856         https://bugs.webkit.org/show_bug.cgi?id=48574
1857
1858         * src/BackForwardListClientImpl.h: Use BackForwardListImpl.h.
1859         * src/WebViewImpl.cpp:
1860         (WebKit::WebViewImpl::WebViewImpl): Cast to BackForwardList* before calling setClient.
1861
1862 2010-10-28  Michael Nordman  <michaeln@google.com>
1863
1864         Reviewed by ap.
1865
1866         [Chrome] Fix an appcache regression introduced in r69226
1867         https://bugs.webkit.org/show_bug.cgi?id=48592
1868         Provide a noop method body ApplicationCacheHost::maybeLoadMainResourceForRedirect.
1869
1870         * src/ApplicationCacheHost.cpp:
1871         (WebCore::ApplicationCacheHost::maybeLoadMainResourceForRedirect):
1872
1873 2010-10-29  Aaron Colwell  <acolwell@chromium.org>
1874
1875         Reviewed by James Robinson.
1876
1877         Fix globalAlpha support when using drawImage() to copy a video frame
1878         to a 2D canvas context.
1879         https://bugs.webkit.org/show_bug.cgi?id=48094
1880
1881         This fix applies the globalAlpha value to the canvas before passing it
1882         down to the lower layers that don't have access to the graphics
1883         context. This makes sure that any drawing on the canvas will have the
1884         proper global alpha value applied.
1885
1886         * src/WebMediaPlayerClientImpl.cpp:
1887         (WebKit::WebMediaPlayerClientImpl::paint):
1888
1889 2010-10-29  Alexey Proskuryakov  <ap@apple.com>
1890
1891         Reviewed by Darin Adler.
1892
1893         https://bugs.webkit.org/show_bug.cgi?id=48576
1894         Let WebKit2 client know when a frame is a frameset
1895
1896         Added a blank implementation of the new FrameLoaderClient method.
1897
1898         * src/FrameLoaderClientImpl.h:
1899         * src/FrameLoaderClientImpl.cpp:
1900         (WebKit::FrameLoaderClientImpl::dispatchDidBecomeFrameset):
1901
1902 2010-10-29  Pavel Feldman  <pfeldman@chromium.org>
1903
1904         Reviewed by Timothy Hatcher.
1905
1906         Web Inspector: add close button to network view, make tests pass
1907         for resource manager on all ports.
1908         https://bugs.webkit.org/show_bug.cgi?id=48628
1909
1910         * src/js/Tests.js:
1911
1912 2010-10-29  Csaba Osztrogon√°c  <ossy@webkit.org>
1913
1914         Reviewed by Adam Roben and David Kilzer.
1915
1916         Fix and cleanup of build systems
1917         https://bugs.webkit.org/show_bug.cgi?id=48342
1918
1919         * features.gypi: Remove unnecessary ENABLE_SANDBOX.
1920
1921 2010-10-29  Leandro Gracia Gil  <leandrogracia@google.com>
1922
1923         Reviewed by Jeremy Orlow.
1924
1925         Patch the current speech input implementation to use the nearest
1926         language tag. The language is now passed to the startRecognition
1927         methods so that language-specific recognition could be used. Also added
1928         a second parameter to setMockSpeechInputResult for the language used in
1929         speech recognition.
1930         https://bugs.webkit.org/show_bug.cgi?id=47089
1931
1932         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
1933         details see http://codereview.chromium.org/3615005/show,
1934         http://codereview.chromium.org/3595018/show and
1935         https://bugs.webkit.org/show_bug.cgi?id=47420.
1936
1937         * public/WebSpeechInputController.h:
1938         (WebKit::WebSpeechInputController::startRecognition):
1939         * public/WebSpeechInputControllerMock.h:
1940         * src/SpeechInputClientImpl.cpp:
1941         (WebKit::SpeechInputClientImpl::create):
1942         (WebKit::SpeechInputClientImpl::startRecognition):
1943         * src/SpeechInputClientImpl.h:
1944         * src/WebSpeechInputControllerMockImpl.cpp:
1945         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
1946         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1947         * src/WebSpeechInputControllerMockImpl.h:
1948         * src/WebViewImpl.cpp:
1949         (WebKit::WebViewImpl::WebViewImpl):
1950         * src/WebViewImpl.h:
1951
1952 2010-10-28  Adam Barth  <abarth@webkit.org>
1953
1954         Reviewed by Eric Seidel, Peter Kasting, and Darin Fisher.
1955         (Eric reviewed the CoreGraphics interactions, Peter reviewed the image
1956         decoder interaction, and Darin Fisher SGTMed the policy decision.)
1957
1958         [chromium] Chromium Mac should use WebKit's image decoders
1959         https://bugs.webkit.org/show_bug.cgi?id=47974
1960
1961         Enable WebKit's image decoders.
1962
1963         * features.gypi:
1964
1965 2010-10-28  Mihai Parparita  <mihaip@chromium.org>
1966
1967         Reviewed by Darin Adler.
1968
1969         [Chromium] History related tests REGRESSED after r70723
1970         https://bugs.webkit.org/show_bug.cgi?id=48513
1971
1972         Since r70723 made BackForwardList::currentItem no longer be virtual,
1973         we were not reaching the implementation in Chromium's 
1974         BackForwardListClientImpl, and for Chromium currentItem is not the same
1975         as itemAtIndex(0).
1976         
1977         The fix is to make itemAtIndex(0) have the currentItem() behavior, which
1978         lets us keep currentItem as non-virtual (and remove its implementation
1979         from the Chromium side).
1980         
1981         This also switches Chromium to use the default implementation of 
1982         backItem() and forwardItem() (vs. the old stubs that just had
1983         ASSERT_NOT_REACHED) since they're actually reacheable with Chromium
1984         code thanks to the calls in FrameLoader::checkDidPerformFirstNavigation.
1985
1986         * src/BackForwardListClientImpl.cpp:
1987         (WebKit::BackForwardListClientImpl::itemAtIndex):
1988         * src/BackForwardListClientImpl.h:
1989
1990 2010-10-28  Kinuko Yasuda  <kinuko@chromium.org>
1991
1992         Reviewed by David Levin.
1993
1994         [Chromium] Support FileSystem in chromium DRT
1995         https://bugs.webkit.org/show_bug.cgi?id=47643
1996         Update the chromium DEPS to pick up corresponding webkit_support change.
1997         Also add a temporary glue implementation with FIXME comment to
1998         WebFrameClient::openFileSystem.
1999
2000         * DEPS:
2001         * public/WebFrameClient.h:
2002         (WebKit::WebFrameClient::openFileSystem):
2003
2004 2010-10-28  Satish Sampath  <satish@chromium.org>
2005
2006         Reviewed by Steve Block.
2007
2008         Remove obsolete public/API methods in chromium port
2009         https://bugs.webkit.org/show_bug.cgi?id=48504
2010
2011         * public/WebSpeechInputController.h:
2012         (WebKit::WebSpeechInputController::startRecognition):
2013
2014 2010-10-27  Eric Uhrhane  <ericu@chromium.org>
2015
2016         Reviewed by David Levin.
2017
2018         [Chromium] Metadata queries should return full file info, not just modification time
2019         https://bugs.webkit.org/show_bug.cgi?id=48098
2020
2021         * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators.
2022         * src/WebFileSystemCallbacksImpl.cpp:
2023         (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information.
2024
2025 2010-10-27  Kenneth Russell  <kbr@google.com>
2026
2027         Reviewed by Dimitri Glazkov.
2028
2029         [chromium] WebGL does not work with the compositor in test_shell
2030         https://bugs.webkit.org/show_bug.cgi?id=48470
2031
2032         * src/WebGraphicsContext3DDefaultImpl.cpp:
2033         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
2034          - Properly restore the draw framebuffer after resolving.
2035         (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
2036          - Make the context current before calling resolveMultisampledFramebuffer.
2037
2038 2010-10-27  Stuart Morgan  <stuartmorgan@chromium.org>
2039
2040         Reviewed by David Levin.
2041
2042         Include caps lock state when converting NSEvent modifiers to
2043         WebInputEvent
2044
2045         https://bugs.webkit.org/show_bug.cgi?id=47917
2046
2047         * src/mac/WebInputEventFactory.mm:
2048         (WebKit::modifiersFromEvent):
2049
2050 2010-10-27  Chris Rogers  <crogers@google.com>
2051
2052         Reviewed by James Robinson.
2053
2054         Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) for Chromium
2055         https://bugs.webkit.org/show_bug.cgi?id=48465
2056
2057         * features.gypi:
2058
2059 2010-10-25  Tony Chang  <tony@chromium.org>
2060
2061         Reviewed by Anders Carlsson.
2062
2063         compile TestNetscapePlugIn on chromium linux
2064         https://bugs.webkit.org/show_bug.cgi?id=48274
2065
2066         * WebKit.gyp: Enable compilation of TestNetscapePlugIn on Linux.
2067
2068 2010-10-27  Satish Sampath  <satish@chromium.org>
2069
2070         Unreviewed, rolling out r70665.
2071         http://trac.webkit.org/changeset/70665
2072         https://bugs.webkit.org/show_bug.cgi?id=47089
2073
2074         Need to address Alexey's review comments.
2075
2076         * public/WebSpeechInputController.h:
2077         (WebKit::WebSpeechInputController::startRecognition):
2078         * public/WebSpeechInputControllerMock.h:
2079         * src/SpeechInputClientImpl.cpp:
2080         (WebKit::SpeechInputClientImpl::startRecognition):
2081         * src/SpeechInputClientImpl.h:
2082         * src/WebSpeechInputControllerMockImpl.cpp:
2083         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2084         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2085         * src/WebSpeechInputControllerMockImpl.h:
2086         * src/WebViewImpl.cpp:
2087         (WebKit::WebViewImpl::WebViewImpl):
2088         * src/WebViewImpl.h:
2089
2090 2010-10-27  ZHenyao Mo  <zmo@google.com>
2091
2092         Reviewed by Kenneth Russell.
2093
2094         Must enable GL_POINT_SPRITE in GraphicsContext3D implementations
2095         https://bugs.webkit.org/show_bug.cgi?id=45908
2096
2097         * src/WebGraphicsContext3DDefaultImpl.cpp: Enable for chromium --in-process-webgl port.
2098         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2099
2100 2010-10-27  Leandro Gracia Gil  <leandrogracia@google.com>
2101
2102         Reviewed by Jeremy Orlow.
2103
2104         Patch the current speech input implementation to use the nearest
2105         language tag. The language is now passed to the startRecognition
2106         methods so that language-specific recognition could be used. Also added
2107         a second parameter to setMockSpeechInputResult for the language used in
2108         speech recognition.
2109         https://bugs.webkit.org/show_bug.cgi?id=47089
2110
2111         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
2112         details see http://codereview.chromium.org/3615005/show and
2113         http://codereview.chromium.org/3595018/show. The last of the 4 patches
2114         depends also on the language tag validation provided by this patch:
2115         https://bugs.webkit.org/show_bug.cgi?id=48225.
2116
2117         * public/WebSpeechInputController.h:
2118         (WebKit::WebSpeechInputController::startRecognition):
2119         * public/WebSpeechInputControllerMock.h:
2120         * src/SpeechInputClientImpl.cpp:
2121         (WebKit::SpeechInputClientImpl::create):
2122         (WebKit::SpeechInputClientImpl::startRecognition):
2123         * src/SpeechInputClientImpl.h:
2124         * src/WebSpeechInputControllerMockImpl.cpp:
2125         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2126         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2127         * src/WebSpeechInputControllerMockImpl.h:
2128         * src/WebViewImpl.cpp:
2129         (WebKit::WebViewImpl::WebViewImpl):
2130         * src/WebViewImpl.h:
2131
2132 2010-10-26  Victoria Kirst  <vrk@google.com>
2133
2134         Reviewed by David Levin.
2135
2136         Fix compile when ACCELERATED_COMPOSITING flag is not set
2137         https://bugs.webkit.org/show_bug.cgi?id=48373
2138
2139         * src/WebMediaPlayerClientImpl.cpp:
2140         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2141         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2142         (WebKit::WebMediaPlayerClientImpl::load):
2143         * src/WebMediaPlayerClientImpl.h:
2144
2145 2010-10-26  MORITA Hajime  <morrita@google.com>
2146
2147         Reviewed by Tony Chang.
2148
2149         Rolling in r70512 again.
2150         
2151         spellcheck='' should be the same as spellcheck="true"
2152         https://bugs.webkit.org/show_bug.cgi?id=25539
2153
2154         * src/ContextMenuClientImpl.cpp:
2155         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2156         * src/EditorClientImpl.cpp:
2157         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
2158
2159 2010-10-26  Jenn Braithwaite  <jennb@chromium.org>
2160
2161         Reviewed by Dmitry Titov.
2162
2163         Resource tracking failure when trying to move a frame between documents
2164         https://bugs.webkit.org/show_bug.cgi?id=44713
2165
2166         * src/FrameLoaderClientImpl.cpp:
2167         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
2168         Empty method.
2169         * src/FrameLoaderClientImpl.h:
2170
2171 2010-10-26  Satish Sampath  <satish@chromium.org>
2172
2173         Reviewed by Jeremy Orlow.
2174
2175         Add a 'grammar' attribute for speech input.
2176         https://bugs.webkit.org/show_bug.cgi?id=48339
2177
2178         To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a
2179         speech enabled input element. This is passed without validation to the speech recognizer. Typical values
2180         could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI.
2181         It is up to the recognizer to interpret the value and use it as an aid in recognition.
2182
2183         * public/WebSpeechInputController.h:
2184         (WebKit::WebSpeechInputController::startRecognition):
2185         * src/SpeechInputClientImpl.cpp:
2186         (WebKit::SpeechInputClientImpl::startRecognition):
2187         * src/SpeechInputClientImpl.h:
2188         * src/WebSpeechInputControllerMockImpl.cpp:
2189         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2190         * src/WebSpeechInputControllerMockImpl.h:
2191
2192 2010-10-26  Hans Wennborg  <hans@chromium.org>
2193
2194         Reviewed by Jeremy Orlow.
2195
2196         IndexedDB: update stale comments referring to WebIndexedDatabase.
2197         https://bugs.webkit.org/show_bug.cgi?id=48325
2198
2199         WebIndexedDatabase was renamed to WebIDBFactory in
2200         http://trac.webkit.org/changeset/64344, but some comments referring to
2201         it were left unchanged.
2202
2203         * public/WebIDBCursor.h:
2204         * public/WebIDBDatabase.h:
2205         * public/WebIDBDatabaseError.h:
2206         * public/WebIDBIndex.h:
2207         * public/WebIDBObjectStore.h:
2208         * public/WebIDBTransaction.h:
2209         * src/WebIDBDatabaseImpl.h:
2210
2211 2010-10-22  Stephen White  <senorblanco@chromium.org>
2212
2213         Reviewed by Kenneth Russell.
2214
2215         Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl.
2216         https://bugs.webkit.org/show_bug.cgi?id=48152
2217         
2218         This allows the in-process implementation to do accelerated canvas and
2219         accelerated compositing together.  It requires some changes landed
2220         in chromium 63528, so this patch also rolls chromium DEPS to 63722
2221         (current LKGR).
2222
2223         Covered by fast/canvas/arc360.html, and many more when run with
2224         --accelerated-compositing and --accelerated-2d-canvas.
2225
2226         * src/WebGraphicsContext3DDefaultImpl.cpp:
2227         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
2228         Add member vars to save the currently-bound texture and for the
2229         texture-to-texture FBO.
2230         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
2231         Delete the texture-to-texture FBO on destruction.
2232
2233         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2234         Generate the texture-to-texture FBO.
2235         (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
2236         Check for support of the glGetTexLevelParameteriv function (required
2237         for this implementation).
2238         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
2239         Implement the extension:  bind the FBO, bind the child texture, then
2240         do a glCopyTexImage2D() into the parent texture.
2241         (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture):
2242         Record the newly-bound texture in m_boundTexture.
2243         * src/WebGraphicsContext3DDefaultImpl.h:
2244         Add the two new member variables.
2245         * src/WebViewImpl.cpp:
2246         (WebKit::WebViewImpl::graphicsContext3D):
2247         Make sure the graphics context is reshaped to the correct size on all
2248         platforms.
2249
2250 2010-10-26  Alexey Marinichev  <amarinichev@chromium.org>
2251
2252         Reviewed by Kenneth Russell.
2253
2254         [chromium] Check getGraphicsResetStatusARB and reinitialize the
2255         renderer in an error is returned.
2256         https://bugs.webkit.org/show_bug.cgi?id=47848
2257
2258         * src/WebViewImpl.cpp:
2259         (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check
2260         (WebKit::WebViewImpl::reallocateRenderer): added
2261         * src/WebViewImpl.h:
2262
2263 2010-10-26  Kenneth Russell  <kbr@google.com>
2264
2265         Reviewed by Andreas Kling.
2266
2267         Valgrind failure in GraphicsContext3DInternal::reshape
2268         https://bugs.webkit.org/show_bug.cgi?id=48284
2269
2270         * src/WebGraphicsContext3DDefaultImpl.cpp:
2271         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
2272
2273 2010-10-26  Jeremy Orlow  <jorlow@chromium.org>
2274
2275         Reviewed by Steve Block.
2276
2277         Fix IndexedDB crashes
2278         https://bugs.webkit.org/show_bug.cgi?id=48266
2279
2280         Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes
2281         in cursor parameters (which is the correct way). KeyRange knows how
2282         to convert itself to a WebCore type--even if the value is null.
2283
2284         * src/WebIDBObjectStoreImpl.cpp:
2285         (WebKit::WebIDBObjectStoreImpl::openCursor):
2286
2287 2010-10-26  Satish Sampath  <satish@chromium.org>
2288
2289         Reviewed by Steve Block.
2290
2291         Remove obsolete public/API methods in chromium port.
2292         https://bugs.webkit.org/show_bug.cgi?id=48330
2293
2294         * public/WebSpeechInputListener.h:
2295
2296 2010-10-26  Jeremy Orlow  <jorlow@chromium.org>
2297
2298         Reviewed by Steve Block.
2299
2300         Quota for IndexedDB should be per origin not per database
2301         https://bugs.webkit.org/show_bug.cgi?id=48064
2302
2303         * public/WebIDBFactory.h:
2304         * public/WebSecurityOrigin.h:
2305         * src/WebIDBFactory.cpp:
2306         (WebKit::WebIDBFactory::databaseFileName):
2307         * src/WebSecurityOrigin.cpp:
2308         (WebKit::WebSecurityOrigin::get):
2309
2310 2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
2311
2312         Unreviewed, rolling out r70512.
2313         http://trac.webkit.org/changeset/70512
2314         https://bugs.webkit.org/show_bug.cgi?id=48314
2315
2316         crashes many tests (Requested by inferno-sec on #webkit).
2317
2318         * src/ContextMenuClientImpl.cpp:
2319         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2320         * src/EditorClientImpl.cpp:
2321         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
2322
2323 2010-10-25  MORITA Hajime  <morrita@google.com>
2324
2325         Reviewed by Tony Chang.
2326
2327         spellcheck='' should be the same as spellcheck="true"
2328         https://bugs.webkit.org/show_bug.cgi?id=25539
2329
2330         Followed API rename in WebCore.
2331
2332         * src/ContextMenuClientImpl.cpp:
2333         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2334         * src/EditorClientImpl.cpp:
2335         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
2336
2337 2010-10-25  Satish Sampath  <satish@chromium.org>
2338
2339         Unreviewed, fix for a build break caused by my earlier patch.
2340
2341         * public/WebSpeechInputListener.h:
2342         (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.
2343
2344 2010-10-21  Satish Sampath  <satish@chromium.org>
2345
2346         Reviewed by Jeremy Orlow.
2347
2348         Allow embedder to pass on all the speech recognition results to the input element.
2349         https://bugs.webkit.org/show_bug.cgi?id=48068
2350
2351         * WebKit.gyp: Added new files
2352         * public/WebSpeechInputListener.h:
2353         * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
2354         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2355         (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
2356         * src/SpeechInputClientImpl.cpp:
2357         (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
2358         * src/SpeechInputClientImpl.h:
2359         * src/WebSpeechInputControllerMockImpl.cpp:
2360         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
2361         * src/WebSpeechInputControllerMockImpl.h:
2362         * src/WebSpeechInputResult.cpp: Added.
2363         (WebKit::WebSpeechInputResult::reset):
2364         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
2365         (WebKit::WebSpeechInputResult::set):
2366         (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):
2367
2368 2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>
2369
2370         Unreviewed, rolling out r70451.
2371         http://trac.webkit.org/changeset/70451
2372         https://bugs.webkit.org/show_bug.cgi?id=48249
2373
2374         Broke set-unloaded-frame-location.html under Qt (Requested by
2375         caseq on #webkit).
2376
2377         * src/WebFrameImpl.cpp:
2378         (WebKit::WebFrameImpl::executeScript):
2379         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2380         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2381
2382 2010-10-25  Peter Rybin  <peter.rybin@gmail.com>
2383
2384         Reviewed by Adam Barth.
2385
2386         HTML parser should provide script column position within HTML document to JavaScript engine
2387         https://bugs.webkit.org/show_bug.cgi?id=45271
2388
2389         Replaces script line number with TextPosition structure.
2390
2391         * src/WebFrameImpl.cpp:
2392         (WebKit::WebFrameImpl::executeScript):
2393         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2394         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2395
2396 2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
2397
2398         Reviewed by Jian Li.
2399
2400         Renumber FileError/FileException error codes per latest File API spec changes
2401         https://bugs.webkit.org/show_bug.cgi?id=47936
2402
2403         * public/WebFileError.h:
2404         * src/AssertMatchingEnums.cpp:
2405         * src/AsyncFileWriterChromium.cpp:
2406         (WebCore::AsyncFileWriterChromium::didFail):
2407
2408 2010-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2409
2410         Unreviewed, rolling out r70361.
2411         http://trac.webkit.org/changeset/70361
2412         https://bugs.webkit.org/show_bug.cgi?id=48217
2413
2414         Chromium tests NoInitialAutocompleteForReadOnly and
2415         InitialAutocomplete don't complete (Requested by yuzo on
2416         #webkit).
2417
2418         * public/WebDocument.h:
2419
2420 2010-10-22  Jay Civelli  <jcivelli@chromium.org>
2421
2422         Reviewed by David Levin.
2423
2424         Turning on the Autocomplete implementation on the Chromium side.
2425         https://bugs.webkit.org/show_bug.cgi?id=41283
2426
2427         * public/WebDocument.h:
2428
2429 2010-10-22  Sam Weinig  <sam@webkit.org>
2430
2431         Reviewed by Anders Carlsson.
2432
2433         WebKit2 needs to pass the current event modifier flags when requesting a new window
2434         https://bugs.webkit.org/show_bug.cgi?id=48140
2435
2436         * src/ChromeClientImpl.cpp:
2437         (WebKit::ChromeClientImpl::createWindow):
2438         * src/ChromeClientImpl.h:
2439         * src/FrameLoaderClientImpl.cpp:
2440         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
2441         * src/FrameLoaderClientImpl.h:
2442         Add NavigationAction parameter.
2443
2444 2010-10-22  Sheriff Bot  <webkit.review.bot@gmail.com>
2445
2446         Unreviewed, rolling out r70301.
2447         http://trac.webkit.org/changeset/70301
2448         https://bugs.webkit.org/show_bug.cgi?id=48126
2449
2450         "Lang attribute layout tests failing" (Requested by satish on
2451         #webkit).
2452
2453         * public/WebSpeechInputController.h:
2454         (WebKit::WebSpeechInputController::startRecognition):
2455         * public/WebSpeechInputControllerMock.h:
2456         * src/SpeechInputClientImpl.cpp:
2457         (WebKit::SpeechInputClientImpl::startRecognition):
2458         * src/SpeechInputClientImpl.h:
2459         * src/WebSpeechInputControllerMockImpl.cpp:
2460         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2461         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2462         * src/WebSpeechInputControllerMockImpl.h:
2463         * src/WebViewImpl.cpp:
2464         (WebKit::WebViewImpl::WebViewImpl):
2465         * src/WebViewImpl.h:
2466
2467 2010-10-22  Leandro Gracia Gil  <leandrogracia@google.com>
2468
2469         Reviewed by Jeremy Orlow.
2470
2471         Patch the current speech input implementation to use and validate the
2472         nearest language tag. The language is now passed to the startRecognition
2473         methods so that language-specific recognition could be used. Also added
2474         a second parameter to setMockSpeechInputResult for the language used in
2475         speech recognition.
2476         https://bugs.webkit.org/show_bug.cgi?id=47089
2477
2478         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
2479         details see http://codereview.chromium.org/3615005/show and
2480         http://codereview.chromium.org/3595018/show.
2481
2482         * public/WebSpeechInputController.h:
2483         (WebKit::WebSpeechInputController::startRecognition):
2484         * public/WebSpeechInputControllerMock.h:
2485         * src/SpeechInputClientImpl.cpp:
2486         (WebKit::SpeechInputClientImpl::create):
2487         (WebKit::SpeechInputClientImpl::startRecognition):
2488         * src/SpeechInputClientImpl.h:
2489         * src/WebSpeechInputControllerMockImpl.cpp:
2490         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2491         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2492         * src/WebSpeechInputControllerMockImpl.h:
2493         * src/WebViewImpl.cpp:
2494         (WebKit::WebViewImpl::WebViewImpl):
2495         * src/WebViewImpl.h:
2496
2497 2010-10-21  Yuzo Fujishima  <yuzo@google.com>
2498
2499         Unreviewed build fix attempt for Chromium Linux Debug Clang
2500
2501         * public/WebExternalPopupMenu.h:
2502
2503 2010-10-21  Tony Chang  <tony@chromium.org>
2504
2505         Reviewed by Dimitri Glazkov.
2506
2507         [chromium] roll chromium DEPS to include forwarding headers refactor
2508         https://bugs.webkit.org/show_bug.cgi?id=48097
2509
2510         * DEPS: Roll chromium forward to include new forwarding headers script
2511         * WebKit.gyp: This dependency always existed, it's just exposed now
2512             that the header files are in a different include dir.
2513
2514 2010-10-21  Pavel Feldman  <pfeldman@chromium.org>
2515
2516         Reviewed by Yury Semikhatsky.
2517
2518         Chromium: use dedicated event listener type in EventListenerWrapper.
2519         https://bugs.webkit.org/show_bug.cgi?id=48059
2520
2521         * src/EventListenerWrapper.cpp:
2522         (WebKit::EventListenerWrapper::EventListenerWrapper):
2523
2524 2010-10-21  Jay Civelli  <jcivelli@chromium.org>
2525
2526         Reviewed by Darin Fisher.
2527
2528         [Chromium] Adding an API that allows external
2529         popup menus, without the use of WebCore::PopupMenuChromium.
2530         Once this is hooked up in Chromium, the plan is to remove
2531         entirely the external case from PopupMenuChromium.
2532         https://bugs.webkit.org/show_bug.cgi?id=46016
2533
2534         * WebKit.gyp:
2535         * public/WebExternalPopupMenu.h: Added.
2536         * public/WebExternalPopupMenuClient.h: Added.
2537         * public/WebMenuItemInfo.h:
2538         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
2539         * public/WebView.h:
2540         * public/WebViewClient.h:
2541         (WebKit::WebViewClient::createExternalPopupMenu):
2542         * src/ChromeClientImpl.cpp:
2543         (WebKit::ChromeClientImpl::createPopupMenu):
2544         * src/ExternalPopupMenu.cpp: Added.
2545         * src/ExternalPopupMenu.h: Added.
2546         * src/WebViewImpl.cpp:
2547         (WebKit::WebView::setUseExternalPopupMenus):
2548         (WebKit::WebViewImpl::useExternalPopupMenus):
2549         * src/WebViewImpl.h:
2550
2551 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2552
2553         Unreviewed, rolling out r70165.
2554         http://trac.webkit.org/changeset/70165
2555         https://bugs.webkit.org/show_bug.cgi?id=48007
2556
2557         It broke tests on Qt bot (Requested by Ossy on #webkit).
2558
2559         * src/WebFrameImpl.cpp:
2560         (WebKit::WebFrameImpl::executeScript):
2561         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2562         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2563
2564 2010-10-20  Peter Rybin  <peter.rybin@gmail.com>
2565
2566         Reviewed by Adam Barth.
2567
2568         HTML parser should provide script column position within HTML document to JavaScript engine
2569         https://bugs.webkit.org/show_bug.cgi?id=45271
2570
2571         Replaces script line number with TextPosition structure.
2572
2573         * src/WebFrameImpl.cpp:
2574         (WebKit::WebFrameImpl::executeScript):
2575         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2576         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
2577
2578 2010-10-20  John Abd-El-Malek  <jam@chromium.org>
2579
2580         Reviewed by Darin Fisher.
2581
2582         [chromium] Fix crash when mousing over scrollview
2583         https://bugs.webkit.org/show_bug.cgi?id=47956
2584
2585         * src/ChromeClientImpl.cpp:
2586         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
2587         * src/ChromiumBridge.cpp:
2588         (WebCore::ChromiumBridge::pluginScriptableObject):
2589         * src/ContextMenuClientImpl.cpp:
2590         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2591         * src/FrameLoaderClientImpl.cpp:
2592         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
2593         * src/WebPluginContainerImpl.h:
2594         (WebKit::WebPluginContainerImpl::isPluginContainer):
2595
2596 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2597
2598         Unreviewed, rolling out r70149.
2599         http://trac.webkit.org/changeset/70149
2600         https://bugs.webkit.org/show_bug.cgi?id=47989
2601
2602         "Build breaks in mac and win" (Requested by satish on
2603         #webkit).
2604
2605         * public/WebSpeechInputController.h:
2606         (WebKit::WebSpeechInputController::startRecognition):
2607         * public/WebSpeechInputControllerMock.h:
2608         * src/SpeechInputClientImpl.cpp:
2609         (WebKit::SpeechInputClientImpl::startRecognition):
2610         * src/SpeechInputClientImpl.h:
2611         * src/WebSpeechInputControllerMockImpl.cpp:
2612         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2613         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2614         * src/WebSpeechInputControllerMockImpl.h:
2615         * src/WebViewImpl.cpp:
2616         (WebKit::WebViewImpl::WebViewImpl):
2617         * src/WebViewImpl.h:
2618
2619 2010-10-20  Leandro Gracia Gil  <leandrogracia@google.com>
2620
2621         Reviewed by Jeremy Orlow.
2622
2623         Patch the current speech input implementation to use and validate the
2624         nearest language tag. The language is now passed to the startRecognition
2625         methods so that language-specific recognition could be used. Also added
2626         a second parameter to setMockSpeechInputResult for the language used in
2627         speech recognition.
2628         https://bugs.webkit.org/show_bug.cgi?id=47089
2629
2630         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
2631         details see http://codereview.chromium.org/3615005/show and
2632         http://codereview.chromium.org/3595018/show.
2633
2634         * public/WebSpeechInputController.h:
2635         (WebKit::WebSpeechInputController::startRecognition):
2636         * public/WebSpeechInputControllerMock.h:
2637         * src/SpeechInputClientImpl.cpp:
2638         (WebKit::SpeechInputClientImpl::create):
2639         (WebKit::SpeechInputClientImpl::startRecognition):
2640         * src/SpeechInputClientImpl.h:
2641         * src/WebSpeechInputControllerMockImpl.cpp:
2642         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
2643         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
2644         * src/WebSpeechInputControllerMockImpl.h:
2645         * src/WebViewImpl.cpp:
2646         (WebKit::WebViewImpl::WebViewImpl):
2647         * src/WebViewImpl.h:
2648
2649 2010-10-20  Dirk Schulze  <krit@webkit.org>
2650
2651         Unreviewed Chromium win build fix.
2652
2653         * tests/TransparencyWinTest.cpp:
2654         (WebCore::TEST):
2655
2656 2010-10-20  Dirk Schulze  <krit@webkit.org>
2657
2658         Reviewed by Nikolas Zimmermann.
2659
2660         Merge ColorSpace and ImageColorSpace enums
2661         https://bugs.webkit.org/show_bug.cgi?id=47922
2662
2663         Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
2664         to follow webkit style rules.
2665
2666         * src/WebFontImpl.cpp:
2667         (WebKit::WebFontImpl::drawText):
2668         * src/WebFrameImpl.cpp:
2669         (WebKit::WebFrameImpl::paintWithContext):
2670         * src/WebViewImpl.cpp:
2671         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2672         * tests/TransparencyWinTest.cpp:
2673         (WebCore::TEST):
2674
2675 2010-10-19  Andrey Kosyakov  <caseq@chromium.org>
2676
2677         Reviewed by Pavel Feldman.
2678
2679         Web Inspector: expose request/response cookies in HAR
2680         https://bugs.webkit.org/show_bug.cgi?id=47894
2681
2682         * src/WebResourceRawHeaders.cpp:
2683         (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", "
2684
2685 2010-10-19  Tony Chang  <tony@chromium.org>
2686
2687         Reviewed by Kent Tamura.
2688
2689         [chromium] Use webkit's TestNetscapePlugIn in DRT mac
2690         https://bugs.webkit.org/show_bug.cgi?id=47850
2691
2692         * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add
2693             GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols.
2694
2695 2010-10-19  Tony Chang  <tony@chromium.org>
2696
2697         Unreviewed.  Rolling chromium DEPS to 63057 to pick up mac plugin
2698         loading in DRT.
2699
2700         * DEPS: bump chromium DEPS to 63057.
2701
2702 2010-10-19  Tony Chang  <tony@chromium.org>
2703
2704         Reviewed by Kent Tamura.
2705
2706         [chromium] DumpRenderTree shouldn't put '.' in include path
2707         https://bugs.webkit.org/show_bug.cgi?id=47877
2708
2709         * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public
2710
2711 2010-10-18  Adrienne Walker  <enne@google.com>
2712
2713         Reviewed by Kenneth Russell.
2714
2715         Turn off antialiasing when using Mesa during testing.
2716         https://bugs.webkit.org/show_bug.cgi?id=47697
2717
2718         * src/WebGraphicsContext3DDefaultImpl.cpp:
2719         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
2720
2721 2010-10-18  James Robinson  <jamesr@chromium.org>
2722
2723         Update the chromium DEPS from 62399 to 62813 to pick up skia fixes
2724
2725         * DEPS:
2726
2727 2010-10-17  Pavel Feldman  <pfeldman@chromium.org>
2728
2729         Reviewed by Yury Semikhatsky.
2730
2731         Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to
2732         fill network panel with data.
2733         https://bugs.webkit.org/show_bug.cgi?id=47779
2734
2735         * src/WebDevToolsAgentImpl.cpp:
2736         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
2737
2738 2010-10-17  Pascal Massimino  <pascal.massimino@gmail.com>
2739
2740         Reviewed by Adam Barth.
2741
2742         Add support for WebP image decoding in ImageDecoder
2743         using library libwebp-decode library available from
2744         http://www.webmproject.org/code/
2745
2746         https://bugs.webkit.org/show_bug.cgi?id=47512
2747
2748         Tests: fast/images/webp-image-decoding.html
2749
2750         * CMakeLists.txt:
2751             add platform/image-decoders/webp files and directory
2752         * GNUmakefile.am:
2753             add platform/image-decoders/webp directory
2754         * WebCore.gyp/WebCore.gyp:
2755             add platform/image-decoders/webp directory
2756         * WebCore.gypi:
2757             add platform/image-decoders/webp directory
2758         * features.gypi:
2759             add WTF_USE_WEBP=1
2760         * platform/image-decoders/ImageDecoder.cpp:
2761         (WebCore::ImageDecoder::create):
2762             instantiate webp decoder for file starting with 'RIFF????WEBP'
2763         * platform/image-decoders/webp: Added.
2764         * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added.
2765         (WebCore::WEBPImageDecoder::WEBPImageDecoder):
2766         (WebCore::WEBPImageDecoder::~WEBPImageDecoder):
2767         (WebCore::WEBPImageDecoder::isSizeAvailable):
2768         (WebCore::WEBPImageDecoder::frameBufferAtIndex):
2769         (WebCore::WEBPImageDecoder::decode):
2770             sub-class handling decoding of webp images
2771         * platform/image-decoders/webp/WEBPImageDecoder.h: Added.
2772         (WebCore::WEBPImageDecoder::filenameExtension):
2773         (WebCore::WEBPImageDecoder::supportsAlpha):
2774             header for webp-decoder sub-class
2775
2776 2010-10-15  Tony Chang  <tony@chromium.org>
2777
2778         Reviewed by Kent Tamura.
2779
2780         [chromium] compile TestNetscapePlugIn on Chromium mac
2781         https://bugs.webkit.org/show_bug.cgi?id=47633
2782
2783         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
2784             Fix an include dir so we can compile in a chromium checkout.
2785
2786 2010-10-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2787
2788         Unreviewed, rolling out r69809.
2789         http://trac.webkit.org/changeset/69809
2790         https://bugs.webkit.org/show_bug.cgi?id=47725
2791
2792         Broke chromium mac compile (Requested by japhet on #webkit).
2793
2794         * WebKit.gyp:
2795
2796 2010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
2797
2798         Reviewed by Dirk Schulze.
2799
2800         Replace some String::format() usages by StringConcatenate in WebKit
2801         https://bugs.webkit.org/show_bug.cgi?id=47714
2802
2803         * src/BackForwardListClientImpl.cpp:
2804         (WebKit::BackForwardListClientImpl::itemAtIndex):
2805         * src/DebuggerAgentManager.cpp:
2806         (WebKit::DebuggerAgentManager::debugDetach):
2807         * src/LocalizedStrings.cpp:
2808         (WebCore::imageTitle):
2809         * src/WebPageSerializer.cpp:
2810         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
2811         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
2812
2813 2010-10-14  Wei Jia  <wjia@chromium.org>
2814
2815         Reviewed by Darin Fisher.
2816
2817         Retrieve info of lock keys from stashed currentInputEvent which
2818         is stored by chromium when it passes input event to WebCore.
2819         Retrieving only when stashed event is a keyboard event, which
2820         means synthetic KeyboardEvent inherits lock key state from real
2821         keyboard event.
2822         https://bugs.webkit.org/show_bug.cgi?id=46518
2823
2824         * src/WebPluginContainerImpl.cpp:
2825         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
2826
2827 2010-10-14  John Abd-El-Malek  <jam@chromium.org>
2828
2829         Reviewed by Tony Chang.
2830
2831         [chromium] null check the widget before sending it data as calling didReceiveData might delete it
2832         https://bugs.webkit.org/show_bug.cgi?id=47708
2833
2834         * src/FrameLoaderClientImpl.cpp:
2835         (WebKit::FrameLoaderClientImpl::committedLoad):
2836
2837 2010-10-14  Tony Chang  <tony@chromium.org>
2838
2839         Reviewed by Kent Tamura.
2840
2841         [chromium] compile TestNetscapePlugIn on Chromium mac
2842         https://bugs.webkit.org/show_bug.cgi?id=47633
2843
2844         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
2845
2846 2010-10-13  Kinuko Yasuda  <kinuko@chromium.org>
2847
2848         Reviewed by Jian Li.
2849
2850         [Chromium] Enable FILE_SYSTEM by default for chromium
2851         https://bugs.webkit.org/show_bug.cgi?id=47639
2852
2853         * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1
2854         as it seems to be not used anymore.
2855
2856 2010-10-13  Jeremy Orlow  <jorlow@chromium.org>
2857
2858         Reviewed by Nate Chapin.
2859
2860         IndexedDB should fire some errors synchronously
2861         https://bugs.webkit.org/show_bug.cgi?id=47530
2862
2863         * public/WebIDBCursor.h:
2864         * public/WebIDBDatabase.h:
2865         (WebKit::WebIDBDatabase::transaction):
2866         * public/WebIDBFactory.h:
2867         (WebKit::WebIDBFactory::open):
2868         * public/WebIDBObjectStore.h:
2869         * public/WebIDBTransactionCallbacks.h:
2870         * src/IDBCursorBackendProxy.cpp:
2871         (WebCore::IDBCursorBackendProxy::update):
2872         (WebCore::IDBCursorBackendProxy::continueFunction):
2873         (WebCore::IDBCursorBackendProxy::remove):
2874         * src/IDBCursorBackendProxy.h:
2875         * src/IDBDatabaseProxy.cpp:
2876         (WebCore::IDBDatabaseProxy::createObjectStore):
2877         (WebCore::IDBDatabaseProxy::removeObjectStore):
2878         (WebCore::IDBDatabaseProxy::setVersion):
2879         (WebCore::IDBDatabaseProxy::transaction):
2880         * src/IDBDatabaseProxy.h:
2881         * src/IDBIndexBackendProxy.cpp:
2882         (WebCore::IDBIndexBackendProxy::openCursor):
2883         (WebCore::IDBIndexBackendProxy::openKeyCursor):
2884         (WebCore::IDBIndexBackendProxy::get):
2885         (WebCore::IDBIndexBackendProxy::getKey):
2886         * src/IDBIndexBackendProxy.h:
2887         * src/IDBObjectStoreProxy.cpp:
2888         (WebCore::IDBObjectStoreProxy::get):
2889         (WebCore::IDBObjectStoreProxy::put):
2890         (WebCore::IDBObjectStoreProxy::remove):
2891         (WebCore::IDBObjectStoreProxy::createIndex):
2892         (WebCore::IDBObjectStoreProxy::index):
2893         (WebCore::IDBObjectStoreProxy::removeIndex):
2894         (WebCore::IDBObjectStoreProxy::openCursor):
2895         * src/IDBObjectStoreProxy.h:
2896         * src/WebIDBCursorImpl.cpp:
2897         (WebKit::WebIDBCursorImpl::update):
2898         (WebKit::WebIDBCursorImpl::continueFunction):
2899         (WebKit::WebIDBCursorImpl::remove):
2900         * src/WebIDBCursorImpl.h:
2901         * src/WebIDBDatabaseImpl.cpp:
2902         (WebKit::WebIDBDatabaseImpl::createObjectStore):
2903         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
2904         (WebKit::WebIDBDatabaseImpl::setVersion):
2905         (WebKit::WebIDBDatabaseImpl::transaction):
2906         * src/WebIDBDatabaseImpl.h:
2907         * src/WebIDBIndexImpl.cpp:
2908         (WebKit::WebIDBIndexImpl::openObjectCursor):
2909         (WebKit::WebIDBIndexImpl::openKeyCursor):
2910         (WebKit::WebIDBIndexImpl::getObject):
2911         (WebKit::WebIDBIndexImpl::getKey):
2912         * src/WebIDBIndexImpl.h:
2913         * src/WebIDBObjectStoreImpl.cpp:
2914         (WebKit::WebIDBObjectStoreImpl::get):
2915         (WebKit::WebIDBObjectStoreImpl::put):
2916         (WebKit::WebIDBObjectStoreImpl::remove):
2917         (WebKit::WebIDBObjectStoreImpl::createIndex):
2918         (WebKit::WebIDBObjectStoreImpl::index):
2919         (WebKit::WebIDBObjectStoreImpl::removeIndex):
2920         (WebKit::WebIDBObjectStoreImpl::openCursor):
2921         * src/WebIDBObjectStoreImpl.h:
2922
2923 2010-10-13  Brett Wilson  <brettw@chromium.org>
2924
2925         Reviewed by Darin Fisher.
2926
2927         Save and restore the GraphicsContext around setting the clip rect for
2928         drawing text.
2929         https://bugs.webkit.org/show_bug.cgi?id=47634
2930
2931         * src/WebFontImpl.cpp:
2932         (WebKit::WebFontImpl::drawText):
2933
2934 2010-10-13  Kenneth Russell  <kbr@google.com>
2935
2936         Reviewed by James Robinson.
2937
2938         Revert changes to WebViewImpl in r69633
2939         https://bugs.webkit.org/show_bug.cgi?id=47610
2940
2941         Revert change to WebViewImpl.cpp in
2942         http://trac.webkit.org/changeset/69633 which incorrectly used
2943         PassRefPtr for a local variable instead of RefPtr. This was a fix
2944         for changes in http://trac.webkit.org/changeset/69619 and
2945         http://trac.webkit.org/changeset/69624 .
2946
2947         * src/WebViewImpl.cpp:
2948         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2949
2950 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
2951
2952         Reviewed by Oliver Hunt.
2953
2954         Bug 43987 - Downloading using XHR is much slower than before
2955
2956         * src/WebPageSerializerImpl.cpp:
2957         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
2958
2959 2010-10-13  Adam Barth  <abarth@webkit.org>
2960
2961         Reviewed by Tony Chang.
2962
2963         [Chromium] Clean up WebPageSerializerImpl::serialize
2964         https://bugs.webkit.org/show_bug.cgi?id=47577
2965
2966         This patch shouldn't have any behavior change.  I'm just trying to
2967         understand what this code does.
2968
2969         * src/WebPageSerializerImpl.cpp:
2970         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
2971         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
2972         (WebKit::WebPageSerializerImpl::serialize):
2973         * src/WebPageSerializerImpl.h:
2974
2975 2010-10-13  John Knottenbelt  <jknotten@chromium.org>
2976
2977         Reviewed by Steve Block.
2978
2979         First step towards client-based Geolocation in Chromium. Build
2980         fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define.
2981         https://bugs.webkit.org/show_bug.cgi?id=47586
2982
2983         * WebKit.gyp:
2984         * src/ChromeClientImpl.cpp:
2985         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
2986         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
2987         * src/ChromiumBridge.cpp:
2988         * src/WebGeolocationServiceMock.cpp:
2989         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
2990         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
2991         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
2992         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
2993
2994 2010-10-11  Andrei Popescu  <andreip@google.com>
2995
2996         Reviewed by Jeremy Orlow.
2997
2998         [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed.
2999         https://bugs.webkit.org/show_bug.cgi?id=47531
3000
3001         Remove the temporary open() method since the appropriate Chromium plumbing was
3002         added in http://codereview.chromium.org/3729003/
3003
3004         * public/WebIDBFactory.h:
3005         (WebKit::WebIDBFactory::open):
3006
3007 2010-10-13  Adam Barth  <abarth@webkit.org>
3008
3009         Reviewed by Darin Fisher.
3010
3011         [Chromium] Clean up SerializeDomParam
3012         https://bugs.webkit.org/show_bug.cgi?id=47580
3013
3014         This patch just renames a bunch of the members of this struct to be
3015         more sensible.  No behavior change, well, except for one struct member
3016         that wasn't initialized.  I didn't trace through this code to see if
3017         the uninitialized value was used anywhere, but initializing all the
3018         values seems like a good idea.
3019
3020         * src/WebPageSerializerImpl.cpp:
3021         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
3022         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
3023         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
3024         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
3025         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
3026         (WebKit::WebPageSerializerImpl::openTagToString):
3027         (WebKit::WebPageSerializerImpl::endTagToString):
3028         (WebKit::WebPageSerializerImpl::buildContentForNode):
3029         * src/WebPageSerializerImpl.h:
3030
3031 2010-10-13  Yury Semikhatsky  <yurys@chromium.org>
3032
3033         Reviewed by Pavel Feldman.
3034
3035         Web Inspector: stack information is inconsistent between console.trace and runtime errors.
3036         https://bugs.webkit.org/show_bug.cgi?id=47252
3037
3038         * DEPS: bump up V8 revision
3039
3040 2010-10-12  Kenneth Russell  <kbr@google.com>
3041
3042         Unreviewed. Fixes for all WebGL content causing assertion failures
3043         in Chromium after http://trac.webkit.org/changeset/69619 and
3044         http://trac.webkit.org/changeset/69624 .
3045
3046         * src/GraphicsContext3DChromium.cpp:
3047         (WebCore::GraphicsContext3D::create):
3048         * src/WebViewImpl.cpp:
3049         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3050
3051 2010-10-12  Alok priyadarshi  <alokp@chromium.org>
3052
3053         Reviewed by Kenneth Russell.
3054
3055         Remove support for ANGLE SH_VERSION <= 100
3056         https://bugs.webkit.org/show_bug.cgi?id=47307
3057
3058         * src/WebGraphicsContext3DDefaultImpl.cpp:
3059         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
3060         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
3061
3062 2010-10-12  James Robinson  <jamesr@chromium.org>
3063
3064         Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619.
3065
3066         * src/GraphicsContext3DChromium.cpp:
3067         (WebCore::GraphicsContext3D::create):
3068         * src/WebViewImpl.cpp:
3069         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3070         * src/WebViewImpl.h:
3071
3072 2010-10-12  Jian Li  <jianli@chromium.org>
3073
3074         Unreviewed. Bump up revision in order to pick up fix.
3075
3076         * DEPS:
3077
3078 2010-10-12  Jian Li  <jianli@chromium.org>
3079
3080         Unreview. Build fix for chromium.
3081
3082         * public/WebBlobRegistry.h:
3083
3084 2010-10-12  Jian Li  <jianli@chromium.org>
3085
3086         Reviewed by Darin Fisher.
3087
3088         [chromium] Update WebBlobData to adapt to BlobData change in terms of
3089         handling string data item.
3090         https://bugs.webkit.org/show_bug.cgi?id=47423
3091
3092         Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are
3093         also removed since they're not longer needed.
3094
3095         * WebKit.gyp:
3096         * public/WebBlobData.h:
3097         * public/WebBlobRegistry.h:
3098         * public/WebBlobStorageData.h: Removed.
3099         * public/WebThreadSafeData.h: Added.
3100         * src/WebBlobData.cpp:
3101         * src/WebBlobStorageData.cpp: Removed.
3102         * src/WebThreadSafeData.cpp: Added.
3103
3104 2010-10-12  Kavita Kanetkar  <kkanetkar@chromium.org>
3105
3106         Reviewed by Dumitru Daniliuc.
3107
3108         [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem.
3109         https://bugs.webkit.org/show_bug.cgi?id=47519
3110
3111         * public/WebCommonWorkerClient.h:
3112         (WebKit::WebCommonWorkerClient::openFileSystem):
3113         * public/WebFrameClient.h:
3114         (WebKit::WebFrameClient::openFileSystem):
3115
3116 2010-10-12  James Robinson  <jamesr@chromium.org>
3117
3118         Reviewed by Nate Chapin (in person).
3119
3120         Fix chromium compile.
3121
3122         * src/WebPageSerializerImpl.cpp:
3123         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
3124         (WebKit::WebPageSerializerImpl::serialize):
3125
3126 2010-10-12  Nikolas Zimmermann  <nzimmermann@rim.com>
3127
3128         Reviewed by Gavin Barraclough.
3129
3130         Unify JSC::StringBuilder & WebCore::StringBuilder
3131         https://bugs.webkit.org/show_bug.cgi?id=47538
3132
3133         * src/LocalizedStrings.cpp:
3134         (WebCore::imageTitle): Use WTF::StringBuilder.
3135         * src/WebEntities.cpp:
3136         (WebKit::WebEntities::convertEntitiesInString): Ditto.
3137         * src/WebPageSerializerImpl.cpp: Remove useless includes.
3138         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 
3139         * src/WebPageSerializerImpl.h: Use WTF::StringBuilder.
3140
3141 2010-10-07  Stephen White  <senorblanco@chromium.org>
3142
3143         Reviewed by James Robinson.
3144
3145         [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D().
3146         https://bugs.webkit.org/show_bug.cgi?id=47178
3147         
3148         Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas.
3149
3150         * src/WebGraphicsContext3DDefaultImpl.cpp:
3151         (WebKit::bytesPerComponent):
3152         (WebKit::componentsPerPixel):
3153         (WebKit::imageSizeInBytes):
3154         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
3155
3156 2010-10-12  Dave Moore  <davemoore@chromium.org>
3157
3158         Reviewed by Tony Chang.
3159
3160         Use new WebThemeEngine api on chromium / linux to draw scrollbars.
3161         https://bugs.webkit.org/show_bug.cgi?id=47473
3162
3163         * public/WebThemeEngine.h: Removed.
3164         * chromium/src/ChromiumBridge.cpp:
3165
3166 2010-10-11  Daniel Cheng  <dcheng@chromium.org>
3167
3168         Reviewed by Tony Chang.
3169
3170         [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface.
3171         https://bugs.webkit.org/show_bug.cgi?id=44992
3172
3173         Add a new entry point for drag in to allow a graceful transition
3174         from the legacy drag and drop model, where all data is copied in at the
3175         beginning of a drag, to a model where data is retrieved on demand via
3176         IPCs. The rationale for this is when we begin supporting arbitrary MIME
3177         types in dataTransfer, we don't want to be copying aribtrary amounts of
3178         data over for each start drag IPC.
3179
3180         * public/WebView.h:
3181         * src/WebDragData.cpp:
3182         (WebKit::WebDragData::initialize): Use the legacy data object.
3183         (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT.
3184         * src/WebViewImpl.cpp:
3185         (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point.
3186         * src/WebViewImpl.h:
3187
3188 2010-10-11  Jeremy Orlow  <jorlow@chromium.org>
3189
3190         Reviewed by Nate Chapin.
3191
3192         [Chromium] Add plumbing for synchronous indexedDB exceptions
3193         https://bugs.webkit.org/show_bug.cgi?id=47511
3194
3195         Add a WebExceptionCode file (already run by fishd) and add versions of
3196         each applicable method that take such a parameter.  A follow up patch
3197         will be posted with the meat.
3198
3199         * WebKit.gyp:
3200         * public/WebExceptionCode.h: Added.
3201         * public/WebIDBCursor.h:
3202         (WebKit::WebIDBCursor::update):
3203         (WebKit::WebIDBCursor::continueFunction):
3204         (WebKit::WebIDBCursor::remove):
3205         * public/WebIDBDatabase.h:
3206         (WebKit::WebIDBDatabase::objectStore):
3207         (WebKit::WebIDBDatabase::createObjectStore):
3208         (WebKit::WebIDBDatabase::removeObjectStore):
3209         (WebKit::WebIDBDatabase::setVersion):
3210         (WebKit::WebIDBDatabase::transaction):
3211         * public/WebIDBIndex.h:
3212         (WebKit::WebIDBIndex::openObjectCursor):
3213         (WebKit::WebIDBIndex::openKeyCursor):
3214         (WebKit::WebIDBIndex::getObject):
3215         (WebKit::WebIDBIndex::getKey):
3216         * public/WebIDBObjectStore.h:
3217         (WebKit::WebIDBObjectStore::get):
3218         (WebKit::WebIDBObjectStore::put):
3219         (WebKit::WebIDBObjectStore::remove):
3220         (WebKit::WebIDBObjectStore::createIndex):
3221         (WebKit::WebIDBObjectStore::index):
3222         (WebKit::WebIDBObjectStore::removeIndex):
3223         (WebKit::WebIDBObjectStore::openCursor):
3224
3225 2010-10-11  Andrei Popescu  <andreip@google.com>
3226
3227         Reviewed by Jeremy Orlow.
3228
3229         The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'.
3230         https://bugs.webkit.org/show_bug.cgi?id=47508
3231
3232         * src/WebRuntimeFeatures.cpp:
3233         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
3234         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
3235
3236 2010-10-11  Tony Chang  <tony@chromium.org>
3237
3238         Unreviewed, roll chromium DEPS to pick up Dave's fix for
3239         scrollbar painting.  This will be needed by an upcoming patch.
3240
3241         * DEPS:
3242
3243 2010-10-11  Kinuko Yasuda  <kinuko@google.com>
3244
3245         Reviewed by David Levin.
3246
3247         Support DirectoryEntry.removeRecursively for FileSystem API
3248         https://bugs.webkit.org/show_bug.cgi?id=47400
3249
3250         * src/AsyncFileSystemChromium.cpp:
3251         (WebCore::AsyncFileSystemChromium::removeRecursively): Added.
3252         * src/AsyncFileSystemChromium.h:
3253         * src/WorkerAsyncFileSystemChromium.cpp:
3254         (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added.
3255         * src/WorkerAsyncFileSystemChromium.h:
3256         * src/WorkerFileSystemCallbacksBridge.cpp:
3257         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added.
3258         (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added.
3259         * src/WorkerFileSystemCallbacksBridge.h:
3260
3261 2010-10-09  Varun Jain  <varunjain@chromium.org>
3262
3263         Reviewed by Darin Fisher.
3264
3265         Adding one method to the WebView interface: method to inform the
3266         renderer to scroll the currently focused element into view, for
3267         instance, when it is hidden due to window resizing.
3268         Also adding methods to WebNode and WebElement to expose more
3269         features of the underlying WebCore::Node.
3270         https://bugs.webkit.org/show_bug.cgi?id=46296
3271
3272         * public/WebElement.h:
3273         * public/WebNode.h:
3274         * public/WebView.h:
3275         * src/WebElement.h:
3276         (WebKit::WebElement::isTextFormControlElement):
3277         * src/WebNode.cpp:
3278         (WebKit::WebNode::isContentEditable):
3279         * src/WebViewImpl.cpp:
3280         (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
3281         * src/WebViewImpl.h:
3282
3283 2010-10-08  Andrei Popescu  <andreip@google.com>
3284
3285         Reviewed by Jeremy Orlow.
3286
3287         [Chromium] IDBFactory::open only works in single process mode.
3288         https://bugs.webkit.org/show_bug.cgi?id=47444
3289
3290         * public/WebIDBFactory.h:
3291         (WebKit::WebIDBFactory::open):
3292
3293 2010-10-08  Andrei Popescu  <andreip@google.com>
3294
3295         Reviewed by Jeremy Orlow.
3296
3297         IndexedDB does not have a quota mechanism.
3298         https://bugs.webkit.org/show_bug.cgi?id=47389
3299
3300         * public/WebIDBFactory.h:
3301         (WebKit::WebIDBFactory::open):
3302         * src/IDBFactoryBackendProxy.cpp:
3303         (WebCore::IDBFactoryBackendProxy::open):
3304         * src/IDBFactoryBackendProxy.h:
3305         * src/WebIDBFactoryImpl.cpp:
3306         (WebKit::WebIDBFactoryImpl::open):
3307         * src/WebIDBFactoryImpl.h:
3308
3309 2010-10-07  Zhenyao Mo  <zmo@google.com>
3310
3311         Unreviewed, roll chromium to r61902.
3312
3313         * DEPS:
3314
3315 2010-10-07  Zhenyao Mo  <zmo@google.com>
3316
3317         Reviewed by Tony Chang.
3318
3319         Copy mesa lib into DumpRenderTree bundle in Mac
3320         https://bugs.webkit.org/show_bug.cgi?id=47385
3321
3322         * WebKit.gyp:
3323
3324 2010-10-07  Daniel Cheng  <dcheng@chromium.org>
3325
3326         Reviewed by Tony Chang.
3327
3328         [chromium] Minor naming cleanup in WebDragData, part 2
3329         https://bugs.webkit.org/show_bug.cgi?id=47227
3330
3331         Chromium no longer uses the deprecated methods, so delete them.
3332
3333         * DEPS:
3334         * public/WebDragData.h:
3335         * src/WebDragData.cpp:
3336
3337 2010-10-07  Dave Moore  <davemoore@chromium.org>
3338
3339         Reviewed by Kent Tamura.
3340
3341         Add WebThemeEngine api for chromium/linux
3342         https://bugs.webkit.org/show_bug.cgi?id=47278
3343         Create new linux specific version of WinThemeEngine.h and move
3344         existing windows specific one to win directory. Keep old top
3345         level file until chromium is updated to use the new ones.
3346
3347         * WebKit.gyp:
3348         * public/WebThemeEngine.h:
3349         * src/ChromiumBridge.cpp:
3350
3351 2010-10-07  Andrey Kosyakov  <caseq@chromium.org>
3352
3353         Reviewed by Yury Semikhatsky.
3354
3355         Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec
3356         https://bugs.webkit.org/show_bug.cgi?id=47329
3357
3358         * public/WebResourceRawHeaders.h:
3359         (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
3360         (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
3361         (WebKit::WebResourceRawHeaders::operator =):
3362         * src/WebResourceRawHeaders.cpp:
3363         (WebKit::WebResourceRawHeaders::initialize):
3364         (WebKit::WebResourceRawHeaders::reset):
3365         (WebKit::WebResourceRawHeaders::assign):
3366
3367 2010-10-06  Chris Guillory  <chris.guillory@google.com>
3368
3369         Reviewed by Chris Fleizach.
3370
3371         Remove unused accessibility functions from webkit.
3372         https://bugs.webkit.org/attachment.cgi?bugid=46707
3373
3374         * public/WebAccessibilityCache.h:
3375         * public/WebViewClient.h:
3376         * src/ChromeClientImpl.cpp:
3377         (WebKit::ChromeClientImpl::focusedNodeChanged):
3378         * src/WebAccessibilityCacheImpl.cpp:
3379         * src/WebAccessibilityCacheImpl.h:
3380
3381 2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>
3382
3383         Reviewed by David Levin.
3384
3385         Add FileSystemSync implementation for Worker
3386         https://bugs.webkit.org/show_bug.cgi?id=47044
3387
3388         * src/LocalFileSystemChromium.cpp:
3389         (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
3390         for synchronous mode.
3391         * src/WebFileSystemCallbacksImpl.cpp:
3392         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
3393         a parameter for synchronous mode.
3394         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
3395         creates WorkerAsyncFileSystemChromium with synchronous flag.
3396         * src/WebFileSystemCallbacksImpl.h:
3397         * src/WebWorkerBase.cpp:
3398         (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
3399         synchronous mode.
3400         * src/WebWorkerBase.h:
3401         * src/WorkerAsyncFileSystemChromium.cpp:
3402         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
3403         (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
3404         Added.
3405         (WebCore::WorkerAsyncFileSystemChromium::move):
3406         (WebCore::WorkerAsyncFileSystemChromium::copy):
3407         (WebCore::WorkerAsyncFileSystemChromium::remove):
3408         (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
3409         (WebCore::WorkerAsyncFileSystemChromium::createFile):
3410         (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
3411         (WebCore::WorkerAsyncFileSystemChromium::fileExists):
3412         (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
3413         (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
3414         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
3415         Updated to store the created bridge in a member variable so that
3416         we can call bridge->stop() later when the RunLoop is terminating.
3417         * src/WorkerAsyncFileSystemChromium.h:
3418         (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
3419         parameter for synchronous mode.
3420
3421 2010-10-06  Andrei Popescu  <andreip@google.com>
3422
3423         Reviewed by Jeremy Orlow.
3424
3425         IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
3426         https://bugs.webkit.org/show_bug.cgi?id=47245
3427
3428         * src/IDBTransactionBackendProxy.cpp:
3429         (WebCore::IDBTransactionBackendProxy::scheduleTask):
3430         * src/IDBTransactionBackendProxy.h:
3431
3432 2010-10-06  Victor Wang  <victorw@chromium.org>
3433
3434         Reviewed by Darin Fisher.
3435
3436         [Chromium] Add webkit unit tests to chromium multi-dll build.
3437
3438         In chromium multi-dll build mode, compile the webkit unit tests
3439         code in webkit.dll and export an api that runs the tests.
3440
3441         https://bugs.webkit.org/show_bug.cgi?id=46907
3442
3443         * WebKit.gyp:
3444         * WebKit.gypi:
3445         * tests/RunAllTests.cpp:
3446         (main):
3447         * tests/WebUnitTests.cpp: Added.
3448         (WebKit::RunAllUnitTests):
3449         * tests/WebUnitTests.h: Added.
3450
3451 2010-10-05  Jeremy Orlow  <jorlow@chromium.org>
3452
3453         Reviewed by Nate Chapin.
3454
3455         [Chromium] WebIDBKeyRange should handle null left/right pointers
3456         https://bugs.webkit.org/show_bug.cgi?id=47247
3457
3458         * src/WebIDBKeyRange.cpp:
3459         (WebKit::WebIDBKeyRange::assign):
3460         (WebKit::WebIDBKeyRange::left):
3461         (WebKit::WebIDBKeyRange::right):
3462         (WebKit::WebIDBKeyRange::flags):
3463
3464 2010-10-06  Tony Chang  <tony@chromium.org>
3465
3466         Unreviewed, rolling out r69202.
3467         http://trac.webkit.org/changeset/69202
3468         https://bugs.webkit.org/show_bug.cgi?id=46937
3469
3470         Broke compile of test_shell
3471
3472         * DEPS:
3473         * public/WebDragData.h:
3474         * src/WebDragData.cpp:
3475         (WebKit::WebDragData::hasFileNames):
3476         (WebKit::WebDragData::fileNames):
3477         (WebKit::WebDragData::setFileNames):
3478         (WebKit::WebDragData::appendToFileNames):
3479         (WebKit::WebDragData::fileContentFileName):
3480         (WebKit::WebDragData::setFileContentFileName):
3481
3482 2010-10-06  Daniel Cheng  <dcheng@chromium.org>
3483
3484         Reviewed by Tony Chang.
3485
3486         [chromium] Minor naming cleanup in WebDragData, part 2
3487         https://bugs.webkit.org/show_bug.cgi?id=46937
3488
3489         Chromium no longer uses the deprecated methods, so delete them.
3490
3491         * DEPS:
3492         * public/WebDragData.h:
3493         * src/WebDragData.cpp:
3494
3495 2010-09-29  Alpha Lam  <hclam@chromium.org>
3496
3497         Reviewed by James Robinson.
3498
3499         Render textures in video frame directly.
3500         https://bugs.webkit.org/show_bug.cgi?id=46765
3501
3502         Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
3503         Also explicitly instruct VideoLayerChromium to release video frame when the owner
3504         of video frame is going away.
3505
3506         * public/WebVideoFrame.h:
3507         * src/AssertMatchingEnums.cpp:
3508         * src/VideoFrameChromiumImpl.cpp:
3509         (WebKit::VideoFrameChromiumImpl::texture):
3510         * src/VideoFrameChromiumImpl.h:
3511         * src/WebMediaPlayerClientImpl.cpp:
3512         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
3513         (WebKit::WebMediaPlayerClientImpl::load):
3514         * src/WebMediaPlayerClientImpl.h:
3515
3516 2010-10-05  Nat Duca  <nduca@chromium.org>
3517
3518         Reviewed by James Robinson.
3519
3520         [chromium] Handle composited root layer invalidations in screenspace,
3521         fixing the disappearing scrollbar problem.
3522         https://bugs.webkit.org/show_bug.cgi?id=46864
3523
3524         * src/WebViewImpl.cpp:
3525         (WebKit::WebViewImpl::composite):
3526         (WebKit::WebViewImpl::scrollRootLayerRect):
3527         (WebKit::WebViewImpl::invalidateRootLayerRect):
3528         (WebKit::WebViewImpl::doComposite):
3529
3530 2010-10-05  Kenneth Russell  <kbr@google.com>
3531
3532         Unreviewed, follow up to 47216. Add newline above "protected:".
3533
3534         * public/WebFrame.h:
3535
3536 2010-10-05  Kenneth Russell  <kbr@google.com>
3537
3538         Reviewed by Tony Chang.
3539
3540         [chromium] Implement layerTreeAsText in DumpRenderTree
3541         https://bugs.webkit.org/show_bug.cgi?id=47216
3542
3543         Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
3544         make it callable from DumpRenderTree.
3545
3546         No new tests; verified with existing compositor layout tests.
3547
3548         * public/WebFrame.h:
3549         * src/WebFrameImpl.cpp:
3550         (WebKit::WebFrameImpl::layerTreeAsText):
3551         * src/WebFrameImpl.h:
3552
3553 2010-10-05  Andrew Wilson  <atwilson@chromium.org>
3554
3555         Reviewed by Andreas Kling.
3556
3557         Notification onclick() events don't act like user gestures
3558         https://bugs.webkit.org/show_bug.cgi?id=47137
3559
3560         * src/WebNotification.cpp:
3561         (WebKit::WebNotification::dispatchClickEvent):
3562         Use UserGestureIndicator to make sure click events are treated like user gestures.
3563
3564 2010-10-05  Alok Priyadarshi  <alokp@chromium.org>
3565
3566         Reviewed by Kenneth Russell.
3567
3568         Supported ANGLE SH_VERSION > 100
3569         https://bugs.webkit.org/show_bug.cgi?id=47024
3570
3571         * src/WebGraphicsContext3DDefaultImpl.cpp:
3572         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
3573         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
3574
3575 2010-10-04  Jeremy Orlow  <jorlow@chromium.org>
3576
3577         Reviewed by Nate Chapin.
3578
3579         Rename get* and open*Cursor per the spec on IDBIndex
3580         https://bugs.webkit.org/show_bug.cgi?id=46906
3581
3582         The spec changed so that:
3583         IDBIndex.get -> getKey
3584         IDBIndex.getObject -> get
3585         IDBIndex.openCursor -> openKeyCursor
3586         IDBIndex.openObjectCursor -> openCursor
3587
3588         * public/WebIDBIndex.h:
3589         (WebKit::WebIDBIndex::openCursor):
3590         (WebKit::WebIDBIndex::openKeyCursor):
3591         (WebKit::WebIDBIndex::get):
3592         (WebKit::WebIDBIndex::getKey):
3593         * src/IDBIndexBackendProxy.cpp:
3594         (WebCore::IDBIndexBackendProxy::openCursor):
3595         (WebCore::IDBIndexBackendProxy::openKeyCursor):
3596         (WebCore::IDBIndexBackendProxy::get):
3597         (WebCore::IDBIndexBackendProxy::getKey):
3598         * src/IDBIndexBackendProxy.h:
3599         * src/WebIDBIndexImpl.cpp:
3600         (WebKit::WebIDBIndexImpl::openObjectCursor):
3601         (WebKit::WebIDBIndexImpl::openKeyCursor):
3602         (WebKit::WebIDBIndexImpl::getObject):
3603         (WebKit::WebIDBIndexImpl::getKey):
3604         * src/WebIDBIndexImpl.h:
3605
3606 2010-10-04  Andrei Popescu  <andreip@google.com>
3607
3608         Reviewed by Jeremy Orlow.
3609
3610         IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous.
3611