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