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