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