10f8a4437a6a65386a035be8bfe0f66245fffe18
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-05-24  Alok Priyadarshi  <alokp@chromium.org>
2
3         Reviewed by James Robinson.
4
5         Enable skia gpu rendering for content layers
6         https://bugs.webkit.org/show_bug.cgi?id=56749
7
8         * src/WebViewImpl.cpp:
9         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
10         (WebKit::WebViewImpl::reallocateRenderer):
11
12 2011-05-24  Mikhail Naganov  <mnaganov@chromium.org>
13
14         Reviewed by Yury Semikhatsky.
15
16         Web Inspector: Reorganize InspectorBackendDispatch code to eliminate duplication
17         https://bugs.webkit.org/show_bug.cgi?id=61300
18
19         * src/WebDevToolsAgentImpl.cpp:
20         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
21
22 2011-05-23  Gavin Peters  <gavinp@chromium.org>
23
24         Reviewed by Adam Barth.
25
26         fix rel=prerender target types
27         https://bugs.webkit.org/show_bug.cgi?id=61297
28
29         The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
30         didn't properly map the target type, and didn't carry the target
31         types through to chromium properly.  Fixed.
32
33         No new tests; it's very hard to catch these with a layout test, however
34         all of the chromium Prerender browser tests will test this functionality
35         when I land an upcoming chromium CL.
36
37         * public/WebURLRequest.h:
38
39 2011-05-23  Tony Chang  <tony@chromium.org>
40
41         Reviewed by James Robinson.
42
43         [chromium] Link tcmalloc to DRT so we can use the heap checker
44         https://bugs.webkit.org/show_bug.cgi?id=61292
45
46         * WebKit.gyp:
47
48 2011-05-23  Adrienne Walker  <enne@google.com>
49
50         Reviewed by James Robinson.
51
52         [chromium] Fix division by zero in TilingData for boundary case texture sizes
53         https://bugs.webkit.org/show_bug.cgi?id=61164
54
55         Add additional tests for small max texture sizes.
56
57         * tests/TilingDataTest.cpp:
58         (WebCore::TEST):
59
60 2011-05-23  Ruben  <chromium@hybridsource.org>
61
62         Reviewed by Tony Chang.
63
64         Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
65         https://bugs.webkit.org/show_bug.cgi?id=61219
66
67         * WebKit.gyp:
68         * WebKit.gypi:
69
70 2011-05-23  Yury Semikhatsky  <yurys@chromium.org>
71
72         Reviewed by Pavel Feldman.
73
74         [Chromium] Web Inspector: provide initial implementation of worker inspector transport
75         https://bugs.webkit.org/show_bug.cgi?id=60267
76
77         WebWorker and WebWorkerClient are extended with methods for passing
78         DevTools messages between worker context inspector and page inspector.
79
80         * public/WebWorker.h:
81         (WebKit::WebWorker::attachDevTools):
82         (WebKit::WebWorker::detachDevTools):
83         (WebKit::WebWorker::dispatchDevToolsMessage):
84         * public/WebWorkerClient.h:
85         (WebKit::WebWorkerClient::dispatchDevToolsMessage):
86         * src/WebWorkerBase.cpp:
87         (WebKit::WebWorkerBase::postMessageToPageInspector):
88         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
89         * src/WebWorkerBase.h:
90         * src/WebWorkerClientImpl.cpp:
91         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
92         (WebKit::WebWorkerClientImpl::connectToInspector):
93         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
94         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
95         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
96         * src/WebWorkerClientImpl.h:
97         * src/WebWorkerImpl.cpp:
98         (WebKit::WebWorkerImpl::startWorkerContext):
99         (WebKit::connectToWorkerContextInspectorTask):
100         (WebKit::WebWorkerImpl::attachDevTools):
101         (WebKit::disconnectFromWorkerContextInspectorTask):
102         (WebKit::WebWorkerImpl::detachDevTools):
103         (WebKit::dispatchOnInspectorBackendTask):
104         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
105         * src/WebWorkerImpl.h:
106
107 2011-05-22  Greg Simon  <gregsimon@chromium.org>
108
109         Reviewed by Darin Fisher.
110
111         [chromium] Updating chromium DEPS
112
113         https://bugs.webkit.org/show_bug.cgi?id=61236
114
115         * DEPS:
116
117 2011-05-21  Jochen Eisinger  <jochen@chromium.org>
118
119         Reviewed by Darin Fisher.
120
121         [chromium] add extraData field to resource requests
122         https://bugs.webkit.org/show_bug.cgi?id=61033
123
124         * WebKit.gypi:
125         * public/WebURLRequest.h:
126         (WebKit::WebURLRequest::ExtraData::~ExtraData):
127         * src/WebURLRequest.cpp:
128         (WebKit::WebURLRequest::extraData):
129         (WebKit::WebURLRequest::setExtraData):
130         * tests/WebURLRequestTest.cpp: Added.
131         (WebKit::TestExtraData::TestExtraData):
132         (WebKit::TestExtraData::~TestExtraData):
133         (WebKit::TEST):
134
135 2011-05-20  Michael Nordman  <michaeln@google.com>
136
137         Reviewed by Darin Fisher.
138
139         Changes to allow the WebDatabase system to participate in Chrome's unified quota
140         management system. Now that changes outside of the database system affect the space
141         available to the database system, we need new ways of getting the limit to renderers.
142
143         Split WebDatabase::updateDatabaseSizeAndSpaceAvailable() into three methods.
144         - WebDatabase::updateDatababaseSize()
145         - WebDatabase::updateSpaceAvailable()
146         - WebDatabase::resetSpaceAvailable()
147         The WebDatabase methods are used to 'push' size and space available info into renderers.
148         The space available can change independently of a database having changed size.
149
150         Also provide a means for the renderer to 'pull' the space available from the main
151         process if that value has not been pushed into it.
152         - WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin()
153         - WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin()
154
155         https://bugs.webkit.org/show_bug.cgi?id=60985
156
157         * public/WebDatabase.h:
158         * public/WebKitClient.h:
159         (WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin):
160         * src/PlatformBridge.cpp:
161         (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
162         * src/WebDatabase.cpp:
163         (WebKit::WebDatabase::updateDatabaseSize):
164         (WebKit::WebDatabase::updateSpaceAvailable):
165         (WebKit::WebDatabase::resetSpaceAvailable):
166
167 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
168
169         Reviewed by Sam Weinig.
170
171         numberOfActiveAnimations() can include animations from documents in the page cache
172         https://bugs.webkit.org/show_bug.cgi?id=53641
173
174         Pass the Frame's document as the one to count animations on.
175
176         * src/WebAnimationControllerImpl.cpp:
177         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
178
179 2011-05-19  Evan Martin  <evan@chromium.org>
180
181         Reviewed by Tony Chang.
182
183         [chromium] remove <(library) variable
184         https://bugs.webkit.org/show_bug.cgi?id=61158
185
186         This was for a build experiment; we can just use the correct value now.
187
188         * WebKit.gyp:
189
190 2011-05-20  Vitaly Repeshko  <vitalyr@chromium.org>
191
192         Unreviewed.
193
194         [chromium] Updating chromium DEPS.
195
196         * DEPS:
197
198 2011-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
199
200         Unreviewed, rolling out r86869, r86873, r86875, and r86877.
201         http://trac.webkit.org/changeset/86869
202         http://trac.webkit.org/changeset/86873
203         http://trac.webkit.org/changeset/86875
204         http://trac.webkit.org/changeset/86877
205         https://bugs.webkit.org/show_bug.cgi?id=61139
206
207         broke builds and debug DRT (Requested by rniwa on #webkit).
208
209         * WebKit.gyp:
210         * public/WebTestingSupport.h: Removed.
211         * src/WebTestingSupport.cpp: Removed.
212
213 2011-05-18  Dimitri Glazkov  <dglazkov@chromium.org>
214
215         Reviewed by Darin Adler.
216
217         Add build logistics and plumbing for window.internals object.
218         https://bugs.webkit.org/show_bug.cgi?id=60313
219
220         * WebKit.gyp: Added linking new webkit_test_support library.
221         * public/WebTestingSupport.h: Added.
222         * src/WebTestingSupport.cpp: Added.
223
224 2011-05-19  Kenichi Ishibashi  <bashi@chromium.org>
225
226         Reviewed by Kent Tamura.
227
228         [Chromium] IME candidate window appears wrong position in an iframe
229         https://bugs.webkit.org/show_bug.cgi?id=61023
230
231         Always adjusts the range to window relative coordinates.
232
233         * src/WebFrameImpl.cpp:
234         (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition
235         which excludes editable selectionRoot from adjusting.
236
237 2011-05-18  Nat Duca  <nduca@chromium.org>
238
239         Reviewed by James Robinson.
240
241         [chromium] Add histograms for paint times
242         https://bugs.webkit.org/show_bug.cgi?id=61010
243
244         * src/WebViewImpl.cpp:
245         (WebKit::WebViewImpl::animate):
246         (WebKit::WebViewImpl::layout):
247         (WebKit::WebViewImpl::paint):
248         (WebKit::WebViewImplContentPainter::paint):
249
250 2011-05-17  MORITA Hajime  <morrita@google.com>
251
252         Reviewed by Tony Chang.
253
254         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
255         https://bugs.webkit.org/show_bug.cgi?id=56814
256
257         Moved addMarker() implementation to
258         WebCore::DocumentMarkerController::addTextMatchMarker().
259         
260         * src/WebFrameImpl.cpp:
261         (WebKit::WebFrameImpl::addMarker):
262
263 2011-05-18  Alok Priyadarshi  <alokp@chromium.org> and Adrienne Walker  <enne@google.com>
264
265         Reviewed by James Robinson.
266
267         Split canvas from LayerTilerChromium
268         https://bugs.webkit.org/show_bug.cgi?id=60719
269
270         * src/WebViewImpl.cpp:
271
272 2011-05-18  Brett Wilson  <brettw@chromium.org>
273
274         Reviewed by Adam Barth.
275
276         Don't create empty file objects if no download file path is specified.
277         https://bugs.webkit.org/show_bug.cgi?id=60798
278
279         * src/WebURLResponse.cpp:
280         (WebKit::WebURLResponse::setDownloadFilePath):
281
282 2011-05-17  Mikhail Naganov  <mnaganov@chromium.org>
283
284         Reviewed by Pavel Feldman.
285
286         Web Inspector: [Chromium] Enable detailed heap snapshots by default.
287         https://bugs.webkit.org/show_bug.cgi?id=60286
288
289         * src/js/DevTools.js:
290         ():
291
292 2011-05-17  Tao Bai  <michaelbai@chromium.org>
293
294         Reviewed by Darin Fisher.
295
296         Clear deprecated icon APIs from chromium port.
297         https://bugs.webkit.org/show_bug.cgi?id=60989
298
299         * public/WebFrame.h: Removed faviconURL()
300         * public/WebFrameClient.h: Removed didChangeIcons()
301         * src/FrameLoaderClientImpl.cpp:
302              Removed the code to support deprecated API
303         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
304         * src/WebFrameImpl.cpp: Removed faviconURL()
305         * src/WebFrameImpl.h:  Removed faviconURL()
306
307 2011-05-17  Daniel Cheng  <dcheng@chromium.org>
308
309         Reviewed by Ryosuke Niwa.
310
311         [chromium] Clipboard policy callbacks from EditorClientImpl are reversed
312         https://bugs.webkit.org/show_bug.cgi?id=60994
313
314         * src/EditorClientImpl.cpp:
315         (WebKit::EditorClientImpl::canCopyCut):
316         (WebKit::EditorClientImpl::canPaste):
317
318 2011-05-17  Andrew Wilson  <atwilson@chromium.org>
319
320         Unreviewed, rolling out r86647.
321         http://trac.webkit.org/changeset/86647
322         https://bugs.webkit.org/show_bug.cgi?id=56814
323
324         Broke tests downstream in Chromium
325
326         * src/WebFrameImpl.cpp:
327         (WebKit::WebFrameImpl::addMarker):
328
329 2011-05-17  Yufeng Shen  <miletus@chromium.org>
330
331         Reviewed by Darin Fisher.
332
333         Make WebKit expose extra touch information
334         https://bugs.webkit.org/show_bug.cgi?id=59030
335
336         * public/WebTouchPoint.h:
337         (WebKit::WebTouchPoint::WebTouchPoint):
338         * src/WebInputEventConversion.cpp:
339         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
340
341 2011-05-16  James Robinson  <jamesr@chromium.org>
342
343         Reviewed by Kenneth Russell.
344         https://bugs.webkit.org/show_bug.cgi?id=58830
345
346         Add unit tests for the compositor's TreeSynchronizer.
347
348         * WebKit.gypi:
349         * tests/TreeSynchronizerTest.cpp: Added.
350         (WebCore::MockCCLayerImpl::create):
351         (WebCore::MockCCLayerImpl::~MockCCLayerImpl):
352         (WebCore::MockCCLayerImpl::setCCLayerDestructionList):
353         (WebCore::MockCCLayerImpl::MockCCLayerImpl):
354         (WebCore::MockLayerChromium::create):
355         (WebCore::MockLayerChromium::~MockLayerChromium):
356         (WebCore::MockLayerChromium::createCCLayerImpl):
357         (WebCore::MockLayerChromium::pushPropertiesTo):
358         (WebCore::MockLayerChromium::MockLayerChromium):
359         (WebCore::expectTreesAreIdentical):
360         (WebCore::TEST):
361
362 2011-05-16  MORITA Hajime  <morrita@google.com>
363
364         Reviewed by Tony Chang.
365
366         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
367         https://bugs.webkit.org/show_bug.cgi?id=56814
368
369         Moved addMarker() implementation to
370         WebCore::DocumentMarkerController::addTextMatchMarker().
371         
372         * src/WebFrameImpl.cpp:
373         (WebKit::WebFrameImpl::addMarker):
374
375 2011-05-16  Andrew Wilson  <atwilson@chromium.org>
376
377         Unreviewed, rolling out r86625.
378         http://trac.webkit.org/changeset/86625
379         https://bugs.webkit.org/show_bug.cgi?id=60719
380
381         Caused failed assertion on Chromium gpu canary bots
382
383         * src/WebViewImpl.cpp:
384
385 2011-05-16  Alok Priyadarshi  <alokp@chromium.org>
386
387         Reviewed by James Robinson.
388
389         Split canvas from LayerTilerChromium
390         https://bugs.webkit.org/show_bug.cgi?id=60719
391
392         * src/WebViewImpl.cpp:
393
394 2011-05-13  Jon Lee  <jonlee@apple.com>
395
396         Reviewed by Simon Fraser.
397
398         Can't horizontally scroll iframes and overflow because wheel events are always accepted
399         https://bugs.webkit.org/show_bug.cgi?id=60779
400
401         * src/ChromeClientImpl.h:
402         (WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
403         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
404
405 2011-05-13  Tao Bai  <michaelbai@chromium.org>
406
407         Reviewed by Darin Fisher.
408
409         Handle the touch icon.
410         https://bugs.webkit.org/show_bug.cgi?id=60247
411
412         Added WebIconURL for the corresponding IconURL.
413         Added method iconURLs() to specify the type of icon need to return.
414         The favIconURL() is deprecated and will be removed later. 
415
416         * WebKit.gyp:
417         * features.gypi:
418         * public/WebFrame.h:
419         * public/WebFrameClient.h:
420         (WebKit::WebFrameClient::didChangeIcons):
421         * public/WebIconURL.h: Added.
422         (WebKit::WebIconURL::WebIconURL):
423         (WebKit::WebIconURL::iconType):
424         (WebKit::WebIconURL::iconURL):
425         * src/AssertMatchingEnums.cpp:
426         * src/FrameLoaderClientImpl.cpp:
427         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
428         * src/WebFrameImpl.cpp:
429         (WebKit::WebFrameImpl::favIconURL):
430         * src/WebFrameImpl.h:
431
432 2011-05-13  Sam Weinig  <sam@webkit.org>
433
434         Reviewed by Anders Carlsson.
435
436         Prune #includes from FrameView.h (Part 2)
437         https://bugs.webkit.org/show_bug.cgi?id=60748
438
439         - Update files that were depending on FrameView.h #including Frame.h or
440           Page.h.
441
442         * src/AutoFillPopupMenuClient.cpp:
443         * src/PlatformBridge.cpp:
444         * src/WebPopupMenuImpl.cpp:
445
446 2011-05-13  Brett Wilson  <brettw@chromium.org>
447
448         Reviewed by Adam Barth.
449
450         Don't destroy a null FcPattern when failing to do a FontConfig match.
451         This crashes, and there's nothing FcDestroy could do with a null
452         pointer even if it didn't crash.
453         https://bugs.webkit.org/show_bug.cgi?id=60777
454
455         * src/gtk/WebFontInfo.cpp:
456         (WebKit::WebFontInfo::renderStyleForStrike):
457
458 2011-05-11  Hans Wennborg  <hans@chromium.org>
459
460         Reviewed by Tony Gentilcore.
461
462         IndexedDB: Fix integer comparison bug in LevelDB coding routines
463         https://bugs.webkit.org/show_bug.cgi?id=60623
464
465         Unit test for comparison of encoded keys.
466
467         * tests/IDBLevelDBCodingTest.cpp:
468         (IDBLevelDBCoding::TEST):
469
470 2011-05-05  Hans Wennborg  <hans@chromium.org>
471
472         Reviewed by Steve Block.
473
474         IndexedDB: Transaction rollback prevented by open SQLite statement
475         https://bugs.webkit.org/show_bug.cgi?id=60032
476
477         Implement two new methods in IDBTransactionBackendInterface.
478
479         * src/IDBTransactionBackendProxy.cpp:
480         (WebKit::IDBTransactionBackendProxy::registerOpenCursor):
481         (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
482         * src/IDBTransactionBackendProxy.h:
483
484 2011-05-13  Patrick Gansterer  <paroga@webkit.org>
485
486         Reviewed by Adam Barth.
487
488         Enable OwnPtr strict mode in MediaPlayer
489         https://bugs.webkit.org/show_bug.cgi?id=59466
490
491         Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
492         Also fix the templete argument of OwnPtr for the m_private member variable.
493
494         * src/WebMediaPlayerClientImpl.cpp:
495         (WebKit::WebMediaPlayerClientImpl::create):
496         * src/WebMediaPlayerClientImpl.h:
497
498 2011-05-12  Adam Barth  <abarth@webkit.org>
499
500         Reviewed by Eric Seidel.
501
502         [Chromium] Add a WebSetting to control DNS prefetch
503         https://bugs.webkit.org/show_bug.cgi?id=60736
504
505         DNS prefetch got disabled in Chrome accidentially in
506         http://trac.webkit.org/changeset/74041.  This patch adds a WebSettings
507         API so we can enable it again.
508
509         * public/WebSettings.h:
510         * src/WebSettingsImpl.cpp:
511         (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
512         * src/WebSettingsImpl.h:
513
514 2011-05-11  John Abd-El-Malek  <jam@chromium.org>
515
516         Reviewed by James Robinson.
517
518         [chromium] Make openFileSystem check for permission first
519         https://bugs.webkit.org/show_bug.cgi?id=60683
520
521         * public/WebCommonWorkerClient.h:
522         (WebKit::WebCommonWorkerClient::allowFileSystem):
523         * public/WebPermissionClient.h:
524         (WebKit::WebPermissionClient::allowFileSystem):
525         * src/LocalFileSystemChromium.cpp:
526         (WebCore::openFileSystemNotAllowed):
527         (WebCore::openFileSystemHelper):
528         * src/WebWorkerBase.cpp:
529         (WebKit::WebWorkerBase::allowFileSystem):
530         * src/WebWorkerBase.h:
531         * src/WebWorkerClientImpl.h:
532         (WebKit::WebWorkerClientImpl::allowFileSystem):
533
534 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
535
536         Reviewed by Darin Adler.
537
538         String operator+ reallocates unnecessarily when concatting > 2 strings
539         https://bugs.webkit.org/show_bug.cgi?id=58420
540
541         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
542
543         * src/WebAccessibilityObject.cpp:
544         (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
545         * src/WebHTTPLoadInfo.cpp:
546         (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
547         * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
548         (IDBLevelDBCoding::TEST):
549
550 2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
551
552         Reviewed by Darin Adler.
553
554         Perform some forward declarations suggested by include-what-you-use
555         https://bugs.webkit.org/show_bug.cgi?id=60545
556
557         * src/WebHistoryItem.cpp:
558         * src/WebNotification.cpp:
559         * src/WebTextCheckingCompletionImpl.cpp:
560         * src/mac/WebSubstringUtil.mm:
561
562 2011-05-11  Levi Weintraub  <leviw@chromium.org>
563
564         Reviewed by Eric Seidel.
565
566         Rename Widget::pos()
567         https://bugs.webkit.org/show_bug.cgi?id=60575
568
569         Renaming Widget::pos() to the more-descriptive location().
570
571         * src/WebInputEventConversion.cpp:
572         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
573         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
574
575 2011-05-11  Antoine Labour  <piman@chromium.org>
576
577         Reviewed by David Levin.
578
579         Don't buffer data for resources loaded by AssociatedURLLoader.
580         https://bugs.webkit.org/show_bug.cgi?id=60656
581
582         * src/AssociatedURLLoader.cpp:
583         (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
584
585 2011-05-11  Nat Duca  <nduca@chromium.org>
586
587         Reviewed by Kenneth Russell.
588
589         [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
590         https://bugs.webkit.org/show_bug.cgi?id=60508
591
592         Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
593
594         * public/WebGraphicsContext3D.h:
595         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
596         * src/Extensions3DChromium.cpp:
597         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
598         * src/GraphicsContext3DChromium.cpp:
599         * src/GraphicsContext3DInternal.h:
600         * src/WebViewImpl.cpp:
601         (WebKit::WebViewImpl::animate):
602
603 2011-05-11  John Bauman  <jbauman@chromium.org>
604
605         Reviewed by Kenneth Russell.
606
607         Don't send zeros in TexImage if GL implementation handles that
608         https://bugs.webkit.org/show_bug.cgi?id=60581
609
610         Chromium already handles zeroing textures upon creation, so don't
611         bother zeroing them in WebKit, as that causes some unnecessary memcpys
612         of zeros.
613
614         * src/GraphicsContext3DChromium.cpp:
615         (WebCore::GraphicsContext3D::create):
616
617 2011-05-10  Kent Tamura  <tkent@chromium.org>
618
619         Reviewed by Hajime Morita.
620
621         [Chromium] Fix a bug of WebFrameImpl::forms()
622         https://bugs.webkit.org/show_bug.cgi?id=60606
623
624         If document()->forms() contained non-HTML element, the second for
625         loop didn't stop.
626
627         * src/WebFrameImpl.cpp:
628         (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
629
630 2011-05-10  Ilya Tikhonovsky  <loislo@chromium.org>
631
632         Unreviewed buildfix for strict OwnPtr patch.
633
634         * src/PlatformBridge.cpp:
635         (WebCore::PlatformBridge::loadPlatformAudioResource):
636         (WebCore::PlatformBridge::decodeAudioFileData):
637
638 2011-05-06  Brett Wilson  <brettw@chromium.org>
639
640         Reviewed by Adam Barth.
641
642         Use a File object to store the downloaded file reference rather than
643         just the path. This keeps the file and permissions in scope (using the
644         already-existing blob system) so the browser won't delete the file
645         when the load is complete. Instead, the file will be cleaned up when
646         the request objects are deleted.
647         https://bugs.webkit.org/show_bug.cgi?id=60281
648
649         * src/WebURLResponse.cpp:
650         (WebKit::WebURLResponse::downloadFilePath):
651         (WebKit::WebURLResponse::setDownloadFilePath):
652
653 2011-05-10  Mikhail Naganov  <mnaganov@chromium.org>
654
655         Reviewed by Yury Semikhatsky.
656
657         Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
658         https://bugs.webkit.org/show_bug.cgi?id=60471
659
660         * src/js/Tests.js:
661
662 2011-05-10  Adam Barth  <abarth@webkit.org>
663
664         Attempt to fix the clang build.
665
666         * src/WebDevToolsAgentImpl.cpp:
667
668 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
669
670         Unreviewed, rolling out r86091.
671         http://trac.webkit.org/changeset/86091
672         https://bugs.webkit.org/show_bug.cgi?id=60510
673
674         Broke Chromium win release build. (Requested by dave_levin on
675         #webkit).
676
677         * WebKit.gyp:
678         * features.gypi:
679         * public/WebFrame.h:
680         * public/WebFrameClient.h:
681         (WebKit::WebFrameClient::didChangeIcons):
682         * public/WebIconURL.h: Removed.
683         * src/AssertMatchingEnums.cpp:
684         * src/FrameLoaderClientImpl.cpp:
685         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
686         * src/WebFrameImpl.cpp:
687         (WebKit::WebFrameImpl::favIconURL):
688         * src/WebFrameImpl.h:
689
690 2011-05-09  Tao Bai  <michaelbai@chromium.org>
691
692         Reviewed by David Levin.
693
694         Handle the touch icon.
695         https://bugs.webkit.org/show_bug.cgi?id=60247
696
697         Added WebIconURL for the corresponding IconURL.
698         Added method iconURLs() to specify the type of icon need to return.
699         The favIconURL() is deprecated.
700
701         * WebKit.gyp:
702         * features.gypi:
703         * public/WebFrame.h:
704         * public/WebFrameClient.h:
705         (WebKit::WebFrameClient::didChangeIcons):
706         * public/WebIconURL.h: Added.
707         (WebKit::WebIconURL::WebIconURL):
708         * src/AssertMatchingEnums.cpp:
709         * src/FrameLoaderClientImpl.cpp:
710         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
711         * src/WebFrameImpl.cpp:
712         (WebKit::WebFrameImpl::favIconURL):
713         * src/WebFrameImpl.h:
714
715 2011-05-09  Evan Martin  <evan@chromium.org>
716
717         Reviewed by Tony Chang.
718
719         [chromium] make DumpRenderTree build in components for linux
720         https://bugs.webkit.org/show_bug.cgi?id=60491
721
722         * WebKit.gyp: move some code that was in a Windows-only block to be used
723         on all platforms.
724
725 2011-05-09  Adam Barth  <abarth@webkit.org>
726
727         Reviewed by Tony Gentilcore.
728
729         Make Chromium build with strict PassOwnPtr
730         https://bugs.webkit.org/show_bug.cgi?id=60461
731
732         Fixed many, many PassOwnPtr nits.
733
734         * src/EditorClientImpl.cpp:
735         (WebKit::EditorClientImpl::autofill):
736         * src/IDBDatabaseBackendProxy.cpp:
737         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
738         (WebKit::IDBDatabaseBackendProxy::transaction):
739         * src/IDBObjectStoreBackendProxy.cpp:
740         (WebKit::IDBObjectStoreBackendProxy::createIndex):
741         (WebKit::IDBObjectStoreBackendProxy::index):
742         * src/IDBTransactionBackendProxy.cpp:
743         (WebKit::IDBTransactionBackendProxy::objectStore):
744         * src/PlatformMessagePortChannel.cpp:
745         (WebCore::MessagePortChannel::create):
746         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
747         * src/SharedWorkerRepository.cpp:
748         (WebCore::SharedWorkerRepository::connect):
749         * src/SocketStreamHandle.cpp:
750         (WebCore::SocketStreamHandleInternal::create):
751         * src/WebDevToolsAgentImpl.cpp:
752         (WebKit::DebuggerTask::DebuggerTask):
753         (WebKit::DebuggerTask::~DebuggerTask):
754         (WebKit::DebuggerTask::run):
755         (WebKit::WebDevToolsAgent::interruptAndDispatch):
756         * src/WebDevToolsFrontendImpl.cpp:
757         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
758         * src/WebIDBCallbacksImpl.cpp:
759         (WebKit::WebIDBCallbacksImpl::onSuccess):
760         * src/WebIDBCursorImpl.cpp:
761         (WebKit::WebIDBCursorImpl::update):
762         (WebKit::WebIDBCursorImpl::continueFunction):
763         (WebKit::WebIDBCursorImpl::deleteFunction):
764         * src/WebIDBDatabaseImpl.cpp:
765         (WebKit::WebIDBDatabaseImpl::setVersion):
766         (WebKit::WebIDBDatabaseImpl::open):
767         * src/WebIDBFactoryImpl.cpp:
768         (WebKit::WebIDBFactoryImpl::open):
769         * src/WebIDBIndexImpl.cpp:
770         (WebKit::WebIDBIndexImpl::openObjectCursor):
771         (WebKit::WebIDBIndexImpl::openKeyCursor):
772         (WebKit::WebIDBIndexImpl::getObject):
773         (WebKit::WebIDBIndexImpl::getKey):
774         * src/WebIDBObjectStoreImpl.cpp:
775         (WebKit::WebIDBObjectStoreImpl::get):
776         (WebKit::WebIDBObjectStoreImpl::put):
777         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
778         (WebKit::WebIDBObjectStoreImpl::clear):
779         (WebKit::WebIDBObjectStoreImpl::openCursor):
780         * src/WebIDBTransactionImpl.cpp:
781         (WebKit::WebIDBTransactionImpl::setCallbacks):
782         * src/WebPluginContainerImpl.cpp:
783         (WebKit::WebPluginContainerImpl::loadFrameRequest):
784         * src/WebViewImpl.cpp:
785         (WebKit::WebViewImpl::setDevToolsAgentClient):
786         * src/WebWorkerClientImpl.cpp:
787         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
788         * src/WebWorkerImpl.cpp:
789         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
790         * src/WorkerFileWriterCallbacksBridge.cpp:
791         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
792         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
793         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
794         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
795
796 2011-05-09  Shishir Agrawal  <shishir@chromium.org>
797
798         Reviewed by Tony Gentilcore.
799
800         Implement Page Visibility API.
801         https://bugs.webkit.org/show_bug.cgi?id=54181
802
803         * WebKit.gyp:
804         * public/WebPageVisibilityState.h: Added.
805         * public/WebView.h:
806         (WebKit::WebView::setVisibilityState):
807         * public/WebViewClient.h:
808         (WebKit::WebViewClient::visibilityState):
809         * src/AssertMatchingEnums.cpp:
810         * src/WebViewImpl.cpp:
811         (WebKit::WebViewImpl::WebViewImpl):
812         (WebKit::WebViewImpl::setVisibilityState):
813         * src/WebViewImpl.h:
814
815 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
816
817         Unreviewed, rolling out r85974.
818         http://trac.webkit.org/changeset/85974
819         https://bugs.webkit.org/show_bug.cgi?id=60444
820
821         broke browser tests (Requested by inferno-sec on #webkit).
822
823         * src/WebURLResponse.cpp:
824         (WebKit::WebURLResponse::downloadFilePath):
825         (WebKit::WebURLResponse::setDownloadFilePath):
826
827 2011-05-06  Kent Tamura  <tkent@chromium.org>
828
829         Reviewed by Ryosuke Niwa.
830
831         Eliminate WebCore/dom/InputElement.{cpp,h}
832         https://bugs.webkit.org/show_bug.cgi?id=60262
833
834         * src/WebInputElement.cpp:
835         (WebKit::WebInputElement::defaultMaxLength):
836           Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
837         (WebKit::toWebInputElement):
838           Follow the return type change of Node::toInputElement().
839
840 2011-05-06  Justin Schuh  <jschuh@chromium.org>
841
842         Reviewed by Adam Barth.
843
844         [Chromium] Whitelist input events interpreted as user gestures
845         https://bugs.webkit.org/show_bug.cgi?id=60213
846
847         * public/WebInputEvent.h:
848         (WebKit::WebInputEvent::isUserGestureEventType):
849         * src/WebViewImpl.cpp:
850         (WebKit::WebViewImpl::handleInputEvent):
851
852 2011-05-06  Brett Wilson  <brettw@chromium.org>
853
854         Reviewed by Adam Barth.
855
856         Use a File object to store the downloaded file reference rather than
857         just the path. This keeps the file and permissions in scope (using the
858         already-existing blob system) so the browser won't delete the file
859         when the load is complete. Instead, the file will be cleaned up when
860         the request objects are deleted.
861         https://bugs.webkit.org/show_bug.cgi?id=60281
862
863         * src/WebURLResponse.cpp:
864         (WebKit::WebURLResponse::downloadFilePath):
865         (WebKit::WebURLResponse::setDownloadFilePath):
866
867 2011-05-06  John Abd-El-Malek  <jam@chromium.org>
868
869         Reviewed by James Robinson.
870
871         [chromium]: Reland using WebPermissionClient for checking indexed db usage
872         https://bugs.webkit.org/show_bug.cgi?id=60386
873
874         * public/WebPermissionClient.h:
875         (WebKit::WebPermissionClient::allowIndexedDB):
876         * src/IDBFactoryBackendProxy.cpp:
877         (WebKit::IDBFactoryBackendProxy::open):
878
879 2011-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
880
881         Unreviewed, rolling out r85919.
882         http://trac.webkit.org/changeset/85919
883         https://bugs.webkit.org/show_bug.cgi?id=60378
884
885         broke chromium database tests (Requested by inferno-sec on
886         #webkit).
887
888         * public/WebPermissionClient.h:
889         * src/IDBFactoryBackendProxy.cpp:
890         (WebKit::IDBFactoryBackendProxy::open):
891
892 2011-05-04  Philippe Normand  <pnormand@igalia.com>
893
894         Reviewed by Dimitri Glazkov.
895
896         Implement LayoutTestController::pseudoShadowId()
897         https://bugs.webkit.org/show_bug.cgi?id=60034
898
899         * public/WebElement.h:
900         * src/WebElement.cpp:
901         (WebKit::WebElement::shadowPseudoId):
902
903 2011-05-05  John Abd-El-Malek  <jam@chromium.org>
904
905         Reviewed by James Robinson.
906
907         [chromium] Make IndexedDB code use WebPermissionClient API
908         https://bugs.webkit.org/show_bug.cgi?id=60340
909
910         * public/WebPermissionClient.h:
911         (WebKit::WebPermissionClient::allowIndexedDB):
912         * src/IDBFactoryBackendProxy.cpp:
913         (WebKit::IDBFactoryBackendProxy::open):
914
915 2011-05-05  Adam Barth  <abarth@webkit.org>
916
917         Roll Chromium DEPS.
918
919         * DEPS:
920
921 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
922
923         Reviewed by Eric Seidel.
924
925         Rename SelectionController to FrameSelection
926         https://bugs.webkit.org/show_bug.cgi?id=60234
927
928         * src/WebFrameImpl.cpp:
929         (WebKit::WebFrameImpl::selectWordAroundCaret):
930         * src/WebViewImpl.cpp:
931         (WebKit::WebViewImpl::textInputType):
932         (WebKit::WebViewImpl::caretOrSelectionBounds):
933         (WebKit::WebViewImpl::caretOrSelectionRange):
934         (WebKit::WebViewImpl::clearFocusedNode):
935
936 2011-05-03  Hans Wennborg  <hans@chromium.org>
937
938         Reviewed by Steve Block.
939
940         IndexedDB: Unit tests for LevelDB key coding functions
941         https://bugs.webkit.org/show_bug.cgi?id=59692
942
943         Add unit tests for the basic key coding functions used by the LevelDB back-end.
944
945         * WebKit.gypi:
946         * tests/IDBLevelDBCodingTest.cpp: Added.
947         (IDBLevelDBCoding::TEST):
948
949 2011-05-04  MORITA Hajime  <morrita@google.com>
950
951         Unreviewed unit test skip (startPostAndWaitOnCondition)
952         which fails on Windows 7. See bug 60248 for tracking.
953         
954         * tests/CCThreadTest.cpp:
955         (WebCore::TEST):
956
957 2011-05-04  Cris Neckar  <cdn@chromium.org>
958
959         Reviewed by Adam Barth.
960
961         Expose WebView directly through ChromeClient.
962         https://bugs.webkit.org/show_bug.cgi?id=49902
963
964         * src/AutoFillPopupMenuClient.cpp:
965         (WebKit::AutoFillPopupMenuClient::getWebView):
966         * src/ChromeClientImpl.cpp:
967         (WebKit::ChromeClientImpl::webView):
968         * src/ChromeClientImpl.h:
969         * src/GraphicsContext3DChromium.cpp:
970         (WebCore::GraphicsContext3DInternal::initialize):
971         * src/PlatformBridge.cpp:
972         (WebCore::toWebWidgetClient):
973         * src/StorageNamespaceProxy.cpp:
974         (WebCore::StorageNamespace::sessionStorageNamespace):
975         * src/WebViewImpl.cpp:
976         (WebKit::WebViewImpl::fromPage):
977
978 2011-05-04  Nate Chapin  <japhet@chromium.org>
979
980         Reviewed by Mihai Parparita.
981
982         Ensure we don't overwrite user-specified scroll positions
983         on same document HistoryItem navigations.
984         https://bugs.webkit.org/show_bug.cgi?id=59877
985
986         * src/WebFrameImpl.cpp:
987         (WebKit::WebFrameImpl::loadHistoryItem):
988         (WebKit::WebFrameImpl::currentHistoryItem):
989         (WebKit::WebFrameImpl::WebFrameImpl):
990         * src/WebFrameImpl.h:
991
992 2011-05-04  Tao Bai  <michaelbai@chromium.org>
993
994         Reviewed by David Kilzer.
995
996         Populate touch-icon url to FrameLoaderClient
997         https://bugs.webkit.org/show_bug.cgi?id=59143
998
999         Respected the change of FrameLoaderClient.
1000
1001         * src/FrameLoaderClientImpl.cpp:
1002         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
1003         * src/FrameLoaderClientImpl.h:
1004
1005 2011-05-04  Jay Civelli  <jcivelli@chromium.org>
1006
1007         Reviewed by Ojan Vafai.
1008
1009         Send the char events to the select popup if one is showing to fix
1010         a bug were pressing a letter would not select the matching option.
1011         https://bugs.webkit.org/show_bug.cgi?id=47769
1012
1013         * src/WebViewImpl.cpp:
1014         (WebKit::WebViewImpl::keyEvent):
1015         (WebKit::WebViewImpl::charEvent):
1016         * src/WebViewImpl.h:
1017
1018 2011-05-03  Justin Novosad  <junov@chromium.org>
1019
1020         Reviewed by Kenneth Russell.
1021
1022         [Chromium] Make accelerated 2d canvas enabled by default with skia
1023         https://bugs.webkit.org/show_bug.cgi?id=59929
1024         Added new flag for enabling the legacy accelerated 2d canvas
1025         The flag is not yet functional with this change.
1026
1027         * public/WebSettings.h:
1028         * src/WebSettingsImpl.cpp:
1029         (WebKit::WebSettingsImpl::setLegacyAccelerated2dCanvasEnabled):
1030         * src/WebSettingsImpl.h:
1031
1032 2011-05-03  Alpha Lam  <hclam@chromium.org>
1033
1034         Not reviewed. Build fix.
1035
1036         More 0 to nullptr.
1037
1038         * src/FrameLoaderClientImpl.cpp:
1039         (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
1040         * src/GraphicsContext3DChromium.cpp:
1041         (WebCore::GraphicsContext3D::~GraphicsContext3D):
1042         * src/WebAudioBus.cpp:
1043         (WebKit::WebAudioBus::release):
1044         * src/WebBlobData.cpp:
1045         (WebKit::WebBlobData::reset):
1046         * src/WebViewImpl.cpp:
1047         (WebKit::WebView::addUserScript):
1048         (WebKit::WebView::addUserStyleSheet):
1049
1050 2011-05-03  John Abd-El-Malek  <jam@chromium.org>
1051
1052         Reviewed by James Robinson.
1053
1054         [chromium] Go through WebPermissionClient for local storage access.  Also cleanup left over code from previous WebPermissionClient change.
1055         https://bugs.webkit.org/show_bug.cgi?id=60066
1056
1057         * public/WebFrameClient.h:
1058         * public/WebPermissionClient.h:
1059         (WebKit::WebPermissionClient::allowLocalStorage):
1060         * src/DatabaseObserver.cpp:
1061         (WebCore::DatabaseObserver::canEstablishDatabase):
1062         * src/FrameLoaderClientImpl.cpp:
1063         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
1064         (WebKit::FrameLoaderClientImpl::allowJavaScript):
1065         (WebKit::FrameLoaderClientImpl::allowPlugins):
1066         (WebKit::FrameLoaderClientImpl::allowImages):
1067         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
1068         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
1069         * src/StorageAreaProxy.cpp:
1070         (WebCore::StorageAreaProxy::setItem):
1071
1072 2011-05-03  Tony Chang  <tony@chromium.org>
1073
1074         Unreviewed, rolling the version of chromium to r83922.
1075
1076         * DEPS:
1077
1078 2011-05-03  Julien Chaffraix  <jchaffraix@codeaurora.org>
1079
1080         Reviewed by Dimitri Glazkov.
1081
1082         Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
1083         https://bugs.webkit.org/show_bug.cgi?id=58703
1084
1085         * src/WebElement.cpp: Added #include for ShadowRoot.h.
1086
1087 2011-05-02  Adam Klein  <adamk@chromium.org>
1088
1089         Reviewed by Tony Chang.
1090
1091         Roll chromium DEPS to r83722, add new crypto directory to DEPS
1092         https://bugs.webkit.org/show_bug.cgi?id=59992
1093
1094         * DEPS:
1095
1096 2011-05-02  Adam Roben  <aroben@apple.com>
1097
1098         Take advantage of implicit conversion from nullptr_t to PassOwnPtr
1099
1100         Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
1101         doesn't work, but should
1102
1103         Reviewed by Adam Barth.
1104
1105         * src/WebMediaPlayerClientImpl.cpp:
1106
1107 2011-05-03  Pavel Feldman  <pfeldman@google.com>
1108
1109         Not reviewed: re-applied r85589.
1110
1111         * src/js/DevTools.js:
1112         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
1113
1114 2011-05-03  Pavel Feldman  <pfeldman@google.com>
1115
1116         Reviewed by Yury Semikhatsky.
1117
1118         Web Inspector: [remote debugging] use document.title to set window name.
1119         https://bugs.webkit.org/show_bug.cgi?id=60012
1120
1121         * src/js/DevTools.js:
1122         (WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
1123
1124 2011-05-02  Alok Priyadarshi  <alokp@chromium.org>
1125
1126         Reviewed by Dimitri Glazkov.
1127
1128         Chromium windows build is broken due to r85395
1129         https://bugs.webkit.org/show_bug.cgi?id=59945
1130         
1131         Include SecurityOrigin.h in IDBFactoryBackendProxy.cpp
1132
1133         * src/IDBFactoryBackendProxy.cpp:
1134
1135 2011-04-30  Mihai Parparita  <mihaip@chromium.org>
1136
1137         Reviewed by Eric Seidel.
1138
1139         V8Proxy.h shouldn't include SecurityOrigin.h
1140         https://bugs.webkit.org/show_bug.cgi?id=59859
1141
1142         Add SecurityOrigin.h includes to places that were relying on transitive
1143         includes.
1144
1145         * src/ApplicationCacheHost.cpp:
1146         * src/WebGeolocationPermissionRequest.cpp:
1147
1148 2011-04-29  Chris Evans  <cevans@chromium.org>
1149
1150         Reviewed by Adam Barth.
1151
1152         Add WebCore::Setting to block displaying and/or running insecure content on secure pages
1153         https://bugs.webkit.org/show_bug.cgi?id=58378
1154
1155         * public/WebSettings.h:
1156         * src/WebSettingsImpl.cpp:
1157         (WebKit::WebSettingsImpl::setAllowDisplayOfInsecureContent):
1158         (WebKit::WebSettingsImpl::setAllowRunningOfInsecureContent):
1159         * src/WebSettingsImpl.h:
1160         Simple plumbing for the new boolean settings.
1161
1162 2011-04-29  Kenneth Russell  <kbr@google.com>
1163
1164         Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.
1165
1166         * WebKit.gyp:
1167
1168 2011-04-28  Evan Martin  <evan@chromium.org>
1169
1170         Reviewed by Tony Chang.
1171
1172         [chromium] support components build on Linux
1173         https://bugs.webkit.org/show_bug.cgi?id=59748
1174
1175         * WebKit.gyp: adjust tests to not be Windows-specific.
1176         * public/WebCommon.h: add #defines to support Linux.
1177         * public/linux/WebFontRenderStyle.h: expose Linux-specific API.
1178         * tests/RunAllTests.cpp: adjust ifdefs to not be Windows-specific.
1179
1180 2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>
1181
1182         Reviewed by Pavel Feldman.
1183
1184         Chromium DevTools: Fix network panel timing/size/headers tests.
1185         https://bugs.webkit.org/show_bug.cgi?id=59696
1186
1187         * src/js/Tests.js:
1188         (.TestSuite.prototype.testNetworkSize.finishResource):
1189         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
1190         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
1191         (.TestSuite.prototype.testNetworkTiming.finishResource):
1192
1193 2011-04-29  Pavel Feldman  <pfeldman@google.com>
1194
1195         Reviewed by Yury Semikhatsky.
1196
1197         Web Inspector: add "open link in new tab" action into the network and resources panels.
1198         https://bugs.webkit.org/show_bug.cgi?id=59788
1199
1200         This change also distinguishes context menu items case between platforms.
1201
1202         * src/js/DevTools.js:
1203
1204 2011-04-28  Nat Duca  <nduca@chromium.org>
1205
1206         Reviewed by Kenneth Russell.
1207
1208         [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
1209         https://bugs.webkit.org/show_bug.cgi?id=59626
1210
1211         * public/WebGraphicsContext3D.h:
1212         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
1213         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
1214         * src/Extensions3DChromium.cpp:
1215         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
1216         * src/GraphicsContext3DChromium.cpp:
1217         (WebCore::SwapBuffersCompleteCallbackAdapter::~SwapBuffersCompleteCallbackAdapter):
1218         (WebCore::SwapBuffersCompleteCallbackAdapter::SwapBuffersCompleteCallbackAdapter):
1219         (WebCore::SwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
1220         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
1221         (WebCore::GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM):
1222         * src/GraphicsContext3DInternal.h:
1223         * src/WebViewImpl.cpp:
1224
1225 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
1226
1227         Reviewed by Tony Chang.
1228
1229         [chromium] Fix silly bug with WebPermissionClient
1230         https://bugs.webkit.org/show_bug.cgi?id=59769
1231
1232         * src/FrameLoaderClientImpl.cpp:
1233         (WebKit::FrameLoaderClientImpl::allowJavaScript):
1234         (WebKit::FrameLoaderClientImpl::allowPlugins):
1235         (WebKit::FrameLoaderClientImpl::allowImages):
1236
1237 2011-04-28  Jay Civelli  <jcivelli@chromium.org>
1238
1239         Reviewed by Adam Barth.
1240
1241         Introducing a new API to serialize a WebView back to HTML.
1242         https://bugs.webkit.org/show_bug.cgi?id=58947
1243
1244         * WebKit.gyp:
1245         * public/WebPageSerializer.h:
1246         * src/WebPageSerializer.cpp:
1247         (WebKit::WebPageSerializer::serialize):
1248         * tests/WebPageNewSerializerTest.cpp: Added.
1249         * tests/data/pageserializer: Added.
1250         * tests/data/pageserializer/blank_frames.html: Added.
1251         * tests/data/pageserializer/blue_background.png: Added.
1252         * tests/data/pageserializer/css_test_page.html: Added.
1253         * tests/data/pageserializer/green_background.png: Added.
1254         * tests/data/pageserializer/iframe.html: Added.
1255         * tests/data/pageserializer/iframe2.html: Added.
1256         * tests/data/pageserializer/import_style_from_link.css: Added.
1257         * tests/data/pageserializer/import_styles.css: Added.
1258         * tests/data/pageserializer/link_styles.css: Added.
1259         * tests/data/pageserializer/ol-dot.png: Added.
1260         * tests/data/pageserializer/orange_background.png: Added.
1261         * tests/data/pageserializer/purple_background.png: Added.
1262         * tests/data/pageserializer/red_background.png: Added.
1263         * tests/data/pageserializer/simple.xhtml: Added.
1264         * tests/data/pageserializer/top_frame.html: Added.
1265         * tests/data/pageserializer/ul-dot.png: Added.
1266         * tests/data/pageserializer/yellow_background.png: Added.
1267
1268 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
1269
1270         Reviewed by Darin Fisher.
1271
1272         [chromium] Add a WebPermissionClient to be used for checking permissions of features
1273         https://bugs.webkit.org/show_bug.cgi?id=59720
1274
1275         * public/WebFrameClient.h:
1276         (WebKit::WebFrameClient::allowPlugins):
1277         (WebKit::WebFrameClient::didNotAllowPlugins):
1278         (WebKit::WebFrameClient::allowImages):
1279         (WebKit::WebFrameClient::allowScript):
1280         (WebKit::WebFrameClient::allowDatabase):
1281         (WebKit::WebFrameClient::didNotAllowScript):
1282         * public/WebPermissionClient.h: Added.
1283         (WebKit::WebPermissionClient::allowDatabase):
1284         (WebKit::WebPermissionClient::allowImages):
1285         (WebKit::WebPermissionClient::allowPlugins):
1286         (WebKit::WebPermissionClient::allowScript):
1287         (WebKit::WebPermissionClient::allowScriptExtension):
1288         (WebKit::WebPermissionClient::allowReadFromClipboard):
1289         (WebKit::WebPermissionClient::allowWriteToClipboard):
1290         (WebKit::WebPermissionClient::didNotAllowPlugins):
1291         (WebKit::WebPermissionClient::didNotAllowScript):
1292         (WebKit::WebPermissionClient::~WebPermissionClient):
1293         * public/WebView.h:
1294         * public/WebViewClient.h:
1295         (WebKit::WebViewClient::didEndEditing):
1296         * src/DatabaseObserver.cpp:
1297         (WebCore::DatabaseObserver::canEstablishDatabase):
1298         * src/EditorClientImpl.cpp:
1299         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
1300         (WebKit::EditorClientImpl::canCopyCut):
1301         (WebKit::EditorClientImpl::canPaste):
1302         * src/FrameLoaderClientImpl.cpp:
1303         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
1304         (WebKit::FrameLoaderClientImpl::allowJavaScript):
1305         (WebKit::FrameLoaderClientImpl::allowPlugins):
1306         (WebKit::FrameLoaderClientImpl::allowImages):
1307         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
1308         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
1309         * src/WebFrameImpl.cpp:
1310         (WebKit::WebFrameImpl::enableContinuousSpellChecking):
1311         * src/WebViewImpl.cpp:
1312         (WebKit::WebViewImpl::setAutoFillClient):
1313         (WebKit::WebViewImpl::setPermissionClient):
1314         (WebKit::WebViewImpl::WebViewImpl):
1315         * src/WebViewImpl.h:
1316         (WebKit::WebViewImpl::permissionClient):
1317
1318 2011-04-28  Kenneth Russell  <kbr@google.com>
1319
1320         Unreviewed fix for Windows multi-DLL build.
1321
1322         * WebKit.gyp:
1323
1324 2011-04-27  Dmitry Lomov  <dslomov@google.com>
1325
1326         Reviewed by David Levin.
1327         
1328         CrossThreadCopier should not have a default specialization for raw pointers
1329         https://bugs.webkit.org/show_bug.cgi?id=59234
1330         Removed the ablity to pass raw pointers cross-thread
1331         Added and applied annotations for doing that
1332
1333         * src/WebSharedWorkerImpl.cpp:
1334         (WebKit::WebSharedWorkerImpl::connect):
1335         (WebKit::WebSharedWorkerImpl::connectTask):
1336         * src/WebSharedWorkerImpl.h:
1337         * src/WebWorkerBase.cpp:
1338         (WebKit::WebWorkerBase::postMessageToWorkerObject):
1339         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
1340         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
1341         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
1342         (WebKit::WebWorkerBase::reportPendingActivity):
1343         (WebKit::WebWorkerBase::workerContextClosed):
1344         (WebKit::WebWorkerBase::workerContextDestroyed):
1345         * src/WebWorkerClientImpl.cpp:
1346         (WebKit::WebWorkerClientImpl::startWorkerContext):
1347         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1348         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
1349         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
1350         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
1351         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
1352         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
1353         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
1354         (WebKit::WebWorkerClientImpl::reportPendingActivity):
1355         * src/WebWorkerImpl.cpp:
1356         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
1357         * src/WorkerFileSystemCallbacksBridge.cpp:
1358         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
1359         (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
1360         (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
1361         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
1362         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
1363         (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
1364         (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
1365         (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
1366         (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
1367         (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
1368         (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
1369         (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
1370         (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
1371         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
1372         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
1373         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
1374         * src/WorkerFileWriterCallbacksBridge.cpp:
1375         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
1376         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
1377         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
1378         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
1379         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
1380         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
1381         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
1382         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
1383         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
1384         * tests/CCThreadTest.cpp:
1385         (WebCore::TEST):
1386
1387 2011-04-27  James Robinson  <jamesr@chromium.org>
1388
1389         Reviewed by Kenneth Russell.
1390
1391         [chromium] Ensure compositing layers are up to date before entering doComposite
1392         https://bugs.webkit.org/show_bug.cgi?id=59159
1393
1394         Explicitly update and sync the compositing layer data structures for all frames in the tree before entering the
1395         composite operation so that lazily updated state doesn't mutate the GraphicsLayer tree while compositing.
1396
1397         * src/WebViewImpl.cpp:
1398         (WebKit::WebViewImpl::composite):
1399
1400 2011-04-27  James Robinson  <jamesr@chromium.org>
1401
1402         Reviewed by Adam Barth.
1403
1404         Fix OwnPtr strict issues in chromium linux build
1405         https://bugs.webkit.org/show_bug.cgi?id=59664
1406
1407         * src/WebImageDecoder.cpp:
1408         (WebKit::WebImageDecoder::getFrameAtIndex):
1409         * src/WebImageSkia.cpp:
1410         (WebKit::WebImage::fromData):
1411
1412 2011-04-27  Adam Barth  <abarth@webkit.org>
1413
1414         Reviewed by David Levin.
1415
1416         Make GraphicsContext3DChromium play nice with strict OwnPtrs
1417         https://bugs.webkit.org/show_bug.cgi?id=59659
1418
1419         Attempt #2.  Hopefully this time I won't make everything crash.
1420
1421         * src/GraphicsContext3DChromium.cpp:
1422         (WebCore::GraphicsContext3DInternal::initialize):
1423
1424 2011-04-27  Dirk Pranke  <dpranke@chromium.org>
1425
1426         Reviewed by Darin Fisher.
1427
1428         remove unneeded TestWebWidget class
1429         https://bugs.webkit.org/show_bug.cgi?id=59573
1430
1431         * tests/PopupMenuTest.cpp:
1432
1433 2011-04-27  Tony Chang  <tony@chromium.org>
1434
1435         Reviewed by Ojan Vafai.
1436
1437         [chromium] add a build target to make a zip file with the inspector debug files
1438         https://bugs.webkit.org/show_bug.cgi?id=56656
1439
1440         * WebKit.gyp: Add target
1441         * scripts/concatenate_css_files.py: Pass in a string of html rather
1442             than a filename
1443         * scripts/concatenate_js_files.py: Same as above
1444         * scripts/generate_devtools_html.py: Refactor main into a helper function
1445         * scripts/generate_devtools_zip.py: Added.
1446
1447 2011-04-27  Mihai Parparita  <mihaip@chromium.org>
1448
1449         Reviewed by Eric Seidel.
1450
1451         Frame.h shouldn't include Document.h
1452         https://bugs.webkit.org/show_bug.cgi?id=59560
1453         
1454         Add Document.h #includes for files that were relying on transitive
1455         #includes via Frame.h.
1456
1457         * src/LocalFileSystemChromium.cpp:
1458         * src/StorageEventDispatcherImpl.cpp:
1459         * src/WebFrameImpl.h:
1460         * src/WebWorkerBase.cpp:
1461
1462 2011-04-26  Jay Civelli  <jcivelli@chromium.org>
1463
1464         Reviewed by Eric Seidel.
1465
1466         Typedefing the shared timer function.
1467         https://bugs.webkit.org/show_bug.cgi?id=59564
1468
1469         * public/WebKitClient.h:
1470         (WebKit::WebKitClient::setSharedTimerFiredFunction):
1471
1472 2011-04-26  Dirk Pranke  <dpranke@chromium.org>
1473
1474         Unreviewed, rolling out r84982.
1475         http://trac.webkit.org/changeset/84982
1476         https://bugs.webkit.org/show_bug.cgi?id=59558
1477
1478         re-land r84951
1479
1480         * WebKit.gyp:
1481         * public/WebFrame.h:
1482         * public/WebWidget.h:
1483         * public/mac/WebSubstringUtil.h: Added.
1484         * src/WebFrameImpl.cpp:
1485         (WebKit::WebFrameImpl::firstRectForCharacterRange):
1486         (WebKit::WebFrameImpl::characterIndexForPoint):
1487         * src/WebFrameImpl.h:
1488         * src/WebPopupMenuImpl.cpp:
1489         (WebKit::WebPopupMenuImpl::compositionRange):
1490         (WebKit::WebPopupMenuImpl::caretOrSelectionRange):
1491         * src/WebPopupMenuImpl.h:
1492         * src/WebViewImpl.cpp:
1493         (WebKit::WebViewImpl::compositionRange):
1494         (WebKit::WebViewImpl::caretOrSelectionRange):
1495         * src/WebViewImpl.h:
1496         * src/mac/WebSubstringUtil.mm: Added.
1497         (WebKit::WebSubstringUtil::attributedSubstringInRange):
1498
1499 2011-04-26  Sam Weinig  <sam@webkit.org>
1500
1501         Reviewed by David Hyatt.
1502
1503         Remove Datagrid from the tree
1504         https://bugs.webkit.org/show_bug.cgi?id=59543
1505
1506         * features.gypi:
1507         Remove feature.
1508
1509 2011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1510
1511         Unreviewed, rolling out r84951.
1512         http://trac.webkit.org/changeset/84951
1513         https://bugs.webkit.org/show_bug.cgi?id=59558
1514
1515         "breaks chromium compile" (Requested by dpranke on #webkit).
1516
1517         * WebKit.gyp:
1518         * public/WebFrame.h:
1519         * public/WebWidget.h:
1520         * public/mac/WebSubstringUtil.h: Removed.
1521         * src/WebFrameImpl.cpp:
1522         (WebKit::WebFrameImpl::firstRectForCharacterRange):
1523         * src/WebFrameImpl.h:
1524         * src/WebPopupMenuImpl.cpp:
1525         * src/WebPopupMenuImpl.h:
1526         * src/WebViewImpl.cpp:
1527         * src/WebViewImpl.h:
1528         * src/mac/WebSubstringUtil.mm: Removed.
1529
1530 2011-04-26  Daniel Cheng  <dcheng@chromium.org>
1531
1532         Reviewed by Eric Seidel.
1533
1534         [chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste
1535         https://bugs.webkit.org/show_bug.cgi?id=59264
1536
1537         * public/WebViewClient.h:
1538         (WebKit::WebViewClient::canTriggerClipboardRead):
1539         (WebKit::WebViewClient::canTriggerClipboardWrite):
1540         * src/EditorClientImpl.cpp:
1541         (WebKit::EditorClientImpl::canCopyCut):
1542         (WebKit::EditorClientImpl::canPaste):
1543
1544 2011-04-26  Evan Martin  <evan@chromium.org>
1545
1546         Unreviewed, Chrome/Mac build fix.
1547
1548         * WebKit.gypi: Remove extra file.  (I removed a subtraction, but
1549         forgot to remove the corresponding addition that the subtraction
1550         was counteracting.)
1551
1552 2011-04-26  Evan Martin  <evan@chromium.org>
1553
1554         Reviewed by Tony Chang.
1555
1556         [chromium] refactor duplicated list of test source files
1557         https://bugs.webkit.org/show_bug.cgi?id=59478
1558
1559         The platform-specific unit test files were listed twice in
1560         WebKit.gyp: once for the components build, once for the normal
1561         build.  Refactor this into the unified webkit_unittest_files
1562         variable.  (It appears the omission of WebPageSerializerTest
1563         in one instance was an oversight.)
1564
1565         * WebKit.gyp:
1566         * WebKit.gypi:
1567
1568 2011-04-26  Robert Sesek  <rsesek@chromium.org>
1569
1570         Reviewed by Dimitri Glazkov.
1571
1572         [Chromium] Implement WebKit methods to assist with Cocoa NSTextInput implementation
1573         https://bugs.webkit.org/show_bug.cgi?id=54969
1574
1575         * WebKit.gyp:
1576         * public/WebFrame.h:
1577         * public/WebWidget.h:
1578         * public/mac/WebSubstringUtil.h: Added.
1579         * src/WebFrameImpl.cpp:
1580         (WebKit::WebFrameImpl::firstRectForCharacterRange): Return the result rect in window coordinates
1581         (WebKit::WebFrameImpl::characterIndexForPoint): New method on WebFrame
1582         * src/WebFrameImpl.h:
1583         * src/WebPopupMenuImpl.cpp:
1584         (WebKit::WebPopupMenuImpl::compositionRange): New method on WebWidget; empty impl
1585         (WebKit::WebPopupMenuImpl::caretOrSelectionRange): New method on WebWidget; empty impl
1586         * src/WebPopupMenuImpl.h:
1587         * src/WebViewImpl.cpp:
1588         (WebKit::WebViewImpl::compositionRange): New method on WebWidget
1589         (WebKit::WebViewImpl::caretOrSelectionRange): New method on WebWidget
1590         * src/WebViewImpl.h:
1591         * src/mac/WebSubstringUtil.mm: Added.
1592         (WebKit::WebSubstringUtil::attributedSubstringInRange):
1593
1594 2011-04-26  Adam Barth  <abarth@webkit.org>
1595
1596         Reviewed by David Levin.
1597
1598         Moar strict OwnPtr fixes for WebKit/chromium
1599         https://bugs.webkit.org/show_bug.cgi?id=59437
1600
1601         This patch fixes all but two strict OwnPtr issues in WebKit/chromium.
1602
1603         * src/WebDataSourceImpl.cpp:
1604         (WebKit::WebDataSourceImpl::setExtraData):
1605         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
1606         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
1607         * src/WebDataSourceImpl.h:
1608         * src/WebDevToolsAgentImpl.cpp:
1609         (WebKit::WebDevToolsAgentImpl::attach):
1610         (WebKit::WebDevToolsAgentImpl::detach):
1611         (WebKit::WebDevToolsAgent::interruptAndDispatch):
1612         * src/WebFrameImpl.cpp:
1613         (WebKit::WebFrameImpl::printBegin):
1614         * src/WebMediaPlayerClientImpl.cpp:
1615         (WebKit::createWebMediaPlayer):
1616         (WebKit::WebMediaPlayerClientImpl::loadInternal):
1617         * src/WebSpeechInputControllerMockImpl.cpp:
1618         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
1619         * src/WebStorageEventDispatcherImpl.cpp:
1620         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
1621         * src/WebViewImpl.cpp:
1622         (WebKit::WebViewImpl::WebViewImpl):
1623         (WebKit::WebViewImpl::settings):
1624         (WebKit::WebViewImpl::applyAutoFillSuggestions):
1625         (WebKit::WebView::addUserScript):
1626         (WebKit::WebView::addUserStyleSheet):
1627
1628 2011-04-26  Ruben  <chromium@hybridsource.org>
1629
1630         Reviewed by Tony Chang.
1631
1632         Change linux ifdefs for Chromium to Unix instead, allowing
1633         new Unix ports to be enabled by default
1634         https://bugs.webkit.org/show_bug.cgi?id=59297
1635
1636         * src/PlatformBridge.cpp:
1637         * src/WebFrameImpl.cpp:
1638         * src/WebViewImpl.cpp:
1639
1640 2011-04-26  Stephen White  <senorblanco@chromium.org>
1641
1642         Reviewed by Kenneth Russell.
1643
1644         Partial revert of http://trac.webkit.org/changeset/84893, since it
1645         triggered a large number of layout test failures.
1646         https://bugs.webkit.org/show_bug.cgi?id=59459
1647
1648         * src/GraphicsContext3DChromium.cpp:
1649         (WebCore::GraphicsContext3DInternal::initialize):
1650
1651 2011-04-26  Hans Wennborg  <hans@chromium.org>
1652
1653         Reviewed by Tony Gentilcore.
1654
1655         IndexedDB: Enable compile-time flag for LevelDB
1656         https://bugs.webkit.org/show_bug.cgi?id=59457
1657
1658         Set ENABLE_LEVELDB=1 in features.gypi.
1659
1660         * features.gypi:
1661
1662 2011-04-26  Pavel Feldman  <pfeldman@google.com>
1663
1664         Reviewed by Yury Semikhatsky.
1665
1666         Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
1667         https://bugs.webkit.org/show_bug.cgi?id=59332
1668
1669         * src/js/DevTools.js:
1670
1671 2011-04-26  Adam Barth  <abarth@webkit.org>
1672
1673         Reviewed by David Levin.
1674
1675         WebKit/chromium should play nice with strict OwnPtrs
1676         https://bugs.webkit.org/show_bug.cgi?id=59434
1677
1678         This fixes about half the issues.
1679
1680         * src/ApplicationCacheHost.cpp:
1681         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
1682         * src/ApplicationCacheHostInternal.h:
1683         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
1684         * src/AutoFillPopupMenuClient.cpp:
1685         (WebKit::AutoFillPopupMenuClient::initialize):
1686         * src/GraphicsContext3DChromium.cpp:
1687         (WebCore::GraphicsContext3DInternal::initialize):
1688         * src/ResourceHandle.cpp:
1689         (WebCore::ResourceHandleInternal::start):
1690         (WebCore::ResourceHandle::ResourceHandle):
1691         (WebCore::ResourceHandle::loadResourceSynchronously):
1692         * src/SocketStreamHandle.cpp:
1693         (WebCore::SocketStreamHandleInternal::connect):
1694
1695 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
1696
1697         Unreviewed, build fix.
1698
1699         Change FAILS_ to DISABLED_ in r84813.
1700
1701         * tests/TransparencyWinTest.cpp:
1702         (WebCore::TEST):
1703
1704 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
1705
1706         Reviewed by James Robinson.
1707
1708         Suppress test failure in Chromium webkit_unit_tests.
1709         https://bugs.webkit.org/show_bug.cgi?id=59358
1710
1711         Looks like this started failing after
1712         http://trac.webkit.org/changeset/84631.
1713
1714         * tests/TransparencyWinTest.cpp:
1715         (WebCore::TEST):
1716
1717 2011-04-22  Mikhail Naganov  <mnaganov@chromium.org>
1718
1719         Reviewed by Pavel Feldman.
1720
1721         Web Inspector: [Chromium] Move detailed heap snapshots storage and processing into workers.
1722         https://bugs.webkit.org/show_bug.cgi?id=59094
1723
1724         * WebKit.gyp:
1725
1726 2011-04-22  Andrey Kosyakov  <caseq@chromium.org>
1727
1728         Reviewed by Pavel Feldman.
1729
1730         Web Inspector: [Extensions API] misc API cleanup
1731         https://bugs.webkit.org/show_bug.cgi?id=59194
1732
1733         * src/js/DevTools.js:
1734         (WebInspector.platformExtensionAPI):
1735
1736 2011-04-21  Chris Fleizach  <cfleizach@apple.com>
1737
1738         Reviewed by Beth Dakin.
1739
1740         AX: order AccessibilityRole alphabetically
1741         https://bugs.webkit.org/show_bug.cgi?id=31524
1742
1743         * public/WebAccessibilityRole.h:
1744
1745 2011-04-21  Maciej Stachowiak  <mjs@apple.com>
1746
1747         Reviewed by Adam Roben.
1748
1749         Add a feature define to allow <details> and <summary> to be disabled
1750         https://bugs.webkit.org/show_bug.cgi?id=59118
1751         <rdar://problem/9257045>
1752
1753         * features.gypi:
1754
1755 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
1756
1757         Reviewed by Sam Weinig.
1758
1759         Add Frame* to the argument lists of canCopyCut and canPaste
1760         https://bugs.webkit.org/show_bug.cgi?id=59153
1761
1762         * src/EditorClientImpl.cpp:
1763         (WebKit::EditorClientImpl::canCopyCut):
1764         (WebKit::EditorClientImpl::canPaste):
1765         * src/EditorClientImpl.h:
1766
1767 2011-04-21  Roland Steiner  <rolandsteiner@chromium.org>
1768
1769         Reviewed by Dimitri Glazkov.
1770
1771         Bug 58704 - Decide on node type for ShadowRoot
1772         https://bugs.webkit.org/show_bug.cgi?id=58704
1773
1774         Add a new enum entry to WebNode::NodeType for shadow roots.
1775         Adapt calling sites for new SHADOW_ROOT_NODE node type.
1776
1777         * public/WebNode.h:
1778         * src/WebPageSerializerImpl.cpp:
1779         (WebKit::WebPageSerializerImpl::buildContentForNode):
1780
1781 2011-04-20  Dominic Cooney  <dominicc@chromium.org>
1782
1783         Reviewed by Dimitri Glazkov.
1784
1785         layoutTestController can create and destroy shadow DOM
1786         https://bugs.webkit.org/show_bug.cgi?id=59058
1787
1788         Chromium DRT relies on the Chromium WebKit API
1789
1790         * public/WebElement.h:
1791         * src/WebElement.cpp:
1792         (WebKit::WebElement::shadowRoot): don't steal a zero refcount
1793         (WebKit::WebElement::ensureShadowRoot): added
1794         (WebKit::WebElement::removeShadowRoot): added
1795
1796 2011-04-20  Alexey Marinichev  <amarinichev@chromium.org>
1797
1798         Reviewed by Kenneth Russell.
1799
1800         Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
1801         https://bugs.webkit.org/show_bug.cgi?id=59045
1802
1803         * src/GraphicsContext3DChromium.cpp:
1804         (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform
1805         layer and unregister itself.
1806
1807 2011-04-20  Yuzhu Shen  <yzshen@chromium.org>
1808
1809         Reviewed by Tony Chang.
1810
1811         [chromium] linux chromium doesn't set click count for mouse up events.
1812         https://bugs.webkit.org/show_bug.cgi?id=58921
1813
1814         The reason why we need such a fix is that the Pepper API passes this information to plugins,
1815         and some consumers (e.g., Flash) need it to detect double-clicks.
1816
1817         * src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
1818         * tests/WebInputEventFactoryTestGtk.cpp: added test case MouseUpClickCount.
1819
1820 2011-04-20  Evan Martin  <evan@chromium.org>
1821
1822         Reviewed by Tony Chang.
1823
1824         [chromium] expose title text direction on WebDataSource
1825         https://bugs.webkit.org/show_bug.cgi?id=59010
1826
1827         * public/WebDataSource.h:
1828         * src/WebDataSourceImpl.cpp:
1829         (WebKit::WebDataSourceImpl::pageTitle):
1830         (WebKit::WebDataSourceImpl::pageTitleDirection):
1831         * src/WebDataSourceImpl.h:
1832
1833 2011-04-20  Pavel Feldman  <pfeldman@google.com>
1834
1835         Reviewed by Yury Semikhatsky.
1836
1837         Web Inspector: add saveAs into the InspectorFrontendHost binding.
1838         https://bugs.webkit.org/show_bug.cgi?id=58979
1839
1840         * public/WebDevToolsFrontendClient.h:
1841         (WebKit::WebDevToolsFrontendClient::saveAs):
1842         * src/InspectorFrontendClientImpl.cpp:
1843         (WebKit::InspectorFrontendClientImpl::saveAs):
1844         * src/InspectorFrontendClientImpl.h:
1845         * src/js/DevTools.js:
1846
1847 2011-04-19  Naoki Takano  <takano.naoki@gmail.com>
1848
1849         Reviewed by Kent Tamura.
1850
1851         [Chromium]UI polishes and tweaks to Autofill dropdown menu.
1852         https://bugs.webkit.org/show_bug.cgi?id=58505
1853
1854         * src/AutoFillPopupMenuClient.cpp:
1855         (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
1856
1857 2011-04-19  Dirk Pranke  <dpranke@chromium.org>
1858
1859         Unreviewed, attempting build fix.
1860
1861         Disable leveldb to work around
1862         http://code.google.com/p/leveldb/issues/detail?id=1.
1863
1864         * features.gypi:
1865
1866 2011-04-19  Dominic Cooney  <dominicc@chromium.org>
1867
1868         Reviewed by Dimitri Glazkov.
1869
1870         Check the type of the wrapper when unwrapping NPObjects to native
1871         Ranges and Elements
1872         https://bugs.webkit.org/show_bug.cgi?id=58957
1873
1874         * src/WebBindings.cpp:
1875         (WebKit::getRangeImpl): check HasInstance
1876         (WebKit::getElementImpl): check HasInstance
1877
1878 2011-04-19  Evan Martin  <evan@chromium.org>
1879
1880         Reviewed by Darin Fisher.
1881
1882         [chromium] didReceiveTitle API signature should not change
1883         https://bugs.webkit.org/show_bug.cgi?id=58909
1884
1885         My previous attempt at a temporary shim was wrong.
1886         This second try should correctly work with older clients.
1887
1888         * public/WebFrameClient.h:
1889         (WebKit::WebFrameClient::didReceiveTitle):
1890
1891 2011-04-19  Jungshik Shin  <jshin@chromium.org>
1892
1893         Reviewed by Adam Barth
1894
1895         Fix the compile failure in UniscribeHelperTest.cpp due to
1896         a change in UniscribeHelper made by the CL for bug 48860
1897         (r84264)
1898
1899         http://bugs.webkit.org/show_bug.cgi?id=48860
1900
1901         * tests/UniscribeHelperTest.cpp:
1902         (TEST_F):
1903
1904 2011-04-19  Stuart Morgan  <stuartmorgan@chromium.org>
1905
1906         Reviewed by Tony Chang.
1907
1908         [chromium] Clicking on plugin for first time blocks focus shift
1909         https://bugs.webkit.org/show_bug.cgi?id=58419
1910
1911         Switched to using FocusController when moving focus to a plugin
1912         so that cross-frame focus changes are handled correctly.
1913
1914         * src/WebPluginContainerImpl.cpp:
1915         (WebKit::WebPluginContainerImpl::handleMouseEvent):
1916
1917 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
1918
1919         Reviewed by Pavel Feldman.
1920
1921         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
1922         https://bugs.webkit.org/show_bug.cgi?id=58883
1923
1924         Renamed lengthReceived to encodedDataLength/dataLength.
1925
1926         * public/WebURLLoaderClient.h:
1927         (WebKit::WebURLLoaderClient::didReceiveData):
1928         * src/AssociatedURLLoader.cpp:
1929         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
1930         * src/FrameLoaderClientImpl.cpp:
1931         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
1932         * src/FrameLoaderClientImpl.h:
1933         * src/ResourceHandle.cpp:
1934         (WebCore::ResourceHandleInternal::didReceiveData):
1935
1936 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
1937
1938         Reviewed by Pavel Feldman.
1939
1940         Chromium DevTools: Network panel timing test is flaky
1941         https://bugs.webkit.org/show_bug.cgi?id=58699
1942
1943         Fixed network timing test flakiness.
1944
1945         * src/js/Tests.js:
1946         (.TestSuite.prototype.testNetworkTiming.finishResource):
1947
1948 2011-04-19  Andrey Kosyakov  <caseq@chromium.org>
1949
1950         Reviewed by Pavel Feldman.
1951
1952         Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
1953         https://bugs.webkit.org/show_bug.cgi?id=58894
1954
1955         * src/js/DevTools.js:
1956         (WebInspector.platformExtensionAPI):
1957
1958 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
1959
1960         Not reviewed; another build fix attempt.
1961
1962         * src/StorageInfoChromium.cpp:
1963         (WebCore::StorageInfo::queryUsageAndQuota):
1964         (WebCore::StorageInfo::requestQuota):
1965         * src/WebStorageQuotaCallbacksImpl.cpp:
1966         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
1967         * src/WebStorageQuotaCallbacksImpl.h:
1968
1969 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
1970
1971         Reviewed by David Levin.
1972
1973         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
1974         https://bugs.webkit.org/show_bug.cgi?id=58784
1975
1976         * features.gypi: Added ENABLE_QUOTA=1.
1977         * public/WebRuntimeFeatures.h:
1978         * src/WebRuntimeFeatures.cpp:
1979         (WebKit::WebRuntimeFeatures::enableQuota): Added.
1980         (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
1981
1982 2011-04-19  John Gregg  <johnnyg@google.com>
1983
1984         Reviewed by Darin Fisher.
1985
1986         Enable folder drag-n-drop when using a "webkitdirectory" file input
1987         https://bugs.webkit.org/show_bug.cgi?id=58401
1988
1989         This uses a new ChromeClient API to enumerate the directory and 
1990         return all the files, as if the user had selected that directory
1991         by clicking the control in the normal way.
1992
1993         * public/WebViewClient.h:
1994         (WebKit::WebViewClient::enumerateChosenDirectory):
1995         * src/ChromeClientImpl.cpp:
1996         (WebKit::ChromeClientImpl::enumerateChosenDirectory):
1997         * src/ChromeClientImpl.h:
1998
1999 2011-04-18  Evan Martin  <evan@chromium.org>
2000
2001         Reviewed by Eric Seidel.
2002
2003         [chromium] expose title direction to webkit client
2004         https://bugs.webkit.org/show_bug.cgi?id=58823
2005
2006         * public/WebFrameClient.h:
2007         (WebKit::WebFrameClient::didReceiveTitle):
2008         Add new param to API.
2009
2010         * src/FrameLoaderClientImpl.cpp:
2011         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
2012         Pass new param in API.
2013
2014 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
2015
2016         Reviewed by Adam Barth.
2017
2018         Rename PLATFORM(CG) to USE(CG)
2019         https://bugs.webkit.org/show_bug.cgi?id=58729
2020
2021         * src/GraphicsContext3DChromium.cpp:
2022         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
2023         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
2024         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2025         (WebCore::GraphicsContext3DInternal::reshape):
2026         * src/GraphicsContext3DInternal.h:
2027         * src/PlatformBridge.cpp:
2028         * src/WebViewImpl.cpp:
2029         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2030
2031 2011-04-15  John Bates  <jbates@google.com>
2032
2033         Reviewed by Kenneth Russell.
2034
2035         Change WebGraphicsContext3D virtuals to pure virtuals as intended
2036         https://bugs.webkit.org/show_bug.cgi?id=58479
2037
2038         * public/WebGraphicsContext3D.h:
2039
2040 2011-04-15  Shishir Agrawal  <shishir@chromium.org>
2041
2042         Reviewed by James Robinson.
2043
2044         Add a flag to guard Page Visibility API changes.
2045         https://bugs.webkit.org/show_bug.cgi?id=58464
2046
2047         * features.gypi:
2048
2049 2011-04-15  Charlie Reis  <creis@chromium.org>
2050
2051         Reviewed by Darin Fisher.
2052
2053         [Chromium] fast/events/popup-allowed-from-gesture-initiated-form-submit.html causing debug ASSERT
2054         https://bugs.webkit.org/show_bug.cgi?id=44079
2055
2056         Remove an assert whose invariant doesn't hold.
2057
2058         * src/FrameLoaderClientImpl.cpp:
2059
2060 2011-04-15  Kinuko Yasuda  <kinuko@chromium.org>
2061
2062         Reviewed by David Levin.
2063
2064         Expose unified Quota API if QUOTA build flag is enabled
2065         https://bugs.webkit.org/show_bug.cgi?id=58648
2066
2067         * src/AssertMatchingEnums.cpp: Added enum assertions.
2068         * src/StorageInfoChromium.cpp: Made a build fix.
2069
2070 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
2071
2072         Reviewed by Pavel Feldman.
2073
2074         Web Inspector: Rename rawRequestHeadersText and RawResponseHeadersText to requestHeadersText and responseHeadersText
2075         https://bugs.webkit.org/show_bug.cgi?id=58650
2076
2077         * public/WebHTTPLoadInfo.h:
2078         * src/WebHTTPLoadInfo.cpp:
2079         (WebKit::WebHTTPLoadInfo::requestHeadersText):
2080         (WebKit::WebHTTPLoadInfo::setRequestHeadersText):
2081         (WebKit::WebHTTPLoadInfo::responseHeadersText):
2082         (WebKit::WebHTTPLoadInfo::setResponseHeadersText):
2083
2084 2011-04-15  Zelidrag Hornung  <zelidrag@chromium.org>
2085
2086         Reviewed by Darin Fisher.
2087
2088         Added enums for external file system type and exposed factory function
2089         for creating File- and DirectoryEntry objects from Chromium side.
2090         https://bugs.webkit.org/show_bug.cgi?id=58456
2091
2092         * public/WebFileSystem.h:
2093         * public/WebFrame.h:
2094         * src/AssertMatchingEnums.cpp:
2095         * src/WebFrameImpl.cpp:
2096         (WebKit::WebFrameImpl::createFileSystem):
2097         (WebKit::WebFrameImpl::createFileEntry):
2098         * src/WebFrameImpl.h:
2099
2100 2011-04-15  Vsevolod Vlasov  <vsevik@chromium.org>
2101
2102         Reviewed by Pavel Feldman.
2103
2104         Web Inspector: [Chromium] Create tests for network panel timing, size and raw headers text
2105         https://bugs.webkit.org/show_bug.cgi?id=58566
2106
2107         Added network timing, size and raw headers tests for Inspector
2108         Since chromium used different version of network stack for layout
2109         tests, these are interactive ui tests (DevToolsSanityTest.TestNetwork*)
2110
2111         * src/js/Tests.js:
2112         (.TestSuite.prototype.testNetworkSize.finishResource):
2113         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
2114         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
2115         (.TestSuite.prototype.testNetworkTiming.finishResource):
2116
2117 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
2118
2119         Reviewed by Pavel Feldman.
2120
2121         Web Inspector: Enable raw HTTP headers support
2122         https://bugs.webkit.org/show_bug.cgi?id=58259
2123
2124         Added raw headers text support to inspector.
2125
2126         * public/WebHTTPLoadInfo.h:
2127         * src/WebHTTPLoadInfo.cpp:
2128         (WebKit::WebHTTPLoadInfo::rawRequestHeadersText):
2129         (WebKit::WebHTTPLoadInfo::setRawRequestHeadersText):
2130         (WebKit::WebHTTPLoadInfo::rawResponseHeadersText):
2131         (WebKit::WebHTTPLoadInfo::setRawResponseHeadersText):
2132
2133 2011-04-14  Vsevolod Vlasov  <vsevik@chromium.org>
2134
2135         Reviewed by Pavel Feldman.
2136
2137         Web Inspector: ResourceResponse should have encodedDataLength field for synchronous requests transfer size
2138         https://bugs.webkit.org/show_bug.cgi?id=58447
2139
2140         FrameLoader now takes encoded data length for synchronous requests from the field with the same name.
2141
2142         * public/WebHTTPLoadInfo.h:
2143         * src/WebHTTPLoadInfo.cpp:
2144         (WebKit::WebHTTPLoadInfo::encodedDataLength):
2145         (WebKit::WebHTTPLoadInfo::setEncodedDataLength):
2146
2147 2011-04-14  Alok Priyadarshi  <alokp@chromium.org>
2148
2149         Reviewed by James Robinson.
2150
2151         Remove dependency on chromium skia::PlatformCanvas
2152         https://bugs.webkit.org/show_bug.cgi?id=57563
2153
2154         * public/WebCanvas.h:
2155         * src/WebFrameImpl.cpp:
2156         (WebKit::WebFrameImpl::printPage):
2157         * tests/TransparencyWinTest.cpp:
2158         (WebCore::drawNativeRect):
2159         (WebCore::getPixelAt):
2160         (WebCore::clearTopLayerAlphaChannel):
2161         (WebCore::clearTopLayerAlphaPixel):
2162         (WebCore::TEST):
2163
2164 2011-04-14  Brian Salomon  <bsalomon@google.com>
2165
2166         Reviewed by Kenneth Russell.
2167
2168         In skia platform call SkBitmap::notifyPixelsChanged on WebGL readback
2169         https://bugs.webkit.org/show_bug.cgi?id=58543
2170
2171         No new tests. Tested by fast/canvas/webgl/canvas-test.html
2172
2173         * src/GraphicsContext3DChromium.cpp:
2174         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
2175
2176 2011-04-14  Adrienne Walker  <enne@google.com>
2177
2178         Reviewed by James Robinson.
2179
2180         [chromium] TilingData should return 1 tile if tile size is texture size.
2181         https://bugs.webkit.org/show_bug.cgi?id=58364
2182
2183         Update test to properly handle this case.
2184
2185         * tests/TilingDataTest.cpp:
2186         (WebCore::TEST):
2187
2188 2011-04-14  Bill Budge  <bbudge@chromium.org>
2189
2190         Reviewed by Darin Fisher.
2191
2192         Make WebURLLoaderOptions disallow cross origin requests by default.
2193         https://bugs.webkit.org/show_bug.cgi?id=58475
2194
2195         No new tests. Exposes no new functionality.
2196
2197         * public/WebURLLoaderOptions.h:
2198         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2199
2200 2011-04-13  James Robinson  <jamesr@chromium.org>
2201
2202         Reviewed by Simon Fraser.
2203
2204         Allow setting composited backing stores for scrollbars and scroll corners
2205         https://bugs.webkit.org/show_bug.cgi?id=57202
2206
2207         Remove a lot of scrollbar hacks from the chromium compositor implementation now that
2208         scrollbars go to real layers.
2209
2210         * src/WebScrollbarImpl.cpp:
2211         (WebKit::WebScrollbarImpl::invalidateScrollCornerRect):
2212         (WebKit::WebScrollbarImpl::scrollCornerPresent):
2213         * src/WebScrollbarImpl.h:
2214         (WebKit::WebScrollbarImpl::scrollCornerRect):
2215         * src/WebViewImpl.cpp:
2216         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
2217         (WebKit::WebViewImpl::reallocateRenderer):
2218
2219 2011-04-13  John Abd-El-Malek  <jam@chromium.org>
2220
2221         Reviewed by Jian Li.
2222
2223         [chromium] Remove unnecessary #define now that chrome has rolled to the latest WebKit
2224         https://bugs.webkit.org/show_bug.cgi?id=58474
2225
2226         * DEPS:
2227         * public/WebSpellCheckClient.h:
2228
2229 2011-04-13  Zhenyao Mo  <zmo@google.com>
2230
2231         Reviewed by Kenneth Russell.
2232
2233         Extension3D needs to provide a way to check if an extension is enabled
2234         https://bugs.webkit.org/show_bug.cgi?id=58410
2235
2236         Implement isEnabled() in chromium port.
2237
2238         * src/Extensions3DChromium.cpp:
2239         (WebCore::Extensions3DChromium::isEnabled):
2240         * src/GraphicsContext3DChromium.cpp:
2241         (WebCore::GraphicsContext3DInternal::isExtensionEnabled):
2242         * src/GraphicsContext3DInternal.h:
2243
2244 2011-04-13  Kinuko Yasuda  <kinuko@chromium.org>
2245
2246         Reviewed by David Levin.
2247
2248         Add mock implementation and plumbing code for unified Quota API
2249         https://bugs.webkit.org/show_bug.cgi?id=57927
2250
2251         Added plumbing code for the quota API, that is based on the
2252         discussion on public-webapps:
2253         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
2254
2255         * WebKit.gyp: Added new file entries.
2256         * src/StorageInfoChromium.cpp: Added.
2257         * src/WebStorageQuotaCallbacksImpl.cpp: Added. An implementation of
2258         WebStorageQuotaCallbacks.
2259         * src/WebStorageQuotaCallbacksImpl.h: Added.
2260
2261 2011-04-12  Hans Wennborg  <hans@chromium.org>
2262
2263         Reviewed by Jeremy Orlow.
2264
2265         Chromium: Set ENABLE_LEVELDB=1 and add leveldb and snappy to DEPS
2266         https://bugs.webkit.org/show_bug.cgi?id=58343
2267
2268         Set ENABLE_LEVELDB=1 so that code gets compiled by the EWS bots.
2269         Add the necessary dependencies to the DEPS file.
2270
2271         * DEPS:
2272         * features.gypi:
2273
2274 2011-04-12  Kent Tamura  <tkent@chromium.org>
2275
2276         Reviewed by Dimitri Glazkov.
2277
2278         [Chromium] Add WebSettings::setValidationMessageTimerMagnification()
2279         https://bugs.webkit.org/show_bug.cgi?id=57426
2280
2281         * public/WebSettings.h: Declare new function.
2282         * src/WebSettingsImpl.cpp:
2283         (WebKit::WebSettingsImpl::setValidationMessageTimerMagnification):
2284          Passing the specified value to WebCore::Settings.
2285         * src/WebSettingsImpl.h: Declare new function.
2286
2287 2011-04-12  Antoine Labour  <piman@chromium.org>
2288
2289         Reviewed by Kenneth Russell.
2290
2291         Allow WebView users to recreate dependent contexts after a context lost
2292         event. Similarly to the startup case, a temporary context gets created,
2293         that gets used by the layer renderer once it itself gets recreated.
2294         https://bugs.webkit.org/show_bug.cgi?id=58385
2295
2296         * src/WebViewImpl.cpp:
2297         (WebKit::WebViewImpl::reallocateRenderer): use the temporary context to
2298         recreate the layer renderer if it's valid.
2299         (WebKit::WebViewImpl::graphicsContext3D): create a temporary context if
2300         the layer renderer's context is lost.
2301
2302 2011-04-12  Adrienne Walker  <enne@google.com>
2303
2304         Reviewed by James Robinson.
2305
2306         [chromium] TilingData mishandles very small texture sizes
2307         https://bugs.webkit.org/show_bug.cgi?id=58364
2308
2309         Update test to properly handle texture sizes of 0-3.
2310
2311         * tests/TilingDataTest.cpp:
2312         (WebCore::TEST):
2313
2314 2011-04-12  Jian Li  <jianli@chromium.org>
2315
2316         Unreviewed, rolling out r83649.
2317         http://trac.webkit.org/changeset/83649
2318         https://bugs.webkit.org/show_bug.cgi?id=57563
2319
2320         This patch causes compiling errors for chromium
2321
2322         * public/WebCanvas.h:
2323         * src/WebFrameImpl.cpp:
2324         (WebKit::WebFrameImpl::printPage):
2325         * tests/TransparencyWinTest.cpp:
2326         (WebCore::drawNativeRect):
2327         (WebCore::getPixelAt):
2328         (WebCore::clearTopLayerAlphaChannel):
2329         (WebCore::clearTopLayerAlphaPixel):
2330         (WebCore::TEST):
2331
2332 2011-04-12  John Abd-El-Malek  <jam@chromium.org>
2333
2334         Reviewed by Jian Li.
2335
2336         [chromium] Fix spellcheck regression in context menus
2337         https://bugs.webkit.org/show_bug.cgi?id=58386
2338
2339         * src/ContextMenuClientImpl.cpp:
2340         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2341
2342 2011-04-12  Noel Gordon  <noel.gordon@gmail.com>
2343
2344         Reviewed by Tony Chang.
2345
2346         [chromium] Use new dragTargetDragEnter() function signature
2347         https://bugs.webkit.org/show_bug.cgi?id=58303
2348
2349         After WebKit/chromium/DEPS rolls to chromium r80907, the drag identity
2350         based version of dragTargetDragEnter() is no longer used; remove it.
2351
2352         * public/WebView.h:
2353         * src/WebViewImpl.cpp:
2354         * src/WebViewImpl.h:
2355
2356 2011-04-12  Alok Priyadarshi  <alokp@chromium.org>
2357
2358         Reviewed by James Robinson.
2359
2360         Remove dependency on chromium skia::PlatformCanvas
2361         https://bugs.webkit.org/show_bug.cgi?id=57563
2362
2363         * public/WebCanvas.h:
2364         * src/WebFrameImpl.cpp:
2365         (WebKit::WebFrameImpl::printPage):
2366         * tests/TransparencyWinTest.cpp:
2367         (WebCore::drawNativeRect):
2368         (WebCore::getPixelAt):
2369         (WebCore::clearTopLayerAlphaChannel):
2370         (WebCore::clearTopLayerAlphaPixel):
2371         (WebCore::TEST):
2372
2373 2011-04-12  Adam Barth  <abarth@webkit.org>
2374
2375         Revert unintentional changes to WebKit.
2376
2377         * public/WebSettings.h:
2378         * src/WebSettingsImpl.cpp:
2379         * src/WebSettingsImpl.h:
2380
2381 2011-04-11  John Abd-El-Malek  <jam@chromium.org>
2382
2383         Reviewed by Darin Fisher.
2384
2385         [chromium]: Get the list of misspelled words in the WebKit code insetad of in chromium's RenderView
2386         https://bugs.webkit.org/show_bug.cgi?id=58260
2387
2388         * public/WebContextMenuData.h:
2389         * public/WebSpellCheckClient.h:
2390         (WebKit::WebSpellCheckClient::spellCheck):
2391         * src/ContextMenuClientImpl.cpp:
2392         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2393         * src/EditorClientImpl.cpp:
2394         (WebKit::EditorClientImpl::checkSpellingOfString):
2395
2396 2011-04-12  Bill Budge  <bbudge@chromium.org>
2397
2398         Reviewed by Darin Fisher.
2399
2400         Move the WebURLLoaderOptions struct into its own file and rename the CrossOriginRequestPolicy enum to conform to the WebKit coding standard.
2401         https://bugs.webkit.org/show_bug.cgi?id=58287
2402
2403         No new tests. No new functionality exposed.
2404
2405         * WebKit.gyp:
2406         * public/WebURLLoader.h:
2407         * public/WebURLLoaderOptions.h: Added.
2408         (WebKit::WebURLLoaderOptions::WebURLLoaderOptions):
2409         * src/AssociatedURLLoader.cpp:
2410         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
2411         * src/AssociatedURLLoader.h:
2412
2413 2011-04-11  Pavel Podivilov  <podivilov@chromium.org>
2414
2415         Reviewed by Pavel Feldman.
2416
2417         Web Inspector: [chromium] script formatting doesn't work when chromium is built with debug_devtools=1.
2418         https://bugs.webkit.org/show_bug.cgi?id=58232
2419
2420         * WebKit.gyp:
2421
2422 2011-04-11  John Bates  <jbates@google.com>
2423
2424         Reviewed by Kenneth Russell.
2425
2426         chromium support for glSetLatch and glWaitLatch between 3D contexts
2427         https://bugs.webkit.org/show_bug.cgi?id=58003
2428
2429         * public/WebGraphicsContext3D.h:
2430         (WebKit::WebGraphicsContext3D::getParentToChildLatchCHROMIUM):
2431         (WebKit::WebGraphicsContext3D::getChildToParentLatchCHROMIUM):
2432         (WebKit::WebGraphicsContext3D::waitLatchCHROMIUM):
2433         (WebKit::WebGraphicsContext3D::setLatchCHROMIUM):
2434         * src/Extensions3DChromium.cpp:
2435         (WebCore::Extensions3DChromium::waitLatchCHROMIUM):
2436         (WebCore::Extensions3DChromium::setLatchCHROMIUM):
2437         * src/GraphicsContext3DChromium.cpp:
2438         * src/GraphicsContext3DInternal.h:
2439
2440 2011-04-11  Ryosuke Niwa  <rniwa@webkit.org>
2441
2442         Reviewed by Tony Chang.
2443
2444         [chromium] Crash in WebViewImpl::caretOrSelectionBounds
2445         https://bugs.webkit.org/show_bug.cgi?id=58269
2446
2447         The bug was caused by caretOrSelectionBounds's incorrectly assuming
2448         SelectionController::toNormalizedRange to always return a non-null Range.
2449
2450         Fixed the bug by adding a null pointer check. Also replaced calls to deprecatedNode
2451         by containerNode() and calls to SelectionController::start() and SelectionController::end()
2452         by calls to SelectionController::base() and SelectionController::extent() because
2453         selection extends from base to extent, not from start to end.
2454
2455         Test: editing/selection/extend-over-file-input-by-drag-crash.html
2456
2457         * src/WebViewImpl.cpp:
2458         (WebKit::WebViewImpl::caretOrSelectionBounds):
2459
2460 2011-04-11  Dimitri Glazkov  <dglazkov@chromium.org>
2461
2462         Reviewed by Eric Carlson.
2463
2464         Rename MediaControls to MediaControlRootElement.
2465         https://bugs.webkit.org/show_bug.cgi?id=58250
2466
2467         Mechanical move using do-webcore-rename.
2468
2469 2011-04-11  Daniel Cheng  <dcheng@chromium.org>
2470
2471         Reviewed by Dmitry Titov.
2472
2473         [chromium] Implement image/png support in DataTransferItems
2474         https://bugs.webkit.org/show_bug.cgi?id=58106
2475
2476         Add glue for reading image data from clipboard.
2477
2478         * DEPS:
2479         * src/PlatformBridge.cpp:
2480         (WebCore::PlatformBridge::clipboardReadImage):
2481
2482 2011-04-05  Hans Wennborg  <hans@chromium.org>
2483
2484         Reviewed by Steve Block.
2485
2486         IndexedDB: Introduce skeleton for LevelDB backend
2487         https://bugs.webkit.org/show_bug.cgi?id=57827
2488
2489         * features.gypi:
2490             Add ENABLE_LEVELDB=0.
2491         * public/WebIDBFactory.h:
2492         (WebKit::WebIDBFactory::open):
2493             Remove pre-roll open() function.
2494
2495 2011-04-10  Kent Tamura  <tkent@chromium.org>
2496
2497         [Chromium] Fix build errors on "Win Shared Builder (dbg)"
2498
2499         * WebKit.gyp: Exclude WebFrameTest.cpp for WEBKIT_DLL.
2500
2501 2011-04-10  Kent Tamura  <tkent@chromium.org>
2502
2503         Unreviewed, rolling out r83353.
2504         http://trac.webkit.org/changeset/83353
2505         https://bugs.webkit.org/show_bug.cgi?id=58106
2506
2507         The new test doesn't pass on all Chromium platforms.
2508
2509         * DEPS:
2510         * src/PlatformBridge.cpp:
2511
2512 2011-04-09  Sreeram Ramachandran  <sreeram@google.com>
2513
2514         Reviewed by Ryosuke Niwa.
2515
2516         Gather data on modal dialogs shown during unload events
2517         https://bugs.webkit.org/show_bug.cgi?id=58115
2518
2519         Implementation of the new API to receive notifications of modal dialogs
2520         dispatched during unload events. Count the notifications through a histogram.
2521
2522         No tests because it's not clear how to test chromium histograms from webkit.
2523
2524         * src/ChromeClientImpl.cpp:
2525         (WebKit::ChromeClientImpl::willRunModalDialogDuringPageDismissal):
2526         * src/ChromeClientImpl.h:
2527
2528 2011-04-08  Aaron Boodman  <aa@chromium.org>
2529
2530         Reviewed by Dmitry Titov.
2531
2532         Re-land http://trac.webkit.org/changeset/83007. This works
2533         without changes after https://bugs.webkit.org/show_bug.cgi?id=58110.
2534
2535         https://bugs.webkit.org/show_bug.cgi?id=58096
2536
2537         * WebKit.gyp:
2538         * WebKit.gypi:
2539         * public/WebFrame.h:
2540         * src/WebFrameImpl.cpp:
2541         (WebKit::WebFrame::frameForContext):
2542         * tests/WebFrameTest.cpp:
2543         (WebKit::WebFrameTest::WebFrameTest):
2544         (WebKit::WebFrameTest::registerMockedURLLoad):
2545         (WebKit::WebFrameTest::loadFrame):
2546         (WebKit::TEST_F):
2547
2548 2011-04-08  Daniel Cheng  <dcheng@chromium.org>
2549
2550         Reviewed by Dmitry Titov.
2551
2552         [chromium] Implement image/png support in DataTransferItems
2553         https://bugs.webkit.org/show_bug.cgi?id=58106
2554
2555         Add glue for reading image data from clipboard.
2556
2557         * DEPS:
2558         * src/PlatformBridge.cpp:
2559         (WebCore::PlatformBridge::clipboardReadImage):
2560
2561 2011-04-08  Alpha Lam  <hclam@chromium.org>
2562
2563         Unreviewed, rolling out r83335.
2564         http://trac.webkit.org/changeset/83335
2565         https://bugs.webkit.org/show_bug.cgi?id=53556
2566
2567         GTK and QT bots are broken
2568
2569         * features.gypi:
2570
2571 2011-04-07  Anna Cavender  <annacc@chromium.org>
2572
2573         Reviewed by Eric Carlson.
2574
2575         Setup ENABLE(TRACK) feature define
2576         https://bugs.webkit.org/show_bug.cgi?id=53556
2577
2578         * features.gypi:
2579
2580 2011-04-08  Dmitry Titov  <dimich@chromium.org>
2581
2582         Reviewed by Adam Barth.
2583
2584         [Chromium] Remove unneeded usage of V8::Lockers in IDB tests.
2585         https://bugs.webkit.org/show_bug.cgi?id=58110
2586         Since they are simple one-thread tests.
2587         This code parallels the code in Chromium's idb bindings that uses v8 Lockers in utility process,
2588         which is equally not needed since there is only one thread running v8 in that process.
2589
2590         * tests/IDBBindingUtilitiesTest.cpp:
2591
2592 2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
2593
2594         Reviewed by Pavel Feldman.
2595
2596         Web Inspector: add test for script formatter worker.
2597         https://bugs.webkit.org/show_bug.cgi?id=57447
2598
2599         * WebKit.gyp:
2600
2601 2011-04-08  Kent Tamura  <tkent@chromium.org>
2602
2603         [Chromium] The second attempt of fixing for Windows (dbg)(shared) build.
2604
2605         * WebKit.gyp: webkit should not depend on webkit_support.
2606
2607 2011-04-08  Kent Tamura  <tkent@chromium.org>
2608
2609         [Chromium] Build fix for Windows (dbg)(shared).
2610
2611         * WebKit.gyp: Add webkit_support dependency, which is required for webkit_unittest_files.
2612
2613 2011-04-07  Kinuko Yasuda  <kinuko@chromium.org>
2614
2615         Reviewed by Darin Fisher.
2616
2617         [Chromium] Add WebKit API to query and request unified offline-storage quota
2618         https://bugs.webkit.org/show_bug.cgi?id=57849
2619         Just adding the API, this does not do anything yet.
2620
2621         The API is based on the public discussion for unified quota API:
2622         http://lists.w3.org/Archives/Public/public-webapps/2011JanMar/0346.html
2623         (The detail is not yet fully specified and might be subject to change.)
2624
2625         * public/WebFrameClient.h:
2626         (WebKit::WebFrameClient::queryStorageUsageAndQuota): Added.
2627         (WebKit::WebFrameClient::requestStorageQuota): Added.
2628         * public/WebStorageQuotaCallbacks.h: Added.
2629         (WebKit::WebStorageQuotaCallbacks::~WebStorageQuotaCallbacks):
2630         * public/WebStorageQuotaType.h: Added.
2631
2632 2011-04-07  Dominic Cooney  <dominicc@google.com>
2633
2634         Reviewed by Dimitri Glazkov.
2635
2636         Let shadow DOM have a list of nodes at the top level of a shadow.
2637         https://bugs.webkit.org/show_bug.cgi?id=57813
2638
2639         * src/WebElement.cpp:
2640         (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
2641
2642 2011-04-07  Magnus Danielsson  <public@fuzzac.com>
2643
2644         Reviewed by Darin Fisher.
2645
2646         [chromium] WebPageSerializerImpl doesn't serialize sub-frames correctly
2647         https://bugs.webkit.org/show_bug.cgi?id=53897
2648
2649         When serializing a web page using 'save page as', sub-frames and resources gets
2650         saved in a sub-directory. However, frame elements didn't get updated to reference
2651         these saved sub-frames, but were still referencing the original url. So when opening
2652         a saved web page, any sub-frames would get pulled in from the original url rather than 
2653         what was saved.
2654
2655         In addition to this, sub-frames in the sub-directory erroneously had the name of the
2656         sub-directory prepended to the path of resources located in the same sub-directory.
2657
2658         * src/WebPageSerializerImpl.cpp:
2659         (WebKit::WebPageSerializerImpl::openTagToStrne: Fixed resource paths in sub-frames. 
2660         Also made sure sub-frames are referenced correctly from parent frame.
2661         (WebKit::WebPageSerializerImpl::endTagToString): Removed constness from argument.
2662         (WebKit::WebPageSerializerImpl::buildContentForNode): Ditto.
2663         * src/WebPageSerializerImpl.h:
2664
2665 2011-04-07  Nat Duca  <nduca@chromium.org>
2666
2667         Reviewed by David Levin.
2668
2669         [chromium] Compositor thread infrastructure
2670         https://bugs.webkit.org/show_bug.cgi?id=56131
2671
2672         Tests for chrome compositor thread and related infrastructure.
2673
2674         * WebKit.gyp:
2675         * WebKit.gypi:
2676         * tests/CCThreadTaskTest.cpp: Added.
2677         (WebCore::TEST):
2678         * tests/CCThreadTest.cpp: Added.
2679         (WebCore::TEST):
2680         (WebCore::PingPongUsingCondition::ping):
2681         (WebCore::PingPongTestUsingTasks::ping):
2682         (WebCore::PingPongTestUsingTasks::pong):
2683         * tests/RunAllTests.cpp:
2684         (main):
2685
2686 2011-04-07  Andrew Scherkus  <scherkus@chromium.org>
2687
2688         Revert ENABLE_TRACK patch due to compile failures.
2689
2690         * features.gypi:
2691
2692 2011-04-07  Pavel Feldman  <pfeldman@google.com>
2693
2694         Not reviewed: rolling chromium DEPS 80421:80767.
2695
2696         * DEPS:
2697
2698 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
2699
2700         Reviewed by Pavel Feldman.
2701
2702         Web Inspector: [Chromium] Rename didReceiveData2 to didReceiveData as part of enabling transfer size support.
2703         https://bugs.webkit.org/show_bug.cgi?id=58036
2704
2705         Renamed didReceiveData2 to didReceiveData.
2706
2707         * public/WebURLLoaderClient.h:
2708         (WebKit::WebURLLoaderClient::didReceiveData):
2709         * src/AssociatedURLLoader.cpp:
2710         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2711         * src/ResourceHandle.cpp:
2712         (WebCore::ResourceHandleInternal::didReceiveData):
2713
2714 2011-04-07  Vsevolod Vlasov  <vsevik@chromium.org>
2715
2716         Reviewed by Pavel Feldman.
2717
2718         Web Inspector: [Chromium] Migrate didReceiveData in upstream for plugins as part of enabling transfer size support.
2719         https://bugs.webkit.org/show_bug.cgi?id=58034
2720
2721         Migrated didReceiveData to support new lengthReceived parameter.
2722
2723         * src/AssociatedURLLoader.cpp:
2724         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
2725
2726 2011-04-06  Asanka Herath  <asanka@chromium.org>
2727
2728         Reviewed by Darin Fisher.
2729
2730         Add new TargetType: TargetIsFavicon
2731
2732         https://bugs.webkit.org/show_bug.cgi?id=57659
2733
2734         * public/WebURLRequest.h:
2735
2736 2011-04-06  Alok Priyadarshi  <alokp@chromium.org>
2737
2738         Reviewed by Eric Seidel.
2739
2740         [chromium] Add settings API to enable accelerated drawing
2741         https://bugs.webkit.org/show_bug.cgi?id=57863
2742         
2743         If accelerated drawing is enabled we try to render content and
2744         root layers using GPU. Please note that this setting is ignored if
2745         accelerated compositing is disabled.
2746
2747         * public/WebSettings.h:
2748         * src/WebSettingsImpl.cpp:
2749         (WebKit::WebSettingsImpl::setAcceleratedDrawingEnabled):
2750         * src/WebSettingsImpl.h:
2751
2752 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
2753
2754         Reviewed by David Levin.
2755
2756         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
2757         https://bugs.webkit.org/show_bug.cgi?id=57566
2758
2759         * public/WebContextMenuData.h:
2760
2761 2011-04-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2762
2763         Unreviewed, rolling out r83007.
2764         http://trac.webkit.org/changeset/83007
2765         https://bugs.webkit.org/show_bug.cgi?id=57920
2766
2767         Broke WebFrameTest.FrameForEnteredContext on Chromium-win and
2768         Chromium-mac (Requested by tkent on #webkit).
2769
2770         * WebKit.gyp:
2771         * WebKit.gypi:
2772         * public/WebFrame.h:
2773         * src/WebFrameImpl.cpp:
2774         * tests/WebFrameTest.cpp:
2775         (WebKit::WebFrameTest::WebFrameTest):
2776         (WebKit::WebFrameTest::registerMockedURLLoad):
2777         (WebKit::WebFrameTest::serveRequests):
2778         (WebKit::TEST_F):
2779
2780 2011-04-05  James Kozianski  <koz@chromium.org>
2781
2782         Unreviewed, rolling out r82976.
2783         http://trac.webkit.org/changeset/82976
2784         https://bugs.webkit.org/show_bug.cgi?id=57566
2785
2786         Breaks chromium canary build
2787
2788         * public/WebContextMenuData.h:
2789
2790 2011-04-05  Aaron Boodman  <aa@chromium.org>
2791
2792         Reviewed by Adam Barth.
2793
2794         Add ability to get frame from v8 context to chromium WebKit API
2795         https://bugs.webkit.org/show_bug.cgi?id=57516
2796
2797         * public/WebFrame.h:
2798         * src/WebFrameImpl.cpp:
2799         (WebKit::WebFrame::frameForV8Context):
2800
2801 2011-04-05  Nico Weber  <thakis@chromium.org>
2802
2803         Reviewed by Dimitri Glazkov.
2804
2805         [chromium] Don't have 'using namespace' declarations in header files
2806         https://bugs.webkit.org/show_bug.cgi?id=57882
2807
2808         * src/EventListenerWrapper.cpp:
2809         * src/EventListenerWrapper.h:
2810         * src/VideoFrameChromiumImpl.h:
2811         * src/WebDOMEventListener.cpp:
2812         * src/WebDOMEventListenerPrivate.cpp:
2813         * src/WebDOMEventListenerPrivate.h:
2814         (WebKit::WebDOMEventListenerPrivate::ListenerInfo::ListenerInfo):
2815
2816 2011-04-05  Zelidrag Hornung  <zelidrag@chromium.org>
2817
2818         Reviewed by David Levin.
2819
2820         Added MediaTypeFile enum value to WebContextMenuData::MediaType.
2821         https://bugs.webkit.org/show_bug.cgi?id=57566
2822
2823         * public/WebContextMenuData.h:
2824
2825 2011-04-04  MORITA Hajime  <morrita@google.com>
2826
2827         Reviewed by Ryosuke Niwa.
2828
2829         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
2830         https://bugs.webkit.org/show_bug.cgi?id=56085
2831
2832         Followed the signature change.
2833         
2834         * src/EditorClientImpl.h:
2835         * src/EditorClientImpl.cpp:
2836         * src/WebTextCheckingCompletionImpl.cpp
2837
2838 2011-04-05  Hans Wennborg  <hans@chromium.org>
2839
2840         Reviewed by Adam Barth
2841
2842         Clean up IndexedDB WebKit API
2843         https://bugs.webkit.org/show_bug.cgi?id=57507
2844
2845         Rename the backend proxy files that didn't have Backend in their name.
2846         Everything in WebKit should be in the WebKit namespace.
2847         Put everything behind the feature flag so we're consistient.
2848         Put the feature flag #if above includes.
2849
2850         * WebKit.gyp:
2851         * src/IDBCallbacksProxy.cpp:
2852         (WebKit::IDBCallbacksProxy::create):
2853         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
2854         (WebKit::IDBCallbacksProxy::onError):
2855         (WebKit::IDBCallbacksProxy::onSuccess):
2856         * src/IDBCallbacksProxy.h:
2857         * src/IDBCursorBackendProxy.cpp:
2858         (WebKit::IDBCursorBackendProxy::create):
2859         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
2860         * src/IDBCursorBackendProxy.h:
2861         * src/IDBDatabaseBackendProxy.cpp:
2862         (WebKit::IDBDatabaseBackendProxy::create):
2863         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
2864         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
2865         (WebKit::IDBDatabaseBackendProxy::name):
2866         (WebKit::IDBDatabaseBackendProxy::version):
2867         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
2868         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
2869         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
2870         (WebKit::IDBDatabaseBackendProxy::setVersion):
2871         (WebKit::IDBDatabaseBackendProxy::transaction):
2872         (WebKit::IDBDatabaseBackendProxy::close):
2873         (WebKit::IDBDatabaseBackendProxy::open):
2874         * src/IDBDatabaseCallbacksProxy.cpp:
2875         (WebKit::IDBDatabaseCallbacksProxy::create):
2876         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
2877         * src/IDBDatabaseCallbacksProxy.h:
2878         * src/IDBFactoryBackendProxy.cpp:
2879         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
2880         (WebKit::IDBFactoryBackendProxy::open):
2881         * src/IDBFactoryBackendProxy.h:
2882         * src/IDBIndexBackendProxy.cpp:
2883         (WebKit::IDBIndexBackendProxy::create):
2884         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
2885         * src/IDBIndexBackendProxy.h:
2886         * src/IDBObjectStoreBackendProxy.cpp:
2887         (WebKit::IDBObjectStoreBackendProxy::create):
2888         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
2889         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
2890         (WebKit::IDBObjectStoreBackendProxy::name):
2891         (WebKit::IDBObjectStoreBackendProxy::keyPath):
2892         (WebKit::IDBObjectStoreBackendProxy::indexNames):
2893         (WebKit::IDBObjectStoreBackendProxy::get):
2894         (WebKit::IDBObjectStoreBackendProxy::put):
2895         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
2896         (WebKit::IDBObjectStoreBackendProxy::clear):
2897         (WebKit::IDBObjectStoreBackendProxy::createIndex):
2898         (WebKit::IDBObjectStoreBackendProxy::index):
2899         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
2900         (WebKit::IDBObjectStoreBackendProxy::openCursor):
2901         * src/IDBObjectStoreBackendProxy.h: Added.
2902         * src/IDBObjectStoreProxy.h: Removed.
2903         * src/IDBTransactionBackendProxy.cpp:
2904         (WebKit::IDBTransactionBackendProxy::create):
2905         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
2906         (WebKit::IDBTransactionBackendProxy::objectStore):
2907         * src/IDBTransactionBackendProxy.h:
2908         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
2909         * src/IDBTransactionCallbacksProxy.cpp:
2910         (WebKit::IDBTransactionCallbacksProxy::create):
2911         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
2912         * src/IDBTransactionCallbacksProxy.h:
2913         * src/WebIDBCallbacksImpl.cpp:
2914         (WebKit::WebIDBCallbacksImpl::onError):
2915         (WebKit::WebIDBCallbacksImpl::onSuccess):
2916         * src/WebIDBCallbacksImpl.h:
2917         * src/WebIDBCursorImpl.cpp:
2918         * src/WebIDBCursorImpl.h:
2919         * src/WebIDBDatabaseCallbacksImpl.cpp:
2920         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
2921         * src/WebIDBDatabaseCallbacksImpl.h:
2922         * src/WebIDBDatabaseError.cpp:
2923         * src/WebIDBDatabaseImpl.cpp:
2924         * src/WebIDBDatabaseImpl.h:
2925         * src/WebIDBFactoryImpl.cpp:
2926         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
2927         * src/WebIDBFactoryImpl.h:
2928         * src/WebIDBIndexImpl.cpp:
2929         * src/WebIDBIndexImpl.h:
2930         * src/WebIDBKey.cpp:
2931         (WebKit::WebIDBKey::createFromValueAndKeyPath):
2932         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
2933         * src/WebIDBKeyPath.cpp:
2934         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
2935         * src/WebIDBKeyRange.cpp:
2936         * src/WebIDBObjectStoreImpl.cpp:
2937         * src/WebIDBObjectStoreImpl.h:
2938         * src/WebIDBTransactionCallbacksImpl.cpp:
2939         * src/WebIDBTransactionCallbacksImpl.h:
2940         * src/WebIDBTransactionImpl.cpp:
2941         * src/WebIDBTransactionImpl.h:
2942
2943 2011-04-05  Sailesh Agrawal  <sail@chromium.org>
2944
2945         Reviewed by Darin Fisher.
2946
2947         Don't clear existing files if the user cancels the file chooser dialog.
2948         https://bugs.webkit.org/show_bug.cgi?id=55200
2949
2950         * src/WebFileChooserCompletionImpl.cpp:
2951         (WebKit::WebFileChooserCompletionImpl::didChooseFile):
2952
2953 2011-04-05  John Mellor  <johnme@chromium.org>
2954
2955         Reviewed by Darin Fisher.
2956
2957         [chromium] Minor cleanup: simplify WebFrameImpl by using contentsToWindow instead of convertToContainingWindow.
2958         https://bugs.webkit.org/show_bug.cgi?id=55681
2959
2960         * src/WebFrameImpl.cpp:
2961         (WebKit::WebFrameImpl::find):
2962         (WebKit::WebFrameImpl::scopeStringMatches):
2963
2964 2011-04-05  Adam Barth  <abarth@webkit.org>
2965
2966         Roll Chromium DEPS.
2967
2968         * DEPS: Rolled!
2969
2970 2011-04-04  Chang Shu  <cshu@webkit.org>
2971
2972         Reviewed by Ryosuke Niwa.
2973
2974         setContentEditable with true/false/inherit string is not working properly
2975         https://bugs.webkit.org/show_bug.cgi?id=52058
2976
2977         Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
2978         as rendererIsEditable is for WebCore internal use.
2979
2980         * src/WebNode.cpp:
2981         (WebKit::WebNode::isContentEditable):
2982         * src/WebViewImpl.cpp:
2983         (WebKit::WebViewImpl::setFocus):
2984         (WebKit::WebViewImpl::setComposition):
2985         (WebKit::WebViewImpl::confirmComposition):
2986
2987 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
2988
2989         Reviewed by Dan Bernstein.
2990
2991         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
2992         https://bugs.webkit.org/show_bug.cgi?id=51230
2993         <rdar://problem/8780989>
2994
2995         * src/WebViewImpl.cpp: (WebKit::WebViewImpl::keyEvent): Moved Caps Lock handling from
2996         WebKits to WebCore, because WebKit shouldn't be smart.
2997
2998 2011-04-01  Adam Barth  <abarth@webkit.org>
2999
3000         Attempt to fix the Chromium build using the great and powerful git.
3001         This patch should be the remaining part of reverting Jeremy's ill-fated
3002         refactoring.
3003
3004         * src/IDBDatabaseProxy.cpp:
3005         (WebCore::IDBDatabaseProxy::create):
3006         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
3007         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
3008         (WebCore::IDBDatabaseProxy::name):
3009         (WebCore::IDBDatabaseProxy::version):
3010         (WebCore::IDBDatabaseProxy::objectStoreNames):
3011         (WebCore::IDBDatabaseProxy::createObjectStore):
3012         (WebCore::IDBDatabaseProxy::deleteObjectStore):
3013         (WebCore::IDBDatabaseProxy::setVersion):
3014         (WebCore::IDBDatabaseProxy::transaction):
3015         (WebCore::IDBDatabaseProxy::close):
3016         (WebCore::IDBDatabaseProxy::open):
3017         * src/IDBDatabaseProxy.h:
3018         * src/IDBObjectStoreProxy.cpp:
3019         (WebCore::IDBObjectStoreProxy::create):
3020         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
3021         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
3022         (WebCore::IDBObjectStoreProxy::name):
3023         (WebCore::IDBObjectStoreProxy::keyPath):
3024         (WebCore::IDBObjectStoreProxy::indexNames):
3025         (WebCore::IDBObjectStoreProxy::get):
3026         (WebCore::IDBObjectStoreProxy::put):
3027         (WebCore::IDBObjectStoreProxy::deleteFunction):
3028         (WebCore::IDBObjectStoreProxy::clear):
3029         (WebCore::IDBObjectStoreProxy::createIndex):
3030         (WebCore::IDBObjectStoreProxy::index):
3031         (WebCore::IDBObjectStoreProxy::deleteIndex):
3032         (WebCore::IDBObjectStoreProxy::openCursor):
3033
3034 2011-04-01  Adam Barth  <abarth@webkit.org>
3035
3036         Move these files back to their old locations.  I'm not sure why the
3037         rollout didn't move them properly.
3038
3039         * src/IDBDatabaseBackendProxy.cpp: Removed.
3040         * src/IDBDatabaseBackendProxy.h: Removed.
3041         * src/IDBDatabaseProxy.cpp: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
3042         * src/IDBDatabaseProxy.h: Copied from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
3043         * src/IDBObjectStoreBackendProxy.cpp: Removed.
3044         * src/IDBObjectStoreProxy.cpp: Copied from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
3045
3046 2011-04-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3047
3048         Unreviewed, rolling out r82738.
3049         http://trac.webkit.org/changeset/82738
3050         https://bugs.webkit.org/show_bug.cgi?id=57684
3051
3052         Broke storage/indexeddb/objectstore-autoincrement.html and
3053         InjectIDBKey (Requested by abarth|gardening on #webkit).
3054
3055         * WebKit.gyp:
3056         * src/IDBCallbacksProxy.cpp:
3057         (WebCore::IDBCallbacksProxy::create):
3058         (WebCore::IDBCallbacksProxy::IDBCallbacksProxy):
3059         (WebCore::IDBCallbacksProxy::onError):
3060         (WebCore::IDBCallbacksProxy::onSuccess):
3061         * src/IDBCallbacksProxy.h:
3062         * src/IDBCursorBackendProxy.cpp:
3063         (WebCore::IDBCursorBackendProxy::create):
3064         (WebCore::IDBCursorBackendProxy::IDBCursorBackendProxy):
3065         * src/IDBCursorBackendProxy.h:
3066         * src/IDBDatabaseCallbacksProxy.cpp:
3067         (WebCore::IDBDatabaseCallbacksProxy::create):
3068         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
3069         * src/IDBDatabaseCallbacksProxy.h:
3070         * src/IDBDatabaseProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp.
3071         (WebCore::IDBDatabaseProxy::create):
3072         (WebCore::IDBDatabaseProxy::IDBDatabaseProxy):
3073         (WebCore::IDBDatabaseProxy::~IDBDatabaseProxy):
3074         (WebCore::IDBDatabaseProxy::name):
3075         (WebCore::IDBDatabaseProxy::version):
3076         (WebCore::IDBDatabaseProxy::objectStoreNames):
3077         (WebCore::IDBDatabaseProxy::createObjectStore):
3078         (WebCore::IDBDatabaseProxy::deleteObjectStore):
3079         (WebCore::IDBDatabaseProxy::setVersion):
3080         (WebCore::IDBDatabaseProxy::transaction):
3081         (WebCore::IDBDatabaseProxy::close):
3082         (WebCore::IDBDatabaseProxy::open):
3083         * src/IDBDatabaseProxy.h: Renamed from Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h.
3084         * src/IDBFactoryBackendProxy.cpp:
3085         (WebCore::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
3086         (WebCore::IDBFactoryBackendProxy::open):
3087         * src/IDBFactoryBackendProxy.h:
3088         * src/IDBIndexBackendProxy.cpp:
3089         (WebCore::IDBIndexBackendProxy::create):
3090         (WebCore::IDBIndexBackendProxy::IDBIndexBackendProxy):
3091         * src/IDBIndexBackendProxy.h:
3092         * src/IDBObjectStoreBackendProxy.h: Removed.
3093         * src/IDBObjectStoreProxy.cpp: Renamed from Source/WebKit/chromium/src/IDBObjectStoreBackendProxy.cpp.
3094         (WebCore::IDBObjectStoreProxy::create):
3095         (WebCore::IDBObjectStoreProxy::IDBObjectStoreProxy):
3096         (WebCore::IDBObjectStoreProxy::~IDBObjectStoreProxy):
3097         (WebCore::IDBObjectStoreProxy::name):
3098         (WebCore::IDBObjectStoreProxy::keyPath):
3099         (WebCore::IDBObjectStoreProxy::indexNames):
3100         (WebCore::IDBObjectStoreProxy::get):
3101         (WebCore::IDBObjectStoreProxy::put):
3102         (WebCore::IDBObjectStoreProxy::deleteFunction):
3103         (WebCore::IDBObjectStoreProxy::clear):
3104         (WebCore::IDBObjectStoreProxy::createIndex):
3105         (WebCore::IDBObjectStoreProxy::index):
3106         (WebCore::IDBObjectStoreProxy::deleteIndex):
3107         (WebCore::IDBObjectStoreProxy::openCursor):
3108         * src/IDBObjectStoreProxy.h: Added.
3109         * src/IDBTransactionBackendProxy.cpp:
3110         (WebCore::IDBTransactionBackendProxy::create):
3111         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
3112         (WebCore::IDBTransactionBackendProxy::objectStore):
3113         * src/IDBTransactionBackendProxy.h:
3114         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
3115         * src/IDBTransactionCallbacksProxy.cpp:
3116         (WebCore::IDBTransactionCallbacksProxy::create):
3117         (WebCore::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
3118         * src/IDBTransactionCallbacksProxy.h:
3119         * src/WebIDBCallbacksImpl.cpp:
3120         (WebCore::WebIDBCallbacksImpl::onError):
3121         (WebCore::WebIDBCallbacksImpl::onSuccess):
3122         * src/WebIDBCallbacksImpl.h:
3123         * src/WebIDBCursorImpl.cpp:
3124         * src/WebIDBCursorImpl.h:
3125         * src/WebIDBDatabaseCallbacksImpl.cpp:
3126         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
3127         * src/WebIDBDatabaseCallbacksImpl.h:
3128         * src/WebIDBDatabaseError.cpp:
3129         * src/WebIDBDatabaseImpl.cpp:
3130         * src/WebIDBDatabaseImpl.h:
3131         * src/WebIDBFactoryImpl.cpp:
3132         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
3133         * src/WebIDBFactoryImpl.h:
3134         * src/WebIDBIndexImpl.cpp:
3135         * src/WebIDBIndexImpl.h:
3136         * src/WebIDBKey.cpp:
3137         (WebKit::WebIDBKey::createFromValueAndKeyPath):
3138         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
3139         * src/WebIDBKeyPath.cpp:
3140         (WebKit::WebIDBKeyPath::operator const WTF::Vector<WebCore::IDBKeyPathElement, 0>&):
3141         * src/WebIDBKeyRange.cpp:
3142         * src/WebIDBObjectStoreImpl.cpp:
3143         * src/WebIDBObjectStoreImpl.h:
3144         * src/WebIDBTransactionCallbacksImpl.cpp:
3145         * src/WebIDBTransactionCallbacksImpl.h:
3146         * src/WebIDBTransactionImpl.cpp:
3147         * src/WebIDBTransactionImpl.h:
3148
3149 2011-03-30  Jeremy Orlow  <jorlow@chromium.org>
3150
3151         Reviewed by Nate Chapin.
3152
3153         Clean up IndexedDB WebKit API
3154         https://bugs.webkit.org/show_bug.cgi?id=57507
3155
3156         Rename the backend proxy files that didn't have Backend in their name.
3157         Everything in WebKit should be in the WebKit namespace.
3158         Put everything behind the feature flag so we're consistient.
3159         Put the feature flag #if above includes.
3160
3161         * WebKit.gyp:
3162         * src/IDBCallbacksProxy.cpp:
3163         (WebKit::IDBCallbacksProxy::create):
3164         (WebKit::IDBCallbacksProxy::IDBCallbacksProxy):
3165         (WebKit::IDBCallbacksProxy::onError):
3166         (WebKit::IDBCallbacksProxy::onSuccess):
3167         * src/IDBCallbacksProxy.h:
3168         * src/IDBCursorBackendProxy.cpp:
3169         (WebKit::IDBCursorBackendProxy::create):
3170         (WebKit::IDBCursorBackendProxy::IDBCursorBackendProxy):
3171         * src/IDBCursorBackendProxy.h:
3172         * src/IDBDatabaseBackendProxy.cpp:
3173         (WebKit::IDBDatabaseBackendProxy::create):
3174         (WebKit::IDBDatabaseBackendProxy::IDBDatabaseBackendProxy):
3175         (WebKit::IDBDatabaseBackendProxy::~IDBDatabaseBackendProxy):
3176         (WebKit::IDBDatabaseBackendProxy::name):
3177         (WebKit::IDBDatabaseBackendProxy::version):
3178         (WebKit::IDBDatabaseBackendProxy::objectStoreNames):
3179         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
3180         (WebKit::IDBDatabaseBackendProxy::deleteObjectStore):
3181         (WebKit::IDBDatabaseBackendProxy::setVersion):
3182         (WebKit::IDBDatabaseBackendProxy::transaction):
3183         (WebKit::IDBDatabaseBackendProxy::close):
3184         (WebKit::IDBDatabaseBackendProxy::open):
3185         * src/IDBDatabaseCallbacksProxy.cpp:
3186         (WebKit::IDBDatabaseCallbacksProxy::create):
3187         (WebKit::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
3188         * src/IDBDatabaseCallbacksProxy.h:
3189         * src/IDBFactoryBackendProxy.cpp:
3190         (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
3191         (WebKit::IDBFactoryBackendProxy::open):
3192         * src/IDBFactoryBackendProxy.h:
3193         * src/IDBIndexBackendProxy.cpp:
3194         (WebKit::IDBIndexBackendProxy::create):
3195         (WebKit::IDBIndexBackendProxy::IDBIndexBackendProxy):
3196         * src/IDBIndexBackendProxy.h:
3197         * src/IDBObjectStoreBackendProxy.cpp:
3198         (WebKit::IDBObjectStoreBackendProxy::create):
3199         (WebKit::IDBObjectStoreBackendProxy::IDBObjectStoreBackendProxy):
3200         (WebKit::IDBObjectStoreBackendProxy::~IDBObjectStoreBackendProxy):
3201         (WebKit::IDBObjectStoreBackendProxy::name):
3202         (WebKit::IDBObjectStoreBackendProxy::keyPath):
3203         (WebKit::IDBObjectStoreBackendProxy::indexNames):
3204         (WebKit::IDBObjectStoreBackendProxy::get):
3205         (WebKit::IDBObjectStoreBackendProxy::put):
3206         (WebKit::IDBObjectStoreBackendProxy::deleteFunction):
3207         (WebKit::IDBObjectStoreBackendProxy::clear):
3208         (WebKit::IDBObjectStoreBackendProxy::createIndex):
3209         (WebKit::IDBObjectStoreBackendProxy::index):
3210         (WebKit::IDBObjectStoreBackendProxy::deleteIndex):
3211         (WebKit::IDBObjectStoreBackendProxy::openCursor):
3212         * src/IDBObjectStoreBackendProxy.h: Added.
3213         * src/IDBObjectStoreProxy.h: Removed.
3214         * src/IDBTransactionBackendProxy.cpp:
3215         (WebKit::IDBTransactionBackendProxy::create):
3216         (WebKit::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
3217         (WebKit::IDBTransactionBackendProxy::objectStore):
3218         * src/IDBTransactionBackendProxy.h:
3219         (WebKit::IDBTransactionBackendProxy::getWebIDBTransaction):
3220         * src/IDBTransactionCallbacksProxy.cpp:
3221         (WebKit::IDBTransactionCallbacksProxy::create):
3222         (WebKit::IDBTransactionCallbacksProxy::IDBTransactionCallbacksProxy):
3223         * src/IDBTransactionCallbacksProxy.h:
3224         * src/WebIDBCallbacksImpl.cpp:
3225         (WebKit::WebIDBCallbacksImpl::onError):
3226         (WebKit::WebIDBCallbacksImpl::onSuccess):
3227         * src/WebIDBCallbacksImpl.h:
3228         * src/WebIDBCursorImpl.cpp:
3229         * src/WebIDBCursorImpl.h:
3230         * src/WebIDBDatabaseCallbacksImpl.cpp:
3231         (WebKit::WebIDBDatabaseCallbacksImpl::onVersionChange):
3232         * src/WebIDBDatabaseCallbacksImpl.h:
3233         * src/WebIDBDatabaseError.cpp:
3234         * src/WebIDBDatabaseImpl.cpp:
3235         * src/WebIDBDatabaseImpl.h:
3236         * src/WebIDBFactoryImpl.cpp:
3237         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
3238         * src/WebIDBFactoryImpl.h:
3239         * src/WebIDBIndexImpl.cpp:
3240         * src/WebIDBIndexImpl.h:
3241         * src/WebIDBKey.cpp:
3242         (WebKit::WebIDBKey::createFromValueAndKeyPath):
3243         (WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
3244         * src/WebIDBKeyPath.cpp:
3245         (WebKit::WebIDBKeyPath::operator const WTF::Vector<IDBKeyPathElement, 0>&):
3246         * src/WebIDBKeyRange.cpp:
3247         * src/WebIDBObjectStoreImpl.cpp:
3248         * src/WebIDBObjectStoreImpl.h:
3249         * src/WebIDBTransactionCallbacksImpl.cpp:
3250         * src/WebIDBTransactionCallbacksImpl.h:
3251         * src/WebIDBTransactionImpl.cpp:
3252         * src/WebIDBTransactionImpl.h:
3253
3254 2011-03-30  Pavel Podivilov  <podivilov@chromium.org>
3255
3256         Reviewed by Pavel Feldman.
3257
3258         Web Inspector: [chromium] script formatting doesn't work when all scripts are concatenated.
3259         https://bugs.webkit.org/show_bug.cgi?id=57446
3260
3261         * WebKit.gyp:
3262         * scripts/inline_js_imports.py: Added.
3263
3264 2011-03-31  Victoria Kirst  <vrk@google.com>
3265
3266         Reviewed by Eric Carlson.
3267
3268         [chromium] Implement preload=none, setPreload hooks to media player
3269         https://bugs.webkit.org/show_bug.cgi?id=56983
3270
3271         This patch implements preload=none in Chromium. It also replaces
3272         the now-deprecated setAutobuffer method with setPreload.
3273
3274         * public/WebMediaPlayer.h:
3275         (WebKit::WebMediaPlayer::setPreload):
3276         * public/WebMediaPlayerClient.h:
3277         * src/WebMediaPlayerClientImpl.cpp:
3278         (WebKit::WebMediaPlayerClientImpl::preload):
3279         (WebKit::WebMediaPlayerClientImpl::load):
3280         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3281         (WebKit::WebMediaPlayerClientImpl::prepareToPlay):
3282         (WebKit::WebMediaPlayerClientImpl::setPreload):
3283         (WebKit::WebMediaPlayerClientImpl::startDelayedLoad):
3284         (WebKit::WebMediaPlayerClientImpl::WebMediaPlayerClientImpl):
3285         * src/WebMediaPlayerClientImpl.h:
3286
3287 2011-03-31  Evan Martin  <evan@chromium.org>
3288
3289         Reviewed by Eric Seidel.
3290
3291         <title> should support dir attribute
3292         https://bugs.webkit.org/show_bug.cgi?id=50961
3293
3294         Update to new FrameLoaderClient interface.
3295
3296         * src/FrameLoaderClientImpl.cpp:
3297         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveTitle):
3298         (WebKit::FrameLoaderClientImpl::setTitle):
3299         * src/FrameLoaderClientImpl.h:
3300         * src/WebDataSourceImpl.cpp:
3301         (WebKit::WebDataSourceImpl::pageTitle):
3302
3303 2011-03-30  David Levin  <levin@chromium.org>
3304
3305         Reviewed by Dmitry Titov.
3306
3307         UnlockNonLocked condition reached in WorkerFileSystemsCallbackBridge::mayPostTaskToWorker
3308         https://bugs.webkit.org/show_bug.cgi?id=57382
3309
3310         There were two issues to address:
3311         1. The use of a non-thread safe class (RefPtr) in a ThreadSafeRefCounted class.
3312            The problem was that this RefPtr could be changed on either thread.
3313         2. Keeping WorkerFileSystemCallbacksBridge alive for while it was being used
3314            including while its mutex was in use.
3315
3316         * src/WorkerFileSystemCallbacksBridge.cpp:
3317         (WebKit::WorkerFileSystemCallbacksBridge::runTaskOnMainThread):
3318         Changed to take a PassRefPtr and leak the ref count as opposed to relying on
3319         dispatchTaskToMainThread to store the pointer in m_selfRef.
3320         (WebKit::WorkerFileSystemCallbacksBridge::dispatchTaskToMainThread): Remove the
3321         m_selfRef and hand off a PassRefPtr instead.
3322         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker): Balance out the leaked ref
3323         and ensure that WorkerFileSystemCallbacksBridge stays alive while the mutex is held.
3324         * src/WorkerFileSystemCallbacksBridge.h: Removed m_selfRef and derefIfWorkerIsStopped which
3325           was simply due to m_selfRef.
3326
3327 2011-03-29  John Abd-El-Malek  <jam@chromium.org>
3328
3329         Reviewed by Tony Chang.
3330
3331         [chromium]: Remove the code that called WebViewClient for spelling now that chromium is updated
3332         https://bugs.webkit.org/show_bug.cgi?id=57396
3333
3334         * DEPS:
3335         * public/WebFrame.h:
3336         * public/WebView.h:
3337         * public/WebViewClient.h:
3338         (WebKit::WebViewClient::handleCurrentKeyboardEvent):
3339         * src/EditorClientImpl.cpp:
3340         (WebKit::EditorClientImpl::checkSpellingOfString):
3341         (WebKit::EditorClientImpl::requestCheckingOfString):
3342         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
3343         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
3344         (WebKit::EditorClientImpl::showSpellingUI):
3345         (WebKit::EditorClientImpl::spellingUIIsShowing):
3346         * src/WebViewImpl.cpp:
3347         (WebKit::WebView::create):
3348         * src/WebViewImpl.h:
3349         * src/WebWorkerBase.cpp:
3350         (WebKit::WebWorkerBase::initializeLoader):
3351         * tests/PopupMenuTest.cpp:
3352         (WebKit::SelectPopupMenuTest::SetUp):
3353         * tests/WebFrameTest.cpp:
3354         (WebKit::TEST_F):
3355         * tests/WebPageSerializerTest.cpp:
3356         (WebKit::WebPageSerializerTest::SetUp):
3357
3358 2011-03-30  MORITA Hajime  <morrita@google.com>
3359
3360         Reviewed by Dimitri Glazkov.
3361
3362         [Chromium] Expose the shadow DOM to DumpRenderTree JS tests.
3363         https://bugs.webkit.org/show_bug.cgi?id=56573
3364
3365         Added:
3366         - WebBindins::makeNode() to convert WebNode to a JS object, and
3367         - WebElement::shadowRoot().
3368
3369         * public/WebBindings.h:
3370         * public/WebElement.h:
3371         * src/WebBindings.cpp:
3372         (WebKit::makeNodeImpl):
3373         (WebKit::WebBindings::makeNode):
3374         * src/WebElement.cpp:
3375         (WebKit::WebElement::shadowRoot):
3376
3377 2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
3378
3379         Reviewed by Chris Fleizach.
3380
3381         AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
3382         https://bugs.webkit.org/show_bug.cgi?id=47636
3383
3384         Duplicate new internal WebCore roles in the Chromium port.
3385
3386         * public/WebAccessibilityRole.h: Update enumeration
3387         WebAccessibilityRole to reflect newly added roles in WebCore.
3388         * src/AssertMatchingEnums.cpp: Added new assertions.
3389
3390 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
3391
3392         Reviewed by Pavel Feldman.
3393
3394         Web Inspector: split debugger agent into Page and Worker-specific ones
3395         https://bugs.webkit.org/show_bug.cgi?id=57345
3396
3397         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
3398         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
3399         and Page/WorkerDebuggerAgent.
3400
3401         * src/DebuggerAgentManager.cpp:
3402         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
3403         * src/WebDevToolsAgentImpl.cpp:
3404         (WebKit::WebDevToolsAgent::interruptAndDispatch):
3405         (WebKit::WebDevToolsAgent::processPendingMessages):
3406
3407 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
3408
3409         Unreviewed. Rollout r82438 and r82436.
3410
3411         * src/DebuggerAgentManager.cpp:
3412         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
3413         * src/WebDevToolsAgentImpl.cpp:
3414         (WebKit::WebDevToolsAgent::interruptAndDispatch):
3415         (WebKit::WebDevToolsAgent::processPendingMessages):
3416
3417 2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
3418
3419         Reviewed by Pavel Feldman.
3420
3421         Web Inspector: split debugger agent into Page and Worker-specific ones
3422         https://bugs.webkit.org/show_bug.cgi?id=57345
3423
3424         ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
3425         for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
3426         and Page/WorkerDebuggerAgent.
3427
3428         * src/DebuggerAgentManager.cpp:
3429         (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
3430         * src/WebDevToolsAgentImpl.cpp:
3431         (WebKit::WebDevToolsAgent::interruptAndDispatch):
3432         (WebKit::WebDevToolsAgent::processPendingMessages):
3433
3434 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3435
3436         Unreviewed, rolling out r82293.
3437         http://trac.webkit.org/changeset/82293
3438         https://bugs.webkit.org/show_bug.cgi?id=57390
3439
3440         Breaks RetrieveCSSResources (Requested by abarth|gardener on
3441         #webkit).
3442
3443         * WebKit.gyp:
3444         * src/WebPageSerializer.cpp:
3445         (WebCore::getSubResourceURLFromElement):
3446         (WebCore::retrieveResourcesForElement):
3447         (WebCore::retrieveResourcesForFrame):
3448         (WebKit::WebPageSerializer::retrieveAllResources):
3449         * tests/WebPageSerializerTest.cpp:
3450         * tests/data/pageserialization/css_test_page.html: Removed.
3451         * tests/data/pageserialization/import_style_from_link.css: Removed.
3452         * tests/data/pageserialization/import_styles.css: Removed.
3453         * tests/data/pageserialization/link_styles.css: Removed.
3454
3455 2011-03-29  Tony Chang  <tony@chromium.org>
3456
3457         Roll chromium version to r79710 to pick up libpng changes.
3458
3459         * DEPS:
3460
3461 2011-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3462
3463         Unreviewed, rolling out r82295 and r82300.
3464         http://trac.webkit.org/changeset/82295
3465         http://trac.webkit.org/changeset/82300
3466         https://bugs.webkit.org/show_bug.cgi?id=57380
3467
3468         This patch breaks compile on Chromium (Requested by
3469         abarth|gardener on #webkit).
3470
3471         * public/WebAccessibilityRole.h:
3472         * src/AssertMatchingEnums.cpp:
3473
3474 2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
3475
3476         Reviewed by Adam Barth.
3477
3478         REGRESSION(r82295): This patch does not compile on Chromium (Requested by abarth|gardener on #webkit).
3479         https://bugs.webkit.org/show_bug.cgi?id=57377
3480
3481         Fix build errors on Chromium bots.
3482
3483         * public/WebAccessibilityRole.h: Update to reflect newly added roles in WebCore.
3484         * src/AssertMatchingEnums.cpp: Ditto.
3485
3486 2011-03-29  Adam Barth  <abarth@webkit.org>
3487
3488         Roll Chromium DEPS
3489         https://bugs.webkit.org/show_bug.cgi?id=57361
3490
3491         * DEPS:
3492
3493 2011-03-29  Jay Civelli  <jcivelli@chromium.org>
3494
3495         Reviewed by David Levin.
3496
3497         Adding retrieval off CSS resources to WebPageSerializer::retrieveAllResources.
3498         https://bugs.webkit.org/show_bug.cgi?id=56650
3499
3500         * WebKit.gyp:
3501         * src/WebPageSerializer.cpp:
3502         (WebCore::getResourceAttributeForElement):
3503         (WebCore::retrieveStyleSheetForElement):
3504         (WebCore::retrieveResourcesForElement):
3505         (WebCore::retrieveResourcesForFrame):
3506         (WebCore::retrieveResourcesForCSSRule):
3507         (WebCore::retrieveResourcesForCSSStyleDeclaration):
3508         (WebCore::retrieveResourcesForCSSStyleSheet):
3509         (WebKit::WebPageSerializer::retrieveAllResources):
3510         * tests/WebPageSerializerTest.cpp:
3511         (WebKit::TestWebFrameClient::TestWebFrameClient):
3512         (WebKit::TestWebFrameClient::allowScript):
3513         (WebKit::WebPageSerializerTest::enableJS):
3514         (WebKit::WebPageSerializerTest::runOnLoad):
3515         (WebKit::TEST_F):
3516         * tests/data/pageserialization/css_test_page.html: Added.
3517         * tests/data/pageserialization/import_style_from_link.css: Added.
3518         (#divOrange):
3519         * tests/data/pageserialization/import_styles.css: Added.
3520         (#divYellow):
3521         * tests/data/pageserialization/link_styles.css: Added.
3522         (#divRed):
3523
3524 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
3525
3526         Reviewed by Pavel Feldman.
3527
3528         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
3529         https://bugs.webkit.org/show_bug.cgi?id=56602
3530
3531         Added new methods to interface while keeping the old ones to keep
3532         chromium working until it is also patched.
3533
3534         * public/WebURLLoaderClient.h:
3535         (WebKit::WebURLLoaderClient::didReceiveData2):
3536         * src/AssociatedURLLoader.cpp:
3537         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3538         * src/ResourceHandle.cpp:
3539         (WebCore::ResourceHandleInternal::didReceiveData):
3540         (WebCore::ResourceHandleInternal::didReceiveData2):
3541
3542 2011-03-29  Vsevolod Vlasov  <vsevik@chromium.org>
3543
3544         Reviewed by Pavel Feldman.
3545
3546         Web Inspector: [Chromium] DevTools shows two resources for each plugin resource loaded
3547         https://bugs.webkit.org/show_bug.cgi?id=57101
3548
3549         Remove DevToolsAgent network callbacks as this information is now available through ResourceLoader
3550
3551         * public/WebDevToolsAgent.h:
3552         * src/WebDevToolsAgentImpl.cpp:
3553         * src/WebDevToolsAgentImpl.h:
3554
3555 2011-03-29  Emil A Eklund  <eae@chromium.org>
3556
3557         Reviewed by Dimitri Glazkov.
3558
3559         Relative mouse coordinates recalculated for each target
3560         https://bugs.webkit.org/show_bug.cgi?id=57130
3561
3562         * public/WebDOMMouseEvent.h:
3563         * src/WebDOMMouseEvent.cpp:
3564         (WebKit::WebDOMMouseEvent::layerX):
3565         (WebKit::WebDOMMouseEvent::layerY):
3566         (WebKit::WebDOMMouseEvent::offsetX):
3567         (WebKit::WebDOMMouseEvent::offsetY):
3568
3569 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
3570
3571         Unreviewed, rolling out r82195.
3572         http://trac.webkit.org/changeset/82195
3573         https://bugs.webkit.org/show_bug.cgi?id=56602
3574
3575         Broke Chromium Clang builds.
3576
3577         * public/WebDevToolsAgent.h:
3578         * public/WebURLLoaderClient.h:
3579         * src/AssociatedURLLoader.cpp:
3580         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3581         * src/ResourceHandle.cpp:
3582         (WebCore::ResourceHandleInternal::didReceiveData):
3583         * src/WebDevToolsAgentImpl.cpp:
3584         (WebKit::WebDevToolsAgentImpl::didReceiveData):
3585         * src/WebDevToolsAgentImpl.h:
3586
3587 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
3588
3589         Unreviewed. Another build fix. The last fix was incorrect.
3590
3591         * src/ChromeClientImpl.cpp:
3592         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
3593         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
3594         * src/ChromeClientImpl.h:
3595
3596 2011-03-29  Yuta Kitamura  <yutak@chromium.org>
3597
3598         Unreviewed. Build fix for Chromium Clang bot.
3599
3600         * src/ChromeClientImpl.cpp:
3601         (WebKit::ChromeClientImpl::supportsFullscreenForNode):
3602         * src/ChromeClientImpl.h:
3603
3604 2011-03-28  Vsevolod Vlasov  <vsevik@chromium.org>
3605
3606         Reviewed by Pavel Feldman.
3607
3608         [Chromium] Inspector does not always shows transferred size correctly (e.g. gzipped/chunked content)
3609         https://bugs.webkit.org/show_bug.cgi?id=56602
3610
3611         Added new methods to interface while keeping the old ones to keep
3612         chromium working until it is also patched.
3613
3614         * public/WebDevToolsAgent.h:
3615         * public/WebURLLoaderClient.h:
3616         (WebKit::WebURLLoaderClient::didReceiveData):
3617         * src/AssociatedURLLoader.cpp:
3618         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
3619         * src/ResourceHandle.cpp:
3620         (WebCore::ResourceHandleInternal::didReceiveData):
3621         * src/WebDevToolsAgentImpl.cpp:
3622         (WebKit::WebDevToolsAgentImpl::didReceiveData):
3623         * src/WebDevToolsAgentImpl.h:
3624
3625 2011-03-28  Tony Chang  <tony@chromium.org>
3626
3627         Reviewed by Adam Barth.
3628
3629         [chromium] have DRT write the png checksum into a png comment
3630         https://bugs.webkit.org/show_bug.cgi?id=57255
3631
3632         * DEPS: Pull in version of chromium with comment writing
3633
3634 2011-03-28  Adele Peterson  <adele@apple.com>
3635
3636         Build fix.
3637
3638         * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
3639         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
3640
3641 2011-03-28  Pavel Feldman  <pfeldman@chromium.org>
3642
3643         Not reviewed: fixed chromium build.
3644
3645         * src/WebDevToolsAgentImpl.cpp:
3646         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
3647
3648 2011-03-25  Andy Estes  <aestes@apple.com>
3649
3650         Reviewed by Adele Peterson.
3651
3652         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3653         https://bugs.webkit.org/show_bug.cgi?id=49016
3654
3655         Update objectContentType() implementation to handle the
3656         shouldPreferPlugInsForImages flag.
3657
3658         * src/FrameLoaderClientImpl.cpp:
3659         (WebKit::FrameLoaderClientImpl::objectContentType):
3660         * src/FrameLoaderClientImpl.h:
3661
3662 2011-03-25  Kinuko Yasuda  <kinuko@chromium.org>
3663
3664         Reviewed by David Levin.
3665
3666         Data race between ~WorkerFileSystemCallbacksBridge and runTasksOnWorkerThread
3667         https://bugs.webkit.org/show_bug.cgi?id=56138
3668         Stopped passing the WorkerFileSystemCallbacksBridge's reference to
3669         MainThreadFileSystemCallbacks so that in most cases (in normal cases)
3670         its reference is only maintained by WorkerThread.
3671
3672         * src/WorkerFileSystemCallbacksBridge.cpp:
3673         (WebKit::MainThreadFileSystemCallbacks::createLeakedPtr):
3674         (WebKit::MainThreadFileSystemCallbacks::MainThreadFileSystemCallbacks):
3675         (WebKit::WorkerFileSystemCallbacksBridge::mayPostTaskToWorker):
3676         * src/WorkerFileSystemCallbacksBridge.h:
3677
3678 2011-03-24  John Abd-El-Malek  <jam@chromium.org>
3679
3680         Reviewed by Dimitri Glazkov.
3681
3682         [chromium] Add setters for various client interfaces, and add WebSpellCheckClient
3683         https://bugs.webkit.org/show_bug.cgi?id=57070
3684
3685         * public/WebSpellCheckClient.h: Added.
3686         (WebKit::WebSpellCheckClient::spellCheck):
3687         (WebKit::WebSpellCheckClient::requestCheckingOfText):
3688         (WebKit::WebSpellCheckClient::autoCorrectWord):
3689         (WebKit::WebSpellCheckClient::showSpellingUI):
3690         (WebKit::WebSpellCheckClient::isShowingSpellingUI):
3691         (WebKit::WebSpellCheckClient::updateSpellingUIWithMisspelledWord):
3692         (WebKit::WebSpellCheckClient::~WebSpellCheckClient):
3693         * public/WebView.h:
3694         * public/WebViewClient.h:
3695         * src/EditorClientImpl.cpp:
3696         (WebKit::EditorClientImpl::checkSpellingOfString):
3697         (WebKit::EditorClientImpl::requestCheckingOfString):
3698         (WebKit::EditorClientImpl::getAutoCorrectSuggestionForMisspelledWord):
3699         (WebKit::EditorClientImpl::updateSpellingUIWithMisspelledWord):
3700         (WebKit::EditorClientImpl::showSpellingUI):
3701         (WebKit::EditorClientImpl::spellingUIIsShowing):
3702         * src/WebViewImpl.cpp:
3703         (WebKit::WebViewImpl::setWebDevToolsAgentClient):
3704         (WebKit::WebViewImpl::setWebAutoFillClient):
3705         (WebKit::WebViewImpl::setWebSpellCheckClient):
3706         (WebKit::WebViewImpl::WebViewImpl):
3707         * src/WebViewImpl.h:
3708         (WebKit::WebViewImpl::spellCheckClient):
3709
3710 2011-03-25  Cary Clark  <caryclark@google.com>
3711
3712         Reviewed by Dimitri Glazkov.
3713
3714         Add CGBitmapContext.h include to WebViewImpl.cpp
3715         https://bugs.webkit.org/show_bug.cgi?id=57097
3716         
3717         No tests. Exposes no new functionality.
3718
3719         * src/WebViewImpl.cpp:
3720
3721 2011-03-25  Adam Klein  <adamk@chromium.org>
3722
3723         Reviewed by David Levin.
3724
3725         [chromium] Remove deprecated overload of openFileSystem for workers
3726         https://bugs.webkit.org/show_bug.cgi?id=57062
3727
3728         * public/WebCommonWorkerClient.h:
3729
3730 2011-03-25  Chang Shu  <cshu@webkit.org>
3731
3732         Reviewed by Ryosuke Niwa.
3733
3734         rename Node::isContentEditable and all call sites to rendererIsEditable
3735         https://bugs.webkit.org/show_bug.cgi?id=54290
3736
3737         This is part of the effort to separate JS API HTMLElement isContentEditable from
3738         internal Node::rendererIsEditable.
3739
3740         * src/WebNode.cpp:
3741         (WebKit::WebNode::isContentEditable):
3742         * src/WebViewImpl.cpp:
3743         (WebKit::WebViewImpl::setFocus):
3744         (WebKit::WebViewImpl::setComposition):
3745         (WebKit::WebViewImpl::confirmComposition):
3746
3747 2011-03-25  Mikhail Naganov  <mnaganov@chromium.org>
3748
3749         Roll forward Chromium deps to r79379 to pick up V8 3.2.4.2.
3750
3751         * DEPS:
3752
3753 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3754
3755         Unreviewed, rolling out r81916 and r81917.
3756         http://trac.webkit.org/changeset/81916
3757         http://trac.webkit.org/changeset/81917
3758         https://bugs.webkit.org/show_bug.cgi?id=57071
3759
3760         broke a test on platforms that do not have QuickTime installed
3761         (Requested by estes on #webkit).
3762
3763         * src/FrameLoaderClientImpl.cpp:
3764         (WebKit::FrameLoaderClientImpl::objectContentType):
3765         * src/FrameLoaderClientImpl.h:
3766
3767 2011-03-24  Min Qin  <qinmin@google.com>
3768
3769         Reviewed by James Robinson.
3770
3771         Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
3772
3773         https://bugs.webkit.org/show_bug.cgi?id=56837
3774
3775         * public/WebMediaPlayerClient.h:
3776         * src/WebMediaPlayerClientImpl.cpp:
3777         (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
3778         * src/WebMediaPlayerClientImpl.h:
3779
3780 2011-03-23  John Abd-El-Malek  <jam@chromium.org>
3781
3782         Reviewed by Tony Chang.
3783
3784         [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
3785         https://bugs.webkit.org/show_bug.cgi?id=56955
3786
3787         * DEPS:
3788         * public/WebTextCheckingResult.h:
3789
3790 2011-03-24  Bill Budge  <bbudge@chromium.org>
3791
3792         Reviewed by Eric Seidel.
3793
3794         Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
3795         https://bugs.webkit.org/show_bug.cgi?id=57064
3796
3797         No tests. Exposes no new functionality.
3798
3799         * public/WebFrame.h:
3800
3801 2011-03-24  Andy Estes  <aestes@apple.com>
3802
3803         Fix the chromium build.
3804
3805         * src/FrameLoaderClientImpl.cpp:
3806         (WebKit::FrameLoaderClientImpl::objectContentType):
3807
3808 2011-03-24  Andy Estes  <aestes@apple.com>
3809
3810         Reviewed by Darin Adler.
3811
3812         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3813         https://bugs.webkit.org/show_bug.cgi?id=49016
3814
3815         Update objectContentType() implementation to handle the
3816         shouldPreferPlugInsForImages flag.
3817
3818         * src/FrameLoaderClientImpl.cpp:
3819         (WebKit::FrameLoaderClientImpl::objectContentType):
3820         * src/FrameLoaderClientImpl.h:
3821
3822 2011-03-24  Bill Budge  <bbudge@chromium.org>
3823
3824         Reviewed by Dmitry Titov.
3825
3826         Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
3827         https://bugs.webkit.org/show_bug.cgi?id=56885
3828
3829         No new tests. Exposes no new functionality.
3830
3831         * public/WebFrame.h:
3832         * src/WebFrameImpl.cpp:
3833         (WebKit::WebFrameImpl::createAssociatedURLLoader):
3834         * src/WebFrameImpl.h:
3835
3836 2011-03-24  Sam Weinig  <sam@webkit.org>
3837
3838         Reviewed by Anders Carlsson.
3839
3840         Remove legacy version of findPlainText.
3841         https://bugs.webkit.org/show_bug.cgi?id=57056
3842
3843         * src/WebFrameImpl.cpp:
3844         (WebKit::WebFrameImpl::scopeStringMatches):
3845         Replace use of legacy findPlainText with a version that
3846         takes an options parameter.
3847
3848 2011-03-24  Nat Duca  <nduca@chromium.org>
3849
3850         Reviewed by Kenneth Russell.
3851
3852         [chromium] Add traceEvents to compositor
3853         https://bugs.webkit.org/show_bug.cgi?id=56965
3854
3855         * src/WebViewImpl.cpp:
3856         (WebKit::WebViewImpl::composite):
3857
3858 2011-03-24  Dominic Mazzoni  <dmazzoni@google.com>
3859
3860         Reviewed by Dimitri Glazkov.
3861
3862         Add accessibilityObject accessor to WebDocument (needed for
3863         building an accessibility tree that includes iframes).
3864         https://bugs.webkit.org/show_bug.cgi?id=56984
3865
3866         * public/WebDocument.h:
3867         * src/WebDocument.cpp:
3868         (WebKit::WebDocument::accessibilityObject):
3869
3870 2011-03-24  Ilya Sherman  <isherman@chromium.org>
3871
3872         Reviewed by Dimitri Glazkov.
3873
3874         Expose Node::isFocusable() in the Chromium WebKit API
3875         In service of https://code.google.com/p/chromium/issues/detail?id=72918
3876         https://bugs.webkit.org/show_bug.cgi?id=56809
3877
3878         * public/WebNode.h:
3879         * src/WebNode.cpp:
3880         (WebKit::WebNode::isFocusable):
3881
3882 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
3883
3884         Not reviewed: fix chromium compilation.
3885
3886         * public/WebDevToolsAgent.h:
3887
3888 2011-03-24  Pavel Feldman  <pfeldman@chromium.org>
3889
3890         Reviewed by Yury Semikhatsky.
3891
3892         Web Inspector: brush up Network agent API.
3893         https://bugs.webkit.org/show_bug.cgi?id=57001
3894
3895         * public/WebDevToolsAgent.h:
3896         * src/WebDevToolsAgentImpl.cpp:
3897         (WebKit::WebDevToolsAgentImpl::identifierForInitialRequest):
3898         (WebKit::WebDevToolsAgentImpl::willSendRequest):
3899         * src/WebDevToolsAgentImpl.h:
3900
3901 2011-03-24  Noel Gordon  <noel.gordon@gmail.com>
3902
3903         Reviewed by Ojan Vafai.
3904
3905         [chromium] WebBindings::getRangeImpl() should NULL check its NPObject argument
3906         https://bugs.webkit.org/show_bug.cgi?id=56996
3907
3908         * src/WebBindings.cpp:
3909         (WebKit::getRangeImpl):
3910
3911 2011-03-23  Noel Gordon  <noel.gordon@gmail.com>
3912
3913         Reviewed by Ojan Vafai.
3914
3915         [chromium] WebBindings{.h,.cpp}: should use consistent argument naming
3916         https://bugs.webkit.org/show_bug.cgi?id=56898
3917
3918         Address FIXME I noted/added in r81676.  Wanted to just copy/paste the checking
3919         code from elsewhere in the file, but inconsistent argument naming made it more
3920         difficult than it need be, so first step: use consistent naming.
3921
3922         * public/WebBindings.h:
3923         * src/WebBindings.cpp:
3924         (WebKit::WebBindings::construct):
3925         (WebKit::WebBindings::enumerate):
3926         (WebKit::WebBindings::evaluate):
3927         (WebKit::WebBindings::evaluateHelper):
3928         (WebKit::WebBindings::getProperty):
3929         (WebKit::WebBindings::hasMethod):
3930         (WebKit::WebBindings::hasProperty):
3931         (WebKit::WebBindings::invoke):
3932         (WebKit::WebBindings::invokeDefault):
3933         (WebKit::WebBindings::releaseObject):
3934         (WebKit::WebBindings::removeProperty):
3935         (WebKit::WebBindings::retainObject):
3936         (WebKit::WebBindings::setException):
3937         (WebKit::WebBindings::setProperty):
3938         (WebKit::WebBindings::unregisterObject):
3939         (WebKit::WebBindings::extractIdentifierData):
3940         (WebKit::getRangeImpl):
3941         (WebKit::getElementImpl):
3942         (WebKit::makeIntArrayImpl):
3943         (WebKit::WebBindings::getRange):
3944         (WebKit::WebBindings::makeIntArray):
3945
3946 2011-03-23  Jay Civelli  <jcivelli@chromium.org>
3947
3948         Reviewed by David Levin.
3949
3950         Relanding:
3951         Moving the method that is used to retrieve all the resources in
3952         a page from the Chromium code (dom_operations.cc) to WebKit.
3953         https://bugs.webkit.org/show_bug.cgi?id=55859
3954
3955         * WebKit.gyp:
3956         * public/WebPageSerializer.h:
3957         * public/WebURL.h:
3958         (WebKit::operator==):
3959         (WebKit::operator!=):
3960         * public/WebVector.h:
3961         (WebKit::WebVector::contains):
3962         * src/WebDataSourceImpl.cpp:
3963         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
3964         * src/WebPageSerializer.cpp:
3965         (WebCore::getSubResourceURLFromElement):
3966         (WebCore::retrieveResourcesForElement):
3967         (WebCore::retrieveResourcesForFrame):
3968         (WebKit::WebPageSerializer::retrieveAllResources):
3969         * tests/WebFrameTest.cpp:
3970         * tests/WebPageSerializerTest.cpp: Added.
3971         * tests/data/pageserialization/awesome.png: Added.
3972         * tests/data/pageserialization/embed_iframe.html: Added.
3973         * tests/data/pageserialization/object_iframe.html: Added.
3974         * tests/data/pageserialization/simple_iframe.html: Added.
3975         * tests/data/pageserialization/simple_page.html: Added.
3976         * tests/data/pageserialization/top_frame.html: Added.
3977
3978 2011-03-23  Kenneth Russell  <kbr@google.com>
3979
3980         Rolled forward Chromium DEPS again to fix DumpRenderTree build
3981         failure caused by r81821.
3982
3983         * DEPS:
3984
3985 2011-03-23  Kenneth Russell  <kbr@google.com>
3986
3987         Rolled forward Chromium DEPS to fix build breakage after r81821.
3988
3989         * DEPS:
3990
3991 2011-03-23  Kenneth Russell  <kbr@google.com>
3992
3993         Reviewed by James Robinson.
3994
3995         [chromium] WebGLRenderingContext and other DOMWindow properties should remain if WebGL is disabled
3996         https://bugs.webkit.org/show_bug.cgi?id=56947
3997
3998         Removed the WebRuntimeFeatures setting for WebGL. WebGL support is
3999         now controlled exclusively through the page's Settings.
4000
4001         * public/WebRuntimeFeatures.h:
4002         * src/WebRuntimeFeatures.cpp:
4003
4004 2011-03-23  Chris Rogers  <crogers@google.com>
4005
4006         Reviewed by Kenneth Russell.
4007
4008         Add API to retrieve the audio hardware sample-rate
4009         https://bugs.webkit.org/show_bug.cgi?id=56882
4010
4011         * public/WebAudioDevice.h:
4012         * public/WebKitClient.h:
4013         (WebKit::WebKitClient::audioHardwareSampleRate):
4014         * src/AudioDestinationChromium.cpp:
4015         (WebCore::AudioDestination::hardwareSampleRate):
4016
4017 2011-03-23  Cris Neckar  <cdn@chromium.org>
4018
4019         Reviewed by Eric Seidel.
4020
4021         Add refptr for widget. Mutations can happen within the event handler.
4022         https://bugs.webkit.org/show_bug.cgi?id=56774
4023
4024         * src/WebPluginContainerImpl.cpp:
4025         (WebKit::WebPluginContainerImpl::handleEvent):
4026
4027 2011-03-23  Viet-Trung Luu  <viettrungluu@chromium.org>
4028
4029         Reviewed by Tony Chang.
4030
4031         [chromium] Add FormatPlainText to WebClipboard::Format enumeration.
4032         https://bugs.webkit.org/show_bug.cgi?id=56868
4033
4034         Chromium's WebClipboard::isFormatAvailable() will be correspondingly
4035         extended.
4036
4037         * public/WebClipboard.h:
4038         * src/AssertMatchingEnums.cpp:
4039
4040 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
4041
4042         Reviewed by Pavel Feldman.
4043
4044         [Chromium] Web Inspector: Remove DebuggerScript.js from Chromium resource bundle.
4045         https://bugs.webkit.org/show_bug.cgi?id=56916
4046
4047         * DEPS: bump up Chromium dependency to the revision where no references to the DebuggerScript.js resource are left.
4048         * WebKit.grd:
4049
4050 2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
4051
4052         Reviewed by Pavel Feldman.
4053
4054         [Chromium] Web Inspector: remove inspectNode method from WebDevToolsAgent
4055         https://bugs.webkit.org/show_bug.cgi?id=56926
4056
4057         * public/WebDevToolsAgent.h:
4058         * src/WebDevToolsAgentImpl.cpp:
4059         * src/WebDevToolsAgentImpl.h:
4060
4061 2011-03-23  Sheriff Bot  <webkit.review.bot@gmail.com>
4062
4063         Unreviewed, rolling out r81686.
4064         http://trac.webkit.org/changeset/81686
4065         https://bugs.webkit.org/show_bug.cgi?id=56914
4066
4067         Breaks webkit_tests in Chromium again. (Requested by pfeldman
4068         on #webkit).
4069
4070         * WebKit.gyp:
4071         * public/WebPageSerializer.h:
4072         * public/WebURL.h:
4073         * public/WebVector.h:
4074         (WebKit::WebVector::operator[]):
4075         * src/WebDataSourceImpl.cpp:
4076         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
4077         * src/WebPageSerializer.cpp:
4078         * tests/WebFrameTest.cpp:
4079         * tests/WebPageSerializerTest.cpp: Removed.
4080         * tests/data/pageserialization/awesome.png: Removed.
4081         * tests/data/pageserialization/embed_iframe.html: Removed.
4082         * tests/data/pageserialization/object_iframe.html: Removed.
4083         * tests/data/pageserialization/simple_iframe.html: Removed.
4084         * tests/data/pageserialization/simple_page.html: Removed.
4085         * tests/data/pageserialization/top_frame.html: Removed.
4086
4087 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
4088
4089         Reviewed by Pavel Feldman.
4090
4091         [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
4092         https://bugs.webkit.org/show_bug.cgi?id=56843
4093
4094         * public/WebDevToolsAgentClient.h: the script source is now compiled along with the inspector code.
4095         * src/WebDevToolsAgentImpl.cpp:
4096         (WebKit::WebDevToolsAgentImpl::attach):
4097
4098 2011-03-22  Yury Semikhatsky  <yurys@chromium.org>
4099
4100         Reviewed by Pavel Feldman.
4101
4102         [Chromium] Web Inspector: remove obsolete methods from WebDevToolsAgentClient.h
4103         https://bugs.webkit.org/show_bug.cgi?id=56897
4104
4105         * public/WebDevToolsAgentClient.h:
4106
4107 2011-03-22  Noel Gordon  <noel.gordon@gmail.com>
4108
4109         Reviewed by Tony Chang.
4110
4111         [chromium] Remove identity from dragTargetDragEnter() function signature
4112         https://bugs.webkit.org/show_bug.cgi?id=56875
4113
4114         First part of 3-sided patch.  Add new function signature sans identity.
4115
4116         * public/WebView.h:
4117         * src/WebViewImpl.cpp:
4118         (WebKit::WebViewImpl::dragTargetDragEnter):
4119         * src/WebViewImpl.h:
4120
4121 2011-03-22  John Bauman  <jbauman@chromium.org>
4122
4123         Reviewed by Kenneth Russell.
4124
4125         Add support for preserveDrawingBuffer context creation attribute
4126         https://bugs.webkit.org/show_bug.cgi?id=56431
4127
4128         * src/GraphicsContext3DChromium.cpp:
4129         (WebCore::GraphicsContext3DInternal::markContextChanged):
4130         (WebCore::GraphicsContext3DInternal::markLayerComposited):
4131         (WebCore::GraphicsContext3DInternal::layerComposited):
4132         (WebCore::GraphicsContext3D::layerComposited):
4133         * src/GraphicsContext3DInternal.h:
4134
4135 2011-03-22  John Abd-El-Malek  <jam@chromium.org>
4136
4137         Reviewed by Tony Chang.
4138
4139         [chromium] Make WebTextCheckingResult&apos;s members be public in preparation for converting it to a struct
4140         https://bugs.webkit.org/show_bug.cgi?id=56857
4141
4142         * DEPS:
4143         * public/WebTextCheckingResult.h:
4144
4145 2011-03-22  Jay Civelli  <jcivelli@chromium.org>
4146
4147         Reviewed by David Levin.
4148
4149         Relanding:
4150         Moving the method that is used to retrieve all the resources in
4151         a page from the Chromium code (dom_operations.cc) to WebKit.
4152         https://bugs.webkit.org/show_bug.cgi?id=55859
4153
4154
4155         * WebKit.gyp:
4156         * public/WebPageSerializer.h:
4157         * public/WebURL.h: