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