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