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