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