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