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