11b2de0804e8888ab4359515a9a055aee240d6b3
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-07-19  Yury Semikhatsky  <yurys@chromium.org>
2
3         [Chromium] Web Inspector: add sanity test for shared worker inspector
4         https://bugs.webkit.org/show_bug.cgi?id=64799
5
6         Reviewed by Pavel Feldman.
7
8         * src/js/Tests.js:
9         (.TestSuite.prototype.testSharedWorker):
10         (.TestSuite.prototype.evaluateInConsole_):
11
12 2011-07-19  Vsevolod Vlasov  <vsevik@chromium.org>
13
14         Web Inspector: Rename agentIdentifierPrefix to processId, move out from page agent and make static.
15         https://bugs.webkit.org/show_bug.cgi?id=64729
16
17         Reviewed by Pavel Feldman.
18
19         * public/WebDevToolsAgent.h:
20         * src/WebDevToolsAgentImpl.cpp:
21         (WebKit::WebDevToolsAgentImpl::setAgentIdentifierPrefix):
22         (WebKit::WebDevToolsAgentImpl::setProcessId):
23         * src/WebDevToolsAgentImpl.h:
24
25 2011-07-18  Sheriff Bot  <webkit.review.bot@gmail.com>
26
27         Unreviewed.  Rolled DEPS.
28
29         * DEPS:
30
31 2011-07-18  James Robinson  <jamesr@chromium.org>
32
33         Timer scheduling should be based off the monotonic clock
34         https://bugs.webkit.org/show_bug.cgi?id=64544
35
36         Reviewed by Darin Adler.
37
38         Renames setSharedTimerFireTime to setSharedTimerFireInterval to be consistent with WebCore.
39
40         * public/WebKitClient.h:
41         (WebKit::WebKitClient::setSharedTimerFireInterval):
42         * src/PlatformBridge.cpp:
43         (WebCore::PlatformBridge::setSharedTimerFireInterval):
44
45 2011-07-18  Yuzhu Shen  <yzshen@chromium.com>
46
47         Reviewed by James Robinson.
48
49         [chromium] WebFontImpl::drawText needs to handle the canvasIsOpaque input.
50         https://bugs.webkit.org/show_bug.cgi?id=64555
51         
52         This change handles canvasIsOpaque for the WEBKIT_USING_SKIA case.
53  
54         * src/WebFontImpl.cpp: handled canvasIsOpaque.
55         * src/WebFontImpl.h: added method declaration.
56
57 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
58
59         Add code to attempt to align compositing layers to pixel boundaries when page scale changes
60         https://bugs.webkit.org/show_bug.cgi?id=64658
61
62         Reviewed by Dan Bernstein.
63
64         Removed implementations of backingScaleFactor() and pageScaleFactor() now
65         that GraphicsLayerClient has default implementations.
66
67         * src/PageOverlay.cpp:
68
69 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
70
71         Have GraphicsLayer pull their contentsScale, rather than pushing it onto them
72         https://bugs.webkit.org/show_bug.cgi?id=64643
73
74         Reviewed by Darin Adler.
75         
76         Impement new GraphicsLayerClient methods related to contents scale.
77
78         * src/PageOverlay.cpp:
79         (WebKit::OverlayGraphicsLayerClientImpl::backingScaleFactor):
80         (WebKit::OverlayGraphicsLayerClientImpl::pageScaleFactor):
81
82 2011-07-15  Sheriff Bot  <webkit.review.bot@gmail.com>
83
84         Unreviewed.  Rolled DEPS.
85
86         * DEPS:
87
88 2011-07-15  Kenneth Russell  <kbr@google.com>
89
90         Don't restore WebGL context if it was guilty of a graphics reset
91         https://bugs.webkit.org/show_bug.cgi?id=64497
92
93         Reviewed by Stephen White.
94
95         Actually implement getGraphicsResetStatusARB rather than inferring
96         the status based on whether the context has been lost.
97
98         * public/WebGraphicsContext3D.h:
99         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
100         * src/Extensions3DChromium.cpp:
101         (WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
102         * src/GraphicsContext3DChromium.cpp:
103         * src/GraphicsContext3DInternal.h:
104
105 2011-07-15  Dan Bernstein  <mitz@apple.com>
106
107         Chromium build fix.
108
109         * src/WebPopupMenuImpl.cpp:
110         (WebKit::WebPopupMenuImpl::setCursorHiddenUntilMouseMoves):
111         * src/WebPopupMenuImpl.h:
112
113 2011-07-15  Dan Bernstein  <mitz@apple.com>
114
115         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
116         https://bugs.webkit.org/show_bug.cgi?id=64615
117
118         Reviewed by Anders Carlsson.
119
120         * src/ChromeClientImpl.cpp:
121         (WebKit::ChromeClientImpl::setCursorHiddenUntilMouseMoves): Added this stub.
122         * src/ChromeClientImpl.h:
123
124 2011-07-14  Ryosuke Niwa  <rniwa@webkit.org>
125
126         Rolled Chromium revision to 92606.
127
128         * DEPS:
129
130 2011-07-14  Ilya Sherman  <isherman@chromium.org>
131
132         Rename AutoFill -> Autofill and autoFill -> autofill
133         https://bugs.webkit.org/show_bug.cgi?id=64333
134         http://code.google.com/p/chromium/issues/detail?id=72758
135
136         Reviewed by Darin Fisher.
137
138         * WebKit.gyp:
139         * public/WebAutofillClient.h:
140         (WebKit::WebAutofillClient::didAcceptAutofillSuggestion):
141         (WebKit::WebAutofillClient::didSelectAutofillSuggestion):
142         (WebKit::WebAutofillClient::didClearAutofillSelection):
143         (WebKit::WebAutofillClient::removeAutocompleteSuggestion):
144         (WebKit::WebAutofillClient::textFieldDidBeginEditing):
145         (WebKit::WebAutofillClient::textFieldDidEndEditing):
146         (WebKit::WebAutofillClient::textFieldDidChange):
147         (WebKit::WebAutofillClient::textFieldDidReceiveKeyDown):
148         (WebKit::WebAutofillClient::~WebAutofillClient):
149         * public/WebNode.h:
150         * public/WebView.h:
151         * src/AutofillPopupMenuClient.cpp:
152         (WebKit::AutofillPopupMenuClient::AutofillPopupMenuClient):
153         (WebKit::AutofillPopupMenuClient::~AutofillPopupMenuClient):
154         (WebKit::AutofillPopupMenuClient::getSuggestionsCount):
155         (WebKit::AutofillPopupMenuClient::getSuggestion):
156         (WebKit::AutofillPopupMenuClient::getLabel):
157         (WebKit::AutofillPopupMenuClient::getIcon):
158         (WebKit::AutofillPopupMenuClient::removeSuggestionAtIndex):
159         (WebKit::AutofillPopupMenuClient::canRemoveSuggestionAtIndex):
160         (WebKit::AutofillPopupMenuClient::valueChanged):
161         (WebKit::AutofillPopupMenuClient::selectionChanged):
162         (WebKit::AutofillPopupMenuClient::selectionCleared):
163         (WebKit::AutofillPopupMenuClient::itemText):
164         (WebKit::AutofillPopupMenuClient::itemLabel):
165         (WebKit::AutofillPopupMenuClient::itemIcon):
166         (WebKit::AutofillPopupMenuClient::itemIsEnabled):
167         (WebKit::AutofillPopupMenuClient::itemStyle):
168         (WebKit::AutofillPopupMenuClient::menuStyle):
169         (WebKit::AutofillPopupMenuClient::clientPaddingLeft):
170         (WebKit::AutofillPopupMenuClient::clientPaddingRight):
171         (WebKit::AutofillPopupMenuClient::popupDidHide):
172         (WebKit::AutofillPopupMenuClient::itemIsSeparator):
173         (WebKit::AutofillPopupMenuClient::itemIsWarning):
174         (WebKit::AutofillPopupMenuClient::setTextFromItem):
175         (WebKit::AutofillPopupMenuClient::fontSelector):
176         (WebKit::AutofillPopupMenuClient::hostWindow):
177         (WebKit::AutofillPopupMenuClient::createScrollbar):
178         (WebKit::AutofillPopupMenuClient::initialize):
179         (WebKit::AutofillPopupMenuClient::setSuggestions):
180         (WebKit::AutofillPopupMenuClient::convertListIndexToInternalIndex):
181         (WebKit::AutofillPopupMenuClient::getWebView):
182         (WebKit::AutofillPopupMenuClient::textFieldStyle):
183         * src/AutofillPopupMenuClient.h:
184         (WebKit::AutofillPopupMenuClient::itemToolTip):
185         (WebKit::AutofillPopupMenuClient::itemAccessibilityText):
186         (WebKit::AutofillPopupMenuClient::clientInsetLeft):
187         (WebKit::AutofillPopupMenuClient::clientInsetRight):
188         (WebKit::AutofillPopupMenuClient::listSize):
189         (WebKit::AutofillPopupMenuClient::selectedIndex):
190         (WebKit::AutofillPopupMenuClient::itemIsLabel):
191         (WebKit::AutofillPopupMenuClient::itemIsSelected):
192         (WebKit::AutofillPopupMenuClient::shouldPopOver):
193         (WebKit::AutofillPopupMenuClient::valueShouldChangeOnHotTrack):
194         (WebKit::AutofillPopupMenuClient::getTextField):
195         (WebKit::AutofillPopupMenuClient::getSelectedIndex):
196         (WebKit::AutofillPopupMenuClient::setSelectedIndex):
197         * src/EditorClientImpl.cpp:
198         (WebKit::EditorClientImpl::textFieldDidBeginEditing):
199         (WebKit::EditorClientImpl::textFieldDidEndEditing):
200         (WebKit::EditorClientImpl::textDidChangeInTextField):
201         (WebKit::EditorClientImpl::doAutofill):
202         (WebKit::EditorClientImpl::doTextFieldCommandFromEvent):
203         * src/WebInputElement.cpp:
204         (WebKit::WebInputElement::setAutofilled):
205         * src/WebViewImpl.cpp:
206         (WebKit::WebViewImpl::setAutofillClient):
207         (WebKit::WebViewImpl::WebViewImpl):
208         (WebKit::WebViewImpl::mouseDown):
209         (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
210         (WebKit::WebViewImpl::hideAutofillPopup):
211         (WebKit::WebViewImpl::setFocus):
212         (WebKit::WebViewImpl::applyAutofillSuggestions):
213         (WebKit::WebViewImpl::hidePopups):
214         (WebKit::WebViewImpl::refreshAutofillPopup):
215         * src/WebViewImpl.h:
216         (WebKit::WebViewImpl::autofillClient):
217         (WebKit::WebViewImpl::autofillPopupDidHide):
218
219 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
220
221         [Chromium] Web Inspector: URL parameters should consistently use camel case names
222         https://bugs.webkit.org/show_bug.cgi?id=64520
223
224         Reviewed by Pavel Feldman.
225
226         * src/js/DevTools.js:
227         (devtools.domContentLoaded): Now that Chromium side is updated we can remove the old parameter
228         handling code.
229
230 2011-07-14  Yury Semikhatsky  <yurys@chromium.org>
231
232         [Chromium] Web Inspector: URL parameters should consistently use camel case names
233         https://bugs.webkit.org/show_bug.cgi?id=64520
234
235         Reviewed by Pavel Feldman.
236
237         * src/js/DevTools.js:
238         (devtools.domContentLoaded):
239
240 2011-07-13  Noel Gordon  <noel.gordon@gmail.com>
241
242         [chromium] Clean undeeded WebCore:: namespace prefixing from WebBindings.
243         https://bugs.webkit.org/show_bug.cgi?id=64361
244
245         Reviewed by Kent Tamura.
246
247         * src/WebBindings.cpp:
248         (WebKit::makeIntArrayImpl):
249         (WebKit::makeStringArrayImpl):
250
251 2011-07-13  James Robinson  <jamesr@chromium.org>
252
253         [chromium] No implementation defined for WTF::monotonicallyIncreasingTime
254         https://bugs.webkit.org/show_bug.cgi?id=64420
255
256         Reviewed by Tony Gentilcore.
257
258         Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of
259         WTF::currentTime().
260
261         * src/ChromiumCurrentTime.cpp:
262         (WTF::monotonicallyIncreasingTime):
263         * src/PlatformBridge.cpp:
264
265 2011-07-13  Vsevolod Vlasov  <vsevik@chromium.org>
266
267         Chromium DevTools: Enable clear cache and cookies from network panel in chromium.
268         https://bugs.webkit.org/show_bug.cgi?id=64095
269
270         Reviewed by Pavel Feldman.
271
272         * src/js/DevTools.js:
273         ():
274
275 2011-07-12  Al Patrick  <apatrick@chromium.org>
276
277         Added the ability to dynamically change the parent context of a WebGraphicsContext3D.
278         GraphicsContext3DInternal::platformTexture uses this to set the parent as appropriate.
279         https://bugs.webkit.org/show_bug.cgi?id=64397
280
281         Reviewed by Kenneth Russell.
282
283         * public/WebGraphicsContext3D.h:
284         (WebKit::WebGraphicsContext3D::setParentContext):
285         * src/GraphicsContext3DChromium.cpp:
286         (WebCore::GraphicsContext3DInternal::platformTexture):
287
288 2011-07-12  James Robinson  <jamesr@chromium.org>
289
290         [chromium] Delete the unused legacy accelerated canvas 2d code
291         https://bugs.webkit.org/show_bug.cgi?id=64214
292
293         Reviewed by Stephen White.
294
295         Adds a way to stash a GrContext* on a GraphicsContext3D. Previously, this was handled by
296         SharedGraphicsContext3D, but we don't need that class any more.  This is used only for the shared
297         GraphicsContext3D stashed on the Page and shared by all accelerated canvases within the Page, for WebGL and
298         compositor contexts the GrContext is never set.
299
300         * src/GraphicsContext3DChromium.cpp:
301         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
302         (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
303         (WebCore::GraphicsContext3DInternal::grContext):
304         (WebCore::GraphicsContext3D::grContext):
305         * src/GraphicsContext3DInternal.h:
306
307 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
308
309         ApplicationCache update should not immediately fail when reaching per-origin quota
310         https://bugs.webkit.org/show_bug.cgi?id=64177
311
312         Reviewed by Alexey Proskuryakov.
313
314         * src/ChromeClientImpl.cpp:
315         (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota):
316         * src/ChromeClientImpl.h:
317
318 2011-07-12  John Bates  <jbates@google.com>
319
320         Move call to syncCompositingLayers so that we do not trigger redundant draws.
321         https://bugs.webkit.org/show_bug.cgi?id=64224
322
323         doComposite was triggering two composites every time a canvas was dirtied.
324         By moving syncCompositingLayers call to layout, the client code can draw without triggering
325         a redundant frame. Also renamed WebViewImpl::updateLayers to
326         syncCompositingLayers, because it was confusing.
327
328         Reviewed by James Robinson.
329
330         * src/WebViewImpl.cpp:
331         (WebKit::WebViewImpl::layout):
332         (WebKit::WebViewImpl::syncCompositingLayers):
333         * src/WebViewImpl.h:
334
335 2011-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>
336
337         Unreviewed.  Rolled DEPS.
338
339         * DEPS:
340
341 2011-07-12  Evan Martin  <evan@chromium.org>
342
343         [chromium] DRT depends on v8
344         https://bugs.webkit.org/show_bug.cgi?id=64376
345
346         DumpRenderTree.cpp has calls to v8:: functions, so it should have a build
347         dependency on v8.  This fixes missing references in the shared-object build.
348
349         * WebKit.gyp:
350
351 2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
352
353         Unreviewed.  Rolled DEPS.
354
355         * DEPS:
356
357 2011-07-08  Nate Chapin  <japhet@chromium.org>
358
359         Check activeDocumentLoader() in
360         WebFrameImpl::currentHistoryItem() and return
361         early if null, since that should mean we're
362         shutting down.
363         https://bugs.webkit.org/show_bug.cgi?id=52923
364
365         Reviewed by Darin Fisher.
366
367         No known repro, so no new test.
368
369         * src/WebFrameImpl.cpp:
370         (WebKit::WebFrameImpl::currentHistoryItem):
371
372 2011-07-07  Vsevolod Vlasov  <vsevik@chromium.org>
373
374         Web Inspector: Add support for clearing cache and cookies from network panel.
375         https://bugs.webkit.org/show_bug.cgi?id=63999
376
377         Reviewed by Pavel Feldman.
378
379         * public/WebDevToolsAgentClient.h:
380         (WebKit::WebDevToolsAgentClient::clearBrowserCache):
381         (WebKit::WebDevToolsAgentClient::clearBrowserCookies):
382         * src/InspectorClientImpl.cpp:
383         (WebKit::InspectorClientImpl::clearBrowserCache):
384         (WebKit::InspectorClientImpl::clearBrowserCookies):
385         * src/InspectorClientImpl.h:
386         * src/WebDevToolsAgentImpl.cpp:
387         (WebKit::WebDevToolsAgentImpl::clearBrowserCache):
388         (WebKit::WebDevToolsAgentImpl::clearBrowserCookies):
389         * src/WebDevToolsAgentImpl.h:
390
391 2011-07-06  Adam Barth  <abarth@webkit.org>
392
393         Unreviewed.  Rolled DEPS.
394
395         * DEPS:
396
397 2011-07-06  Johnny Ding  <jnd@chromium.org>
398
399         https://bugs.webkit.org/show_bug.cgi?id=63857
400         Check WebWidgetClient before calling it to close widget.  
401
402         Reviewed by Tony Chang.
403
404         * src/WebPopupMenuImpl.cpp:
405         (WebKit::WebPopupMenuImpl::popupClosed):
406
407 2011-07-06  Adrienne Walker  <enne@google.com>
408
409         [chromium] Add compositor texture manager soft limits and lost focus reclaiming
410         https://bugs.webkit.org/show_bug.cgi?id=64009
411
412         Reviewed by James Robinson.
413
414         Reclaim textures when the tab loses focus.
415
416         * src/WebViewImpl.cpp:
417         (WebKit::WebViewImpl::setVisibilityState):
418
419 2011-06-30  Cris Neckar  <cdn@chromium.org>
420
421         Reviewed by Darin Fisher.
422
423         Add versioning to Chromium clipboard and prevent polling from inside events.
424         https://bugs.webkit.org/show_bug.cgi?id=63738
425
426         * public/WebClipboard.h:
427         (WebKit::WebClipboard::getSequenceNumber):
428         * src/PlatformBridge.cpp:
429         (WebCore::PlatformBridge::clipboardGetSequenceNumber):
430
431 2011-07-06  Ryosuke Niwa  <rniwa@webkit.org>
432
433         Rolled DEPS.
434
435         * DEPS:
436
437 2011-07-05  Yury Semikhatsky  <yurys@chromium.org>
438
439         [Chromium] Web Inspector: extend WebSharedWorker with inspector transport methods
440         https://bugs.webkit.org/show_bug.cgi?id=63942
441
442         Added methods for connecting inspector to shared worker and for passing
443         messages between shared worker inspector and corresponding inspector frontend.
444
445         Reviewed by Pavel Feldman.
446
447         * public/WebCommonWorkerClient.h:
448         (WebKit::WebCommonWorkerClient::dispatchDevToolsMessage):
449         * public/WebSharedWorker.h:
450         (WebKit::WebSharedWorker::attachDevTools):
451         (WebKit::WebSharedWorker::detachDevTools):
452         (WebKit::WebSharedWorker::dispatchDevToolsMessage):
453         * public/WebWorkerClient.h:
454         * src/WebSharedWorkerImpl.cpp:
455         (WebKit::connectToWorkerContextInspectorTask):
456         (WebKit::WebSharedWorkerImpl::attachDevTools):
457         (WebKit::disconnectFromWorkerContextInspectorTask):
458         (WebKit::WebSharedWorkerImpl::detachDevTools):
459         (WebKit::dispatchOnInspectorBackendTask):
460         (WebKit::WebSharedWorkerImpl::dispatchDevToolsMessage):
461         * src/WebSharedWorkerImpl.h:
462         * src/WebWorkerBase.cpp:
463         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
464
465 2011-07-01  Kent Tamura  <tkent@chromium.org>
466
467         [Chromium] Rebaseline for fast/forms/input-file-re-render.html
468         https://bugs.webkit.org/show_bug.cgi?id=63733
469
470         * DEPS: Update chromium revision to 91405 to have "Choose Files" string.
471
472 2011-07-01  Michael Nordman  <michaeln@google.com>
473
474         Reviewed by Darin Fisher.
475
476         [Chromium] FileSystem API can be used to learn about installed software on the user's computer
477         https://bugs.webkit.org/show_bug.cgi?id=63220
478
479         * public/WebMimeRegistry.h:
480         (WebKit::WebMimeRegistry::wellKnownMimeTypeForExtension):
481         * src/PlatformBridge.cpp:
482         (WebCore::PlatformBridge::wellKnownMimeTypeForExtension):
483
484 2011-07-01  Scott Byer  <scottbyer@chromium.org>
485
486         Reviewed by Adam Barth.
487
488         Smooth scrolling fixes
489         https://bugs.webkit.org/show_bug.cgi?id=63770
490
491         Fix issues found in manual testing; distill the traces into unit tests. Fix the issues the tests exposed in the
492         scroll animation code.
493
494         * tests/ScrollAnimatorNoneTest.cpp:
495         (ScrollAnimatorNoneTest::updateDataFromParameters):
496         (TEST_F):
497
498 2011-07-01  Hans Wennborg  <hans@chromium.org>
499
500         IndexedDB: make LevelDB the default back-end
501         https://bugs.webkit.org/show_bug.cgi?id=63817
502
503         Reviewed by Tony Chang.
504
505         Use LevelDB as the default back-end.
506
507         Covered by existing layout tests for indexeddb, which will now be
508         using the LevelDB back-end.
509
510         * src/WebIDBFactoryImpl.cpp:
511         (WebKit::WebIDBFactoryImpl::open):
512
513 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
514
515         Reviewed by Ojan Vafai.
516
517         Move m_isDirectional from FrameSelection to VisibleSelection
518         https://bugs.webkit.org/show_bug.cgi?id=63473
519
520         Don't pass MakeNonDirectionalSelection to setSelection since no other port does this.
521
522         * src/WebFrameImpl.cpp:
523         (WebKit::WebFrameImpl::selectRange):
524
525 2011-07-01  Andrew Scherkus  <scherkus@chromium.org>
526
527         Reviewed by Darin Fisher.
528
529         Re-enable WTF_USE_WEBAUDIO_FFMPEG for Chromium
530         https://bugs.webkit.org/show_bug.cgi?id=63783
531
532         * features.gypi:
533
534 2011-07-01  Tony Chang  <tony@chromium.org>
535
536         Fix the chromium build.  sql is a new top level directory.
537
538         * DEPS:
539
540 2011-07-01  Ryosuke Niwa  <rniwa@webkit.org>
541
542         Rolled DEPS.
543
544         * DEPS:
545
546 2011-06-30  Noel Gordon  <noel.gordon@gmail.com>
547
548         Reviewed by Hajime Morita.
549
550         [Chromium] Remove WebBindings::makeNode.
551         https://bugs.webkit.org/show_bug.cgi?id=63613
552
553         Dead code elimination. No change in behaviour, so no new tests.
554
555         * public/WebBindings.h:
556         * src/WebBindings.cpp:
557
558 2011-06-30  Kent Tamura  <tkent@chromium.org>
559
560         Reviewed by Darin Fisher.
561
562         [Chromium] Implement WebCore::defaultDetailsSummaryText()
563         https://bugs.webkit.org/show_bug.cgi?id=63700
564
565         * public/WebLocalizedString.h: Add new key.
566         * src/LocalizedStrings.cpp: Call query() with the new key.
567         (WebCore::defaultDetailsSummaryText):
568
569 2011-06-30  Andrew Scherkus  <scherkus@chromium.org>
570
571         Unreviewed.
572
573         Temporarily disabling WTF_USE_WEBAUDIO_FFMPEG due to FFmpeg update.
574
575         * features.gypi:
576
577 2011-06-30  John Bates  <jbates@google.com>
578
579         Reviewed by James Robinson.
580
581         Chromium bug: Compositing on a lost context causes latch deadlocks.
582         The cause of deadlock was that a setLatch command is added to the lost
583         compositor GL context, and a waitLatch would never complete on a child context.
584         This change checks whether the compositor context is in error state before
585         doing the compositing.
586         https://bugs.webkit.org/show_bug.cgi?id=63681
587
588         * src/WebViewImpl.cpp:
589         (WebKit::WebViewImpl::composite):
590
591 2011-06-30  Cary Clark  <caryclark@google.com>
592
593         Reviewed by James Robinson.
594
595         Use Skia if Skia on Mac Chrome is enabled
596         https://bugs.webkit.org/show_bug.cgi?id=62999
597
598         * WebKit.gyp:
599         If building for Skia, exclude CG files.
600         If not, exclude Skia files.
601
602         * features.gypi:
603         Enable Skia on Chromium Mac if so instructed by the gyp define.
604         Allow Skia to be hardware accelerated on the Mac.
605
606         * public/WebCommon.h:
607         If Skia is defined on the Mac, define it in the WebXXX
608         interfaces as well.
609
610 2011-06-30  Sreeram Ramachandran  <sreeram@chromium.org>
611
612         Reviewed by Adam Barth.
613
614         Suppress modal JavaScript/HTML dialogs during unload events
615         https://bugs.webkit.org/show_bug.cgi?id=56397
616
617         Implementation of the new shouldRunModalDialogDuringPageDismissal() API
618         to block alerts during unload handlers. Logs such events to the console
619         and updates histograms.
620
621         * src/ChromeClientImpl.cpp:
622         (WebKit::ChromeClientImpl::shouldRunModalDialogDuringPageDismissal):
623         * src/ChromeClientImpl.h:
624
625 2011-06-30  Anders Carlsson  <andersca@apple.com>
626
627         Reviewed by Dan Bernstein.
628
629         More ScrollableArea scaffolding
630         https://bugs.webkit.org/show_bug.cgi?id=63678
631
632         Add an enclosingScrollableArea stub.
633
634         * src/WebScrollbarImpl.cpp:
635         (WebKit::WebScrollbarImpl::enclosingScrollableArea):
636         * src/WebScrollbarImpl.h:
637
638 2011-06-28  Hans Wennborg  <hans@chromium.org>
639
640         Reviewed by Tony Chang.
641
642         IndexedDB: Prepare for running layout tests with LevelDB
643         https://bugs.webkit.org/show_bug.cgi?id=63593
644
645         WebIDBFactory should decide what DefaultBackingStore means.
646         Also fix handling of layout test and incognito mode properly.
647
648         * src/WebIDBFactoryImpl.cpp:
649         (WebKit::WebIDBFactoryImpl::open):
650
651 2011-06-30  Alexander Pavlov  <apavlov@chromium.org>
652
653         Reviewed by Kent Tamura.
654
655         [Chromium] Autofill suggestions appear in upper left corner after input change
656         https://bugs.webkit.org/show_bug.cgi?id=63702
657
658         * src/ChromeClientImpl.cpp:
659         (WebKit::ChromeClientImpl::screenToWindow): Implemented.
660         * src/WebViewImpl.cpp:
661         (WebKit::WebViewImpl::refreshAutoFillPopup): Pass screen (not window) coordinates into setWindowRect().
662
663 2011-06-30  Kentaro Hara  <haraken@google.com>
664
665         Reviewed by Kent Tamura.
666
667         Change the label of an HTML5 file chooser button to "Choose Files"
668         https://bugs.webkit.org/show_bug.cgi?id=49245
669
670         We should notify capability of multiple files to users.
671
672         Test: fast/forms/input-file-label.html
673
674         * DEPS:
675         * public/WebLocalizedString.h: Depends on chromium_rev>=91051.
676         * src/LocalizedStrings.cpp:
677         (WebCore::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
678
679 2011-06-29  James Hawkins  <jhawkins@chromium.org>
680
681         Reviewed by Pavel Feldman.
682
683         [Chromium] Fix a crash on when executeCommand(copy) is called on a null node.
684         https://bugs.webkit.org/show_bug.cgi?id=63626
685
686         * src/WebFrameImpl.cpp:
687         (WebKit::pluginContainerFromNode):
688
689 2011-06-29  Andrey Kosyakov  <caseq@chromium.org>
690
691         Reviewed by Pavel Feldman.
692
693         Web Inspector: backend needs to provide system-unique object ids, so these remain unique across navigation
694         https://bugs.webkit.org/show_bug.cgi?id=62894
695
696         * public/WebDevToolsAgent.h:
697         * src/WebDevToolsAgentImpl.cpp:
698         (WebKit::WebDevToolsAgentImpl::setAgentProcessIdentifier):
699         * src/WebDevToolsAgentImpl.h:
700
701 2011-06-28  Ilya Sherman  <isherman@chromium.org>
702
703         Reviewed by Adam Barth.
704
705         form.autocomplete="off" does not work
706         https://bugs.webkit.org/show_bug.cgi?id=35823
707
708         * src/EditorClientImpl.cpp:
709         (WebKit::EditorClientImpl::autofill): Update callsite.
710         * src/WebFormElement.cpp:
711         (WebKit::WebFormElement::autoComplete): Update callsite.
712         * src/WebInputElement.cpp:
713         (WebKit::WebInputElement::autoComplete): Update callsite.
714         * src/WebPasswordFormUtils.cpp:
715         (WebKit::findPasswordFormFields): Update callsite.
716
717 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
718
719         Rolled DEPS.
720
721         * DEPS:
722
723 2011-06-28  Sheriff Bot  <webkit.review.bot@gmail.com>
724
725         Unreviewed, rolling out r89968.
726         http://trac.webkit.org/changeset/89968
727         https://bugs.webkit.org/show_bug.cgi?id=63581
728
729         Broke chromium windows compile (Requested by jamesr on
730         #webkit).
731
732         * WebKit.gyp:
733         * features.gypi:
734         * public/WebCommon.h:
735
736 2011-06-28  Cary Clark  <caryclark@google.com>
737
738         Reviewed by James Robinson.
739
740         Use Skia if Skia on Mac Chrome is enabled
741         https://bugs.webkit.org/show_bug.cgi?id=62999
742
743         * WebKit.gyp:
744         If building for Skia, exclude CG files.
745         If not, exclude Skia files.
746
747         * features.gypi:
748         Enable Skia on Chromium Mac if so instructed by the gyp define.
749         Allow Skia to be hardware accelerated on the Mac.
750
751         * public/WebCommon.h:
752         If Skia is defined on the Mac, define it in the WebXXX
753         interfaces as well.
754
755 2011-06-28  Ryosuke Niwa  <rniwa@webkit.org>
756
757         Rolled DEPS.
758
759         * DEPS:
760
761 2011-06-27  James Hawkins  <jhawkins@chromium.org>
762
763         Reviewed by Darin Fisher.
764
765         [Chromium] Pass an optional WebNode that is the node receiving the context menu action.
766         https://bugs.webkit.org/show_bug.cgi?id=63503
767
768         * public/WebFrame.h:
769         * src/WebFrameImpl.cpp:
770         (WebKit::pluginContainerFromNode):
771         (WebKit::WebFrameImpl::executeCommand):
772         (WebKit::WebFrameImpl::printBegin):
773         * src/WebFrameImpl.h:
774
775 2011-06-27  Ryosuke Niwa  <rniwa@webkit.org>
776
777         Rolled DEPS.
778
779         * DEPS:
780
781 2011-06-27  Jay Civelli  <jcivelli@chromium.org>
782
783         Reviewed by Darin Fisher.
784
785         Adding binary part support to MHTML.
786         https://bugs.webkit.org/show_bug.cgi?id=63310
787
788         * public/WebPageSerializer.h:
789         * src/WebPageSerializer.cpp:
790         (WebKit::WebPageSerializer::serializeToMHTML):
791         (WebKit::WebPageSerializer::serializeToMHTMLUsingBinaryEncoding):
792
793 2011-05-17  Nat Duca  <nduca@chromium.org>
794
795         Reviewed by James Robinson.
796
797         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
798         https://bugs.webkit.org/show_bug.cgi?id=58408
799
800         Redirect invalidates and scheduling into compositor when in
801         threaded compositing mode. Add stress tests for CCLayerTreeHost.
802
803         * WebKit.gypi:
804         * public/WebWidget.h:
805         * src/WebPopupMenuImpl.cpp:
806         (WebKit::WebPopupMenuImpl::animate):
807         * src/WebPopupMenuImpl.h:
808         * src/WebViewImpl.cpp:
809         (WebKit::WebViewImpl::animate):
810         (WebKit::WebViewImpl::paint):
811         (WebKit::WebViewImpl::animateAndLayout):
812         (WebKit::WebViewImpl::updateLayers):
813         (WebKit::WebViewImpl::composite):
814         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
815         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
816         (WebKit::WebViewImpl::doComposite):
817         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
818         (WebKit::WebViewImpl::reallocateRenderer):
819         (WebKit::WebViewImpl::updateLayerRendererSettings):
820         (WebKit::WebViewImpl::updateLayerRendererViewport):
821         * src/WebViewImpl.h:
822         * tests/CCLayerTreeHostTest.cpp: Added.
823         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
824         (WTF::CCLayerTreeHostTest::animateAndLayout):
825         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
826         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
827         (WTF::CCLayerTreeHostTest::commitOnCCThread):
828         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
829         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
830         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
831         (WTF::CCLayerTreeHostTest::updateLayers):
832         (WTF::CCLayerTreeHostTest::onBeginTest):
833         (WTF::CCLayerTreeHostTest::doEndTest):
834         (WTF::CCLayerTreeHostTest::onEndTest):
835         (WTF::CCLayerTreeHostTest::runTest):
836         (WTF::CCLayerTreeHostTest::testTimeout):
837         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
838         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
839         (WTF::MockLayerTreeHostClient::animateAndLayout):
840         (WTF::MockLayerTreeHostClient::updateLayers):
841         (WTF::MockLayerTreeHostCommitter::create):
842         (WTF::MockLayerTreeHostCommitter::commit):
843         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
844         (WTF::MockLayerTreeHostImpl::create):
845         (WTF::MockLayerTreeHostImpl::beginCommit):
846         (WTF::MockLayerTreeHostImpl::commitComplete):
847         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
848         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
849         (WTF::MockLayerTreeHostImplProxy::create):
850         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
851         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
852         (WTF::MockLayerTreeHost::MockLayerTreeHost):
853         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
854         (WTF::MockLayerTreeHost::updateLayers):
855         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
856         (WTF::MockLayerTreeHost::beginCommit):
857         (WTF::MockLayerTreeHost::commitComplete):
858         (WTF::CCLayerTreeHostTest::doBeginTest):
859         (WTF::CCLayerTreeHostTest::endTest):
860         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
861         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
862         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
863         (WTF::TEST_F):
864         (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
865         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
866         (WTF::CCLayerTreeHostTestShortlived2::afterTest):
867         (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
868         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
869         (WTF::CCLayerTreeHostTestShortlived3::afterTest):
870         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
871         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
872         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
873         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
874         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
875         (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
876         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
877         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
878         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
879         (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
880         (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
881         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
882         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
883         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
884         (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
885         (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
886         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
887         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
888         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
889         (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
890         * tests/CCThreadTest.cpp:
891         (WebCore::TEST):
892
893 2011-06-27  Yuta Kitamura  <yutak@chromium.org>
894
895         Reviewed by Adam Barth.
896
897         [Chromium] Add useHixie76WebSocketProtocol to WebSettings
898         https://bugs.webkit.org/show_bug.cgi?id=63424
899
900         * public/WebSettings.h:
901         * src/WebSettingsImpl.cpp:
902         (WebKit::WebSettingsImpl::setHixie76WebSocketProtocolEnabled):
903         * src/WebSettingsImpl.h:
904
905 2011-06-26  Adam Barth  <abarth@webkit.org>
906
907         Reviewed by Eric Seidel.
908
909         [Chromium] Remove WebSecurityOrigin::grantUniversalAccess
910         https://bugs.webkit.org/show_bug.cgi?id=63415
911
912         This function has no callers and is downright dangerous.
913
914         * public/WebSecurityOrigin.h:
915         * src/WebSecurityOrigin.cpp:
916
917 2011-06-26  Adam Barth  <abarth@webkit.org>
918
919         Reviewed by Eric Seidel.
920
921         [Chromium] Remove code behind WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
922         https://bugs.webkit.org/show_bug.cgi?id=63402
923
924         These old APIs are no longer needed.
925
926         * public/WebFrame.h:
927         * src/WebFrameImpl.cpp:
928         * src/WebFrameImpl.h:
929
930 2011-06-25  Adam Barth  <abarth@webkit.org>
931
932         Reviewed by Eric Seidel.
933
934         [Chromium] Update WebKit for WEBKIT_FRAME_TO_DOCUMENT_API_MOVE
935         https://bugs.webkit.org/show_bug.cgi?id=63394
936
937         * src/FrameLoaderClientImpl.cpp:
938         (WebKit::FrameLoaderClientImpl::dispatchWillPerformClientRedirect):
939
940 2011-06-25  Adam Barth  <abarth@webkit.org>
941
942         Roll Chromium DEPS.
943
944         * DEPS:
945
946 2011-06-25  Adam Barth  <abarth@webkit.org>
947
948         Unreviewed build fix.  Remove ifdefs around these two functions because
949         we're not planning to move them.  This patch makes WebFrameImpl.h
950         consistent with WebFrame.h so we can build with the new API
951         configuration.
952
953         * src/WebFrameImpl.h:
954
955 2011-06-24  Nat Duca  <nduca@chromium.org>
956
957         Unreviewed, rolling out r89694.
958         http://trac.webkit.org/changeset/89694
959         https://bugs.webkit.org/show_bug.cgi?id=58408
960
961         Test shell still not ready for animate changes.
962
963         * WebKit.gypi:
964         * public/WebWidget.h:
965         (WebKit::WebWidget::animate):
966         (WebKit::WebWidget::composite):
967         * src/WebPopupMenuImpl.cpp:
968         (WebKit::WebPopupMenuImpl::animate):
969         * src/WebPopupMenuImpl.h:
970         * src/WebViewImpl.cpp:
971         (WebKit::WebViewImpl::resize):
972         (WebKit::WebViewImpl::animate):
973         (WebKit::WebViewImpl::paint):
974         (WebKit::WebViewImpl::composite):
975         (WebKit::WebViewImpl::fullFramePluginZoomLevelChanged):
976         (WebKit::WebView::zoomLevelToZoomFactor):
977         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
978         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
979         (WebKit::WebViewImpl::doComposite):
980         (WebKit::WebViewImpl::reallocateRenderer):
981         (WebKit::WebViewImpl::updateLayerRendererViewport):
982         (WebKit::WebViewImpl::graphicsContext3D):
983         * src/WebViewImpl.h:
984         * tests/CCLayerTreeHostTest.cpp: Removed.
985         * tests/CCThreadTest.cpp:
986         (WebCore::TEST):
987
988 2011-05-17  Nat Duca  <nduca@chromium.org>
989
990         Reviewed by James Robinson.
991
992         [chromium] Implement CCLayerTreeHost and CCLayerTreeHostImpl portions of threaded compositor
993         https://bugs.webkit.org/show_bug.cgi?id=58408
994
995         Redirect invalidates and scheduling into compositor when in
996         threaded compositing mode. Add stress tests for CCLayerTreeHost.
997
998         * WebKit.gypi:
999         * public/WebWidget.h:
1000         * src/WebPopupMenuImpl.cpp:
1001         (WebKit::WebPopupMenuImpl::animate):
1002         * src/WebPopupMenuImpl.h:
1003         * src/WebViewImpl.cpp:
1004         (WebKit::WebViewImpl::animate):
1005         (WebKit::WebViewImpl::paint):
1006         (WebKit::WebViewImpl::animateAndLayout):
1007         (WebKit::WebViewImpl::updateLayers):
1008         (WebKit::WebViewImpl::composite):
1009         (WebKit::WebViewImpl::setRootLayerNeedsDisplay):
1010         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1011         (WebKit::WebViewImpl::doComposite):
1012         (WebKit::WebViewImpl::createLayerTreeHostContext3D):
1013         (WebKit::WebViewImpl::reallocateRenderer):
1014         (WebKit::WebViewImpl::updateLayerRendererSettings):
1015         (WebKit::WebViewImpl::updateLayerRendererViewport):
1016         * src/WebViewImpl.h:
1017         * tests/CCLayerTreeHostTest.cpp: Added.
1018         (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
1019         (WTF::CCLayerTreeHostTest::animateAndLayout):
1020         (WTF::CCLayerTreeHostTest::beginCommitOnCCThread):
1021         (WTF::CCLayerTreeHostTest::beginCommitOnMainThread):
1022         (WTF::CCLayerTreeHostTest::commitOnCCThread):
1023         (WTF::CCLayerTreeHostTest::commitCompleteOnCCThread):
1024         (WTF::CCLayerTreeHostTest::commitCompleteOnMainThread):
1025         (WTF::CCLayerTreeHostTest::drawLayersAndPresentOnCCThread):
1026         (WTF::CCLayerTreeHostTest::updateLayers):
1027         (WTF::CCLayerTreeHostTest::onBeginTest):
1028         (WTF::CCLayerTreeHostTest::doEndTest):
1029         (WTF::CCLayerTreeHostTest::onEndTest):
1030         (WTF::CCLayerTreeHostTest::runTest):
1031         (WTF::CCLayerTreeHostTest::testTimeout):
1032         (WTF::MockLayerTreeHostClient::MockLayerTreeHostClient):
1033         (WTF::MockLayerTreeHostClient::createLayerTreeHostContext3D):
1034         (WTF::MockLayerTreeHostClient::animateAndLayout):
1035         (WTF::MockLayerTreeHostClient::updateLayers):
1036         (WTF::MockLayerTreeHostCommitter::create):
1037         (WTF::MockLayerTreeHostCommitter::commit):
1038         (WTF::MockLayerTreeHostCommitter::MockLayerTreeHostCommitter):
1039         (WTF::MockLayerTreeHostImpl::create):
1040         (WTF::MockLayerTreeHostImpl::beginCommit):
1041         (WTF::MockLayerTreeHostImpl::commitComplete):
1042         (WTF::MockLayerTreeHostImpl::drawLayersAndPresent):
1043         (WTF::MockLayerTreeHostImpl::MockLayerTreeHostImpl):
1044         (WTF::MockLayerTreeHostImplProxy::create):
1045         (WTF::MockLayerTreeHostImplProxy::createLayerTreeHostImpl):
1046         (WTF::MockLayerTreeHostImplProxy::MockLayerTreeHostImplProxy):
1047         (WTF::MockLayerTreeHost::MockLayerTreeHost):
1048         (WTF::MockLayerTreeHost::createLayerTreeHostImplProxy):
1049         (WTF::MockLayerTreeHost::updateLayers):
1050         (WTF::MockLayerTreeHost::createLayerTreeHostCommitter):
1051         (WTF::MockLayerTreeHost::beginCommit):
1052         (WTF::MockLayerTreeHost::commitComplete):
1053         (WTF::CCLayerTreeHostTest::doBeginTest):
1054         (WTF::CCLayerTreeHostTest::endTest):
1055         (WTF::CCLayerTreeHostTestShortlived1::CCLayerTreeHostTestShortlived1):
1056         (WTF::CCLayerTreeHostTestShortlived1::beginTest):
1057         (WTF::CCLayerTreeHostTestShortlived1::afterTest):
1058         (WTF::TEST_F):
1059         (WTF::CCLayerTreeHostTestShortlived2::CCLayerTreeHostTestShortlived2):
1060         (WTF::CCLayerTreeHostTestShortlived2::beginTest):
1061         (WTF::CCLayerTreeHostTestShortlived2::afterTest):
1062         (WTF::CCLayerTreeHostTestShortlived3::CCLayerTreeHostTestShortlived3):
1063         (WTF::CCLayerTreeHostTestShortlived3::beginTest):
1064         (WTF::CCLayerTreeHostTestShortlived3::afterTest):
1065         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::CCLayerTreeHostTestCommitingWithContinuousRedraw):
1066         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
1067         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::commitCompleteOnCCThread):
1068         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::drawLayersAndPresentOnCCThread):
1069         (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::afterTest):
1070         (WTF::CCLayerTreeHostTestSetNeedsCommit1::CCLayerTreeHostTestSetNeedsCommit1):
1071         (WTF::CCLayerTreeHostTestSetNeedsCommit1::beginTest):
1072         (WTF::CCLayerTreeHostTestSetNeedsCommit1::drawLayersAndPresentOnCCThread):
1073         (WTF::CCLayerTreeHostTestSetNeedsCommit1::commitOnCCThread):
1074         (WTF::CCLayerTreeHostTestSetNeedsCommit1::afterTest):
1075         (WTF::CCLayerTreeHostTestSetNeedsCommit2::CCLayerTreeHostTestSetNeedsCommit2):
1076         (WTF::CCLayerTreeHostTestSetNeedsCommit2::beginTest):
1077         (WTF::CCLayerTreeHostTestSetNeedsCommit2::drawLayersAndPresentOnCCThread):
1078         (WTF::CCLayerTreeHostTestSetNeedsCommit2::commitOnCCThread):
1079         (WTF::CCLayerTreeHostTestSetNeedsCommit2::afterTest):
1080         (WTF::CCLayerTreeHostTestSetNeedsRedraw::CCLayerTreeHostTestSetNeedsRedraw):
1081         (WTF::CCLayerTreeHostTestSetNeedsRedraw::beginTest):
1082         (WTF::CCLayerTreeHostTestSetNeedsRedraw::drawLayersAndPresentOnCCThread):
1083         (WTF::CCLayerTreeHostTestSetNeedsRedraw::commitOnCCThread):
1084         (WTF::CCLayerTreeHostTestSetNeedsRedraw::afterTest):
1085         * tests/CCThreadTest.cpp:
1086         (WebCore::TEST):
1087
1088 2011-06-24  Chris Rogers  <crogers@google.com>
1089
1090         Reviewed by Kenneth Russell.
1091
1092         Enable Web Audio for Chromium Win
1093         https://bugs.webkit.org/show_bug.cgi?id=63338
1094
1095         * features.gypi:
1096
1097 2011-06-24  Dominic Cooney  <dominicc@chromium.org>
1098
1099         Reviewed by Dimitri Glazkov.
1100
1101         Convert shadow DOM-related tests to use window.internals
1102         https://bugs.webkit.org/show_bug.cgi?id=61671
1103
1104         Remove shadow DOM-related methods from Chromium API. These are not
1105         required any more.
1106
1107         * public/WebElement.h:
1108         * src/WebElement.cpp:
1109
1110 2011-06-24  Vsevolod Vlasov  <vsevik@chromium.org>
1111
1112         Reviewed by Darin Fisher.
1113
1114         Web Inspector: [Chromium] Successfully prefetched page shows up as an error in console
1115         https://bugs.webkit.org/show_bug.cgi?id=62396
1116
1117         * public/WebURLError.h:
1118         (WebKit::WebURLError::WebURLError):
1119         * src/WebURLError.cpp:
1120         (WebKit::WebURLError::operator=):
1121         (WebKit::WebURLError::operator ResourceError):
1122
1123 2011-06-23  Yury Semikhatsky  <yurys@chromium.org>
1124
1125         Reviewed by Pavel Feldman.
1126
1127         [Chromium] Web Inspector: provide context menu item for enabling native worker inspection
1128         https://bugs.webkit.org/show_bug.cgi?id=63258
1129
1130         * src/js/DevTools.js:
1131         ():
1132
1133 2011-06-23  John Bates  <jbates@google.com>
1134
1135         Reviewed by James Robinson.
1136
1137         Fix latch deadlock when GPU process crashes or context is lost
1138         https://bugs.webkit.org/show_bug.cgi?id=63189
1139
1140         * src/WebViewImpl.cpp:
1141         (WebKit::WebViewImpl::composite):
1142
1143 2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>
1144
1145         Rolled DEPS.
1146
1147         * DEPS:
1148
1149 2011-06-23  John Abd-El-Malek  <jam@chromium.org>
1150
1151         Reviewed by Tony Chang.
1152
1153         [chromium] Fix WebScrollBarImpl on Mac after recent smooth scrolling changes
1154         https://bugs.webkit.org/show_bug.cgi?id=63260
1155
1156         * src/WebScrollbarImpl.cpp:
1157         (WebKit::WebScrollbarImpl::visibleHeight):
1158         (WebKit::WebScrollbarImpl::visibleWidth):
1159         (WebKit::WebScrollbarImpl::contentsSize):
1160         (WebKit::WebScrollbarImpl::overhangAmount):
1161         * src/WebScrollbarImpl.h:
1162
1163 2011-06-23  Ryosuke Niwa  <rniwa@webkit.org>
1164
1165         Rolled DEPS.
1166
1167         * DEPS:
1168
1169 2011-06-22  Ryosuke Niwa  <rniwa@webkit.org>
1170
1171         Reviewed by Kent Tamura.
1172
1173         [chromium] Remove calls to Position::deprecatedNode
1174         https://bugs.webkit.org/show_bug.cgi?id=63226
1175
1176         Call containerNode instead of deprecatedNode.
1177
1178         * src/WebViewImpl.cpp:
1179         (WebKit::WebViewImpl::textInputType):
1180
1181 2011-06-22  Adam Barth  <abarth@webkit.org>
1182
1183         Reviewed by Darin Fisher.
1184
1185         [Chromium] Add WebDocument APIs for the functions moving from WebFrame
1186         https://bugs.webkit.org/show_bug.cgi?id=62831
1187
1188         The next phase will be to change all the callers and then remove all
1189         the code inside the ifdef.
1190
1191         * public/WebDocument.h:
1192             - Add new APIs.
1193         * public/WebFrame.h:
1194             - These two APIs were too disgusting.  I could not, in good
1195               conscience, touch them.
1196         * public/WebSecurityOrigin.h:
1197             - Turns out this API is supposed to be on WebSecurityOrigin, not
1198               WebDocument.
1199         * src/WebDocument.cpp:
1200             - Implement the APIs.
1201         (WebKit::WebDocument::url):
1202         (WebKit::WebDocument::securityOrigin):
1203         (WebKit::WebDocument::encoding):
1204         (WebKit::WebDocument::openSearchDescriptionURL):
1205         (WebKit::WebDocument::forms):
1206         (WebKit::WebDocument::insertStyleText):
1207         * src/WebFrameImpl.cpp:
1208             - Change these implements to just be stubs that call into the real
1209               implementations in WebDocument.
1210         (WebKit::WebFrameImpl::url):
1211         (WebKit::WebFrameImpl::openSearchDescriptionURL):
1212         (WebKit::WebFrameImpl::encoding):
1213         (WebKit::WebFrameImpl::forms):
1214         (WebKit::WebFrameImpl::securityOrigin):
1215         (WebKit::WebFrameImpl::grantUniversalAccess):
1216         (WebKit::WebFrameImpl::insertStyleText):
1217         (WebKit::WebFrameImpl::contentAsMarkup):
1218         * src/WebSecurityOrigin.cpp:
1219         (WebKit::WebSecurityOrigin::grantUniversalAccess):
1220
1221 2011-06-22  Sheriff Bot  <webkit.review.bot@gmail.com>
1222
1223         Unreviewed, rolling out r89489.
1224         http://trac.webkit.org/changeset/89489
1225         https://bugs.webkit.org/show_bug.cgi?id=63203
1226
1227         Broke chromium mac build on build.webkit.org (Requested by
1228         abarth on #webkit).
1229
1230         * WebKit.gyp:
1231         * features.gypi:
1232         * public/WebCommon.h:
1233
1234 2011-06-22  Cary Clark  <caryclark@google.com>
1235
1236         Reviewed by Darin Fisher.
1237
1238         Use Skia if Skia on Mac Chrome is enabled
1239         https://bugs.webkit.org/show_bug.cgi?id=62999
1240
1241         * WebKit.gyp:
1242         If building for Skia, exclude CG files.
1243         If not, exclude Skia files.
1244
1245         * features.gypi:
1246         Enable Skia on Chromium Mac if so instructed by the gyp define.
1247         Allow Skia to be hardware accelerated on the Mac.
1248
1249         * public/WebCommon.h:
1250         If Skia is defined on the Mac, define it in the WebXXX
1251         interfaces as well.
1252
1253 2011-06-22  Adam Barth  <abarth@webkit.org>
1254
1255         Rollout 88332.
1256
1257         * features.gypi:
1258         * public/WebRuntimeFeatures.h:
1259         * src/ContextMenuClientImpl.cpp:
1260         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
1261         * src/WebRuntimeFeatures.cpp:
1262
1263 2011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
1264
1265         Reviewed by Kent Tamura.
1266
1267         FileChooser should be only created when we need to choose files.
1268         https://bugs.webkit.org/show_bug.cgi?id=63039
1269
1270         * src/ChromeClientImpl.cpp:
1271         (WebKit::ChromeClientImpl::runOpenPanel): Changed to use settings.
1272         (WebKit::ChromeClientImpl::enumerateChosenDirectory): Updated decls.
1273         * src/ChromeClientImpl.h:
1274
1275 2011-06-21  Tony Chang  <tony@chromium.org>
1276
1277         Reviewed by Eric Seidel.
1278
1279         add css parsing of flex()
1280         https://bugs.webkit.org/show_bug.cgi?id=62050
1281
1282         * features.gypi: Add a gyp flag (enable_css3_flexbox) for setting ENABLE_CSS3_FLEXBOX.
1283
1284 2011-06-21  Zhenyao Mo  <zmo@google.com>
1285
1286         Reviewed by Kenneth Russell.
1287
1288         Implement drawingBufferWidth/drawingBufferHeight in WebGL
1289         https://bugs.webkit.org/show_bug.cgi?id=58497
1290
1291         * src/GraphicsContext3DChromium.cpp: Make getInternalFramebufferSize method const.
1292         (WebCore::GraphicsContext3DInternal::getInternalFramebufferSize):
1293         (WebCore::GraphicsContext3D::getInternalFramebufferSize):
1294         * src/GraphicsContext3DInternal.h:
1295
1296 2011-06-21  Dmitry Lomov  <dslomov@google.com>
1297
1298         Reviewed by Adam Barth.
1299
1300         https://bugs.webkit.org/show_bug.cgi?id=62653
1301         [V8][Chromium] Make StringCache in V8 bindings per-isolate
1302
1303         * src/WebKit.cpp:
1304         (WebKit::initialize): Initialize V8PerIsolateBindingData eagerly
1305         * src/WebScriptController.cpp:
1306         (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
1307
1308 2011-06-21  Chris Evans  <cevans@chromium.org>
1309
1310         Reviewed by Darin Fisher.
1311
1312         Wire in checkIfRunInsecureContent to the chromium WebKit API
1313         https://bugs.webkit.org/show_bug.cgi?id=63026
1314
1315         * public/WebFrame.h:
1316         * src/WebFrameImpl.cpp:
1317         (WebKit::WebFrameImpl::checkIfRunInsecureContent): add in basic plumbing.
1318         * src/WebFrameImpl.h:
1319
1320 2011-06-21  Ryosuke Niwa  <rniwa@webkit.org>
1321
1322         Rolled DEPS.
1323
1324         * DEPS:
1325
1326 2011-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1327
1328         Unreviewed, rolling out r89185.
1329         http://trac.webkit.org/changeset/89185
1330         https://bugs.webkit.org/show_bug.cgi?id=63068
1331
1332         For breaking navigation with inspector opened. (Requested by
1333         pfeldman on #webkit).
1334
1335         * src/WebScriptController.cpp:
1336         (WebKit::WebScriptController::enableV8SingleThreadMode):
1337
1338 2011-06-20  Scott Byer  <scottbyer@chromium.org>
1339
1340         Reviewed by Adam Barth.
1341
1342         Smooth scrolling for Chromium, initial patch.
1343         https://bugs.webkit.org/show_bug.cgi?id=61878
1344
1345         Add in a default scrolling animator in the platform directory, with a run time enable switch, to provide
1346         animated / smooth scrolling on platforms and for input devices where it's not provided by the platform, and to
1347         be easily configurable to what situatuations the animations are provided for. The smooth scrolling code is
1348         compiled out by default.
1349
1350         Unit tests ScrollAnimatorNoneTest.cpp
1351
1352         * WebKit.gypi:
1353         * features.gypi:
1354         * public/WebSettings.h:
1355         * src/WebSettingsImpl.cpp:
1356         (WebKit::WebSettingsImpl::setEnableScrollAnimator):
1357         * src/WebSettingsImpl.h:
1358         * tests/ScrollAnimatorNoneTest.cpp: Added.
1359         (MockScrollableArea::MockScrollableArea):
1360         (MockScrollableArea::scrollAnimatorEnabled):
1361         (MockScrollAnimatorNone::MockScrollAnimatorNone):
1362         (MockScrollAnimatorNone::currentX):
1363         (MockScrollAnimatorNone::currentY):
1364         (MockScrollAnimatorNone::reset):
1365         (TEST):
1366         (ScrollAnimatorNoneTest::ScrollAnimatorNoneTest):
1367         (ScrollAnimatorNoneTest::SetUp):
1368         (ScrollAnimatorNoneTest::TearDown):
1369         (ScrollAnimatorNoneTest::reset):
1370         (ScrollAnimatorNoneTest::updateDataFromParameters):
1371         (ScrollAnimatorNoneTest::animateScroll):
1372         (ScrollAnimatorNoneTest::curveIntegralAt):
1373         (ScrollAnimatorNoneTest::attackArea):
1374         (ScrollAnimatorNoneTest::releaseArea):
1375         (ScrollAnimatorNoneTest::attackCurve):
1376         (ScrollAnimatorNoneTest::releaseCurve):
1377         (ScrollAnimatorNoneTest::curveDerivativeAt):
1378         (ScrollAnimatorNoneTest::curveTestInner):
1379         (ScrollAnimatorNoneTest::curveTest):
1380         (TEST_F):
1381
1382 2011-06-20  Adam Barth  <abarth@webkit.org>
1383
1384         Reviewed by Dimitri Glazkov.
1385
1386         Several pyauto tests are failing because some infobars
1387         https://bugs.webkit.org/show_bug.cgi?id=62968
1388
1389         This function used to evaluate script as if there was a user gesture
1390         (due to the lack of a source URL). This patch re-introduces the user
1391         gesture (this time explicitly), which causes the pyauto tests listed in
1392         http://code.google.com/p/chromium/issues/detail?id=86397 to start
1393         passing again.  It's unclear whether this forced gesture is needed in
1394         non-test scenarios.
1395
1396         * src/WebFrameImpl.cpp:
1397         (WebKit::WebFrameImpl::executeScriptAndReturnValue):
1398
1399 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
1400
1401         Reviewed by Yury Semikhatsky.
1402
1403         Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
1404         https://bugs.webkit.org/show_bug.cgi?id=62994
1405
1406         * public/WebDevToolsAgent.h:
1407         * src/WebDevToolsAgentImpl.cpp:
1408         * src/WebDevToolsAgentImpl.h:
1409
1410 2011-06-19  Ryosuke Niwa  <rniwa@webkit.org>
1411
1412         Rolled DEPS.
1413
1414         * DEPS:
1415
1416 2011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
1417
1418         Reviewed by Darin Adler.
1419
1420         Separate concerns of loading file icons and choosing files.
1421         https://bugs.webkit.org/show_bug.cgi?id=62931
1422
1423         * src/ChromeClientImpl.cpp:
1424         (WebKit::ChromeClientImpl::loadIconForFiles): Renamed to better reflect the intent.
1425         * src/ChromeClientImpl.h: Ditto.
1426         * src/WebIconLoadingCompletionImpl.cpp:
1427         (WebKit::WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl): Changed to use FileIconLoader.
1428         (WebKit::WebIconLoadingCompletionImpl::didLoadIcon): Ditto.
1429         * src/WebIconLoadingCompletionImpl.h: Dito.
1430
1431 2011-06-18  Yufeng Shen  <miletus@chromium.org>
1432
1433         Reviewed by Darin Fisher.
1434
1435         Adding "force" filed to Touch Event
1436         https://bugs.webkit.org/show_bug.cgi?id=62766
1437
1438         * public/WebTouchPoint.h:
1439         (WebKit::WebTouchPoint::WebTouchPoint):
1440         * src/WebInputEventConversion.cpp:
1441         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
1442
1443 2011-06-17  Chris Rogers  <crogers@google.com>
1444
1445         Unreviewed build fix.
1446
1447         Build fix - fix chromium shared win builder
1448         https://bugs.webkit.org/show_bug.cgi?id=62924
1449
1450         * features.gypi:
1451
1452 2011-06-17  Dmitry Lomov  <dslomov@google.com>
1453
1454         Reviewed by Adam Barth.
1455
1456         https://bugs.webkit.org/show_bug.cgi?id=62653
1457         [V8][Chromium] Make StringCache in V8 bindings per-isolate
1458         This moves StringCache into V8BindingPerIsolateData.
1459
1460         * src/WebScriptController.cpp:
1461         (WebKit::WebScriptController::enableV8SingleThreadMode): StringCache is now per-isolate, so ok in multithreaded contexts.
1462
1463 2011-06-17  Ryosuke Niwa  <rniwa@webkit.org>
1464
1465         Roll Chromium DEPS.
1466
1467         * DEPS:
1468
1469 2011-06-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1470
1471         Unreviewed, rolling out r89143.
1472         http://trac.webkit.org/changeset/89143
1473         https://bugs.webkit.org/show_bug.cgi?id=62912
1474
1475         Possible Chromeos test breakage (Requested by senorblanco on
1476         #webkit).
1477
1478         * src/AsyncFileSystemChromium.cpp:
1479         (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
1480         * src/WorkerAsyncFileSystemChromium.cpp:
1481         (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
1482         * tests/KURLTest.cpp:
1483         (ComponentCase::TEST):
1484
1485 2011-06-17  Chris Rogers  <crogers@google.com>
1486
1487         Reviewed by Tony Chang.
1488
1489         Enable Web Audio for chromium windows build
1490         https://bugs.webkit.org/show_bug.cgi?id=62895
1491
1492         * features.gypi:
1493
1494 2011-06-17  Eric Uhrhane  <ericu@chromium.org>
1495
1496         Reviewed by Adam Barth.
1497
1498         [filesystem/Chromium] Filesystem paths need proper URL escaping
1499         https://bugs.webkit.org/show_bug.cgi?id=62811
1500
1501         Fix http://code.google.com/p/chromium/issues/detail?id=78860 by making
1502         KURLChromium.cpp's escaping code actually work.
1503
1504         Here I added the needed calls to encodeWithURLEscapeSequences.
1505         * src/AsyncFileSystemChromium.cpp:
1506         (WebCore::AsyncFileSystemChromium::virtualPathToFileSystemURL):
1507         * src/WorkerAsyncFileSystemChromium.cpp:
1508         (WebCore::WorkerAsyncFileSystemChromium::virtualPathToFileSystemURL):
1509
1510         Here I updated the test to reflect the new functionality in
1511         encodeWithURLEscapeSequences.
1512         * tests/KURLTest.cpp:
1513
1514 2011-06-16  Bill Budge  <bbudge@chromium.org>
1515
1516         Reviewed by Adam Barth.
1517
1518         The AssociatedURLLoader returns URL access errors synchronously. Use a timer to return such errors asynchronously. Also add unit tests for successful loads, same-origin restriction by default, and successful cross-origin loads.
1519         https://bugs.webkit.org/show_bug.cgi?id=60059
1520
1521         * WebKit.gyp:
1522         * WebKit.gypi:
1523         * src/AssociatedURLLoader.cpp:
1524         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
1525         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
1526         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
1527         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
1528         (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
1529         (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
1530         (WebKit::AssociatedURLLoader::loadAsynchronously):
1531         * tests/AssociatedURLLoaderTest.cpp: Added.
1532         (WebKit::TestWebFrameClient::cancelledError):
1533         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
1534         (WebKit::AssociatedURLLoaderTest::SetUp):
1535         (WebKit::AssociatedURLLoaderTest::TearDown):
1536         (WebKit::AssociatedURLLoaderTest::serveRequests):
1537         (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
1538         (WebKit::AssociatedURLLoaderTest::willSendRequest):
1539         (WebKit::AssociatedURLLoaderTest::didSendData):
1540         (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
1541         (WebKit::AssociatedURLLoaderTest::didDownloadData):
1542         (WebKit::AssociatedURLLoaderTest::didReceiveData):
1543         (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
1544         (WebKit::AssociatedURLLoaderTest::didFinishLoading):
1545         (WebKit::AssociatedURLLoaderTest::didFail):
1546         (WebKit::TEST_F):
1547
1548 2011-06-16  Sailesh Agrawal  <sail@chromium.org>
1549
1550         Reviewed by Mihai Parparita.
1551
1552         [Chromium] Overlay scrollbars leave glitches on web content
1553         https://bugs.webkit.org/show_bug.cgi?id=62383
1554
1555         Fix glitches when scrolling with overlay scrollbars. The problem was that the render widget was copying the scrollbars when scrolling. Fix was to intersect the clip rect with the scroll rect. This is the same thing that Safari does (see WebChromeClient::scroll).
1556
1557         * src/ChromeClientImpl.cpp:
1558         (WebKit::ChromeClientImpl::scroll):
1559
1560 2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>
1561
1562         Rolled DEPS.
1563
1564         * DEPS:
1565
1566 2011-06-16  Ryosuke Niwa  <rniwa@webkit.org>
1567
1568         Rolled DEPS.
1569
1570         * DEPS:
1571
1572 2011-06-16  Adam Barth  <abarth@webkit.org>
1573
1574         Reviewed by Darin Fisher.
1575
1576         [Chromium] Prepare to move some APIs from WebFrame to WebDocument
1577         https://bugs.webkit.org/show_bug.cgi?id=62781
1578
1579         This patch adds a WEBKIT_FRAME_TO_DOCUMENT_API_MOVE ifdef to prepare
1580         for moving a number of Document-specific APIs from WebFrame to
1581         WebDocument.  This ifdef will allow us to move these APIs without
1582         disrupting the consumers of the APIs (too much).
1583
1584         * public/WebFrame.h:
1585         * src/WebFrameImpl.cpp:
1586         * src/WebFrameImpl.h:
1587
1588 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1589
1590         Unreviewed, rolling out r89026.
1591         http://trac.webkit.org/changeset/89026
1592         https://bugs.webkit.org/show_bug.cgi?id=62804
1593
1594         These patches were likely correct.  I'll investigate the
1595         browser_test failures. (Requested by abarth on #webkit).
1596
1597         * src/WebPluginContainerImpl.cpp:
1598         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1599         * src/WebViewImpl.cpp:
1600         (WebKit::WebViewImpl::performMediaPlayerAction):
1601
1602 2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>
1603
1604         Reviewed by Pavel Feldman.
1605
1606         Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
1607         https://bugs.webkit.org/show_bug.cgi?id=61205
1608
1609         Added inspector backend cache for XHR content.
1610
1611         * src/AssociatedURLLoader.cpp:
1612         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
1613
1614 2011-06-16  Tommy Widenflycht  <tommyw@google.com>
1615
1616         Reviewed by Tony Gentilcore.
1617
1618         MediaStream API: Runtime enabled features
1619         https://bugs.webkit.org/show_bug.cgi?id=62798
1620
1621         Add the WebRuntimeFeatures API for Media Streams and enable the feature by default in DumpRenderTree.
1622
1623         * public/WebRuntimeFeatures.h:
1624         * src/WebRuntimeFeatures.cpp:
1625         (WebKit::WebRuntimeFeatures::enableMediaStream):
1626         (WebKit::WebRuntimeFeatures::isMediaStreamEnabled):
1627
1628 2011-06-16  Torsten Kurbad  <gentoo@tk-webart.de>
1629
1630         Reviewed by Eric Seidel.
1631
1632         Add support for sys.platform == 'linux3' by relaxing 
1633         conditional statements and/or extending lookup dicts.
1634         This way, Linux kernels >=3.0-rc1 get supported in the
1635         build process.
1636         https://bugs.webkit.org/show_bug.cgi?id=62730
1637
1638         * gyp_webkit:
1639
1640 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1641
1642         Unreviewed, rolling out r89025.
1643         http://trac.webkit.org/changeset/89025
1644         https://bugs.webkit.org/show_bug.cgi?id=62799
1645
1646         "Some layout tests fail" (Requested by yurys on #webkit).
1647
1648         * src/AssociatedURLLoader.cpp:
1649         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
1650
1651 2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
1652
1653         Unreviewed.
1654
1655         Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
1656         https://bugs.webkit.org/show_bug.cgi?id=62796
1657
1658         The patches broke chromium browser tests.
1659
1660         * src/WebPluginContainerImpl.cpp:
1661         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1662         * src/WebViewImpl.cpp:
1663         (WebKit::WebViewImpl::performMediaPlayerAction):
1664
1665 2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>
1666
1667         Reviewed by Yury Semikhatsky.
1668
1669         Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
1670         https://bugs.webkit.org/show_bug.cgi?id=61205
1671
1672         Added inspector backend cache for XHR content.
1673
1674         * src/AssociatedURLLoader.cpp:
1675         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
1676
1677 2011-06-16  Adam Barth  <abarth@webkit.org>
1678
1679         Reviewed by Eric Seidel.
1680
1681         Remove HTMLVideoElement::processingUserGesture
1682         https://bugs.webkit.org/show_bug.cgi?id=62784
1683
1684         * src/WebViewImpl.cpp:
1685         (WebKit::WebViewImpl::performMediaPlayerAction):
1686
1687 2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>
1688
1689         Reviewed by Pavel Feldman.
1690
1691         WebInspector [Chromium]: Make heap snapshots UI more responsive.
1692         https://bugs.webkit.org/show_bug.cgi?id=62360
1693
1694         Two changes have been made:
1695           - when we request elements, sort array only partially;
1696           - when populating children, do it in batches;
1697
1698         * WebKit.gyp:
1699
1700 2011-06-15  Adam Barth  <abarth@webkit.org>
1701
1702         Reviewed by Eric Seidel.
1703
1704         Remove Event::fromUserGesture
1705         https://bugs.webkit.org/show_bug.cgi?id=62778
1706
1707         This call site is not definite about there not being a user gesture.
1708
1709         * src/WebPluginContainerImpl.cpp:
1710         (WebKit::WebPluginContainerImpl::loadFrameRequest):
1711
1712 2011-06-15  Darin Adler  <darin@apple.com>
1713
1714         Reviewed by Adam Barth.
1715
1716         Remove obsolete LOOSE_OWN_PTR code
1717         https://bugs.webkit.org/show_bug.cgi?id=59909
1718
1719         * src/StorageAreaProxy.cpp:
1720         (WebCore::StorageAreaProxy::StorageAreaProxy): Use adoptPtr
1721         instead of LOOSE_OWN_PTR.
1722         * src/StorageNamespaceProxy.cpp:
1723         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): Ditto.
1724
1725 2011-06-15  Andrey Kosyakov  <caseq@chromium.org>
1726
1727        Unreviewed, rolled out r88937 (broke build on mac)
1728
1729         * src/AssociatedURLLoader.cpp:
1730         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
1731
1732 2011-06-15  Pavel Feldman  <pfeldman@chromium.org>
1733
1734         Not reviewed: [Chromium] one line background color fix for inspector.
1735
1736         * src/js/devTools.css:
1737         (body.detached.platform-mac-snowleopard #toolbar):
1738         (body.detached.platform-mac-snowleopard.inactive #toolbar):
1739
1740 2011-06-14  Hans Wennborg  <hans@chromium.org>
1741
1742         Reviewed by Tony Gentilcore.
1743
1744         IndexedDB: LevelDB doesn't do incognito mode; fall back to SQLite.
1745         https://bugs.webkit.org/show_bug.cgi?id=62633
1746
1747         LevelDB does not support in-memory databases. Fall back to SQLite
1748         for incognito mode browsing. This will be tested by browser_tests
1749         in Chromium.
1750
1751         * src/WebIDBFactoryImpl.cpp:
1752         (WebKit::WebIDBFactoryImpl::open):
1753
1754 2011-06-10  Yury Semikhatsky  <yurys@chromium.org>
1755
1756         Reviewed by Dmitry Titov.
1757
1758         [Chromium] Worker object may be garbage collected if it doesn't send any messages
1759         https://bugs.webkit.org/show_bug.cgi?id=62446
1760
1761         Assume that WorkerContext has pending activity before explicit notification
1762         is received from it. It prevents worker object from being collected before
1763         the first message from its context is received.
1764
1765         * src/WebWorkerClientImpl.cpp:
1766         (WebKit::WebWorkerClientImpl::startWorkerContext):
1767         (WebKit::WebWorkerClientImpl::startWorkerContextInternal):
1768         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
1769         * src/WebWorkerClientImpl.h:
1770
1771 2011-06-14  Eric Uhrhane  <ericu@chromium.org>
1772
1773         Reviewed by Darin Fisher.
1774
1775         Clean up filesystem base path code.
1776         https://bugs.webkit.org/show_bug.cgi?id=60218
1777
1778         Change a bunch of url-held-in-a-string parameters into real KURLS and
1779         WebURLs.  Also add a #define to make it easier to stage this change, as
1780         it involves both Chromium and WebKit changes that would ideally be 
1781         simultaneous.
1782
1783         No new tests--no change in functionality.
1784
1785         * public/WebFileSystem.h:
1786         * public/WebFileSystemCallbacks.h:
1787         * public/WebFrame.h:
1788         * src/AsyncFileSystemChromium.cpp:
1789         * src/AsyncFileSystemChromium.h:
1790         * src/WebFileSystemCallbacksImpl.cpp:
1791         * src/WebFileSystemCallbacksImpl.h:
1792         * src/WebFrameImpl.cpp:
1793         * src/WorkerAsyncFileSystemChromium.cpp:
1794         * src/WorkerAsyncFileSystemChromium.h:
1795         * src/WorkerAsyncFileWriterChromium.cpp:
1796         * src/WorkerAsyncFileWriterChromium.h:
1797         * src/WorkerFileSystemCallbacksBridge.cpp:
1798         * src/WorkerFileSystemCallbacksBridge.h:
1799         * src/WorkerFileWriterCallbacksBridge.cpp:
1800         * src/WorkerFileWriterCallbacksBridge.h:
1801
1802 2011-06-14  James Robinson  <jamesr@chromium.org>
1803
1804         Reviewed by Stephen White.
1805
1806         [chromium] Compositor shader initialization is inefficient
1807         https://bugs.webkit.org/show_bug.cgi?id=62618
1808
1809         Add a TRACE_EVENT() around initial compositor initialization.
1810
1811         * src/WebViewImpl.cpp:
1812         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1813
1814 2011-06-14  Adam Barth  <abarth@webkit.org>
1815
1816         Reviewed by Darin Fisher.
1817
1818         WebFrame::url() should use the one true URL
1819         https://bugs.webkit.org/show_bug.cgi?id=62610
1820
1821         The Document's URL is the one true URL.  Thou shalt have no URLs before
1822         Document::url().
1823
1824         * src/WebFrameImpl.cpp:
1825         (WebKit::WebFrameImpl::url):
1826
1827 2011-06-13  James Simonsen  <simonjam@chromium.org>
1828
1829         [Chromium] Unreviewed, rolled DEPS.
1830
1831         * DEPS:
1832
1833 2011-06-13  James Simonsen  <simonjam@chromium.org>
1834
1835         Reviewed by James Robinson.
1836
1837         [Chromium] Implement monotonicallyIncreasingClock()
1838         https://bugs.webkit.org/show_bug.cgi?id=62162
1839
1840         * public/WebKitClient.h:
1841         (WebKit::WebKitClient::monotonicallyIncreasingTime): Added.
1842         * src/PlatformBridge.cpp:
1843         (WebCore::PlatformBridge::monotonicallyIncreasingTime): Added.
1844
1845 2011-06-13  Jian Li  <jianli@chromium.org>
1846
1847         Reviewed by David Levin.
1848
1849         [Chromium] WebNotification should check if ScriptExecutionContext is gone
1850         before dispatching events.
1851         https://bugs.webkit.org/show_bug.cgi?id=62592
1852
1853         * public/WebNotification.h:
1854         * src/WebNotification.cpp:
1855         (WebKit::WebNotification::dispatchDisplayEvent):
1856         (WebKit::WebNotification::dispatchErrorEvent):
1857         (WebKit::WebNotification::dispatchCloseEvent):
1858         (WebKit::WebNotification::dispatchClickEvent):
1859         (WebKit::WebNotification::dispatchEvent): Added a helper method to check
1860         the context and dispatch an event.
1861
1862 2011-06-13  Dmitry Lomov  <dslomov@google.com>
1863
1864         Reviewed by Adam Barth.
1865
1866         https://bugs.webkit.org/show_bug.cgi?id=62345
1867         Use per-isolate embedder data instead of statics for caches in bindings.
1868         This is a prerequisite for more than one v8 isolate per process.
1869
1870         * tests/IDBBindingUtilitiesTest.cpp:
1871         (WebCore::TEST):
1872
1873 2011-06-13  Lei Zhang  <thestig@chromium.org>
1874
1875         Reviewed by Darin Fisher.
1876
1877         [Chromium] Add a WebSetting to control printing backgrounds
1878         https://bugs.webkit.org/show_bug.cgi?id=62423
1879
1880         * public/WebSettings.h:
1881         * src/WebSettingsImpl.cpp:
1882         (WebKit::WebSettingsImpl::setShouldPrintBackgrounds):
1883         * src/WebSettingsImpl.h:
1884
1885 2011-06-13  Dominic Mazzoni  <dmazzoni@google.com>
1886
1887         Reviewed by Dimitri Glazkov.
1888
1889         Add accessors for selectionStart and selectionEnd.
1890         https://bugs.webkit.org/show_bug.cgi?id=62596
1891
1892         * public/WebAccessibilityObject.h:
1893         * src/WebAccessibilityObject.cpp:
1894         (WebKit::WebAccessibilityObject::selectionEnd):
1895         (WebKit::WebAccessibilityObject::selectionStart):
1896
1897 2011-06-13  Adam Barth  <abarth@webkit.org>
1898
1899         Reviewed by Nate Chapin.
1900
1901         Factor IconController out of FrameLoader
1902         https://bugs.webkit.org/show_bug.cgi?id=62509
1903
1904         * src/WebFrameImpl.cpp:
1905         (WebKit::WebFrameImpl::iconURLs):
1906
1907 2011-06-12  Adam Barth  <abarth@webkit.org>
1908
1909         Reviewed by Alexey Proskuryakov.
1910
1911         Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
1912         https://bugs.webkit.org/show_bug.cgi?id=62516
1913
1914         * src/FrameLoaderClientImpl.cpp:
1915         (WebKit::FrameLoaderClientImpl::interruptedForPolicyChangeError):
1916         * src/FrameLoaderClientImpl.h:
1917
1918 2011-06-12  Adam Barth  <abarth@webkit.org>
1919
1920         Reviewed by Eric Seidel.
1921
1922         Remove FrameLoader::isProcessingUserGesture
1923         https://bugs.webkit.org/show_bug.cgi?id=62519
1924
1925         * src/WebFrameImpl.cpp:
1926         (WebKit::WebFrameImpl::isProcessingUserGesture):
1927
1928 2011-06-10  Vsevolod Vlasov  <vsevik@chromium.org>
1929
1930         Reviewed by James Robinson.
1931
1932         Web Inspector: [Chromium] DevTools does not highlight elements when accelerated compositing is on.
1933         https://bugs.webkit.org/show_bug.cgi?id=62149
1934
1935         Added page overlay for inspector highlight support.
1936
1937         * WebKit.gyp:
1938         * src/ChromeClientImpl.cpp:
1939         (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
1940         * src/PageOverlay.cpp: Added.
1941         (WebKit::PageOverlay::create):
1942         (WebKit::PageOverlay::PageOverlay):
1943         (WebKit::OverlayGraphicsLayerClientImpl::create):
1944         (WebKit::OverlayGraphicsLayerClientImpl::~OverlayGraphicsLayerClientImpl):
1945         (WebKit::OverlayGraphicsLayerClientImpl::notifyAnimationStarted):
1946         (WebKit::OverlayGraphicsLayerClientImpl::notifySyncRequired):
1947         (WebKit::OverlayGraphicsLayerClientImpl::paintContents):
1948         (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
1949         (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
1950         (WebKit::OverlayGraphicsLayerClientImpl::OverlayGraphicsLayerClientImpl):
1951         (WebKit::PageOverlay::clear):
1952         (WebKit::PageOverlay::update):
1953         (WebKit::PageOverlay::paintWebFrame):
1954         (WebKit::PageOverlay::invalidateWebFrame):
1955         * src/PageOverlay.h: Added.
1956         (WebKit::PageOverlay::~PageOverlay):
1957         (WebKit::PageOverlay::setClient):
1958         * src/WebDevToolsAgentImpl.cpp:
1959         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
1960         (WebKit::WebDevToolsAgentImpl::highlight):
1961         (WebKit::WebDevToolsAgentImpl::hideHighlight):
1962         * src/WebDevToolsAgentImpl.h:
1963         * src/WebFrameImpl.cpp:
1964         (WebKit::WebFrameImpl::paintWithContext):
1965         * src/WebViewImpl.cpp:
1966         (WebKit::WebViewImpl::WebViewImpl):
1967         (WebKit::WebViewImpl::setPageOverlayClient):
1968         (WebKit::WebViewImpl::setOverlayLayer):
1969         (WebKit::WebViewImpl::setRootGraphicsLayer):
1970         (WebKit::WebViewImpl::setRootPlatformLayer):
1971         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1972         (WebKit::WebViewImpl::doComposite):
1973         (WebKit::WebViewImpl::reallocateRenderer):
1974         * src/WebViewImpl.h:
1975         (WebKit::WebViewImpl::pageOverlay):
1976
1977 2011-06-10  David Levin  <levin@chromium.org>
1978
1979         Reviewed by Dmitry Titov.
1980
1981         Fetching a Worker with url that isn't allowed from a file based test causes DRT to crash.
1982         https://bugs.webkit.org/show_bug.cgi?id=62469
1983
1984         Test: fast/workers/worker-crash-with-invalid-location.html
1985
1986         * src/SharedWorkerRepository.cpp:
1987         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): Changed to using the RefCounted version
1988         of WorkerScriptLoader.
1989         (WebCore::SharedWorkerScriptLoader::load): Rearranged calls as done in similar places,
1990         which allows for SharedWorkerScriptLoader to be deleted during the laodAsynchronously call
1991         and for unsetPendingActivity to be called.
1992         (WebCore::SharedWorkerScriptLoader::notifyFinished): Changed to using the RefCounted version
1993         of WorkerScriptLoader.
1994
1995 2011-06-10  Ryosuke Niwa  <rniwa@webkit.org>
1996
1997         Rolled DEPS.
1998
1999         * DEPS:
2000
2001 2011-06-10  Tony Chang  <tony@chromium.org>
2002
2003         Reviewed by Dimitri Glazkov.
2004
2005         [chromium] make features.gypi the same as features_override.gypi
2006         https://bugs.webkit.org/show_bug.cgi?id=62399
2007
2008         Make the file the same as chromium's features_override.gypi so we
2009         can remove features_override.gypi in chromium.
2010
2011         Remove ENABLE_DATAGRID=0 since the define is gone and remove
2012         ENABLE_FULLSCREEN_API=1 since we want to disable it.
2013
2014         * features.gypi:
2015
2016 2011-06-09  Yury Semikhatsky  <yurys@chromium.org>
2017
2018         Reviewed by Dmitry Titov.
2019
2020         [Chromium] Worker object may be garbage collected even if it has message handlers
2021         https://bugs.webkit.org/show_bug.cgi?id=62292
2022
2023         I'd like to convert the test case into a layout test but I don't see yet
2024         how to do this so that the test isn't too slow and reliable. The problem
2025         with test is that full-GC needs to be triggered right after
2026         WebWorkerClientImpl::confirmMessageFromWorkerObject is called and there
2027         is no way to hook WebWorkerClientImpl::confirmMessageFromWorkerObject from JavaScript.
2028         So no test for now.
2029
2030         * src/WebWorkerClientImpl.cpp:
2031         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
2032         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): update worker context pending
2033         activity state every time a message is confirmed since the message may have created a new activity.
2034         * src/WebWorkerClientImpl.h:
2035
2036 2011-06-09  James Kozianski  <koz@chromium.org>
2037
2038         Unreviewed, rolling out r88466.
2039         http://trac.webkit.org/changeset/88466
2040         https://bugs.webkit.org/show_bug.cgi?id=60059
2041
2042         Broke PPAPITest.URLLoader test on the chromium bots
2043
2044         * WebKit.gyp:
2045         * WebKit.gypi:
2046         * src/AssociatedURLLoader.cpp:
2047         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2048         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2049         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2050         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2051         (WebKit::AssociatedURLLoader::loadAsynchronously):
2052         * tests/AssociatedURLLoaderTest.cpp: Removed.
2053
2054 2011-06-09  James Robinson  <jamesr@chromium.org>
2055
2056         Reviewed by Eric Seidel.
2057
2058         [chromium] webkitRequestFullscreen exposed to web even when feature is disabled
2059         https://bugs.webkit.org/show_bug.cgi?id=62397
2060
2061         Remove ENABLE_FULLSCREEN_API define from chromium builds since this exposes the webkitRequestFullscreen function
2062         even when the runtime setting was disabled.
2063
2064         * features.gypi:
2065
2066 2011-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2067
2068         Unreviewed, rolling out r88486.
2069         http://trac.webkit.org/changeset/88486
2070         https://bugs.webkit.org/show_bug.cgi?id=62409
2071
2072         Broke chromium-win compile (Requested by jamesr on #webkit).
2073
2074         * public/WebData.h:
2075         * public/WebPageSerializer.h:
2076         * src/WebData.cpp:
2077         * src/WebPageSerializer.cpp:
2078         (WebKit::WebPageSerializer::serialize):
2079         (WebKit::WebPageSerializer::serializeToMHTML):
2080
2081 2011-06-09  Jay Civelli  <jcivelli@chromium.org>
2082
2083         Reviewed by Darin Fisher.
2084
2085         Page serializer APIs now use WebData instead of fetching the entire
2086         resource contents.
2087         https://bugs.webkit.org/show_bug.cgi?id=61908
2088
2089         * public/WebData.h:
2090         * public/WebPageSerializer.h:
2091         * src/WebData.cpp:
2092         (WebKit::WebData::getSomeData):
2093         * src/WebPageSerializer.cpp:
2094         (WebKit::WebPageSerializer::serialize):
2095         (WebKit::WebPageSerializer::serializeToMHTML):
2096
2097 2011-06-09  Bill Budge  <bbudge@chromium.org>
2098
2099         Reviewed by Adam Barth.
2100
2101         The AssociatedURLLoader returns URL access errors synchronously. Use a timer to return such errors asynchronously. Also add unit tests for successful loads, same-origin restriction by default, and successful cross-origin loads.
2102         https://bugs.webkit.org/show_bug.cgi?id=60059
2103
2104         * WebKit.gyp:
2105         * WebKit.gypi:
2106         * src/AssociatedURLLoader.cpp:
2107         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
2108         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
2109         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
2110         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
2111         (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
2112         (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
2113         (WebKit::AssociatedURLLoader::loadAsynchronously):
2114         * tests/AssociatedURLLoaderTest.cpp: Added.
2115         (WebKit::TestWebFrameClient::cancelledError):
2116         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
2117         (WebKit::AssociatedURLLoaderTest::SetUp):
2118         (WebKit::AssociatedURLLoaderTest::TearDown):
2119         (WebKit::AssociatedURLLoaderTest::serveRequests):
2120         (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
2121         (WebKit::AssociatedURLLoaderTest::willSendRequest):
2122         (WebKit::AssociatedURLLoaderTest::didSendData):
2123         (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
2124         (WebKit::AssociatedURLLoaderTest::didDownloadData):
2125         (WebKit::AssociatedURLLoaderTest::didReceiveData):
2126         (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
2127         (WebKit::AssociatedURLLoaderTest::didFinishLoading):
2128         (WebKit::AssociatedURLLoaderTest::didFail):
2129         (WebKit::TEST_F):
2130
2131 2011-06-09  Nico Weber  <thakis@chromium.org>
2132
2133         Reviewed by Darin Fisher.
2134
2135         [chromium] Make a few destructors private.
2136         https://bugs.webkit.org/show_bug.cgi?id=62341
2137
2138         No intended functionality change.
2139
2140         * src/NotificationPresenterImpl.cpp:
2141         (WebKit::VoidCallbackClient::~VoidCallbackClient):
2142         * src/WebTextCheckingCompletionImpl.h:
2143         (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
2144         * src/WebURLRequest.cpp:
2145         (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
2146         * src/WebURLResponse.cpp:
2147         (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
2148
2149 2011-06-09  James Robinson  <jamesr@chromium.org>
2150
2151         Fix chromium build on build.webkit.org builders.
2152
2153         * features.gypi:
2154
2155 2011-06-08  Justin Novosad  <junov@chromium.org>
2156
2157         Reviewed by James Robinson.
2158
2159         [Chromium] Crash when closing a tab with accelerated 2d canvas
2160         https://bugs.webkit.org/show_bug.cgi?id=62324
2161         In GraphicsContext3DInternal::setContextLostCallback we are passing a
2162         non-refcounted ptr to a refcounted member. this can cause an access
2163         violation after the destruction of GraphicsContext3D.  Upon destruction
2164         a null callback is sent to setContextLostCallback, which is good
2165         except that it gets placed in a non-null adapter object.  This fix
2166         prevents the creation of the adapter when the callback is null, thus
2167         preventing a later crash.
2168
2169         * src/GraphicsContext3DChromium.cpp:
2170         (WebCore::GraphicsContextLostCallbackAdapter::create):
2171
2172 2011-06-08  James Robinson  <jamesr@chromium.org>
2173
2174         Hopefully last change to features.gypi - set ENABLE_REGISTER_PROTOCOL_HANDLER based off of the the variable set
2175         in chromium's common.gypi. Should green up the chromium linux tester on build.webkit.org.
2176
2177         * features.gypi:
2178
2179 2011-06-08  James Robinson  <jamesr@chromium.org>
2180
2181         Set ENABLE_REGISTER_PROTOCOL_HANDLER=1 for chromium. I didn't mean to turn that off...
2182
2183         * features.gypi:
2184
2185 2011-06-08  James Robinson  <jamesr@chromium.org>
2186
2187         [chromium] Update the chromium-within-WebKit revision to r88481
2188         https://bugs.webkit.org/show_bug.cgi?id=62353
2189
2190         * DEPS:
2191
2192 2011-06-08  Sailesh Agrawal  <sail@chromium.org>
2193
2194         Reviewed by Darin Fisher.
2195
2196         [Chromium] Add stubs to WebWidget
2197         https://bugs.webkit.org/show_bug.cgi?id=62263
2198
2199         This change add stub implementations for all WebWidget functions. Having stub methods should make it easier to add new functions to the class without breaking Chromium.
2200
2201         * public/WebWidget.h:
2202         (WebKit::WebWidget::close):
2203         (WebKit::WebWidget::size):
2204         (WebKit::WebWidget::resize):
2205         (WebKit::WebWidget::animate):
2206         (WebKit::WebWidget::layout):
2207         (WebKit::WebWidget::paint):
2208         (WebKit::WebWidget::composite):
2209         (WebKit::WebWidget::themeChanged):
2210         (WebKit::WebWidget::handleInputEvent):
2211         (WebKit::WebWidget::mouseCaptureLost):
2212         (WebKit::WebWidget::setFocus):
2213         (WebKit::WebWidget::setComposition):
2214         (WebKit::WebWidget::confirmComposition):
2215         (WebKit::WebWidget::compositionRange):
2216         (WebKit::WebWidget::textInputType):
2217         (WebKit::WebWidget::caretOrSelectionBounds):
2218         (WebKit::WebWidget::selectionRange):
2219         (WebKit::WebWidget::caretOrSelectionRange):
2220         (WebKit::WebWidget::setTextDirection):
2221         (WebKit::WebWidget::isAcceleratedCompositingActive):
2222
2223 2011-06-08  Tom Sepez  <tsepez@chromium.org>
2224
2225         Reviewed by Adam Barth.
2226
2227         Add new permission callbacks for mixed content blocking.
2228         https://bugs.webkit.org/show_bug.cgi?id=61946
2229
2230         * public/WebPermissionClient.h:
2231         (WebKit::WebPermissionClient::allowDisplayingInsecureContent):
2232         (WebKit::WebPermissionClient::allowRunningInsecureContent):
2233         * src/FrameLoaderClientImpl.cpp:
2234         (WebKit::FrameLoaderClientImpl::allowDisplayingInsecureContent):
2235         (WebKit::FrameLoaderClientImpl::allowRunningInsecureContent):
2236         * src/FrameLoaderClientImpl.h:
2237
2238 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
2239
2240         Added new entries for skia/third_party/glu.
2241
2242         * DEPS:
2243
2244 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
2245
2246         Rolled DEPS.
2247
2248         * DEPS:
2249
2250 2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>
2251
2252         Reviewed by Tony Chang.
2253
2254         Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
2255
2256         Compiling Chromium port under GCC 4.6 produces warnings about nullptr
2257         https://bugs.webkit.org/show_bug.cgi?id=62242
2258
2259         * WebKit.gyp:
2260
2261 2011-06-08  Greg Simon  <gregsimon@chromium.org>
2262
2263         Reviewed by Dimitri Glazkov.
2264
2265         Control Indexeddb backends from LayoutTestController
2266         https://bugs.webkit.org/show_bug.cgi?id=61000
2267
2268         * public/WebIDBFactory.h:
2269         * src/AssertMatchingEnums.cpp:
2270         * src/WebIDBFactoryImpl.cpp:
2271         (WebKit::WebIDBFactory::setOverrideBackingStoreType):
2272         (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
2273         (WebKit::WebIDBFactoryImpl::open):
2274
2275 2011-06-08  Dominic Mazzoni  <dmazzoni@google.com>
2276
2277         Reviewed by Dimitri Glazkov.
2278
2279         Add a method to return the line breaks for any element with
2280         multiline text content.
2281         https://bugs.webkit.org/show_bug.cgi?id=62236
2282
2283         * public/WebAccessibilityObject.h:
2284         * src/WebAccessibilityObject.cpp:
2285         (WebKit::WebAccessibilityObject::lineBreaks):
2286
2287 2011-06-08  Ilya Tikhonovsky  <loislo@chromium.org>
2288
2289         Unreviewed chromium build fix for r88332.
2290
2291         * src/WebRuntimeFeatures.cpp:
2292
2293 2011-06-08  Hironori Bono  <hbono@chromium.org>
2294
2295         Reviewed by Brent Fulgham.
2296
2297         Add SpellCheck API
2298         https://bugs.webkit.org/show_bug.cgi?id=59693
2299
2300         This change adds two SpellCheck API functions (addSpellcheckRange and
2301         removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
2302         the public-webapps ML. This change is currently available only on Chromium.
2303
2304         * features.gypi:
2305         * public/WebRuntimeFeatures.h:
2306         * src/ContextMenuClientImpl.cpp:
2307         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2308         * src/WebRuntimeFeatures.cpp:
2309         (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
2310         (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):
2311
2312 2011-06-07  James Kozianski  <koz@chromium.org>
2313
2314         [Chromium] Unreviewed. Disable SelectItemEvenFire that fails on
2315         chromium canaries.
2316
2317         * tests/PopupMenuTest.cpp:
2318         (WebKit::TEST_F):
2319
2320 2011-06-07  Robert Kroeger  <rjkroege@chromium.org>
2321
2322         Reviewed by Adam Barth.
2323
2324         [chromium] Add a basic gesture recognizer to the Chromium platform
2325         https://bugs.webkit.org/show_bug.cgi?id=54417
2326
2327         Added unit tests for the basic chromium platform gesture recognizer.
2328
2329         * tests/InnerGestureRecognizerTest.cpp: Added.
2330         (WebCore::InspectableInnerGestureRecognizer::InspectableInnerGestureRecognizer):
2331         (WebCore::InspectableInnerGestureRecognizer::signature):
2332         (WebCore::InspectableInnerGestureRecognizer::firstTouchPosition):
2333         (WebCore::InspectableInnerGestureRecognizer::setFirstTouchTime):
2334         (WebCore::InspectableInnerGestureRecognizer::firstTouchTime):
2335         (WebCore::InspectableInnerGestureRecognizer::setLastTouchTime):
2336         (WebCore::InspectableInnerGestureRecognizer::lastTouchTime):
2337         (WebCore::InspectableInnerGestureRecognizer::edgeFunction):
2338         (WebCore::InspectableInnerGestureRecognizer::updateValues):
2339         (WebCore::InspectableInnerGestureRecognizer::addEdgeFunction):
2340         (WebCore::BuildablePlatformTouchPoint::setX):
2341         (WebCore::BuildablePlatformTouchPoint::setY):
2342         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
2343         (WebCore::TestGestureRecognizer::TestGestureRecognizer):
2344         (WebCore::TestGestureRecognizer::SetUp):
2345         (WebCore::TestGestureRecognizer::TearDown):
2346         (WebCore::TEST_F):
2347
2348 2011-06-07  Vangelis Kokkevis  <vangelis@chromium.org>
2349
2350         Reviewed by James Robinson.
2351
2352         Disable compositing for RTL pages in the RenderLayerCompositor rather
2353         than later on in the WebViewImpl.
2354         https://bugs.webkit.org/show_bug.cgi?id=62246
2355
2356         * src/ChromeClientImpl.cpp:
2357         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
2358         * src/WebViewImpl.cpp:
2359         (WebKit::WebViewImpl::layout):
2360         (WebKit::WebViewImpl::setRootGraphicsLayer):
2361
2362 2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2363
2364         Unreviewed, rolling out r88254, r88262, and r88268.
2365         http://trac.webkit.org/changeset/88254
2366         http://trac.webkit.org/changeset/88262
2367         http://trac.webkit.org/changeset/88268
2368         https://bugs.webkit.org/show_bug.cgi?id=62234
2369
2370         I fail at changing features.gypi (Requested by abarth on
2371         #webkit).
2372
2373         * features.gypi:
2374
2375 2011-06-07  Adam Barth  <abarth@webkit.org>
2376
2377         Reviewed by Tony Chang.
2378
2379         Fix "branding" issue in features.gypi
2380         https://bugs.webkit.org/show_bug.cgi?id=62229
2381
2382         Apparently we need to move the conditional block further out of the
2383         nesting in order to see the branding variable.  This patch also remove
2384         the dummy branding variable I added to get the buildbot building again.
2385
2386         * features.gypi:
2387
2388 2011-06-07  Adam Barth  <abarth@webkit.org>
2389
2390         Attempt to fix the cr-win build.
2391
2392         * features.gypi:
2393
2394 2011-06-07  Adam Barth  <abarth@webkit.org>
2395
2396         Reviewed by Dimitri Glazkov.
2397
2398         Synchronize features.gypi and features_override.gypi in preparation for removing features_override.gypi
2399         https://bugs.webkit.org/show_bug.cgi?id=62135
2400
2401         After this patch is rolled into Chromium, we should be able to delete
2402         features_override.gyp downstream.  Once we do that, we can simplify
2403         this file somewhat by removing at least on level of nesting.
2404
2405         * features.gypi:
2406
2407 2011-06-03  Yury Semikhatsky  <yurys@chromium.org>
2408
2409         Reviewed by Pavel Feldman.
2410
2411         [Chromium] Web Inspector: correctly handle disconnect from worker when script execution is paused
2412         https://bugs.webkit.org/show_bug.cgi?id=62019
2413
2414         Dispatch disconnecFrontend message in debugger task mode to make sure
2415         it is processed even if execution is paused.
2416
2417         * src/WebWorkerImpl.cpp:
2418         (WebKit::WebWorkerImpl::detachDevTools):
2419         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
2420
2421 2011-06-07  Naoki Takano  <takano.naoki@gmail.com>
2422
2423         Reviewed by Kent Tamura.
2424
2425         [Chromium] Click event is not fired for a menulist <select>
2426         https://bugs.webkit.org/show_bug.cgi?id=60563
2427
2428         * tests/PopupMenuTest.cpp:
2429         (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
2430         (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
2431         (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
2432         (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
2433         (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
2434         (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
2435         (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
2436         (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
2437         (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
2438         (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
2439         (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
2440         * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
2441         * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
2442         * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
2443         * WebKit.gyp: Added PopupMenuTest.cpp. Because webkit_support dependency is added, we can't build PopupMenuTest.cpp with Chromium-win (shared) configuration.
2444
2445 2011-06-06  Nico Weber  <thakis@chromium.org>
2446
2447         Reviewed by James Robinson.
2448
2449         [chromium] Make WebViewImpl's destructor virtual
2450         https://bugs.webkit.org/show_bug.cgi?id=62155
2451
2452         This is _not_ to fix a real bug, just to make clang's
2453         -Wdelete-non-virtual-dtor happy. As discussed at
2454         http://codereview.chromium.org/7094005/, we prefer making leaf class
2455         destructors virtual over making the leaf classes final.
2456
2457         * src/WebViewImpl.h:
2458
2459 2011-06-06  Daniel Cheng  <dcheng@chromium.org>
2460
2461         Reviewed by Tony Chang.
2462
2463         [chromium] Delete dead clipboard code.
2464         https://bugs.webkit.org/show_bug.cgi?id=62113
2465
2466         * src/WebDragData.cpp:
2467
2468 2011-06-06  Nico Weber  <thakis@chromium.org>
2469
2470         Reviewed by James Robinson.
2471
2472         [chromium] Make WebURLRequestPrivateImpl's and WebURLResponsePrivateImpl's destructors virtual
2473         https://bugs.webkit.org/show_bug.cgi?id=62148
2474
2475         This is _not_ to fix a real bug, just to make clang's
2476         -Wdelete-non-virtual-dtor happy. As discussed at
2477         http://codereview.chromium.org/7094005/, we prefer making leaf class
2478         destructors virtual over making the leaf classes final.
2479
2480         * src/WebURLRequest.cpp:
2481         (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
2482         * src/WebURLResponse.cpp:
2483         (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
2484
2485 2011-06-06  Shishir Agrawal  <shishir@chromium.org>
2486
2487         Reviewed by Tony Gentilcore.
2488
2489         Add a "prerender" state for page visibility.
2490         https://bugs.webkit.org/show_bug.cgi?id=62062
2491
2492         * public/WebPageVisibilityState.h:
2493         * src/AssertMatchingEnums.cpp:
2494         * src/WebViewImpl.cpp:
2495         (WebKit::WebViewImpl::setVisibilityState):
2496
2497 2011-06-06  Nico Weber  <thakis@chromium.org>
2498
2499         Reviewed by Dimitri Glazkov.
2500
2501         webkit/glue/webmediaplayer_impl.cc deletes an object of type
2502         WebVideoFrame, which means this patch fixes a real bug, not just
2503         a theoretical one.
2504
2505         [chromium] Give WebVideoFrame a virtual destructor
2506         https://bugs.webkit.org/show_bug.cgi?id=61742
2507
2508         * public/WebVideoFrame.h:
2509         (WebKit::WebVideoFrame::~WebVideoFrame):
2510
2511 2011-06-04  Nico Weber  <thakis@chromium.org>
2512
2513         Reviewed by James Robinson.
2514
2515         [chromium] Make ResourceHandleInternal's destructor virtual
2516         https://bugs.webkit.org/show_bug.cgi?id=62073
2517
2518         This is _not_ to fix a real bug, just to make clang's
2519         -Wdelete-non-virtual-dtor happy. As discussed at
2520         http://codereview.chromium.org/7094005/, we prefer making leaf class
2521         destructors virtual over making the leaf classes final.
2522
2523         * src/ResourceHandle.cpp:
2524         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
2525
2526 2011-06-04  Nico Weber  <thakis@chromium.org>
2527
2528         Reviewed by James Robinson.
2529
2530         [chromium] Make ChromePrintContext's destructor virtual
2531         https://bugs.webkit.org/show_bug.cgi?id=62076
2532
2533         Since WebFrameImpl's m_printContext is a OnwPtr<ChromePrintContext>
2534         that is dynamically set to either a ChromePrintContext or a
2535         ChromePluginPrintContext, this fixes an actual bug.
2536
2537         * src/WebFrameImpl.cpp:
2538         (WebKit::ChromePrintContext::~ChromePrintContext):
2539         (WebKit::ChromePluginPrintContext::~ChromePluginPrintContext):
2540
2541 2011-06-04  Nico Weber  <thakis@chromium.org>
2542
2543         Reviewed by James Robinson.
2544
2545         [chromium] Make WebTextCheckingCompletionImpl's destructor virtual
2546         https://bugs.webkit.org/show_bug.cgi?id=62074
2547
2548         This is _not_ to fix a real bug, just to make clang's
2549         -Wdelete-non-virtual-dtor happy. As discussed at
2550         http://codereview.chromium.org/7094005/, we prefer making leaf class
2551         destructors virtual over making the leaf classes final.
2552
2553         * src/WebTextCheckingCompletionImpl.h:
2554         (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
2555
2556 2011-06-04  Nico Weber  <thakis@chromium.org>
2557
2558         Reviewed by James Robinson.
2559
2560         [chromium] Make PlatformMessagePortChannel's destructor virtual
2561         https://bugs.webkit.org/show_bug.cgi?id=62072
2562
2563         This is _not_ to fix a real bug, just to make clang's
2564         -Wdelete-non-virtual-dtor happy. As discussed at
2565         http://codereview.chromium.org/7094005/, we prefer making leaf class
2566         destructors virtual over making the leaf classes final.
2567
2568         * src/PlatformMessagePortChannel.h:
2569
2570 2011-06-04  Nico Weber  <thakis@chromium.org>
2571
2572         Reviewed by James Robinson.
2573
2574         [chromium] Give VoidCallbackClient a virtual destructor
2575         https://bugs.webkit.org/show_bug.cgi?id=62067
2576
2577         This is _not_ to fix a real bug, just to make clang's
2578         -Wdelete-non-virtual-dtor happy. As discussed at
2579         http://codereview.chromium.org/7094005/, we prefer making leaf class
2580         destructors virtual over making the leaf classes final.
2581
2582         * src/NotificationPresenterImpl.cpp:
2583         (WebKit::VoidCallbackClient::~VoidCallbackClient):
2584
2585 2011-06-04  Nico Weber  <thakis@chromium.org>
2586
2587         Reviewed by James Robinson.
2588
2589         [chromium] Make WebFrameImpl destructor virtual
2590         https://bugs.webkit.org/show_bug.cgi?id=62065
2591
2592         This is _not_ to fix a real bug, just to make clang's
2593         -Wdelete-non-virtual-dtor happy. As discussed at
2594         http://codereview.chromium.org/7094005/, we prefer making leaf class
2595         destructors virtual over making the leaf classes final.
2596
2597         * src/WebFrameImpl.h:
2598
2599 2011-06-03  Philippe Beauchamp  <philippe.beauchamp@gmail.com>
2600
2601         Reviewed by Dimitri Glazkov.
2602
2603         Add the feature "Add as search engine..." in a search text field context menu for chromium
2604         https://bugs.webkit.org/show_bug.cgi?id=47980
2605
2606         * public/WebContextMenuData.h:
2607         * public/WebSearchableFormData.h:
2608         * src/ContextMenuClientImpl.cpp:
2609         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
2610         * src/WebSearchableFormData.cpp:
2611         (WebKit::WebSearchableFormData::WebSearchableFormData):
2612
2613 2011-06-03  Naoki Takano  <takano.naoki@gmail.com>
2614
2615         Reviewed by Eric Seidel.
2616
2617         [Chromium] Call setToolTipText() in WebPopupMenuImpl mouse move handler to show tool tip in select popup window.
2618         https://bugs.webkit.org/show_bug.cgi?id=61260
2619         http://code.google.com/p/chromium/issues/detail?id=12721
2620
2621         * public/WebMenuItemInfo.h: Add toolTip.
2622         * public/WebViewClient.h: Remove setToolTipText().
2623         * public/WebWidgetClient.h: Add setTooTipText().
2624         (WebKit::WebWidgetClient::setToolTipText):
2625         * src/ExternalPopupMenu.cpp:
2626         (WebKit::ExternalPopupMenu::getPopupMenuInfo): Add popupItem.toolTip set.
2627         * src/WebPopupMenuImpl.cpp:
2628         (WebKit::WebPopupMenuImpl::MouseMove): Call setToolTipText().
2629
2630 2011-06-03  Hans Wennborg  <hans@chromium.org>
2631
2632         Reviewed by Steve Block.
2633
2634         IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
2635         https://bugs.webkit.org/show_bug.cgi?id=62009
2636
2637         Don't use INT64_MAX, use the various encodeMaxKey() functions instead.
2638
2639         * tests/IDBLevelDBCodingTest.cpp:
2640         (IDBLevelDBCoding::TEST):
2641
2642 2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>
2643
2644         Reviewed by Yury Semikhatsky.
2645
2646         Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
2647         https://bugs.webkit.org/show_bug.cgi?id=61533
2648
2649         Skip cpu-profiler-profiling in debug, implement a fast headless alternative.
2650
2651         * public/WebDevToolsAgent.h:
2652         * src/WebDevToolsAgentImpl.cpp:
2653         (WebKit::WebDevToolsAgentImpl::setJavaScriptProfilingEnabled):
2654         * src/WebDevToolsAgentImpl.h:
2655
2656 2011-06-02  Yury Semikhatsky  <yurys@chromium.org>
2657
2658         Reviewed by Pavel Feldman.
2659
2660         Web Inspector: add an option for automatically attaching to new workers
2661         https://bugs.webkit.org/show_bug.cgi?id=61930
2662
2663         Notification about worker context termination are now sent to the inspector.
2664
2665         * src/WebWorkerClientImpl.cpp:
2666         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
2667         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
2668         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
2669
2670 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
2671
2672         Reviewed by David Levin.
2673
2674         Add mediaTimeForTimeValue() implementation.
2675         https://bugs.webkit.org/show_bug.cgi?id=61555
2676
2677         * public/WebMediaPlayer.h:
2678         * src/WebMediaPlayerClientImpl.cpp:
2679         (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
2680         * src/WebMediaPlayerClientImpl.h:
2681
2682 2011-06-02  Jay Civelli  <jcivelli@chromium.org>
2683
2684         Reviewed by Adam Barth.
2685
2686         Adding MHTML generation support to MHTMLArchive.
2687         https://bugs.webkit.org/show_bug.cgi?id=7169
2688
2689         * public/WebPageSerializer.h:
2690         * src/WebPageSerializer.cpp:
2691         (WebKit::WebPageSerializer::serializeToMHTML):
2692
2693 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
2694
2695         Reviewed by Darin Adler.
2696
2697         Add build logistics and plumbing for window.internals object.
2698         https://bugs.webkit.org/show_bug.cgi?id=60313
2699
2700         * WebKit.gyp: Added linking new webkit_test_support library.
2701         * public/WebTestingSupport.h: Added.
2702         * src/WebTestingSupport.cpp: Added.
2703
2704 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
2705
2706         Reviewed by David Levin.
2707
2708         Update chromium version
2709         https://bugs.webkit.org/show_bug.cgi?id=61555
2710
2711         * DEPS:
2712
2713 2011-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
2714
2715         Unreviewed, rolling out r87920.
2716         http://trac.webkit.org/changeset/87920
2717         https://bugs.webkit.org/show_bug.cgi?id=61943
2718
2719         This patch does not build in Win Builder (dbg)(shared)
2720         downstream (Requested by abarth|gardener on #webkit).
2721
2722         * tests/PopupMenuTest.cpp:
2723         (WebKit::TestPopupMenuClient::TestPopupMenuClient):
2724         (WebKit::TestPopupMenuClient::valueChanged):
2725         (WebKit::TestPopupMenuClient::itemIsEnabled):
2726         (WebKit::SelectPopupMenuTest::TearDown):
2727         * tests/data/popup/select_event.html: Removed.
2728         * tests/data/popup/select_event_remove_on_change.html: Removed.
2729         * tests/data/popup/select_event_remove_on_click.html: Removed.
2730
2731 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
2732
2733         Unreviewed, rolling out r87926.
2734         http://trac.webkit.org/changeset/87926
2735         https://bugs.webkit.org/show_bug.cgi?id=60313
2736
2737         Fails to find WebCoreTestSupport.dylib on bots.
2738
2739         * WebKit.gyp:
2740         * public/WebTestingSupport.h: Removed.
2741         * src/WebTestingSupport.cpp: Removed.
2742
2743 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
2744
2745         Reviewed by Dimitri Glazkov.
2746
2747         Bring gyp_webkit up to date with changes made to
2748         gyp_chromium so chromium_rev can be advanced past
2749         revision 87140.
2750         https://bugs.webkit.org/show_bug.cgi?id=61881
2751
2752         * gyp_webkit:
2753
2754 2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
2755
2756         Reviewed by Darin Adler.
2757
2758         Add build logistics and plumbing for window.internals object.
2759         https://bugs.webkit.org/show_bug.cgi?id=60313
2760
2761         * WebKit.gyp: Added linking new webkit_test_support library.
2762         * public/WebTestingSupport.h: Added.
2763         * src/WebTestingSupport.cpp: Added.
2764
2765 2011-06-02  Naoki Takano  <takano.naoki@gmail.com>
2766
2767         Reviewed by Dimitri Glazkov.
2768
2769         [Chromium] Click event is not fired for a menulist <select>
2770         https://bugs.webkit.org/show_bug.cgi?id=60563
2771
2772         * tests/PopupMenuTest.cpp:
2773         (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
2774         (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
2775         (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
2776         (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
2777         (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
2778         (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
2779         (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
2780         (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
2781         (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
2782         (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
2783         (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
2784         * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
2785         * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
2786         * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
2787
2788 2011-06-01  Adrienne Walker  <enne@google.com>
2789
2790         Reviewed by James Robinson.
2791
2792         [chromium] Fix syncing of removed mask and replica layers
2793         https://bugs.webkit.org/show_bug.cgi?id=61895
2794
2795         * tests/TreeSynchronizerTest.cpp:
2796         (WebCore::TEST):
2797
2798 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2799
2800         Unreviewed, rolling out r87788.
2801         http://trac.webkit.org/changeset/87788
2802         https://bugs.webkit.org/show_bug.cgi?id=61856
2803
2804         breaks windows chromium canary (Requested by jknotten on
2805         #webkit).
2806
2807         * public/WebPageSerializer.h:
2808         * src/WebPageSerializer.cpp:
2809
2810 2011-06-01  Jay Civelli  <jcivelli@chromium.org>
2811
2812         Reviewed by Adam Barth.
2813
2814         Adding MHTML generation support to MHTMLArchive.
2815         https://bugs.webkit.org/show_bug.cgi?id=7169
2816
2817         * public/WebPageSerializer.h:
2818         * src/WebPageSerializer.cpp:
2819         (WebKit::WebPageSerializer::serializeToMHTML):
2820
2821 2011-06-01  Mikhail Naganov  <mnaganov@chromium.org>
2822
2823         Reviewed by Yury Semikhatsky.
2824
2825         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
2826         https://bugs.webkit.org/show_bug.cgi?id=61803
2827
2828         * WebKit.gyp:
2829         * scripts/generate_devtools_zip.py:
2830
2831 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2832
2833         Unreviewed, rolling out r87781.
2834         http://trac.webkit.org/changeset/87781
2835         https://bugs.webkit.org/show_bug.cgi?id=61842
2836
2837         breaks chromium linux release (Requested by mnaganov on
2838         #webkit).
2839
2840         * WebKit.gyp:
2841         * scripts/generate_devtools_zip.py:
2842
2843 2011-05-31  Mikhail Naganov  <mnaganov@chromium.org>
2844
2845         Reviewed by Pavel Feldman.
2846
2847         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
2848         https://bugs.webkit.org/show_bug.cgi?id=61803
2849
2850         * WebKit.gyp:
2851         * scripts/generate_devtools_zip.py:
2852
2853 2011-05-31  Kinuko Yasuda  <kinuko@chromium.org>
2854
2855         Reviewed by Kent Tamura.
2856
2857         [Chromium] webkitStorageInfo methods (for quota API) should not crash when error callback is not given.
2858         https://bugs.webkit.org/show_bug.cgi?id=61823
2859
2860         Fixed assertion on errorCallback parameter.
2861
2862         Test: storage/quotainfo-no-callbacks.html
2863
2864         * src/StorageInfoChromium.cpp:
2865         (WebCore::StorageInfo::queryUsageAndQuota):
2866         (WebCore::StorageInfo::requestQuota):
2867
2868 2011-05-31  Daniel Erat  <derat@chromium.org>
2869
2870         Reviewed by Tony Chang.
2871
2872         Make WebScreenInfoFactory return fresh screen dimensions.
2873         https://bugs.webkit.org/show_bug.cgi?id=61679
2874
2875         * public/x11/WebScreenInfoFactory.h:
2876         * src/x11/WebScreenInfoFactory.cpp:
2877         (WebKit::WebScreenInfoFactory::screenInfo):
2878
2879 2011-05-31  Cary Clark  <caryclark@google.com>
2880
2881         Reviewed by Eric Seidel.
2882
2883         Allow Chromium porting layer to use Skia on Mac.
2884         https://bugs.webkit.org/show_bug.cgi?id=61548
2885
2886         * public/WebCommon.h:
2887         Don't allow WebKit to use CG if it is already using Skia.
2888
2889         * src/PlatformBridge.cpp:
2890         (WebCore::PlatformBridge::paintScrollbarThumb):
2891         Allow scrollbar thumb draw to take WebCanvas.
2892
2893 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
2894
2895         Reviewed by Adam Barth.
2896
2897         Check access policy on all storage operations
2898         https://bugs.webkit.org/show_bug.cgi?id=61581
2899
2900         * src/StorageAreaProxy.cpp:
2901         (WebCore::StorageAreaProxy::length):
2902         (WebCore::StorageAreaProxy::key):
2903         (WebCore::StorageAreaProxy::getItem):
2904         (WebCore::StorageAreaProxy::setItem):
2905         (WebCore::StorageAreaProxy::removeItem):
2906         (WebCore::StorageAreaProxy::clear):
2907         (WebCore::StorageAreaProxy::contains):
2908         (WebCore::StorageAreaProxy::canAccessStorage):
2909         * src/StorageAreaProxy.h:
2910         * src/WebStorageAreaImpl.cpp:
2911         (WebKit::WebStorageAreaImpl::length):
2912         (WebKit::WebStorageAreaImpl::key):
2913         (WebKit::WebStorageAreaImpl::getItem):
2914
2915 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
2916
2917         Reviewed by Darin Fisher.
2918
2919         [chromium] drop unused WebFrame parameter to WebStorageArea::setItem
2920         https://bugs.webkit.org/show_bug.cgi?id=61583
2921
2922         * public/WebStorageArea.h:
2923         * src/StorageAreaProxy.cpp:
2924         (WebCore::StorageAreaProxy::setItem):
2925         * src/WebStorageAreaImpl.cpp:
2926         (WebKit::WebStorageAreaImpl::setItem):
2927         * src/WebStorageAreaImpl.h:
2928
2929 2011-05-27  David Levin  <levin@chromium.org>
2930
2931         Reviewed by Darin Fisher.
2932
2933         Need a callback for when the preferred rendered size may have changed.
2934         https://bugs.webkit.org/show_bug.cgi?id=61309
2935
2936         * public/WebFrameClient.h:
2937         (WebKit::WebFrameClient::didUpdateLayout): Added stub.
2938         * src/ChromeClientImpl.cpp:
2939         (WebKit::ChromeClientImpl::layoutUpdated): Plumbed through the call to WebFrameClient::didUpdateLayout.
2940         * src/ChromeClientImpl.h: Added declaration.
2941
2942 2011-05-27  Shishir Agrawal  <shishir@chromium.org>
2943
2944         Reviewed by Tony Gentilcore.
2945
2946         Enable Page Visibility API in the chromium port.
2947         https://bugs.webkit.org/show_bug.cgi?id=61397
2948
2949         * features.gypi:
2950
2951 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
2952
2953         Reviewed by Adam Barth.
2954
2955         Fix worldID and destinationDomain argument names
2956         https://bugs.webkit.org/show_bug.cgi?id=61571
2957
2958         As part of working on r87423, I noticed a couple of inconsistencies in
2959         argument names:
2960         - We would use worldId in .h files but worldID in .cpp files.
2961           Standardize on the latter
2962         - SecurityOrigin::addOriginAccessWhitelistEntry would take a
2963           destinationDomains argument, even though the actual parameter was for
2964           a single domain (renamed to be singular).
2965
2966         * public/WebFrame.h:
2967         * src/WebFrameImpl.cpp:
2968         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
2969         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
2970         * src/WebFrameImpl.h:
2971
2972 2011-05-26  Leandro Gracia Gil  <leandrogracia@chromium.org>
2973
2974         Reviewed by Dmitry Titov.
2975
2976         Add missing compile guards for WebWorkers in WebKit.
2977         https://bugs.webkit.org/show_bug.cgi?id=61536
2978
2979         * src/DatabaseObserver.cpp:
2980         (WebCore::DatabaseObserver::canEstablishDatabase):
2981         * src/LocalFileSystemChromium.cpp:
2982         (WebCore::openFileSystemHelper):
2983         * src/PlatformBridge.cpp:
2984         * src/WebFileSystemCallbacksImpl.cpp:
2985         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
2986         * src/WorkerAsyncFileSystemChromium.cpp:
2987         * src/WorkerAsyncFileSystemChromium.h:
2988         * src/WorkerAsyncFileWriterChromium.cpp:
2989         * src/WorkerAsyncFileWriterChromium.h:
2990         * src/WorkerFileSystemCallbacksBridge.cpp:
2991         * src/WorkerFileSystemCallbacksBridge.h:
2992         * src/WorkerFileWriterCallbacksBridge.cpp:
2993         * src/WorkerFileWriterCallbacksBridge.h:
2994
2995 2011-05-26  Evan Martin  <evan@chromium.org>
2996
2997         Reviewed by Tony Chang.
2998
2999         [chromium] simplify TestNetscapePlugIn naming logic
3000         https://bugs.webkit.org/show_bug.cgi?id=61577
3001
3002         * WebKit.gyp: drop use of product_prefix, just use the name
3003         needed directly.
3004
3005 2011-05-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3006
3007         Unreviewed, rolling out r87444.
3008         http://trac.webkit.org/changeset/87444
3009         https://bugs.webkit.org/show_bug.cgi?id=61582
3010
3011         Layout test regressions in Chromium/WebKit: fast/css/first-
3012         letter-text-fragment-crash.html, fast/css/first-letter-
3013         visibility.html (Requested by aklein on #webkit).
3014
3015         * public/WebFrameClient.h:
3016         * src/ChromeClientImpl.cpp:
3017         * src/ChromeClientImpl.h:
3018
3019 2011-05-26  David Levin  <levin@chromium.org>
3020
3021         Reviewed by Darin Fisher.
3022
3023         Need a callback for when the preferred rendered size changed.
3024         https://bugs.webkit.org/show_bug.cgi?id=61309
3025
3026         * public/WebFrameClient.h
3027         (WebKit::WebFrameClient::didChangeContentsPreferredSize): Added stub.
3028         * src/ChromeClientImpl.h:
3029         (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added declaration.
3030         * src/ChromeClientImpl.cpp:
3031         (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added call to WebFrameClient::didChangeContentsPreferredSize.
3032
3033 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
3034
3035         Reviewed by Adam Barth.
3036
3037         Support cross-origin XMLHttpRequest in isolated worlds
3038         https://bugs.webkit.org/show_bug.cgi?id=59843
3039
3040         Expose setIsolatedWorldSecurityOrigin in the WebFrame API.
3041
3042         * public/WebFrame.h:
3043         * src/WebFrameImpl.cpp:
3044         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
3045         * src/WebFrameImpl.h:
3046
3047 2011-05-26  Michael Nordman  <michaeln@google.com>
3048
3049         Reviewed by Darin Fisher.
3050
3051         [Chromium] Use SecurityOrigin produced databaseIdentifier strings, instead of
3052         SecurityOrigin RefPtrs, as the top level key into the DatabaseTracker's
3053         collection of open databases. Otherwise we can fail to lookup databases when
3054         trying to forceably close them via  WebDatabase::closeDatabaseImmediately.
3055         https://bugs.webkit.org/show_bug.cgi?id=61417
3056
3057         * src/WebDatabase.cpp:
3058         (WebKit::WebDatabase::closeDatabaseImmediately):
3059
3060 2011-05-26  Sailesh Agrawal  <sail@chromium.org>
3061
3062         Reviewed by Tony Chang.
3063
3064         Expose willStartLiveResize and willEndLiveResize in WebWidget
3065         https://bugs.webkit.org/show_bug.cgi?id=60518
3066
3067         * public/WebWidget.h:
3068         * src/WebPopupMenuImpl.cpp:
3069         (WebKit::WebPopupMenuImpl::willStartLiveResize):
3070         (WebKit::WebPopupMenuImpl::willEndLiveResize):
3071         * src/WebPopupMenuImpl.h:
3072         * src/WebViewImpl.cpp:
3073         (WebKit::WebViewImpl::willStartLiveResize):
3074         (WebKit::WebViewImpl::willEndLiveResize):
3075         * src/WebViewImpl.h:
3076
3077 2011-05-25  Shishir Agrawal  <shishir@chromium.org>
3078
3079         Reviewed by Dimitri Glazkov.
3080
3081         Fix crash in Chromium memory test.
3082         https://bugs.webkit.org/show_bug.cgi?id=61451
3083
3084         * src/WebViewImpl.cpp:
3085         (WebKit::WebViewImpl::WebViewImpl):
3086
3087 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
3088
3089         Unreviewed, rolling out r87333.
3090         http://trac.webkit.org/changeset/87333
3091         https://bugs.webkit.org/show_bug.cgi?id=61488
3092
3093         Breaks Chromium build due to pure virtual methods. (Requested
3094         by aklein on #webkit).
3095
3096         * public/WebWidget.h:
3097         * src/WebPopupMenuImpl.cpp:
3098         * src/WebPopupMenuImpl.h:
3099         * src/WebViewImpl.cpp:
3100         * src/WebViewImpl.h:
3101
3102 2011-05-25  Sailesh Agrawal  <sail@chromium.org>
3103
3104         Reviewed by Darin Fisher.
3105
3106         Expose willStartLiveResize and willEndLiveResize in WebWidget
3107         https://bugs.webkit.org/show_bug.cgi?id=60518
3108
3109         * public/WebWidget.h:
3110         * src/WebPopupMenuImpl.cpp:
3111         (WebKit::WebPopupMenuImpl::willStartLiveResize):
3112         (WebKit::WebPopupMenuImpl::willEndLiveResize):
3113         * src/WebPopupMenuImpl.h:
3114         * src/WebViewImpl.cpp:
3115         (WebKit::WebViewImpl::willStartLiveResize):
3116         (WebKit::WebViewImpl::willEndLiveResize):
3117         * src/WebViewImpl.h:
3118
3119 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
3120
3121         Unreviewed, rolling out r87257.
3122         http://trac.webkit.org/changeset/87257
3123         https://bugs.webkit.org/show_bug.cgi?id=61457
3124
3125         This broke layout tests, see bug 61431. (Requested by
3126         hwennborg on #webkit).
3127
3128         * public/WebIDBFactory.h:
3129         * src/AssertMatchingEnums.cpp:
3130         * src/IDBFactoryBackendProxy.cpp:
3131         * src/IDBFactoryBackendProxy.h:
3132         * src/WebIDBFactoryImpl.cpp:
3133         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
3134         (WebKit::WebIDBFactoryImpl::open):
3135         * src/WebIDBFactoryImpl.h:
3136
3137 2011-05-24  Keishi Hattori  <keishi@webkit.org>
3138
3139         Reviewed by Kent Tamura.
3140
3141         Disable textfield implementation of <input type=color>. Add INPUT_COLOR feature flag. Add input color sanitizer.
3142         https://bugs.webkit.org/show_bug.cgi?id=61273
3143
3144         * features.gypi: Added INPUT_COLOR feature flag.
3145
3146 2011-05-24  Adam Barth  <abarth@webkit.org>
3147
3148         Reviewed by Eric Seidel.
3149
3150         Add FIXME comments about removing FrameLoader::isProcessingUserGesture
3151         https://bugs.webkit.org/show_bug.cgi?id=61395
3152
3153         * src/FrameLoaderClientImpl.cpp:
3154         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
3155         * src/WebFrameImpl.cpp:
3156         (WebKit::WebFrameImpl::isProcessingUserGesture):
3157
3158 2011-05-24  Greg Simon  <gregsimon@chromium.org>
3159
3160         Reviewed by Dimitri Glazkov.
3161
3162         Control Indexeddb backends from LayoutTestController
3163         https://bugs.webkit.org/show_bug.cgi?id=61000
3164
3165         * public/WebIDBFactory.h:
3166         (WebKit::WebIDBFactory::setEnableMigration):
3167         * src/AssertMatchingEnums.cpp:
3168         * src/IDBFactoryBackendProxy.cpp:
3169         (WebKit::IDBFactoryBackendProxy::setEnableMigration):
3170         * src/IDBFactoryBackendProxy.h:
3171         * src/WebIDBFactoryImpl.cpp:
3172         (WebKit::WebIDBFactory::setOverrideBackingStoreType):
3173         (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
3174         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
3175         (WebKit::WebIDBFactoryImpl::open):
3176         (WebKit::WebIDBFactoryImpl::setEnableMigration):
3177         * src/WebIDBFactoryImpl.h:
3178
3179 2011-05-24  Jay Civelli  <jcivelli@chromium.org>
3180
3181         Reviewed by Adam Barth.
3182
3183         Adding MHTML reading support to WebCore.
3184         https://bugs.webkit.org/show_bug.cgi?id=7168
3185
3186        * features.gypi:
3187
3188 2011-05-24  Alok Priyadarshi  <alokp@chromium.org>
3189
3190         Reviewed by James Robinson.
3191
3192         Enable skia gpu rendering for content layers
3193         https://bugs.webkit.org/show_bug.cgi?id=56749
3194
3195         * src/WebViewImpl.cpp:
3196         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
3197         (WebKit::WebViewImpl::reallocateRenderer):
3198
3199 2011-05-24  Mikhail Naganov  <mnaganov@chromium.org>
3200
3201         Reviewed by Yury Semikhatsky.
3202
3203         Web Inspector: Reorganize InspectorBackendDispatch code to eliminate duplication
3204         https://bugs.webkit.org/show_bug.cgi?id=61300
3205
3206         * src/WebDevToolsAgentImpl.cpp:
3207         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
3208
3209 2011-05-23  Gavin Peters  <gavinp@chromium.org>
3210
3211         Reviewed by Adam Barth.
3212
3213         fix rel=prerender target types
3214         https://bugs.webkit.org/show_bug.cgi?id=61297
3215
3216         The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
3217         didn't properly map the target type, and didn't carry the target
3218         types through to chromium properly.  Fixed.
3219
3220         No new tests; it's very hard to catch these with a layout test, however
3221         all of the chromium Prerender browser tests will test this functionality
3222         when I land an upcoming chromium CL.
3223
3224         * public/WebURLRequest.h:
3225
3226 2011-05-23  Tony Chang  <tony@chromium.org>
3227
3228         Reviewed by James Robinson.
3229
3230         [chromium] Link tcmalloc to DRT so we can use the heap checker
3231         https://bugs.webkit.org/show_bug.cgi?id=61292
3232
3233         * WebKit.gyp:
3234
3235 2011-05-23  Adrienne Walker  <enne@google.com>
3236
3237         Reviewed by James Robinson.
3238
3239         [chromium] Fix division by zero in TilingData for boundary case texture sizes
3240         https://bugs.webkit.org/show_bug.cgi?id=61164
3241
3242         Add additional tests for small max texture sizes.
3243
3244         * tests/TilingDataTest.cpp:
3245         (WebCore::TEST):
3246
3247 2011-05-23  Ruben  <chromium@hybridsource.org>
3248
3249         Reviewed by Tony Chang.
3250
3251         Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
3252         https://bugs.webkit.org/show_bug.cgi?id=61219
3253
3254         * WebKit.gyp:
3255         * WebKit.gypi:
3256
3257 2011-05-23  Yury Semikhatsky  <yurys@chromium.org>
3258
3259         Reviewed by Pavel Feldman.
3260
3261         [Chromium] Web Inspector: provide initial implementation of worker inspector transport
3262         https://bugs.webkit.org/show_bug.cgi?id=60267
3263
3264         WebWorker and WebWorkerClient are extended with methods for passing
3265         DevTools messages between worker context inspector and page inspector.
3266
3267         * public/WebWorker.h:
3268         (WebKit::WebWorker::attachDevTools):
3269         (WebKit::WebWorker::detachDevTools):
3270         (WebKit::WebWorker::dispatchDevToolsMessage):
3271         * public/WebWorkerClient.h:
3272         (WebKit::WebWorkerClient::dispatchDevToolsMessage):
3273         * src/WebWorkerBase.cpp:
3274         (WebKit::WebWorkerBase::postMessageToPageInspector):
3275         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
3276         * src/WebWorkerBase.h:
3277         * src/WebWorkerClientImpl.cpp:
3278         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
3279         (WebKit::WebWorkerClientImpl::connectToInspector):
3280         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
3281         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
3282         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
3283         * src/WebWorkerClientImpl.h:
3284         * src/WebWorkerImpl.cpp:
3285         (WebKit::WebWorkerImpl::startWorkerContext):
3286         (WebKit::connectToWorkerContextInspectorTask):
3287         (WebKit::WebWorkerImpl::attachDevTools):
3288         (WebKit::disconnectFromWorkerContextInspectorTask):
3289         (WebKit::WebWorkerImpl::detachDevTools):
3290         (WebKit::dispatchOnInspectorBackendTask):
3291         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
3292         * src/WebWorkerImpl.h:
3293
3294 2011-05-22  Greg Simon  <gregsimon@chromium.org>
3295
3296         Reviewed by Darin Fisher.
3297
3298         [chromium] Updating chromium DEPS
3299
3300         https://bugs.webkit.org/show_bug.cgi?id=61236
3301
3302         * DEPS:
3303
3304 2011-05-21  Jochen Eisinger  <jochen@chromium.org>
3305
3306         Reviewed by Darin Fisher.
3307
3308         [chromium] add extraData field to resource requests
3309         https://bugs.webkit.org/show_bug.cgi?id=61033
3310
3311         * WebKit.gypi:
3312         * public/WebURLRequest.h:
3313         (WebKit::WebURLRequest::ExtraData::~ExtraData):
3314         * src/WebURLRequest.cpp:
3315         (WebKit::WebURLRequest::extraData):
3316         (WebKit::WebURLRequest::setExtraData):
3317         * tests/WebURLRequestTest.cpp: Added.
3318         (WebKit::TestExtraData::TestExtraData):
3319         (WebKit::TestExtraData::~TestExtraData):
3320         (WebKit::TEST):
3321
3322 2011-05-20  Michael Nordman  <michaeln@google.com>
3323
3324         Reviewed by Darin Fisher.
3325
3326         Changes to allow the WebDatabase system to participate in Chrome's unified quota
3327         management system. Now that changes outside of the database system affect the space
3328         available to the database system, we need new ways of getting the limit to renderers.
3329
3330         Split WebDatabase::updateDatabaseSizeAndSpaceAvailable() into three methods.
3331         - WebDatabase::updateDatababaseSize()
3332         - WebDatabase::updateSpaceAvailable()
3333         - WebDatabase::resetSpaceAvailable()
3334         The WebDatabase methods are used to 'push' size and space available info into renderers.
3335         The space available can change independently of a database having changed size.
3336
3337         Also provide a means for the renderer to 'pull' the space available from the main
3338         process if that value has not been pushed into it.
3339         - WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin()
3340         - WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin()
3341
3342         https://bugs.webkit.org/show_bug.cgi?id=60985
3343
3344         * public/WebDatabase.h:
3345         * public/WebKitClient.h:
3346         (WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin):
3347         * src/PlatformBridge.cpp:
3348         (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
3349         * src/WebDatabase.cpp:
3350         (WebKit::WebDatabase::updateDatabaseSize):
3351         (WebKit::WebDatabase::updateSpaceAvailable):
3352         (WebKit::WebDatabase::resetSpaceAvailable):
3353
3354 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
3355
3356         Reviewed by Sam Weinig.
3357
3358         numberOfActiveAnimations() can include animations from documents in the page cache
3359         https://bugs.webkit.org/show_bug.cgi?id=53641
3360
3361         Pass the Frame's document as the one to count animations on.
3362
3363         * src/WebAnimationControllerImpl.cpp:
3364         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
3365
3366 2011-05-19  Evan Martin  <evan@chromium.org>
3367
3368         Reviewed by Tony Chang.
3369
3370         [chromium] remove <(library) variable
3371         https://bugs.webkit.org/show_bug.cgi?id=61158
3372
3373         This was for a build experiment; we can just use the correct value now.
3374
3375         * WebKit.gyp:
3376
3377 2011-05-20  Vitaly Repeshko  <vitalyr@chromium.org>
3378
3379         Unreviewed.
3380
3381         [chromium] Updating chromium DEPS.
3382
3383         * DEPS:
3384
3385 2011-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
3386
3387         Unreviewed, rolling out r86869, r86873, r86875, and r86877.
3388         http://trac.webkit.org/changeset/86869
3389         http://trac.webkit.org/changeset/86873
3390         http://trac.webkit.org/changeset/86875
3391         http://trac.webkit.org/changeset/86877
3392         https://bugs.webkit.org/show_bug.cgi?id=61139
3393
3394         broke builds and debug DRT (Requested by rniwa on #webkit).
3395
3396         * WebKit.gyp:
3397         * public/WebTestingSupport.h: Removed.
3398         * src/WebTestingSupport.cpp: Removed.
3399
3400 2011-05-18  Dimitri Glazkov  <dglazkov@chromium.org>
3401
3402         Reviewed by Darin Adler.
3403
3404         Add build logistics and plumbing for window.internals object.
3405         https://bugs.webkit.org/show_bug.cgi?id=60313
3406
3407         * WebKit.gyp: Added linking new webkit_test_support library.
3408         * public/WebTestingSupport.h: Added.
3409         * src/WebTestingSupport.cpp: Added.
3410
3411 2011-05-19  Kenichi Ishibashi  <bashi@chromium.org>
3412
3413         Reviewed by Kent Tamura.
3414
3415         [Chromium] IME candidate window appears wrong position in an iframe
3416         https://bugs.webkit.org/show_bug.cgi?id=61023
3417
3418         Always adjusts the range to window relative coordinates.
3419
3420         * src/WebFrameImpl.cpp:
3421         (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition
3422         which excludes editable selectionRoot from adjusting.
3423
3424 2011-05-18  Nat Duca  <nduca@chromium.org>
3425
3426         Reviewed by James Robinson.
3427
3428         [chromium] Add histograms for paint times
3429         https://bugs.webkit.org/show_bug.cgi?id=61010
3430
3431         * src/WebViewImpl.cpp:
3432         (WebKit::WebViewImpl::animate):
3433         (WebKit::WebViewImpl::layout):
3434         (WebKit::WebViewImpl::paint):
3435         (WebKit::WebViewImplContentPainter::paint):
3436
3437 2011-05-17  MORITA Hajime  <morrita@google.com>
3438
3439         Reviewed by Tony Chang.
3440
3441         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
3442         https://bugs.webkit.org/show_bug.cgi?id=56814
3443
3444         Moved addMarker() implementation to
3445         WebCore::DocumentMarkerController::addTextMatchMarker().
3446         
3447         * src/WebFrameImpl.cpp:
3448         (WebKit::WebFrameImpl::addMarker):
3449
3450 2011-05-18  Alok Priyadarshi  <alokp@chromium.org> and Adrienne Walker  <enne@google.com>
3451
3452         Reviewed by James Robinson.
3453
3454         Split canvas from LayerTilerChromium
3455         https://bugs.webkit.org/show_bug.cgi?id=60719
3456
3457         * src/WebViewImpl.cpp:
3458
3459 2011-05-18  Brett Wilson  <brettw@chromium.org>
3460
3461         Reviewed by Adam Barth.
3462
3463         Don't create empty file objects if no download file path is specified.
3464         https://bugs.webkit.org/show_bug.cgi?id=60798
3465
3466         * src/WebURLResponse.cpp:
3467         (WebKit::WebURLResponse::setDownloadFilePath):
3468
3469 2011-05-17  Mikhail Naganov  <mnaganov@chromium.org>
3470
3471         Reviewed by Pavel Feldman.
3472
3473         Web Inspector: [Chromium] Enable detailed heap snapshots by default.
3474         https://bugs.webkit.org/show_bug.cgi?id=60286
3475
3476         * src/js/DevTools.js:
3477         ():
3478
3479 2011-05-17  Tao Bai  <michaelbai@chromium.org>
3480
3481         Reviewed by Darin Fisher.
3482
3483         Clear deprecated icon APIs from chromium port.
3484         https://bugs.webkit.org/show_bug.cgi?id=60989
3485
3486         * public/WebFrame.h: Removed faviconURL()
3487         * public/WebFrameClient.h: Removed didChangeIcons()
3488         * src/FrameLoaderClientImpl.cpp:
3489              Removed the code to support deprecated API
3490         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
3491         * src/WebFrameImpl.cpp: Removed faviconURL()
3492         * src/WebFrameImpl.h:  Removed faviconURL()
3493
3494 2011-05-17  Daniel Cheng  <dcheng@chromium.org>
3495
3496         Reviewed by Ryosuke Niwa.
3497
3498         [chromium] Clipboard policy callbacks from EditorClientImpl are reversed
3499         https://bugs.webkit.org/show_bug.cgi?id=60994
3500
3501         * src/EditorClientImpl.cpp:
3502         (WebKit::EditorClientImpl::canCopyCut):
3503         (WebKit::EditorClientImpl::canPaste):
3504
3505 2011-05-17  Andrew Wilson  <atwilson@chromium.org>
3506
3507         Unreviewed, rolling out r86647.
3508         http://trac.webkit.org/changeset/86647
3509         https://bugs.webkit.org/show_bug.cgi?id=56814
3510
3511         Broke tests downstream in Chromium
3512
3513         * src/WebFrameImpl.cpp:
3514         (WebKit::WebFrameImpl::addMarker):
3515
3516 2011-05-17  Yufeng Shen  <miletus@chromium.org>
3517
3518         Reviewed by Darin Fisher.
3519
3520         Make WebKit expose extra touch information
3521         https://bugs.webkit.org/show_bug.cgi?id=59030
3522
3523         * public/WebTouchPoint.h:
3524         (WebKit::WebTouchPoint::WebTouchPoint):
3525         * src/WebInputEventConversion.cpp:
3526         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
3527
3528 2011-05-16  James Robinson  <jamesr@chromium.org>
3529
3530         Reviewed by Kenneth Russell.
3531         https://bugs.webkit.org/show_bug.cgi?id=58830
3532
3533         Add unit tests for the compositor's TreeSynchronizer.
3534
3535         * WebKit.gypi:
3536         * tests/TreeSynchronizerTest.cpp: Added.
3537         (WebCore::MockCCLayerImpl::create):
3538         (WebCore::MockCCLayerImpl::~MockCCLayerImpl):
3539         (WebCore::MockCCLayerImpl::setCCLayerDestructionList):
3540         (WebCore::MockCCLayerImpl::MockCCLayerImpl):
3541         (WebCore::MockLayerChromium::create):
3542         (WebCore::MockLayerChromium::~MockLayerChromium):
3543         (WebCore::MockLayerChromium::createCCLayerImpl):
3544         (WebCore::MockLayerChromium::pushPropertiesTo):
3545         (WebCore::MockLayerChromium::MockLayerChromium):
3546         (WebCore::expectTreesAreIdentical):
3547         (WebCore::TEST):
3548
3549 2011-05-16  MORITA Hajime  <morrita@google.com>
3550
3551         Reviewed by Tony Chang.
3552
3553         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
3554         https://bugs.webkit.org/show_bug.cgi?id=56814
3555
3556         Moved addMarker() implementation to
3557         WebCore::DocumentMarkerController::addTextMatchMarker().
3558         
3559         * src/WebFrameImpl.cpp:
3560         (WebKit::WebFrameImpl::addMarker):
3561
3562 2011-05-16  Andrew Wilson  <atwilson@chromium.org>
3563
3564         Unreviewed, rolling out r86625.
3565         http://trac.webkit.org/changeset/86625
3566         https://bugs.webkit.org/show_bug.cgi?id=60719
3567
3568         Caused failed assertion on Chromium gpu canary bots
3569
3570         * src/WebViewImpl.cpp:
3571
3572 2011-05-16  Alok Priyadarshi  <alokp@chromium.org>
3573
3574         Reviewed by James Robinson.
3575
3576         Split canvas from LayerTilerChromium
3577         https://bugs.webkit.org/show_bug.cgi?id=60719
3578
3579         * src/WebViewImpl.cpp:
3580
3581 2011-05-13  Jon Lee  <jonlee@apple.com>
3582
3583         Reviewed by Simon Fraser.
3584
3585         Can't horizontally scroll iframes and overflow because wheel events are always accepted
3586         https://bugs.webkit.org/show_bug.cgi?id=60779
3587
3588         * src/ChromeClientImpl.h:
3589         (WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
3590         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
3591
3592 2011-05-13  Tao Bai  <michaelbai@chromium.org>
3593
3594         Reviewed by Darin Fisher.
3595
3596         Handle the touch icon.
3597         https://bugs.webkit.org/show_bug.cgi?id=60247
3598
3599         Added WebIconURL for the corresponding IconURL.
3600         Added method iconURLs() to specify the type of icon need to return.
3601         The favIconURL() is deprecated and will be removed later. 
3602
3603         * WebKit.gyp:
3604         * features.gypi:
3605         * public/WebFrame.h:
3606         * public/WebFrameClient.h:
3607         (WebKit::WebFrameClient::didChangeIcons):
3608         * public/WebIconURL.h: Added.
3609         (WebKit::WebIconURL::WebIconURL):
3610         (WebKit::WebIconURL::iconType):
3611         (WebKit::WebIconURL::iconURL):
3612         * src/AssertMatchingEnums.cpp:
3613         * src/FrameLoaderClientImpl.cpp:
3614         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
3615         * src/WebFrameImpl.cpp:
3616         (WebKit::WebFrameImpl::favIconURL):
3617         * src/WebFrameImpl.h:
3618
3619 2011-05-13  Sam Weinig  <sam@webkit.org>
3620
3621         Reviewed by Anders Carlsson.
3622
3623         Prune #includes from FrameView.h (Part 2)
3624         https://bugs.webkit.org/show_bug.cgi?id=60748
3625
3626         - Update files that were depending on FrameView.h #including Frame.h or
3627           Page.h.
3628
3629         * src/AutoFillPopupMenuClient.cpp:
3630         * src/PlatformBridge.cpp:
3631         * src/WebPopupMenuImpl.cpp:
3632
3633 2011-05-13  Brett Wilson  <brettw@chromium.org>
3634
3635         Reviewed by Adam Barth.
3636
3637         Don't destroy a null FcPattern when failing to do a FontConfig match.
3638         This crashes, and there's nothing FcDestroy could do with a null
3639         pointer even if it didn't crash.
3640         https://bugs.webkit.org/show_bug.cgi?id=60777
3641
3642         * src/gtk/WebFontInfo.cpp:
3643         (WebKit::WebFontInfo::renderStyleForStrike):
3644
3645 2011-05-11  Hans Wennborg  <hans@chromium.org>
3646
3647         Reviewed by Tony Gentilcore.
3648
3649         IndexedDB: Fix integer comparison bug in LevelDB coding routines
3650         https://bugs.webkit.org/show_bug.cgi?id=60623
3651
3652         Unit test for comparison of encoded keys.
3653
3654         * tests/IDBLevelDBCodingTest.cpp:
3655         (IDBLevelDBCoding::TEST):
3656
3657 2011-05-05  Hans Wennborg  <hans@chromium.org>
3658
3659         Reviewed by Steve Block.
3660
3661         IndexedDB: Transaction rollback prevented by open SQLite statement
3662         https://bugs.webkit.org/show_bug.cgi?id=60032
3663
3664         Implement two new methods in IDBTransactionBackendInterface.
3665
3666         * src/IDBTransactionBackendProxy.cpp:
3667         (WebKit::IDBTransactionBackendProxy::registerOpenCursor):
3668         (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
3669         * src/IDBTransactionBackendProxy.h:
3670
3671 2011-05-13  Patrick Gansterer  <paroga@webkit.org>
3672
3673         Reviewed by Adam Barth.
3674
3675         Enable OwnPtr strict mode in MediaPlayer
3676         https://bugs.webkit.org/show_bug.cgi?id=59466
3677
3678         Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
3679         Also fix the templete argument of OwnPtr for the m_private member variable.
3680
3681         * src/WebMediaPlayerClientImpl.cpp:
3682         (WebKit::WebMediaPlayerClientImpl::create):
3683         * src/WebMediaPlayerClientImpl.h:
3684
3685 2011-05-12  Adam Barth  <abarth@webkit.org>
3686
3687         Reviewed by Eric Seidel.
3688
3689         [Chromium] Add a WebSetting to control DNS prefetch
3690         https://bugs.webkit.org/show_bug.cgi?id=60736
3691
3692         DNS prefetch got disabled in Chrome accidentially in
3693         http://trac.webkit.org/changeset/74041.  This patch adds a WebSettings
3694         API so we can enable it again.
3695
3696         * public/WebSettings.h:
3697         * src/WebSettingsImpl.cpp:
3698         (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
3699         * src/WebSettingsImpl.h:
3700
3701 2011-05-11  John Abd-El-Malek  <jam@chromium.org>
3702
3703         Reviewed by James Robinson.
3704
3705         [chromium] Make openFileSystem check for permission first
3706         https://bugs.webkit.org/show_bug.cgi?id=60683
3707
3708         * public/WebCommonWorkerClient.h:
3709         (WebKit::WebCommonWorkerClient::allowFileSystem):
3710         * public/WebPermissionClient.h:
3711         (WebKit::WebPermissionClient::allowFileSystem):
3712         * src/LocalFileSystemChromium.cpp:
3713         (WebCore::openFileSystemNotAllowed):
3714         (WebCore::openFileSystemHelper):
3715         * src/WebWorkerBase.cpp:
3716         (WebKit::WebWorkerBase::allowFileSystem):
3717         * src/WebWorkerBase.h:
3718         * src/WebWorkerClientImpl.h:
3719         (WebKit::WebWorkerClientImpl::allowFileSystem):
3720
3721 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
3722
3723         Reviewed by Darin Adler.
3724
3725         String operator+ reallocates unnecessarily when concatting > 2 strings
3726         https://bugs.webkit.org/show_bug.cgi?id=58420
3727
3728         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
3729
3730         * src/WebAccessibilityObject.cpp:
3731         (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
3732         * src/WebHTTPLoadInfo.cpp:
3733         (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
3734         * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
3735         (IDBLevelDBCoding::TEST):
3736
3737 2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
3738
3739         Reviewed by Darin Adler.
3740
3741         Perform some forward declarations suggested by include-what-you-use
3742         https://bugs.webkit.org/show_bug.cgi?id=60545
3743
3744         * src/WebHistoryItem.cpp:
3745         * src/WebNotification.cpp:
3746         * src/WebTextCheckingCompletionImpl.cpp:
3747         * src/mac/WebSubstringUtil.mm:
3748
3749 2011-05-11  Levi Weintraub  <leviw@chromium.org>
3750
3751         Reviewed by Eric Seidel.
3752
3753         Rename Widget::pos()
3754         https://bugs.webkit.org/show_bug.cgi?id=60575
3755
3756         Renaming Widget::pos() to the more-descriptive location().
3757
3758         * src/WebInputEventConversion.cpp:
3759         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
3760         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
3761
3762 2011-05-11  Antoine Labour  <piman@chromium.org>
3763
3764         Reviewed by David Levin.
3765
3766         Don't buffer data for resources loaded by AssociatedURLLoader.
3767         https://bugs.webkit.org/show_bug.cgi?id=60656
3768
3769         * src/AssociatedURLLoader.cpp:
3770         (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
3771
3772 2011-05-11  Nat Duca  <nduca@chromium.org>
3773
3774         Reviewed by Kenneth Russell.
3775
3776         [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
3777         https://bugs.webkit.org/show_bug.cgi?id=60508
3778
3779         Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
3780
3781         * public/WebGraphicsContext3D.h:
3782         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
3783         * src/Extensions3DChromium.cpp:
3784         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
3785         * src/GraphicsContext3DChromium.cpp:
3786         * src/GraphicsContext3DInternal.h:
3787         * src/WebViewImpl.cpp:
3788         (WebKit::WebViewImpl::animate):
3789
3790 2011-05-11  John Bauman  <jbauman@chromium.org>
3791
3792         Reviewed by Kenneth Russell.
3793
3794         Don't send zeros in TexImage if GL implementation handles that
3795         https://bugs.webkit.org/show_bug.cgi?id=60581
3796
3797         Chromium already handles zeroing textures upon creation, so don't
3798         bother zeroing them in WebKit, as that causes some unnecessary memcpys
3799         of zeros.
3800
3801         * src/GraphicsContext3DChromium.cpp:
3802         (WebCore::GraphicsContext3D::create):
3803
3804 2011-05-10  Kent Tamura  <tkent@chromium.org>
3805
3806         Reviewed by Hajime Morita.
3807
3808         [Chromium] Fix a bug of WebFrameImpl::forms()
3809         https://bugs.webkit.org/show_bug.cgi?id=60606
3810
3811         If document()->forms() contained non-HTML element, the second for
3812         loop didn't stop.
3813
3814         * src/WebFrameImpl.cpp:
3815         (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
3816
3817 2011-05-10  Ilya Tikhonovsky  <loislo@chromium.org>
3818
3819         Unreviewed buildfix for strict OwnPtr patch.
3820
3821         * src/PlatformBridge.cpp:
3822         (WebCore::PlatformBridge::loadPlatformAudioResource):
3823         (WebCore::PlatformBridge::decodeAudioFileData):
3824
3825 2011-05-06  Brett Wilson  <brettw@chromium.org>
3826
3827         Reviewed by Adam Barth.
3828
3829         Use a File object to store the downloaded file reference rather than
3830         just the path. This keeps the file and permissions in scope (using the
3831         already-existing blob system) so the browser won't delete the file
3832         when the load is complete. Instead, the file will be cleaned up when
3833         the request objects are deleted.
3834         https://bugs.webkit.org/show_bug.cgi?id=60281
3835
3836         * src/WebURLResponse.cpp:
3837         (WebKit::WebURLResponse::downloadFilePath):
3838         (WebKit::WebURLResponse::setDownloadFilePath):
3839
3840 2011-05-10  Mikhail Naganov  <mnaganov@chromium.org>
3841
3842         Reviewed by Yury Semikhatsky.
3843
3844         Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
3845         https://bugs.webkit.org/show_bug.cgi?id=60471
3846
3847         * src/js/Tests.js:
3848
3849 2011-05-10  Adam Barth  <abarth@webkit.org>
3850
3851         Attempt to fix the clang build.
3852
3853         * src/WebDevToolsAgentImpl.cpp:
3854
3855 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
3856
3857         Unreviewed, rolling out r86091.
3858         http://trac.webkit.org/changeset/86091
3859         https://bugs.webkit.org/show_bug.cgi?id=60510
3860
3861         Broke Chromium win release build. (Requested by dave_levin on
3862         #webkit).
3863
3864         * WebKit.gyp:
3865         * features.gypi:
3866         * public/WebFrame.h:
3867         * public/WebFrameClient.h:
3868         (WebKit::WebFrameClient::didChangeIcons):
3869         * public/WebIconURL.h: Removed.
3870         * src/AssertMatchingEnums.cpp:
3871         * src/FrameLoaderClientImpl.cpp:
3872         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
3873         * src/WebFrameImpl.cpp:
3874         (WebKit::WebFrameImpl::favIconURL):
3875         * src/WebFrameImpl.h:
3876
3877 2011-05-09  Tao Bai  <michaelbai@chromium.org>
3878
3879         Reviewed by David Levin.
3880
3881         Handle the touch icon.
3882         https://bugs.webkit.org/show_bug.cgi?id=60247
3883
3884         Added WebIconURL for the corresponding IconURL.
3885         Added method iconURLs() to specify the type of icon need to return.
3886         The favIconURL() is deprecated.
3887
3888         * WebKit.gyp:
3889         * features.gypi:
3890         * public/WebFrame.h:
3891         * public/WebFrameClient.h:
3892         (WebKit::WebFrameClient::didChangeIcons):
3893         * public/WebIconURL.h: Added.
3894         (WebKit::WebIconURL::WebIconURL):
3895         * src/AssertMatchingEnums.cpp:
3896         * src/FrameLoaderClientImpl.cpp:
3897         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
3898         * src/WebFrameImpl.cpp:
3899         (WebKit::WebFrameImpl::favIconURL):
3900         * src/WebFrameImpl.h:
3901
3902 2011-05-09  Evan Martin  <evan@chromium.org>
3903
3904         Reviewed by Tony Chang.
3905
3906         [chromium] make DumpRenderTree build in components for linux
3907         https://bugs.webkit.org/show_bug.cgi?id=60491
3908
3909         * WebKit.gyp: move some code that was in a Windows-only block to be used
3910         on all platforms.
3911
3912 2011-05-09  Adam Barth  <abarth@webkit.org>
3913
3914         Reviewed by Tony Gentilcore.
3915
3916         Make Chromium build with strict PassOwnPtr
3917         https://bugs.webkit.org/show_bug.cgi?id=60461
3918
3919         Fixed many, many PassOwnPtr nits.
3920
3921         * src/EditorClientImpl.cpp:
3922         (WebKit::EditorClientImpl::autofill):
3923         * src/IDBDatabaseBackendProxy.cpp:
3924         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
3925         (WebKit::IDBDatabaseBackendProxy::transaction):
3926         * src/IDBObjectStoreBackendProxy.cpp:
3927         (WebKit::IDBObjectStoreBackendProxy::createIndex):
3928         (WebKit::IDBObjectStoreBackendProxy::index):
3929         * src/IDBTransactionBackendProxy.cpp:
3930         (WebKit::IDBTransactionBackendProxy::objectStore):
3931         * src/PlatformMessagePortChannel.cpp:
3932         (WebCore::MessagePortChannel::create):
3933         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
3934         * src/SharedWorkerRepository.cpp:
3935         (WebCore::SharedWorkerRepository::connect):
3936         * src/SocketStreamHandle.cpp:
3937         (WebCore::SocketStreamHandleInternal::create):
3938         * src/WebDevToolsAgentImpl.cpp:
3939         (WebKit::DebuggerTask::DebuggerTask):
3940         (WebKit::DebuggerTask::~DebuggerTask):
3941         (WebKit::DebuggerTask::run):
3942         (WebKit::WebDevToolsAgent::interruptAndDispatch):
3943         * src/WebDevToolsFrontendImpl.cpp:
3944         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
3945         * src/WebIDBCallbacksImpl.cpp:
3946         (WebKit::WebIDBCallbacksImpl::onSuccess):
3947         * src/WebIDBCursorImpl.cpp:
3948         (WebKit::WebIDBCursorImpl::update):
3949         (WebKit::WebIDBCursorImpl::continueFunction):
3950         (WebKit::WebIDBCursorImpl::deleteFunction):
3951         * src/WebIDBDatabaseImpl.cpp:
3952         (WebKit::WebIDBDatabaseImpl::setVersion):
3953         (WebKit::WebIDBDatabaseImpl::open):
3954         * src/WebIDBFactoryImpl.cpp:
3955         (WebKit::WebIDBFactoryImpl::open):
3956         * src/WebIDBIndexImpl.cpp:
3957         (WebKit::WebIDBIndexImpl::openObjectCursor):
3958         (WebKit::WebIDBIndexImpl::openKeyCursor):
3959         (WebKit::WebIDBIndexImpl::getObject):
3960         (WebKit::WebIDBIndexImpl::getKey):
3961         * src/WebIDBObjectStoreImpl.cpp:
3962         (WebKit::WebIDBObjectStoreImpl::get):
3963         (WebKit::WebIDBObjectStoreImpl::put):
3964         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
3965         (WebKit::WebIDBObjectStoreImpl::clear):
3966         (WebKit::WebIDBObjectStoreImpl::openCursor):
3967         * src/WebIDBTransactionImpl.cpp:
3968         (WebKit::WebIDBTransactionImpl::setCallbacks):
3969         * src/WebPluginContainerImpl.cpp:
3970         (WebKit::WebPluginContainerImpl::loadFrameRequest):
3971         * src/WebViewImpl.cpp:
3972         (WebKit::WebViewImpl::setDevToolsAgentClient):
3973         * src/WebWorkerClientImpl.cpp:
3974         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
3975         * src/WebWorkerImpl.cpp:
3976         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
3977         * src/WorkerFileWriterCallbacksBridge.cpp:
3978         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
3979         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
3980         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
3981         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
3982
3983 2011-05-09  Shishir Agrawal  <shishir@chromium.org>
3984
3985         Reviewed by Tony Gentilcore.
3986
3987         Implement Page Visibility API.
3988         https://bugs.webkit.org/show_bug.cgi?id=54181
3989
3990         * WebKit.gyp:
3991         * public/WebPageVisibilityState.h: Added.
3992         * public/WebView.h:
3993         (WebKit::WebView::setVisibilityState):
3994         * public/WebViewClient.h:
3995         (WebKit::WebViewClient::visibilityState):
3996         * src/AssertMatchingEnums.cpp:
3997         * src/WebViewImpl.cpp:
3998         (WebKit::WebViewImpl::WebViewImpl):
3999         (WebKit::WebViewImpl::setVisibilityState):
4000         * src/WebViewImpl.h:
4001
4002 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
4003
4004         Unreviewed, rolling out r85974.
4005         http://trac.webkit.org/changeset/85974
4006         https://bugs.webkit.org/show_bug.cgi?id=60444
4007
4008         broke browser tests (Requested by inferno-sec on #webkit).
4009
4010         * src/WebURLResponse.cpp:
4011         (WebKit::WebURLResponse::downloadFilePath):
4012         (WebKit::WebURLResponse::setDownloadFilePath):
4013
4014 2011-05-06  Kent Tamura  <tkent@chromium.org>
4015
4016         Reviewed by Ryosuke Niwa.
4017
4018         Eliminate WebCore/dom/InputElement.{cpp,h}
4019         https://bugs.webkit.org/show_bug.cgi?id=60262
4020
4021         * src/WebInputElement.cpp:
4022         (WebKit::WebInputElement::defaultMaxLength):
4023           Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
4024         (WebKit::toWebInputElement):
4025           Follow the return type change of Node::toInputElement().
4026
4027 2011-05-06  Justin Schuh  <jschuh@chromium.org>
4028
4029         Reviewed by Adam Barth.
4030
4031         [Chromium] Whitelist input events interpreted as user gestures
4032         https://bugs.webkit.org/show_bug.cgi?id=60213
4033
4034         * public/WebInputEvent.h:
4035         (WebKit::WebInputEvent::isUserGestureEventType):
4036         * src/WebViewImpl.cpp:
4037         (WebKit::WebViewImpl::handleInputEvent):
4038
4039 2011-05-06  Brett Wilson  <brettw@chromium.org>
4040
4041         Reviewed by Adam Barth.
4042
4043         Use a File object to store the downloaded file reference rather than
4044         just the path. This keeps the file and permissions in scope (using the
4045         already-existing blob system) so the browser won't delete the file
4046         when the load is complete. Instead, the file will be cleaned up when
4047         the request objects are deleted.
4048         https://bugs.webkit.org/show_bug.cgi?id=60281
4049
4050         * src/WebURLResponse.cpp:
4051         (WebKit::WebURLResponse::downloadFilePath):
4052         (WebKit::WebURLResponse::setDownloadFilePath):
4053
4054 2011-05-06  John Abd-El-Malek  <jam@chromium.org>
4055
4056         Reviewed by James Robinson.
4057
4058         [chromium]: Reland using WebPermissionClient for checking indexed db usage
4059         https://bugs.webkit.org/show_bug.cgi?id=60386
4060
4061         * public/WebPermissionClient.h:
4062         (WebKit::WebPermissionClient::allowIndexedDB):
4063         * src/IDBFactoryBackendProxy.cpp:
4064         (WebKit::IDBFactoryBackendProxy::open):
4065
4066 2011-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
4067
4068         Unreviewed, rolling out r85919.
4069         http://trac.webkit.org/changeset/85919
4070         https://bugs.webkit.org/show_bug.cgi?id=60378
4071
4072         broke chromium database tests (Requested by inferno-sec on
4073         #webkit).
4074
4075         * public/WebPermissionClient.h:
4076         * src/IDBFactoryBackendProxy.cpp:
4077         (WebKit::IDBFactoryBackendProxy::open):
4078
4079 2011-05-04  Philippe Normand  <pnormand@igalia.com>
4080
4081         Reviewed by Dimitri Glazkov.
4082
4083         Implement LayoutTestController::pseudoShadowId()
4084         https://bugs.webkit.org/show_bug.cgi?id=60034
4085
4086         * public/WebElement.h:
4087         * src/WebElement.cpp:
4088         (WebKit::WebElement::shadowPseudoId):
4089
4090 2011-05-05  John Abd-El-Malek  <jam@chromium.org>
4091
4092         Reviewed by James Robinson.
4093
4094         [chromium] Make IndexedDB code use WebPermissionClient API
4095         https://bugs.webkit.org/show_bug.cgi?id=60340
4096
4097         * public/WebPermissionClient.h:
4098         (WebKit::WebPermissionClient::allowIndexedDB):
4099         * src/IDBFactoryBackendProxy.cpp:
4100         (WebKit::IDBFactoryBackendProxy::open):
4101
4102 2011-05-05  Adam Barth  <abarth@webkit.org>
4103
4104         Roll Chromium DEPS.
4105
4106         * DEPS:
4107
4108 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
4109
4110         Reviewed by Eric Seidel.
4111
4112         Rename SelectionController to FrameSelection
4113         https://bugs.webkit.org/show_bug.cgi?id=60234
4114
4115         * src/WebFrameImpl.cpp:
4116         (WebKit::WebFrameImpl::selectWordAroundCaret):
4117         * src/WebViewImpl.cpp:
4118         (WebKit::WebViewImpl::textInputType):
4119         (WebKit::WebViewImpl::caretOrSelectionBounds):
4120         (WebKit::WebViewImpl::caretOrSelectionRange):
4121         (WebKit::WebViewImpl::clearFocusedNode):
4122
4123 2011-05-03  Hans Wennborg  <hans@chromium.org>
4124
4125         Reviewed by Steve Block.
4126
4127         IndexedDB: Unit tests for LevelDB key coding functions
4128         https://bugs.webkit.org/show_bug.cgi?id=59692
4129
4130         Add unit tests for the basic key coding functions used by the LevelDB back-end.
4131
4132         * WebKit.gypi:
4133         * tests/IDBLevelDBCodingTest.cpp: Added.
4134         (IDBLevelDBCoding::TEST):
4135
4136 2011-05-04  MORITA Hajime  <morrita@google.com>
4137
4138         Unreviewed unit test skip (startPostAndWaitOnCondition)
4139         which fails on Windows 7. See bug 60248 for tracking.
4140         
4141         * tests/CCThreadTest.cpp:
4142         (WebCore::TEST):
4143
4144 2011-05-04  Cris Neckar  <cdn@chromium.org>
4145
4146         Reviewed by Adam Barth.
4147
4148         Expose WebView directly through ChromeClient.
4149         https://bugs.webkit.org/show_bug.cgi?id=49902
4150
4151         * src/AutoFillPopupMenuClient.cpp:
4152         (WebKit::AutoFillPopupMenuClient::getWebView):
4153         * src/ChromeClientImpl.cpp:
4154         (WebKit::ChromeClientImpl::webView):
4155         * src/ChromeClientImpl.h:
4156         * src/GraphicsContext3DChromium.cpp:
4157         (WebCore::GraphicsContext3DInternal::initialize):
4158         * src/PlatformBridge.cpp:
4159         (WebCore::toWebWidgetClient):
4160         * src/StorageNamespaceProxy.cpp:
4161         (WebCore::StorageNamespace::sessionStorageNamespace):