b1100ecbe7bdc5dff744355de0369225297080ab
[WebKit-https.git] / WebKit / chromium / ChangeLog
1 2010-11-09  Tony Chang  <tony@chromium.org>
2
3         Unreviewed, rolling chromium DEPS.
4
5         * DEPS: Roll to r65462.
6
7 2010-11-09  Mihai Parparita  <mihaip@chromium.org>
8
9         Unreviewed Chromium Windows build fix.
10
11         Add isDisplayNone to the PopupMenuStyle constructor call in
12         PopupMenuTest (necessary after r71618).
13
14         * tests/PopupMenuTest.cpp:
15         (WebKit::TestPopupMenuClient::itemStyle):
16
17 2010-11-09  Shinichiro Hamaji  <hamaji@chromium.org>
18
19         Reviewed by Dimitri Glazkov.
20
21         [Chromium] display:none has no effect on <option> element
22         https://bugs.webkit.org/show_bug.cgi?id=49169
23
24         * src/AutoFillPopupMenuClient.cpp:
25         (WebKit::AutoFillPopupMenuClient::initialize):
26
27 2010-11-09  James Simonsen  <simonjam@chromium.org>
28
29         Reviewed by Dimitri Glazkov.
30
31         [Web Timing] Remove requestEnd
32         https://bugs.webkit.org/show_bug.cgi?id=48924
33
34         * public/WebPerformance.h:
35         * src/WebPerformance.cpp:
36
37 2010-11-08  John Knottenbelt  <jknotten@chromium.org>
38
39         Reviewed by Steve Block.
40
41         Convert to and from DOMTimeStamp with converter functions
42         https://bugs.webkit.org/show_bug.cgi?id=49066
43
44         * src/WebDataSourceImpl.cpp:
45         (WebKit::WebDataSourceImpl::triggeringEventTime):
46
47
48 2010-11-08  Pierre-Antoine LaFayette  <pierre.lafayette@gmail.com>
49
50         Reviewed by Darin Fisher.
51
52         [chromium] Adding hasUserGesture flag to the ResourceRequest
53         https://bugs.webkit.org/show_bug.cgi?id=37057
54
55         This flag is to be used on the browser side to indicate when a
56         download has been user initiated.
57
58         * public/WebURLRequest.h:
59         * src/WebURLRequest.cpp:
60         (WebKit::WebURLRequest::hasUserGesture):
61         (WebKit::WebURLRequest::setHasUserGesture):
62
63 2010-11-08  Jay Civelli  <jcivelli@chromium.org>
64
65         Reviewed by Darin Fisher.
66
67         Add an API to WebViewClient that report the load progress for a frame.
68         https://bugs.webkit.org/show_bug.cgi?id=49137
69
70         * public/WebViewClient.h:
71         (WebKit::WebViewClient::didChangeLoadProgress):
72         * src/FrameLoaderClientImpl.cpp:
73         (WebKit::FrameLoaderClientImpl::postProgressEstimateChangedNotification):
74
75  2010-11-08  Alexey Proskuryakov  <ap@apple.com>
76
77         Reviewed by Darin Adler.
78
79         https://bugs.webkit.org/show_bug.cgi?id=48685
80         Notify UI process about focused frame
81
82         Added an empty implementation of the new ChromeClient method.
83
84         * src/ChromeClientImpl.cpp:
85         (WebKit::ChromeClientImpl::focusedFrameChanged):
86         * src/ChromeClientImpl.h:
87
88 2010-11-08  Andrey Kosyakov  <caseq@chromium.org>
89
90         Reviewed by Yury Semikhatsky.
91
92         Only call WebInspector_syncDispatch if it's actually a function.
93         https://bugs.webkit.org/show_bug.cgi?id=49180
94
95         * src/WebDevToolsFrontendImpl.cpp:
96         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
97         (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
98         * src/WebDevToolsFrontendImpl.h:
99
100 2010-11-07  Adam Barth  <abarth@webkit.org>
101
102         Reviewed by Eric Seidel.
103
104         Rename Cache to MemoryCache
105         https://bugs.webkit.org/show_bug.cgi?id=49159
106
107         * public/WebCache.h:
108         * src/WebCache.cpp:
109         (WebKit::ToResourceTypeStat):
110         (WebKit::WebCache::setCapacities):
111         (WebKit::WebCache::clear):
112         (WebKit::WebCache::getUsageStats):
113         (WebKit::WebCache::getResourceTypeStats):
114
115 2010-11-07  Jay Civelli  <jcivelli@chromium.org>
116
117         Reviewed by Kent Tamura.
118
119         Fixing a crasher with the select popup on Mac that happens when a
120         page removes the select node when the select changes.
121         https://bugs.webkit.org/show_bug.cgi?id=49108
122
123         * src/ExternalPopupMenu.cpp:
124         (WebKit::ExternalPopupMenu::didAcceptIndex):
125         (WebKit::ExternalPopupMenu::didCancel):
126
127 2010-11-06  Pavel Feldman  <pfeldman@chromium.org>
128
129         Not reviewed. Chromium DevTools: disable filesystem inspection
130         until polished.
131         https://bugs.webkit.org/show_bug.cgi?id=48963
132
133         * src/js/DevTools.js:
134
135 2010-11-05  Ilya Sherman  <isherman@chromium.org>
136
137         Reviewed by Simon Fraser.
138
139         Querying selection start and end should be const
140         https://bugs.webkit.org/show_bug.cgi?id=48786
141
142         * public/WebInputElement.h:
143         * src/WebInputElement.cpp:
144         (WebKit::WebInputElement::selectionStart):
145         (WebKit::WebInputElement::selectionEnd):
146
147 2010-11-05  Chris Marrin  <cmarrin@apple.com>
148
149         Reviewed by Simon Fraser.
150
151         Move resumeAnimations/suspendAnimations from Frame to AnimationController.
152         https://bugs.webkit.org/show_bug.cgi?id=49073
153
154         * src/WebAnimationControllerImpl.cpp:
155         (WebKit::WebAnimationControllerImpl::suspendAnimations):
156         (WebKit::WebAnimationControllerImpl::resumeAnimations):
157
158 2010-11-04  Zhenyao Mo  <zmo@google.com>
159
160         Reviewed by Kenneth Russell.
161
162         Need to simulate DEPTH_STENCIL in framebufferRenderbuffer / getFramebufferAttachmentParameter
163         https://bugs.webkit.org/show_bug.cgi?id=49020
164
165         * src/WebGraphicsContext3DDefaultImpl.cpp: Remove DEPTH_STENCIL_ATTACHMENT emulation at this level.
166
167 2010-11-05  Darin Fisher  <darin@chromium.org>
168
169         Pull chromium@65229 to fix the build.
170
171         * DEPS:
172
173 2010-11-05  Darin Fisher  <darin@chromium.org>
174
175         Reviewed by Nate Chapin.
176
177         Replace deprecated TargetIsSub{Frame,Resource} with TargetIsSub{frame,resource}.
178         https://bugs.webkit.org/show_bug.cgi?id=49074
179
180         * public/WebURLRequest.h:
181         * src/FrameLoaderClientImpl.cpp:
182
183 2010-11-05  Charlie Reis  <creis@chromium.org>
184
185         Reviewed by Darin Fisher.
186
187         WebFrame::previousHistoryItem() should return last committed item.
188         https://bugs.webkit.org/show_bug.cgi?id=48809
189
190         * src/WebFrameImpl.cpp:
191
192 2010-10-27  Jeremy Orlow  <jorlow@chromium.org>
193
194         Reviewed by Steve Block.
195
196         Clean up IDBTransactionBackend/Coordinator
197         https://bugs.webkit.org/show_bug.cgi?id=48425
198
199         Remove obsolete ::id() method.
200
201         * public/WebIDBTransaction.h:
202         * src/IDBTransactionBackendProxy.cpp:
203         * src/IDBTransactionBackendProxy.h:
204         * src/WebIDBTransactionImpl.cpp:
205         * src/WebIDBTransactionImpl.h:
206
207 2010-11-04  usaini  <usaini08@gmail.com>
208
209         Reviewed by Antonio Gomes.
210
211         WebWindowFeatures has a faulty constructor for WebCore::WindowFeatures
212         https://bugs.webkit.org/show_bug.cgi?id=48035
213
214         * public/WebWindowFeatures.h:
215         (WebKit::WebWindowFeatures::WebWindowFeatures): updated the constructor
216         that takes in a WebCore::WindowFeature and had it copy all the variables
217         over properly so that after calling the constructor WebWindowFeatures is
218         always in a valid state. Before, the x,y,width,height booleans may be true, but
219         the corresponding int values would not be updated.
220
221 2010-11-04  Zhenyao Mo  <zmo@google.com>
222
223         Reviewed by Kenneth Russell.
224
225         Remove IMPLEMENTATION_COLOR_READ_FORMAT and TYPE
226         https://bugs.webkit.org/show_bug.cgi?id=48938
227
228         * src/WebGraphicsContext3DDefaultImpl.cpp:
229         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):
230
231 2010-11-04  Kavita Kanetkar  <kkanetkar@chromium.org>
232
233         Reviewed by Adam Barth.
234
235         Web Inspector: Enable files ystem UI for chromium
236         https://bugs.webkit.org/show_bug.cgi?id=48963
237
238         * src/js/DevTools.js:
239
240 2010-11-03  Adam Barth  <abarth@webkit.org>
241
242         Roll Chromium DEPS
243         https://bugs.webkit.org/show_bug.cgi?id=48978
244
245         * DEPS:
246
247 2010-11-03  Vincent Scheib  <scheib@chromium.org>
248
249         Reviewed by James Robinson.
250
251         [chromium] GraphicsContext3D creation attributes include canRecoverFromContextLoss option
252         https://bugs.webkit.org/show_bug.cgi?id=48850
253
254         Implementations of GraphicsContext3D may respect the creation attribute
255         canRecoverFromContextLoss being false, and then only succeeding initialization if
256         the context can satisfy that request of never being lost. DX9 on XP can not satisfy
257         such a request.
258
259         Test by use of accelerated canvas 2d in Chromium with ANGLE on XP machines.
260
261         * public/WebGraphicsContext3D.h:
262         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
263         * src/GraphicsContext3DChromium.cpp:
264         (WebCore::GraphicsContext3DInternal::initialize):
265
266 2010-11-03  Jenn Braithwaite  <jennb@chromium.org>
267
268         Reviewed by Dmitry Titov.
269
270         Chromium: Update resource tracking when moving a frame between documents
271         https://bugs.webkit.org/show_bug.cgi?id=48363
272
273         * public/WebFrameClient.h:
274         (WebKit::WebFrameClient::removeIdentifierForRequest):
275         Added
276         * src/FrameLoaderClientImpl.cpp:
277         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
278         Notify current WebFrameClient of the resource and remove from
279         former WebFrameClient.
280
281 2010-11-03  Adam Barth  <abarth@webkit.org>
282
283         Roll Chromium DEPs
284         https://bugs.webkit.org/show_bug.cgi?id=48959
285
286         * DEPS:
287
288 2010-11-03  Kenneth Russell  <kbr@google.com>
289
290         Reviewed by Chris Marrin.
291
292         Redesign extension mechanism in GraphicsContext3D
293         https://bugs.webkit.org/show_bug.cgi?id=46894
294
295         Upon request, factored out extension support from GraphicsContext3D
296         into a new Extensions3D class. (The plural was chosen because the
297         class and subclasses hold multiple extensions.)
298
299         Unlike GraphicsContext3D, Extensions3D contains only pure virtual
300         methods. This was done because Extensions3D's inheritance diagram
301         and usage pattern is very different from that of GraphicsContext3D,
302         and the concrete subclasses need to decide how to implement the
303         various entry points. Requiring them to be placed at the
304         Extensions3D level will cause implementation details to leak into
305         the base class, which is highly undesirable. Any virtual call
306         overhead to these entry points will be negligible.
307
308         Changed call sites utilizing these extensions to call through the
309         Extensions3D object or its subclasses.
310
311         Tested:
312          - Chromium on Linux with accelerated 2D canvas and HTML5 video
313          - Chromium on Mac OS X with WebGL and CSS 3D content
314          - Safari on Mac OS X with WebGL and CSS 3D content
315
316         No new tests. Covered by existing tests.
317
318         * WebKit.gyp:
319         * public/WebGraphicsContext3D.h:
320         * src/Extensions3DChromium.cpp: Added.
321         (WebCore::Extensions3DChromium::Extensions3DChromium):
322         (WebCore::Extensions3DChromium::~Extensions3DChromium):
323         (WebCore::Extensions3DChromium::supports):
324         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
325         (WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
326         (WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
327         (WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
328         (WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
329         (WebCore::Extensions3DChromium::copyTextureToParentTextureCHROMIUM):
330         * src/GraphicsContext3DChromium.cpp:
331         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
332         (WebCore::GraphicsContext3DInternal::getExtensions):
333         (WebCore::GraphicsContext3DInternal::supportsExtension):
334         * src/GraphicsContext3DInternal.h:
335         * src/WebGraphicsContext3DDefaultImpl.cpp:
336         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
337         (WebKit::WebGraphicsContext3DDefaultImpl::getString):
338         * src/WebGraphicsContext3DDefaultImpl.h:
339         * src/WebViewImpl.cpp:
340         (WebKit::WebViewImpl::composite):
341
342 2010-11-03  Daniel Bates  <dbates@rim.com>
343
344         For unnamed frames, window.name returns a generated name
345         https://bugs.webkit.org/show_bug.cgi?id=6751
346
347         Part 1 of 2.
348
349         Substitute FrameTree::uniqueName() for FrameTree::name() in the Chromium port.
350
351         * src/WebFrameImpl.cpp:
352         (WebKit::WebFrameImpl::name):
353
354 2010-11-02  Al Patrick  <apatrick@chromium.org>
355
356         Reviewed by Kenneth Russell.
357
358         [chromium] Plugin instances can propagate the ID of the OpenGL texture they render to.
359
360         https://bugs.webkit.org/show_bug.cgi?id=48032
361
362         * public/WebPlugin.h:
363         (WebKit::WebPlugin::getBackingTextureId):
364         * public/WebPluginContainer.h:
365         (WebKit::WebPluginContainer::commitBackingTexture):
366         * src/WebPluginContainerImpl.cpp:
367         (WebKit::WebPluginContainerImpl::commitBackingTexture):
368         (WebKit::WebPluginContainerImpl::platformLayer):
369         (WebKit::WebPluginContainerImpl::WebPluginContainerImpl):
370         * src/WebPluginContainerImpl.h:
371
372 2010-11-02  Kavita Kanetkar  <kkanetkar@chromium.org>
373
374         Reviewed by Dumitru Daniliuc.
375
376         [FileSystem] Support not creating directories when queried by inspector.
377         https://bugs.webkit.org/show_bug.cgi?id=48169
378
379         * src/LocalFileSystemChromium.cpp:
380         (WebCore::LocalFileSystem::readFileSystem):
381         (WebCore::LocalFileSystem::requestFileSystem):
382
383 2010-11-02  Chris Guillory  <chris.guillory@google.com>
384
385         Reviewed by Chris Fleizach.
386
387         Chromium: Propagate a document value changed notification on scroll.
388         https://bugs.webkit.org/show_bug.cgi?id=48817
389
390         * src/WebAccessibilityObject.cpp:
391         (WebKit::WebAccessibilityObject::boundingBoxRect):
392
393 2010-10-29  John Abd-El-Malek  <jam@chromium.org>
394
395         Reviewed by Darin Fisher.
396
397         [chromium]: Allow plugins to use optimized scrolling
398         https://bugs.webkit.org/show_bug.cgi?id=48660
399
400         * public/WebPluginContainer.h:
401         * src/WebPluginContainerImpl.cpp:
402         (WebKit::WebPluginContainerImpl::scrollRect):
403         * src/WebPluginContainerImpl.h:
404
405 2010-11-02  Marc-Antoine Ruel  <maruel@chromium.org>
406
407         Reviewed by Dimitri Glazkov.
408
409         Disable incremental linking for webkit_unit_test and DumpRenderTRee on x86 Windows on chromium build.
410         https://bugs.webkit.org/show_bug.cgi?id=48836
411
412         It fails to link otherwise due to lack of virtual address space.
413
414         * WebKit.gyp:
415
416 2010-11-02  Ilya Sherman  <isherman@chromium.org>
417
418         Reviewed by Kent Tamura.
419
420         Expose the sendChangeEvent parameter in WebInputElement::setValue() API,
421         primarily so that chromium form autofill can fire the onChange event.
422         https://bugs.webkit.org/show_bug.cgi?id=48177
423
424         * public/WebInputElement.h:
425         * src/WebInputElement.cpp:
426         (WebKit::WebInputElement::setValue):
427
428 2010-11-02  Pavel Feldman  <pfeldman@chromium.org>
429
430         Reviewed by Timothy Hatcher.
431
432         Web Inspector: make properties and event listeners look consistent with the styles section.
433         https://bugs.webkit.org/show_bug.cgi?id=48827
434
435         * src/js/devTools.css:
436
437 2010-11-01  Tony Chang  <tony@chromium.org>
438
439         Reviewed by Kent Tamura.
440
441         [chromium] Compile TestNetscapePlugin on chromium win
442         https://bugs.webkit.org/show_bug.cgi?id=48802
443
444         It creates npTestNetscapePlugin.dll in the build directory, so
445         it's not yet loaded by DRT or test_shell.
446
447         * WebKit.gyp:
448
449 2010-11-01  Brady Eidson  <beidson@apple.com>
450
451         Reviewed by Anders Carlsson.
452
453         <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
454         Context menu support for WebKit 2.
455
456         * src/ChromeClientImpl.h:
457         (WebKit::ChromeClientImpl::showContextMenu):
458
459 2010-11-01  Pavel Feldman  <pfeldman@chromium.org>
460
461         Not reviewed: Chromium build fix.
462
463         * src/WebDevToolsAgentImpl.cpp:
464         (WebKit::WebDevToolsAgentImpl::WebDevToolsAgentImpl):
465
466 2010-11-01  Pavel Feldman  <pfeldman@chromium.org>
467
468         Reviewed by Timothy Hatcher.
469
470         Web Inspector: remove old resources panel.
471         https://bugs.webkit.org/show_bug.cgi?id=45657
472
473         * src/WebDevToolsAgentImpl.cpp:
474         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
475         * src/WebDevToolsAgentImpl.h:
476
477 2010-11-01  Leandro Gracia Gil  <leandrogracia@google.com>
478
479         Reviewed by Jeremy Orlow.
480
481         This is the last part of a 4-sided patch for the language attribute
482         in speech text buttons. This patch removes what now is dead code
483         and re-enables the layout test introduced by bug 47089.
484         https://bugs.webkit.org/show_bug.cgi?id=47420
485
486         * public/WebSpeechInputControllerMock.h:
487         * src/WebSpeechInputControllerMockImpl.cpp:
488         * src/WebSpeechInputControllerMockImpl.h:
489
490 2010-10-31  Pavel Feldman  <pfeldman@chromium.org>
491
492         Reviewed by Timothy Hatcher.
493
494         Web Inspector: unhide new network and resources panels.
495         https://bugs.webkit.org/show_bug.cgi?id=48725
496
497         * src/WebDevToolsAgentImpl.cpp:
498         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
499
500 2010-10-29  Daniel Bates  <dbates@rim.com>
501
502         No review, rolling out 70971.
503         http://trac.webkit.org/changeset/70971
504         https://bugs.webkit.org/show_bug.cgi?id=6751
505
506         Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
507         it caused layout test failures on all bots. In particular, the
508         child count in a generated frame name differs after this patch. We need
509         to look into this further.
510
511         * src/WebFrameImpl.cpp:
512         (WebKit::WebFrameImpl::name):
513
514 2010-10-28  Antonio Gomes  <agomes@rim.com>
515
516         Reviewed by Ojan Vafai.
517
518         Needs a "LinuxEditingBehavior", perhaps with a better name
519         https://bugs.webkit.org/show_bug.cgi?id=36627
520
521         Added the corresponding Chromium setting to WebCore's EditingUnixBehavior: EditingBehaviorUnix.
522
523         * public/WebSettings.h:
524         * src/AssertMatchingEnums.cpp:
525
526 2010-10-29  Daniel Bates  <dbates@rim.com>
527
528         Reviewed by Adam Barth.
529
530         For unnamed frames, window.name returns a generated name
531         https://bugs.webkit.org/show_bug.cgi?id=6751
532
533         Modified Chromium-port to use FrameTree::uniqueName().
534
535         * src/WebFrameImpl.cpp:
536         (WebKit::WebFrameImpl::name):
537
538 2010-10-29  Kavita Kanetkar  <kkanetkar@chromium.org>
539
540         Reviewed by Pavel Feldman.
541
542         Web Inspector: FileSystem integration
543         https://bugs.webkit.org/show_bug.cgi?id=45982
544
545         * public/WebFileUtilities.h:
546         (WebKit::WebFileUtilities::revealFolderInOS):
547         * src/ChromiumBridge.cpp:
548         (WebCore::ChromiumBridge::revealFolderInOS):
549
550
551 2010-10-29  Darin Adler  <darin@apple.com>
552
553         Reviewed by Sam Weinig.
554
555         Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
556         https://bugs.webkit.org/show_bug.cgi?id=48574
557
558         * src/BackForwardListClientImpl.h: Use BackForwardListImpl.h.
559         * src/WebViewImpl.cpp:
560         (WebKit::WebViewImpl::WebViewImpl): Cast to BackForwardList* before calling setClient.
561
562 2010-10-28  Michael Nordman  <michaeln@google.com>
563
564         Reviewed by ap.
565
566         [Chrome] Fix an appcache regression introduced in r69226
567         https://bugs.webkit.org/show_bug.cgi?id=48592
568         Provide a noop method body ApplicationCacheHost::maybeLoadMainResourceForRedirect.
569
570         * src/ApplicationCacheHost.cpp:
571         (WebCore::ApplicationCacheHost::maybeLoadMainResourceForRedirect):
572
573 2010-10-29  Aaron Colwell  <acolwell@chromium.org>
574
575         Reviewed by James Robinson.
576
577         Fix globalAlpha support when using drawImage() to copy a video frame
578         to a 2D canvas context.
579         https://bugs.webkit.org/show_bug.cgi?id=48094
580
581         This fix applies the globalAlpha value to the canvas before passing it
582         down to the lower layers that don't have access to the graphics
583         context. This makes sure that any drawing on the canvas will have the
584         proper global alpha value applied.
585
586         * src/WebMediaPlayerClientImpl.cpp:
587         (WebKit::WebMediaPlayerClientImpl::paint):
588
589 2010-10-29  Alexey Proskuryakov  <ap@apple.com>
590
591         Reviewed by Darin Adler.
592
593         https://bugs.webkit.org/show_bug.cgi?id=48576
594         Let WebKit2 client know when a frame is a frameset
595
596         Added a blank implementation of the new FrameLoaderClient method.
597
598         * src/FrameLoaderClientImpl.h:
599         * src/FrameLoaderClientImpl.cpp:
600         (WebKit::FrameLoaderClientImpl::dispatchDidBecomeFrameset):
601
602 2010-10-29  Pavel Feldman  <pfeldman@chromium.org>
603
604         Reviewed by Timothy Hatcher.
605
606         Web Inspector: add close button to network view, make tests pass
607         for resource manager on all ports.
608         https://bugs.webkit.org/show_bug.cgi?id=48628
609
610         * src/js/Tests.js:
611
612 2010-10-29  Csaba Osztrogon√°c  <ossy@webkit.org>
613
614         Reviewed by Adam Roben and David Kilzer.
615
616         Fix and cleanup of build systems
617         https://bugs.webkit.org/show_bug.cgi?id=48342
618
619         * features.gypi: Remove unnecessary ENABLE_SANDBOX.
620
621 2010-10-29  Leandro Gracia Gil  <leandrogracia@google.com>
622
623         Reviewed by Jeremy Orlow.
624
625         Patch the current speech input implementation to use the nearest
626         language tag. The language is now passed to the startRecognition
627         methods so that language-specific recognition could be used. Also added
628         a second parameter to setMockSpeechInputResult for the language used in
629         speech recognition.
630         https://bugs.webkit.org/show_bug.cgi?id=47089
631
632         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
633         details see http://codereview.chromium.org/3615005/show,
634         http://codereview.chromium.org/3595018/show and
635         https://bugs.webkit.org/show_bug.cgi?id=47420.
636
637         * public/WebSpeechInputController.h:
638         (WebKit::WebSpeechInputController::startRecognition):
639         * public/WebSpeechInputControllerMock.h:
640         * src/SpeechInputClientImpl.cpp:
641         (WebKit::SpeechInputClientImpl::create):
642         (WebKit::SpeechInputClientImpl::startRecognition):
643         * src/SpeechInputClientImpl.h:
644         * src/WebSpeechInputControllerMockImpl.cpp:
645         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
646         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
647         * src/WebSpeechInputControllerMockImpl.h:
648         * src/WebViewImpl.cpp:
649         (WebKit::WebViewImpl::WebViewImpl):
650         * src/WebViewImpl.h:
651
652 2010-10-28  Adam Barth  <abarth@webkit.org>
653
654         Reviewed by Eric Seidel, Peter Kasting, and Darin Fisher.
655         (Eric reviewed the CoreGraphics interactions, Peter reviewed the image
656         decoder interaction, and Darin Fisher SGTMed the policy decision.)
657
658         [chromium] Chromium Mac should use WebKit's image decoders
659         https://bugs.webkit.org/show_bug.cgi?id=47974
660
661         Enable WebKit's image decoders.
662
663         * features.gypi:
664
665 2010-10-28  Mihai Parparita  <mihaip@chromium.org>
666
667         Reviewed by Darin Adler.
668
669         [Chromium] History related tests REGRESSED after r70723
670         https://bugs.webkit.org/show_bug.cgi?id=48513
671
672         Since r70723 made BackForwardList::currentItem no longer be virtual,
673         we were not reaching the implementation in Chromium's 
674         BackForwardListClientImpl, and for Chromium currentItem is not the same
675         as itemAtIndex(0).
676         
677         The fix is to make itemAtIndex(0) have the currentItem() behavior, which
678         lets us keep currentItem as non-virtual (and remove its implementation
679         from the Chromium side).
680         
681         This also switches Chromium to use the default implementation of 
682         backItem() and forwardItem() (vs. the old stubs that just had
683         ASSERT_NOT_REACHED) since they're actually reacheable with Chromium
684         code thanks to the calls in FrameLoader::checkDidPerformFirstNavigation.
685
686         * src/BackForwardListClientImpl.cpp:
687         (WebKit::BackForwardListClientImpl::itemAtIndex):
688         * src/BackForwardListClientImpl.h:
689
690 2010-10-28  Kinuko Yasuda  <kinuko@chromium.org>
691
692         Reviewed by David Levin.
693
694         [Chromium] Support FileSystem in chromium DRT
695         https://bugs.webkit.org/show_bug.cgi?id=47643
696         Update the chromium DEPS to pick up corresponding webkit_support change.
697         Also add a temporary glue implementation with FIXME comment to
698         WebFrameClient::openFileSystem.
699
700         * DEPS:
701         * public/WebFrameClient.h:
702         (WebKit::WebFrameClient::openFileSystem):
703
704 2010-10-28  Satish Sampath  <satish@chromium.org>
705
706         Reviewed by Steve Block.
707
708         Remove obsolete public/API methods in chromium port
709         https://bugs.webkit.org/show_bug.cgi?id=48504
710
711         * public/WebSpeechInputController.h:
712         (WebKit::WebSpeechInputController::startRecognition):
713
714 2010-10-27  Eric Uhrhane  <ericu@chromium.org>
715
716         Reviewed by David Levin.
717
718         [Chromium] Metadata queries should return full file info, not just modification time
719         https://bugs.webkit.org/show_bug.cgi?id=48098
720
721         * src/AssertMatchingEnums.cpp: Ensure WebFileInfo and FileMetadata use the same values for file/directory indicators.
722         * src/WebFileSystemCallbacksImpl.cpp:
723         (WebKit::WebFileSystemCallbacksImpl::didReadMetadata): Pass through the new information.
724
725 2010-10-27  Kenneth Russell  <kbr@google.com>
726
727         Reviewed by Dimitri Glazkov.
728
729         [chromium] WebGL does not work with the compositor in test_shell
730         https://bugs.webkit.org/show_bug.cgi?id=48470
731
732         * src/WebGraphicsContext3DDefaultImpl.cpp:
733         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
734          - Properly restore the draw framebuffer after resolving.
735         (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
736          - Make the context current before calling resolveMultisampledFramebuffer.
737
738 2010-10-27  Stuart Morgan  <stuartmorgan@chromium.org>
739
740         Reviewed by David Levin.
741
742         Include caps lock state when converting NSEvent modifiers to
743         WebInputEvent
744
745         https://bugs.webkit.org/show_bug.cgi?id=47917
746
747         * src/mac/WebInputEventFactory.mm:
748         (WebKit::modifiersFromEvent):
749
750 2010-10-27  Chris Rogers  <crogers@google.com>
751
752         Reviewed by James Robinson.
753
754         Add ENABLE_WEB_AUDIO feature enable flag (initially disabled) for Chromium
755         https://bugs.webkit.org/show_bug.cgi?id=48465
756
757         * features.gypi:
758
759 2010-10-25  Tony Chang  <tony@chromium.org>
760
761         Reviewed by Anders Carlsson.
762
763         compile TestNetscapePlugIn on chromium linux
764         https://bugs.webkit.org/show_bug.cgi?id=48274
765
766         * WebKit.gyp: Enable compilation of TestNetscapePlugIn on Linux.
767
768 2010-10-27  Satish Sampath  <satish@chromium.org>
769
770         Unreviewed, rolling out r70665.
771         http://trac.webkit.org/changeset/70665
772         https://bugs.webkit.org/show_bug.cgi?id=47089
773
774         Need to address Alexey's review comments.
775
776         * public/WebSpeechInputController.h:
777         (WebKit::WebSpeechInputController::startRecognition):
778         * public/WebSpeechInputControllerMock.h:
779         * src/SpeechInputClientImpl.cpp:
780         (WebKit::SpeechInputClientImpl::startRecognition):
781         * src/SpeechInputClientImpl.h:
782         * src/WebSpeechInputControllerMockImpl.cpp:
783         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
784         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
785         * src/WebSpeechInputControllerMockImpl.h:
786         * src/WebViewImpl.cpp:
787         (WebKit::WebViewImpl::WebViewImpl):
788         * src/WebViewImpl.h:
789
790 2010-10-27  ZHenyao Mo  <zmo@google.com>
791
792         Reviewed by Kenneth Russell.
793
794         Must enable GL_POINT_SPRITE in GraphicsContext3D implementations
795         https://bugs.webkit.org/show_bug.cgi?id=45908
796
797         * src/WebGraphicsContext3DDefaultImpl.cpp: Enable for chromium --in-process-webgl port.
798         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
799
800 2010-10-27  Leandro Gracia Gil  <leandrogracia@google.com>
801
802         Reviewed by Jeremy Orlow.
803
804         Patch the current speech input implementation to use the nearest
805         language tag. The language is now passed to the startRecognition
806         methods so that language-specific recognition could be used. Also added
807         a second parameter to setMockSpeechInputResult for the language used in
808         speech recognition.
809         https://bugs.webkit.org/show_bug.cgi?id=47089
810
811         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
812         details see http://codereview.chromium.org/3615005/show and
813         http://codereview.chromium.org/3595018/show. The last of the 4 patches
814         depends also on the language tag validation provided by this patch:
815         https://bugs.webkit.org/show_bug.cgi?id=48225.
816
817         * public/WebSpeechInputController.h:
818         (WebKit::WebSpeechInputController::startRecognition):
819         * public/WebSpeechInputControllerMock.h:
820         * src/SpeechInputClientImpl.cpp:
821         (WebKit::SpeechInputClientImpl::create):
822         (WebKit::SpeechInputClientImpl::startRecognition):
823         * src/SpeechInputClientImpl.h:
824         * src/WebSpeechInputControllerMockImpl.cpp:
825         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
826         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
827         * src/WebSpeechInputControllerMockImpl.h:
828         * src/WebViewImpl.cpp:
829         (WebKit::WebViewImpl::WebViewImpl):
830         * src/WebViewImpl.h:
831
832 2010-10-26  Victoria Kirst  <vrk@google.com>
833
834         Reviewed by David Levin.
835
836         Fix compile when ACCELERATED_COMPOSITING flag is not set
837         https://bugs.webkit.org/show_bug.cgi?id=48373
838
839         * src/WebMediaPlayerClientImpl.cpp:
840         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
841         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
842         (WebKit::WebMediaPlayerClientImpl::load):
843         * src/WebMediaPlayerClientImpl.h:
844
845 2010-10-26  MORITA Hajime  <morrita@google.com>
846
847         Reviewed by Tony Chang.
848
849         Rolling in r70512 again.
850         
851         spellcheck='' should be the same as spellcheck="true"
852         https://bugs.webkit.org/show_bug.cgi?id=25539
853
854         * src/ContextMenuClientImpl.cpp:
855         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
856         * src/EditorClientImpl.cpp:
857         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
858
859 2010-10-26  Jenn Braithwaite  <jennb@chromium.org>
860
861         Reviewed by Dmitry Titov.
862
863         Resource tracking failure when trying to move a frame between documents
864         https://bugs.webkit.org/show_bug.cgi?id=44713
865
866         * src/FrameLoaderClientImpl.cpp:
867         (WebKit::FrameLoaderClientImpl::transferLoadingResourceFromPage):
868         Empty method.
869         * src/FrameLoaderClientImpl.h:
870
871 2010-10-26  Satish Sampath  <satish@chromium.org>
872
873         Reviewed by Jeremy Orlow.
874
875         Add a 'grammar' attribute for speech input.
876         https://bugs.webkit.org/show_bug.cgi?id=48339
877
878         To differentiate between various types of speech input, we add a 'x-webkit-grammar' attribute to a
879         speech enabled input element. This is passed without validation to the speech recognizer. Typical values
880         could be "builtin:search", "builtin:dictation" and even an externally hosted SRGS grammar XML file URI.
881         It is up to the recognizer to interpret the value and use it as an aid in recognition.
882
883         * public/WebSpeechInputController.h:
884         (WebKit::WebSpeechInputController::startRecognition):
885         * src/SpeechInputClientImpl.cpp:
886         (WebKit::SpeechInputClientImpl::startRecognition):
887         * src/SpeechInputClientImpl.h:
888         * src/WebSpeechInputControllerMockImpl.cpp:
889         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
890         * src/WebSpeechInputControllerMockImpl.h:
891
892 2010-10-26  Hans Wennborg  <hans@chromium.org>
893
894         Reviewed by Jeremy Orlow.
895
896         IndexedDB: update stale comments referring to WebIndexedDatabase.
897         https://bugs.webkit.org/show_bug.cgi?id=48325
898
899         WebIndexedDatabase was renamed to WebIDBFactory in
900         http://trac.webkit.org/changeset/64344, but some comments referring to
901         it were left unchanged.
902
903         * public/WebIDBCursor.h:
904         * public/WebIDBDatabase.h:
905         * public/WebIDBDatabaseError.h:
906         * public/WebIDBIndex.h:
907         * public/WebIDBObjectStore.h:
908         * public/WebIDBTransaction.h:
909         * src/WebIDBDatabaseImpl.h:
910
911 2010-10-22  Stephen White  <senorblanco@chromium.org>
912
913         Reviewed by Kenneth Russell.
914
915         Implement copy-texture-to-parent-texture API for WebGraphicsContext3DDefaultImpl.
916         https://bugs.webkit.org/show_bug.cgi?id=48152
917         
918         This allows the in-process implementation to do accelerated canvas and
919         accelerated compositing together.  It requires some changes landed
920         in chromium 63528, so this patch also rolls chromium DEPS to 63722
921         (current LKGR).
922
923         Covered by fast/canvas/arc360.html, and many more when run with
924         --accelerated-compositing and --accelerated-2d-canvas.
925
926         * src/WebGraphicsContext3DDefaultImpl.cpp:
927         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
928         Add member vars to save the currently-bound texture and for the
929         texture-to-texture FBO.
930         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
931         Delete the texture-to-texture FBO on destruction.
932
933         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
934         Generate the texture-to-texture FBO.
935         (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
936         Check for support of the glGetTexLevelParameteriv function (required
937         for this implementation).
938         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
939         Implement the extension:  bind the FBO, bind the child texture, then
940         do a glCopyTexImage2D() into the parent texture.
941         (WebKit::WebGraphicsContext3DDefaultImpl::bindTexture):
942         Record the newly-bound texture in m_boundTexture.
943         * src/WebGraphicsContext3DDefaultImpl.h:
944         Add the two new member variables.
945         * src/WebViewImpl.cpp:
946         (WebKit::WebViewImpl::graphicsContext3D):
947         Make sure the graphics context is reshaped to the correct size on all
948         platforms.
949
950 2010-10-26  Alexey Marinichev  <amarinichev@chromium.org>
951
952         Reviewed by Kenneth Russell.
953
954         [chromium] Check getGraphicsResetStatusARB and reinitialize the
955         renderer in an error is returned.
956         https://bugs.webkit.org/show_bug.cgi?id=47848
957
958         * src/WebViewImpl.cpp:
959         (WebKit::WebViewImpl::composite): added getGraphicsResetStatusARB check
960         (WebKit::WebViewImpl::reallocateRenderer): added
961         * src/WebViewImpl.h:
962
963 2010-10-26  Kenneth Russell  <kbr@google.com>
964
965         Reviewed by Andreas Kling.
966
967         Valgrind failure in GraphicsContext3DInternal::reshape
968         https://bugs.webkit.org/show_bug.cgi?id=48284
969
970         * src/WebGraphicsContext3DDefaultImpl.cpp:
971         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
972
973 2010-10-26  Jeremy Orlow  <jorlow@chromium.org>
974
975         Reviewed by Steve Block.
976
977         Fix IndexedDB crashes
978         https://bugs.webkit.org/show_bug.cgi?id=48266
979
980         Make WebIDBObjectStoreImpl match the way that WebIDBIndexImpl passes
981         in cursor parameters (which is the correct way). KeyRange knows how
982         to convert itself to a WebCore type--even if the value is null.
983
984         * src/WebIDBObjectStoreImpl.cpp:
985         (WebKit::WebIDBObjectStoreImpl::openCursor):
986
987 2010-10-26  Satish Sampath  <satish@chromium.org>
988
989         Reviewed by Steve Block.
990
991         Remove obsolete public/API methods in chromium port.
992         https://bugs.webkit.org/show_bug.cgi?id=48330
993
994         * public/WebSpeechInputListener.h:
995
996 2010-10-26  Jeremy Orlow  <jorlow@chromium.org>
997
998         Reviewed by Steve Block.
999
1000         Quota for IndexedDB should be per origin not per database
1001         https://bugs.webkit.org/show_bug.cgi?id=48064
1002
1003         * public/WebIDBFactory.h:
1004         * public/WebSecurityOrigin.h:
1005         * src/WebIDBFactory.cpp:
1006         (WebKit::WebIDBFactory::databaseFileName):
1007         * src/WebSecurityOrigin.cpp:
1008         (WebKit::WebSecurityOrigin::get):
1009
1010 2010-10-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1011
1012         Unreviewed, rolling out r70512.
1013         http://trac.webkit.org/changeset/70512
1014         https://bugs.webkit.org/show_bug.cgi?id=48314
1015
1016         crashes many tests (Requested by inferno-sec on #webkit).
1017
1018         * src/ContextMenuClientImpl.cpp:
1019         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1020         * src/EditorClientImpl.cpp:
1021         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
1022
1023 2010-10-25  MORITA Hajime  <morrita@google.com>
1024
1025         Reviewed by Tony Chang.
1026
1027         spellcheck='' should be the same as spellcheck="true"
1028         https://bugs.webkit.org/show_bug.cgi?id=25539
1029
1030         Followed API rename in WebCore.
1031
1032         * src/ContextMenuClientImpl.cpp:
1033         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1034         * src/EditorClientImpl.cpp:
1035         (WebKit::EditorClientImpl::shouldSpellcheckByDefault):
1036
1037 2010-10-25  Satish Sampath  <satish@chromium.org>
1038
1039         Unreviewed, fix for a build break caused by my earlier patch.
1040
1041         * public/WebSpeechInputListener.h:
1042         (WebKit::WebSpeechInputListener::setRecognitionResult): Explicitly invoking the correct constructor.
1043
1044 2010-10-21  Satish Sampath  <satish@chromium.org>
1045
1046         Reviewed by Jeremy Orlow.
1047
1048         Allow embedder to pass on all the speech recognition results to the input element.
1049         https://bugs.webkit.org/show_bug.cgi?id=48068
1050
1051         * WebKit.gyp: Added new files
1052         * public/WebSpeechInputListener.h:
1053         * public/WebSpeechInputResult.h: Added, wrapper around WebCore::SpeechInputResult
1054         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
1055         (WebKit::WebSpeechInputResult::~WebSpeechInputResult):
1056         * src/SpeechInputClientImpl.cpp:
1057         (WebKit::SpeechInputClientImpl::setRecognitionResult): Accepts an array instead of a single string.
1058         * src/SpeechInputClientImpl.h:
1059         * src/WebSpeechInputControllerMockImpl.cpp:
1060         (WebKit::WebSpeechInputControllerMockImpl::setRecognitionResult):
1061         * src/WebSpeechInputControllerMockImpl.h:
1062         * src/WebSpeechInputResult.cpp: Added.
1063         (WebKit::WebSpeechInputResult::reset):
1064         (WebKit::WebSpeechInputResult::WebSpeechInputResult):
1065         (WebKit::WebSpeechInputResult::set):
1066         (WebKit::WebSpeechInputResult::operator PassRefPtr<WebCore::SpeechInputResult>):
1067
1068 2010-10-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1069
1070         Unreviewed, rolling out r70451.
1071         http://trac.webkit.org/changeset/70451
1072         https://bugs.webkit.org/show_bug.cgi?id=48249
1073
1074         Broke set-unloaded-frame-location.html under Qt (Requested by
1075         caseq on #webkit).
1076
1077         * src/WebFrameImpl.cpp:
1078         (WebKit::WebFrameImpl::executeScript):
1079         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1080         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1081
1082 2010-10-25  Peter Rybin  <peter.rybin@gmail.com>
1083
1084         Reviewed by Adam Barth.
1085
1086         HTML parser should provide script column position within HTML document to JavaScript engine
1087         https://bugs.webkit.org/show_bug.cgi?id=45271
1088
1089         Replaces script line number with TextPosition structure.
1090
1091         * src/WebFrameImpl.cpp:
1092         (WebKit::WebFrameImpl::executeScript):
1093         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1094         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1095
1096 2010-10-20  Kinuko Yasuda  <kinuko@chromium.org>
1097
1098         Reviewed by Jian Li.
1099
1100         Renumber FileError/FileException error codes per latest File API spec changes
1101         https://bugs.webkit.org/show_bug.cgi?id=47936
1102
1103         * public/WebFileError.h:
1104         * src/AssertMatchingEnums.cpp:
1105         * src/AsyncFileWriterChromium.cpp:
1106         (WebCore::AsyncFileWriterChromium::didFail):
1107
1108 2010-10-24  Sheriff Bot  <webkit.review.bot@gmail.com>
1109
1110         Unreviewed, rolling out r70361.
1111         http://trac.webkit.org/changeset/70361
1112         https://bugs.webkit.org/show_bug.cgi?id=48217
1113
1114         Chromium tests NoInitialAutocompleteForReadOnly and
1115         InitialAutocomplete don't complete (Requested by yuzo on
1116         #webkit).
1117
1118         * public/WebDocument.h:
1119
1120 2010-10-22  Jay Civelli  <jcivelli@chromium.org>
1121
1122         Reviewed by David Levin.
1123
1124         Turning on the Autocomplete implementation on the Chromium side.
1125         https://bugs.webkit.org/show_bug.cgi?id=41283
1126
1127         * public/WebDocument.h:
1128
1129 2010-10-22  Sam Weinig  <sam@webkit.org>
1130
1131         Reviewed by Anders Carlsson.
1132
1133         WebKit2 needs to pass the current event modifier flags when requesting a new window
1134         https://bugs.webkit.org/show_bug.cgi?id=48140
1135
1136         * src/ChromeClientImpl.cpp:
1137         (WebKit::ChromeClientImpl::createWindow):
1138         * src/ChromeClientImpl.h:
1139         * src/FrameLoaderClientImpl.cpp:
1140         (WebKit::FrameLoaderClientImpl::dispatchCreatePage):
1141         * src/FrameLoaderClientImpl.h:
1142         Add NavigationAction parameter.
1143
1144 2010-10-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1145
1146         Unreviewed, rolling out r70301.
1147         http://trac.webkit.org/changeset/70301
1148         https://bugs.webkit.org/show_bug.cgi?id=48126
1149
1150         "Lang attribute layout tests failing" (Requested by satish on
1151         #webkit).
1152
1153         * public/WebSpeechInputController.h:
1154         (WebKit::WebSpeechInputController::startRecognition):
1155         * public/WebSpeechInputControllerMock.h:
1156         * src/SpeechInputClientImpl.cpp:
1157         (WebKit::SpeechInputClientImpl::startRecognition):
1158         * src/SpeechInputClientImpl.h:
1159         * src/WebSpeechInputControllerMockImpl.cpp:
1160         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
1161         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1162         * src/WebSpeechInputControllerMockImpl.h:
1163         * src/WebViewImpl.cpp:
1164         (WebKit::WebViewImpl::WebViewImpl):
1165         * src/WebViewImpl.h:
1166
1167 2010-10-22  Leandro Gracia Gil  <leandrogracia@google.com>
1168
1169         Reviewed by Jeremy Orlow.
1170
1171         Patch the current speech input implementation to use and validate the
1172         nearest language tag. The language is now passed to the startRecognition
1173         methods so that language-specific recognition could be used. Also added
1174         a second parameter to setMockSpeechInputResult for the language used in
1175         speech recognition.
1176         https://bugs.webkit.org/show_bug.cgi?id=47089
1177
1178         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
1179         details see http://codereview.chromium.org/3615005/show and
1180         http://codereview.chromium.org/3595018/show.
1181
1182         * public/WebSpeechInputController.h:
1183         (WebKit::WebSpeechInputController::startRecognition):
1184         * public/WebSpeechInputControllerMock.h:
1185         * src/SpeechInputClientImpl.cpp:
1186         (WebKit::SpeechInputClientImpl::create):
1187         (WebKit::SpeechInputClientImpl::startRecognition):
1188         * src/SpeechInputClientImpl.h:
1189         * src/WebSpeechInputControllerMockImpl.cpp:
1190         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
1191         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1192         * src/WebSpeechInputControllerMockImpl.h:
1193         * src/WebViewImpl.cpp:
1194         (WebKit::WebViewImpl::WebViewImpl):
1195         * src/WebViewImpl.h:
1196
1197 2010-10-21  Yuzo Fujishima  <yuzo@google.com>
1198
1199         Unreviewed build fix attempt for Chromium Linux Debug Clang
1200
1201         * public/WebExternalPopupMenu.h:
1202
1203 2010-10-21  Tony Chang  <tony@chromium.org>
1204
1205         Reviewed by Dimitri Glazkov.
1206
1207         [chromium] roll chromium DEPS to include forwarding headers refactor
1208         https://bugs.webkit.org/show_bug.cgi?id=48097
1209
1210         * DEPS: Roll chromium forward to include new forwarding headers script
1211         * WebKit.gyp: This dependency always existed, it's just exposed now
1212             that the header files are in a different include dir.
1213
1214 2010-10-21  Pavel Feldman  <pfeldman@chromium.org>
1215
1216         Reviewed by Yury Semikhatsky.
1217
1218         Chromium: use dedicated event listener type in EventListenerWrapper.
1219         https://bugs.webkit.org/show_bug.cgi?id=48059
1220
1221         * src/EventListenerWrapper.cpp:
1222         (WebKit::EventListenerWrapper::EventListenerWrapper):
1223
1224 2010-10-21  Jay Civelli  <jcivelli@chromium.org>
1225
1226         Reviewed by Darin Fisher.
1227
1228         [Chromium] Adding an API that allows external
1229         popup menus, without the use of WebCore::PopupMenuChromium.
1230         Once this is hooked up in Chromium, the plan is to remove
1231         entirely the external case from PopupMenuChromium.
1232         https://bugs.webkit.org/show_bug.cgi?id=46016
1233
1234         * WebKit.gyp:
1235         * public/WebExternalPopupMenu.h: Added.
1236         * public/WebExternalPopupMenuClient.h: Added.
1237         * public/WebMenuItemInfo.h:
1238         (WebKit::WebMenuItemInfo::WebMenuItemInfo):
1239         * public/WebView.h:
1240         * public/WebViewClient.h:
1241         (WebKit::WebViewClient::createExternalPopupMenu):
1242         * src/ChromeClientImpl.cpp:
1243         (WebKit::ChromeClientImpl::createPopupMenu):
1244         * src/ExternalPopupMenu.cpp: Added.
1245         * src/ExternalPopupMenu.h: Added.
1246         * src/WebViewImpl.cpp:
1247         (WebKit::WebView::setUseExternalPopupMenus):
1248         (WebKit::WebViewImpl::useExternalPopupMenus):
1249         * src/WebViewImpl.h:
1250
1251 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1252
1253         Unreviewed, rolling out r70165.
1254         http://trac.webkit.org/changeset/70165
1255         https://bugs.webkit.org/show_bug.cgi?id=48007
1256
1257         It broke tests on Qt bot (Requested by Ossy on #webkit).
1258
1259         * src/WebFrameImpl.cpp:
1260         (WebKit::WebFrameImpl::executeScript):
1261         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1262         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1263
1264 2010-10-20  Peter Rybin  <peter.rybin@gmail.com>
1265
1266         Reviewed by Adam Barth.
1267
1268         HTML parser should provide script column position within HTML document to JavaScript engine
1269         https://bugs.webkit.org/show_bug.cgi?id=45271
1270
1271         Replaces script line number with TextPosition structure.
1272
1273         * src/WebFrameImpl.cpp:
1274         (WebKit::WebFrameImpl::executeScript):
1275         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1276         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1277
1278 2010-10-20  John Abd-El-Malek  <jam@chromium.org>
1279
1280         Reviewed by Darin Fisher.
1281
1282         [chromium] Fix crash when mousing over scrollview
1283         https://bugs.webkit.org/show_bug.cgi?id=47956
1284
1285         * src/ChromeClientImpl.cpp:
1286         (WebKit::ChromeClientImpl::mouseDidMoveOverElement):
1287         * src/ChromiumBridge.cpp:
1288         (WebCore::ChromiumBridge::pluginScriptableObject):
1289         * src/ContextMenuClientImpl.cpp:
1290         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1291         * src/FrameLoaderClientImpl.cpp:
1292         (WebKit::FrameLoaderClientImpl::redirectDataToPlugin):
1293         * src/WebPluginContainerImpl.h:
1294         (WebKit::WebPluginContainerImpl::isPluginContainer):
1295
1296 2010-10-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1297
1298         Unreviewed, rolling out r70149.
1299         http://trac.webkit.org/changeset/70149
1300         https://bugs.webkit.org/show_bug.cgi?id=47989
1301
1302         "Build breaks in mac and win" (Requested by satish on
1303         #webkit).
1304
1305         * public/WebSpeechInputController.h:
1306         (WebKit::WebSpeechInputController::startRecognition):
1307         * public/WebSpeechInputControllerMock.h:
1308         * src/SpeechInputClientImpl.cpp:
1309         (WebKit::SpeechInputClientImpl::startRecognition):
1310         * src/SpeechInputClientImpl.h:
1311         * src/WebSpeechInputControllerMockImpl.cpp:
1312         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
1313         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1314         * src/WebSpeechInputControllerMockImpl.h:
1315         * src/WebViewImpl.cpp:
1316         (WebKit::WebViewImpl::WebViewImpl):
1317         * src/WebViewImpl.h:
1318
1319 2010-10-20  Leandro Gracia Gil  <leandrogracia@google.com>
1320
1321         Reviewed by Jeremy Orlow.
1322
1323         Patch the current speech input implementation to use and validate the
1324         nearest language tag. The language is now passed to the startRecognition
1325         methods so that language-specific recognition could be used. Also added
1326         a second parameter to setMockSpeechInputResult for the language used in
1327         speech recognition.
1328         https://bugs.webkit.org/show_bug.cgi?id=47089
1329
1330         This is the 2nd of a 4-sided patch in Chromium and WebKit. For more
1331         details see http://codereview.chromium.org/3615005/show and
1332         http://codereview.chromium.org/3595018/show.
1333
1334         * public/WebSpeechInputController.h:
1335         (WebKit::WebSpeechInputController::startRecognition):
1336         * public/WebSpeechInputControllerMock.h:
1337         * src/SpeechInputClientImpl.cpp:
1338         (WebKit::SpeechInputClientImpl::create):
1339         (WebKit::SpeechInputClientImpl::startRecognition):
1340         * src/SpeechInputClientImpl.h:
1341         * src/WebSpeechInputControllerMockImpl.cpp:
1342         (WebKit::WebSpeechInputControllerMockImpl::setMockRecognitionResult):
1343         (WebKit::WebSpeechInputControllerMockImpl::startRecognition):
1344         * src/WebSpeechInputControllerMockImpl.h:
1345         * src/WebViewImpl.cpp:
1346         (WebKit::WebViewImpl::WebViewImpl):
1347         * src/WebViewImpl.h:
1348
1349 2010-10-20  Dirk Schulze  <krit@webkit.org>
1350
1351         Unreviewed Chromium win build fix.
1352
1353         * tests/TransparencyWinTest.cpp:
1354         (WebCore::TEST):
1355
1356 2010-10-20  Dirk Schulze  <krit@webkit.org>
1357
1358         Reviewed by Nikolas Zimmermann.
1359
1360         Merge ColorSpace and ImageColorSpace enums
1361         https://bugs.webkit.org/show_bug.cgi?id=47922
1362
1363         Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
1364         to follow webkit style rules.
1365
1366         * src/WebFontImpl.cpp:
1367         (WebKit::WebFontImpl::drawText):
1368         * src/WebFrameImpl.cpp:
1369         (WebKit::WebFrameImpl::paintWithContext):
1370         * src/WebViewImpl.cpp:
1371         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
1372         * tests/TransparencyWinTest.cpp:
1373         (WebCore::TEST):
1374
1375 2010-10-19  Andrey Kosyakov  <caseq@chromium.org>
1376
1377         Reviewed by Pavel Feldman.
1378
1379         Web Inspector: expose request/response cookies in HAR
1380         https://bugs.webkit.org/show_bug.cgi?id=47894
1381
1382         * src/WebResourceRawHeaders.cpp:
1383         (WebKit::addHeader): paste coalescent headers using "\n: as a separator instead of ", "
1384
1385 2010-10-19  Tony Chang  <tony@chromium.org>
1386
1387         Reviewed by Kent Tamura.
1388
1389         [chromium] Use webkit's TestNetscapePlugIn in DRT mac
1390         https://bugs.webkit.org/show_bug.cgi?id=47850
1391
1392         * WebKit.gyp: Copy WebKitTestPlugIn into plugins and add
1393             GCC_SYMBOLS_PRIVATE_EXTERN: NO to export the symbols.
1394
1395 2010-10-19  Tony Chang  <tony@chromium.org>
1396
1397         Unreviewed.  Rolling chromium DEPS to 63057 to pick up mac plugin
1398         loading in DRT.
1399
1400         * DEPS: bump chromium DEPS to 63057.
1401
1402 2010-10-19  Tony Chang  <tony@chromium.org>
1403
1404         Reviewed by Kent Tamura.
1405
1406         [chromium] DumpRenderTree shouldn't put '.' in include path
1407         https://bugs.webkit.org/show_bug.cgi?id=47877
1408
1409         * WebKit.gyp: Replace '.' with <(chromium_src_dir) and add public
1410
1411 2010-10-18  Adrienne Walker  <enne@google.com>
1412
1413         Reviewed by Kenneth Russell.
1414
1415         Turn off antialiasing when using Mesa during testing.
1416         https://bugs.webkit.org/show_bug.cgi?id=47697
1417
1418         * src/WebGraphicsContext3DDefaultImpl.cpp:
1419         (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
1420
1421 2010-10-18  James Robinson  <jamesr@chromium.org>
1422
1423         Update the chromium DEPS from 62399 to 62813 to pick up skia fixes
1424
1425         * DEPS:
1426
1427 2010-10-17  Pavel Feldman  <pfeldman@chromium.org>
1428
1429         Reviewed by Yury Semikhatsky.
1430
1431         Web Inspector: Introduce InspectorResourceAgent.h/cpp and ResourceManager.js to
1432         fill network panel with data.
1433         https://bugs.webkit.org/show_bug.cgi?id=47779
1434
1435         * src/WebDevToolsAgentImpl.cpp:
1436         (WebKit::WebDevToolsAgentImpl::didReceiveResponse):
1437
1438 2010-10-17  Pascal Massimino  <pascal.massimino@gmail.com>
1439
1440         Reviewed by Adam Barth.
1441
1442         Add support for WebP image decoding in ImageDecoder
1443         using library libwebp-decode library available from
1444         http://www.webmproject.org/code/
1445
1446         https://bugs.webkit.org/show_bug.cgi?id=47512
1447
1448         Tests: fast/images/webp-image-decoding.html
1449
1450         * CMakeLists.txt:
1451             add platform/image-decoders/webp files and directory
1452         * GNUmakefile.am:
1453             add platform/image-decoders/webp directory
1454         * WebCore.gyp/WebCore.gyp:
1455             add platform/image-decoders/webp directory
1456         * WebCore.gypi:
1457             add platform/image-decoders/webp directory
1458         * features.gypi:
1459             add WTF_USE_WEBP=1
1460         * platform/image-decoders/ImageDecoder.cpp:
1461         (WebCore::ImageDecoder::create):
1462             instantiate webp decoder for file starting with 'RIFF????WEBP'
1463         * platform/image-decoders/webp: Added.
1464         * platform/image-decoders/webp/WEBPImageDecoder.cpp: Added.
1465         (WebCore::WEBPImageDecoder::WEBPImageDecoder):
1466         (WebCore::WEBPImageDecoder::~WEBPImageDecoder):
1467         (WebCore::WEBPImageDecoder::isSizeAvailable):
1468         (WebCore::WEBPImageDecoder::frameBufferAtIndex):
1469         (WebCore::WEBPImageDecoder::decode):
1470             sub-class handling decoding of webp images
1471         * platform/image-decoders/webp/WEBPImageDecoder.h: Added.
1472         (WebCore::WEBPImageDecoder::filenameExtension):
1473         (WebCore::WEBPImageDecoder::supportsAlpha):
1474             header for webp-decoder sub-class
1475
1476 2010-10-15  Tony Chang  <tony@chromium.org>
1477
1478         Reviewed by Kent Tamura.
1479
1480         [chromium] compile TestNetscapePlugIn on Chromium mac
1481         https://bugs.webkit.org/show_bug.cgi?id=47633
1482
1483         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
1484             Fix an include dir so we can compile in a chromium checkout.
1485
1486 2010-10-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1487
1488         Unreviewed, rolling out r69809.
1489         http://trac.webkit.org/changeset/69809
1490         https://bugs.webkit.org/show_bug.cgi?id=47725
1491
1492         Broke chromium mac compile (Requested by japhet on #webkit).
1493
1494         * WebKit.gyp:
1495
1496 2010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
1497
1498         Reviewed by Dirk Schulze.
1499
1500         Replace some String::format() usages by StringConcatenate in WebKit
1501         https://bugs.webkit.org/show_bug.cgi?id=47714
1502
1503         * src/BackForwardListClientImpl.cpp:
1504         (WebKit::BackForwardListClientImpl::itemAtIndex):
1505         * src/DebuggerAgentManager.cpp:
1506         (WebKit::DebuggerAgentManager::debugDetach):
1507         * src/LocalizedStrings.cpp:
1508         (WebCore::imageTitle):
1509         * src/WebPageSerializer.cpp:
1510         (WebKit::WebPageSerializer::generateMetaCharsetDeclaration):
1511         (WebKit::WebPageSerializer::generateBaseTagDeclaration):
1512
1513 2010-10-14  Wei Jia  <wjia@chromium.org>
1514
1515         Reviewed by Darin Fisher.
1516
1517         Retrieve info of lock keys from stashed currentInputEvent which
1518         is stored by chromium when it passes input event to WebCore.
1519         Retrieving only when stashed event is a keyboard event, which
1520         means synthetic KeyboardEvent inherits lock key state from real
1521         keyboard event.
1522         https://bugs.webkit.org/show_bug.cgi?id=46518
1523
1524         * src/WebPluginContainerImpl.cpp:
1525         (WebKit::WebPluginContainerImpl::handleKeyboardEvent):
1526
1527 2010-10-14  John Abd-El-Malek  <jam@chromium.org>
1528
1529         Reviewed by Tony Chang.
1530
1531         [chromium] null check the widget before sending it data as calling didReceiveData might delete it
1532         https://bugs.webkit.org/show_bug.cgi?id=47708
1533
1534         * src/FrameLoaderClientImpl.cpp:
1535         (WebKit::FrameLoaderClientImpl::committedLoad):
1536
1537 2010-10-14  Tony Chang  <tony@chromium.org>
1538
1539         Reviewed by Kent Tamura.
1540
1541         [chromium] compile TestNetscapePlugIn on Chromium mac
1542         https://bugs.webkit.org/show_bug.cgi?id=47633
1543
1544         * WebKit.gyp:  Add a mac specific target for compiling TestNetscapePlugIn
1545
1546 2010-10-13  Kinuko Yasuda  <kinuko@chromium.org>
1547
1548         Reviewed by Jian Li.
1549
1550         [Chromium] Enable FILE_SYSTEM by default for chromium
1551         https://bugs.webkit.org/show_bug.cgi?id=47639
1552
1553         * features.gypi: Add FILE_SYSTEM=1. Also remove FILE_READER=1
1554         as it seems to be not used anymore.
1555
1556 2010-10-13  Jeremy Orlow  <jorlow@chromium.org>
1557
1558         Reviewed by Nate Chapin.
1559
1560         IndexedDB should fire some errors synchronously
1561         https://bugs.webkit.org/show_bug.cgi?id=47530
1562
1563         * public/WebIDBCursor.h:
1564         * public/WebIDBDatabase.h:
1565         (WebKit::WebIDBDatabase::transaction):
1566         * public/WebIDBFactory.h:
1567         (WebKit::WebIDBFactory::open):
1568         * public/WebIDBObjectStore.h:
1569         * public/WebIDBTransactionCallbacks.h:
1570         * src/IDBCursorBackendProxy.cpp:
1571         (WebCore::IDBCursorBackendProxy::update):
1572         (WebCore::IDBCursorBackendProxy::continueFunction):
1573         (WebCore::IDBCursorBackendProxy::remove):
1574         * src/IDBCursorBackendProxy.h:
1575         * src/IDBDatabaseProxy.cpp:
1576         (WebCore::IDBDatabaseProxy::createObjectStore):
1577         (WebCore::IDBDatabaseProxy::removeObjectStore):
1578         (WebCore::IDBDatabaseProxy::setVersion):
1579         (WebCore::IDBDatabaseProxy::transaction):
1580         * src/IDBDatabaseProxy.h:
1581         * src/IDBIndexBackendProxy.cpp:
1582         (WebCore::IDBIndexBackendProxy::openCursor):
1583         (WebCore::IDBIndexBackendProxy::openKeyCursor):
1584         (WebCore::IDBIndexBackendProxy::get):
1585         (WebCore::IDBIndexBackendProxy::getKey):
1586         * src/IDBIndexBackendProxy.h:
1587         * src/IDBObjectStoreProxy.cpp:
1588         (WebCore::IDBObjectStoreProxy::get):
1589         (WebCore::IDBObjectStoreProxy::put):
1590         (WebCore::IDBObjectStoreProxy::remove):
1591         (WebCore::IDBObjectStoreProxy::createIndex):
1592         (WebCore::IDBObjectStoreProxy::index):
1593         (WebCore::IDBObjectStoreProxy::removeIndex):
1594         (WebCore::IDBObjectStoreProxy::openCursor):
1595         * src/IDBObjectStoreProxy.h:
1596         * src/WebIDBCursorImpl.cpp:
1597         (WebKit::WebIDBCursorImpl::update):
1598         (WebKit::WebIDBCursorImpl::continueFunction):
1599         (WebKit::WebIDBCursorImpl::remove):
1600         * src/WebIDBCursorImpl.h:
1601         * src/WebIDBDatabaseImpl.cpp:
1602         (WebKit::WebIDBDatabaseImpl::createObjectStore):
1603         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
1604         (WebKit::WebIDBDatabaseImpl::setVersion):
1605         (WebKit::WebIDBDatabaseImpl::transaction):
1606         * src/WebIDBDatabaseImpl.h:
1607         * src/WebIDBIndexImpl.cpp:
1608         (WebKit::WebIDBIndexImpl::openObjectCursor):
1609         (WebKit::WebIDBIndexImpl::openKeyCursor):
1610         (WebKit::WebIDBIndexImpl::getObject):
1611         (WebKit::WebIDBIndexImpl::getKey):
1612         * src/WebIDBIndexImpl.h:
1613         * src/WebIDBObjectStoreImpl.cpp:
1614         (WebKit::WebIDBObjectStoreImpl::get):
1615         (WebKit::WebIDBObjectStoreImpl::put):
1616         (WebKit::WebIDBObjectStoreImpl::remove):
1617         (WebKit::WebIDBObjectStoreImpl::createIndex):
1618         (WebKit::WebIDBObjectStoreImpl::index):
1619         (WebKit::WebIDBObjectStoreImpl::removeIndex):
1620         (WebKit::WebIDBObjectStoreImpl::openCursor):
1621         * src/WebIDBObjectStoreImpl.h:
1622
1623 2010-10-13  Brett Wilson  <brettw@chromium.org>
1624
1625         Reviewed by Darin Fisher.
1626
1627         Save and restore the GraphicsContext around setting the clip rect for
1628         drawing text.
1629         https://bugs.webkit.org/show_bug.cgi?id=47634
1630
1631         * src/WebFontImpl.cpp:
1632         (WebKit::WebFontImpl::drawText):
1633
1634 2010-10-13  Kenneth Russell  <kbr@google.com>
1635
1636         Reviewed by James Robinson.
1637
1638         Revert changes to WebViewImpl in r69633
1639         https://bugs.webkit.org/show_bug.cgi?id=47610
1640
1641         Revert change to WebViewImpl.cpp in
1642         http://trac.webkit.org/changeset/69633 which incorrectly used
1643         PassRefPtr for a local variable instead of RefPtr. This was a fix
1644         for changes in http://trac.webkit.org/changeset/69619 and
1645         http://trac.webkit.org/changeset/69624 .
1646
1647         * src/WebViewImpl.cpp:
1648         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1649
1650 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
1651
1652         Reviewed by Oliver Hunt.
1653
1654         Bug 43987 - Downloading using XHR is much slower than before
1655
1656         * src/WebPageSerializerImpl.cpp:
1657         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
1658
1659 2010-10-13  Adam Barth  <abarth@webkit.org>
1660
1661         Reviewed by Tony Chang.
1662
1663         [Chromium] Clean up WebPageSerializerImpl::serialize
1664         https://bugs.webkit.org/show_bug.cgi?id=47577
1665
1666         This patch shouldn't have any behavior change.  I'm just trying to
1667         understand what this code does.
1668
1669         * src/WebPageSerializerImpl.cpp:
1670         (WebKit::WebPageSerializerImpl::saveHTMLContentToBuffer):
1671         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
1672         (WebKit::WebPageSerializerImpl::serialize):
1673         * src/WebPageSerializerImpl.h:
1674
1675 2010-10-13  John Knottenbelt  <jknotten@chromium.org>
1676
1677         Reviewed by Steve Block.
1678
1679         First step towards client-based Geolocation in Chromium. Build
1680         fixes for CLIENT_BASED_GEOLOCATION preprocessor feature define.
1681         https://bugs.webkit.org/show_bug.cgi?id=47586
1682
1683         * WebKit.gyp:
1684         * src/ChromeClientImpl.cpp:
1685         (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame):
1686         (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
1687         * src/ChromiumBridge.cpp:
1688         * src/WebGeolocationServiceMock.cpp:
1689         (WebKit::WebGeolocationServiceMock::createWebGeolocationServiceMock):
1690         (WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
1691         (WebKit::WebGeolocationServiceMock::setMockGeolocationPosition):
1692         (WebKit::WebGeolocationServiceMock::setMockGeolocationError):
1693
1694 2010-10-11  Andrei Popescu  <andreip@google.com>
1695
1696         Reviewed by Jeremy Orlow.
1697
1698         [Chromium] Cleanup WebIDBFactory::open once the Chromium plumbing has landed.
1699         https://bugs.webkit.org/show_bug.cgi?id=47531
1700
1701         Remove the temporary open() method since the appropriate Chromium plumbing was
1702         added in http://codereview.chromium.org/3729003/
1703
1704         * public/WebIDBFactory.h:
1705         (WebKit::WebIDBFactory::open):
1706
1707 2010-10-13  Adam Barth  <abarth@webkit.org>
1708
1709         Reviewed by Darin Fisher.
1710
1711         [Chromium] Clean up SerializeDomParam
1712         https://bugs.webkit.org/show_bug.cgi?id=47580
1713
1714         This patch just renames a bunch of the members of this struct to be
1715         more sensible.  No behavior change, well, except for one struct member
1716         that wasn't initialized.  I didn't trace through this code to see if
1717         the uninitialized value was used anywhere, but initializing all the
1718         values seems like a good idea.
1719
1720         * src/WebPageSerializerImpl.cpp:
1721         (WebKit::WebPageSerializerImpl::SerializeDomParam::SerializeDomParam):
1722         (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
1723         (WebKit::WebPageSerializerImpl::postActionAfterSerializeOpenTag):
1724         (WebKit::WebPageSerializerImpl::postActionAfterSerializeEndTag):
1725         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer):
1726         (WebKit::WebPageSerializerImpl::openTagToString):
1727         (WebKit::WebPageSerializerImpl::endTagToString):
1728         (WebKit::WebPageSerializerImpl::buildContentForNode):
1729         * src/WebPageSerializerImpl.h:
1730
1731 2010-10-13  Yury Semikhatsky  <yurys@chromium.org>
1732
1733         Reviewed by Pavel Feldman.
1734
1735         Web Inspector: stack information is inconsistent between console.trace and runtime errors.
1736         https://bugs.webkit.org/show_bug.cgi?id=47252
1737
1738         * DEPS: bump up V8 revision
1739
1740 2010-10-12  Kenneth Russell  <kbr@google.com>
1741
1742         Unreviewed. Fixes for all WebGL content causing assertion failures
1743         in Chromium after http://trac.webkit.org/changeset/69619 and
1744         http://trac.webkit.org/changeset/69624 .
1745
1746         * src/GraphicsContext3DChromium.cpp:
1747         (WebCore::GraphicsContext3D::create):
1748         * src/WebViewImpl.cpp:
1749         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1750
1751 2010-10-12  Alok priyadarshi  <alokp@chromium.org>
1752
1753         Reviewed by Kenneth Russell.
1754
1755         Remove support for ANGLE SH_VERSION <= 100
1756         https://bugs.webkit.org/show_bug.cgi?id=47307
1757
1758         * src/WebGraphicsContext3DDefaultImpl.cpp:
1759         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
1760         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
1761
1762 2010-10-12  James Robinson  <jamesr@chromium.org>
1763
1764         Unreviewed chromium compile fixes for http://trac.webkit.org/changeset/69619.
1765
1766         * src/GraphicsContext3DChromium.cpp:
1767         (WebCore::GraphicsContext3D::create):
1768         * src/WebViewImpl.cpp:
1769         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1770         * src/WebViewImpl.h:
1771
1772 2010-10-12  Jian Li  <jianli@chromium.org>
1773
1774         Unreviewed. Bump up revision in order to pick up fix.
1775
1776         * DEPS:
1777
1778 2010-10-12  Jian Li  <jianli@chromium.org>
1779
1780         Unreview. Build fix for chromium.
1781
1782         * public/WebBlobRegistry.h:
1783
1784 2010-10-12  Jian Li  <jianli@chromium.org>
1785
1786         Reviewed by Darin Fisher.
1787
1788         [chromium] Update WebBlobData to adapt to BlobData change in terms of
1789         handling string data item.
1790         https://bugs.webkit.org/show_bug.cgi?id=47423
1791
1792         Also remove unneeded methods in WebBlobData. WebBlobStorageData.* are
1793         also removed since they're not longer needed.
1794
1795         * WebKit.gyp:
1796         * public/WebBlobData.h:
1797         * public/WebBlobRegistry.h:
1798         * public/WebBlobStorageData.h: Removed.
1799         * public/WebThreadSafeData.h: Added.
1800         * src/WebBlobData.cpp:
1801         * src/WebBlobStorageData.cpp: Removed.
1802         * src/WebThreadSafeData.cpp: Added.
1803
1804 2010-10-12  Kavita Kanetkar  <kkanetkar@chromium.org>
1805
1806         Reviewed by Dumitru Daniliuc.
1807
1808         [FileSystem] Add ability to pass a bool to create or not create root path while opening filesystem.
1809         https://bugs.webkit.org/show_bug.cgi?id=47519
1810
1811         * public/WebCommonWorkerClient.h:
1812         (WebKit::WebCommonWorkerClient::openFileSystem):
1813         * public/WebFrameClient.h:
1814         (WebKit::WebFrameClient::openFileSystem):
1815
1816 2010-10-12  James Robinson  <jamesr@chromium.org>
1817
1818         Reviewed by Nate Chapin (in person).
1819
1820         Fix chromium compile.
1821
1822         * src/WebPageSerializerImpl.cpp:
1823         (WebKit::WebPageSerializerImpl::WebPageSerializerImpl):
1824         (WebKit::WebPageSerializerImpl::serialize):
1825
1826 2010-10-12  Nikolas Zimmermann  <nzimmermann@rim.com>
1827
1828         Reviewed by Gavin Barraclough.
1829
1830         Unify JSC::StringBuilder & WebCore::StringBuilder
1831         https://bugs.webkit.org/show_bug.cgi?id=47538
1832
1833         * src/LocalizedStrings.cpp:
1834         (WebCore::imageTitle): Use WTF::StringBuilder.
1835         * src/WebEntities.cpp:
1836         (WebKit::WebEntities::convertEntitiesInString): Ditto.
1837         * src/WebPageSerializerImpl.cpp: Remove useless includes.
1838         (WebKit::WebPageSerializerImpl::encodeAndFlushBuffer): 
1839         * src/WebPageSerializerImpl.h: Use WTF::StringBuilder.
1840
1841 2010-10-07  Stephen White  <senorblanco@chromium.org>
1842
1843         Reviewed by James Robinson.
1844
1845         [chromium] Zero-out all textures created via WebGraphicsContext3DDefaultImpl::texImage2D().
1846         https://bugs.webkit.org/show_bug.cgi?id=47178
1847         
1848         Covered by fast/canvas/toDataURL-alpha.html, when run with --accelerated-2d-canvas.
1849
1850         * src/WebGraphicsContext3DDefaultImpl.cpp:
1851         (WebKit::bytesPerComponent):
1852         (WebKit::componentsPerPixel):
1853         (WebKit::imageSizeInBytes):
1854         (WebKit::WebGraphicsContext3DDefaultImpl::texImage2D):
1855
1856 2010-10-12  Dave Moore  <davemoore@chromium.org>
1857
1858         Reviewed by Tony Chang.
1859
1860         Use new WebThemeEngine api on chromium / linux to draw scrollbars.
1861         https://bugs.webkit.org/show_bug.cgi?id=47473
1862
1863         * public/WebThemeEngine.h: Removed.
1864         * chromium/src/ChromiumBridge.cpp:
1865
1866 2010-10-11  Daniel Cheng  <dcheng@chromium.org>
1867
1868         Reviewed by Tony Chang.
1869
1870         [chromium] Prepare Clipboard/DragData for transition to new drag-and-drop interface.
1871         https://bugs.webkit.org/show_bug.cgi?id=44992
1872
1873         Add a new entry point for drag in to allow a graceful transition
1874         from the legacy drag and drop model, where all data is copied in at the
1875         beginning of a drag, to a model where data is retrieved on demand via
1876         IPCs. The rationale for this is when we begin supporting arbitrary MIME
1877         types in dataTransfer, we don't want to be copying aribtrary amounts of
1878         data over for each start drag IPC.
1879
1880         * public/WebView.h:
1881         * src/WebDragData.cpp:
1882         (WebKit::WebDragData::initialize): Use the legacy data object.
1883         (WebKit::WebDragData::ensureMutable): Change the if to an ASSERT.
1884         * src/WebViewImpl.cpp:
1885         (WebKit::WebViewImpl::dragTargetDragEnterNew): New entry point.
1886         * src/WebViewImpl.h:
1887
1888 2010-10-11  Jeremy Orlow  <jorlow@chromium.org>
1889
1890         Reviewed by Nate Chapin.
1891
1892         [Chromium] Add plumbing for synchronous indexedDB exceptions
1893         https://bugs.webkit.org/show_bug.cgi?id=47511
1894
1895         Add a WebExceptionCode file (already run by fishd) and add versions of
1896         each applicable method that take such a parameter.  A follow up patch
1897         will be posted with the meat.
1898
1899         * WebKit.gyp:
1900         * public/WebExceptionCode.h: Added.
1901         * public/WebIDBCursor.h:
1902         (WebKit::WebIDBCursor::update):
1903         (WebKit::WebIDBCursor::continueFunction):
1904         (WebKit::WebIDBCursor::remove):
1905         * public/WebIDBDatabase.h:
1906         (WebKit::WebIDBDatabase::objectStore):
1907         (WebKit::WebIDBDatabase::createObjectStore):
1908         (WebKit::WebIDBDatabase::removeObjectStore):
1909         (WebKit::WebIDBDatabase::setVersion):
1910         (WebKit::WebIDBDatabase::transaction):
1911         * public/WebIDBIndex.h:
1912         (WebKit::WebIDBIndex::openObjectCursor):
1913         (WebKit::WebIDBIndex::openKeyCursor):
1914         (WebKit::WebIDBIndex::getObject):
1915         (WebKit::WebIDBIndex::getKey):
1916         * public/WebIDBObjectStore.h:
1917         (WebKit::WebIDBObjectStore::get):
1918         (WebKit::WebIDBObjectStore::put):
1919         (WebKit::WebIDBObjectStore::remove):
1920         (WebKit::WebIDBObjectStore::createIndex):
1921         (WebKit::WebIDBObjectStore::index):
1922         (WebKit::WebIDBObjectStore::removeIndex):
1923         (WebKit::WebIDBObjectStore::openCursor):
1924
1925 2010-10-11  Andrei Popescu  <andreip@google.com>
1926
1927         Reviewed by Jeremy Orlow.
1928
1929         The names of IndexedDB-specific attributes of DOMWindow should be prefixed with 'webkit'.
1930         https://bugs.webkit.org/show_bug.cgi?id=47508
1931
1932         * src/WebRuntimeFeatures.cpp:
1933         (WebKit::WebRuntimeFeatures::enableIndexedDatabase):
1934         (WebKit::WebRuntimeFeatures::isIndexedDatabaseEnabled):
1935
1936 2010-10-11  Tony Chang  <tony@chromium.org>
1937
1938         Unreviewed, roll chromium DEPS to pick up Dave's fix for
1939         scrollbar painting.  This will be needed by an upcoming patch.
1940
1941         * DEPS:
1942
1943 2010-10-11  Kinuko Yasuda  <kinuko@google.com>
1944
1945         Reviewed by David Levin.
1946
1947         Support DirectoryEntry.removeRecursively for FileSystem API
1948         https://bugs.webkit.org/show_bug.cgi?id=47400
1949
1950         * src/AsyncFileSystemChromium.cpp:
1951         (WebCore::AsyncFileSystemChromium::removeRecursively): Added.
1952         * src/AsyncFileSystemChromium.h:
1953         * src/WorkerAsyncFileSystemChromium.cpp:
1954         (WebCore::WorkerAsyncFileSystemChromium::removeRecursively): Added.
1955         * src/WorkerAsyncFileSystemChromium.h:
1956         * src/WorkerFileSystemCallbacksBridge.cpp:
1957         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread): Added.
1958         (WebKit::WorkerFileSystemCallbacksBridge::removeRecursivelyOnMainThread): Added.
1959         * src/WorkerFileSystemCallbacksBridge.h:
1960
1961 2010-10-09  Varun Jain  <varunjain@chromium.org>
1962
1963         Reviewed by Darin Fisher.
1964
1965         Adding one method to the WebView interface: method to inform the
1966         renderer to scroll the currently focused element into view, for
1967         instance, when it is hidden due to window resizing.
1968         Also adding methods to WebNode and WebElement to expose more
1969         features of the underlying WebCore::Node.
1970         https://bugs.webkit.org/show_bug.cgi?id=46296
1971
1972         * public/WebElement.h:
1973         * public/WebNode.h:
1974         * public/WebView.h:
1975         * src/WebElement.h:
1976         (WebKit::WebElement::isTextFormControlElement):
1977         * src/WebNode.cpp:
1978         (WebKit::WebNode::isContentEditable):
1979         * src/WebViewImpl.cpp:
1980         (WebKit::WebViewImpl::scrollFocusedNodeIntoView):
1981         * src/WebViewImpl.h:
1982
1983 2010-10-08  Andrei Popescu  <andreip@google.com>
1984
1985         Reviewed by Jeremy Orlow.
1986
1987         [Chromium] IDBFactory::open only works in single process mode.
1988         https://bugs.webkit.org/show_bug.cgi?id=47444
1989
1990         * public/WebIDBFactory.h:
1991         (WebKit::WebIDBFactory::open):
1992
1993 2010-10-08  Andrei Popescu  <andreip@google.com>
1994
1995         Reviewed by Jeremy Orlow.
1996
1997         IndexedDB does not have a quota mechanism.
1998         https://bugs.webkit.org/show_bug.cgi?id=47389
1999
2000         * public/WebIDBFactory.h:
2001         (WebKit::WebIDBFactory::open):
2002         * src/IDBFactoryBackendProxy.cpp:
2003         (WebCore::IDBFactoryBackendProxy::open):
2004         * src/IDBFactoryBackendProxy.h:
2005         * src/WebIDBFactoryImpl.cpp:
2006         (WebKit::WebIDBFactoryImpl::open):
2007         * src/WebIDBFactoryImpl.h:
2008
2009 2010-10-07  Zhenyao Mo  <zmo@google.com>
2010
2011         Unreviewed, roll chromium to r61902.
2012
2013         * DEPS:
2014
2015 2010-10-07  Zhenyao Mo  <zmo@google.com>
2016
2017         Reviewed by Tony Chang.
2018
2019         Copy mesa lib into DumpRenderTree bundle in Mac
2020         https://bugs.webkit.org/show_bug.cgi?id=47385
2021
2022         * WebKit.gyp:
2023
2024 2010-10-07  Daniel Cheng  <dcheng@chromium.org>
2025
2026         Reviewed by Tony Chang.
2027
2028         [chromium] Minor naming cleanup in WebDragData, part 2
2029         https://bugs.webkit.org/show_bug.cgi?id=47227
2030
2031         Chromium no longer uses the deprecated methods, so delete them.
2032
2033         * DEPS:
2034         * public/WebDragData.h:
2035         * src/WebDragData.cpp:
2036
2037 2010-10-07  Dave Moore  <davemoore@chromium.org>
2038
2039         Reviewed by Kent Tamura.
2040
2041         Add WebThemeEngine api for chromium/linux
2042         https://bugs.webkit.org/show_bug.cgi?id=47278
2043         Create new linux specific version of WinThemeEngine.h and move
2044         existing windows specific one to win directory. Keep old top
2045         level file until chromium is updated to use the new ones.
2046
2047         * WebKit.gyp:
2048         * public/WebThemeEngine.h:
2049         * src/ChromiumBridge.cpp:
2050
2051 2010-10-07  Andrey Kosyakov  <caseq@chromium.org>
2052
2053         Reviewed by Yury Semikhatsky.
2054
2055         Chromium multi-dll build broken due to WebResourceRawHeaders methods lacking WEBKIT_API decl spec
2056         https://bugs.webkit.org/show_bug.cgi?id=47329
2057
2058         * public/WebResourceRawHeaders.h:
2059         (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
2060         (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
2061         (WebKit::WebResourceRawHeaders::operator =):
2062         * src/WebResourceRawHeaders.cpp:
2063         (WebKit::WebResourceRawHeaders::initialize):
2064         (WebKit::WebResourceRawHeaders::reset):
2065         (WebKit::WebResourceRawHeaders::assign):
2066
2067 2010-10-06  Chris Guillory  <chris.guillory@google.com>
2068
2069         Reviewed by Chris Fleizach.
2070
2071         Remove unused accessibility functions from webkit.
2072         https://bugs.webkit.org/attachment.cgi?bugid=46707
2073
2074         * public/WebAccessibilityCache.h:
2075         * public/WebViewClient.h:
2076         * src/ChromeClientImpl.cpp:
2077         (WebKit::ChromeClientImpl::focusedNodeChanged):
2078         * src/WebAccessibilityCacheImpl.cpp:
2079         * src/WebAccessibilityCacheImpl.h:
2080
2081 2010-10-06  Kinuko Yasuda  <kinuko@chromium.org>
2082
2083         Reviewed by David Levin.
2084
2085         Add FileSystemSync implementation for Worker
2086         https://bugs.webkit.org/show_bug.cgi?id=47044
2087
2088         * src/LocalFileSystemChromium.cpp:
2089         (WebCore::LocalFileSystem::requestFileSystem): Added a new parameter
2090         for synchronous mode.
2091         * src/WebFileSystemCallbacksImpl.cpp:
2092         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
2093         a parameter for synchronous mode.
2094         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Changed to
2095         creates WorkerAsyncFileSystemChromium with synchronous flag.
2096         * src/WebFileSystemCallbacksImpl.h:
2097         * src/WebWorkerBase.cpp:
2098         (WebKit::WebWorkerBase::openFileSystem): Added a parameter for
2099         synchronous mode.
2100         * src/WebWorkerBase.h:
2101         * src/WorkerAsyncFileSystemChromium.cpp:
2102         (WebCore::WorkerAsyncFileSystemChromium::WorkerAsyncFileSystemChromium):
2103         (WebCore::WorkerAsyncFileSystemChromium::waitForOperationToComplete):
2104         Added.
2105         (WebCore::WorkerAsyncFileSystemChromium::move):
2106         (WebCore::WorkerAsyncFileSystemChromium::copy):
2107         (WebCore::WorkerAsyncFileSystemChromium::remove):
2108         (WebCore::WorkerAsyncFileSystemChromium::readMetadata):
2109         (WebCore::WorkerAsyncFileSystemChromium::createFile):
2110         (WebCore::WorkerAsyncFileSystemChromium::createDirectory):
2111         (WebCore::WorkerAsyncFileSystemChromium::fileExists):
2112         (WebCore::WorkerAsyncFileSystemChromium::directoryExists):
2113         (WebCore::WorkerAsyncFileSystemChromium::readDirectory):
2114         (WebCore::WorkerAsyncFileSystemChromium::createWorkerFileSystemCallbacksBridge):
2115         Updated to store the created bridge in a member variable so that
2116         we can call bridge->stop() later when the RunLoop is terminating.
2117         * src/WorkerAsyncFileSystemChromium.h:
2118         (WebCore::WorkerAsyncFileSystemChromium::create): Added a new
2119         parameter for synchronous mode.
2120
2121 2010-10-06  Andrei Popescu  <andreip@google.com>
2122
2123         Reviewed by Jeremy Orlow.
2124
2125         IDBDatabase and IDBObjectStore metadata is not recovered correctly when the setVersion transactions aborts.
2126         https://bugs.webkit.org/show_bug.cgi?id=47245
2127
2128         * src/IDBTransactionBackendProxy.cpp:
2129         (WebCore::IDBTransactionBackendProxy::scheduleTask):
2130         * src/IDBTransactionBackendProxy.h:
2131
2132 2010-10-06  Victor Wang  <victorw@chromium.org>
2133
2134         Reviewed by Darin Fisher.
2135
2136         [Chromium] Add webkit unit tests to chromium multi-dll build.
2137
2138         In chromium multi-dll build mode, compile the webkit unit tests
2139         code in webkit.dll and export an api that runs the tests.
2140
2141         https://bugs.webkit.org/show_bug.cgi?id=46907
2142
2143         * WebKit.gyp:
2144         * WebKit.gypi:
2145         * tests/RunAllTests.cpp:
2146         (main):
2147         * tests/WebUnitTests.cpp: Added.
2148         (WebKit::RunAllUnitTests):
2149         * tests/WebUnitTests.h: Added.
2150
2151 2010-10-05  Jeremy Orlow  <jorlow@chromium.org>
2152
2153         Reviewed by Nate Chapin.
2154
2155         [Chromium] WebIDBKeyRange should handle null left/right pointers
2156         https://bugs.webkit.org/show_bug.cgi?id=47247
2157
2158         * src/WebIDBKeyRange.cpp:
2159         (WebKit::WebIDBKeyRange::assign):
2160         (WebKit::WebIDBKeyRange::left):
2161         (WebKit::WebIDBKeyRange::right):
2162         (WebKit::WebIDBKeyRange::flags):
2163
2164 2010-10-06  Tony Chang  <tony@chromium.org>
2165
2166         Unreviewed, rolling out r69202.
2167         http://trac.webkit.org/changeset/69202
2168         https://bugs.webkit.org/show_bug.cgi?id=46937
2169
2170         Broke compile of test_shell
2171
2172         * DEPS:
2173         * public/WebDragData.h:
2174         * src/WebDragData.cpp:
2175         (WebKit::WebDragData::hasFileNames):
2176         (WebKit::WebDragData::fileNames):
2177         (WebKit::WebDragData::setFileNames):
2178         (WebKit::WebDragData::appendToFileNames):
2179         (WebKit::WebDragData::fileContentFileName):
2180         (WebKit::WebDragData::setFileContentFileName):
2181
2182 2010-10-06  Daniel Cheng  <dcheng@chromium.org>
2183
2184         Reviewed by Tony Chang.
2185
2186         [chromium] Minor naming cleanup in WebDragData, part 2
2187         https://bugs.webkit.org/show_bug.cgi?id=46937
2188
2189         Chromium no longer uses the deprecated methods, so delete them.
2190
2191         * DEPS:
2192         * public/WebDragData.h:
2193         * src/WebDragData.cpp:
2194
2195 2010-09-29  Alpha Lam  <hclam@chromium.org>
2196
2197         Reviewed by James Robinson.
2198
2199         Render textures in video frame directly.
2200         https://bugs.webkit.org/show_bug.cgi?id=46765
2201
2202         Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
2203         Also explicitly instruct VideoLayerChromium to release video frame when the owner
2204         of video frame is going away.
2205
2206         * public/WebVideoFrame.h:
2207         * src/AssertMatchingEnums.cpp:
2208         * src/VideoFrameChromiumImpl.cpp:
2209         (WebKit::VideoFrameChromiumImpl::texture):
2210         * src/VideoFrameChromiumImpl.h:
2211         * src/WebMediaPlayerClientImpl.cpp:
2212         (WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
2213         (WebKit::WebMediaPlayerClientImpl::load):
2214         * src/WebMediaPlayerClientImpl.h:
2215
2216 2010-10-05  Nat Duca  <nduca@chromium.org>
2217
2218         Reviewed by James Robinson.
2219
2220         [chromium] Handle composited root layer invalidations in screenspace,
2221         fixing the disappearing scrollbar problem.
2222         https://bugs.webkit.org/show_bug.cgi?id=46864
2223
2224         * src/WebViewImpl.cpp:
2225         (WebKit::WebViewImpl::composite):
2226         (WebKit::WebViewImpl::scrollRootLayerRect):
2227         (WebKit::WebViewImpl::invalidateRootLayerRect):
2228         (WebKit::WebViewImpl::doComposite):
2229
2230 2010-10-05  Kenneth Russell  <kbr@google.com>
2231
2232         Unreviewed, follow up to 47216. Add newline above "protected:".
2233
2234         * public/WebFrame.h:
2235
2236 2010-10-05  Kenneth Russell  <kbr@google.com>
2237
2238         Reviewed by Tony Chang.
2239
2240         [chromium] Implement layerTreeAsText in DumpRenderTree
2241         https://bugs.webkit.org/show_bug.cgi?id=47216
2242
2243         Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
2244         make it callable from DumpRenderTree.
2245
2246         No new tests; verified with existing compositor layout tests.
2247
2248         * public/WebFrame.h:
2249         * src/WebFrameImpl.cpp:
2250         (WebKit::WebFrameImpl::layerTreeAsText):
2251         * src/WebFrameImpl.h:
2252
2253 2010-10-05  Andrew Wilson  <atwilson@chromium.org>
2254
2255         Reviewed by Andreas Kling.
2256
2257         Notification onclick() events don't act like user gestures
2258         https://bugs.webkit.org/show_bug.cgi?id=47137
2259
2260         * src/WebNotification.cpp:
2261         (WebKit::WebNotification::dispatchClickEvent):
2262         Use UserGestureIndicator to make sure click events are treated like user gestures.
2263
2264 2010-10-05  Alok Priyadarshi  <alokp@chromium.org>
2265
2266         Reviewed by Kenneth Russell.
2267
2268         Supported ANGLE SH_VERSION > 100
2269         https://bugs.webkit.org/show_bug.cgi?id=47024
2270
2271         * src/WebGraphicsContext3DDefaultImpl.cpp:
2272         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
2273         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
2274
2275 2010-10-04  Jeremy Orlow  <jorlow@chromium.org>
2276
2277         Reviewed by Nate Chapin.
2278
2279         Rename get* and open*Cursor per the spec on IDBIndex
2280         https://bugs.webkit.org/show_bug.cgi?id=46906
2281
2282         The spec changed so that:
2283         IDBIndex.get -> getKey
2284         IDBIndex.getObject -> get
2285         IDBIndex.openCursor -> openKeyCursor
2286         IDBIndex.openObjectCursor -> openCursor
2287
2288         * public/WebIDBIndex.h:
2289         (WebKit::WebIDBIndex::openCursor):
2290         (WebKit::WebIDBIndex::openKeyCursor):
2291         (WebKit::WebIDBIndex::get):
2292         (WebKit::WebIDBIndex::getKey):
2293         * src/IDBIndexBackendProxy.cpp:
2294         (WebCore::IDBIndexBackendProxy::openCursor):
2295         (WebCore::IDBIndexBackendProxy::openKeyCursor):
2296         (WebCore::IDBIndexBackendProxy::get):
2297         (WebCore::IDBIndexBackendProxy::getKey):
2298         * src/IDBIndexBackendProxy.h:
2299         * src/WebIDBIndexImpl.cpp:
2300         (WebKit::WebIDBIndexImpl::openObjectCursor):
2301         (WebKit::WebIDBIndexImpl::openKeyCursor):
2302         (WebKit::WebIDBIndexImpl::getObject):
2303         (WebKit::WebIDBIndexImpl::getKey):
2304         * src/WebIDBIndexImpl.h:
2305
2306 2010-10-04  Andrei Popescu  <andreip@google.com>
2307
2308         Reviewed by Jeremy Orlow.
2309
2310         IDBDatabase::createObjectStore/removeObjectStore and IDBObjectStore::createIndex/removeIndex should be synchronous.
2311         https://bugs.webkit.org/show_bug.cgi?id=46883
2312
2313         * public/WebIDBDatabase.h:
2314         (WebKit::WebIDBDatabase::createObjectStore):
2315         (WebKit::WebIDBDatabase::removeObjectStore):
2316         * public/WebIDBObjectStore.h:
2317         (WebKit::WebIDBObjectStore::createIndex):
2318         (WebKit::WebIDBObjectStore::removeIndex):
2319         * src/IDBDatabaseProxy.cpp:
2320         (WebCore::IDBDatabaseProxy::createObjectStore):
2321         (WebCore::IDBDatabaseProxy::removeObjectStore):
2322         * src/IDBDatabaseProxy.h:
2323         * src/IDBObjectStoreProxy.cpp:
2324         (WebCore::IDBObjectStoreProxy::createIndex):
2325         (WebCore::IDBObjectStoreProxy::removeIndex):
2326         * src/IDBObjectStoreProxy.h:
2327         * src/WebIDBDatabaseImpl.cpp:
2328         (WebKit::WebIDBDatabaseImpl::createObjectStore):
2329         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
2330         * src/WebIDBDatabaseImpl.h:
2331         * src/WebIDBObjectStoreImpl.cpp:
2332         (WebKit::WebIDBObjectStoreImpl::createIndex):
2333         (WebKit::WebIDBObjectStoreImpl::removeIndex):
2334         * src/WebIDBObjectStoreImpl.h:
2335
2336 2010-10-04  Andrey Kosyakov  <caseq@chromium.org>
2337
2338         Reviewed by Yury Semikhatsky.
2339
2340         Web Inspector: [Chromium][Extension API] provide tab id of inspected tab in extension API
2341         https://bugs.webkit.org/show_bug.cgi?id=47080
2342
2343         * src/js/DevTools.js: Added a way for extension to get tabId of inspected window.
2344         (WebInspector.platformExtensionAPI):
2345         (WebInspector.buildPlatformExtensionAPI):
2346         (WebInspector.setInspectedTabId):
2347
2348 2010-10-04  Tony Gentilcore  <tonyg@chromium.org>
2349
2350         Reviewed by Darin Fisher.
2351
2352         [chromium] Properly clear WebKit cache when chromium cache is cleared
2353         https://bugs.webkit.org/show_bug.cgi?id=47119
2354
2355         Contributed by Ricardo Vargas.
2356
2357         See: http://code.google.com/p/chromium/issues/detail?id=54336
2358
2359         * src/WebCache.cpp:
2360         (WebKit::WebCache::clear):
2361
2362 2010-10-04  Nico Weber  <thakis@chromium.org>
2363
2364         Reviewed by Kenneth Russell.
2365
2366         Fix broken C++ in PODInterval and PODIntervalTree
2367         https://bugs.webkit.org/show_bug.cgi?id=47063
2368
2369         Change functions to be template specializations, like it's now required
2370         by PODIntervalTree and friends.
2371
2372         * tests/PODIntervalTreeTest.cpp:
2373
2374 2010-10-04  Matt Mueller  <mattm@chromium.org>
2375
2376         Reviewed by Darin Fisher.
2377
2378         When building under chromium, build libwebkit as the same type (shared
2379         or static) as chromium.  Fixes problems with multiple calls to global
2380         initializers/finalizers in shared chromium build.
2381         https://bugs.webkit.org/show_bug.cgi?id=46762
2382
2383         * WebKit.gyp:
2384
2385 2010-10-04  Alpha Lam  <hclam@chromium.org>
2386
2387         Build fix. Not reviewed.
2388
2389         Remove a function declaration.
2390
2391         * src/ChromeClientImpl.h:
2392
2393 2010-10-04  Alpha Lam  <hclam@chromium.org>
2394
2395         Build fix. Not reviewed.
2396
2397         https://bugs.webkit.org/show_bug.cgi?id=47135
2398         Add a stub method to make the build happy.
2399
2400         * src/ApplicationCacheHost.cpp:
2401         (WebCore::ApplicationCacheHost::stopLoadingInFrame):
2402
2403 2010-10-04  Chris Marrin  <cmarrin@apple.com>
2404
2405         Reviewed by James Robinson.
2406
2407         Move SharedGraphicsContext3D from ChromeClient to Page
2408         https://bugs.webkit.org/show_bug.cgi?id=47113
2409
2410         * src/ChromeClientImpl.cpp:
2411         * src/WebViewImpl.cpp:
2412         * src/WebViewImpl.h:
2413
2414 2010-10-04  Jeremy Orlow  <jorlow@chromium.org>
2415
2416         Reviewed by Nate Chapin.
2417
2418         Implement IndexedDB's oncomplete and ontimeout.
2419         https://bugs.webkit.org/show_bug.cgi?id=47106
2420
2421         * public/WebIDBTransactionCallbacks.h:
2422         (WebKit::WebIDBTransactionCallbacks::id):
2423         (WebKit::WebIDBTransactionCallbacks::onAbort):
2424         (WebKit::WebIDBTransactionCallbacks::onComplete):
2425         (WebKit::WebIDBTransactionCallbacks::onTimeout):
2426         * src/IDBTransactionCallbacksProxy.cpp:
2427         (WebCore::IDBTransactionCallbacksProxy::onComplete):
2428         (WebCore::IDBTransactionCallbacksProxy::onTimeout):
2429         * src/IDBTransactionCallbacksProxy.h:
2430         * src/WebIDBTransactionCallbacksImpl.cpp:
2431         (WebCore::WebIDBTransactionCallbacksImpl::onComplete):
2432         (WebCore::WebIDBTransactionCallbacksImpl::onTimeout):
2433         * src/WebIDBTransactionCallbacksImpl.h:
2434
2435 2010-10-04  Adam Barth  <abarth@webkit.org>
2436
2437         Reviewed by Darin Adler.
2438
2439         Rename RedirectScheduler to NavigationScheduler
2440         https://bugs.webkit.org/show_bug.cgi?id=47037
2441
2442         Update for name change.
2443
2444         * src/ApplicationCacheHost.cpp:
2445         (WebCore::ApplicationCacheHost::selectCacheWithManifest):
2446         * src/WebFrameImpl.cpp:
2447         (WebKit::WebFrameImpl::loadJavaScriptURL):
2448
2449 2010-10-01  Victoria Kirst  <vrk@google.com>
2450
2451         Reviewed by James Robinson.
2452
2453         Fixing crash when audio media player is destructed
2454         https://bugs.webkit.org/show_bug.cgi?id=47020
2455
2456         Creates the VideoLayerChromium layer only if the media player contains
2457         a video.
2458
2459         * src/WebMediaPlayerClientImpl.cpp:
2460         (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
2461         (WebKit::WebMediaPlayerClientImpl::create):
2462
2463 2010-10-01  Mihai Parparita  <mihaip@chromium.org>
2464
2465         Reviewed by Nate Chapin.
2466
2467         [Chromium] Remove WebURLLoaderClient::didFinishLoading(WebURLLoader*)
2468         https://bugs.webkit.org/show_bug.cgi?id=47008
2469
2470         Now that WebURLLoaderClient::didFinishLoading(WebURLLoader*) has no
2471         more callers, it can be removed (requires a Chromium roll to
2472         http://crrev.com/61206, which actually removed the last usage).
2473
2474         * DEPS:
2475         * public/WebURLLoaderClient.h:
2476
2477 2010-10-01  Daniel Cheng  <dcheng@chromium.org>
2478
2479         Reviewed by Tony Chang.
2480
2481         [chromium] Minor naming cleanup in WebDragData
2482         https://bugs.webkit.org/show_bug.cgi?id=46937
2483
2484         This is a two-part patch--one to add the new methods with normalized
2485         names that follow general WebKit convention, and a followup patch to
2486         remove the original methods once Chromium is updated.
2487
2488         * public/WebDragData.h:
2489         * src/WebDragData.cpp:
2490         (WebKit::WebDragData::hasFileNames): renamed to containsFilenames
2491         (WebKit::WebDragData::fileNames): renamed to filenames
2492         (WebKit::WebDragData::setFileNames): renamed to setFilenames
2493         (WebKit::WebDragData::appendToFileNames): renamed to appendToFilenames
2494         (WebKit::WebDragData::containsFilenames):
2495         (WebKit::WebDragData::filenames):
2496         (WebKit::WebDragData::setFilenames):
2497         (WebKit::WebDragData::appendToFilenames):
2498         (WebKit::WebDragData::fileContentFileName): renamed to fileContentFilename
2499         (WebKit::WebDragData::setFileContentFileName): renamed to setFileContentFilename
2500         (WebKit::WebDragData::fileContentFilename):
2501         (WebKit::WebDragData::setFileContentFilename):
2502
2503 2010-10-01  Jochen Eisinger  <jochen@chromium.org>
2504
2505         Reviewed by Darin Fisher.
2506
2507         [chromium] add an identifier method to WebFrame. The identifier can be used to identify
2508         a given frame of a view over time. Using a pointer to the WebFrame object is fragile,
2509         since a new frame might have been allocated at the same address as an old, deleted frame.
2510         https://bugs.webkit.org/show_bug.cgi?id=46884
2511
2512         * public/WebFrame.h:
2513         * src/WebFrameImpl.cpp:
2514         (WebKit::generateFrameIdentifier):
2515         (WebKit::WebFrameImpl::identifier):
2516         (WebKit::WebFrameImpl::WebFrameImpl):
2517         * src/WebFrameImpl.h:
2518
2519 2010-09-29  John Abd-El-Malek  <jam@chromium.org>
2520
2521         Reviewed by Darin Fisher.
2522
2523         [chromium] Changes to consolidate plugin zoom
2524         https://bugs.webkit.org/show_bug.cgi?id=46550
2525
2526         * public/WebPlugin.h:
2527         (WebKit::WebPlugin::setZoomLevel):
2528         * public/WebPluginContainer.h:
2529         * public/WebView.h:
2530         * public/WebViewClient.h:
2531         (WebKit::WebViewClient::zoomLimitsChanged):
2532         (WebKit::WebViewClient::zoomLevelChanged):
2533         * src/FrameLoaderClientImpl.cpp:
2534         (WebKit::FrameLoaderClientImpl::createPlugin):
2535         * src/WebPluginContainerImpl.cpp:
2536         (WebKit::WebPluginContainerImpl::loadFrameRequest):
2537         (WebKit::WebPluginContainerImpl::zoomChanged):
2538         (WebKit::WebPluginContainerImpl::zoomLimitsChanged):
2539         * src/WebPluginContainerImpl.h:
2540         * src/WebViewImpl.cpp:
2541         (WebKit::WebViewImpl::WebViewImpl):
2542         (WebKit::WebViewImpl::zoomLevel):
2543         (WebKit::WebViewImpl::setZoomLevel):
2544         (WebKit::WebViewImpl::zoomLimitsChanged):
2545         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
2546         (WebKit::WebView::zoomLevelToZoomFactor):
2547         (WebKit::WebView::zoomFactorToZoomLevel):
2548         * src/WebViewImpl.h:
2549
2550 2010-09-30  MORITA Hajime  <morrita@google.com>
2551
2552         Reviewed by James Robinson.
2553
2554         [Chromium] build fails unless ACCELERATED_2D_CANVAS defined
2555         https://bugs.webkit.org/show_bug.cgi?id=46955
2556         
2557         Added ifdef guard around SharedGraphicsContext3D.
2558
2559         * src/WebViewImpl.cpp:
2560         (WebKit::WebViewImpl::getSharedGraphicsContext3D):
2561         * src/WebViewImpl.h:
2562
2563 2010-09-30  Alexey Marinichev  <amarinichev@chromium.org>
2564
2565         Reviewed by Chris Marrin.
2566
2567         Add GetGraphicsResetStatusARB entry point from ARB_robustness
2568         extension to GraphicsContext3D
2569         https://bugs.webkit.org/show_bug.cgi?id=46850
2570
2571         Added a stub for GraphicsContext3D::getGraphicsResetStatusARB.
2572
2573         * src/GraphicsContext3DChromium.cpp:
2574         (WebCore::GraphicsContext3D::getGraphicsResetStatusARB):
2575
2576 2010-09-30  Dumitru Daniliuc  <dumi@chromium.org>
2577
2578         Reviewed by Darin Fisher.
2579
2580         Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
2581
2582         * public/WebHTTPBody.h:
2583         * src/WebHTTPBody.cpp:
2584         (WebKit::WebHTTPBody::elementAt):
2585
2586 2010-09-30  Nico Weber  <thakis@chromium.org>
2587
2588         Reviewed by Adam Barth.
2589
2590         [chromium] Fix clang error in KURLTest.cpp
2591         https://bugs.webkit.org/show_bug.cgi?id=46861
2592
2593         * tests/KURLTest.cpp:
2594         (WTF::operator<<):
2595
2596 2010-09-30  Daniel Cheng  <dcheng@chromium.org>
2597
2598         Reviewed by Tony Chang.
2599
2600         [chromium] Refactor ChromiumDataObject to use getters/setters.
2601         https://bugs.webkit.org/show_bug.cgi?id=46559
2602
2603         This is an intermediate step to converting ChromiumDataObject to use
2604         callbacks to the browser to retrieve data.
2605
2606         * public/WebDragData.h:
2607         * src/WebDragData.cpp:
2608         (WebKit::WebDragData::initialize):
2609         (WebKit::WebDragData::url):
2610         (WebKit::WebDragData::setURL):
2611         (WebKit::WebDragData::urlTitle):
2612         (WebKit::WebDragData::setURLTitle):
2613         (WebKit::WebDragData::downloadMetadata):
2614         (WebKit::WebDragData::setDownloadMetadata):
2615         (WebKit::WebDragData::fileExtension):
2616         (WebKit::WebDragData::setFileExtension):
2617         (WebKit::WebDragData::hasFileNames):
2618         (WebKit::WebDragData::fileNames):
2619         (WebKit::WebDragData::setFileNames):
2620         (WebKit::WebDragData::appendToFileNames):
2621         (WebKit::WebDragData::plainText):
2622         (WebKit::WebDragData::setPlainText):
2623         (WebKit::WebDragData::htmlText):
2624         (WebKit::WebDragData::setHTMLText):
2625         (WebKit::WebDragData::htmlBaseURL):
2626         (WebKit::WebDragData::setHTMLBaseURL):
2627         (WebKit::WebDragData::fileContentFileName):
2628         (WebKit::WebDragData::setFileContentFileName):
2629         (WebKit::WebDragData::fileContent):
2630         (WebKit::WebDragData::setFileContent):
2631
2632 2010-09-29  Zhenyao Mo  <zmo@google.com>
2633
2634         Reviewed by Kenneth Russell.
2635
2636         glsl-conformance.html on khronos will crash chromium --in-process-webgl
2637         https://bugs.webkit.org/show_bug.cgi?id=46863
2638
2639         * src/WebGraphicsContext3DDefaultImpl.cpp: Make ShaderSourceMap as <ShaderID, ShaderSourceEntry*>, so map resizing will be efficient and we don't need to worry about pointer copying.
2640         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
2641         (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
2642         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
2643         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
2644         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
2645         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
2646         (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
2647         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
2648         * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
2649         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
2650
2651 2010-09-30  Andrei Popescu  <andreip@google.com>
2652
2653         Reviewed by Jeremy Orlow.
2654
2655         [Chromium] WebIDBDatabase and WebIDBObjectStore are missing methods called from Chromium land.
2656         https://bugs.webkit.org/show_bug.cgi?id=46922
2657         
2658         The missing functions were removed in r68795.
2659
2660         * public/WebIDBDatabase.h:
2661         (WebKit::WebIDBDatabase::createObjectStore):
2662         (WebKit::WebIDBDatabase::removeObjectStore):
2663         * public/WebIDBObjectStore.h:
2664         (WebKit::WebIDBObjectStore::createIndex):
2665         (WebKit::WebIDBObjectStore::removeIndex):
2666
2667 2010-09-29  Kenneth Russell  <kbr@google.com>
2668
2669         Reviewed by Dimitri Glazkov.
2670
2671         [chromium] Add accelerated compositing support to DumpRenderTree and test_shell
2672         https://bugs.webkit.org/show_bug.cgi?id=46849
2673
2674         Added offscreen code path for WebGraphicsContext3DDefaultImpl which
2675         works with the compositor integration in both DumpRenderTree and
2676         test_shell, since both pass a non-null WebCanvas* to WebViewImpl::paint
2677         and thereby trigger the compositor's readback code path. Added support
2678         for --enable-accelerated-compositing to DumpRenderTree.
2679
2680         Tested in both test_shell and DumpRenderTree on Linux, the latter by
2681         modifying a compositing layout test, dumping the pixels and verifying
2682         that they matched the output when the compositor was active.
2683
2684         * src/WebGraphicsContext3DDefaultImpl.cpp:
2685         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
2686         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
2687         (WebKit::WebGraphicsContext3DDefaultImpl::resolveMultisampledFramebuffer):
2688         (WebKit::WebGraphicsContext3DDefaultImpl::getPlatformTextureId):
2689         (WebKit::WebGraphicsContext3DDefaultImpl::prepareTexture):
2690         (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
2691         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
2692         (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
2693         (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
2694         * src/WebGraphicsContext3DDefaultImpl.h:
2695
2696 2010-09-29  Jeremy Orlow  <jorlow@chromium.org>
2697
2698         Reviewed by Steve Block.
2699
2700         Finished IDBTransaction for IndexedDB
2701         https://bugs.webkit.org/show_bug.cgi?id=46823
2702
2703         Plumbing.
2704
2705         * public/WebIDBCallbacks.h:
2706         (WebKit::WebIDBCallbacks::onSuccess):
2707         * public/WebIDBDatabase.h:
2708         (WebKit::WebIDBDatabase::createObjectStore):
2709         (WebKit::WebIDBDatabase::removeObjectStore):
2710         (WebKit::WebIDBDatabase::close):
2711         * public/WebIDBIndex.h:
2712         (WebKit::WebIDBIndex::openObjectCursor):
2713         (WebKit::WebIDBIndex::openCursor):
2714         (WebKit::WebIDBIndex::getObject):
2715         (WebKit::WebIDBIndex::get):
2716         * public/WebIDBObjectStore.h:
2717         (WebKit::WebIDBObjectStore::get):
2718         (WebKit::WebIDBObjectStore::put):
2719         (WebKit::WebIDBObjectStore::remove):
2720         (WebKit::WebIDBObjectStore::createIndex):
2721         (WebKit::WebIDBObjectStore::removeIndex):
2722         (WebKit::WebIDBObjectStore::openCursor):
2723         * public/WebIDBTransaction.h:
2724         (WebKit::WebIDBTransaction::id):
2725         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
2726         * src/IDBCallbacksProxy.cpp:
2727         (WebCore::IDBCallbacksProxy::onSuccess):
2728         * src/IDBCallbacksProxy.h:
2729         * src/IDBDatabaseProxy.cpp:
2730         (WebCore::IDBDatabaseProxy::createObjectStore):
2731         (WebCore::IDBDatabaseProxy::removeObjectStore):
2732         (WebCore::IDBDatabaseProxy::close):
2733         * src/IDBDatabaseProxy.h:
2734         * src/IDBIndexBackendProxy.cpp:
2735         (WebCore::IDBIndexBackendProxy::openObjectCursor):
2736         (WebCore::IDBIndexBackendProxy::openCursor):
2737         (WebCore::IDBIndexBackendProxy::getObject):
2738         (WebCore::IDBIndexBackendProxy::get):
2739         * src/IDBIndexBackendProxy.h:
2740         * src/IDBObjectStoreProxy.cpp:
2741         (WebCore::IDBObjectStoreProxy::put):
2742         (WebCore::IDBObjectStoreProxy::remove):
2743         (WebCore::IDBObjectStoreProxy::createIndex):
2744         (WebCore::IDBObjectStoreProxy::removeIndex):
2745         (WebCore::IDBObjectStoreProxy::openCursor):
2746         * src/IDBObjectStoreProxy.h:
2747         * src/IDBTransactionBackendProxy.cpp:
2748         (WebCore::IDBTransactionBackendProxy::IDBTransactionBackendProxy):
2749         * src/WebIDBCallbacksImpl.cpp:
2750         (WebCore::WebIDBCallbacksImpl::onSuccess):
2751         * src/WebIDBCallbacksImpl.h:
2752         * src/WebIDBDatabaseImpl.cpp:
2753         (WebKit::WebIDBDatabaseImpl::createObjectStore):
2754         (WebKit::WebIDBDatabaseImpl::removeObjectStore):
2755         (WebKit::WebIDBDatabaseImpl::close):
2756         * src/WebIDBDatabaseImpl.h:
2757         * src/WebIDBIndexImpl.cpp:
2758         (WebKit::WebIDBIndexImpl::openCursor):
2759         (WebKit::WebIDBIndexImpl::openObjectCursor):
2760         (WebKit::WebIDBIndexImpl::getObject):
2761         (WebKit::WebIDBIndexImpl::get):
2762         * src/WebIDBIndexImpl.h:
2763         * src/WebIDBObjectStoreImpl.cpp:
2764         (WebKit::WebIDBObjectStoreImpl::put):
2765         (WebKit::WebIDBObjectStoreImpl::remove):
2766         (WebKit::WebIDBObjectStoreImpl::createIndex):
2767         (WebKit::WebIDBObjectStoreImpl::removeIndex):
2768         (WebKit::WebIDBObjectStoreImpl::openCursor):
2769         * src/WebIDBObjectStoreImpl.h:
2770
2771 2010-09-29  Andrey Kosyakov  <caseq@chromium.org>
2772
2773         Reviewed by Pavel Feldman.
2774
2775         Web Inspector: display headers actually used by network stack in Resources tab
2776         Added plumbing for raw headers flag and response field between chromium and WebCore.
2777         https://bugs.webkit.org/show_bug.cgi?id=46092
2778
2779         * WebKit.gyp:
2780         * public/WebResourceRawHeaders.h: Added.
2781         * public/WebURLRequest.h:
2782         * public/WebURLResponse.h:
2783         * src/WebDevToolsAgentImpl.cpp:
2784         (WebKit::WebDevToolsAgentImpl::willSendRequest):
2785         * src/WebResourceRawHeaders.cpp: Added.
2786         (WebKit::WebResourceRawHeaders::WebResourceRawHeaders):
2787         (WebKit::WebResourceRawHeaders::~WebResourceRawHeaders):
2788         (WebKit::WebResourceRawHeaders::operator WTF::PassRefPtr<WebCore::ResourceRawHeaders>):
2789         (WebKit::addHeader):
2790         (WebKit::WebResourceRawHeaders::addRequestHeader):
2791         (WebKit::WebResourceRawHeaders::addResponseHeader):
2792         * src/WebURLRequest.cpp:
2793         (WebKit::WebURLRequest::setReportRawHeaders):
2794         (WebKit::WebURLRequest::reportRawHeaders):
2795         * src/WebURLResponse.cpp:
2796         (WebKit::WebURLResponse::resourceRawHeaders):
2797         (WebKit::WebURLResponse::setResourceRawHeaders):
2798         * src/WebURLResponsePrivate.h:
2799
2800 2010-09-30  Avi Drissman  <avi@google.com>
2801
2802         Reviewed by Kenneth Russell.
2803
2804         [Chromium] Tabbing into page doesn't always select the first element
2805         https://bugs.webkit.org/show_bug.cgi?id=46856
2806
2807         * src/WebViewImpl.cpp:
2808         (WebKit::WebViewImpl::setInitialFocus):
2809
2810 2010-09-30  Alexey Marinichev  <amarinichev@chromium.org>
2811
2812         Reviewed by Kenneth Russell.
2813
2814         Rename chromium's GraphicsContext3D.cpp to match others.
2815         https://bugs.webkit.org/show_bug.cgi?id=46771
2816
2817         * WebKit.gyp:
2818         * src/GraphicsContext3DChromium.cpp: Renamed from WebKit/chromium/src/GraphicsContext3D.cpp.
2819
2820 2010-09-29  Kent Tamura  <tkent@chromium.org>
2821
2822         Reviewed by Dimitri Glazkov.
2823
2824         Refactor HTMLInputElement: Make DeprecatedInputType private.
2825         https://bugs.webkit.org/show_bug.cgi?id=46791
2826
2827         * src/WebPasswordFormUtils.cpp:
2828         (WebKit::findPasswordFormFields):
2829          Accept any text field types as a username field.
2830         * src/WebSearchableFormData.cpp:
2831         (WebCore::HasSuitableTextElement):
2832          Accept any text field types as a search query field.
2833
2834 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
2835
2836         Reviewed by Dumitru Daniliuc.
2837
2838         Add removeRecursively to WebKit WebFileSystem API
2839         https://bugs.webkit.org/show_bug.cgi?id=46842
2840
2841         * public/WebFileSystem.h:
2842         (WebKit::WebFileSystem::removeRecursively): Added.
2843
2844 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
2845
2846         Reviewed by David Levin.
2847
2848         Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries
2849         https://bugs.webkit.org/show_bug.cgi?id=46563
2850
2851         * src/WebFileSystemCallbacksImpl.cpp:
2852         (WebKit::WebFileSystemCallbacksImpl::didReadDirectory):
2853
2854 2010-09-29  Tony Chang  <tony@chromium.org>
2855
2856         Reviewed by James Robinson.
2857
2858         [chromium] enable -Werror for DRT and webkit_unit_tests on Linux
2859         https://bugs.webkit.org/show_bug.cgi?id=46829
2860
2861         * WebKit.gyp:
2862         * tests/ArenaTestHelpers.h:
2863         (WebCore::ArenaTestHelpers::TrackedAllocator::free):
2864         * tests/IDBKeyPathTest.cpp:
2865         (WebCore::checkKeyPath):
2866
2867 2010-09-29  Tony Chang  <tony@chromium.org>
2868
2869         Reviewed by James Robinson.
2870
2871         [chromium] enable -Werror on chromium linux webkit
2872         https://bugs.webkit.org/show_bug.cgi?id=46821
2873
2874         * WebKit.gyp:
2875         * src/gtk/WebInputEventFactory.cpp:
2876
2877 2010-09-29  Mihai Parparita  <mihaip@chromium.org>
2878
2879         Unreviewed removal of unused #define from WebHistory.h.
2880         Chromium usage of WEBKIT_BUG_40451_IS_FIXED was removed with
2881         http://crrev.com/50642.
2882
2883         * public/WebHistoryItem.h:
2884
2885 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
2886
2887         Unreviewed, adding one more missing change from the last patch.
2888         https://bugs.webkit.org/show_bug.cgi?id=46524
2889
2890         * WebKit.gyp:
2891
2892 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
2893
2894         Unreviewed, adding the new files that were supposed to be added
2895         but I missed to include in my previous patch.
2896         https://bugs.webkit.org/show_bug.cgi?id=46524
2897
2898         * src/WorkerAsyncFileSystemChromium.cpp: Added.
2899         * src/WorkerAsyncFileSystemChromium.h: Added.
2900
2901 2010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
2902
2903         Reviewed by David Levin.
2904
2905         Bridge all FileSystem operations on Workers to the MainThread
2906         https://bugs.webkit.org/show_bug.cgi?id=46524
2907
2908         * src/LocalFileSystemChromium.cpp:
2909         (WebCore::LocalFileSystem::requestFileSystem): Changed the worker case
2910         code to create WebFileSystemCallbacksImpl with the current
2911         ScriptExecutionContext (WorkerContext).
2912         * src/WebFileSystemCallbacksImpl.cpp:
2913         (WebKit::WebFileSystemCallbacksImpl::WebFileSystemCallbacksImpl): Added
2914         a new constructor that takes ScriptExecutionContext (WorkerContext)
2915         for workers.
2916         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem): Added the
2917         code for workers that creates WorkerAsyncFileSystemChromium.
2918         * src/WebFileSystemCallbacksImpl.h:
2919         * src/WorkerAsyncFileSystemChromium.cpp: Added.
2920         * src/WorkerAsyncFileSystemChromium.h: Added.
2921         * src/WorkerFileSystemCallbacksBridge.cpp: Added methods for regular
2922         file system operations to proxy them to the main thread.
2923         (WebKit::WorkerFileSystemCallbacksBridge::createForOpenFileSystem):
2924         (WebKit::WorkerFileSystemCallbacksBridge::createForMove):
2925         (WebKit::WorkerFileSystemCallbacksBridge::createForCopy):
2926         (WebKit::WorkerFileSystemCallbacksBridge::createForRemove):
2927         (WebKit::WorkerFileSystemCallbacksBridge::createForReadMetadata):
2928         (WebKit::WorkerFileSystemCallbacksBridge::createForCreateFile):
2929         (WebKit::WorkerFileSystemCallbacksBridge::createForCreateDirectory):
2930         (WebKit::WorkerFileSystemCallbacksBridge::createForFileExists):
2931         (WebKit::WorkerFileSystemCallbacksBridge::createForDirectoryExists):
2932         (WebKit::WorkerFileSystemCallbacksBridge::createForReadDirectory):
2933         (WebKit::MainThreadFileSystemCallbacks::didSucceed):
2934         (WebKit::MainThreadFileSystemCallbacks::didReadMetadata):
2935         (WebKit::MainThreadFileSystemCallbacks::didReadDirectory):
2936         (WebKit::WorkerFileSystemCallbacksBridge::openFileSystemOnMainThread):
2937         (WebKit::WorkerFileSystemCallbacksBridge::moveOnMainThread):
2938         (WebKit::WorkerFileSystemCallbacksBridge::copyOnMainThread):
2939         (WebKit::WorkerFileSystemCallbacksBridge::removeOnMainThread):
2940         (WebKit::WorkerFileSystemCallbacksBridge::readMetadataOnMainThread):
2941         (WebKit::WorkerFileSystemCallbacksBridge::createFileOnMainThread):
2942         (WebKit::WorkerFileSystemCallbacksBridge::createDirectoryOnMainThread):
2943         (WebKit::WorkerFileSystemCallbacksBridge::fileExistsOnMainThread):
2944         (WebKit::WorkerFileSystemCallbacksBridge::directoryExistsOnMainThread):
2945         (WebKit::WorkerFileSystemCallbacksBridge::readDirectoryOnMainThread):
2946         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
2947         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
2948         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
2949         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnWorkerThread):
2950         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnWorkerThread):
2951         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnWorkerThread):
2952         (WebKit::WorkerFileSystemCallbacksBridge::derefIfWorkerIsStopped):
2953         * src/WorkerFileSystemCallbacksBridge.h:
2954
2955 2010-09-29  Matt Perry  <mpcomplete@chromium.org>
2956
2957         Reviewed by Darin Fisher.
2958
2959         Remove obsolete registerExtension variants from chromium port.
2960         https://bugs.webkit.org/show_bug.cgi?id=46683
2961
2962         * public/WebScriptController.h:
2963         * src/WebScriptController.cpp:
2964
2965 2010-09-29  Chris Guillory  <chris.guillory@google.com>
2966
2967         Reviewed by Dimitri Glazkov.
2968
2969         Add method which checks if a WebAccessibilityObject is in the cache.
2970         https://bugs.webkit.org/show_bug.cgi?id=46605
2971
2972         * public/WebAccessibilityCache.h:
2973         * src/WebAccessibilityCacheImpl.cpp:
2974         (WebKit::WebAccessibilityCacheImpl::isCached):
2975         * src/WebAccessibilityCacheImpl.h:
2976
2977 2010-09-29  Anantanarayanan G Iyengar  <ananta@chromium.org>
2978
2979         Reviewed by Darin Fisher.
2980
2981         [chromium] Honor z-index specified by a plugin
2982         https://bugs.webkit.org/show_bug.cgi?id=46223
2983         
2984         The Chromium plugin code which implements the iframe shim technique
2985         for overlaying a windowed plugin with content on the page should
2986         honor the z-index specified on the plugin widget. If the z-index
2987         here is greater than the enclosing iframe shim then the plugin
2988         should be displayed over the iframe. Updated the layout test to test
2989         for this case. Skipped the plugins/iframe-shims.html layout test on
2990         platforms which don't support it.
2991
2992         * src/WebPluginContainerImpl.cpp:
2993
2994 2010-09-28  Vangelis Kokkevis  <vangelis@chromium.org>
2995
2996         Reviewed by Kenneth Russell.
2997
2998         [chromium] Keep the accelerated compositor around even after a page is
2999         done using it to avoid startup costs in pages that frequently switch
3000         the compositor on and off.
3001         https://bugs.webkit.org/show_bug.cgi?id=45845
3002
3003         * src/WebViewImpl.cpp:
3004         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3005
3006 2010-09-28  Nat Duca  <nduca@chromium.org>
3007
3008         Reviewed by James Robinson.
3009
3010         [chromium] invalidateRootLayerRect needs to schedule compositor
3011         https://bugs.webkit.org/show_bug.cgi?id=46219
3012
3013         Make sure setRootLayerNedsDisplay is called by root invalidation.
3014         To avoid confusion about root-layer versus non-root-layer
3015         behavior, move the root layer damage state to the WebView.
3016
3017         * src/WebViewImpl.cpp:
3018         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
3019         (WebKit::WebViewImpl::scrollRootLayerRect):
3020         (WebKit::WebViewImpl::invalidateRootLayerRect):
3021         (WebKit::WebViewImpl::doComposite):
3022         * src/WebViewImpl.h:
3023
3024 2010-09-28  Jenn Braithwaite  <jennb@chromium.org>
3025
3026         Reviewed by Dmitry Titov.
3027
3028         Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
3029         https://bugs.webkit.org/show_bug.cgi?id=46663
3030
3031         * src/FrameLoaderClientImpl.cpp:
3032         (WebKit::FrameLoaderClientImpl::didTransferChildFrameToNewDocument):
3033         * src/FrameLoaderClientImpl.h:
3034
3035 2010-09-28  Andrei Popescu  <andreip@google.com>
3036
3037         Reviewed by Jeremy Orlow.
3038
3039         [Chromium] Linking error due to wrong guard in WebIDBTransaction.h
3040         https://bugs.webkit.org/show_bug.cgi?id=46710
3041
3042         Remove the wrong guard.
3043
3044         * public/WebIDBTransaction.h:
3045         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
3046
3047 2010-09-27  Alpha Lam  <hclam@chromium.org>
3048
3049         Build fix. Not reviewed.
3050
3051         Use if instead of switch to avoid compilation error.
3052
3053         * src/VideoFrameChromiumImpl.cpp:
3054         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
3055
3056 2010-09-27  Alpha Lam  <hclam@chromium.org>
3057
3058         Build fix. Not reviewed.
3059
3060         Remove constant definitions from this file.
3061
3062         * src/VideoFrameChromiumImpl.cpp:
3063
3064 2010-09-27  Alpha Lam  <hclam@chromium.org>
3065
3066         Build fix. Not reviewed.
3067
3068         Fix warnings again.
3069
3070         * src/VideoFrameChromiumImpl.cpp:
3071         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
3072
3073 2010-09-27  Alpha Lam  <hclam@chromium.org>
3074
3075         Build fix. Not reviewed.
3076
3077         Add a default for unhandled cases for switch statement.
3078
3079         * src/VideoFrameChromiumImpl.cpp:
3080         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
3081
3082 2010-09-27  Victoria Kirst  <vrk@google.com>
3083
3084         Reviewed by James Robinson.
3085
3086         Fixing constants in VideoFrameChromiumImpl so that it overloads the
3087         VideoFrameChromium const declarations. Also adding logic such that a
3088         VideoFrameChromium understands what size its texture should be based
3089         on frame format.
3090         https://bugs.webkit.org/show_bug.cgi?id=45069
3091
3092         * src/VideoFrameChromiumImpl.cpp:
3093
3094 2010-09-27  Vangelis Kokkevis  <vangelis@chromium.org>
3095
3096         Reviewed by James Robinson.
3097
3098         [chromium] WebViewImpl now holds a ref counted pointer to the LayerRendererChromium
3099         to ensure that the compositor does not get destroyed before the layers used
3100         by it do. This was done to ensure that layers properly clean up their texture
3101         resources on destruction.
3102         https://bugs.webkit.org/show_bug.cgi?id=46139
3103
3104         * src/WebViewImpl.cpp:
3105         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3106         * src/WebViewImpl.h:
3107
3108 2010-09-24  Zhenyao Mo  <zmo@google.com>
3109
3110         Reviewed by Kenneth Russell.
3111
3112         Hook up ANGLE with chromium --in-process-webgl port
3113         https://bugs.webkit.org/show_bug.cgi?id=44309
3114
3115         * WebKit.gyp: Add angle dependency.
3116         * src/WebGraphicsContext3DDefaultImpl.cpp: Using angle for shader validation and translation.
3117         (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
3118         (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
3119         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
3120         (WebKit::WebGraphicsContext3DDefaultImpl::compileShader):
3121         (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv): Using defined const instead.
3122         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderiv):
3123         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderInfoLog):
3124         (WebKit::WebGraphicsContext3DDefaultImpl::getShaderSource):
3125         (WebKit::WebGraphicsContext3DDefaultImpl::shaderSource):
3126         (WebKit::WebGraphicsContext3DDefaultImpl::createShader):
3127         (WebKit::WebGraphicsContext3DDefaultImpl::deleteShader):
3128         (WebKit::WebGraphicsContext3DDefaultImpl::angleCreateCompilers):
3129         (WebKit::WebGraphicsContext3DDefaultImpl::angleDestroyCompilers):
3130         (WebKit::WebGraphicsContext3DDefaultImpl::angleValidateShaderSource):
3131         * src/WebGraphicsContext3DDefaultImpl.h: Add necessary data and functions for angle stuff.
3132         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::ShaderSourceEntry):
3133         (WebKit::WebGraphicsContext3DDefaultImpl::ShaderSourceEntry::~ShaderSourceEntry):
3134
3135 2010-09-27  Kinuko Yasuda  <kinuko@chromium.org>
3136
3137         Reviewed by Adam Barth.
3138
3139         [Cleanup] Add create method to FileSystemCallbacks to get rid of naked new's
3140         https://bugs.webkit.org/show_bug.cgi?id=46561
3141
3142         Also cleanup the callbacks layering to pass AsyncFileSystemCallbacks
3143         object to LocalFileSystem::requestFileSystem (rather than
3144         FileSystemCallback and ErrorCallback) so that all the callbacks class
3145         we pass from WebCore to WebKit/chromium/src will be
3146         AsyncFileSystemCallbacks.
3147
3148         * src/LocalFileSystemChromium.cpp:
3149         (WebCore::LocalFileSystem::requestFileSystem): Changed to take
3150         AsyncFileSystemCallbacks as (a) callback argument(s).
3151
3152 2010-09-24  Tony Chang  <tony@chromium.org>
3153
3154         Reviewed by Kent Tamura.
3155
3156         [chromium] remove unused gtk WebScreenInfoFactory
3157         https://bugs.webkit.org/show_bug.cgi?id=46526
3158
3159         AFAICT these files aren't referenced in code or by gyp.
3160
3161         * WebKit.gyp: Remove duplicate filename.
3162         * public/gtk/WebScreenInfoFactory.h: Removed.
3163         * src/gtk/WebScreenInfoFactory.cpp: Removed.
3164
3165 2010-09-26  Mihai Parparita  <mihaip@chromium.org>
3166
3167         Reviewed by Adam Barth.
3168
3169         [Chromium] Remove no longer used WebView member functions
3170         https://bugs.webkit.org/show_bug.cgi?id=46515
3171         
3172         With http://crrev.com/60526 there's no longer any Chromium code calling
3173         the non-static versions of addUserScript and addUserStyleSheet.
3174
3175         * public/WebView.h:
3176
3177 2010-09-25  Nicolas Weber  <thakis@chromium.org>
3178
3179         Reviewed by James Robinson.
3180
3181         [chromium] Fix clang warning/error.
3182         https://bugs.webkit.org/show_bug.cgi?id=46552
3183
3184         * src/WorkerFileSystemCallbacksBridge.h:
3185
3186 2010-09-24  Mihai Parparita  <mihaip@chromium.org>
3187
3188         Reviewed by Darin Fisher.
3189
3190         [Chromium] Unnecessary blob dependency in WebKit.gyp
3191         https://bugs.webkit.org/show_bug.cgi?id=46488
3192         
3193         r66322 shouldn't have added a blob dependency by hand to targets in
3194         WebKit.gyp, instead blob should be a dependency of webkit_support.
3195         http://crrev.com/59406 did that, so we can now remove these deps.
3196
3197         * WebKit.gyp:
3198
3199 2010-09-24  Ryosuke Niwa  <rniwa@webkit.org>
3200
3201         Reviewed by Tony Chang.
3202
3203         [chromium] Implement TextInputController::firstRectForCharacterRange
3204         https://bugs.webkit.org/show_bug.cgi?id=38100
3205
3206         Implemented TextInputController::firstRectForCharacterRange for chromium platform.
3207         Because the function needs to return an array of integers, added makeIntArray to WebBindings.
3208         makeIntArray does not take Vector because WebBindings.h is included in plugin glue code
3209         where it cannot find wtf/Vector.h.
3210
3211         No new tests are added since we need to implement the same feature in chromium side
3212         in order to enable any tests that uses this function.
3213
3214         * public/WebBindings.h:
3215         * public/WebFrame.h:
3216         * src/WebBindings.cpp:
3217         (WebKit::makeIntArrayImpl): Added.
3218         (WebKit::WebBindings::makeIntArray): Added.
3219         * src/WebFrameImpl.cpp:
3220         (WebKit::WebFrameImpl::firstRectForCharacterRange): Added.
3221         * src/WebFrameImpl.h:
3222
3223 2010-09-24  Tony Chang  <tony@chromium.org>
3224
3225         Unreviewed, fix chromium compile after r68276 which renamed
3226         Render*::minPrefWidth to minPreferredLogicalWidth.
3227
3228         * src/WebFrameImpl.cpp:
3229         (WebKit::WebFrameImpl::contentsPreferredWidth):
3230
3231 2010-09-24  Eric Uhrhane  <ericu@chromium.org>
3232
3233         Reviewed by David Levin.
3234
3235         Remove unnecessary parameter from AsyncFileWriterClient::didTruncate
3236         https://bugs.webkit.org/show_bug.cgi?id=46390
3237
3238         * public/WebFileWriterClient.h:
3239         * src/AsyncFileWriterChromium.cpp:
3240         * src/AsyncFileWriterChromium.h:
3241
3242 2010-09-24  Chris Guillory   <chris.guillory@google.com>
3243
3244         Reviewed by Chris Fleizach.
3245
3246         Send webkit accessibility notifications to Chromium.
3247         https://bugs.webkit.org/show_bug.cgi?id=45156
3248
3249         * public/WebAccessibilityCache.h:
3250         * public/WebViewClient.h:
3251         * src/ChromeClientImpl.cpp:
3252         (WebKit::ChromeClientImpl::focusedNodeChanged):
3253         (WebKit::ChromeClientImpl::getPopupMenuInfo):
3254         * src/ChromeClientImpl.h:
3255         * src/WebAccessibilityCache.cpp:
3256         (WebKit::WebAccessibilityCache::accessibilityEnabled):
3257
3258 2010-09-23  Kent Tamura  <tkent@chromium.org>
3259
3260         Reviewed by Dimitri Glazkov.
3261
3262         [Chromium] Fix some IndexedDB tests for DRT
3263         https://bugs.webkit.org/show_bug.cgi?id=46444
3264
3265         * DEPS: Roll Chromium revision to 60394, which added
3266         WebKitClient::createIDBKeysFromSerializedValuesAndKeyPath() implementation.
3267
3268 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
3269
3270         Unreviewed, another attempt to fix build.  The code didn't have proper if-defs.
3271
3272         * src/WebWorkerBase.cpp:
3273         (WebKit::WebWorkerBase::openFileSystem):
3274         * src/WebWorkerBase.h:
3275         * src/WorkerFileSystemCallbacksBridge.h:
3276
3277 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
3278
3279         Unreviewed; build fix attempt.
3280
3281         * src/WebWorkerBase.cpp:
3282         (WebKit::WebWorkerBase::openFileSystem):
3283         * src/WorkerFileSystemCallbacksBridge.h:
3284
3285 2010-09-23  Kinuko Yasuda  <kinuko@chromium.org>
3286
3287         Reviewed by David Levin.
3288
3289         Add Worker support for FileSystem API
3290         https://bugs.webkit.org/show_bug.cgi?id=45808
3291
3292         Added WebWorkerBase::openFileSystem and WebCommonWorkerClient::
3293         openFileSystem to call in to the browser via Worker stub/proxy
3294         in the chromium.
3295
3296         Also added WorkerFileSystemCallbacksBridge class that proxies
3297         requests and callbacks between from/to worker thread to/from the
3298         main thread.
3299
3300         * public/WebCommonWorkerClient.h:
3301         (WebKit::WebCommonWorkerClient::openFileSystem): Added.
3302         * src/LocalFileSystemChromium.cpp:
3303         (WebCore::LocalFileSystem::localFileSystem): Added.
3304         (WebCore::LocalFileSystem::requestFileSystem): Added implementation
3305         for workers. In worker case this calls WebWorkerBase::openFileSystem.
3306         * src/WebWorkerBase.cpp:
3307         (WebKit::WebWorkerBase::openFileSystem): Added. This is called from
3308         LocalFileSystem::requestFileSystem on the worker thread and creates
3309         a bridge to call WebCommonWorkerClient::openFileSystem on the main
3310         thread.
3311         * src/WebWorkerBase.h:
3312         * src/WebWorkerClientImpl.h:
3313         (WebKit::WebWorkerClientImpl::openFileSystem): Added.
3314         * src/WorkerFileSystemCallbacksBridge.cpp: Added.
3315         * src/WorkerFileSystemCallbacksBridge.h: Added.
3316
3317 2010-09-23  Tony Chang  <tony@chromium.org>
3318
3319         Reviewed by Dimitri Glazkov.
3320
3321         [chromium] implement layoutTestController.sampleSVGAnimationForElementAtTime
3322         https://bugs.webkit.org/show_bug.cgi?id=46426
3323
3324         * public/WebFrame.h:
3325         * src/WebFrameImpl.cpp:
3326         (WebKit::WebFrameImpl::pauseSVGAnimation):
3327         * src/WebFrameImpl.h:
3328
3329 2010-09-23  Tony Chang  <tony@chromium.org>
3330
3331         Reviewed by David Levin.
3332
3333         [chromium] add caretBrowsingEnabled to WebSettings and DRT
3334         https://bugs.webkit.org/show_bug.cgi?id=46388
3335
3336         * public/WebSettings.h:
3337         * src/WebSettingsImpl.cpp:
3338         (WebKit::WebSettingsImpl::setCaretBrowsingEnabled):
3339         * src/WebSettingsImpl.h:
3340
3341 2010-09-23  Eric Uhrhane  <ericu@chromium.org>
3342
3343         Reviewed by David Levin.
3344
3345         Rename FileWriterClient to AsyncFileWriterClient.
3346         https://bugs.webkit.org/show_bug.cgi?id=46325
3347
3348         * src/AsyncFileSystemChromium.cpp:
3349         * src/AsyncFileSystemChromium.h:
3350         * src/AsyncFileWriterChromium.cpp:
3351         * src/AsyncFileWriterChromium.h:
3352
3353 2010-09-23  Nate Chapin  <japhet@chromium.org>
3354
3355         Reviewed by Darin Fisher.
3356
3357         Add hyperlink auditing settings (i.e., <a ping>).
3358         https://bugs.webkit.org/show_bug.cgi?id=30458
3359
3360         * public/WebSettings.h:
3361         * src/WebSettingsImpl.cpp:
3362         (WebKit::WebSettingsImpl::setHyperlinkAuditingEnabled):
3363         * src/WebSettingsImpl.h:
3364
3365 2010-09-23  Andrey Kosyakov  <caseq@chromium.org>
3366
3367         Unreviewed build fix ("WTF/" -> "wtf/" in include, broke Arm build)
3368
3369         * src/AsyncFileWriterChromium.h:
3370
3371 2010-09-08  Tony Gentilcore  <tonyg@chromium.org>
3372
3373         Reviewed by Darin Fisher.
3374
3375         [chromium] Add chromium port API for accessing Web Timing information
3376         https://bugs.webkit.org/show_bug.cgi?id=45428
3377
3378         * WebKit.gyp:
3379         * public/WebFrame.h:
3380         * public/WebPerformance.h: Added.
3381         (WebKit::WebPerformance::WebPerformance):
3382         * src/WebFrameImpl.cpp:
3383         (WebKit::WebFrameImpl::performance):
3384         * src/WebFrameImpl.h:
3385         * src/WebPerformance.cpp: Added.
3386         (WebKit::WebPerformance::WebPerformance):
3387         (WebKit::WebPerformance::~WebPerformance):
3388         (WebKit::WebPerformance::operator=):
3389         (WebKit::WebPerformance::navigationType):
3390         (WebKit::WebPerformance::navigationStart):
3391         (WebKit::WebPerformance::unloadEventEnd):
3392         (WebKit::WebPerformance::redirectStart):
3393         (WebKit::WebPerformance::redirectEnd):
3394         (WebKit::WebPerformance::redirectCount):
3395         (WebKit::WebPerformance::fetchStart):
3396         (WebKit::WebPerformance::domainLookupStart):
3397         (WebKit::WebPerformance::domainLookupEnd):
3398         (WebKit::WebPerformance::connectStart):
3399         (WebKit::WebPerformance::connectEnd):
3400         (WebKit::WebPerformance::requestStart):
3401         (WebKit::WebPerformance::requestEnd):
3402         (WebKit::WebPerformance::responseStart):
3403         (WebKit::WebPerformance::responseEnd):
3404         (WebKit::WebPerformance::loadEventStart):
3405         (WebKit::WebPerformance::loadEventEnd):
3406         (WebKit::WebPerformance::operator PassRefPtr<Performance>):
3407
3408 2010-09-23  Andrei Popescu  <andreip@google.com>
3409
3410         Reviewed by Jeremy Orlow.
3411
3412         IDBObjectStore::get should run in a transaction.
3413         https://bugs.webkit.org/show_bug.cgi?id=44700
3414
3415         * public/WebIDBFactory.h:
3416         * public/WebIDBObjectStore.h:
3417         * public/WebIDBTransaction.h:
3418         (WebKit::WebIDBTransaction::didCompleteTaskEvents):
3419         (WebKit::WebIDBTransaction::getIDBTransactionBackendInterface):
3420         * src/IDBDatabaseProxy.h:
3421         * src/IDBFactoryBackendProxy.cpp:
3422         * src/IDBFactoryBackendProxy.h:
3423         * src/IDBObjectStoreProxy.cpp:
3424         (WebCore::IDBObjectStoreProxy::get):
3425         * src/IDBObjectStoreProxy.h:
3426         * src/IDBTransactionBackendProxy.cpp:
3427         (WebCore::IDBTransactionBackendProxy::scheduleTask):
3428         (WebCore::IDBTransactionBackendProxy::didCompleteTaskEvents):
3429         * src/IDBTransactionBackendProxy.h:
3430         (WebCore::IDBTransactionBackendProxy::getWebIDBTransaction):
3431         * src/WebIDBFactoryImpl.cpp:
3432         * src/WebIDBFactoryImpl.h:
3433         * src/WebIDBObjectStoreImpl.cpp:
3434         (WebKit::WebIDBObjectStoreImpl::get):
3435         * src/WebIDBObjectStoreImpl.h:
3436         * src/WebIDBTransactionImpl.cpp:
3437         (WebKit::WebIDBTransactionImpl::didCompleteTaskEvents):
3438         (WebKit::WebIDBTransactionImpl::getIDBTransactionBackendInterface):
3439         * src/WebIDBTransactionImpl.h:
3440
3441 2010-09-23  Jeremy Orlow  <jorlow@chromium.org>
3442
3443         Unreviewed small fix for my last patch.
3444
3445         * public/WebIDBTransaction.h:
3446         (WebKit::WebIDBTransaction::id):
3447
3448 2010-09-22  Mihai Parparita  <mihaip@chromium.org>
3449
3450         Reviewed by Darin Fisher.
3451
3452         [Chromium] User style layout tests don't pass on Chromium
3453         https://bugs.webkit.org/show_bug.cgi?id=46069
3454         
3455         Expose UserStyleInjectionTime in WebView.
3456
3457         * public/WebView.h:
3458         * src/WebViewImpl.cpp:
3459         (WebKit::WebView::addUserStyleSheet):
3460
3461 2010-09-22  James Robinson  <jamesr@chromium.org>
3462
3463         [chromium] Re-synchronizes features.gypi with upstream feature_overrides.gypi.
3464
3465         * features.gypi:
3466
3467 2010-09-22  Ruben  <chromium@hybridsource.org>
3468
3469         Reviewed by Tony Chang.
3470
3471         [chromium] added ifdefs for FreeBSD support
3472         https://bugs.webkit.org/show_bug.cgi?id=46316
3473
3474         * WebKit.gyp:
3475         * features.gypi:
3476         * src/ChromiumBridge.cpp:
3477         * src/WebFrameImpl.cpp:
3478         (WebKit::ChromePrintContext::spoolPage):
3479         * src/WebViewImpl.cpp:
3480         (WebKit::WebViewImpl::mouseDown):
3481         (WebKit::WebViewImpl::mouseUp):
3482         (WebKit::WebViewImpl::keyEvent):
3483         (WebKit::WebViewImpl::setScrollbarColors):
3484         (WebKit::WebViewImpl::setSelectionColors):
3485
3486 2010-09-22  Eric Uhrhane  <ericu@chromium.org>
3487
3488         Reviewed by Dumitru Daniliuc.
3489
3490         Add Chromium implementation for FileWriter
3491         https://bugs.webkit.org/show_bug.cgi?id=44361
3492
3493         No new tests; the implementation's not yet far enough along for that.
3494
3495         This makes a chain of construction-and-linking-up for various sorts of
3496         FileWriter interfaces to call through to Chromium, and for various
3497         sorts of FileWriterClients to call back, with object ownership always
3498         pointing towards the Chromium API.  That is, the DOM object owns an
3499         AsyncFileWriter, which owns its implementation object, and the reverse
3500         (client) direction is raw pointers.
3501
3502         File metadata is looked up before the FileWriter is returned, so that
3503         we know the file exists and can cache its length.
3504
3505         The WebKit/chromium interface here is modeled after that of the
3506         FileSystem.
3507         
3508         * public/WebFileInfo.h:
3509         (WebKit::WebFileInfo::WebFileInfo):
3510         * src/AsyncFileSystemChromium.cpp:
3511         (WebCore::FileWriterHelperCallbacks::FileWriterHelperCallbacks):
3512         (WebCore::FileWriterHelperCallbacks::didSucceed):
3513         (WebCore::FileWriterHelperCallbacks::didReadMetadata):
3514         (WebCore::FileWriterHelperCallbacks::didReadDirectory):
3515         (WebCore::FileWriterHelperCallbacks::didOpenFileSystem):
3516         (WebCore::FileWriterHelperCallbacks::didCreateFileWriter):
3517         (WebCore::FileWriterHelperCallbacks::didFail):
3518         (WebCore::AsyncFileSystemChromium::createWriter):
3519         * src/AsyncFileSystemChromium.h:
3520         * src/AsyncFileWriterChromium.cpp:
3521         (WebCore::AsyncFileWriterChromium::setWebFileWriter):
3522         (WebCore::AsyncFileWriterChromium::write):
3523         (WebCore::AsyncFileWriterChromium::didFail):
3524         * src/AsyncFileWriterChromium.h:
3525         * src/WebFileSystemCallbacksImpl.h:
3526
3527 2010-09-22  Kenneth Russell  <kbr@google.com>
3528
3529         Unreviewed, Chromium build fix. Fix build when accelerated
3530         compositing is not enabled at compile time.
3531
3532         * src/WebViewImpl.cpp:
3533         (WebKit::WebViewImpl::resize):
3534
3535 2010-09-22  Matt Perry  <mpcomplete@chromium.org>
3536
3537         Reviewed by Darin Fisher.
3538
3539         Trying to reland a version of r67749:
3540         Have V8DOMWindowShell ask the embedder whether to run a V8 extension
3541         in a particular script context.
3542         https://bugs.webkit.org/show_bug.cgi?id=45721
3543
3544         * public/WebFrameClient.h:
3545         (WebKit::WebFrameClient::allowScriptExtension):
3546         * public/WebScriptController.h:
3547         * src/FrameLoaderClientImpl.cpp:
3548         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
3549         * src/FrameLoaderClientImpl.h:
3550         * src/WebScriptController.cpp:
3551         (WebKit::WebScriptController::registerExtension):
3552
3553 2010-09-22  Jeremy Orlow  <jorlow@chromium.org>
3554
3555         Reviewed by Darin Fisher.
3556
3557         [Chromium] Change WebKit API for IDBTransaciton to new style
3558         https://bugs.webkit.org/show_bug.cgi?id=46263
3559
3560         * public/WebIDBIndex.h:
3561         (WebKit::WebIDBIndex::openObjectCursor):
3562         (WebKit::WebIDBIndex::openCursor):
3563         (WebKit::WebIDBIndex::getObject):
3564         (WebKit::WebIDBIndex::get):
3565         * public/WebIDBObjectStore.h:
3566         (WebKit::WebIDBObjectStore::get):
3567         (WebKit::WebIDBObjectStore::put):
3568         (WebKit::WebIDBObjectStore::remove):
3569         (WebKit::WebIDBObjectStore::openCursor):
3570         * src/WebIDBIndexImpl.cpp:
3571         (WebKit::WebIDBIndexImpl::openCursor):
3572         (WebKit::WebIDBIndexImpl::openObjectCursor):
3573         (WebKit::WebIDBIndexImpl::getObject):
3574         (WebKit::WebIDBIndexImpl::get):
3575         * src/WebIDBIndexImpl.h:
3576         * src/WebIDBObjectStoreImpl.cpp:
3577         (WebKit::WebIDBObjectStoreImpl::get):
3578         (WebKit::WebIDBObjectStoreImpl::put):
3579         (WebKit::WebIDBObjectStoreImpl::remove):
3580         (WebKit::WebIDBObjectStoreImpl::openCursor):
3581         * src/WebIDBObjectStoreImpl.h:
3582
3583 2010-09-22  Pavel Podivilov  <podivilov@chromium.org>
3584
3585         Reviewed by Pavel Feldman.
3586
3587         Web Inspector: implement pausing on XHR
3588         https://bugs.webkit.org/show_bug.cgi?id=46086
3589
3590         * src/js/DevTools.js:
3591         ():
3592
3593 2010-09-21  Brett Wilson  <brettw@chromium.org>
3594
3595         Reviewed by Darin Fisher.
3596
3597         Add caps log and num lock toggle state to WebInputEvent.
3598         https://bugs.webkit.org/show_bug.cgi?id=46229
3599
3600         * public/WebInputEvent.h:
3601         * src/WebViewImpl.cpp:
3602         (WebKit::WebViewImpl::handleInputEvent):
3603         * src/WebViewImpl.h:
3604         * src/gtk/WebInputEventFactory.cpp:
3605         (WebKit::gdkStateToWebEventModifiers):
3606         * src/win/WebInputEventFactory.cpp:
3607         (WebKit::SetToggleKeyState):
3608         (WebKit::WebInputEventFactory::keyboardEvent):
3609         (WebKit::WebInputEventFactory::mouseEvent):
3610         (WebKit::WebInputEventFactory::mouseWheelEvent):
3611
3612 2010-09-21  James Robinson  <jamesr@chromium.org>
3613
3614         Reviewed by Kenneth Russell.
3615
3616         [chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D()
3617         https://bugs.webkit.org/show_bug.cgi?id=46239
3618
3619         This adds a check for whether acceleratedCompositingEnabled is true on the Page's Settings
3620         object before creating and vending a GraphicsContext3D object.  This is needed because when
3621         an offscreen WebGraphicsContext3DCommandBufferImpl is initialized it first asks the WebViewImpl
3622         for the compositor context.  WebGraphicsContext3DCommandBufferImpl::initialize checks if the
3623         disable accelerated compositing command line switch is set, but this is insufficient as sometimes
3624         the Setting object does not agree exactly with the command line switches.  For example,
3625         we explicitly toggle accelerated compositing for some chrome UI URLs regardless of what the
3626         flag says.
3627
3628         * src/WebViewImpl.cpp:
3629         (WebKit::WebViewImpl::graphicsContext3D):
3630
3631 2010-09-21  Kent Tamura  <tkent@chromium.org>
3632
3633         Reviewed by David Levin.
3634
3635         [Chromium] Remove WebInputElement::InputType and inputType()
3636         https://bugs.webkit.org/show_bug.cgi?id=46238
3637
3638         * DEPS: Roll Chromium revision to 60132, which removed all usage of inputType().
3639         * public/WebInputElement.h: Remove InputType and inputType().
3640         * src/AssertMatchingEnums.cpp: Remove WebInputElement::InputType -
3641           HTMLInputElement::InputType matching tests.
3642         * src/WebInputElement.cpp: Remove inputType().
3643
3644 2010-09-21  Andrew Wilson  <atwilson@chromium.org>
3645
3646         Unreviewed, rolling out r67982.
3647         http://trac.webkit.org/changeset/67982
3648         https://bugs.webkit.org/show_bug.cgi?id=45156
3649
3650         Causes crashes on chromium testshell
3651
3652         * public/WebAccessibilityCache.h:
3653         * public/WebViewClient.h:
3654         (WebKit::WebViewClient::didChangeAccessibilityObjectState):
3655         (WebKit::WebViewClient::didChangeAccessibilityObjectChildren):
3656         * src/ChromeClientImpl.cpp:
3657         (WebKit::ChromeClientImpl::focusedNodeChanged):
3658         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
3659         (WebKit::ChromeClientImpl::didChangeAccessibilityObjectChildren):
3660         * src/ChromeClientImpl.h:
3661         * src/WebAccessibilityCache.cpp:
3662
3663 2010-09-21  Kenneth Russell  <kbr@google.com>
3664
3665         Reviewed by James Robinson.
3666
3667         [chromium] Remove GLES2Context and WebGLES2Context
3668         https://bugs.webkit.org/show_bug.cgi?id=46131
3669
3670         Removed now-obsolete GLES2Context and WebGLES2Context classes, and
3671         dependency on command buffer client code from WebCore. Built and
3672         tested 3D CSS and WebGL content on Mac OS X to test.
3673
3674         * WebKit.gyp:
3675         * public/WebGLES2Context.h: Removed.
3676         * public/WebGraphicsContext3D.h:
3677         * public/WebKitClient.h:
3678         * public/WebView.h:
3679         * src/ChromeClientImpl.cpp:
3680         * src/GLES2Context.cpp: Removed.
3681         * src/GLES2ContextInternal.cpp: Removed.
3682         * src/GLES2ContextInternal.h: Removed.
3683         * src/WebGraphicsContext3DDefaultImpl.cpp:
3684         * src/WebGraphicsContext3DDefaultImpl.h:
3685         * src/WebViewImpl.cpp:
3686         * src/WebViewImpl.h:
3687
3688 2010-09-21  Kenneth Russell  <kbr@google.com>
3689
3690         Reviewed by James Robinson.
3691
3692         [chromium] Roll forward Chromium DEPS to pick up removal of WebGLES2Context dependencies
3693         https://bugs.webkit.org/show_bug.cgi?id=46231
3694
3695         Ran build-webkit --chromium --debug on Mac OS X to test the roll-forward.
3696
3697         * DEPS:
3698
3699 2010-09-21  Jeremy Orlow  <jorlow@chromium.org>
3700
3701         Reviewed by Nate Chapin.
3702
3703         [Chromium] Plumb the IDBTransansaction's id
3704         https://bugs.webkit.org/show_bug.cgi?id=46197
3705
3706         Next step, add the plumbing to Chromium.  Then we add code to WebKit
3707         that uses it (and take out the default IDBTransaction param).
3708
3709         * public/WebIDBCursor.h:
3710         (WebKit::WebIDBCursor::key):
3711         (WebKit::WebIDBCursor::value):
3712         * public/WebIDBFactory.h:
3713         (WebKit::WebIDBFactory::open):
3714         * public/WebIDBIndex.h:
3715         (WebKit::WebIDBIndex::openObjectCursor):
3716         (WebKit::WebIDBIndex::openCursor):
3717         (WebKit::WebIDBIndex::getObject):
3718         (WebKit::WebIDBIndex::get):
3719         * public/WebIDBObjectStore.h:
3720         (WebKit::WebIDBObjectStore::get):
3721         (WebKit::WebIDBObjectStore::put):
3722         (WebKit::WebIDBObjectStore::remove):
3723         (WebKit::WebIDBObjectStore::createIndex):
3724         (WebKit::WebIDBObjectStore::removeIndex):
3725         (WebKit::WebIDBObjectStore::openCursor):
3726         * src/WebIDBIndexImpl.cpp:
3727         (WebKit::WebIDBIndexImpl::openCursor):
3728         (WebKit::WebIDBIndexImpl::openObjectCursor):
3729         (WebKit::WebIDBIndexImpl::getObject):
3730         (WebKit::WebIDBIndexImpl::get):
3731         * src/WebIDBIndexImpl.h:
3732         * src/WebIDBObjectStoreImpl.cpp:
3733         (WebKit::WebIDBObjectStoreImpl::get):
3734         (WebKit::WebIDBObjectStoreImpl::put):
3735         (WebKit::WebIDBObjectStoreImpl::remove):
3736         (WebKit::WebIDBObjectStoreImpl::openCursor):
3737         * src/WebIDBObjectStoreImpl.h:
3738
3739 2010-09-21  Chris Guillory   <chris.guillory@google.com>
3740
3741         Reviewed by Chris Fleizach.
3742
3743         Send webkit accessibility notifications to Chromium.
3744         https://bugs.webkit.org/show_bug.cgi?id=45156
3745
3746         * public/WebAccessibilityCache.h:
3747         * public/WebViewClient.h:
3748         * src/ChromeClientImpl.cpp:
3749         (WebKit::ChromeClientImpl::focusedNodeChanged):
3750         (WebKit::ChromeClientImpl::getPopupMenuInfo):
3751         * src/ChromeClientImpl.h:
3752         * src/WebAccessibilityCache.cpp:
3753         (WebKit::WebAccessibilityCache::accessibilityEnabled):
3754
3755 2010-09-21  Steve Block  <steveblock@google.com>
3756
3757         Reviewed by Jeremy Orlow.
3758
3759         DeviceOrientationClient and DeviceMotionClient should have controllerDestroyed() methods
3760         https://bugs.webkit.org/show_bug.cgi?id=45891
3761
3762         Implements DeviceOrientationClientProxy::deviceOrientationControllerDestroyed() as a no-op,
3763         as the client's lifetime is determined by the WebViewImpl.
3764
3765         * src/DeviceOrientationClientProxy.cpp:
3766         (WebKit::DeviceOrientationClientProxy::deviceOrientationControllerDestroyed):
3767         * src/DeviceOrientationClientProxy.h:
3768
3769 2010-09-21  Jochen Eisinger  <jochen@chromium.org>
3770
3771         Reviewed by Jeremy Orlow.
3772
3773         [chromium] expose the filename used for a given indexed DB
3774         https://bugs.webkit.org/show_bug.cgi?id=46090
3775
3776         * WebKit.gyp:
3777         * public/WebIDBFactory.h:
3778         * src/WebIDBFactory.cpp:
3779         (WebKit::WebIDBFactory::databaseFileName):
3780
3781 2010-09-20  Philippe Normand  <pnormand@igalia.com>
3782
3783         Reviewed by Eric Carlson.
3784
3785         [GTK] enhanced context menu for media elements
3786         https://bugs.webkit.org/show_bug.cgi?id=45021
3787
3788         New localized strings for the media element context-menu.
3789
3790         * src/LocalizedStrings.cpp:
3791         (WebCore::contextMenuItemTagOpenVideoInNewWindow):
3792         (WebCore::contextMenuItemTagOpenAudioInNewWindow):
3793         (WebCore::contextMenuItemTagCopyVideoLinkToClipboard):
3794         (WebCore::contextMenuItemTagCopyAudioLinkToClipboard):
3795         (WebCore::contextMenuItemTagToggleMediaControls):
3796         (WebCore::contextMenuItemTagToggleMediaLoop):
3797         (WebCore::contextMenuItemTagEnterVideoFullscreen):
3798         (WebCore::contextMenuItemTagMediaPlay):
3799         (WebCore::contextMenuItemTagMediaPause):
3800         (WebCore::contextMenuItemTagMediaMute):
3801
3802 2010-09-20  Nico Weber  <thakis@chromium.org>
3803
3804         Reviewed by James Robinson.
3805
3806         [chromium] Trivial clang warning fix
3807         https://bugs.webkit.org/show_bug.cgi?id=46143
3808
3809         * src/WebFileSystemCallbacksImpl.h:
3810
3811 2010-09-20  Darin Adler  <darin@apple.com>
3812
3813         Reviewed by James Robinson.
3814
3815         Deprecate the inputType function on HTMLInputElement
3816         https://bugs.webkit.org/show_bug.cgi?id=46023
3817
3818         * src/WebInputElement.cpp:
3819         (WebKit::WebInputElement::inputType):
3820         * src/WebPasswordFormUtils.cpp:
3821         (WebKit::findPasswordFormFields):
3822         * src/WebSearchableFormData.cpp:
3823         (WebCore::HasSuitableTextElement):
3824         Use deprecatedInputType instead of inputType.
3825
3826 2010-09-20  Kenneth Russell  <kbr@google.com>
3827
3828         Reviewed by James Robinson.
3829
3830         [chromium] Change compositor to use GraphicsContext3D rather than GLES2Context
3831         https://bugs.webkit.org/show_bug.cgi?id=45912
3832
3833         Switched Chromium's compositor to use GraphicsContext3D to issue
3834         its OpenGL rendering calls rather than the Chromium-specific
3835         GLES2Context and command buffer OpenGL implementation.
3836
3837         The in-process software rendering path for GraphicsContext3D does
3838         not yet work with the compositor, at least not on Mac OS X. This
3839         will be worked on in subsequent bugs.
3840
3841         Tested manually with 3D CSS, WebGL and video content on Mac OS X
3842         and Linux. No new tests.
3843
3844         * src/GraphicsContext3D.cpp:
3845         (WebCore::GraphicsContext3DInternal::initialize):
3846         (WebCore::GraphicsContext3DInternal::extractWebGraphicsContext3D):
3847         (WebCore::GraphicsContext3D::create):
3848         * src/GraphicsContext3DInternal.h:
3849         * src/WebViewImpl.cpp:
3850         (WebKit::WebViewImpl::resize):
3851         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3852         (WebKit::WebViewImpl::gles2Context):
3853         (WebKit::WebViewImpl::graphicsContext3D):
3854         * src/WebViewImpl.h:
3855
3856 2010-09-20  Kenneth Russell  <kbr@google.com>
3857
3858         Reviewed by Dimitri Glazkov.
3859
3860         [chromium] Roll forward Chromium DEPS to pick up WebGraphicsContext3D implementation changes
3861         https://bugs.webkit.org/show_bug.cgi?id=46115
3862
3863         * DEPS:
3864
3865 2010-09-20  Ilya Tikhonovsky  <loislo@chromium.org>
3866
3867         Reviewed by Pavel Feldman.
3868
3869         Web Inspector: merge Inspector client runtime events into the serialized inspector state object.
3870
3871         Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data.
3872
3873         https://bugs.webkit.org/show_bug.cgi?id=45974
3874
3875         * src/InspectorClientImpl.cpp:
3876         (WebKit::InspectorClientImpl::updateInspectorStateCookie):
3877         * src/InspectorClientImpl.h:
3878         * src/WebDevToolsAgentImpl.cpp:
3879         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
3880         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
3881         (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
3882         * src/WebDevToolsAgentImpl.h:
3883
3884 2010-09-19  Sheriff Bot  <webkit.review.bot@gmail.com>
3885
3886         Unreviewed, rolling out r67749.
3887         http://trac.webkit.org/changeset/67749
3888         https://bugs.webkit.org/show_bug.cgi?id=46068
3889
3890         breaking ToT chromium canary build (Requested by shans on
3891         #webkit).
3892
3893         * public/WebFrameClient.h:
3894         * public/WebScriptController.h:
3895         * src/FrameLoaderClientImpl.cpp:
3896         * src/FrameLoaderClientImpl.h:
3897         * src/WebScriptController.cpp:
3898         (WebKit::WebScriptController::registerExtension):
3899
3900 2010-09-19  Kent Tamura  <tkent@chromium.org>
3901
3902         Reviewed by Dimitri Glazkov.
3903
3904         [Chromium] Add is<input type>() functions to WebInputElement
3905         https://bugs.webkit.org/show_bug.cgi?id=46035
3906
3907         We're going to stop exposing HTMLInputElemnt::InputType. So, add
3908         isFoo() functions in order to remove WebInputElement::InputType.
3909
3910         * public/WebInputElement.h:
3911         * src/WebInputElement.cpp:
3912         (WebKit::WebInputElement::isTextField):
3913         (WebKit::WebInputElement::isText):
3914         (WebKit::WebInputElement::isPasswordField):
3915         (WebKit::WebInputElement::isImageButton):
3916
3917 2010-09-17  Darin Adler  <darin@apple.com>
3918
3919         Reviewed by Sam Weinig.
3920
3921         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
3922         https://bugs.webkit.org/show_bug.cgi?id=42863
3923
3924         * src/FrameLoaderClientImpl.cpp:
3925         (WebKit::FrameLoaderClientImpl::createPlugin):
3926         * src/WebViewImpl.cpp:
3927         (WebKit::WebViewImpl::setZoomLevel):
3928         Call functions on Frame instead of FrameView.
3929
3930 2010-09-17  Kenneth Russell  <kbr@google.com>
3931
3932         Reviewed by James Robinson.
3933
3934         [chromium] Roll forward Chromium DEPS to pick up Mesa DRT changes
3935         https://bugs.webkit.org/show_bug.cgi?id=46006
3936
3937         * DEPS:
3938
3939 2010-09-17  Kenneth Russell  <kbr@google.com>
3940
3941         Reviewed by Dimitri Glazkov.
3942
3943         [chromium] Add mesa as DumpRenderTree dependency
3944         https://bugs.webkit.org/show_bug.cgi?id=46001
3945
3946         * WebKit.gyp:
3947
3948 2010-09-13  Matt Perry  <mpcomplete@chromium.org>
3949
3950         Reviewed by Darin Fisher.
3951
3952         Have V8DOMWindowShell ask the embedder whether to run a V8 extension
3953         in a particular script context.
3954         https://bugs.webkit.org/show_bug.cgi?id=45721
3955
3956         * public/WebFrameClient.h:
3957         (WebKit::WebFrameClient::allowScriptExtension):
3958         * public/WebScriptController.h:
3959         * src/FrameLoaderClientImpl.cpp:
3960         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
3961         * src/FrameLoaderClientImpl.h:
3962         * src/WebScriptController.cpp:
3963         (WebKit::WebScriptController::registerExtension):
3964
3965 2010-09-17  Eric Uhrhane  <ericu@chromium.org>
3966
3967         Reviewed by David Levin.
3968
3969         Remove unimplemented destructor declaration to fix Chromium build.
3970         https://bugs.webkit.org/show_bug.cgi?id=45987
3971
3972         * src/AsyncFileWriterChromium.h:
3973
3974 2010-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>
3975
3976         Unreviewed, rolling out r67693.
3977         http://trac.webkit.org/changeset/67693
3978         https://bugs.webkit.org/show_bug.cgi?id=45946
3979
3980         "Need to pick up a chromium change first" (Requested by dumi
3981         on #webkit).
3982
3983         * public/WebHTTPBody.h:
3984         * src/WebHTTPBody.cpp:
3985         (WebKit::WebHTTPBody::elementAt):
3986         (WebKit::WebHTTPBody::appendFileRange):
3987
3988 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
3989
3990         Reviewed by Darin Fisher.
3991
3992         Remove WebHTTPBody::appendFileRange(..., const WebFileInfo&).
3993
3994         * public/WebHTTPBody.h:
3995         * src/WebHTTPBody.cpp:
3996         (WebKit::WebHTTPBody::elementAt):
3997
3998 2010-09-16  Kenneth Russell  <kbr@google.com>
3999
4000         Reviewed by James Robinson.
4001
4002         Add entry points to GraphicsContext3D needed for Chromium compositor port
4003         https://bugs.webkit.org/show_bug.cgi?id=45939
4004
4005         Added entry points for two Chromium-specific extensions, and added
4006         a flag to the GraphicsContext3D constructor, currently unsupported
4007         by all ports (including Chromium), indicating whether the context
4008         should render directly to the passed HostWindow or off-screen per
4009         the current semantics. The switch to use GraphicsContext3D in
4010         Chromium's compositor will follow in a subsequent patch.
4011
4012         No new tests; functionality is unchanged. Built and tested
4013         Chromium and WebKit on Mac OS X.
4014
4015         * src/GraphicsContext3D.cpp:
4016         (WebCore::GraphicsContext3D::GraphicsContext3D):
4017         (WebCore::GraphicsContext3D::create):
4018         * src/GraphicsContext3DInternal.h:
4019
4020 2010-09-16  Kenneth Russell  <kbr@google.com>
4021
4022         Reviewed by James Robinson.
4023
4024         [chromium] Add needed entry points to WebGraphicsContext3D for compositor
4025         https://bugs.webkit.org/show_bug.cgi?id=45921
4026
4027         * public/WebGraphicsContext3D.h:
4028         * src/WebGraphicsContext3DDefaultImpl.cpp:
4029         (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
4030         (WebKit::WebGraphicsContext3DDefaultImpl::supportsMapSubCHROMIUM):
4031         (WebKit::WebGraphicsContext3DDefaultImpl::mapBufferSubDataCHROMIUM):
4032         (WebKit::WebGraphicsContext3DDefaultImpl::unmapBufferSubDataCHROMIUM):
4033         (WebKit::WebGraphicsContext3DDefaultImpl::mapTexSubImage2DCHROMIUM):
4034         (WebKit::WebGraphicsContext3DDefaultImpl::unmapTexSubImage2DCHROMIUM):
4035         (WebKit::WebGraphicsContext3DDefaultImpl::supportsCopyTextureToParentTextureCHROMIUM):
4036         (WebKit::WebGraphicsContext3DDefaultImpl::copyTextureToParentTextureCHROMIUM):
4037         * src/WebGraphicsContext3DDefaultImpl.h:
4038
4039 2010-09-15  Tony Chang  <tony@chromium.org>
4040
4041         Reviewed by Kent Tamura.
4042
4043         [Chromium] Needs DRT queueLoadHTMLString and setDeferMainResourceLoad-implementations
4044         https://bugs.webkit.org/show_bug.cgi?id=42151
4045
4046         * public/WebDataSource.h:
4047         * src/WebDataSourceImpl.cpp:
4048         (WebKit::WebDataSourceImpl::applicationCacheHost):
4049         (WebKit::WebDataSourceImpl::setDeferMainResourceDataLoad): Added so DRT can set this flag before a load.
4050         * src/WebDataSourceImpl.h:
4051
4052 2010-09-16  Kenneth Russell  <kbr@google.com>
4053
4054         Reviewed by James Robinson.
4055
4056         Roll forward Chromium DEPS to r59706
4057         https://bugs.webkit.org/show_bug.cgi?id=45916
4058
4059         * DEPS:
4060
4061 2010-09-16  Darin Adler  <darin@apple.com>
4062
4063         Reviewed by Andreas Kling.
4064
4065         Reduce use of HTMLInputElement::inputType so we can remove it later
4066         https://bugs.webkit.org/show_bug.cgi?id=45903
4067
4068         * src/DOMUtilitiesPrivate.cpp:
4069         (WebKit::elementHasLegalLinkAttribute): Use isImageButton.
4070         * src/WebPasswordFormUtils.cpp:
4071         (WebKit::findPasswordFormFields): Use isPasswordField.
4072         * src/WebSearchableFormData.cpp:
4073         (WebCore::IsInDefaultState): Use isCheckbox and isRadioButton.
4074         (WebCore::HasSuitableTextElement): Use isFileUpload and isPasswordField.
4075
4076 2010-09-16  Kenneth Russell  <kbr@google.com>
4077
4078         Reviewed by James Robinson.
4079
4080         [chromium] Expose separate GraphicsContext3DInternal.h
4081         https://bugs.webkit.org/show_bug.cgi?id=45914
4082
4083         * WebKit.gyp:
4084         * src/GraphicsContext3D.cpp:
4085         * src/GraphicsContext3DInternal.h: Added.
4086
4087 2010-09-16  Kenneth Russell  <kbr@google.com>
4088
4089         Reviewed by James Robinson.
4090
4091         [chromium] Add WebGraphicsContext3D accessor to WebView
4092         https://bugs.webkit.org/show_bug.cgi?id=45913
4093
4094         * public/WebView.h:
4095         * src/WebViewImpl.cpp:
4096         (WebKit::WebViewImpl::WebViewImpl):
4097         (WebKit::WebViewImpl::graphicsContext3D):
4098         * src/WebViewImpl.h:
4099
4100 2010-09-16  Ilya Tikhonovsky  <loislo@chromium.org>
4101
4102         Reviewed by Yury Semikhatsky.
4103
4104         Web Inspector: move resourceTracking flag under control of BackendSettings.
4105
4106         Four Inspector API methods about resourceTracking flag were removed.
4107         Actual state of the flag is transfered as the response of setResourceTracking request.
4108         Initial state of the flag on the frontend side is obtained from settings.backend.
4109
4110         https://bugs.webkit.org/show_bug.cgi?id=45887
4111
4112         * src/WebDevToolsAgentImpl.cpp:
4113         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
4114         (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
4115
4116 2010-09-16  Yury Semikhatsky  <yurys@chromium.org>
4117
4118         Reviewed by Pavel Feldman.
4119
4120         Web Inspector: [REGRESSION] Scripts disappear from scripts panel after navigation
4121         https://bugs.webkit.org/show_bug.cgi?id=45890
4122
4123         * src/WebDevToolsAgentImpl.cpp:
4124         (WebKit::WebDevToolsAgentImpl::setRuntimeProperty): make sure debugger and profiler
4125         are initialized when inspected page navigation leads to renderer process change.
4126
4127 2010-09-16  Eric Uhrhane  <ericu@chromium.org>
4128
4129         Reviewed by Jian Li.
4130
4131         Unify FILE_SYSTEM and FILE_WRITER enables under the name FILE_SYSTEM.
4132         https://bugs.webkit.org/show_bug.cgi?id=45798
4133
4134         * src/AsyncFileWriterChromium.h:
4135         * src/AsyncFileWriterChromium.cpp:
4136
4137 2010-09-16  Nat Duca  <nduca@chromium.org>
4138
4139         Reviewed by Darin Fisher.
4140
4141         [chromium] Make compositor obey finish flag
4142         https://bugs.webkit.org/show_bug.cgi?id=45552
4143
4144         The compositor should obey the finish flag on doComposite. This
4145         flag causes the compositor to finish rendering before returning,
4146         which is needed when resizing the window to avoid flashes of green.
4147
4148         * src/WebViewImpl.cpp:
4149         (WebKit::WebViewImpl::composite):
4150
4151 2010-09-15  Jeremy Orlow  <jorlow@chromium.org>
4152
4153         Reviewed by Steve Block.
4154
4155         Allow the embedder to specify the base path for IndexedDB.
4156         https://bugs.webkit.org/show_bug.cgi?id=45815
4157
4158         Need to add the extra .open() parameter to make this all work.
4159
4160         * public/WebIDBFactory.h:
4161         (WebKit::WebIDBFactory::open):
4162         * src/IDBFactoryBackendProxy.cpp:
4163         (WebCore::IDBFactoryBackendProxy::open):
4164         * src/IDBFactoryBackendProxy.h:
4165         * src/WebIDBFactoryImpl.cpp:
4166         (WebKit::WebIDBFactoryImpl::open):
4167         * src/WebIDBFactoryImpl.h:
4168
4169 2010-09-16  Jeremy Orlow  <jorlow@chromium.org>
4170
4171         Speculative build fix.
4172
4173         * src/IDBIndexBackendProxy.cpp:
4174
4175 2010-09-08  Jeremy Orlow  <jorlow@chromium.org>
4176
4177         Reviewed by Steve Block.
4178
4179         Complete index support for IndexedDB
4180         https://bugs.webkit.org/show_bug.cgi?id=45386
4181
4182         * public/WebIDBCursor.h:
4183         (WebKit::WebIDBCursor::direction):
4184         (WebKit::WebIDBCursor::key):
4185         (WebKit::WebIDBCursor::value):
4186         (WebKit::WebIDBCursor::update):
4187         (WebKit::WebIDBCursor::continueFunction):
4188         (WebKit::WebIDBCursor::remove):
4189         * public/WebIDBIndex.h:
4190         (WebKit::WebIDBIndex::storeName):
4191         (WebKit::WebIDBIndex::openObjectCursor):
4192         (WebKit::WebIDBIndex::openCursor):
4193         (WebKit::WebIDBIndex::getObject):
4194         (WebKit::WebIDBIndex::get):
4195         * public/WebIDBKey.h:
4196         * src/IDBCursorBackendProxy.cpp:
4197         (WebCore::IDBCursorBackendProxy::value):
4198         * src/IDBCursorBackendProxy.h:
4199         * src/IDBIndexBackendProxy.cpp:
4200         (WebCore::IDBIndexBackendProxy::storeName):
4201         (WebCore::IDBIndexBackendProxy::openObjectCursor):
4202         (WebCore::IDBIndexBackendProxy::openCursor):
4203         (WebCore::IDBIndexBackendProxy::getObject):
4204         (WebCore::IDBIndexBackendProxy::get):
4205         * src/IDBIndexBackendProxy.h:
4206         * src/WebIDBCursorImpl.cpp:
4207         (WebKit::WebIDBCursorImpl::value):
4208         * src/WebIDBCursorImpl.h:
4209         * src/WebIDBIndexImpl.cpp:
4210         (WebKit::WebIDBIndexImpl::storeName):
4211         (WebKit::WebIDBIndexImpl::openCursor):
4212         (WebKit::WebIDBIndexImpl::openObjectCursor):
4213         (WebKit::WebIDBIndexImpl::getObject):
4214         (WebKit::WebIDBIndexImpl::get):
4215         * src/WebIDBIndexImpl.h:
4216
4217 2010-09-15  Dumitru Daniliuc  <dumi@chromium.org>
4218
4219         Reviewed by Darin Fisher.
4220
4221         Overload WebHTTPBody::appendFileRange() to take a double modification time argument.
4222         https://bugs.webkit.org/show_bug.cgi?id=45829
4223
4224         The plan is to change all callers of
4225         WebHTTPBody::appendFileRange(..., const WebFileInfo&) to use the
4226         new method, and then remove it.
4227
4228         * public/WebHTTPBody.h:
4229         * src/WebHTTPBody.cpp:
4230         (WebKit::WebHTTPBody::elementAt):
4231         (WebKit::WebHTTPBody::appendFileRange):
4232
4233 2010-09-14  Pavel Feldman  <pfeldman@chromium.org>
4234
4235         Reviewed by Yury Semikhatsky.
4236
4237         Web Inspector: Provide network-based load timing.
4238         Before this change, inspector used timers taken from
4239         within WebCore notifications (that are by definition
4240         synchronous and serialized). As a result, timing was
4241         affected by the routines running on the main thread
4242         (JavaScript and such).
4243         https://bugs.webkit.org/show_bug.cgi?id=45664
4244
4245         * public/WebURLLoadTiming.h:
4246         * public/WebURLLoaderClient.h:
4247         (WebKit::WebURLLoaderClient::didFinishLoading):
4248         * src/ResourceHandle.cpp:
4249         (WebCore::ResourceHandleInternal::didFinishLoading):
4250         * src/WebDevToolsAgentImpl.cpp: