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