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