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