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