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