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