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