2011-04-12 Adrienne Walker <enne@google.com>
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-04-12  Adrienne Walker  <enne@google.com>
2
3         Reviewed by James Robinson.
4
5         [chromium] TilingData mishandles very small texture sizes
6         https://bugs.webkit.org/show_bug.cgi?id=58364
7
8         Update test to properly handle texture sizes of 0-3.
9
10         * tests/TilingDataTest.cpp:
11         (WebCore::TEST):
12
13 2011-04-12  Jian Li  <jianli@chromium.org>
14
15         Unreviewed, rolling out r83649.
16         http://trac.webkit.org/changeset/83649
17         https://bugs.webkit.org/show_bug.cgi?id=57563
18
19         This patch causes compiling errors for chromium
20
21         * public/WebCanvas.h:
22         * src/WebFrameImpl.cpp:
23         (WebKit::WebFrameImpl::printPage):
24         * tests/TransparencyWinTest.cpp:
25         (WebCore::drawNativeRect):
26         (WebCore::getPixelAt):
27         (WebCore::clearTopLayerAlphaChannel):
28         (WebCore::clearTopLayerAlphaPixel):
29         (WebCore::TEST):
30
31 2011-04-12  John Abd-El-Malek  <jam@chromium.org>
32
33         Reviewed by Jian Li.
34
35         [chromium] Fix spellcheck regression in context menus
36         https://bugs.webkit.org/show_bug.cgi?id=58386
37
38         * src/ContextMenuClientImpl.cpp:
39         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
40
41 2011-04-12  Noel Gordon  <noel.gordon@gmail.com>
42
43         Reviewed by Tony Chang.
44
45         [chromium] Use new dragTargetDragEnter() function signature
46         https://bugs.webkit.org/show_bug.cgi?id=58303
47
48         After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
49         based version of dragTargetDragEnter() is no longer used; remove it.
50
51         * public/WebView.h:
52         * src/WebViewImpl.cpp:
53         * src/WebViewImpl.h:
54
55 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
56
57         Reviewed by James Robinson.
58
59         Remove dependency on chromium skia::PlatformCanvas
60         https://bugs.webkit.org/show_bug.cgi?id=57563
61
62         * public/WebCanvas.h:
63         * src/WebFrameImpl.cpp:
64         (WebKit::WebFrameImpl::printPage):
65         * tests/TransparencyWinTest.cpp:
66         (WebCore::drawNativeRect):
67         (WebCore::getPixelAt):
68         (WebCore::clearTopLayerAlphaChannel):
69         (WebCore::clearTopLayerAlphaPixel):
70         (WebCore::TEST):
71
72 2011-04-12  Adam Barth  <abarth@webkit.org>
73
74         Revert unintentional changes to WebKit.
75
76         * public/WebSettings.h:
77         * src/WebSettingsImpl.cpp:
78         * src/WebSettingsImpl.h:
79
80 2011-04-11  John Abd-El-Malek  <jam@chromium.org>
81
82         Reviewed by Darin Fisher.
83
84         [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
85         https://bugs.webkit.org/show_bug.cgi?id=58260
86
87         * public/WebContextMenuData.h:
88         * public/WebSpellCheckClient.h:
89         (WebKit::WebSpellCheckClient::spellCheck):
90         * src/ContextMenuClientImpl.cpp:
91         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
92         * src/EditorClientImpl.cpp:
93         (WebKit::EditorClientImpl::checkSpellingOfString):
94
95 2011-04-12  Bill Budge  <bbudge@chromium.org>
96
97         Reviewed by Darin Fisher.
98
99         Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
100         https://bugs.webkit.org/show_bug.cgi?id=58287
101
102         No new tests. No new functionality exposed.
103
104         * WebKit.gyp:
105         * public/WebURLLoader.h:
106         * public/WebURLLoaderOptions.h: Added.
107         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
108         * src/AssociatedURLLoader.cpp:
109         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
110         * src/AssociatedURLLoader.h:
111
112 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
113
114         Reviewed by Pavel Feldman.
115
116         Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
117         https://bugs.webkit.org/show_bug.cgi?id=58232
118
119         * WebKit.gyp:
120
121 2011-04-11  John Bates  <jbates@google.com>
122
123         Reviewed by Kenneth Russell.
124
125         chromium support for glSetLatch and glWaitLatch between 3D contexts
126         https://bugs.webkit.org/show_bug.cgi?id=58003
127
128         * public/WebGraphicsContext3D.h:
129         (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
130         (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
131         (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
132         (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
133         * src/Extensions3DChromium.cpp:
134         (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
135         (WebCore::Extensions3DChromium::setLatchCHROMIUM):
136         * src/GraphicsContext3DChromium.cpp:
137         * src/GraphicsContext3DInternal.h:
138
139 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
140
141         Reviewed by Tony Chang.
142
143         [chromium] Crash in WebViewImpl::caretOrSelectionBounds
144         https://bugs.webkit.org/show_bug.cgi?id=58269
145
146         The bug was caused by caretOrSelectionBounds's incorrectly assuming
147         SelectionController::toNormalizedRange to always return a non-null Range.
148
149         Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
150         by containerNode() and calls to SelectionController::start() and SelectionController::end()
151         by calls to SelectionController::base() and SelectionController::extent() because
152         selection extends from base to extent, not from start to end.
153
154         Test: editing/selection/extend-over-file-input-by-drag-crash.html
155
156         * src/WebViewImpl.cpp:
157         (WebKit::WebViewImpl::caretOrSelectionBounds):
158
159 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
160
161         Reviewed by Eric Carlson.
162
163         Rename MediaControls to MediaControlRootElement.
164         https://bugs.webkit.org/show_bug.cgi?id=58250
165
166         Mechanical move using do-webcore-rename.
167
168 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
169
170         Reviewed by Dmitry Titov.
171
172         [chromium] Implement image/png support in DataTransferItems
173         https://bugs.webkit.org/show_bug.cgi?id=58106
174
175         Add glue for reading image data from clipboard.
176
177         * DEPS:
178         * src/PlatformBridge.cpp:
179         (WebCore::PlatformBridge::clipboardReadImage):
180
181 2011-04-05  Hans Wennborg  <hans@chromium.org>
182
183         Reviewed by Steve Block.
184
185         IndexedDB: Introduce skeleton for LevelDB backend
186         https://bugs.webkit.org/show_bug.cgi?id=57827
187
188         * features.gypi:
189             Add ENABLE_LEVELDB=0.
190         * public/WebIDBFactory.h:
191         (WebKit::WebIDBFactory::open):
192             Remove pre-roll open() function.
193
194 2011-04-10  Kent Tamura  <tkent@chromium.org>
195
196         [Chromium] Fix build errors on "Win Shared Builder (dbg)"
197
198         * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
199
200 2011-04-10  Kent Tamura  <tkent@chromium.org>
201
202         Unreviewed, rolling out r83353.
203         http://trac.webkit.org/changeset/83353
204         https://bugs.webkit.org/show_bug.cgi?id=58106
205
206         The new test doesn't pass on all Chromium platforms.
207
208         * DEPS:
209         * src/PlatformBridge.cpp:
210
211 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
212
213         Reviewed by Ryosuke Niwa.
214
215         Gather data on modal dialogs shown during unload events
216         https://bugs.webkit.org/show_bug.cgi?id=58115
217
218         Implementation of the new API to receive notifications of modal dialogs
219         dispatched during unload events. Count the notifications through a histogram.
220
221         No tests because it's not clear how to test chromium histograms from webkit.
222
223         * src/ChromeClientImpl.cpp:
224         (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
225         * src/ChromeClientImpl.h:
226
227 2011-04-08  Aaron Boodman  <aa@chromium.org>
228
229         Reviewed by Dmitry Titov.
230
231         Re-land http://trac.webkit.org/changeset/83007. This works
232         without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
233
234         https://bugs.webkit.org/show_bug.cgi?id=58096
235
236         * WebKit.gyp:
237         * WebKit.gypi:
238         * public/WebFrame.h:
239         * src/WebFrameImpl.cpp:
240         (WebKit::WebFrame::frameForContext):
241         * tests/WebFrameTest.cpp:
242         (WebKit::WebFrameTest::WebFrameTest):
243         (WebKit::WebFrameTest::registerMockedURLLoad):
244         (WebKit::WebFrameTest::loadFrame):
245         (WebKit::TEST_F):
246
247 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
248
249         Reviewed by Dmitry Titov.
250
251         [chromium] Implement image/png support in DataTransferItems
252         https://bugs.webkit.org/show_bug.cgi?id=58106
253
254         Add glue for reading image data from clipboard.
255
256         * DEPS:
257         * src/PlatformBridge.cpp:
258         (WebCore::PlatformBridge::clipboardReadImage):
259
260 2011-04-08  Alpha Lam  <hclam@chromium.org>
261
262         Unreviewed, rolling out r83335.
263         http://trac.webkit.org/changeset/83335
264         https://bugs.webkit.org/show_bug.cgi?id=53556
265
266         GTK and QT bots are broken
267
268         * features.gypi:
269
270 2011-04-07  Anna Cavender  <annacc@chromium.org>
271
272         Reviewed by Eric Carlson.
273
274         Setup ENABLE(TRACK) feature define
275         https://bugs.webkit.org/show_bug.cgi?id=53556
276
277         * features.gypi:
278
279 2011-04-08  Dmitry Titov  <dimich@chromium.org>
280
281         Reviewed by Adam Barth.
282
283         [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
284         https://bugs.webkit.org/show_bug.cgi?id=58110
285         Since they are simple one-thread tests.
286         This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
287         which is equally not needed since there is only one thread running v8 in that process.
288
289         * tests/IDBBindingUtilitiesTest.cpp:
290
291 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
292
293         Reviewed by Pavel Feldman.
294
295         Web Inspector: add test for script formatter worker.
296         https://bugs.webkit.org/show_bug.cgi?id=57447
297
298         * WebKit.gyp:
299
300 2011-04-08  Kent Tamura  <tkent@chromium.org>
301
302         [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
303
304         * WebKit.gyp: webkit should not depend on webkit_support.
305
306 2011-04-08  Kent Tamura  <tkent@chromium.org>
307
308         [Chromium] Build fix for Windows (dbg)(shared).
309
310         * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
311
312 2011-04-07  Kinuko Yasuda  <kinuko@chromium.org>
313
314         Reviewed by Darin Fisher.
315
316         [Chromium] Add WebKit API to query and request unified offline-storage quota
317         https://bugs.webkit.org/show_bug.cgi?id=57849
318         Just adding the API, this does not do anything yet.
319
320         The API is based on the public discussion for unified quota API:
321         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
322         (The detail is not yet fully specified and might be subject to change.)
323
324         * public/WebFrameClient.h:
325         (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
326         (WebKit::WebFrameClient::requestStorageQuota): Added.
327         * public/WebStorageQuotaCallbacks.h: Added.
328         (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
329         * public/WebStorageQuotaType.h: Added.
330
331 2011-04-07  Dominic Cooney  <dominicc@google.com>
332
333         Reviewed by Dimitri Glazkov.
334
335         Let shadow DOM have a list of nodes at the top level of a shadow.
336         https://bugs.webkit.org/show_bug.cgi?id=57813
337
338         * src/WebElement.cpp:
339         (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
340
341 2011-04-07  Magnus Danielsson  <public@fuzzac.com>
342
343         Reviewed by Darin Fisher.
344
345         [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
346         https://bugs.webkit.org/show_bug.cgi?id=53897
347
348         When serializing a web page using 'save page as', sub-frames and resources gets
349         saved in a sub-directory. However, frame elements didn't get updated to reference
350         these saved sub-frames, but were still referencing the original url. So when opening
351         a saved web page, any sub-frames would get pulled in from the original url rather than 
352         what was saved.
353
354         In addition to this, sub-frames in the sub-directory erroneously had the name of the
355         sub-directory prepended to the path of resources located in the same sub-directory.
356
357         * src/WebPageSerializerImpl.cpp:
358         (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames. 
359         Also made sure sub-frames are referenced correctly from parent frame.
360         (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
361         (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
362         * src/WebPageSerializerImpl.h:
363
364 2011-04-07  Nat Duca  <nduca@chromium.org>
365
366         Reviewed by David Levin.
367
368         [chromium] Compositor thread infrastructure
369         https://bugs.webkit.org/show_bug.cgi?id=56131
370
371         Tests for chrome compositor thread and related infrastructure.
372
373         * WebKit.gyp:
374         * WebKit.gypi:
375         * tests/CCThreadTaskTest.cpp: Added.
376         (WebCore::TEST):
377         * tests/CCThreadTest.cpp: Added.
378         (WebCore::TEST):
379         (WebCore::PingPongUsingCondition::ping):
380         (WebCore::PingPongTestUsingTasks::ping):
381         (WebCore::PingPongTestUsingTasks::pong):
382         * tests/RunAllTests.cpp:
383         (main):
384
385 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
386
387         Revert ENABLE_TRACK patch due to compile failures.
388
389         * features.gypi:
390
391 2011-04-07  Pavel Feldman  <pfeldman@google.com>
392
393         Not reviewed: rolling chromium DEPS 80421:80767.
394
395         * DEPS:
396
397 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
398
399         Reviewed by Pavel Feldman.
400
401         Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
402         https://bugs.webkit.org/show_bug.cgi?id=58036
403
404         Renamed didReceiveData2 to didReceiveData.
405
406         * public/WebURLLoaderClient.h:
407         (WebKit::WebURLLoaderClient::didReceiveData):
408         * src/AssociatedURLLoader.cpp:
409         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
410         * src/ResourceHandle.cpp:
411         (WebCore::ResourceHandleInternal::didReceiveData):
412
413 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
414
415         Reviewed by Pavel Feldman.
416
417         Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
418         https://bugs.webkit.org/show_bug.cgi?id=58034
419
420         Migrated didReceiveData to support new lengthReceived parameter.
421
422         * src/AssociatedURLLoader.cpp:
423         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
424
425 2011-04-06  Asanka Herath  <asanka@chromium.org>
426
427         Reviewed by Darin Fisher.
428
429         Add new TargetType: TargetIsFavicon
430
431         https://bugs.webkit.org/show_bug.cgi?id=57659
432
433         * public/WebURLRequest.h:
434
435 2011-04-06  Alok Priyadarshi  <alokp@chromium.org>
436
437         Reviewed by Eric Seidel.
438
439         [chromium] Add settings API to enable accelerated drawing
440         https://bugs.webkit.org/show_bug.cgi?id=57863
441         
442         If accelerated drawing is enabled we try to render content and
443         root layers using GPU. Please note that this setting is ignored if
444         accelerated compositing is disabled.
445
446         * public/WebSettings.h:
447         * src/WebSettingsImpl.cpp:
448         (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
449         * src/WebSettingsImpl.h:
450
451 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
452
453         Reviewed by David Levin.
454
455         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
456         https://bugs.webkit.org/show_bug.cgi?id=57566
457
458         * public/WebContextMenuData.h:
459
460 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
461
462         Unreviewed, rolling out r83007.
463         http://trac.webkit.org/changeset/83007
464         https://bugs.webkit.org/show_bug.cgi?id=57920
465
466         Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
467         Chromium-mac (Requested by tkent on #webkit).
468
469         * WebKit.gyp:
470         * WebKit.gypi:
471         * public/WebFrame.h:
472         * src/WebFrameImpl.cpp:
473         * tests/WebFrameTest.cpp:
474         (WebKit::WebFrameTest::WebFrameTest):
475         (WebKit::WebFrameTest::registerMockedURLLoad):
476         (WebKit::WebFrameTest::serveRequests):
477         (WebKit::TEST_F):
478
479 2011-04-05  James Kozianski  <koz@chromium.org>
480
481         Unreviewed, rolling out r82976.
482         http://trac.webkit.org/changeset/82976
483         https://bugs.webkit.org/show_bug.cgi?id=57566
484
485         Breaks chromium canary build
486
487         * public/WebContextMenuData.h:
488
489 2011-04-05  Aaron Boodman  <aa@chromium.org>
490
491         Reviewed by Adam Barth.
492
493         Add ability to get frame from v8 context to chromium WebKit API
494         https://bugs.webkit.org/show_bug.cgi?id=57516
495
496         * public/WebFrame.h:
497         * src/WebFrameImpl.cpp:
498         (WebKit::WebFrame::frameForV8Context):
499
500 2011-04-05  Nico Weber  <thakis@chromium.org>
501
502         Reviewed by Dimitri Glazkov.
503
504         [chromium] Don't have 'using namespace' declarations in header files
505         https://bugs.webkit.org/show_bug.cgi?id=57882
506
507         * src/EventListenerWrapper.cpp:
508         * src/EventListenerWrapper.h:
509         * src/VideoFrameChromiumImpl.h:
510         * src/WebDOMEventListener.cpp:
511         * src/WebDOMEventListenerPrivate.cpp:
512         * src/WebDOMEventListenerPrivate.h:
513         (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
514
515 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
516
517         Reviewed by David Levin.
518
519         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
520         https://bugs.webkit.org/show_bug.cgi?id=57566
521
522         * public/WebContextMenuData.h:
523
524 2011-04-04  MORITA Hajime  <morrita@google.com>
525
526         Reviewed by Ryosuke Niwa.
527
528         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
529         https://bugs.webkit.org/show_bug.cgi?id=56085
530
531         Followed the signature change.
532         
533         * src/EditorClientImpl.h:
534         * src/EditorClientImpl.cpp:
535         * src/WebTextCheckingCompletionImpl.cpp
536
537 2011-04-05  Hans Wennborg  <hans@chromium.org>
538
539         Reviewed by Adam Barth
540
541         Clean up IndexedDB WebKit API
542         https://bugs.webkit.org/show_bug.cgi?id=57507
543
544         Rename the backend proxy files that didn't have Backend in their name.
545         Everything in WebKit should be in the WebKit namespace.
546         Put everything behind the feature flag so we're consistient.
547         Put the feature flag #if above includes.
548
549         * WebKit.gyp:
550         * src/IDBCallbacksProxy.cpp:
551         (WebKit::IDBCallbacksProxy::create):
552         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
553         (WebKit::IDBCallbacksProxy::onError):
554         (WebKit::IDBCallbacksProxy::onSuccess):
555         * src/IDBCallbacksProxy.h:
556         * src/IDBCursorBackendProxy.cpp:
557         (WebKit::IDBCursorBackendProxy::create):
558         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
559         * src/IDBCursorBackendProxy.h:
560         * src/IDBDatabaseBackendProxy.cpp:
561         (WebKit::IDBDatabaseBackendProxy::create):
562         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
563         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
564         (WebKit::IDBDatabaseBackendProxy::name):
565         (WebKit::IDBDatabaseBackendProxy::version):
566         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
567         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
568         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
569         (WebKit::IDBDatabaseBackendProxy::setVersion):
570         (WebKit::IDBDatabaseBackendProxy::transaction):
571         (WebKit::IDBDatabaseBackendProxy::close):
572         (WebKit::IDBDatabaseBackendProxy::open):
573         * src/IDBDatabaseCallbacksProxy.cpp:
574         (WebKit::IDBDatabaseCallbacksProxy::create):
575         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
576         * src/IDBDatabaseCallbacksProxy.h:
577         * src/IDBFactoryBackendProxy.cpp:
578         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
579         (WebKit::IDBFactoryBackendProxy::open):
580         * src/IDBFactoryBackendProxy.h:
581         * src/IDBIndexBackendProxy.cpp:
582         (WebKit::IDBIndexBackendProxy::create):
583         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
584         * src/IDBIndexBackendProxy.h:
585         * src/IDBObjectStoreBackendProxy.cpp:
586         (WebKit::IDBObjectStoreBackendProxy::create):
587         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
588         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
589         (WebKit::IDBObjectStoreBackendProxy::name):
590         (WebKit::IDBObjectStoreBackendProxy::keyPath):
591         (WebKit::IDBObjectStoreBackendProxy::indexNames):
592         (WebKit::IDBObjectStoreBackendProxy::get):
593         (WebKit::IDBObjectStoreBackendProxy::put):
594         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
595         (WebKit::IDBObjectStoreBackendProxy::clear):
596         (WebKit::IDBObjectStoreBackendProxy::createIndex):
597         (WebKit::IDBObjectStoreBackendProxy::index):
598         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
599         (WebKit::IDBObjectStoreBackendProxy::openCursor):
600         * src/IDBObjectStoreBackendProxy.h: Added.
601         * src/IDBObjectStoreProxy.h: Removed.
602         * src/IDBTransactionBackendProxy.cpp:
603         (WebKit::IDBTransactionBackendProxy::create):
604         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
605         (WebKit::IDBTransactionBackendProxy::objectStore):
606         * src/IDBTransactionBackendProxy.h:
607         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
608         * src/IDBTransactionCallbacksProxy.cpp:
609         (WebKit::IDBTransactionCallbacksProxy::create):
610         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
611         * src/IDBTransactionCallbacksProxy.h:
612         * src/WebIDBCallbacksImpl.cpp:
613         (WebKit::WebIDBCallbacksImpl::onError):
614         (WebKit::WebIDBCallbacksImpl::onSuccess):
615         * src/WebIDBCallbacksImpl.h:
616         * src/WebIDBCursorImpl.cpp:
617         * src/WebIDBCursorImpl.h:
618         * src/WebIDBDatabaseCallbacksImpl.cpp:
619         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
620         * src/WebIDBDatabaseCallbacksImpl.h:
621         * src/WebIDBDatabaseError.cpp:
622         * src/WebIDBDatabaseImpl.cpp:
623         * src/WebIDBDatabaseImpl.h:
624         * src/WebIDBFactoryImpl.cpp:
625         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
626         * src/WebIDBFactoryImpl.h:
627         * src/WebIDBIndexImpl.cpp:
628         * src/WebIDBIndexImpl.h:
629         * src/WebIDBKey.cpp:
630         (WebKit::WebIDBKey::createFromValueAndKeyPath):
631         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
632         * src/WebIDBKeyPath.cpp:
633         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
634         * src/WebIDBKeyRange.cpp:
635         * src/WebIDBObjectStoreImpl.cpp:
636         * src/WebIDBObjectStoreImpl.h:
637         * src/WebIDBTransactionCallbacksImpl.cpp:
638         * src/WebIDBTransactionCallbacksImpl.h:
639         * src/WebIDBTransactionImpl.cpp:
640         * src/WebIDBTransactionImpl.h:
641
642 2011-04-05  Sailesh Agrawal  <sail@chromium.org>
643
644         Reviewed by Darin Fisher.
645
646         Don't clear existing files if the user cancels the file chooser dialog.
647         https://bugs.webkit.org/show_bug.cgi?id=55200
648
649         * src/WebFileChooserCompletionImpl.cpp:
650         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
651
652 2011-04-05  John Mellor  <johnme@chromium.org>
653
654         Reviewed by Darin Fisher.
655
656         [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
657         https://bugs.webkit.org/show_bug.cgi?id=55681
658
659         * src/WebFrameImpl.cpp:
660         (WebKit::WebFrameImpl::find):
661         (WebKit::WebFrameImpl::scopeStringMatches):
662
663 2011-04-05  Adam Barth  <abarth@webkit.org>
664
665         Roll Chromium DEPS.
666
667         * DEPS: Rolled!
668
669 2011-04-04  Chang Shu  <cshu@webkit.org>
670
671         Reviewed by Ryosuke Niwa.
672
673         setContentEditable with true/false/inherit string is not working properly
674         https://bugs.webkit.org/show_bug.cgi?id=52058
675
676         Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
677         as rendererIsEditable is for WebCore internal use.
678
679         * src/WebNode.cpp:
680         (WebKit::WebNode::isContentEditable):
681         * src/WebViewImpl.cpp:
682         (WebKit::WebViewImpl::setFocus):
683         (WebKit::WebViewImpl::setComposition):
684         (WebKit::WebViewImpl::confirmComposition):
685
686 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
687
688         Reviewed by Dan Bernstein.
689
690         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
691         https://bugs.webkit.org/show_bug.cgi?id=51230
692         <rdar://problem/8780989>
693
694         * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
695         WebKits to WebCore, because WebKit shouldn't be smart.
696
697 2011-04-01  Adam Barth  <abarth@webkit.org>
698
699         Attempt to fix the Chromium build using the great and powerful git.
700         This patch should be the remaining part of reverting Jeremy's ill-fated
701         refactoring.
702
703         * src/IDBDatabaseProxy.cpp:
704         (WebCore::IDBDatabaseProxy::create):
705         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
706         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
707         (WebCore::IDBDatabaseProxy::name):
708         (WebCore::IDBDatabaseProxy::version):
709         (WebCore::IDBDatabaseProxy::objectStoreNames):
710         (WebCore::IDBDatabaseProxy::createObjectStore):
711         (WebCore::IDBDatabaseProxy::deleteObjectStore):
712         (WebCore::IDBDatabaseProxy::setVersion):
713         (WebCore::IDBDatabaseProxy::transaction):
714         (WebCore::IDBDatabaseProxy::close):
715         (WebCore::IDBDatabaseProxy::open):
716         * src/IDBDatabaseProxy.h:
717         * src/IDBObjectStoreProxy.cpp:
718         (WebCore::IDBObjectStoreProxy::create):
719         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
720         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
721         (WebCore::IDBObjectStoreProxy::name):
722         (WebCore::IDBObjectStoreProxy::keyPath):
723         (WebCore::IDBObjectStoreProxy::indexNames):
724         (WebCore::IDBObjectStoreProxy::get):
725         (WebCore::IDBObjectStoreProxy::put):
726         (WebCore::IDBObjectStoreProxy::deleteFunction):
727         (WebCore::IDBObjectStoreProxy::clear):
728         (WebCore::IDBObjectStoreProxy::createIndex):
729         (WebCore::IDBObjectStoreProxy::index):
730         (WebCore::IDBObjectStoreProxy::deleteIndex):
731         (WebCore::IDBObjectStoreProxy::openCursor):
732
733 2011-04-01  Adam Barth  <abarth@webkit.org>
734
735         Move these files back to their old locations.  I'm not sure why the
736         rollout didn't move them properly.
737
738         * src/IDBDatabaseBackendProxy.cpp: Removed.
739         * src/IDBDatabaseBackendProxy.h: Removed.
740         * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
741         * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
742         * src/IDBObjectStoreBackendProxy.cpp: Removed.
743         * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
744
745 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
746
747         Unreviewed, rolling out r82738.
748         http://trac.webkit.org/changeset/82738
749         https://bugs.webkit.org/show_bug.cgi?id=57684
750
751         Broke storage/indexeddb/objectstore-autoincrement.html and
752         InjectIDBKey (Requested by abarth|gardening on #webkit).
753
754         * WebKit.gyp:
755         * src/IDBCallbacksProxy.cpp:
756         (WebCore::IDBCallbacksProxy::create):
757         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
758         (WebCore::IDBCallbacksProxy::onError):
759         (WebCore::IDBCallbacksProxy::onSuccess):
760         * src/IDBCallbacksProxy.h:
761         * src/IDBCursorBackendProxy.cpp:
762         (WebCore::IDBCursorBackendProxy::create):
763         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
764         * src/IDBCursorBackendProxy.h:
765         * src/IDBDatabaseCallbacksProxy.cpp:
766         (WebCore::IDBDatabaseCallbacksProxy::create):
767         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
768         * src/IDBDatabaseCallbacksProxy.h:
769         * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
770         (WebCore::IDBDatabaseProxy::create):
771         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
772         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
773         (WebCore::IDBDatabaseProxy::name):
774         (WebCore::IDBDatabaseProxy::version):
775         (WebCore::IDBDatabaseProxy::objectStoreNames):
776         (WebCore::IDBDatabaseProxy::createObjectStore):
777         (WebCore::IDBDatabaseProxy::deleteObjectStore):
778         (WebCore::IDBDatabaseProxy::setVersion):
779         (WebCore::IDBDatabaseProxy::transaction):
780         (WebCore::IDBDatabaseProxy::close):
781         (WebCore::IDBDatabaseProxy::open):
782         * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
783         * src/IDBFactoryBackendProxy.cpp:
784         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
785         (WebCore::IDBFactoryBackendProxy::open):
786         * src/IDBFactoryBackendProxy.h:
787         * src/IDBIndexBackendProxy.cpp:
788         (WebCore::IDBIndexBackendProxy::create):
789         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
790         * src/IDBIndexBackendProxy.h:
791         * src/IDBObjectStoreBackendProxy.h: Removed.
792         * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
793         (WebCore::IDBObjectStoreProxy::create):
794         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
795         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
796         (WebCore::IDBObjectStoreProxy::name):
797         (WebCore::IDBObjectStoreProxy::keyPath):
798         (WebCore::IDBObjectStoreProxy::indexNames):
799         (WebCore::IDBObjectStoreProxy::get):
800         (WebCore::IDBObjectStoreProxy::put):
801         (WebCore::IDBObjectStoreProxy::deleteFunction):
802         (WebCore::IDBObjectStoreProxy::clear):
803         (WebCore::IDBObjectStoreProxy::createIndex):
804         (WebCore::IDBObjectStoreProxy::index):
805         (WebCore::IDBObjectStoreProxy::deleteIndex):
806         (WebCore::IDBObjectStoreProxy::openCursor):
807         * src/IDBObjectStoreProxy.h: Added.
808         * src/IDBTransactionBackendProxy.cpp:
809         (WebCore::IDBTransactionBackendProxy::create):
810         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
811         (WebCore::IDBTransactionBackendProxy::objectStore):
812         * src/IDBTransactionBackendProxy.h:
813         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
814         * src/IDBTransactionCallbacksProxy.cpp:
815         (WebCore::IDBTransactionCallbacksProxy::create):
816         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
817         * src/IDBTransactionCallbacksProxy.h:
818         * src/WebIDBCallbacksImpl.cpp:
819         (WebCore::WebIDBCallbacksImpl::onError):
820         (WebCore::WebIDBCallbacksImpl::onSuccess):
821         * src/WebIDBCallbacksImpl.h:
822         * src/WebIDBCursorImpl.cpp:
823         * src/WebIDBCursorImpl.h:
824         * src/WebIDBDatabaseCallbacksImpl.cpp:
825         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
826         * src/WebIDBDatabaseCallbacksImpl.h:
827         * src/WebIDBDatabaseError.cpp:
828         * src/WebIDBDatabaseImpl.cpp:
829         * src/WebIDBDatabaseImpl.h:
830         * src/WebIDBFactoryImpl.cpp:
831         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
832         * src/WebIDBFactoryImpl.h:
833         * src/WebIDBIndexImpl.cpp:
834         * src/WebIDBIndexImpl.h:
835         * src/WebIDBKey.cpp:
836         (WebKit::WebIDBKey::createFromValueAndKeyPath):
837         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
838         * src/WebIDBKeyPath.cpp:
839         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
840         * src/WebIDBKeyRange.cpp:
841         * src/WebIDBObjectStoreImpl.cpp:
842         * src/WebIDBObjectStoreImpl.h:
843         * src/WebIDBTransactionCallbacksImpl.cpp:
844         * src/WebIDBTransactionCallbacksImpl.h:
845         * src/WebIDBTransactionImpl.cpp:
846         * src/WebIDBTransactionImpl.h:
847
848 2011-03-30  Jeremy Orlow  <jorlow@chromium.org>
849
850         Reviewed by Nate Chapin.
851
852         Clean up IndexedDB WebKit API
853         https://bugs.webkit.org/show_bug.cgi?id=57507
854
855         Rename the backend proxy files that didn't have Backend in their name.
856         Everything in WebKit should be in the WebKit namespace.
857         Put everything behind the feature flag so we're consistient.
858         Put the feature flag #if above includes.
859
860         * WebKit.gyp:
861         * src/IDBCallbacksProxy.cpp:
862         (WebKit::IDBCallbacksProxy::create):
863         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
864         (WebKit::IDBCallbacksProxy::onError):
865         (WebKit::IDBCallbacksProxy::onSuccess):
866         * src/IDBCallbacksProxy.h:
867         * src/IDBCursorBackendProxy.cpp:
868         (WebKit::IDBCursorBackendProxy::create):
869         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
870         * src/IDBCursorBackendProxy.h:
871         * src/IDBDatabaseBackendProxy.cpp:
872         (WebKit::IDBDatabaseBackendProxy::create):
873         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
874         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
875         (WebKit::IDBDatabaseBackendProxy::name):
876         (WebKit::IDBDatabaseBackendProxy::version):
877         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
878         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
879         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
880         (WebKit::IDBDatabaseBackendProxy::setVersion):
881         (WebKit::IDBDatabaseBackendProxy::transaction):
882         (WebKit::IDBDatabaseBackendProxy::close):
883         (WebKit::IDBDatabaseBackendProxy::open):
884         * src/IDBDatabaseCallbacksProxy.cpp:
885         (WebKit::IDBDatabaseCallbacksProxy::create):
886         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
887         * src/IDBDatabaseCallbacksProxy.h:
888         * src/IDBFactoryBackendProxy.cpp:
889         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
890         (WebKit::IDBFactoryBackendProxy::open):
891         * src/IDBFactoryBackendProxy.h:
892         * src/IDBIndexBackendProxy.cpp:
893         (WebKit::IDBIndexBackendProxy::create):
894         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
895         * src/IDBIndexBackendProxy.h:
896         * src/IDBObjectStoreBackendProxy.cpp:
897         (WebKit::IDBObjectStoreBackendProxy::create):
898         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
899         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
900         (WebKit::IDBObjectStoreBackendProxy::name):
901         (WebKit::IDBObjectStoreBackendProxy::keyPath):
902         (WebKit::IDBObjectStoreBackendProxy::indexNames):
903         (WebKit::IDBObjectStoreBackendProxy::get):
904         (WebKit::IDBObjectStoreBackendProxy::put):
905         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
906         (WebKit::IDBObjectStoreBackendProxy::clear):
907         (WebKit::IDBObjectStoreBackendProxy::createIndex):
908         (WebKit::IDBObjectStoreBackendProxy::index):
909         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
910         (WebKit::IDBObjectStoreBackendProxy::openCursor):
911         * src/IDBObjectStoreBackendProxy.h: Added.
912         * src/IDBObjectStoreProxy.h: Removed.
913         * src/IDBTransactionBackendProxy.cpp:
914         (WebKit::IDBTransactionBackendProxy::create):
915         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
916         (WebKit::IDBTransactionBackendProxy::objectStore):
917         * src/IDBTransactionBackendProxy.h:
918         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
919         * src/IDBTransactionCallbacksProxy.cpp:
920         (WebKit::IDBTransactionCallbacksProxy::create):
921         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
922         * src/IDBTransactionCallbacksProxy.h:
923         * src/WebIDBCallbacksImpl.cpp:
924         (WebKit::WebIDBCallbacksImpl::onError):
925         (WebKit::WebIDBCallbacksImpl::onSuccess):
926         * src/WebIDBCallbacksImpl.h:
927         * src/WebIDBCursorImpl.cpp:
928         * src/WebIDBCursorImpl.h:
929         * src/WebIDBDatabaseCallbacksImpl.cpp:
930         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
931         * src/WebIDBDatabaseCallbacksImpl.h:
932         * src/WebIDBDatabaseError.cpp:
933         * src/WebIDBDatabaseImpl.cpp:
934         * src/WebIDBDatabaseImpl.h:
935         * src/WebIDBFactoryImpl.cpp:
936         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
937         * src/WebIDBFactoryImpl.h:
938         * src/WebIDBIndexImpl.cpp:
939         * src/WebIDBIndexImpl.h:
940         * src/WebIDBKey.cpp:
941         (WebKit::WebIDBKey::createFromValueAndKeyPath):
942         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
943         * src/WebIDBKeyPath.cpp:
944         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
945         * src/WebIDBKeyRange.cpp:
946         * src/WebIDBObjectStoreImpl.cpp:
947         * src/WebIDBObjectStoreImpl.h:
948         * src/WebIDBTransactionCallbacksImpl.cpp:
949         * src/WebIDBTransactionCallbacksImpl.h:
950         * src/WebIDBTransactionImpl.cpp:
951         * src/WebIDBTransactionImpl.h:
952
953 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
954
955         Reviewed by Pavel Feldman.
956
957         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
958         https://bugs.webkit.org/show_bug.cgi?id=57446
959
960         * WebKit.gyp:
961         * scripts/inline_js_imports.py: Added.
962
963 2011-03-31  Victoria Kirst  <vrk@google.com>
964
965         Reviewed by Eric Carlson.
966
967         [chromium] Implement preload=none, setPreload hooks to media player
968         https://bugs.webkit.org/show_bug.cgi?id=56983
969
970         This patch implements preload=none in Chromium. It also replaces
971         the now-deprecated setAutobuffer method with setPreload.
972
973         * public/WebMediaPlayer.h:
974         (WebKit::WebMediaPlayer::setPreload):
975         * public/WebMediaPlayerClient.h:
976         * src/WebMediaPlayerClientImpl.cpp:
977         (WebKit::WebMediaPlayerClientImpl::preload):
978         (WebKit::WebMediaPlayerClientImpl::load):
979         (WebKit::WebMediaPlayerClientImpl::loadInternal):
980         (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
981         (WebKit::WebMediaPlayerClientImpl::setPreload):
982         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
983         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
984         * src/WebMediaPlayerClientImpl.h:
985
986 2011-03-31  Evan Martin  <evan@chromium.org>
987
988         Reviewed by Eric Seidel.
989
990         <title> should support dir attribute
991         https://bugs.webkit.org/show_bug.cgi?id=50961
992
993         Update to new FrameLoaderClient interface.
994
995         * src/FrameLoaderClientImpl.cpp:
996         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
997         (WebKit::FrameLoaderClientImpl::setTitle):
998         * src/FrameLoaderClientImpl.h:
999         * src/WebDataSourceImpl.cpp:
1000         (WebKit::WebDataSourceImpl::pageTitle):
1001
1002 2011-03-30  David Levin  <levin@chromium.org>
1003
1004         Reviewed by Dmitry Titov.
1005
1006         UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
1007         https://bugs.webkit.org/show_bug.cgi?id=57382
1008
1009         There were two issues to address:
1010         1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
1011            The problem was that this RefPtr could be changed on either thread.
1012         2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
1013            including while its mutex was in use.
1014
1015         * src/WorkerFileSystemCallbacksBridge.cpp:
1016         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
1017         Changed to take a PassRefPtr and leak the ref count as opposed to relying on
1018         dispatchTaskToMainThread to store the pointer in m_selfRef.
1019         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
1020         m_selfRef and hand off a PassRefPtr instead.
1021         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
1022         and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
1023         * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
1024           was simply due to m_selfRef.
1025
1026 2011-03-29  John Abd-El-Malek  <jam@chromium.org>
1027
1028         Reviewed by Tony Chang.
1029
1030         [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
1031         https://bugs.webkit.org/show_bug.cgi?id=57396
1032
1033         * DEPS:
1034         * public/WebFrame.h:
1035         * public/WebView.h:
1036         * public/WebViewClient.h:
1037         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
1038         * src/EditorClientImpl.cpp:
1039         (WebKit::EditorClientImpl::checkSpellingOfString):
1040         (WebKit::EditorClientImpl::requestCheckingOfString):
1041         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1042         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1043         (WebKit::EditorClientImpl::showSpellingUI):
1044         (WebKit::EditorClientImpl::spellingUIIsShowing):
1045         * src/WebViewImpl.cpp:
1046         (WebKit::WebView::create):
1047         * src/WebViewImpl.h:
1048         * src/WebWorkerBase.cpp:
1049         (WebKit::WebWorkerBase::initializeLoader):
1050         * tests/PopupMenuTest.cpp:
1051         (WebKit::SelectPopupMenuTest::SetUp):
1052         * tests/WebFrameTest.cpp:
1053         (WebKit::TEST_F):
1054         * tests/WebPageSerializerTest.cpp:
1055         (WebKit::WebPageSerializerTest::SetUp):
1056
1057 2011-03-30  MORITA Hajime  <morrita@google.com>
1058
1059         Reviewed by Dimitri Glazkov.
1060
1061         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
1062         https://bugs.webkit.org/show_bug.cgi?id=56573
1063
1064         Added:
1065         - WebBindins::makeNode() to convert WebNode to a JS object, and
1066         - WebElement::shadowRoot().
1067
1068         * public/WebBindings.h:
1069         * public/WebElement.h:
1070         * src/WebBindings.cpp:
1071         (WebKit::makeNodeImpl):
1072         (WebKit::WebBindings::makeNode):
1073         * src/WebElement.cpp:
1074         (WebKit::WebElement::shadowRoot):
1075
1076 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
1077
1078         Reviewed by Chris Fleizach.
1079
1080         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
1081         https://bugs.webkit.org/show_bug.cgi?id=47636
1082
1083         Duplicate new internal WebCore roles in the Chromium port.
1084
1085         * public/WebAccessibilityRole.h: Update enumeration
1086         WebAccessibilityRole to reflect newly added roles in WebCore.
1087         * src/AssertMatchingEnums.cpp: Added new assertions.
1088
1089 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1090
1091         Reviewed by Pavel Feldman.
1092
1093         Web Inspector: split debugger agent into Page and Worker-specific ones
1094         https://bugs.webkit.org/show_bug.cgi?id=57345
1095
1096         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1097         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1098         and Page/WorkerDebuggerAgent.
1099
1100         * src/DebuggerAgentManager.cpp:
1101         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1102         * src/WebDevToolsAgentImpl.cpp:
1103         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1104         (WebKit::WebDevToolsAgent::processPendingMessages):
1105
1106 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1107
1108         Unreviewed. Rollout r82438 and r82436.
1109
1110         * src/DebuggerAgentManager.cpp:
1111         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1112         * src/WebDevToolsAgentImpl.cpp:
1113         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1114         (WebKit::WebDevToolsAgent::processPendingMessages):
1115
1116 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
1117
1118         Reviewed by Pavel Feldman.
1119
1120         Web Inspector: split debugger agent into Page and Worker-specific ones
1121         https://bugs.webkit.org/show_bug.cgi?id=57345
1122
1123         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
1124         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
1125         and Page/WorkerDebuggerAgent.
1126
1127         * src/DebuggerAgentManager.cpp:
1128         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
1129         * src/WebDevToolsAgentImpl.cpp:
1130         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1131         (WebKit::WebDevToolsAgent::processPendingMessages):
1132
1133 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1134
1135         Unreviewed, rolling out r82293.
1136         http://trac.webkit.org/changeset/82293
1137         https://bugs.webkit.org/show_bug.cgi?id=57390
1138
1139         Breaks RetrieveCSSResources (Requested by abarth|gardener on
1140         #webkit).
1141
1142         * WebKit.gyp:
1143         * src/WebPageSerializer.cpp:
1144         (WebCore::getSubResourceURLFromElement):
1145         (WebCore::retrieveResourcesForElement):
1146         (WebCore::retrieveResourcesForFrame):
1147         (WebKit::WebPageSerializer::retrieveAllResources):
1148         * tests/WebPageSerializerTest.cpp:
1149         * tests/data/pageserialization/css_test_page.html: Removed.
1150         * tests/data/pageserialization/import_style_from_link.css: Removed.
1151         * tests/data/pageserialization/import_styles.css: Removed.
1152         * tests/data/pageserialization/link_styles.css: Removed.
1153
1154 2011-03-29  Tony Chang  <tony@chromium.org>
1155
1156         Roll chromium version to r79710 to pick up libpng changes.
1157
1158         * DEPS:
1159
1160 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1161
1162         Unreviewed, rolling out r82295 and r82300.
1163         http://trac.webkit.org/changeset/82295
1164         http://trac.webkit.org/changeset/82300
1165         https://bugs.webkit.org/show_bug.cgi?id=57380
1166
1167         This patch breaks compile on Chromium (Requested by
1168         abarth|gardener on #webkit).
1169
1170         * public/WebAccessibilityRole.h:
1171         * src/AssertMatchingEnums.cpp:
1172
1173 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
1174
1175         Reviewed by Adam Barth.
1176
1177         REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
1178         https://bugs.webkit.org/show_bug.cgi?id=57377
1179
1180         Fix build errors on Chromium bots.
1181
1182         * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
1183         * src/AssertMatchingEnums.cpp: Ditto.
1184
1185 2011-03-29  Adam Barth  <abarth@webkit.org>
1186
1187         Roll Chromium DEPS
1188         https://bugs.webkit.org/show_bug.cgi?id=57361
1189
1190         * DEPS:
1191
1192 2011-03-29  Jay Civelli  <jcivelli@chromium.org>
1193
1194         Reviewed by David Levin.
1195
1196         Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
1197         https://bugs.webkit.org/show_bug.cgi?id=56650
1198
1199         * WebKit.gyp:
1200         * src/WebPageSerializer.cpp:
1201         (WebCore::getResourceAttributeForElement):
1202         (WebCore::retrieveStyleSheetForElement):
1203         (WebCore::retrieveResourcesForElement):
1204         (WebCore::retrieveResourcesForFrame):
1205         (WebCore::retrieveResourcesForCSSRule):
1206         (WebCore::retrieveResourcesForCSSStyleDeclaration):
1207         (WebCore::retrieveResourcesForCSSStyleSheet):
1208         (WebKit::WebPageSerializer::retrieveAllResources):
1209         * tests/WebPageSerializerTest.cpp:
1210         (WebKit::TestWebFrameClient::TestWebFrameClient):
1211         (WebKit::TestWebFrameClient::allowScript):
1212         (WebKit::WebPageSerializerTest::enableJS):
1213         (WebKit::WebPageSerializerTest::runOnLoad):
1214         (WebKit::TEST_F):
1215         * tests/data/pageserialization/css_test_page.html: Added.
1216         * tests/data/pageserialization/import_style_from_link.css: Added.
1217         (#divOrange):
1218         * tests/data/pageserialization/import_styles.css: Added.
1219         (#divYellow):
1220         * tests/data/pageserialization/link_styles.css: Added.
1221         (#divRed):
1222
1223 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
1224
1225         Reviewed by Pavel Feldman.
1226
1227         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1228         https://bugs.webkit.org/show_bug.cgi?id=56602
1229
1230         Added new methods to interface while keeping the old ones to keep
1231         chromium working until it is also patched.
1232
1233         * public/WebURLLoaderClient.h:
1234         (WebKit::WebURLLoaderClient::didReceiveData2):
1235         * src/AssociatedURLLoader.cpp:
1236         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1237         * src/ResourceHandle.cpp:
1238         (WebCore::ResourceHandleInternal::didReceiveData):
1239         (WebCore::ResourceHandleInternal::didReceiveData2):
1240
1241 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
1242
1243         Reviewed by Pavel Feldman.
1244
1245         Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
1246         https://bugs.webkit.org/show_bug.cgi?id=57101
1247
1248         Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
1249
1250         * public/WebDevToolsAgent.h:
1251         * src/WebDevToolsAgentImpl.cpp:
1252         * src/WebDevToolsAgentImpl.h:
1253
1254 2011-03-29  Emil A Eklund  <eae@chromium.org>
1255
1256         Reviewed by Dimitri Glazkov.
1257
1258         Relative mouse coordinates recalculated for each target
1259         https://bugs.webkit.org/show_bug.cgi?id=57130
1260
1261         * public/WebDOMMouseEvent.h:
1262         * src/WebDOMMouseEvent.cpp:
1263         (WebKit::WebDOMMouseEvent::layerX):
1264         (WebKit::WebDOMMouseEvent::layerY):
1265         (WebKit::WebDOMMouseEvent::offsetX):
1266         (WebKit::WebDOMMouseEvent::offsetY):
1267
1268 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1269
1270         Unreviewed, rolling out r82195.
1271         http://trac.webkit.org/changeset/82195
1272         https://bugs.webkit.org/show_bug.cgi?id=56602
1273
1274         Broke Chromium Clang builds.
1275
1276         * public/WebDevToolsAgent.h:
1277         * public/WebURLLoaderClient.h:
1278         * src/AssociatedURLLoader.cpp:
1279         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1280         * src/ResourceHandle.cpp:
1281         (WebCore::ResourceHandleInternal::didReceiveData):
1282         * src/WebDevToolsAgentImpl.cpp:
1283         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1284         * src/WebDevToolsAgentImpl.h:
1285
1286 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1287
1288         Unreviewed. Another build fix. The last fix was incorrect.
1289
1290         * src/ChromeClientImpl.cpp:
1291         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1292         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
1293         * src/ChromeClientImpl.h:
1294
1295 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
1296
1297         Unreviewed. Build fix for Chromium Clang bot.
1298
1299         * src/ChromeClientImpl.cpp:
1300         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
1301         * src/ChromeClientImpl.h:
1302
1303 2011-03-28  Vsevolod Vlasov  <vsevik@chromium.org>
1304
1305         Reviewed by Pavel Feldman.
1306
1307         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
1308         https://bugs.webkit.org/show_bug.cgi?id=56602
1309
1310         Added new methods to interface while keeping the old ones to keep
1311         chromium working until it is also patched.
1312
1313         * public/WebDevToolsAgent.h:
1314         * public/WebURLLoaderClient.h:
1315         (WebKit::WebURLLoaderClient::didReceiveData):
1316         * src/AssociatedURLLoader.cpp:
1317         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
1318         * src/ResourceHandle.cpp:
1319         (WebCore::ResourceHandleInternal::didReceiveData):
1320         * src/WebDevToolsAgentImpl.cpp:
1321         (WebKit::WebDevToolsAgentImpl::didReceiveData):
1322         * src/WebDevToolsAgentImpl.h:
1323
1324 2011-03-28  Tony Chang  <tony@chromium.org>
1325
1326         Reviewed by Adam Barth.
1327
1328         [chromium] have DRT write the png checksum into a png comment
1329         https://bugs.webkit.org/show_bug.cgi?id=57255
1330
1331         * DEPS: Pull in version of chromium with comment writing
1332
1333 2011-03-28  Adele Peterson  <adele@apple.com>
1334
1335         Build fix.
1336
1337         * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
1338         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
1339
1340 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
1341
1342         Not reviewed: fixed chromium build.
1343
1344         * src/WebDevToolsAgentImpl.cpp:
1345         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1346
1347 2011-03-25  Andy Estes  <aestes@apple.com>
1348
1349         Reviewed by Adele Peterson.
1350
1351         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1352         https://bugs.webkit.org/show_bug.cgi?id=49016
1353
1354         Update objectContentType() implementation to handle the
1355         shouldPreferPlugInsForImages flag.
1356
1357         * src/FrameLoaderClientImpl.cpp:
1358         (WebKit::FrameLoaderClientImpl::objectContentType):
1359         * src/FrameLoaderClientImpl.h:
1360
1361 2011-03-25  Kinuko Yasuda  <kinuko@chromium.org>
1362
1363         Reviewed by David Levin.
1364
1365         Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
1366         https://bugs.webkit.org/show_bug.cgi?id=56138
1367         Stopped passing the WorkerFileSystemCallbacksBridge's reference to
1368         MainThreadFileSystemCallbacks so that in most cases (in normal cases)
1369         its reference is only maintained by WorkerThread.
1370
1371         * src/WorkerFileSystemCallbacksBridge.cpp:
1372         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
1373         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
1374         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
1375         * src/WorkerFileSystemCallbacksBridge.h:
1376
1377 2011-03-24  John Abd-El-Malek  <jam@chromium.org>
1378
1379         Reviewed by Dimitri Glazkov.
1380
1381         [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
1382         https://bugs.webkit.org/show_bug.cgi?id=57070
1383
1384         * public/WebSpellCheckClient.h: Added.
1385         (WebKit::WebSpellCheckClient::spellCheck):
1386         (WebKit::WebSpellCheckClient::requestCheckingOfText):
1387         (WebKit::WebSpellCheckClient::autoCorrectWord):
1388         (WebKit::WebSpellCheckClient::showSpellingUI):
1389         (WebKit::WebSpellCheckClient::isShowingSpellingUI):
1390         (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
1391         (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
1392         * public/WebView.h:
1393         * public/WebViewClient.h:
1394         * src/EditorClientImpl.cpp:
1395         (WebKit::EditorClientImpl::checkSpellingOfString):
1396         (WebKit::EditorClientImpl::requestCheckingOfString):
1397         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
1398         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
1399         (WebKit::EditorClientImpl::showSpellingUI):
1400         (WebKit::EditorClientImpl::spellingUIIsShowing):
1401         * src/WebViewImpl.cpp:
1402         (WebKit::WebViewImpl::setWebDevToolsAgentClient):
1403         (WebKit::WebViewImpl::setWebAutoFillClient):
1404         (WebKit::WebViewImpl::setWebSpellCheckClient):
1405         (WebKit::WebViewImpl::WebViewImpl):
1406         * src/WebViewImpl.h:
1407         (WebKit::WebViewImpl::spellCheckClient):
1408
1409 2011-03-25  Cary Clark  <caryclark@google.com>
1410
1411         Reviewed by Dimitri Glazkov.
1412
1413         Add CGBitmapContext.h include to WebViewImpl.cpp
1414         https://bugs.webkit.org/show_bug.cgi?id=57097
1415         
1416         No tests. Exposes no new functionality.
1417
1418         * src/WebViewImpl.cpp:
1419
1420 2011-03-25  Adam Klein  <adamk@chromium.org>
1421
1422         Reviewed by David Levin.
1423
1424         [chromium] Remove deprecated overload of openFileSystem for workers
1425         https://bugs.webkit.org/show_bug.cgi?id=57062
1426
1427         * public/WebCommonWorkerClient.h:
1428
1429 2011-03-25  Chang Shu  <cshu@webkit.org>
1430
1431         Reviewed by Ryosuke Niwa.
1432
1433         rename Node::isContentEditable and all call sites to rendererIsEditable
1434         https://bugs.webkit.org/show_bug.cgi?id=54290
1435
1436         This is part of the effort to separate JS API HTMLElement isContentEditable from
1437         internal Node::rendererIsEditable.
1438
1439         * src/WebNode.cpp:
1440         (WebKit::WebNode::isContentEditable):
1441         * src/WebViewImpl.cpp:
1442         (WebKit::WebViewImpl::setFocus):
1443         (WebKit::WebViewImpl::setComposition):
1444         (WebKit::WebViewImpl::confirmComposition):
1445
1446 2011-03-25  Mikhail Naganov  <mnaganov@chromium.org>
1447
1448         Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
1449
1450         * DEPS:
1451
1452 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1453
1454         Unreviewed, rolling out r81916 and r81917.
1455         http://trac.webkit.org/changeset/81916
1456         http://trac.webkit.org/changeset/81917
1457         https://bugs.webkit.org/show_bug.cgi?id=57071
1458
1459         broke a test on platforms that do not have QuickTime installed
1460         (Requested by estes on #webkit).
1461
1462         * src/FrameLoaderClientImpl.cpp:
1463         (WebKit::FrameLoaderClientImpl::objectContentType):
1464         * src/FrameLoaderClientImpl.h:
1465
1466 2011-03-24  Min Qin  <qinmin@google.com>
1467
1468         Reviewed by James Robinson.
1469
1470         Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
1471
1472         https://bugs.webkit.org/show_bug.cgi?id=56837
1473
1474         * public/WebMediaPlayerClient.h:
1475         * src/WebMediaPlayerClientImpl.cpp:
1476         (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
1477         * src/WebMediaPlayerClientImpl.h:
1478
1479 2011-03-23  John Abd-El-Malek  <jam@chromium.org>
1480
1481         Reviewed by Tony Chang.
1482
1483         [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
1484         https://bugs.webkit.org/show_bug.cgi?id=56955
1485
1486         * DEPS:
1487         * public/WebTextCheckingResult.h:
1488
1489 2011-03-24  Bill Budge  <bbudge@chromium.org>
1490
1491         Reviewed by Eric Seidel.
1492
1493         Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
1494         https://bugs.webkit.org/show_bug.cgi?id=57064
1495
1496         No tests. Exposes no new functionality.
1497
1498         * public/WebFrame.h:
1499
1500 2011-03-24  Andy Estes  <aestes@apple.com>
1501
1502         Fix the chromium build.
1503
1504         * src/FrameLoaderClientImpl.cpp:
1505         (WebKit::FrameLoaderClientImpl::objectContentType):
1506
1507 2011-03-24  Andy Estes  <aestes@apple.com>
1508
1509         Reviewed by Darin Adler.
1510
1511         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1512         https://bugs.webkit.org/show_bug.cgi?id=49016
1513
1514         Update objectContentType() implementation to handle the
1515         shouldPreferPlugInsForImages flag.
1516
1517         * src/FrameLoaderClientImpl.cpp:
1518         (WebKit::FrameLoaderClientImpl::objectContentType):
1519         * src/FrameLoaderClientImpl.h:
1520
1521 2011-03-24  Bill Budge  <bbudge@chromium.org>
1522
1523         Reviewed by Dmitry Titov.
1524
1525         Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
1526         https://bugs.webkit.org/show_bug.cgi?id=56885
1527
1528         No new tests. Exposes no new functionality.
1529
1530         * public/WebFrame.h:
1531         * src/WebFrameImpl.cpp:
1532         (WebKit::WebFrameImpl::createAssociatedURLLoader):
1533         * src/WebFrameImpl.h:
1534
1535 2011-03-24  Sam Weinig  <sam@webkit.org>
1536
1537         Reviewed by Anders Carlsson.
1538
1539         Remove legacy version of findPlainText.
1540         https://bugs.webkit.org/show_bug.cgi?id=57056
1541
1542         * src/WebFrameImpl.cpp:
1543         (WebKit::WebFrameImpl::scopeStringMatches):
1544         Replace use of legacy findPlainText with a version that
1545         takes an options parameter.
1546
1547 2011-03-24  Nat Duca  <nduca@chromium.org>
1548
1549         Reviewed by Kenneth Russell.
1550
1551         [chromium] Add traceEvents to compositor
1552         https://bugs.webkit.org/show_bug.cgi?id=56965
1553
1554         * src/WebViewImpl.cpp:
1555         (WebKit::WebViewImpl::composite):
1556
1557 2011-03-24  Dominic Mazzoni  <dmazzoni@google.com>
1558
1559         Reviewed by Dimitri Glazkov.
1560
1561         Add accessibilityObject accessor to WebDocument (needed for
1562         building an accessibility tree that includes iframes).
1563         https://bugs.webkit.org/show_bug.cgi?id=56984
1564
1565         * public/WebDocument.h:
1566         * src/WebDocument.cpp:
1567         (WebKit::WebDocument::accessibilityObject):
1568
1569 2011-03-24  Ilya Sherman  <isherman@chromium.org>
1570
1571         Reviewed by Dimitri Glazkov.
1572
1573         Expose Node::isFocusable() in the Chromium WebKit API
1574         In service of https://code.google.com/p/chromium/issues/detail?id=72918
1575         https://bugs.webkit.org/show_bug.cgi?id=56809
1576
1577         * public/WebNode.h:
1578         * src/WebNode.cpp:
1579         (WebKit::WebNode::isFocusable):
1580
1581 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
1582
1583         Not reviewed: fix chromium compilation.
1584
1585         * public/WebDevToolsAgent.h:
1586
1587 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
1588
1589         Reviewed by Yury Semikhatsky.
1590
1591         Web Inspector: brush up Network agent API.
1592         https://bugs.webkit.org/show_bug.cgi?id=57001
1593
1594         * public/WebDevToolsAgent.h:
1595         * src/WebDevToolsAgentImpl.cpp:
1596         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
1597         (WebKit::WebDevToolsAgentImpl::willSendRequest):
1598         * src/WebDevToolsAgentImpl.h:
1599
1600 2011-03-24  Noel Gordon  <noel.gordon@gmail.com>
1601
1602         Reviewed by Ojan Vafai.
1603
1604         [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
1605         https://bugs.webkit.org/show_bug.cgi?id=56996
1606
1607         * src/WebBindings.cpp:
1608         (WebKit::getRangeImpl):
1609
1610 2011-03-23  Noel Gordon  <noel.gordon@gmail.com>
1611
1612         Reviewed by Ojan Vafai.
1613
1614         [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
1615         https://bugs.webkit.org/show_bug.cgi?id=56898
1616
1617         Address FIXME I noted/added in r81676.  Wanted to just copy/paste the checking
1618         code from elsewhere in the file, but inconsistent argument naming made it more
1619         difficult than it need be, so first step: use consistent naming.
1620
1621         * public/WebBindings.h:
1622         * src/WebBindings.cpp:
1623         (WebKit::WebBindings::construct):
1624         (WebKit::WebBindings::enumerate):
1625         (WebKit::WebBindings::evaluate):
1626         (WebKit::WebBindings::evaluateHelper):
1627         (WebKit::WebBindings::getProperty):
1628         (WebKit::WebBindings::hasMethod):
1629         (WebKit::WebBindings::hasProperty):
1630         (WebKit::WebBindings::invoke):
1631         (WebKit::WebBindings::invokeDefault):
1632         (WebKit::WebBindings::releaseObject):
1633         (WebKit::WebBindings::removeProperty):
1634         (WebKit::WebBindings::retainObject):
1635         (WebKit::WebBindings::setException):
1636         (WebKit::WebBindings::setProperty):
1637         (WebKit::WebBindings::unregisterObject):
1638         (WebKit::WebBindings::extractIdentifierData):
1639         (WebKit::getRangeImpl):
1640         (WebKit::getElementImpl):
1641         (WebKit::makeIntArrayImpl):
1642         (WebKit::WebBindings::getRange):
1643         (WebKit::WebBindings::makeIntArray):
1644
1645 2011-03-23  Jay Civelli  <jcivelli@chromium.org>
1646
1647         Reviewed by David Levin.
1648
1649         Relanding:
1650         Moving the method that is used to retrieve all the resources in
1651         a page from the Chromium code (dom_operations.cc) to WebKit.
1652         https://bugs.webkit.org/show_bug.cgi?id=55859
1653
1654         * WebKit.gyp:
1655         * public/WebPageSerializer.h:
1656         * public/WebURL.h:
1657         (WebKit::operator==):
1658         (WebKit::operator!=):
1659         * public/WebVector.h:
1660         (WebKit::WebVector::contains):
1661         * src/WebDataSourceImpl.cpp:
1662         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
1663         * src/WebPageSerializer.cpp:
1664         (WebCore::getSubResourceURLFromElement):
1665         (WebCore::retrieveResourcesForElement):
1666         (WebCore::retrieveResourcesForFrame):
1667         (WebKit::WebPageSerializer::retrieveAllResources):
1668         * tests/WebFrameTest.cpp:
1669         * tests/WebPageSerializerTest.cpp: Added.
1670         * tests/data/pageserialization/awesome.png: Added.
1671         * tests/data/pageserialization/embed_iframe.html: Added.
1672         * tests/data/pageserialization/object_iframe.html: Added.
1673         * tests/data/pageserialization/simple_iframe.html: Added.
1674         * tests/data/pageserialization/simple_page.html: Added.
1675         * tests/data/pageserialization/top_frame.html: Added.
1676
1677 2011-03-23  Kenneth Russell  <kbr@google.com>
1678
1679         Rolled forward Chromium DEPS again to fix DumpRenderTree build
1680         failure caused by r81821.
1681
1682         * DEPS:
1683
1684 2011-03-23  Kenneth Russell  <kbr@google.com>
1685
1686         Rolled forward Chromium DEPS to fix build breakage after r81821.
1687
1688         * DEPS:
1689
1690 2011-03-23  Kenneth Russell  <kbr@google.com>
1691
1692         Reviewed by James Robinson.
1693
1694         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
1695         https://bugs.webkit.org/show_bug.cgi?id=56947
1696
1697         Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
1698         now controlled exclusively through the page's Settings.
1699
1700         * public/WebRuntimeFeatures.h:
1701         * src/WebRuntimeFeatures.cpp:
1702
1703 2011-03-23  Chris Rogers  <crogers@google.com>
1704
1705         Reviewed by Kenneth Russell.
1706
1707         Add API to retrieve the audio hardware sample-rate
1708         https://bugs.webkit.org/show_bug.cgi?id=56882
1709
1710         * public/WebAudioDevice.h:
1711         * public/WebKitClient.h:
1712         (WebKit::WebKitClient::audioHardwareSampleRate):
1713         * src/AudioDestinationChromium.cpp:
1714         (WebCore::AudioDestination::hardwareSampleRate):
1715
1716 2011-03-23  Cris Neckar  <cdn@chromium.org>
1717
1718         Reviewed by Eric Seidel.
1719
1720         Add refptr for widget. Mutations can happen within the event handler.
1721         https://bugs.webkit.org/show_bug.cgi?id=56774
1722
1723         * src/WebPluginContainerImpl.cpp:
1724         (WebKit::WebPluginContainerImpl::handleEvent):
1725
1726 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
1727
1728         Reviewed by Tony Chang.
1729
1730         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
1731         https://bugs.webkit.org/show_bug.cgi?id=56868
1732
1733         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
1734         extended.
1735
1736         * public/WebClipboard.h:
1737         * src/AssertMatchingEnums.cpp:
1738
1739 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
1740
1741         Reviewed by Pavel Feldman.
1742
1743         [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
1744         https://bugs.webkit.org/show_bug.cgi?id=56916
1745
1746         * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
1747         * WebKit.grd:
1748
1749 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
1750
1751         Reviewed by Pavel Feldman.
1752
1753         [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
1754         https://bugs.webkit.org/show_bug.cgi?id=56926
1755
1756         * public/WebDevToolsAgent.h:
1757         * src/WebDevToolsAgentImpl.cpp:
1758         * src/WebDevToolsAgentImpl.h:
1759
1760 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1761
1762         Unreviewed, rolling out r81686.
1763         http://trac.webkit.org/changeset/81686
1764         https://bugs.webkit.org/show_bug.cgi?id=56914
1765
1766         Breaks webkit_tests in Chromium again. (Requested by pfeldman
1767         on #webkit).
1768
1769         * WebKit.gyp:
1770         * public/WebPageSerializer.h:
1771         * public/WebURL.h:
1772         * public/WebVector.h:
1773         (WebKit::WebVector::operator[]):
1774         * src/WebDataSourceImpl.cpp:
1775         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
1776         * src/WebPageSerializer.cpp:
1777         * tests/WebFrameTest.cpp:
1778         * tests/WebPageSerializerTest.cpp: Removed.
1779         * tests/data/pageserialization/awesome.png: Removed.
1780         * tests/data/pageserialization/embed_iframe.html: Removed.
1781         * tests/data/pageserialization/object_iframe.html: Removed.
1782         * tests/data/pageserialization/simple_iframe.html: Removed.
1783         * tests/data/pageserialization/simple_page.html: Removed.
1784         * tests/data/pageserialization/top_frame.html: Removed.
1785
1786 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
1787
1788         Reviewed by Pavel Feldman.
1789
1790         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
1791         https://bugs.webkit.org/show_bug.cgi?id=56843
1792
1793         * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
1794         * src/WebDevToolsAgentImpl.cpp:
1795         (WebKit::WebDevToolsAgentImpl::attach):
1796
1797 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
1798
1799         Reviewed by Pavel Feldman.
1800
1801         [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
1802         https://bugs.webkit.org/show_bug.cgi?id=56897
1803
1804         * public/WebDevToolsAgentClient.h:
1805
1806 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
1807
1808         Reviewed by Tony Chang.
1809
1810         [chromium] Remove identity from dragTargetDragEnter() function signature
1811         https://bugs.webkit.org/show_bug.cgi?id=56875
1812
1813         First part of 3-sided patch.  Add new function signature sans identity.
1814
1815         * public/WebView.h:
1816         * src/WebViewImpl.cpp:
1817         (WebKit::WebViewImpl::dragTargetDragEnter):
1818         * src/WebViewImpl.h:
1819
1820 2011-03-22  John Bauman  <jbauman@chromium.org>
1821
1822         Reviewed by Kenneth Russell.
1823
1824         Add support for preserveDrawingBuffer context creation attribute
1825         https://bugs.webkit.org/show_bug.cgi?id=56431
1826
1827         * src/GraphicsContext3DChromium.cpp:
1828         (WebCore::GraphicsContext3DInternal::markContextChanged):
1829         (WebCore::GraphicsContext3DInternal::markLayerComposited):
1830         (WebCore::GraphicsContext3DInternal::layerComposited):
1831         (WebCore::GraphicsContext3D::layerComposited):
1832         * src/GraphicsContext3DInternal.h:
1833
1834 2011-03-22  John Abd-El-Malek  <jam@chromium.org>
1835
1836         Reviewed by Tony Chang.
1837
1838         [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
1839         https://bugs.webkit.org/show_bug.cgi?id=56857
1840
1841         * DEPS:
1842         * public/WebTextCheckingResult.h:
1843
1844 2011-03-22  Jay Civelli  <jcivelli@chromium.org>
1845
1846         Reviewed by David Levin.
1847
1848         Relanding:
1849         Moving the method that is used to retrieve all the resources in
1850         a page from the Chromium code (dom_operations.cc) to WebKit.
1851         https://bugs.webkit.org/show_bug.cgi?id=55859
1852
1853
1854         * WebKit.gyp:
1855         * public/WebPageSerializer.h:
1856         * public/WebURL.h:
1857         (WebKit::operator==):
1858         (WebKit::operator!=):
1859         * public/WebVector.h:
1860         (WebKit::WebVector::contains):
1861         * src/WebDataSourceImpl.cpp:
1862         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
1863         * src/WebPageSerializer.cpp:
1864         (WebCore::getSubResourceURLFromElement):
1865         (WebCore::retrieveResourcesForElement):
1866         (WebCore::retrieveResourcesForFrame):
1867         (WebKit::WebPageSerializer::retrieveAllResources):
1868         * tests/WebFrameTest.cpp:
1869         * tests/WebPageSerializerTest.cpp: Added.
1870         * tests/data/pageserialization/awesome.png: Added.
1871         * tests/data/pageserialization/embed_iframe.html: Added.
1872         * tests/data/pageserialization/object_iframe.html: Added.
1873         * tests/data/pageserialization/simple_iframe.html: Added.
1874         * tests/data/pageserialization/simple_page.html: Added.
1875         * tests/data/pageserialization/top_frame.html: Added.
1876
1877 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
1878
1879         Reviewed by Tony Chang.
1880
1881         [chromium] Remove Gears from Chromium WebKit
1882         https://bugs.webkit.org/show_bug.cgi?id=56808
1883
1884         Gears has been removed from Chromium 12. Remove Gears drag drop support
1885         from WebKit. That work lead to http://webkit.org/b/25916, a proposal to
1886         add native file drag drop, and its subsequent standardization in HTML5.
1887
1888         * public/WebBindings.h:
1889         * public/WebView.h:
1890         * src/WebBindings.cpp:
1891         (WebKit::getRangeImpl): FIXME note added.
1892         * src/WebViewImpl.cpp:
1893         (WebKit::WebViewImpl::WebViewImpl):
1894         (WebKit::WebViewImpl::dragTargetDragEnter):
1895         (WebKit::WebViewImpl::dragTargetDragLeave):
1896         (WebKit::WebViewImpl::dragTargetDrop):
1897         (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
1898         * src/WebViewImpl.h:
1899
1900 2011-03-21  Adam Klein  <adamk@chromium.org>
1901
1902         Reviewed by David Levin.
1903
1904         [fileapi] Add URI resolution support to WorkerContext
1905         https://bugs.webkit.org/show_bug.cgi?id=55644
1906
1907         Pass "create" bool through to allow opening
1908         a filesystem without allowing creation.
1909
1910         * src/LocalFileSystemChromium.cpp:
1911         (WebCore::LocalFileSystem::readFileSystem):
1912         (WebCore::LocalFileSystem::requestFileSystem):
1913         * src/WebWorkerBase.cpp:
1914         (WebKit::WebWorkerBase::openFileSystemForWorker):
1915         * src/WebWorkerBase.h:
1916         * src/WorkerFileSystemCallbacksBridge.cpp:
1917         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1918         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
1919         * src/WorkerFileSystemCallbacksBridge.h:
1920
1921 2011-03-21  Ilya Sherman  <isherman@chromium.org>
1922
1923         Reviewed by James Robinson.
1924
1925         Remove WebInputElement::isEnabledFormControl() from Chromium WebKit API
1926         Clients should instead call into WebFormControlElement::isEnabled().
1927         https://bugs.webkit.org/show_bug.cgi?id=56364
1928
1929         * public/WebInputElement.h: Removed isEnabledFormControl().
1930         * src/WebInputElement.cpp: Removed isEnabledFormControl().
1931
1932 2011-03-21  Robert Kroeger  <rjkroege@chromium.org>
1933
1934         Reviewed by Antonio Gomes.
1935
1936         Flag to enable a platform specific GestureReocognizer framework in Chromium.
1937
1938         https://bugs.webkit.org/show_bug.cgi?id=49345
1939
1940         * features.gypi:
1941
1942 2011-03-21  Tony Chang  <tony@chromium.org>
1943
1944         Reviewed by Pavel Feldman.
1945
1946         [chromium] remove devtools_html's dependency on WebKit.gypi
1947         https://bugs.webkit.org/show_bug.cgi?id=56661
1948
1949         We want to depend on the values in the gypi file, not the gypi file
1950         itself.  Actually, if someone edits a gypi file, s/he should re-run
1951         gyp to pick up the new dependencies.
1952
1953         It turns out that this doesn't matter much for this target anymore
1954         since we pull the .js dependencies from the inspector html file.
1955
1956         * WebKit.gyp: cleanup dependencies
1957         * scripts/generate_devtools_html.py: remove unused param
1958
1959 2011-03-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1960
1961         Unreviewed, rolling out r81377.
1962         http://trac.webkit.org/changeset/81377
1963         https://bugs.webkit.org/show_bug.cgi?id=56765
1964
1965         WebPageSerializerTest.MultipleFrames is broken (Requested by
1966         simonjam on #webkit).
1967
1968         * WebKit.gyp:
1969         * public/WebPageSerializer.h:
1970         * public/WebURL.h:
1971         * public/WebVector.h:
1972         (WebKit::WebVector::operator[]):
1973         * src/WebDataSourceImpl.cpp:
1974         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
1975         * src/WebPageSerializer.cpp:
1976         * tests/WebFrameTest.cpp:
1977         * tests/WebPageSerializerTest.cpp: Removed.
1978         * tests/data/pageserialization/awesome.png: Removed.
1979         * tests/data/pageserialization/embed_iframe.html: Removed.
1980         * tests/data/pageserialization/object_iframe.html: Removed.
1981         * tests/data/pageserialization/simple_iframe.html: Removed.
1982         * tests/data/pageserialization/simple_page.html: Removed.
1983         * tests/data/pageserialization/top_frame.html: Removed.
1984
1985 2011-03-21  Daniel Sievers  <sievers@google.com>
1986
1987         Reviewed by Simon Fraser.
1988
1989         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
1990         https://bugs.webkit.org/show_bug.cgi?id=56139
1991
1992         * public/WebFrame.h:
1993         * src/WebFrameImpl.cpp:
1994         (WebKit::WebFrameImpl::renderTreeAsText):
1995         (WebKit::WebFrameImpl::layerTreeAsText):
1996         * src/WebFrameImpl.h:
1997
1998 2011-03-21  Eric Uhrhane <ericu@chromium.org>
1999
2000         Reviewed by David Levin.
2001
2002         [fileapi/chromium] Fetch platform path using GetMetadata before creating File from FileEntry*
2003         https://bugs.webkit.org/show_bug.cgi?id=56704
2004
2005         * src/WebFileSystemCallbacksImpl.cpp:
2006         (WebFileSystemCallbacksImpl::didReadMetadata)
2007         Pass new platformPath member through.
2008
2009         * src/WorkerFileSystemCallbacksBridge.cpp:
2010         (CrossThreadCopierBase)
2011         Copy new platformPath member.
2012
2013         * public/WebFileInfo.h:
2014         (struct WebFileInfo)
2015         Add new platformPath member.
2016
2017 2011-03-21  Leandro Gracia Gil  <leandrogracia@chromium.org>
2018
2019         Reviewed by Steve Block.
2020
2021         Media Stream API patch 0: adding compilation guards.
2022         https://bugs.webkit.org/show_bug.cgi?id=56458
2023
2024         Enabling the feature by default for chromium builds.
2025
2026         * features.gypi:
2027
2028 2011-03-21  Vsevolod Vlasov  <vsevik@chromium.org>
2029
2030         Reviewed by Pavel Feldman.
2031
2032         Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
2033         https://bugs.webkit.org/show_bug.cgi?id=56691
2034
2035         Added transfer size support in inspector for compressed data.
2036
2037         * src/ResourceHandle.cpp:
2038         (WebCore::ResourceHandleInternal::didReceiveData):
2039         * src/WebDevToolsAgentImpl.cpp:
2040         (WebKit::WebDevToolsAgentImpl::didReceiveData):
2041
2042 2011-03-20  Bill Budge  <bbudge@chromium.org>
2043
2044         Reviewed by Adam Barth.
2045
2046         Rename ThreadSafeShared to ThreadSafeRefCounted
2047         https://bugs.webkit.org/show_bug.cgi?id=56714
2048
2049         No new tests. Exposes no new functionality.
2050
2051         * src/PlatformMessagePortChannel.h:
2052         * src/WebWorkerBase.cpp:
2053         * src/WorkerFileSystemCallbacksBridge.h:
2054         * src/WorkerFileWriterCallbacksBridge.h:
2055
2056 2011-03-18  Tony Chang  <tony@chromium.org>
2057
2058         Reviewed by Eric Seidel.
2059
2060         [chromium] make devtool concatenation targets conditional based on debug_devtools
2061         https://bugs.webkit.org/show_bug.cgi?id=56667
2062
2063         We don't want to run these targets when debug_devtools=1 because it
2064         will overwrite the devtools.js and devtools.css files copied by
2065         inspector_resources.  On Linux, this triggers a warning because
2066         there are two commands that target the same output file when
2067         debug_devtools=1.
2068
2069         I also removed the 'sources' lines since I don't think they do
2070         anything for actions.
2071
2072         * WebKit.gyp:
2073
2074 2011-03-17  Alexey Marinichev  <amarinichev@chromium.org>
2075
2076         Reviewed by Kenneth Russell.
2077
2078         chromium: uninitialized field in WebViewImpl
2079         https://bugs.webkit.org/show_bug.cgi?id=56620
2080
2081         * src/WebViewImpl.cpp:
2082         (WebKit::WebViewImpl::WebViewImpl):
2083
2084 2011-03-17  Adrienne Walker  <enne@google.com>
2085
2086         Reviewed by James Robinson.
2087
2088         [chromium] Turn off accelerated compositing for RTL style pages.
2089         https://bugs.webkit.org/show_bug.cgi?id=56585
2090
2091         * src/WebViewImpl.cpp:
2092         (WebKit::WebViewImpl::layout):
2093         (WebKit::WebViewImpl::pageHasRTLStyle):
2094         (WebKit::WebViewImpl::setRootGraphicsLayer):
2095         * src/WebViewImpl.h:
2096
2097 2011-03-17  Jay Civelli  <jcivelli@chromium.org>
2098
2099         Reviewed by David Levin.
2100
2101         Moving the method that is used to retrieve all the resources in
2102         a page from the Chromium code (dom_operations.cc) to WebKit.
2103         https://bugs.webkit.org/show_bug.cgi?id=55859
2104
2105         * WebKit.gyp:
2106         * public/WebPageSerializer.h:
2107         * public/WebURL.h:
2108         (WebKit::operator==):
2109         (WebKit::operator!=):
2110         * public/WebVector.h:
2111         (WebKit::WebVector::contains):
2112         * src/WebDataSourceImpl.cpp:
2113         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
2114         * src/WebPageSerializer.cpp:
2115         (WebCore::getSubResourceURLFromElement):
2116         (WebCore::retrieveResourcesForElement):
2117         (WebCore::retrieveResourcesForFrame):
2118         (WebKit::WebPageSerializer::retrieveAllResources):
2119         * tests/WebFrameTest.cpp:
2120         * tests/WebPageSerializerTest.cpp: Added.
2121         * tests/data/pageserialization: Added.
2122         * tests/data/pageserialization/awesome.png: Added.
2123         * tests/data/pageserialization/embed_iframe.html: Added.
2124         * tests/data/pageserialization/object_iframe.html: Added.
2125         * tests/data/pageserialization/simple_iframe.html: Added.
2126         * tests/data/pageserialization/simple_page.html: Added.
2127         * tests/data/pageserialization/top_frame.html: Added.
2128
2129 2011-03-17  Tony Chang  <tony@chromium.org>
2130
2131         Reviewed by Pavel Feldman.
2132
2133         [chromium] don't concatenate devtools files when debug_devtools=1
2134         https://bugs.webkit.org/show_bug.cgi?id=56572
2135
2136         * WebKit.gyp:
2137
2138 2011-03-17  Tony Chang  <tony@chromium.org>
2139
2140         Reviewed by Eric Seidel.
2141
2142         [chromium] minor cleanup of devtools_files variable in WebKit.gyp
2143         https://bugs.webkit.org/show_bug.cgi?id=56503
2144
2145         * WebKit.gyp: Moving duplicate variables out of a condition.
2146
2147 2011-03-16  Adam Barth  <abarth@webkit.org>
2148
2149         Reviewed by James Robinson.
2150
2151         Remove USE(BUILTIN_UTF8_CODEC)
2152         https://bugs.webkit.org/show_bug.cgi?id=56508
2153
2154         * features.gypi:
2155
2156 2011-03-16  Tony Chang  <tony@chromium.org>
2157
2158         Reviewed by Adam Barth.
2159
2160         [chromium] include inspector gif files in the list of resources
2161         https://bugs.webkit.org/show_bug.cgi?id=56504
2162
2163         * scripts/generate_devtools_grd.py:
2164
2165 2011-03-16  Bill Budge  <bbudge@chromium.org>
2166
2167         Reviewed by David Levin.
2168
2169         AssociatedURLLoader does not support Cross Origin Requests
2170         https://bugs.webkit.org/show_bug.cgi?id=53925
2171
2172         No new tests. Exposes no new functionality.
2173
2174         * public/WebURLLoader.h:
2175         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2176         * src/AssociatedURLLoader.cpp:
2177         (WebKit::AssociatedURLLoader::ClientAdapter::isDocumentThreadableLoaderClient):
2178         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2179         (WebKit::AssociatedURLLoader::ClientAdapter::create):
2180         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2181         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2182         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2183         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2184         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2185         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2186         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2187         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2188         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2189         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2190         (WebKit::AssociatedURLLoader::loadSynchronously):
2191         (WebKit::AssociatedURLLoader::loadAsynchronously):
2192         (WebKit::AssociatedURLLoader::cancel):
2193         (WebKit::AssociatedURLLoader::setDefersLoading):
2194         * src/AssociatedURLLoader.h:
2195
2196 2011-03-16  Adam Barth  <abarth@webkit.org>
2197
2198         Roll Chromium DEPS.
2199
2200         * DEPS:
2201
2202 2011-03-16  Daniel Sievers  <sievers@google.com>
2203
2204         Reviewed by James Robinson.
2205
2206         Add setting to always force compositing mode
2207         https://bugs.webkit.org/show_bug.cgi?id=56156
2208
2209         * public/WebSettings.h:
2210         * src/WebSettingsImpl.cpp:
2211         (WebKit::WebSettingsImpl::setForceCompositingMode):
2212         * src/WebSettingsImpl.h:
2213
2214 2011-03-16  Sreeram Ramachandran  <sreeram@google.com>
2215
2216         Reviewed by Dimitri Glazkov.
2217
2218         Revert of r80451. Decided to do this in WebCore instead.
2219         https://bugs.webkit.org/show_bug.cgi?id=55844
2220
2221         * public/WebFrame.h:
2222         * src/WebFrameImpl.cpp:
2223         * src/WebFrameImpl.h:
2224
2225 2011-03-15  Ilya Sherman  <isherman@chromium.org>
2226
2227         Reviewed by Darin Fisher.
2228
2229         Move isReadOnly() from WebInputElement to WebFormControlElement
2230         https://bugs.webkit.org/show_bug.cgi?id=55760
2231
2232         * public/WebFormControlElement.h:
2233         * public/WebInputElement.h:
2234         * src/WebFormControlElement.cpp:
2235         (WebKit::WebFormControlElement::isReadOnly):
2236         * src/WebInputElement.cpp:
2237
2238 2011-03-15  John Bauman  <jbauman@chromium.org>
2239
2240         Reviewed by Kenneth Russell.
2241
2242         Non-premultiplied-alpha canvas attribute is ignore for toDataURL, drawImage, texImage2D
2243         https://bugs.webkit.org/show_bug.cgi?id=56238
2244
2245         Add support for reading a webgl context into an ImageData.
2246
2247         * src/GraphicsContext3DChromium.cpp:
2248         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2249         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToImageData):
2250         * src/GraphicsContext3DInternal.h:
2251
2252 2011-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2253
2254         Unreviewed, rolling out r81144.
2255         http://trac.webkit.org/changeset/81144
2256         https://bugs.webkit.org/show_bug.cgi?id=56432
2257
2258         It broke the ui test
2259         NPAPITesterBase.GetURLRedirectNotification. (Requested by
2260         dave_levin on #webkit).
2261
2262         * public/WebURLLoader.h:
2263         * src/AssociatedURLLoader.cpp:
2264         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2265         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2266         (WebKit::AssociatedURLLoader::loadSynchronously):
2267         (WebKit::AssociatedURLLoader::loadAsynchronously):
2268         (WebKit::AssociatedURLLoader::cancel):
2269         (WebKit::AssociatedURLLoader::setDefersLoading):
2270         (WebKit::AssociatedURLLoader::prepareRequest):
2271         (WebKit::AssociatedURLLoader::willSendRequest):
2272         (WebKit::AssociatedURLLoader::didSendData):
2273         (WebKit::AssociatedURLLoader::didReceiveResponse):
2274         (WebKit::AssociatedURLLoader::didDownloadData):
2275         (WebKit::AssociatedURLLoader::didReceiveData):
2276         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2277         (WebKit::AssociatedURLLoader::didFinishLoading):
2278         (WebKit::AssociatedURLLoader::didFail):
2279         * src/AssociatedURLLoader.h:
2280
2281 2011-03-15  Tony Chang  <tony@chromium.org>
2282
2283         Reviewed by Adam Barth.
2284
2285         pngcrush images used by inspector
2286         https://bugs.webkit.org/show_bug.cgi?id=56426
2287
2288         This saves 120k in WebCore and 8k in WebKit/chromium.  I ran
2289         pngcrush -brute, so none of the meta data (ancillary chunks)
2290         are modified.
2291
2292         * src/js/Images/segmentChromium.png:
2293         * src/js/Images/segmentHoverChromium.png:
2294         * src/js/Images/segmentHoverEndChromium.png:
2295         * src/js/Images/segmentSelectedChromium.png:
2296         * src/js/Images/segmentSelectedEndChromium.png:
2297         * src/js/Images/statusbarBackgroundChromium.png:
2298         * src/js/Images/statusbarBottomBackgroundChromium.png:
2299         * src/js/Images/statusbarMenuButtonChromium.png:
2300         * src/js/Images/statusbarMenuButtonSelectedChromium.png:
2301
2302 2011-03-15  Michael Nordman  <michaeln@google.com>
2303
2304         Reviewed by Alexey Proskuryakov.
2305
2306         When initiating a main resource load, let the application cache
2307         know which frame the load is being conducted for. This patch doesn't
2308         resolve the following bug, but the additional WebFrame parameter
2309         should provide the chromium port with enough info to pick the
2310         "most appropiate" cached resource.
2311         https://bugs.webkit.org/show_bug.cgi?id=55505
2312
2313         Also fixup a stale comment in stopLoadingInFrame.
2314
2315         * public/WebApplicationCacheHost.h:
2316         (WebKit::WebApplicationCacheHost::willStartMainResourceRequest):
2317         * src/ApplicationCacheHost.cpp:
2318         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
2319         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
2320
2321 2011-03-15  Tony Chang  <tony@chromium.org>
2322
2323         Reviewed by Adam Barth.
2324
2325         [chromium] add a build target to create a grd file with devtool resources
2326         https://bugs.webkit.org/show_bug.cgi?id=56335
2327
2328         Reland with a fix to avoid really long command lines on Windows.
2329
2330         * WebKit.gyp:
2331         * scripts/generate_devtools_grd.py: Added.
2332
2333 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
2334
2335         Reviewed by James Robinson.
2336
2337         Valgrind error due to uninitialized PluginLayerChromium::m_textureId
2338         https://bugs.webkit.org/show_bug.cgi?id=56390
2339
2340         * src/WebPluginContainerImpl.cpp:
2341         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2342         (WebKit::WebPluginContainerImpl::platformLayer):
2343
2344 2011-03-15  Brett Wilson  <brettw@chromium.org>
2345
2346         Reviewed by Adam Barth.
2347
2348         Make WebConsoleMessage properly respect the log level.
2349         https://bugs.webkit.org/show_bug.cgi?id=56386
2350
2351         * public/WebConsoleMessage.h:
2352         (WebKit::WebConsoleMessage::WebConsoleMessage):
2353
2354 2011-03-15  Tony Chang  <tony@chromium.org>
2355
2356         Revert r81147 and r81149, broke the chromium win build.
2357
2358         * WebKit.gyp:
2359         * scripts/generate_devtools_grd.py: Removed.
2360
2361 2011-03-15  Tony Chang  <tony@chromium.org>
2362
2363         Fix chromium build using python 2.5 (with statement).
2364
2365         * scripts/generate_devtools_grd.py:
2366
2367 2011-03-15  Tony Chang  <tony@chromium.org>
2368
2369         Reviewed by Adam Barth.
2370
2371         [chromium] add a build target to create a grd file with devtool resources
2372         https://bugs.webkit.org/show_bug.cgi?id=56335
2373
2374         This is the webkit side of the fix for
2375         http://code.google.com/p/chromium/issues/detail?id=35793
2376
2377         * WebKit.gyp:
2378         * scripts/generate_devtools_grd.py: Added.
2379
2380 2011-03-15  Bill Budge  <bbudge@chromium.org>
2381
2382         Reviewed by David Levin.
2383
2384         AssociatedURLLoader does not support Cross Origin Requests
2385         https://bugs.webkit.org/show_bug.cgi?id=53925
2386
2387         No new tests. No new functionality exposed.
2388
2389         * public/WebURLLoader.h:
2390         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2391         * src/AssociatedURLLoader.cpp:
2392         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2393         (WebKit::AssociatedURLLoader::ClientAdapter::create):
2394         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2395         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2396         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2397         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2398         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2399         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2400         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2401         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2402         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2403         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2404         (WebKit::AssociatedURLLoader::loadSynchronously):
2405         (WebKit::AssociatedURLLoader::loadAsynchronously):
2406         (WebKit::AssociatedURLLoader::cancel):
2407         (WebKit::AssociatedURLLoader::setDefersLoading):
2408         * src/AssociatedURLLoader.h:
2409
2410 2011-03-15  Alok priyadarshi  <alokp@chromium.org>
2411
2412         Reviewed by James Robinson.
2413
2414         Remove unnecessary function WebPlugin::getBackingTextureId
2415         https://bugs.webkit.org/show_bug.cgi?id=56122
2416
2417         It will be tested by Pepper2D and Pepper3D layout/smoke tests
2418         on the Chromium side.
2419
2420         * public/WebPlugin.h:
2421         * src/WebPluginContainerImpl.cpp:
2422         (WebKit::WebPluginContainerImpl::platformLayer):
2423
2424 2011-03-15  Mikhail Naganov  <mnaganov@chromium.org>
2425
2426         Unreviewed. Update chromium deps to pick up the latest V8.
2427
2428         * DEPS:
2429
2430 2011-03-14  Alexey Marinichev  <amarinichev@chromium.org>
2431
2432         Reviewed by Kenneth Russell.
2433
2434         Graphics Context is not properly recovered if the GPU process dies.
2435         https://bugs.webkit.org/show_bug.cgi?id=56148
2436
2437         Split context recreation into two steps.
2438
2439         * src/WebViewImpl.cpp:
2440         (WebKit::WebViewImpl::composite):
2441         (WebKit::WebViewImpl::doComposite):
2442         (WebKit::WebViewImpl::reallocateRenderer):
2443         * src/WebViewImpl.h:
2444
2445 2011-03-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2446
2447         Unreviewed, rolling out r81094.
2448         http://trac.webkit.org/changeset/81094
2449         https://bugs.webkit.org/show_bug.cgi?id=56355
2450
2451         Broke the chromium DRT related build. (Requested by dave_levin
2452         on #webkit).
2453
2454         * public/WebFrame.h:
2455         * src/WebFrameImpl.cpp:
2456         (WebKit::WebFrameImpl::renderTreeAsText):
2457         (WebKit::WebFrameImpl::layerTreeAsText):
2458         * src/WebFrameImpl.h:
2459
2460 2011-03-14  Daniel Sievers  <sievers@google.com>
2461
2462         Reviewed by Simon Fraser.
2463
2464         [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
2465         https://bugs.webkit.org/show_bug.cgi?id=56139
2466
2467         * public/WebFrame.h:
2468         * src/WebFrameImpl.cpp:
2469         (WebKit::WebFrameImpl::renderTreeAsText):
2470         (WebKit::WebFrameImpl::layerTreeAsText):
2471         * src/WebFrameImpl.h:
2472
2473 2011-03-14  John Knottenbelt  <jknotten@chromium.org>
2474
2475         Reviewed by Steve Block.
2476
2477         Detach Geolocation from Frame when Page destroyed.
2478         https://bugs.webkit.org/show_bug.cgi?id=52877
2479
2480         Add accessors to the WebGeolocationClientMock to allow the number of
2481         pending geolocation permission requests to be queried.
2482
2483         * public/WebGeolocationClientMock.h:
2484         * src/WebGeolocationClientMock.cpp:
2485         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
2486
2487 2011-03-11  David Levin  <levin@chromium.org>
2488
2489         Rollout the chromium deps roll as it adds a dependency on a header
2490         that the bots building for WebKit don't seem to have.
2491
2492         Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
2493
2494         * DEPS:
2495
2496 2011-03-11  Daniel Cheng  <dcheng@chromium.org>
2497
2498         Reviewed by Tony Chang.
2499
2500         [chromium] Correct return type of WebClipboard::readImage.
2501         https://bugs.webkit.org/show_bug.cgi?id=56234
2502
2503         Update the return type to reflect that we are returning a blob of PNG
2504         data, not a bitmap.
2505
2506         * public/WebClipboard.h:
2507         (WebKit::WebClipboard::readImage):
2508
2509 2011-03-11  David Levin  <levin@chromium.org>
2510
2511         Update chromium deps to pick up the skia roll.
2512
2513         * DEPS:
2514
2515 2011-03-11  Adrienne Walker  <enne@google.com>
2516
2517         Reviewed by Kenneth Russell.
2518
2519         Add missing unit tests to TilingData.
2520         https://bugs.webkit.org/show_bug.cgi?id=54143
2521
2522         * tests/TilingDataTest.cpp:
2523         (WebCore::TEST):
2524
2525 2011-03-11  Anton D'Auria  <adauria@apple.com>
2526
2527         Reviewed and landed by Brady Eidson.
2528
2529         Add WebKit1 API to view and delete local storage
2530         https://bugs.webkit.org/show_bug.cgi?id=51878
2531
2532         * src/StorageNamespaceProxy.cpp:
2533         (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
2534         (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
2535         (WebCore::StorageNamespaceProxy::sync):
2536         * src/StorageNamespaceProxy.h:
2537
2538 2011-03-11  Dominic Mazzoni  <dmazzoni@google.com>
2539
2540         Reviewed by Dimitri Glazkov.
2541
2542         Add an accessibilityIsIgnored method to WebAccessibilityObject.
2543         https://bugs.webkit.org/show_bug.cgi?id=50969
2544
2545         * public/WebAccessibilityObject.h:
2546         * src/WebAccessibilityObject.cpp:
2547         (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
2548
2549 2011-03-11  Avi Drissman  <avi@google.com>
2550
2551         Reviewed by Tony Chang.
2552
2553         Fix missing initialization of new member variables.
2554         https://bugs.webkit.org/show_bug.cgi?id=50969
2555
2556         * public/WebMenuItemInfo.h:
2557         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
2558
2559 2011-03-11  Roland Steiner  <rolandsteiner@chromium.org>
2560
2561         Reviewed by Ryosuke Niwa.
2562
2563         Bug 55570 - Remove dependency of dom/InputElement.cpp on html/ and wml/
2564         https://bugs.webkit.org/show_bug.cgi?id=55570
2565
2566         Add a virtual function toInputElement() to Node that has a default
2567         implementation of returning 0.
2568         For HTMLInputElement and WMLInputElement (which derive from InputElement)
2569         override this to return the object.
2570         Change all calling sites of the old toInputElement to use the new member
2571         function. This also allows us to save some casts.
2572
2573         No new tests (refactoring).
2574
2575         * src/WebInputElement.cpp:
2576         (WebKit::toWebInputElement):
2577
2578 2011-03-10  Takayoshi Kochi  <kochi@chromium.org>
2579
2580         Reviewed by Tony Chang.
2581
2582         Remove default parameter declaration for familiForChars(), which is no longer necessary.
2583
2584         * public/gtk/WebFontInfo.h:
2585
2586 2011-03-10  Nat Duca  <nduca@chromium.org>
2587
2588         Reviewed by James Robinson.
2589
2590         [chromium] Make updateAndDrawLayers argumentless.
2591         https://bugs.webkit.org/show_bug.cgi?id=55985
2592
2593         Made the TilePainters and viewport parameters for
2594         LayerRendererChromium member variables instead of arguments on
2595         updateAndDrawLayers. In a future change, this will allows us to
2596         draw the layer tree without the WebView's assistance.
2597
2598         * src/WebViewImpl.cpp:
2599         (WebKit::WebViewImpl::resize):
2600         (WebKit::WebViewImpl::paint):
2601         (WebKit::WebViewImpl::scrollRootLayerRect):
2602         (WebKit::WebViewImpl::invalidateRootLayerRect):
2603         (WebKit::WebViewImplContentPainter::create):
2604         (WebKit::WebViewImplContentPainter::paint):
2605         (WebKit::WebViewImplContentPainter::WebViewImplContentPainter):
2606         (WebKit::WebViewImplScrollbarPainter::create):
2607         (WebKit::WebViewImplScrollbarPainter::paint):
2608         (WebKit::WebViewImplScrollbarPainter::WebViewImplScrollbarPainter):
2609         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2610         (WebKit::WebViewImpl::doComposite):
2611         (WebKit::WebViewImpl::reallocateRenderer):
2612         (WebKit::WebViewImpl::updateLayerRendererViewport):
2613         * src/WebViewImpl.h:
2614
2615 2011-03-10  Tony Chang  <tony@chromium.org>
2616
2617         Unreviewed, roll chromium version to r77259 to pick up
2618         webfontinfo api change.
2619
2620         * DEPS:
2621
2622 2011-03-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2623
2624         Unreviewed, rolling out r80701.
2625         http://trac.webkit.org/changeset/80701
2626         https://bugs.webkit.org/show_bug.cgi?id=56126
2627
2628         fast/dom/Geolocation/window-close-crash.html fails on Snow
2629         Leopard release builds (Requested by mihaip on #webkit).
2630
2631         * public/WebGeolocationClientMock.h:
2632         * src/WebGeolocationClientMock.cpp:
2633
2634 2011-03-10  Andrey Kosyakov  <caseq@chromium.org>
2635
2636         Reviewed by Yury Semikhatsky.
2637
2638         Web Inspector: better names for HAR export commands
2639         https://bugs.webkit.org/show_bug.cgi?id=56097
2640
2641         Rename Export to HAR to Copy entry/network log as HAR
2642         Expose Copy as HAR unconditionally, remove related settings entry.
2643
2644         * src/js/DevTools.js: removed override for resourceExportEnabled
2645
2646 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
2647
2648         Reviewed by Dmitry Titov.
2649
2650         Detach Geolocation from Frame when Page destroyed.
2651         https://bugs.webkit.org/show_bug.cgi?id=52877
2652
2653         Add accessors to the WebGeolocationClientMock to allow the number of
2654         pending geolocation permission requests to be queried.
2655
2656         * public/WebGeolocationClientMock.h:
2657         * src/WebGeolocationClientMock.cpp:
2658         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
2659
2660 2011-03-08  Hans Wennborg  <hans@chromium.org>
2661
2662         Reviewed by Jeremy Orlow.
2663
2664         IndexedDB: Add BackingStoreType parameter to IDBFactoryBackendInterface::open
2665         https://bugs.webkit.org/show_bug.cgi?id=55948
2666
2667         Add a parameter that allows for selection of alternative backing store
2668         implementations.
2669
2670         * public/WebIDBFactory.h:
2671         (WebKit::WebIDBFactory::open):
2672         * src/AssertMatchingEnums.cpp:
2673         * src/IDBFactoryBackendProxy.cpp:
2674         (WebCore::IDBFactoryBackendProxy::open):
2675         * src/IDBFactoryBackendProxy.h:
2676         * src/WebIDBFactoryImpl.cpp:
2677         (WebKit::WebIDBFactoryImpl::open):
2678         * src/WebIDBFactoryImpl.h:
2679
2680 2011-03-08  Kinuko Yasuda  <kinuko@chromium.org>
2681
2682         Reviewed by David Levin.
2683
2684         Destroying WorkerFileSystemCallbacksBridge on main thread results in ASSERT in WorkerContext::Observer::~Observer
2685         https://bugs.webkit.org/show_bug.cgi?id=55895
2686
2687         * src/WorkerFileSystemCallbacksBridge.cpp:
2688         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnWorkerThread):
2689         Added stopObserving() so that releasing the bridge on the main thread
2690         (this could happen before or after the runTaskOnWorkerThread) does
2691         not cause the assertion error.
2692
2693 2011-03-08  Alok priyadarshi  <alokp@chromium.org>
2694
2695         Reviewed by Dimitri Glazkov.
2696
2697         Plugins needs a way to trigger style recalc
2698         https://bugs.webkit.org/show_bug.cgi?id=55242
2699
2700         It will be tested by Pepper2D and Pepper3D layout/smoke tests
2701         on the Chromium side.
2702         
2703         * public/WebPluginContainer.h:
2704         * src/WebPluginContainerImpl.cpp:
2705         (WebKit::WebPluginContainerImpl::setBackingTextureId):
2706         * src/WebPluginContainerImpl.h:
2707
2708 2011-03-08  Andrei Popescu  <andreip@google.com>
2709
2710         Reviewed by Steve Block.
2711
2712         IDBCallbacks::onsuccess(IDBIndex*) is unused and should be removed.
2713         https://bugs.webkit.org/show_bug.cgi?id=55938
2714
2715         * public/WebIDBCallbacks.h:
2716         * src/IDBCallbacksProxy.cpp:
2717         * src/IDBCallbacksProxy.h:
2718         * src/WebIDBCallbacksImpl.cpp:
2719         * src/WebIDBCallbacksImpl.h:
2720         * src/WebIDBObjectStoreImpl.cpp:
2721
2722 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
2723
2724         Reviewed by David Levin.
2725
2726         Add support for DataTransferItems
2727         https://bugs.webkit.org/show_bug.cgi?id=55115
2728
2729         Add new runtime enabled flag for data transfer items feature.
2730
2731         * public/WebRuntimeFeatures.h:
2732         * src/WebRuntimeFeatures.cpp:
2733         (WebKit::WebRuntimeFeatures::enableDataTransferItems):
2734         (WebKit::WebRuntimeFeatures::isDataTransferItemsEnabled):
2735
2736 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
2737
2738         Chromium build fix.
2739
2740         * src/ContextMenuClientImpl.cpp:
2741         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2742
2743 2011-03-07  Ryosuke Niwa  <rniwa@webkit.org>
2744
2745         Reviewed by Darin Adler.
2746
2747         selectionHasStyle and selectionStartHasStyle should use EditingStyle
2748         https://bugs.webkit.org/show_bug.cgi?id=55902
2749
2750         selectionHasStyle now takes a property id and a value instead of a CSSMutableStyleDeclaration.
2751
2752         * src/ContextMenuClientImpl.cpp:
2753         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): Calls selectionHasStyle.
2754
2755 2011-03-07  Daniel Cheng  <dcheng@chromium.org>
2756
2757         Reviewed by Tony Chang.
2758
2759         Add plumbing for paste support to ChromiumDataObject::types()
2760         https://bugs.webkit.org/show_bug.cgi?id=55792
2761
2762         This requires a DEPS roll for a Chromium-side change to support DRT testing of
2763         event.dataTransfer.types.
2764
2765         * DEPS:
2766
2767 2011-03-07  Takayoshi Kochi  <kochi@chromium.org>
2768
2769         Reviewed by Tony Chang.
2770
2771         Use preferred locale information when choosing fallback font using
2772         fontconfig on Linux platform.
2773         https://bugs.webkit.org/show_bug.cgi?id=55453
2774
2775         Tests will be covered by Chromium side.
2776
2777         * public/gtk/WebFontInfo.h:
2778         (WebKit::WebFontInfo::familyForChars): added 3rd parameter |preferredLocale|
2779         * public/linux/WebSandboxSupport.h:
2780         (WebKit::WebSandboxSupport::getFontFamilyForCharacters): added 3rd parameter |preferredLocale|
2781         * src/PlatformBridge.cpp:
2782         * src/gtk/WebFontInfo.cpp:
2783
2784 2011-03-07  James Robinson  <jamesr@chromium.org>
2785
2786         Reviewed by Kenneth Russell.
2787
2788         [chromium] Separate the &quot;update&quot; and &quot;draw&quot; portions of LayerRendererChromium&apos;s drawLayers function
2789         https://bugs.webkit.org/show_bug.cgi?id=54047
2790
2791         Call updated LayerRendererChromium APIs.
2792
2793         * src/WebViewImpl.cpp:
2794         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2795         (WebKit::WebViewImpl::paint):
2796         (WebKit::WebViewImpl::doComposite):
2797
2798 2011-03-07  Sam Weinig  <sam@webkit.org>
2799
2800         Reviewed by Anders Carlsson.
2801
2802         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
2803         https://bugs.webkit.org/show_bug.cgi?id=55827
2804
2805         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
2806         and pass the entire response, instead of just the MIMEType.
2807
2808         * src/FrameLoaderClientImpl.cpp:
2809         (WebKit::FrameLoaderClientImpl::dispatchDecidePolicyForResponse):
2810         * src/FrameLoaderClientImpl.h:
2811
2812 2011-03-07  Marcus Bulach  <bulach@chromium.org>
2813
2814         Reviewed by Dan Bernstein.
2815
2816         WebViewImpl::focusedWebCoreFrame() should be const.
2817         https://bugs.webkit.org/show_bug.cgi?id=55870
2818
2819         * src/WebViewImpl.cpp:
2820         (WebKit::WebViewImpl::focusedWebCoreFrame):
2821         * src/WebViewImpl.h:
2822
2823 2011-03-07  Eric Carlson  <eric.carlson@apple.com>
2824
2825         Reviewed by Darin Adler.
2826
2827         Add API to enumerate/delete files downloaded for <audio> and <video>
2828         https://bugs.webkit.org/show_bug.cgi?id=55267
2829
2830         * src/WebMediaPlayerClientImpl.cpp:
2831         (WebKit::WebMediaPlayerClientImpl::registerSelf): Update for MediaEngineRegistrar change.
2832
2833 2011-03-07  Andrei Popescu  <andreip@google.com>
2834
2835         Reviewed by Steve Block.
2836
2837         IDBRequest::onSuccess(IDBObjectStore*) should be removed as it is unused.
2838         https://bugs.webkit.org/show_bug.cgi?id=55777
2839
2840         * src/IDBCallbacksProxy.cpp:
2841         * src/IDBCallbacksProxy.h:
2842         * src/WebIDBCallbacksImpl.cpp:
2843         * src/WebIDBCallbacksImpl.h:
2844
2845 2011-03-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2846
2847         Unreviewed, rolling out r80458.
2848         http://trac.webkit.org/changeset/80458
2849         https://bugs.webkit.org/show_bug.cgi?id=55863
2850
2851         caused tests to crash on several chromium bots (Requested by
2852         ukai on #webkit).
2853
2854         * src/AssociatedURLLoader.cpp:
2855         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2856         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2857         (WebKit::AssociatedURLLoader::loadSynchronously):
2858         (WebKit::AssociatedURLLoader::loadAsynchronously):
2859         (WebKit::AssociatedURLLoader::cancel):
2860         (WebKit::AssociatedURLLoader::setDefersLoading):
2861         (WebKit::AssociatedURLLoader::prepareRequest):
2862         (WebKit::AssociatedURLLoader::willSendRequest):
2863         (WebKit::AssociatedURLLoader::didSendData):
2864         (WebKit::AssociatedURLLoader::didReceiveResponse):
2865         (WebKit::AssociatedURLLoader::didDownloadData):
2866         (WebKit::AssociatedURLLoader::didReceiveData):
2867         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
2868         (WebKit::AssociatedURLLoader::didFinishLoading):
2869         (WebKit::AssociatedURLLoader::didFail):
2870         * src/AssociatedURLLoader.h:
2871
2872 2011-03-07  Bill Budge  <bbudge@chromium.org>
2873
2874         Reviewed by David Levin.
2875
2876         AssociatedURLLoader does not support Cross Origin Requests
2877         https://bugs.webkit.org/show_bug.cgi?id=53925
2878
2879         No tests needed. Exposes no new functionality.
2880
2881         * src/AssociatedURLLoader.cpp:
2882         (WebKit::AssociatedURLLoader::ClientAdapter::create):
2883         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2884         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
2885         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
2886         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
2887         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2888         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
2889         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2890         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2891         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2892         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
2893         (WebKit::AssociatedURLLoader::loadSynchronously):
2894         (WebKit::AssociatedURLLoader::loadAsynchronously):
2895         (WebKit::AssociatedURLLoader::cancel):
2896         (WebKit::AssociatedURLLoader::setDefersLoading):
2897         * src/AssociatedURLLoader.h:
2898         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
2899
2900 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
2901
2902         Reviewed by Dimitri Glazkov.
2903
2904         Expose page dismissal event status through the WebKit API for chromium.
2905         https://bugs.webkit.org/show_bug.cgi?id=55844
2906
2907         Chromium will find it useful to know the page dismissal status (i.e.,
2908         whether a frame is in the midst of executing a beforeunload or unload
2909         handler), so expose that information through the chromium port in the
2910         WebKit API.
2911      
2912         This is my second attempt at this patch. The previous one broke
2913         downstream Chromium builds of some unit tests which had classes derived
2914         from WebFrame (and thus became uninstantiable because of this new pure
2915         virtual method). Those have now been fixed (http://crrev.com/77101).
2916
2917         * public/WebFrame.h:
2918         * src/WebFrameImpl.cpp:
2919         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
2920         * src/WebFrameImpl.h:
2921
2922 2011-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2923
2924         Unreviewed, rolling out r80436.
2925         http://trac.webkit.org/changeset/80436
2926         https://bugs.webkit.org/show_bug.cgi?id=55849
2927
2928         Broke Chromium compile across the board (Requested by dglazkov
2929         on #webkit).
2930
2931         * public/WebFrame.h:
2932         * src/WebFrameImpl.cpp:
2933         * src/WebFrameImpl.h:
2934
2935 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
2936
2937         Reviewed by Dimitri Glazkov.
2938
2939         Expose page dismissal event status through the WebKit API for chromium
2940         https://bugs.webkit.org/show_bug.cgi?id=55844
2941
2942         * public/WebFrame.h:
2943         * src/WebFrameImpl.cpp:
2944         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
2945         * src/WebFrameImpl.h:
2946
2947 2011-03-05  Daniel Cheng  <dcheng@chromium.org>
2948
2949         Reviewed by Dmitry Titov.
2950
2951         [chromium] Add method to WebClipboard to read images from the clipboard.
2952         https://bugs.webkit.org/show_bug.cgi?id=55814
2953
2954         * public/WebClipboard.h:
2955         (WebKit::WebClipboard::readImage):
2956
2957 2011-03-04  Adam Barth  <abarth@webkit.org>
2958
2959         Reviewed by Dimitri Glazkov.
2960
2961         Remove unneeded round-trips through ../Source in the Chromium GYP build
2962         https://bugs.webkit.org/show_bug.cgi?id=55795
2963
2964         * WebKit.gyp:
2965
2966 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
2967
2968         Reviewed by Dimitri Glazkov.
2969
2970         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
2971         https://bugs.webkit.org/show_bug.cgi?id=55748
2972
2973         * DEPS:
2974         * public/WebURLResponse.h:
2975         * src/WebURLResponse.cpp:
2976
2977 2011-03-04  James Su <suzhe@chromium.org>
2978
2979         Reviewed by Dimitri Glazkov.
2980
2981         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
2982         https://bugs.webkit.org/show_bug.cgi?id=54939
2983
2984         No intended functionality change.
2985
2986         * src/mac/WebInputEventFactory.mm:
2987         (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
2988         provided in WebCore/platform/mac/KeyEventMac.mm.
2989
2990 2011-03-04  Zelidrag Hornung  <zelidrag@chromium.org>
2991
2992         Reviewed by David Levin
2993
2994         Expose ability to create instance of DOMFileSystem from Chromium side.
2995         https://bugs.webkit.org/show_bug.cgi?id=55618
2996
2997         * public/WebFrame.h:
2998         * src/WebFrameImpl.cpp:
2999         (WebKit::WebFrameImpl::createFileSystem):
3000         * src/WebFrameImpl.h:
3001
3002 2011-03-03  Nat Duca  <nduca@chromium.org>
3003
3004         Reviewed by James Robinson.
3005
3006         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
3007         LayerRendererChromium that draws compositor FPS and, optionally,
3008         the layer tree.
3009         https://bugs.webkit.org/show_bug.cgi?id=54710
3010
3011         * public/WebSettings.h:
3012         * src/WebSettingsImpl.cpp:
3013         (WebKit::WebSettingsImpl::WebSettingsImpl):
3014         (WebKit::WebSettingsImpl::setShowFPSCounter):
3015         (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
3016         * src/WebSettingsImpl.h:
3017         (WebKit::WebSettingsImpl::showFPSCounter):
3018         (WebKit::WebSettingsImpl::showPlatformLayerTree):
3019         * src/WebViewImpl.cpp:
3020         (WebKit::WebViewImpl::doComposite):
3021
3022 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
3023
3024         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
3025         via ChromeClient.h
3026
3027         * src/ChromeClientImpl.h:
3028
3029 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
3030
3031         Reviewed by Darin Adler.
3032
3033         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
3034         https://bugs.webkit.org/show_bug.cgi?id=55633
3035         <rdar://problem/8963023>
3036
3037         * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
3038         * src/ChromeClientImpl.h:
3039         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
3040         this platform doesn't observe or have full keyboard access state.
3041
3042 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
3043
3044         Unreviewed, rolling out r80219.
3045         http://trac.webkit.org/changeset/80219
3046         https://bugs.webkit.org/show_bug.cgi?id=55680
3047
3048         "Causes several media test crashes" (Requested by tonyg-cr on
3049         #webkit).
3050
3051         * src/AssociatedURLLoader.cpp:
3052         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3053         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3054         (WebKit::AssociatedURLLoader::loadSynchronously):
3055         (WebKit::AssociatedURLLoader::loadAsynchronously):
3056         (WebKit::AssociatedURLLoader::cancel):
3057         (WebKit::AssociatedURLLoader::setDefersLoading):
3058         (WebKit::AssociatedURLLoader::prepareRequest):
3059         (WebKit::AssociatedURLLoader::willSendRequest):
3060         (WebKit::AssociatedURLLoader::didSendData):
3061         (WebKit::AssociatedURLLoader::didReceiveResponse):
3062         (WebKit::AssociatedURLLoader::didDownloadData):
3063         (WebKit::AssociatedURLLoader::didReceiveData):
3064         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
3065         (WebKit::AssociatedURLLoader::didFinishLoading):
3066         (WebKit::AssociatedURLLoader::didFail):
3067         * src/AssociatedURLLoader.h:
3068
3069 2011-03-03  Dominic Mazzoni  <dmazzoni@google.com>
3070
3071         Reviewed by Dimitri Glazkov.
3072
3073         Add an equals() method to WebAccessibilityObject.
3074         https://bugs.webkit.org/show_bug.cgi?id=55631
3075
3076         * public/WebAccessibilityObject.h:
3077         * src/WebAccessibilityObject.cpp:
3078         (WebKit::WebAccessibilityObject::equals):
3079
3080 2011-03-03  Pavel Podivilov  <podivilov@chromium.org>
3081
3082         Reviewed by Yury Semikhatsky.
3083
3084         Web Inspector: make selected call frame debugger presentation model property.
3085         https://bugs.webkit.org/show_bug.cgi?id=55582
3086
3087         * src/js/Tests.js:
3088
3089 2011-03-03  Bill Budge  <bbudge@chromium.org>
3090
3091         Reviewed by David Levin.
3092
3093         AssociatedURLLoader does not support Cross Origin Requests
3094         https://bugs.webkit.org/show_bug.cgi?id=53925
3095
3096         No tests needed. Exposes no new functionality.
3097
3098         * src/AssociatedURLLoader.cpp:
3099         (WebKit::AssociatedURLLoader::ClientAdapter::create):
3100         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
3101         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
3102         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
3103         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
3104         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3105         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3106         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
3107         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
3108         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
3109         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
3110         (WebKit::AssociatedURLLoader::loadSynchronously):
3111         (WebKit::AssociatedURLLoader::loadAsynchronously):
3112         (WebKit::AssociatedURLLoader::cancel):
3113         (WebKit::AssociatedURLLoader::setDefersLoading):
3114         * src/AssociatedURLLoader.h:
3115         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
3116
3117 2011-03-03  Steve Lacey  <sjl@chromium.org>
3118
3119         Reviewed by Darin Fisher.
3120
3121         Wire up webkit metrics changes to chromium changes.
3122         https://bugs.webkit.org/show_bug.cgi?id=54580
3123
3124         * features.gypi:
3125         * public/WebMediaPlayer.h:
3126         * src/WebMediaPlayerClientImpl.cpp:
3127         (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
3128         (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
3129         (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
3130         (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
3131         * src/WebMediaPlayerClientImpl.h:
3132
3133 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3134
3135         Reviewed by David Levin.
3136
3137         Manually revert ChromiumDataObject changes.
3138         https://bugs.webkit.org/show_bug.cgi?id=55627
3139
3140         * public/WebView.h:
3141         * src/WebDragData.cpp:
3142         (WebKit::WebDragData::initialize):
3143         * src/WebViewImpl.cpp:
3144         (WebKit::WebViewImpl::dragTargetDragEnter):
3145         * src/WebViewImpl.h:
3146
3147 2011-03-02  David Grogan  <dgrogan@chromium.org>
3148
3149         Reviewed by Jeremy Orlow.
3150
3151         IndexedDB: fire versionchange events when calling setVersion
3152         https://bugs.webkit.org/show_bug.cgi?id=55095
3153
3154         * WebKit.gyp:
3155         * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3156         (WebCore::IDBDatabaseCallbacksProxy::create):
3157         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
3158         (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
3159         (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
3160         * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3161         * src/IDBDatabaseProxy.cpp:
3162         (WebCore::IDBDatabaseProxy::setVersion):
3163         (WebCore::IDBDatabaseProxy::close):
3164         (WebCore::IDBDatabaseProxy::open):
3165         * src/IDBDatabaseProxy.h:
3166         * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
3167         (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
3168         (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
3169         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
3170         * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
3171         * src/WebIDBDatabaseImpl.cpp:
3172         (WebKit::WebIDBDatabaseImpl::setVersion):
3173         (WebKit::WebIDBDatabaseImpl::close):
3174         (WebKit::WebIDBDatabaseImpl::open):
3175         * src/WebIDBDatabaseImpl.h:
3176
3177 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
3178
3179         Unreviewed, rolling out r80139.
3180         http://trac.webkit.org/changeset/80139
3181         https://bugs.webkit.org/show_bug.cgi?id=55620
3182
3183         failing and crashing tests on Snow Leopard bot (Requested by
3184         mihaip1 on #webkit).
3185
3186         * public/WebGeolocationClientMock.h:
3187         * src/WebGeolocationClientMock.cpp:
3188
3189 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3190
3191         Revert frame-specific WebClipboard changes
3192         https://bugs.webkit.org/show_bug.cgi?id=55617
3193
3194         This code is no longer needed since we've decided to use the original
3195         approach to copy/paste drag/drop handling in ClipboardChromium.
3196
3197         * public/WebFrameClient.h:
3198         * src/PlatformBridge.cpp:
3199         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
3200         (WebCore::PlatformBridge::clipboardReadData):
3201         (WebCore::PlatformBridge::clipboardReadFilenames):
3202         * src/WebFrameImpl.cpp:
3203         (WebKit::WebFrameImpl::fromFrame):
3204         * src/WebFrameImpl.h:
3205         * src/WebViewImpl.cpp:
3206         (WebKit::WebViewImpl::dragTargetDragEnterNew):
3207
3208 2011-03-02  Tony Chang  <tony@chromium.org>
3209
3210         Unreviewed, rolling chromium DEPS to r76362.
3211
3212         https://bugs.webkit.org/show_bug.cgi?id=55564
3213
3214         * DEPS:
3215
3216 2011-02-28  Jeremy Orlow  <jorlow@chromium.org>
3217
3218         Reviewed by James Robinson.
3219
3220         Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
3221         https://bugs.webkit.org/show_bug.cgi?id=55443
3222
3223         * public/WebIDBCursor.h:
3224         (WebKit::WebIDBCursor::primaryKey):
3225         (WebKit::WebIDBCursor::value):
3226         * src/IDBCursorBackendProxy.cpp:
3227         (WebCore::IDBCursorBackendProxy::primaryKey):
3228         (WebCore::IDBCursorBackendProxy::value):
3229         * src/IDBCursorBackendProxy.h:
3230         * src/WebIDBCursorImpl.cpp:
3231         (WebKit::WebIDBCursorImpl::key):
3232         (WebKit::WebIDBCursorImpl::primaryKey):
3233         (WebKit::WebIDBCursorImpl::value):
3234         * src/WebIDBCursorImpl.h:
3235
3236 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
3237
3238         Reviewed by David Levin.
3239
3240         Add feature define for data transfer items
3241         https://bugs.webkit.org/show_bug.cgi?id=55510
3242
3243         * features.gypi:
3244
3245 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
3246
3247         Detach Geolocation from Frame when Page destroyed.
3248         https://bugs.webkit.org/show_bug.cgi?id=52877
3249
3250         Add accessors to the WebGeolocationClientMock to allow the number of
3251         pending geolocation permission requests to be queried.
3252
3253         * public/WebGeolocationClientMock.h:
3254         * src/WebGeolocationClientMock.cpp:
3255         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
3256
3257 2011-03-01  David Grogan  <dgrogan@chromium.org>
3258
3259         Reviewed by Jeremy Orlow.
3260
3261         IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
3262         https://bugs.webkit.org/show_bug.cgi?id=55548
3263
3264         * WebKit.gyp:
3265         * public/WebIDBDatabase.h:
3266         (WebKit::WebIDBDatabase::createObjectStore):
3267         (WebKit::WebIDBDatabase::open):
3268         * public/WebIDBDatabaseCallbacks.h: Added.
3269         (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
3270         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
3271
3272 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3273
3274         Unreviewed, rolling out r80079.
3275         http://trac.webkit.org/changeset/80079
3276         https://bugs.webkit.org/show_bug.cgi?id=55547
3277
3278         "Broke the Win debug build?" (Requested by dcheng on #webkit).
3279
3280         * features.gypi:
3281
3282 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
3283
3284         Reviewed by David Levin.
3285
3286         Add feature define for data transfer items
3287         https://bugs.webkit.org/show_bug.cgi?id=55510
3288
3289         * features.gypi:
3290
3291 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
3292
3293         Reviewed by James Robinson.
3294
3295         Add a primaryKey method to IDBCursor
3296         https://bugs.webkit.org/show_bug.cgi?id=55518
3297
3298         In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
3299
3300         * public/WebIDBCursor.h:
3301         (WebKit::WebIDBCursor::primaryKey):
3302
3303 2011-02-28  Chang Shu  <cshu@webkit.org>
3304
3305         Reviewed by Ryosuke Niwa.
3306
3307         Remove the support of Frame::isContentEditable and its dependencies.
3308         https://bugs.webkit.org/show_bug.cgi?id=54292
3309
3310         Remove the WebKit side implementation.
3311
3312         * src/EditorClientImpl.cpp:
3313         * src/EditorClientImpl.h:
3314
3315 2011-02-28  Avi Drissman  <avi@google.com>
3316
3317         Reviewed by James Robinson.
3318
3319         WebCursorInfo needs to match enums in platform/Cursor.h
3320         https://bugs.webkit.org/show_bug.cgi?id=55094
3321
3322         * public/WebCursorInfo.h:
3323         * src/AssertMatchingEnums.cpp:
3324
3325 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3326
3327         Unreviewed, rolling out r78789.
3328         http://trac.webkit.org/changeset/78789
3329         https://bugs.webkit.org/show_bug.cgi?id=55409
3330
3331         Incorrect canvas fallback implementation (Requested by
3332         inferno-sec on #webkit).
3333
3334         * public/WebAccessibilityRole.h:
3335         * src/AssertMatchingEnums.cpp:
3336
3337 2011-02-28  Adam Klein  <adamk@chromium.org>
3338
3339         Reviewed by Adam Barth.
3340
3341         [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
3342         https://bugs.webkit.org/show_bug.cgi?id=54774
3343
3344         * src/LocalFileSystemChromium.cpp:
3345         (WebCore::LocalFileSystem::readFileSystem):
3346         Removed size argument to readFileSystem()
3347
3348 2011-02-27  Pavel Feldman  <pfeldman@chromium.org>
3349
3350         Reviewed by Darin Fisher.
3351
3352         Pass frame history state in the context menu parameters.
3353         https://bugs.webkit.org/show_bug.cgi?id=55232
3354
3355         * public/WebContextMenuData.h:
3356         * src/ContextMenuClientImpl.cpp:
3357         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
3358
3359 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3360
3361         Reviewed by Pavel Feldman.
3362
3363         DumpRenderTree should reset frame opener between tests.
3364         https://bugs.webkit.org/show_bug.cgi?id=54874
3365
3366         Added clearOpener method to WebFrame.
3367
3368         * public/WebFrame.h:
3369         * src/WebFrameImpl.cpp:
3370         (WebKit::WebFrameImpl::clearOpener):
3371         * src/WebFrameImpl.h:
3372
3373 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
3374
3375         Not reviewed: rolling chromium DEPS.
3376
3377         * DEPS:
3378
3379 2011-02-26  Bill Budge  <bbudge@chromium.org>
3380
3381         Reviewed by David Levin.
3382
3383         WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
3384         https://bugs.webkit.org/show_bug.cgi?id=54489
3385
3386         No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
3387
3388         * src/WebURLRequest.cpp:
3389         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
3390         (WebKit::WebURLRequest::downloadToFile):
3391         (WebKit::WebURLRequest::setDownloadToFile):
3392         * src/WebURLRequestPrivate.h:
3393         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
3394         * src/WebURLResponse.cpp:
3395         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
3396         (WebKit::WebURLResponse::downloadFilePath):
3397         (WebKit::WebURLResponse::setDownloadFilePath):
3398         * src/WebURLResponsePrivate.h:
3399
3400 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3401
3402         Unreviewed, rolling out r79764.
3403         http://trac.webkit.org/changeset/79764
3404         https://bugs.webkit.org/show_bug.cgi?id=55295
3405
3406         "broke Chromium builds" (Requested by rniwa on #webkit).
3407
3408         * public/WebFrame.h:
3409         * src/WebFrameImpl.cpp:
3410         * src/WebFrameImpl.h:
3411
3412 2011-02-26  David Dorwin  <ddorwin@chromium.org>
3413
3414         Reviewed by Darin Fisher.
3415
3416         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3417
3418         fullscreen javascript bindings not implemented for v8
3419         https://bugs.webkit.org/show_bug.cgi?id=44797
3420
3421         * features.gypi:
3422         * public/WebSettings.h:
3423         * src/ChromeClientImpl.cpp:
3424         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3425         (WebKit::ChromeClientImpl::enterFullScreenForElement):
3426         (WebKit::ChromeClientImpl::exitFullScreenForElement):
3427         (WebKit::ChromeClientImpl::fullScreenRendererChanged):
3428         * src/ChromeClientImpl.h:
3429         * src/WebSettingsImpl.cpp:
3430         (WebKit::WebSettingsImpl::setFullScreenEnabled):
3431         * src/WebSettingsImpl.h:
3432
3433 2011-02-26  John Mellor  <johnme@chromium.org>
3434
3435         Reviewed by Antonio Gomes.
3436
3437         [chromium] WebFrameImpl::m_totalMatchCount should be an int
3438         https://bugs.webkit.org/show_bug.cgi?id=55134
3439
3440         WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
3441
3442         * src/WebFrameImpl.h:
3443
3444 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3445
3446         Reviewed by Pavel Feldman.
3447
3448         DumpRenderTree should reset frame opener between tests.
3449         https://bugs.webkit.org/show_bug.cgi?id=54874
3450
3451         Added clearOpener method to WebFrame.
3452
3453         * public/WebFrame.h:
3454         * src/WebFrameImpl.cpp:
3455         (WebKit::WebFrameImpl::clearOpener):
3456         * src/WebFrameImpl.h:
3457
3458 2011-02-25  Tony Chang  <tony@chromium.org>
3459
3460         Roll chromium deps to include RBGToHSL fix and ICU update.
3461
3462         * DEPS:
3463
3464 2011-02-15  Brett Wilson  <brettw@chromium.org>
3465
3466         Reviewed by Darin Fisher.
3467
3468         Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
3469         https://bugs.webkit.org/show_bug.cgi?id=54503
3470
3471         * src/WebViewImpl.cpp:
3472         (WebKit::WebViewImpl::handleInputEvent):
3473
3474 2011-02-24  James Robinson  <jamesr@chromium.org>
3475
3476         Reviewed by Darin Fisher.
3477
3478         Add a USE() macro to control use of the built-in UTF8 codec
3479         https://bugs.webkit.org/show_bug.cgi?id=55189
3480
3481         Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
3482
3483         * features.gypi:
3484
3485 2011-02-24  James Kozianski  <koz@chromium.org>
3486
3487         Reviewed by Ojan Vafai.
3488
3489         Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
3490         https://bugs.webkit.org/show_bug.cgi?id=55112
3491
3492         * src/ChromeClientImpl.cpp:
3493         (WebKit::ChromeClientImpl::registerProtocolHandler):
3494
3495 2011-02-24  James Robinson  <jamesr@chromium.org>
3496
3497         Unreviewed, rolling out r79584.
3498         http://trac.webkit.org/changeset/79584
3499         https://bugs.webkit.org/show_bug.cgi?id=44797
3500
3501         [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
3502         not set
3503
3504         * features.gypi:
3505         * public/WebSettings.h:
3506         * src/ChromeClientImpl.cpp:
3507         * src/ChromeClientImpl.h:
3508         * src/WebSettingsImpl.cpp:
3509         * src/WebSettingsImpl.h:
3510
3511 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
3512
3513         Unreviewed, rolling out r79570.
3514         http://trac.webkit.org/changeset/79570
3515         https://bugs.webkit.org/show_bug.cgi?id=54874
3516
3517         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
3518         was not updated
3519
3520         * public/WebFrame.h:
3521         * src/WebFrameImpl.cpp:
3522         * src/WebFrameImpl.h:
3523
3524 2011-02-24  David Dorwin  <ddorwin@chromium.org>
3525
3526         Reviewed by Eric Seidel.
3527
3528         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
3529
3530         fullscreen javascript bindings not implemented for v8
3531         https://bugs.webkit.org/show_bug.cgi?id=44797
3532
3533         * features.gypi:
3534         * public/WebSettings.h:
3535         * src/ChromeClientImpl.cpp: