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