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