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