2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
2
3         Unreviewed.
4
5         Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
6         https://bugs.webkit.org/show_bug.cgi?id=62796
7
8         The patches broke chromium browser tests.
9
10         * src/WebPluginContainerImpl.cpp:
11         (WebKit::WebPluginContainerImpl::loadFrameRequest):
12         * src/WebViewImpl.cpp:
13         (WebKit::WebViewImpl::performMediaPlayerAction):
14
15 2011-06-16  Vsevolod Vlasov  <vsevik@chromium.org>
16
17         Reviewed by Yury Semikhatsky.
18
19         Web Inspector: Cache XHR content in backend, do not use initialContentSet for XHRs.
20         https://bugs.webkit.org/show_bug.cgi?id=61205
21
22         Added inspector backend cache for XHR content.
23
24         * src/AssociatedURLLoader.cpp:
25         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
26
27 2011-06-16  Adam Barth  <abarth@webkit.org>
28
29         Reviewed by Eric Seidel.
30
31         Remove HTMLVideoElement::processingUserGesture
32         https://bugs.webkit.org/show_bug.cgi?id=62784
33
34         * src/WebViewImpl.cpp:
35         (WebKit::WebViewImpl::performMediaPlayerAction):
36
37 2011-06-15  Mikhail Naganov  <mnaganov@chromium.org>
38
39         Reviewed by Pavel Feldman.
40
41         WebInspector [Chromium]: Make heap snapshots UI more responsive.
42         https://bugs.webkit.org/show_bug.cgi?id=62360
43
44         Two changes have been made:
45           - when we request elements, sort array only partially;
46           - when populating children, do it in batches;
47
48         * WebKit.gyp:
49
50 2011-06-15  Adam Barth  <abarth@webkit.org>
51
52         Reviewed by Eric Seidel.
53
54         Remove Event::fromUserGesture
55         https://bugs.webkit.org/show_bug.cgi?id=62778
56
57         This call site is not definite about there not being a user gesture.
58
59         * src/WebPluginContainerImpl.cpp:
60         (WebKit::WebPluginContainerImpl::loadFrameRequest):
61
62 2011-06-15  Darin Adler  <darin@apple.com>
63
64         Reviewed by Adam Barth.
65
66         Remove obsolete LOOSE_OWN_PTR code
67         https://bugs.webkit.org/show_bug.cgi?id=59909
68
69         * src/StorageAreaProxy.cpp:
70         (WebCore::StorageAreaProxy::StorageAreaProxy): Use adoptPtr
71         instead of LOOSE_OWN_PTR.
72         * src/StorageNamespaceProxy.cpp:
73         (WebCore::StorageNamespaceProxy::StorageNamespaceProxy): Ditto.
74
75 2011-06-15  Andrey Kosyakov  <caseq@chromium.org>
76
77        Unreviewed, rolled out r88937 (broke build on mac)
78
79         * src/AssociatedURLLoader.cpp:
80         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
81
82 2011-06-15  Pavel Feldman  <pfeldman@chromium.org>
83
84         Not reviewed: [Chromium] one line background color fix for inspector.
85
86         * src/js/devTools.css:
87         (body.detached.platform-mac-snowleopard #toolbar):
88         (body.detached.platform-mac-snowleopard.inactive #toolbar):
89
90 2011-06-14  Hans Wennborg  <hans@chromium.org>
91
92         Reviewed by Tony Gentilcore.
93
94         IndexedDB: LevelDB doesn't do incognito mode; fall back to SQLite.
95         https://bugs.webkit.org/show_bug.cgi?id=62633
96
97         LevelDB does not support in-memory databases. Fall back to SQLite
98         for incognito mode browsing. This will be tested by browser_tests
99         in Chromium.
100
101         * src/WebIDBFactoryImpl.cpp:
102         (WebKit::WebIDBFactoryImpl::open):
103
104 2011-06-10  Yury Semikhatsky  <yurys@chromium.org>
105
106         Reviewed by Dmitry Titov.
107
108         [Chromium] Worker object may be garbage collected if it doesn't send any messages
109         https://bugs.webkit.org/show_bug.cgi?id=62446
110
111         Assume that WorkerContext has pending activity before explicit notification
112         is received from it. It prevents worker object from being collected before
113         the first message from its context is received.
114
115         * src/WebWorkerClientImpl.cpp:
116         (WebKit::WebWorkerClientImpl::startWorkerContext):
117         (WebKit::WebWorkerClientImpl::startWorkerContextInternal):
118         (WebKit::WebWorkerClientImpl::startWorkerContextTask):
119         * src/WebWorkerClientImpl.h:
120
121 2011-06-14  Eric Uhrhane  <ericu@chromium.org>
122
123         Reviewed by Darin Fisher.
124
125         Clean up filesystem base path code.
126         https://bugs.webkit.org/show_bug.cgi?id=60218
127
128         Change a bunch of url-held-in-a-string parameters into real KURLS and
129         WebURLs.  Also add a #define to make it easier to stage this change, as
130         it involves both Chromium and WebKit changes that would ideally be 
131         simultaneous.
132
133         No new tests--no change in functionality.
134
135         * public/WebFileSystem.h:
136         * public/WebFileSystemCallbacks.h:
137         * public/WebFrame.h:
138         * src/AsyncFileSystemChromium.cpp:
139         * src/AsyncFileSystemChromium.h:
140         * src/WebFileSystemCallbacksImpl.cpp:
141         * src/WebFileSystemCallbacksImpl.h:
142         * src/WebFrameImpl.cpp:
143         * src/WorkerAsyncFileSystemChromium.cpp:
144         * src/WorkerAsyncFileSystemChromium.h:
145         * src/WorkerAsyncFileWriterChromium.cpp:
146         * src/WorkerAsyncFileWriterChromium.h:
147         * src/WorkerFileSystemCallbacksBridge.cpp:
148         * src/WorkerFileSystemCallbacksBridge.h:
149         * src/WorkerFileWriterCallbacksBridge.cpp:
150         * src/WorkerFileWriterCallbacksBridge.h:
151
152 2011-06-14  James Robinson  <jamesr@chromium.org>
153
154         Reviewed by Stephen White.
155
156         [chromium] Compositor shader initialization is inefficient
157         https://bugs.webkit.org/show_bug.cgi?id=62618
158
159         Add a TRACE_EVENT() around initial compositor initialization.
160
161         * src/WebViewImpl.cpp:
162         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
163
164 2011-06-14  Adam Barth  <abarth@webkit.org>
165
166         Reviewed by Darin Fisher.
167
168         WebFrame::url() should use the one true URL
169         https://bugs.webkit.org/show_bug.cgi?id=62610
170
171         The Document's URL is the one true URL.  Thou shalt have no URLs before
172         Document::url().
173
174         * src/WebFrameImpl.cpp:
175         (WebKit::WebFrameImpl::url):
176
177 2011-06-13  James Simonsen  <simonjam@chromium.org>
178
179         [Chromium] Unreviewed, rolled DEPS.
180
181         * DEPS:
182
183 2011-06-13  James Simonsen  <simonjam@chromium.org>
184
185         Reviewed by James Robinson.
186
187         [Chromium] Implement monotonicallyIncreasingClock()
188         https://bugs.webkit.org/show_bug.cgi?id=62162
189
190         * public/WebKitClient.h:
191         (WebKit::WebKitClient::monotonicallyIncreasingTime): Added.
192         * src/PlatformBridge.cpp:
193         (WebCore::PlatformBridge::monotonicallyIncreasingTime): Added.
194
195 2011-06-13  Jian Li  <jianli@chromium.org>
196
197         Reviewed by David Levin.
198
199         [Chromium] WebNotification should check if ScriptExecutionContext is gone
200         before dispatching events.
201         https://bugs.webkit.org/show_bug.cgi?id=62592
202
203         * public/WebNotification.h:
204         * src/WebNotification.cpp:
205         (WebKit::WebNotification::dispatchDisplayEvent):
206         (WebKit::WebNotification::dispatchErrorEvent):
207         (WebKit::WebNotification::dispatchCloseEvent):
208         (WebKit::WebNotification::dispatchClickEvent):
209         (WebKit::WebNotification::dispatchEvent): Added a helper method to check
210         the context and dispatch an event.
211
212 2011-06-13  Dmitry Lomov  <dslomov@google.com>
213
214         Reviewed by Adam Barth.
215
216         https://bugs.webkit.org/show_bug.cgi?id=62345
217         Use per-isolate embedder data instead of statics for caches in bindings.
218         This is a prerequisite for more than one v8 isolate per process.
219
220         * tests/IDBBindingUtilitiesTest.cpp:
221         (WebCore::TEST):
222
223 2011-06-13  Lei Zhang  <thestig@chromium.org>
224
225         Reviewed by Darin Fisher.
226
227         [Chromium] Add a WebSetting to control printing backgrounds
228         https://bugs.webkit.org/show_bug.cgi?id=62423
229
230         * public/WebSettings.h:
231         * src/WebSettingsImpl.cpp:
232         (WebKit::WebSettingsImpl::setShouldPrintBackgrounds):
233         * src/WebSettingsImpl.h:
234
235 2011-06-13  Dominic Mazzoni  <dmazzoni@google.com>
236
237         Reviewed by Dimitri Glazkov.
238
239         Add accessors for selectionStart and selectionEnd.
240         https://bugs.webkit.org/show_bug.cgi?id=62596
241
242         * public/WebAccessibilityObject.h:
243         * src/WebAccessibilityObject.cpp:
244         (WebKit::WebAccessibilityObject::selectionEnd):
245         (WebKit::WebAccessibilityObject::selectionStart):
246
247 2011-06-13  Adam Barth  <abarth@webkit.org>
248
249         Reviewed by Nate Chapin.
250
251         Factor IconController out of FrameLoader
252         https://bugs.webkit.org/show_bug.cgi?id=62509
253
254         * src/WebFrameImpl.cpp:
255         (WebKit::WebFrameImpl::iconURLs):
256
257 2011-06-12  Adam Barth  <abarth@webkit.org>
258
259         Reviewed by Alexey Proskuryakov.
260
261         Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
262         https://bugs.webkit.org/show_bug.cgi?id=62516
263
264         * src/FrameLoaderClientImpl.cpp:
265         (WebKit::FrameLoaderClientImpl::interruptedForPolicyChangeError):
266         * src/FrameLoaderClientImpl.h:
267
268 2011-06-12  Adam Barth  <abarth@webkit.org>
269
270         Reviewed by Eric Seidel.
271
272         Remove FrameLoader::isProcessingUserGesture
273         https://bugs.webkit.org/show_bug.cgi?id=62519
274
275         * src/WebFrameImpl.cpp:
276         (WebKit::WebFrameImpl::isProcessingUserGesture):
277
278 2011-06-10  Vsevolod Vlasov  <vsevik@chromium.org>
279
280         Reviewed by James Robinson.
281
282         Web Inspector: [Chromium] DevTools does not highlight elements when accelerated compositing is on.
283         https://bugs.webkit.org/show_bug.cgi?id=62149
284
285         Added page overlay for inspector highlight support.
286
287         * WebKit.gyp:
288         * src/ChromeClientImpl.cpp:
289         (WebKit::ChromeClientImpl::attachRootGraphicsLayer):
290         * src/PageOverlay.cpp: Added.
291         (WebKit::PageOverlay::create):
292         (WebKit::PageOverlay::PageOverlay):
293         (WebKit::OverlayGraphicsLayerClientImpl::create):
294         (WebKit::OverlayGraphicsLayerClientImpl::~OverlayGraphicsLayerClientImpl):
295         (WebKit::OverlayGraphicsLayerClientImpl::notifyAnimationStarted):
296         (WebKit::OverlayGraphicsLayerClientImpl::notifySyncRequired):
297         (WebKit::OverlayGraphicsLayerClientImpl::paintContents):
298         (WebKit::OverlayGraphicsLayerClientImpl::showDebugBorders):
299         (WebKit::OverlayGraphicsLayerClientImpl::showRepaintCounter):
300         (WebKit::OverlayGraphicsLayerClientImpl::OverlayGraphicsLayerClientImpl):
301         (WebKit::PageOverlay::clear):
302         (WebKit::PageOverlay::update):
303         (WebKit::PageOverlay::paintWebFrame):
304         (WebKit::PageOverlay::invalidateWebFrame):
305         * src/PageOverlay.h: Added.
306         (WebKit::PageOverlay::~PageOverlay):
307         (WebKit::PageOverlay::setClient):
308         * src/WebDevToolsAgentImpl.cpp:
309         (WebKit::WebDevToolsAgentImpl::paintPageOverlay):
310         (WebKit::WebDevToolsAgentImpl::highlight):
311         (WebKit::WebDevToolsAgentImpl::hideHighlight):
312         * src/WebDevToolsAgentImpl.h:
313         * src/WebFrameImpl.cpp:
314         (WebKit::WebFrameImpl::paintWithContext):
315         * src/WebViewImpl.cpp:
316         (WebKit::WebViewImpl::WebViewImpl):
317         (WebKit::WebViewImpl::setPageOverlayClient):
318         (WebKit::WebViewImpl::setOverlayLayer):
319         (WebKit::WebViewImpl::setRootGraphicsLayer):
320         (WebKit::WebViewImpl::setRootPlatformLayer):
321         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
322         (WebKit::WebViewImpl::doComposite):
323         (WebKit::WebViewImpl::reallocateRenderer):
324         * src/WebViewImpl.h:
325         (WebKit::WebViewImpl::pageOverlay):
326
327 2011-06-10  David Levin  <levin@chromium.org>
328
329         Reviewed by Dmitry Titov.
330
331         Fetching a Worker with url that isn't allowed from a file based test causes DRT to crash.
332         https://bugs.webkit.org/show_bug.cgi?id=62469
333
334         Test: fast/workers/worker-crash-with-invalid-location.html
335
336         * src/SharedWorkerRepository.cpp:
337         (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader): Changed to using the RefCounted version
338         of WorkerScriptLoader.
339         (WebCore::SharedWorkerScriptLoader::load): Rearranged calls as done in similar places,
340         which allows for SharedWorkerScriptLoader to be deleted during the laodAsynchronously call
341         and for unsetPendingActivity to be called.
342         (WebCore::SharedWorkerScriptLoader::notifyFinished): Changed to using the RefCounted version
343         of WorkerScriptLoader.
344
345 2011-06-10  Ryosuke Niwa  <rniwa@webkit.org>
346
347         Rolled DEPS.
348
349         * DEPS:
350
351 2011-06-10  Tony Chang  <tony@chromium.org>
352
353         Reviewed by Dimitri Glazkov.
354
355         [chromium] make features.gypi the same as features_override.gypi
356         https://bugs.webkit.org/show_bug.cgi?id=62399
357
358         Make the file the same as chromium's features_override.gypi so we
359         can remove features_override.gypi in chromium.
360
361         Remove ENABLE_DATAGRID=0 since the define is gone and remove
362         ENABLE_FULLSCREEN_API=1 since we want to disable it.
363
364         * features.gypi:
365
366 2011-06-09  Yury Semikhatsky  <yurys@chromium.org>
367
368         Reviewed by Dmitry Titov.
369
370         [Chromium] Worker object may be garbage collected even if it has message handlers
371         https://bugs.webkit.org/show_bug.cgi?id=62292
372
373         I'd like to convert the test case into a layout test but I don't see yet
374         how to do this so that the test isn't too slow and reliable. The problem
375         with test is that full-GC needs to be triggered right after
376         WebWorkerClientImpl::confirmMessageFromWorkerObject is called and there
377         is no way to hook WebWorkerClientImpl::confirmMessageFromWorkerObject from JavaScript.
378         So no test for now.
379
380         * src/WebWorkerClientImpl.cpp:
381         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
382         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObjectTask): update worker context pending
383         activity state every time a message is confirmed since the message may have created a new activity.
384         * src/WebWorkerClientImpl.h:
385
386 2011-06-09  James Kozianski  <koz@chromium.org>
387
388         Unreviewed, rolling out r88466.
389         http://trac.webkit.org/changeset/88466
390         https://bugs.webkit.org/show_bug.cgi?id=60059
391
392         Broke PPAPITest.URLLoader test on the chromium bots
393
394         * WebKit.gyp:
395         * WebKit.gypi:
396         * src/AssociatedURLLoader.cpp:
397         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
398         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
399         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
400         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
401         (WebKit::AssociatedURLLoader::loadAsynchronously):
402         * tests/AssociatedURLLoaderTest.cpp: Removed.
403
404 2011-06-09  James Robinson  <jamesr@chromium.org>
405
406         Reviewed by Eric Seidel.
407
408         [chromium] webkitRequestFullscreen exposed to web even when feature is disabled
409         https://bugs.webkit.org/show_bug.cgi?id=62397
410
411         Remove ENABLE_FULLSCREEN_API define from chromium builds since this exposes the webkitRequestFullscreen function
412         even when the runtime setting was disabled.
413
414         * features.gypi:
415
416 2011-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
417
418         Unreviewed, rolling out r88486.
419         http://trac.webkit.org/changeset/88486
420         https://bugs.webkit.org/show_bug.cgi?id=62409
421
422         Broke chromium-win compile (Requested by jamesr on #webkit).
423
424         * public/WebData.h:
425         * public/WebPageSerializer.h:
426         * src/WebData.cpp:
427         * src/WebPageSerializer.cpp:
428         (WebKit::WebPageSerializer::serialize):
429         (WebKit::WebPageSerializer::serializeToMHTML):
430
431 2011-06-09  Jay Civelli  <jcivelli@chromium.org>
432
433         Reviewed by Darin Fisher.
434
435         Page serializer APIs now use WebData instead of fetching the entire
436         resource contents.
437         https://bugs.webkit.org/show_bug.cgi?id=61908
438
439         * public/WebData.h:
440         * public/WebPageSerializer.h:
441         * src/WebData.cpp:
442         (WebKit::WebData::getSomeData):
443         * src/WebPageSerializer.cpp:
444         (WebKit::WebPageSerializer::serialize):
445         (WebKit::WebPageSerializer::serializeToMHTML):
446
447 2011-06-09  Bill Budge  <bbudge@chromium.org>
448
449         Reviewed by Adam Barth.
450
451         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.
452         https://bugs.webkit.org/show_bug.cgi?id=60059
453
454         * WebKit.gyp:
455         * WebKit.gypi:
456         * src/AssociatedURLLoader.cpp:
457         (WebKit::AssociatedURLLoader::ClientAdapter::clearClient):
458         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
459         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
460         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
461         (WebKit::AssociatedURLLoader::ClientAdapter::enableErrorNotifications):
462         (WebKit::AssociatedURLLoader::ClientAdapter::notifyError):
463         (WebKit::AssociatedURLLoader::loadAsynchronously):
464         * tests/AssociatedURLLoaderTest.cpp: Added.
465         (WebKit::TestWebFrameClient::cancelledError):
466         (WebKit::AssociatedURLLoaderTest::AssociatedURLLoaderTest):
467         (WebKit::AssociatedURLLoaderTest::SetUp):
468         (WebKit::AssociatedURLLoaderTest::TearDown):
469         (WebKit::AssociatedURLLoaderTest::serveRequests):
470         (WebKit::AssociatedURLLoaderTest::createAssociatedURLLoader):
471         (WebKit::AssociatedURLLoaderTest::willSendRequest):
472         (WebKit::AssociatedURLLoaderTest::didSendData):
473         (WebKit::AssociatedURLLoaderTest::didReceiveResponse):
474         (WebKit::AssociatedURLLoaderTest::didDownloadData):
475         (WebKit::AssociatedURLLoaderTest::didReceiveData):
476         (WebKit::AssociatedURLLoaderTest::didReceiveCachedMetadata):
477         (WebKit::AssociatedURLLoaderTest::didFinishLoading):
478         (WebKit::AssociatedURLLoaderTest::didFail):
479         (WebKit::TEST_F):
480
481 2011-06-09  Nico Weber  <thakis@chromium.org>
482
483         Reviewed by Darin Fisher.
484
485         [chromium] Make a few destructors private.
486         https://bugs.webkit.org/show_bug.cgi?id=62341
487
488         No intended functionality change.
489
490         * src/NotificationPresenterImpl.cpp:
491         (WebKit::VoidCallbackClient::~VoidCallbackClient):
492         * src/WebTextCheckingCompletionImpl.h:
493         (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
494         * src/WebURLRequest.cpp:
495         (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
496         * src/WebURLResponse.cpp:
497         (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
498
499 2011-06-09  James Robinson  <jamesr@chromium.org>
500
501         Fix chromium build on build.webkit.org builders.
502
503         * features.gypi:
504
505 2011-06-08  Justin Novosad  <junov@chromium.org>
506
507         Reviewed by James Robinson.
508
509         [Chromium] Crash when closing a tab with accelerated 2d canvas
510         https://bugs.webkit.org/show_bug.cgi?id=62324
511         In GraphicsContext3DInternal::setContextLostCallback we are passing a
512         non-refcounted ptr to a refcounted member. this can cause an access
513         violation after the destruction of GraphicsContext3D.  Upon destruction
514         a null callback is sent to setContextLostCallback, which is good
515         except that it gets placed in a non-null adapter object.  This fix
516         prevents the creation of the adapter when the callback is null, thus
517         preventing a later crash.
518
519         * src/GraphicsContext3DChromium.cpp:
520         (WebCore::GraphicsContextLostCallbackAdapter::create):
521
522 2011-06-08  James Robinson  <jamesr@chromium.org>
523
524         Hopefully last change to features.gypi - set ENABLE_REGISTER_PROTOCOL_HANDLER based off of the the variable set
525         in chromium's common.gypi. Should green up the chromium linux tester on build.webkit.org.
526
527         * features.gypi:
528
529 2011-06-08  James Robinson  <jamesr@chromium.org>
530
531         Set ENABLE_REGISTER_PROTOCOL_HANDLER=1 for chromium. I didn't mean to turn that off...
532
533         * features.gypi:
534
535 2011-06-08  James Robinson  <jamesr@chromium.org>
536
537         [chromium] Update the chromium-within-WebKit revision to r88481
538         https://bugs.webkit.org/show_bug.cgi?id=62353
539
540         * DEPS:
541
542 2011-06-08  Sailesh Agrawal  <sail@chromium.org>
543
544         Reviewed by Darin Fisher.
545
546         [Chromium] Add stubs to WebWidget
547         https://bugs.webkit.org/show_bug.cgi?id=62263
548
549         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.
550
551         * public/WebWidget.h:
552         (WebKit::WebWidget::close):
553         (WebKit::WebWidget::size):
554         (WebKit::WebWidget::resize):
555         (WebKit::WebWidget::animate):
556         (WebKit::WebWidget::layout):
557         (WebKit::WebWidget::paint):
558         (WebKit::WebWidget::composite):
559         (WebKit::WebWidget::themeChanged):
560         (WebKit::WebWidget::handleInputEvent):
561         (WebKit::WebWidget::mouseCaptureLost):
562         (WebKit::WebWidget::setFocus):
563         (WebKit::WebWidget::setComposition):
564         (WebKit::WebWidget::confirmComposition):
565         (WebKit::WebWidget::compositionRange):
566         (WebKit::WebWidget::textInputType):
567         (WebKit::WebWidget::caretOrSelectionBounds):
568         (WebKit::WebWidget::selectionRange):
569         (WebKit::WebWidget::caretOrSelectionRange):
570         (WebKit::WebWidget::setTextDirection):
571         (WebKit::WebWidget::isAcceleratedCompositingActive):
572
573 2011-06-08  Tom Sepez  <tsepez@chromium.org>
574
575         Reviewed by Adam Barth.
576
577         Add new permission callbacks for mixed content blocking.
578         https://bugs.webkit.org/show_bug.cgi?id=61946
579
580         * public/WebPermissionClient.h:
581         (WebKit::WebPermissionClient::allowDisplayingInsecureContent):
582         (WebKit::WebPermissionClient::allowRunningInsecureContent):
583         * src/FrameLoaderClientImpl.cpp:
584         (WebKit::FrameLoaderClientImpl::allowDisplayingInsecureContent):
585         (WebKit::FrameLoaderClientImpl::allowRunningInsecureContent):
586         * src/FrameLoaderClientImpl.h:
587
588 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
589
590         Added new entries for skia/third_party/glu.
591
592         * DEPS:
593
594 2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>
595
596         Rolled DEPS.
597
598         * DEPS:
599
600 2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>
601
602         Reviewed by Tony Chang.
603
604         Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6
605
606         Compiling Chromium port under GCC 4.6 produces warnings about nullptr
607         https://bugs.webkit.org/show_bug.cgi?id=62242
608
609         * WebKit.gyp:
610
611 2011-06-08  Greg Simon  <gregsimon@chromium.org>
612
613         Reviewed by Dimitri Glazkov.
614
615         Control Indexeddb backends from LayoutTestController
616         https://bugs.webkit.org/show_bug.cgi?id=61000
617
618         * public/WebIDBFactory.h:
619         * src/AssertMatchingEnums.cpp:
620         * src/WebIDBFactoryImpl.cpp:
621         (WebKit::WebIDBFactory::setOverrideBackingStoreType):
622         (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
623         (WebKit::WebIDBFactoryImpl::open):
624
625 2011-06-08  Dominic Mazzoni  <dmazzoni@google.com>
626
627         Reviewed by Dimitri Glazkov.
628
629         Add a method to return the line breaks for any element with
630         multiline text content.
631         https://bugs.webkit.org/show_bug.cgi?id=62236
632
633         * public/WebAccessibilityObject.h:
634         * src/WebAccessibilityObject.cpp:
635         (WebKit::WebAccessibilityObject::lineBreaks):
636
637 2011-06-08  Ilya Tikhonovsky  <loislo@chromium.org>
638
639         Unreviewed chromium build fix for r88332.
640
641         * src/WebRuntimeFeatures.cpp:
642
643 2011-06-08  Hironori Bono  <hbono@chromium.org>
644
645         Reviewed by Brent Fulgham.
646
647         Add SpellCheck API
648         https://bugs.webkit.org/show_bug.cgi?id=59693
649
650         This change adds two SpellCheck API functions (addSpellcheckRange and
651         removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
652         the public-webapps ML. This change is currently available only on Chromium.
653
654         * features.gypi:
655         * public/WebRuntimeFeatures.h:
656         * src/ContextMenuClientImpl.cpp:
657         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
658         * src/WebRuntimeFeatures.cpp:
659         (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
660         (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):
661
662 2011-06-07  James Kozianski  <koz@chromium.org>
663
664         [Chromium] Unreviewed. Disable SelectItemEvenFire that fails on
665         chromium canaries.
666
667         * tests/PopupMenuTest.cpp:
668         (WebKit::TEST_F):
669
670 2011-06-07  Robert Kroeger  <rjkroege@chromium.org>
671
672         Reviewed by Adam Barth.
673
674         [chromium] Add a basic gesture recognizer to the Chromium platform
675         https://bugs.webkit.org/show_bug.cgi?id=54417
676
677         Added unit tests for the basic chromium platform gesture recognizer.
678
679         * tests/InnerGestureRecognizerTest.cpp: Added.
680         (WebCore::InspectableInnerGestureRecognizer::InspectableInnerGestureRecognizer):
681         (WebCore::InspectableInnerGestureRecognizer::signature):
682         (WebCore::InspectableInnerGestureRecognizer::firstTouchPosition):
683         (WebCore::InspectableInnerGestureRecognizer::setFirstTouchTime):
684         (WebCore::InspectableInnerGestureRecognizer::firstTouchTime):
685         (WebCore::InspectableInnerGestureRecognizer::setLastTouchTime):
686         (WebCore::InspectableInnerGestureRecognizer::lastTouchTime):
687         (WebCore::InspectableInnerGestureRecognizer::edgeFunction):
688         (WebCore::InspectableInnerGestureRecognizer::updateValues):
689         (WebCore::InspectableInnerGestureRecognizer::addEdgeFunction):
690         (WebCore::BuildablePlatformTouchPoint::setX):
691         (WebCore::BuildablePlatformTouchPoint::setY):
692         (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
693         (WebCore::TestGestureRecognizer::TestGestureRecognizer):
694         (WebCore::TestGestureRecognizer::SetUp):
695         (WebCore::TestGestureRecognizer::TearDown):
696         (WebCore::TEST_F):
697
698 2011-06-07  Vangelis Kokkevis  <vangelis@chromium.org>
699
700         Reviewed by James Robinson.
701
702         Disable compositing for RTL pages in the RenderLayerCompositor rather
703         than later on in the WebViewImpl.
704         https://bugs.webkit.org/show_bug.cgi?id=62246
705
706         * src/ChromeClientImpl.cpp:
707         (WebKit::ChromeClientImpl::allowedCompositingTriggers):
708         * src/WebViewImpl.cpp:
709         (WebKit::WebViewImpl::layout):
710         (WebKit::WebViewImpl::setRootGraphicsLayer):
711
712 2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
713
714         Unreviewed, rolling out r88254, r88262, and r88268.
715         http://trac.webkit.org/changeset/88254
716         http://trac.webkit.org/changeset/88262
717         http://trac.webkit.org/changeset/88268
718         https://bugs.webkit.org/show_bug.cgi?id=62234
719
720         I fail at changing features.gypi (Requested by abarth on
721         #webkit).
722
723         * features.gypi:
724
725 2011-06-07  Adam Barth  <abarth@webkit.org>
726
727         Reviewed by Tony Chang.
728
729         Fix "branding" issue in features.gypi
730         https://bugs.webkit.org/show_bug.cgi?id=62229
731
732         Apparently we need to move the conditional block further out of the
733         nesting in order to see the branding variable.  This patch also remove
734         the dummy branding variable I added to get the buildbot building again.
735
736         * features.gypi:
737
738 2011-06-07  Adam Barth  <abarth@webkit.org>
739
740         Attempt to fix the cr-win build.
741
742         * features.gypi:
743
744 2011-06-07  Adam Barth  <abarth@webkit.org>
745
746         Reviewed by Dimitri Glazkov.
747
748         Synchronize features.gypi and features_override.gypi in preparation for removing features_override.gypi
749         https://bugs.webkit.org/show_bug.cgi?id=62135
750
751         After this patch is rolled into Chromium, we should be able to delete
752         features_override.gyp downstream.  Once we do that, we can simplify
753         this file somewhat by removing at least on level of nesting.
754
755         * features.gypi:
756
757 2011-06-03  Yury Semikhatsky  <yurys@chromium.org>
758
759         Reviewed by Pavel Feldman.
760
761         [Chromium] Web Inspector: correctly handle disconnect from worker when script execution is paused
762         https://bugs.webkit.org/show_bug.cgi?id=62019
763
764         Dispatch disconnecFrontend message in debugger task mode to make sure
765         it is processed even if execution is paused.
766
767         * src/WebWorkerImpl.cpp:
768         (WebKit::WebWorkerImpl::detachDevTools):
769         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
770
771 2011-06-07  Naoki Takano  <takano.naoki@gmail.com>
772
773         Reviewed by Kent Tamura.
774
775         [Chromium] Click event is not fired for a menulist <select>
776         https://bugs.webkit.org/show_bug.cgi?id=60563
777
778         * tests/PopupMenuTest.cpp:
779         (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
780         (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
781         (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
782         (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
783         (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
784         (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
785         (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
786         (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
787         (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
788         (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
789         (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
790         * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
791         * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
792         * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
793         * WebKit.gyp: Added PopupMenuTest.cpp. Because webkit_support dependency is added, we can't build PopupMenuTest.cpp with Chromium-win (shared) configuration.
794
795 2011-06-06  Nico Weber  <thakis@chromium.org>
796
797         Reviewed by James Robinson.
798
799         [chromium] Make WebViewImpl's destructor virtual
800         https://bugs.webkit.org/show_bug.cgi?id=62155
801
802         This is _not_ to fix a real bug, just to make clang's
803         -Wdelete-non-virtual-dtor happy. As discussed at
804         http://codereview.chromium.org/7094005/, we prefer making leaf class
805         destructors virtual over making the leaf classes final.
806
807         * src/WebViewImpl.h:
808
809 2011-06-06  Daniel Cheng  <dcheng@chromium.org>
810
811         Reviewed by Tony Chang.
812
813         [chromium] Delete dead clipboard code.
814         https://bugs.webkit.org/show_bug.cgi?id=62113
815
816         * src/WebDragData.cpp:
817
818 2011-06-06  Nico Weber  <thakis@chromium.org>
819
820         Reviewed by James Robinson.
821
822         [chromium] Make WebURLRequestPrivateImpl's and WebURLResponsePrivateImpl's destructors virtual
823         https://bugs.webkit.org/show_bug.cgi?id=62148
824
825         This is _not_ to fix a real bug, just to make clang's
826         -Wdelete-non-virtual-dtor happy. As discussed at
827         http://codereview.chromium.org/7094005/, we prefer making leaf class
828         destructors virtual over making the leaf classes final.
829
830         * src/WebURLRequest.cpp:
831         (WebKit::WebURLRequestPrivateImpl::~WebURLRequestPrivateImpl):
832         * src/WebURLResponse.cpp:
833         (WebKit::WebURLResponsePrivateImpl::~WebURLResponsePrivateImpl):
834
835 2011-06-06  Shishir Agrawal  <shishir@chromium.org>
836
837         Reviewed by Tony Gentilcore.
838
839         Add a "prerender" state for page visibility.
840         https://bugs.webkit.org/show_bug.cgi?id=62062
841
842         * public/WebPageVisibilityState.h:
843         * src/AssertMatchingEnums.cpp:
844         * src/WebViewImpl.cpp:
845         (WebKit::WebViewImpl::setVisibilityState):
846
847 2011-06-06  Nico Weber  <thakis@chromium.org>
848
849         Reviewed by Dimitri Glazkov.
850
851         webkit/glue/webmediaplayer_impl.cc deletes an object of type
852         WebVideoFrame, which means this patch fixes a real bug, not just
853         a theoretical one.
854
855         [chromium] Give WebVideoFrame a virtual destructor
856         https://bugs.webkit.org/show_bug.cgi?id=61742
857
858         * public/WebVideoFrame.h:
859         (WebKit::WebVideoFrame::~WebVideoFrame):
860
861 2011-06-04  Nico Weber  <thakis@chromium.org>
862
863         Reviewed by James Robinson.
864
865         [chromium] Make ResourceHandleInternal's destructor virtual
866         https://bugs.webkit.org/show_bug.cgi?id=62073
867
868         This is _not_ to fix a real bug, just to make clang's
869         -Wdelete-non-virtual-dtor happy. As discussed at
870         http://codereview.chromium.org/7094005/, we prefer making leaf class
871         destructors virtual over making the leaf classes final.
872
873         * src/ResourceHandle.cpp:
874         (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
875
876 2011-06-04  Nico Weber  <thakis@chromium.org>
877
878         Reviewed by James Robinson.
879
880         [chromium] Make ChromePrintContext's destructor virtual
881         https://bugs.webkit.org/show_bug.cgi?id=62076
882
883         Since WebFrameImpl's m_printContext is a OnwPtr<ChromePrintContext>
884         that is dynamically set to either a ChromePrintContext or a
885         ChromePluginPrintContext, this fixes an actual bug.
886
887         * src/WebFrameImpl.cpp:
888         (WebKit::ChromePrintContext::~ChromePrintContext):
889         (WebKit::ChromePluginPrintContext::~ChromePluginPrintContext):
890
891 2011-06-04  Nico Weber  <thakis@chromium.org>
892
893         Reviewed by James Robinson.
894
895         [chromium] Make WebTextCheckingCompletionImpl's destructor virtual
896         https://bugs.webkit.org/show_bug.cgi?id=62074
897
898         This is _not_ to fix a real bug, just to make clang's
899         -Wdelete-non-virtual-dtor happy. As discussed at
900         http://codereview.chromium.org/7094005/, we prefer making leaf class
901         destructors virtual over making the leaf classes final.
902
903         * src/WebTextCheckingCompletionImpl.h:
904         (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
905
906 2011-06-04  Nico Weber  <thakis@chromium.org>
907
908         Reviewed by James Robinson.
909
910         [chromium] Make PlatformMessagePortChannel's destructor virtual
911         https://bugs.webkit.org/show_bug.cgi?id=62072
912
913         This is _not_ to fix a real bug, just to make clang's
914         -Wdelete-non-virtual-dtor happy. As discussed at
915         http://codereview.chromium.org/7094005/, we prefer making leaf class
916         destructors virtual over making the leaf classes final.
917
918         * src/PlatformMessagePortChannel.h:
919
920 2011-06-04  Nico Weber  <thakis@chromium.org>
921
922         Reviewed by James Robinson.
923
924         [chromium] Give VoidCallbackClient a virtual destructor
925         https://bugs.webkit.org/show_bug.cgi?id=62067
926
927         This is _not_ to fix a real bug, just to make clang's
928         -Wdelete-non-virtual-dtor happy. As discussed at
929         http://codereview.chromium.org/7094005/, we prefer making leaf class
930         destructors virtual over making the leaf classes final.
931
932         * src/NotificationPresenterImpl.cpp:
933         (WebKit::VoidCallbackClient::~VoidCallbackClient):
934
935 2011-06-04  Nico Weber  <thakis@chromium.org>
936
937         Reviewed by James Robinson.
938
939         [chromium] Make WebFrameImpl destructor virtual
940         https://bugs.webkit.org/show_bug.cgi?id=62065
941
942         This is _not_ to fix a real bug, just to make clang's
943         -Wdelete-non-virtual-dtor happy. As discussed at
944         http://codereview.chromium.org/7094005/, we prefer making leaf class
945         destructors virtual over making the leaf classes final.
946
947         * src/WebFrameImpl.h:
948
949 2011-06-03  Philippe Beauchamp  <philippe.beauchamp@gmail.com>
950
951         Reviewed by Dimitri Glazkov.
952
953         Add the feature "Add as search engine..." in a search text field context menu for chromium
954         https://bugs.webkit.org/show_bug.cgi?id=47980
955
956         * public/WebContextMenuData.h:
957         * public/WebSearchableFormData.h:
958         * src/ContextMenuClientImpl.cpp:
959         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
960         * src/WebSearchableFormData.cpp:
961         (WebKit::WebSearchableFormData::WebSearchableFormData):
962
963 2011-06-03  Naoki Takano  <takano.naoki@gmail.com>
964
965         Reviewed by Eric Seidel.
966
967         [Chromium] Call setToolTipText() in WebPopupMenuImpl mouse move handler to show tool tip in select popup window.
968         https://bugs.webkit.org/show_bug.cgi?id=61260
969         http://code.google.com/p/chromium/issues/detail?id=12721
970
971         * public/WebMenuItemInfo.h: Add toolTip.
972         * public/WebViewClient.h: Remove setToolTipText().
973         * public/WebWidgetClient.h: Add setTooTipText().
974         (WebKit::WebWidgetClient::setToolTipText):
975         * src/ExternalPopupMenu.cpp:
976         (WebKit::ExternalPopupMenu::getPopupMenuInfo): Add popupItem.toolTip set.
977         * src/WebPopupMenuImpl.cpp:
978         (WebKit::WebPopupMenuImpl::MouseMove): Call setToolTipText().
979
980 2011-06-03  Hans Wennborg  <hans@chromium.org>
981
982         Reviewed by Steve Block.
983
984         IndexedDB: Clean-up use of INT64_MAX in LevelDB back-end
985         https://bugs.webkit.org/show_bug.cgi?id=62009
986
987         Don't use INT64_MAX, use the various encodeMaxKey() functions instead.
988
989         * tests/IDBLevelDBCodingTest.cpp:
990         (IDBLevelDBCoding::TEST):
991
992 2011-06-03  Mikhail Naganov  <mnaganov@chromium.org>
993
994         Reviewed by Yury Semikhatsky.
995
996         Web Inspector: [Chromium] cpu-profiler-profiling layout test is flaky on Linux Debug.
997         https://bugs.webkit.org/show_bug.cgi?id=61533
998
999         Skip cpu-profiler-profiling in debug, implement a fast headless alternative.
1000
1001         * public/WebDevToolsAgent.h:
1002         * src/WebDevToolsAgentImpl.cpp:
1003         (WebKit::WebDevToolsAgentImpl::setJavaScriptProfilingEnabled):
1004         * src/WebDevToolsAgentImpl.h:
1005
1006 2011-06-02  Yury Semikhatsky  <yurys@chromium.org>
1007
1008         Reviewed by Pavel Feldman.
1009
1010         Web Inspector: add an option for automatically attaching to new workers
1011         https://bugs.webkit.org/show_bug.cgi?id=61930
1012
1013         Notification about worker context termination are now sent to the inspector.
1014
1015         * src/WebWorkerClientImpl.cpp:
1016         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
1017         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
1018         (WebKit::WebWorkerClientImpl::workerContextDestroyed):
1019
1020 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
1021
1022         Reviewed by David Levin.
1023
1024         Add mediaTimeForTimeValue() implementation.
1025         https://bugs.webkit.org/show_bug.cgi?id=61555
1026
1027         * public/WebMediaPlayer.h:
1028         * src/WebMediaPlayerClientImpl.cpp:
1029         (WebKit::WebMediaPlayerClientImpl::mediaTimeForTimeValue):
1030         * src/WebMediaPlayerClientImpl.h:
1031
1032 2011-06-02  Jay Civelli  <jcivelli@chromium.org>
1033
1034         Reviewed by Adam Barth.
1035
1036         Adding MHTML generation support to MHTMLArchive.
1037         https://bugs.webkit.org/show_bug.cgi?id=7169
1038
1039         * public/WebPageSerializer.h:
1040         * src/WebPageSerializer.cpp:
1041         (WebKit::WebPageSerializer::serializeToMHTML):
1042
1043 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
1044
1045         Reviewed by Darin Adler.
1046
1047         Add build logistics and plumbing for window.internals object.
1048         https://bugs.webkit.org/show_bug.cgi?id=60313
1049
1050         * WebKit.gyp: Added linking new webkit_test_support library.
1051         * public/WebTestingSupport.h: Added.
1052         * src/WebTestingSupport.cpp: Added.
1053
1054 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
1055
1056         Reviewed by David Levin.
1057
1058         Update chromium version
1059         https://bugs.webkit.org/show_bug.cgi?id=61555
1060
1061         * DEPS:
1062
1063 2011-06-02  Sheriff Bot  <webkit.review.bot@gmail.com>
1064
1065         Unreviewed, rolling out r87920.
1066         http://trac.webkit.org/changeset/87920
1067         https://bugs.webkit.org/show_bug.cgi?id=61943
1068
1069         This patch does not build in Win Builder (dbg)(shared)
1070         downstream (Requested by abarth|gardener on #webkit).
1071
1072         * tests/PopupMenuTest.cpp:
1073         (WebKit::TestPopupMenuClient::TestPopupMenuClient):
1074         (WebKit::TestPopupMenuClient::valueChanged):
1075         (WebKit::TestPopupMenuClient::itemIsEnabled):
1076         (WebKit::SelectPopupMenuTest::TearDown):
1077         * tests/data/popup/select_event.html: Removed.
1078         * tests/data/popup/select_event_remove_on_change.html: Removed.
1079         * tests/data/popup/select_event_remove_on_click.html: Removed.
1080
1081 2011-06-02  Dimitri Glazkov  <dglazkov@chromium.org>
1082
1083         Unreviewed, rolling out r87926.
1084         http://trac.webkit.org/changeset/87926
1085         https://bugs.webkit.org/show_bug.cgi?id=60313
1086
1087         Fails to find WebCoreTestSupport.dylib on bots.
1088
1089         * WebKit.gyp:
1090         * public/WebTestingSupport.h: Removed.
1091         * src/WebTestingSupport.cpp: Removed.
1092
1093 2011-06-02  Aaron Colwell  <acolwell@chromium.org>
1094
1095         Reviewed by Dimitri Glazkov.
1096
1097         Bring gyp_webkit up to date with changes made to
1098         gyp_chromium so chromium_rev can be advanced past
1099         revision 87140.
1100         https://bugs.webkit.org/show_bug.cgi?id=61881
1101
1102         * gyp_webkit:
1103
1104 2011-05-21  Dimitri Glazkov  <dglazkov@chromium.org>
1105
1106         Reviewed by Darin Adler.
1107
1108         Add build logistics and plumbing for window.internals object.
1109         https://bugs.webkit.org/show_bug.cgi?id=60313
1110
1111         * WebKit.gyp: Added linking new webkit_test_support library.
1112         * public/WebTestingSupport.h: Added.
1113         * src/WebTestingSupport.cpp: Added.
1114
1115 2011-06-02  Naoki Takano  <takano.naoki@gmail.com>
1116
1117         Reviewed by Dimitri Glazkov.
1118
1119         [Chromium] Click event is not fired for a menulist <select>
1120         https://bugs.webkit.org/show_bug.cgi?id=60563
1121
1122         * tests/PopupMenuTest.cpp:
1123         (WebKit::TestPopupMenuClient::TestPopupMenuClient): Initialize m_node.
1124         (WebKit::TestPopupMenuClient::valueChanged): To fire 'change' event, forward the event like RenderMenuList.
1125         (WebKit::TestPopupMenuClient::itemIsEnabled): Change to return true or false according to disabled item or not.
1126         (WebKit::TestPopupMenuClient::setDisabledIndex): Set disabled index to simulate disabled item.
1127         (WebKit::TestPopupMenuClient::setFocusedNode): Set focused node to dispatch the event.
1128         (WebKit::SelectPopupMenuTest::SelectPopupMenuTest): Add baseURL.
1129         (WebKit::SelectPopupMenuTest::TearDown): Add UnregisterAllMockedURLs() call.
1130         (WebKit::SelectPopupMenuTest::registerMockedURLLoad): To simulate html load, call RegisterMockedURL().
1131         (WebKit::SelectPopupMenuTest::serveRequests): Call ServeAsynchronousMockedRequests().
1132         (WebKit::SelectPopupMenuTest::loadFrame): Simulate load frame with url string.
1133         (WebKit::TEST_F): Implement SelectItemEventFire, SelectItemKeyEvent, SelectItemRemoveSelectOnChange and SelectItemRemoveSelectOnChange.
1134         * tests/data/select_event.html: Added for SelectItemEventFire and SelectItemKeyEvent.
1135         * tests/data/select_event_remove_on_change.html: Added SelectItemRemoveSelectOnChange.
1136         * tests/data/select_event_remove_on_click.html: Added SelectItemRemoveSelectOnChange.
1137
1138 2011-06-01  Adrienne Walker  <enne@google.com>
1139
1140         Reviewed by James Robinson.
1141
1142         [chromium] Fix syncing of removed mask and replica layers
1143         https://bugs.webkit.org/show_bug.cgi?id=61895
1144
1145         * tests/TreeSynchronizerTest.cpp:
1146         (WebCore::TEST):
1147
1148 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1149
1150         Unreviewed, rolling out r87788.
1151         http://trac.webkit.org/changeset/87788
1152         https://bugs.webkit.org/show_bug.cgi?id=61856
1153
1154         breaks windows chromium canary (Requested by jknotten on
1155         #webkit).
1156
1157         * public/WebPageSerializer.h:
1158         * src/WebPageSerializer.cpp:
1159
1160 2011-06-01  Jay Civelli  <jcivelli@chromium.org>
1161
1162         Reviewed by Adam Barth.
1163
1164         Adding MHTML generation support to MHTMLArchive.
1165         https://bugs.webkit.org/show_bug.cgi?id=7169
1166
1167         * public/WebPageSerializer.h:
1168         * src/WebPageSerializer.cpp:
1169         (WebKit::WebPageSerializer::serializeToMHTML):
1170
1171 2011-06-01  Mikhail Naganov  <mnaganov@chromium.org>
1172
1173         Reviewed by Yury Semikhatsky.
1174
1175         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
1176         https://bugs.webkit.org/show_bug.cgi?id=61803
1177
1178         * WebKit.gyp:
1179         * scripts/generate_devtools_zip.py:
1180
1181 2011-06-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1182
1183         Unreviewed, rolling out r87781.
1184         http://trac.webkit.org/changeset/87781
1185         https://bugs.webkit.org/show_bug.cgi?id=61842
1186
1187         breaks chromium linux release (Requested by mnaganov on
1188         #webkit).
1189
1190         * WebKit.gyp:
1191         * scripts/generate_devtools_zip.py:
1192
1193 2011-05-31  Mikhail Naganov  <mnaganov@chromium.org>
1194
1195         Reviewed by Pavel Feldman.
1196
1197         Web Inspector [Chromium]: Put worker scripts into devtools_frontend.zip.
1198         https://bugs.webkit.org/show_bug.cgi?id=61803
1199
1200         * WebKit.gyp:
1201         * scripts/generate_devtools_zip.py:
1202
1203 2011-05-31  Kinuko Yasuda  <kinuko@chromium.org>
1204
1205         Reviewed by Kent Tamura.
1206
1207         [Chromium] webkitStorageInfo methods (for quota API) should not crash when error callback is not given.
1208         https://bugs.webkit.org/show_bug.cgi?id=61823
1209
1210         Fixed assertion on errorCallback parameter.
1211
1212         Test: storage/quotainfo-no-callbacks.html
1213
1214         * src/StorageInfoChromium.cpp:
1215         (WebCore::StorageInfo::queryUsageAndQuota):
1216         (WebCore::StorageInfo::requestQuota):
1217
1218 2011-05-31  Daniel Erat  <derat@chromium.org>
1219
1220         Reviewed by Tony Chang.
1221
1222         Make WebScreenInfoFactory return fresh screen dimensions.
1223         https://bugs.webkit.org/show_bug.cgi?id=61679
1224
1225         * public/x11/WebScreenInfoFactory.h:
1226         * src/x11/WebScreenInfoFactory.cpp:
1227         (WebKit::WebScreenInfoFactory::screenInfo):
1228
1229 2011-05-31  Cary Clark  <caryclark@google.com>
1230
1231         Reviewed by Eric Seidel.
1232
1233         Allow Chromium porting layer to use Skia on Mac.
1234         https://bugs.webkit.org/show_bug.cgi?id=61548
1235
1236         * public/WebCommon.h:
1237         Don't allow WebKit to use CG if it is already using Skia.
1238
1239         * src/PlatformBridge.cpp:
1240         (WebCore::PlatformBridge::paintScrollbarThumb):
1241         Allow scrollbar thumb draw to take WebCanvas.
1242
1243 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
1244
1245         Reviewed by Adam Barth.
1246
1247         Check access policy on all storage operations
1248         https://bugs.webkit.org/show_bug.cgi?id=61581
1249
1250         * src/StorageAreaProxy.cpp:
1251         (WebCore::StorageAreaProxy::length):
1252         (WebCore::StorageAreaProxy::key):
1253         (WebCore::StorageAreaProxy::getItem):
1254         (WebCore::StorageAreaProxy::setItem):
1255         (WebCore::StorageAreaProxy::removeItem):
1256         (WebCore::StorageAreaProxy::clear):
1257         (WebCore::StorageAreaProxy::contains):
1258         (WebCore::StorageAreaProxy::canAccessStorage):
1259         * src/StorageAreaProxy.h:
1260         * src/WebStorageAreaImpl.cpp:
1261         (WebKit::WebStorageAreaImpl::length):
1262         (WebKit::WebStorageAreaImpl::key):
1263         (WebKit::WebStorageAreaImpl::getItem):
1264
1265 2011-05-27  Jochen Eisinger  <jochen@chromium.org>
1266
1267         Reviewed by Darin Fisher.
1268
1269         [chromium] drop unused WebFrame parameter to WebStorageArea::setItem
1270         https://bugs.webkit.org/show_bug.cgi?id=61583
1271
1272         * public/WebStorageArea.h:
1273         * src/StorageAreaProxy.cpp:
1274         (WebCore::StorageAreaProxy::setItem):
1275         * src/WebStorageAreaImpl.cpp:
1276         (WebKit::WebStorageAreaImpl::setItem):
1277         * src/WebStorageAreaImpl.h:
1278
1279 2011-05-27  David Levin  <levin@chromium.org>
1280
1281         Reviewed by Darin Fisher.
1282
1283         Need a callback for when the preferred rendered size may have changed.
1284         https://bugs.webkit.org/show_bug.cgi?id=61309
1285
1286         * public/WebFrameClient.h:
1287         (WebKit::WebFrameClient::didUpdateLayout): Added stub.
1288         * src/ChromeClientImpl.cpp:
1289         (WebKit::ChromeClientImpl::layoutUpdated): Plumbed through the call to WebFrameClient::didUpdateLayout.
1290         * src/ChromeClientImpl.h: Added declaration.
1291
1292 2011-05-27  Shishir Agrawal  <shishir@chromium.org>
1293
1294         Reviewed by Tony Gentilcore.
1295
1296         Enable Page Visibility API in the chromium port.
1297         https://bugs.webkit.org/show_bug.cgi?id=61397
1298
1299         * features.gypi:
1300
1301 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
1302
1303         Reviewed by Adam Barth.
1304
1305         Fix worldID and destinationDomain argument names
1306         https://bugs.webkit.org/show_bug.cgi?id=61571
1307
1308         As part of working on r87423, I noticed a couple of inconsistencies in
1309         argument names:
1310         - We would use worldId in .h files but worldID in .cpp files.
1311           Standardize on the latter
1312         - SecurityOrigin::addOriginAccessWhitelistEntry would take a
1313           destinationDomains argument, even though the actual parameter was for
1314           a single domain (renamed to be singular).
1315
1316         * public/WebFrame.h:
1317         * src/WebFrameImpl.cpp:
1318         (WebKit::WebFrameImpl::executeScriptInIsolatedWorld):
1319         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
1320         * src/WebFrameImpl.h:
1321
1322 2011-05-26  Leandro Gracia Gil  <leandrogracia@chromium.org>
1323
1324         Reviewed by Dmitry Titov.
1325
1326         Add missing compile guards for WebWorkers in WebKit.
1327         https://bugs.webkit.org/show_bug.cgi?id=61536
1328
1329         * src/DatabaseObserver.cpp:
1330         (WebCore::DatabaseObserver::canEstablishDatabase):
1331         * src/LocalFileSystemChromium.cpp:
1332         (WebCore::openFileSystemHelper):
1333         * src/PlatformBridge.cpp:
1334         * src/WebFileSystemCallbacksImpl.cpp:
1335         (WebKit::WebFileSystemCallbacksImpl::didOpenFileSystem):
1336         * src/WorkerAsyncFileSystemChromium.cpp:
1337         * src/WorkerAsyncFileSystemChromium.h:
1338         * src/WorkerAsyncFileWriterChromium.cpp:
1339         * src/WorkerAsyncFileWriterChromium.h:
1340         * src/WorkerFileSystemCallbacksBridge.cpp:
1341         * src/WorkerFileSystemCallbacksBridge.h:
1342         * src/WorkerFileWriterCallbacksBridge.cpp:
1343         * src/WorkerFileWriterCallbacksBridge.h:
1344
1345 2011-05-26  Evan Martin  <evan@chromium.org>
1346
1347         Reviewed by Tony Chang.
1348
1349         [chromium] simplify TestNetscapePlugIn naming logic
1350         https://bugs.webkit.org/show_bug.cgi?id=61577
1351
1352         * WebKit.gyp: drop use of product_prefix, just use the name
1353         needed directly.
1354
1355 2011-05-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1356
1357         Unreviewed, rolling out r87444.
1358         http://trac.webkit.org/changeset/87444
1359         https://bugs.webkit.org/show_bug.cgi?id=61582
1360
1361         Layout test regressions in Chromium/WebKit: fast/css/first-
1362         letter-text-fragment-crash.html, fast/css/first-letter-
1363         visibility.html (Requested by aklein on #webkit).
1364
1365         * public/WebFrameClient.h:
1366         * src/ChromeClientImpl.cpp:
1367         * src/ChromeClientImpl.h:
1368
1369 2011-05-26  David Levin  <levin@chromium.org>
1370
1371         Reviewed by Darin Fisher.
1372
1373         Need a callback for when the preferred rendered size changed.
1374         https://bugs.webkit.org/show_bug.cgi?id=61309
1375
1376         * public/WebFrameClient.h
1377         (WebKit::WebFrameClient::didChangeContentsPreferredSize): Added stub.
1378         * src/ChromeClientImpl.h:
1379         (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added declaration.
1380         * src/ChromeClientImpl.cpp:
1381         (WebKit::ChromeClientImpl::contentsPreferredSizeChanged): Added call to WebFrameClient::didChangeContentsPreferredSize.
1382
1383 2011-05-26  Mihai Parparita  <mihaip@chromium.org>
1384
1385         Reviewed by Adam Barth.
1386
1387         Support cross-origin XMLHttpRequest in isolated worlds
1388         https://bugs.webkit.org/show_bug.cgi?id=59843
1389
1390         Expose setIsolatedWorldSecurityOrigin in the WebFrame API.
1391
1392         * public/WebFrame.h:
1393         * src/WebFrameImpl.cpp:
1394         (WebKit::WebFrameImpl::setIsolatedWorldSecurityOrigin):
1395         * src/WebFrameImpl.h:
1396
1397 2011-05-26  Michael Nordman  <michaeln@google.com>
1398
1399         Reviewed by Darin Fisher.
1400
1401         [Chromium] Use SecurityOrigin produced databaseIdentifier strings, instead of
1402         SecurityOrigin RefPtrs, as the top level key into the DatabaseTracker's
1403         collection of open databases. Otherwise we can fail to lookup databases when
1404         trying to forceably close them via  WebDatabase::closeDatabaseImmediately.
1405         https://bugs.webkit.org/show_bug.cgi?id=61417
1406
1407         * src/WebDatabase.cpp:
1408         (WebKit::WebDatabase::closeDatabaseImmediately):
1409
1410 2011-05-26  Sailesh Agrawal  <sail@chromium.org>
1411
1412         Reviewed by Tony Chang.
1413
1414         Expose willStartLiveResize and willEndLiveResize in WebWidget
1415         https://bugs.webkit.org/show_bug.cgi?id=60518
1416
1417         * public/WebWidget.h:
1418         * src/WebPopupMenuImpl.cpp:
1419         (WebKit::WebPopupMenuImpl::willStartLiveResize):
1420         (WebKit::WebPopupMenuImpl::willEndLiveResize):
1421         * src/WebPopupMenuImpl.h:
1422         * src/WebViewImpl.cpp:
1423         (WebKit::WebViewImpl::willStartLiveResize):
1424         (WebKit::WebViewImpl::willEndLiveResize):
1425         * src/WebViewImpl.h:
1426
1427 2011-05-25  Shishir Agrawal  <shishir@chromium.org>
1428
1429         Reviewed by Dimitri Glazkov.
1430
1431         Fix crash in Chromium memory test.
1432         https://bugs.webkit.org/show_bug.cgi?id=61451
1433
1434         * src/WebViewImpl.cpp:
1435         (WebKit::WebViewImpl::WebViewImpl):
1436
1437 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1438
1439         Unreviewed, rolling out r87333.
1440         http://trac.webkit.org/changeset/87333
1441         https://bugs.webkit.org/show_bug.cgi?id=61488
1442
1443         Breaks Chromium build due to pure virtual methods. (Requested
1444         by aklein on #webkit).
1445
1446         * public/WebWidget.h:
1447         * src/WebPopupMenuImpl.cpp:
1448         * src/WebPopupMenuImpl.h:
1449         * src/WebViewImpl.cpp:
1450         * src/WebViewImpl.h:
1451
1452 2011-05-25  Sailesh Agrawal  <sail@chromium.org>
1453
1454         Reviewed by Darin Fisher.
1455
1456         Expose willStartLiveResize and willEndLiveResize in WebWidget
1457         https://bugs.webkit.org/show_bug.cgi?id=60518
1458
1459         * public/WebWidget.h:
1460         * src/WebPopupMenuImpl.cpp:
1461         (WebKit::WebPopupMenuImpl::willStartLiveResize):
1462         (WebKit::WebPopupMenuImpl::willEndLiveResize):
1463         * src/WebPopupMenuImpl.h:
1464         * src/WebViewImpl.cpp:
1465         (WebKit::WebViewImpl::willStartLiveResize):
1466         (WebKit::WebViewImpl::willEndLiveResize):
1467         * src/WebViewImpl.h:
1468
1469 2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>
1470
1471         Unreviewed, rolling out r87257.
1472         http://trac.webkit.org/changeset/87257
1473         https://bugs.webkit.org/show_bug.cgi?id=61457
1474
1475         This broke layout tests, see bug 61431. (Requested by
1476         hwennborg on #webkit).
1477
1478         * public/WebIDBFactory.h:
1479         * src/AssertMatchingEnums.cpp:
1480         * src/IDBFactoryBackendProxy.cpp:
1481         * src/IDBFactoryBackendProxy.h:
1482         * src/WebIDBFactoryImpl.cpp:
1483         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1484         (WebKit::WebIDBFactoryImpl::open):
1485         * src/WebIDBFactoryImpl.h:
1486
1487 2011-05-24  Keishi Hattori  <keishi@webkit.org>
1488
1489         Reviewed by Kent Tamura.
1490
1491         Disable textfield implementation of <input type=color>. Add INPUT_COLOR feature flag. Add input color sanitizer.
1492         https://bugs.webkit.org/show_bug.cgi?id=61273
1493
1494         * features.gypi: Added INPUT_COLOR feature flag.
1495
1496 2011-05-24  Adam Barth  <abarth@webkit.org>
1497
1498         Reviewed by Eric Seidel.
1499
1500         Add FIXME comments about removing FrameLoader::isProcessingUserGesture
1501         https://bugs.webkit.org/show_bug.cgi?id=61395
1502
1503         * src/FrameLoaderClientImpl.cpp:
1504         (WebKit::FrameLoaderClientImpl::dispatchDidNavigateWithinPage):
1505         * src/WebFrameImpl.cpp:
1506         (WebKit::WebFrameImpl::isProcessingUserGesture):
1507
1508 2011-05-24  Greg Simon  <gregsimon@chromium.org>
1509
1510         Reviewed by Dimitri Glazkov.
1511
1512         Control Indexeddb backends from LayoutTestController
1513         https://bugs.webkit.org/show_bug.cgi?id=61000
1514
1515         * public/WebIDBFactory.h:
1516         (WebKit::WebIDBFactory::setEnableMigration):
1517         * src/AssertMatchingEnums.cpp:
1518         * src/IDBFactoryBackendProxy.cpp:
1519         (WebKit::IDBFactoryBackendProxy::setEnableMigration):
1520         * src/IDBFactoryBackendProxy.h:
1521         * src/WebIDBFactoryImpl.cpp:
1522         (WebKit::WebIDBFactory::setOverrideBackingStoreType):
1523         (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
1524         (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
1525         (WebKit::WebIDBFactoryImpl::open):
1526         (WebKit::WebIDBFactoryImpl::setEnableMigration):
1527         * src/WebIDBFactoryImpl.h:
1528
1529 2011-05-24  Jay Civelli  <jcivelli@chromium.org>
1530
1531         Reviewed by Adam Barth.
1532
1533         Adding MHTML reading support to WebCore.
1534         https://bugs.webkit.org/show_bug.cgi?id=7168
1535
1536        * features.gypi:
1537
1538 2011-05-24  Alok Priyadarshi  <alokp@chromium.org>
1539
1540         Reviewed by James Robinson.
1541
1542         Enable skia gpu rendering for content layers
1543         https://bugs.webkit.org/show_bug.cgi?id=56749
1544
1545         * src/WebViewImpl.cpp:
1546         (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
1547         (WebKit::WebViewImpl::reallocateRenderer):
1548
1549 2011-05-24  Mikhail Naganov  <mnaganov@chromium.org>
1550
1551         Reviewed by Yury Semikhatsky.
1552
1553         Web Inspector: Reorganize InspectorBackendDispatch code to eliminate duplication
1554         https://bugs.webkit.org/show_bug.cgi?id=61300
1555
1556         * src/WebDevToolsAgentImpl.cpp:
1557         (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
1558
1559 2011-05-23  Gavin Peters  <gavinp@chromium.org>
1560
1561         Reviewed by Adam Barth.
1562
1563         fix rel=prerender target types
1564         https://bugs.webkit.org/show_bug.cgi?id=61297
1565
1566         The original fix in https://bugs.webkit.org/show_bug.cgi?id=61079
1567         didn't properly map the target type, and didn't carry the target
1568         types through to chromium properly.  Fixed.
1569
1570         No new tests; it's very hard to catch these with a layout test, however
1571         all of the chromium Prerender browser tests will test this functionality
1572         when I land an upcoming chromium CL.
1573
1574         * public/WebURLRequest.h:
1575
1576 2011-05-23  Tony Chang  <tony@chromium.org>
1577
1578         Reviewed by James Robinson.
1579
1580         [chromium] Link tcmalloc to DRT so we can use the heap checker
1581         https://bugs.webkit.org/show_bug.cgi?id=61292
1582
1583         * WebKit.gyp:
1584
1585 2011-05-23  Adrienne Walker  <enne@google.com>
1586
1587         Reviewed by James Robinson.
1588
1589         [chromium] Fix division by zero in TilingData for boundary case texture sizes
1590         https://bugs.webkit.org/show_bug.cgi?id=61164
1591
1592         Add additional tests for small max texture sizes.
1593
1594         * tests/TilingDataTest.cpp:
1595         (WebCore::TEST):
1596
1597 2011-05-23  Ruben  <chromium@hybridsource.org>
1598
1599         Reviewed by Tony Chang.
1600
1601         Chromium gyp patch to use new POSIX defines toolkit_uses_gtk and os_posix
1602         https://bugs.webkit.org/show_bug.cgi?id=61219
1603
1604         * WebKit.gyp:
1605         * WebKit.gypi:
1606
1607 2011-05-23  Yury Semikhatsky  <yurys@chromium.org>
1608
1609         Reviewed by Pavel Feldman.
1610
1611         [Chromium] Web Inspector: provide initial implementation of worker inspector transport
1612         https://bugs.webkit.org/show_bug.cgi?id=60267
1613
1614         WebWorker and WebWorkerClient are extended with methods for passing
1615         DevTools messages between worker context inspector and page inspector.
1616
1617         * public/WebWorker.h:
1618         (WebKit::WebWorker::attachDevTools):
1619         (WebKit::WebWorker::detachDevTools):
1620         (WebKit::WebWorker::dispatchDevToolsMessage):
1621         * public/WebWorkerClient.h:
1622         (WebKit::WebWorkerClient::dispatchDevToolsMessage):
1623         * src/WebWorkerBase.cpp:
1624         (WebKit::WebWorkerBase::postMessageToPageInspector):
1625         (WebKit::WebWorkerBase::postMessageToPageInspectorTask):
1626         * src/WebWorkerBase.h:
1627         * src/WebWorkerClientImpl.cpp:
1628         (WebKit::WebWorkerClientImpl::WebWorkerClientImpl):
1629         (WebKit::WebWorkerClientImpl::connectToInspector):
1630         (WebKit::WebWorkerClientImpl::disconnectFromInspector):
1631         (WebKit::WebWorkerClientImpl::sendMessageToInspector):
1632         (WebKit::WebWorkerClientImpl::dispatchDevToolsMessage):
1633         * src/WebWorkerClientImpl.h:
1634         * src/WebWorkerImpl.cpp:
1635         (WebKit::WebWorkerImpl::startWorkerContext):
1636         (WebKit::connectToWorkerContextInspectorTask):
1637         (WebKit::WebWorkerImpl::attachDevTools):
1638         (WebKit::disconnectFromWorkerContextInspectorTask):
1639         (WebKit::WebWorkerImpl::detachDevTools):
1640         (WebKit::dispatchOnInspectorBackendTask):
1641         (WebKit::WebWorkerImpl::dispatchDevToolsMessage):
1642         * src/WebWorkerImpl.h:
1643
1644 2011-05-22  Greg Simon  <gregsimon@chromium.org>
1645
1646         Reviewed by Darin Fisher.
1647
1648         [chromium] Updating chromium DEPS
1649
1650         https://bugs.webkit.org/show_bug.cgi?id=61236
1651
1652         * DEPS:
1653
1654 2011-05-21  Jochen Eisinger  <jochen@chromium.org>
1655
1656         Reviewed by Darin Fisher.
1657
1658         [chromium] add extraData field to resource requests
1659         https://bugs.webkit.org/show_bug.cgi?id=61033
1660
1661         * WebKit.gypi:
1662         * public/WebURLRequest.h:
1663         (WebKit::WebURLRequest::ExtraData::~ExtraData):
1664         * src/WebURLRequest.cpp:
1665         (WebKit::WebURLRequest::extraData):
1666         (WebKit::WebURLRequest::setExtraData):
1667         * tests/WebURLRequestTest.cpp: Added.
1668         (WebKit::TestExtraData::TestExtraData):
1669         (WebKit::TestExtraData::~TestExtraData):
1670         (WebKit::TEST):
1671
1672 2011-05-20  Michael Nordman  <michaeln@google.com>
1673
1674         Reviewed by Darin Fisher.
1675
1676         Changes to allow the WebDatabase system to participate in Chrome's unified quota
1677         management system. Now that changes outside of the database system affect the space
1678         available to the database system, we need new ways of getting the limit to renderers.
1679
1680         Split WebDatabase::updateDatabaseSizeAndSpaceAvailable() into three methods.
1681         - WebDatabase::updateDatababaseSize()
1682         - WebDatabase::updateSpaceAvailable()
1683         - WebDatabase::resetSpaceAvailable()
1684         The WebDatabase methods are used to 'push' size and space available info into renderers.
1685         The space available can change independently of a database having changed size.
1686
1687         Also provide a means for the renderer to 'pull' the space available from the main
1688         process if that value has not been pushed into it.
1689         - WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin()
1690         - WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin()
1691
1692         https://bugs.webkit.org/show_bug.cgi?id=60985
1693
1694         * public/WebDatabase.h:
1695         * public/WebKitClient.h:
1696         (WebKit::WebKitClient::databaseGetSpaceAvailableForOrigin):
1697         * src/PlatformBridge.cpp:
1698         (WebCore::PlatformBridge::databaseGetSpaceAvailableForOrigin):
1699         * src/WebDatabase.cpp:
1700         (WebKit::WebDatabase::updateDatabaseSize):
1701         (WebKit::WebDatabase::updateSpaceAvailable):
1702         (WebKit::WebDatabase::resetSpaceAvailable):
1703
1704 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
1705
1706         Reviewed by Sam Weinig.
1707
1708         numberOfActiveAnimations() can include animations from documents in the page cache
1709         https://bugs.webkit.org/show_bug.cgi?id=53641
1710
1711         Pass the Frame's document as the one to count animations on.
1712
1713         * src/WebAnimationControllerImpl.cpp:
1714         (WebKit::WebAnimationControllerImpl::numberOfActiveAnimations):
1715
1716 2011-05-19  Evan Martin  <evan@chromium.org>
1717
1718         Reviewed by Tony Chang.
1719
1720         [chromium] remove <(library) variable
1721         https://bugs.webkit.org/show_bug.cgi?id=61158
1722
1723         This was for a build experiment; we can just use the correct value now.
1724
1725         * WebKit.gyp:
1726
1727 2011-05-20  Vitaly Repeshko  <vitalyr@chromium.org>
1728
1729         Unreviewed.
1730
1731         [chromium] Updating chromium DEPS.
1732
1733         * DEPS:
1734
1735 2011-05-19  Sheriff Bot  <webkit.review.bot@gmail.com>
1736
1737         Unreviewed, rolling out r86869, r86873, r86875, and r86877.
1738         http://trac.webkit.org/changeset/86869
1739         http://trac.webkit.org/changeset/86873
1740         http://trac.webkit.org/changeset/86875
1741         http://trac.webkit.org/changeset/86877
1742         https://bugs.webkit.org/show_bug.cgi?id=61139
1743
1744         broke builds and debug DRT (Requested by rniwa on #webkit).
1745
1746         * WebKit.gyp:
1747         * public/WebTestingSupport.h: Removed.
1748         * src/WebTestingSupport.cpp: Removed.
1749
1750 2011-05-18  Dimitri Glazkov  <dglazkov@chromium.org>
1751
1752         Reviewed by Darin Adler.
1753
1754         Add build logistics and plumbing for window.internals object.
1755         https://bugs.webkit.org/show_bug.cgi?id=60313
1756
1757         * WebKit.gyp: Added linking new webkit_test_support library.
1758         * public/WebTestingSupport.h: Added.
1759         * src/WebTestingSupport.cpp: Added.
1760
1761 2011-05-19  Kenichi Ishibashi  <bashi@chromium.org>
1762
1763         Reviewed by Kent Tamura.
1764
1765         [Chromium] IME candidate window appears wrong position in an iframe
1766         https://bugs.webkit.org/show_bug.cgi?id=61023
1767
1768         Always adjusts the range to window relative coordinates.
1769
1770         * src/WebFrameImpl.cpp:
1771         (WebKit::WebFrameImpl::firstRectForCharacterRange): Removed condition
1772         which excludes editable selectionRoot from adjusting.
1773
1774 2011-05-18  Nat Duca  <nduca@chromium.org>
1775
1776         Reviewed by James Robinson.
1777
1778         [chromium] Add histograms for paint times
1779         https://bugs.webkit.org/show_bug.cgi?id=61010
1780
1781         * src/WebViewImpl.cpp:
1782         (WebKit::WebViewImpl::animate):
1783         (WebKit::WebViewImpl::layout):
1784         (WebKit::WebViewImpl::paint):
1785         (WebKit::WebViewImplContentPainter::paint):
1786
1787 2011-05-17  MORITA Hajime  <morrita@google.com>
1788
1789         Reviewed by Tony Chang.
1790
1791         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
1792         https://bugs.webkit.org/show_bug.cgi?id=56814
1793
1794         Moved addMarker() implementation to
1795         WebCore::DocumentMarkerController::addTextMatchMarker().
1796         
1797         * src/WebFrameImpl.cpp:
1798         (WebKit::WebFrameImpl::addMarker):
1799
1800 2011-05-18  Alok Priyadarshi  <alokp@chromium.org> and Adrienne Walker  <enne@google.com>
1801
1802         Reviewed by James Robinson.
1803
1804         Split canvas from LayerTilerChromium
1805         https://bugs.webkit.org/show_bug.cgi?id=60719
1806
1807         * src/WebViewImpl.cpp:
1808
1809 2011-05-18  Brett Wilson  <brettw@chromium.org>
1810
1811         Reviewed by Adam Barth.
1812
1813         Don't create empty file objects if no download file path is specified.
1814         https://bugs.webkit.org/show_bug.cgi?id=60798
1815
1816         * src/WebURLResponse.cpp:
1817         (WebKit::WebURLResponse::setDownloadFilePath):
1818
1819 2011-05-17  Mikhail Naganov  <mnaganov@chromium.org>
1820
1821         Reviewed by Pavel Feldman.
1822
1823         Web Inspector: [Chromium] Enable detailed heap snapshots by default.
1824         https://bugs.webkit.org/show_bug.cgi?id=60286
1825
1826         * src/js/DevTools.js:
1827         ():
1828
1829 2011-05-17  Tao Bai  <michaelbai@chromium.org>
1830
1831         Reviewed by Darin Fisher.
1832
1833         Clear deprecated icon APIs from chromium port.
1834         https://bugs.webkit.org/show_bug.cgi?id=60989
1835
1836         * public/WebFrame.h: Removed faviconURL()
1837         * public/WebFrameClient.h: Removed didChangeIcons()
1838         * src/FrameLoaderClientImpl.cpp:
1839              Removed the code to support deprecated API
1840         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
1841         * src/WebFrameImpl.cpp: Removed faviconURL()
1842         * src/WebFrameImpl.h:  Removed faviconURL()
1843
1844 2011-05-17  Daniel Cheng  <dcheng@chromium.org>
1845
1846         Reviewed by Ryosuke Niwa.
1847
1848         [chromium] Clipboard policy callbacks from EditorClientImpl are reversed
1849         https://bugs.webkit.org/show_bug.cgi?id=60994
1850
1851         * src/EditorClientImpl.cpp:
1852         (WebKit::EditorClientImpl::canCopyCut):
1853         (WebKit::EditorClientImpl::canPaste):
1854
1855 2011-05-17  Andrew Wilson  <atwilson@chromium.org>
1856
1857         Unreviewed, rolling out r86647.
1858         http://trac.webkit.org/changeset/86647
1859         https://bugs.webkit.org/show_bug.cgi?id=56814
1860
1861         Broke tests downstream in Chromium
1862
1863         * src/WebFrameImpl.cpp:
1864         (WebKit::WebFrameImpl::addMarker):
1865
1866 2011-05-17  Yufeng Shen  <miletus@chromium.org>
1867
1868         Reviewed by Darin Fisher.
1869
1870         Make WebKit expose extra touch information
1871         https://bugs.webkit.org/show_bug.cgi?id=59030
1872
1873         * public/WebTouchPoint.h:
1874         (WebKit::WebTouchPoint::WebTouchPoint):
1875         * src/WebInputEventConversion.cpp:
1876         (WebKit::PlatformTouchPointBuilder::PlatformTouchPointBuilder):
1877
1878 2011-05-16  James Robinson  <jamesr@chromium.org>
1879
1880         Reviewed by Kenneth Russell.
1881         https://bugs.webkit.org/show_bug.cgi?id=58830
1882
1883         Add unit tests for the compositor's TreeSynchronizer.
1884
1885         * WebKit.gypi:
1886         * tests/TreeSynchronizerTest.cpp: Added.
1887         (WebCore::MockCCLayerImpl::create):
1888         (WebCore::MockCCLayerImpl::~MockCCLayerImpl):
1889         (WebCore::MockCCLayerImpl::setCCLayerDestructionList):
1890         (WebCore::MockCCLayerImpl::MockCCLayerImpl):
1891         (WebCore::MockLayerChromium::create):
1892         (WebCore::MockLayerChromium::~MockLayerChromium):
1893         (WebCore::MockLayerChromium::createCCLayerImpl):
1894         (WebCore::MockLayerChromium::pushPropertiesTo):
1895         (WebCore::MockLayerChromium::MockLayerChromium):
1896         (WebCore::expectTreesAreIdentical):
1897         (WebCore::TEST):
1898
1899 2011-05-16  MORITA Hajime  <morrita@google.com>
1900
1901         Reviewed by Tony Chang.
1902
1903         [Refactoring] Member variables of DocumentMarker should be encapsulated.        
1904         https://bugs.webkit.org/show_bug.cgi?id=56814
1905
1906         Moved addMarker() implementation to
1907         WebCore::DocumentMarkerController::addTextMatchMarker().
1908         
1909         * src/WebFrameImpl.cpp:
1910         (WebKit::WebFrameImpl::addMarker):
1911
1912 2011-05-16  Andrew Wilson  <atwilson@chromium.org>
1913
1914         Unreviewed, rolling out r86625.
1915         http://trac.webkit.org/changeset/86625
1916         https://bugs.webkit.org/show_bug.cgi?id=60719
1917
1918         Caused failed assertion on Chromium gpu canary bots
1919
1920         * src/WebViewImpl.cpp:
1921
1922 2011-05-16  Alok Priyadarshi  <alokp@chromium.org>
1923
1924         Reviewed by James Robinson.
1925
1926         Split canvas from LayerTilerChromium
1927         https://bugs.webkit.org/show_bug.cgi?id=60719
1928
1929         * src/WebViewImpl.cpp:
1930
1931 2011-05-13  Jon Lee  <jonlee@apple.com>
1932
1933         Reviewed by Simon Fraser.
1934
1935         Can't horizontally scroll iframes and overflow because wheel events are always accepted
1936         https://bugs.webkit.org/show_bug.cgi?id=60779
1937
1938         * src/ChromeClientImpl.h:
1939         (WebKit::ChromeClientImpl::shouldRubberBandInDirection): Default impl of new ChromeClient method
1940         (WebKit::ChromeClientImpl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
1941
1942 2011-05-13  Tao Bai  <michaelbai@chromium.org>
1943
1944         Reviewed by Darin Fisher.
1945
1946         Handle the touch icon.
1947         https://bugs.webkit.org/show_bug.cgi?id=60247
1948
1949         Added WebIconURL for the corresponding IconURL.
1950         Added method iconURLs() to specify the type of icon need to return.
1951         The favIconURL() is deprecated and will be removed later. 
1952
1953         * WebKit.gyp:
1954         * features.gypi:
1955         * public/WebFrame.h:
1956         * public/WebFrameClient.h:
1957         (WebKit::WebFrameClient::didChangeIcons):
1958         * public/WebIconURL.h: Added.
1959         (WebKit::WebIconURL::WebIconURL):
1960         (WebKit::WebIconURL::iconType):
1961         (WebKit::WebIconURL::iconURL):
1962         * src/AssertMatchingEnums.cpp:
1963         * src/FrameLoaderClientImpl.cpp:
1964         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
1965         * src/WebFrameImpl.cpp:
1966         (WebKit::WebFrameImpl::favIconURL):
1967         * src/WebFrameImpl.h:
1968
1969 2011-05-13  Sam Weinig  <sam@webkit.org>
1970
1971         Reviewed by Anders Carlsson.
1972
1973         Prune #includes from FrameView.h (Part 2)
1974         https://bugs.webkit.org/show_bug.cgi?id=60748
1975
1976         - Update files that were depending on FrameView.h #including Frame.h or
1977           Page.h.
1978
1979         * src/AutoFillPopupMenuClient.cpp:
1980         * src/PlatformBridge.cpp:
1981         * src/WebPopupMenuImpl.cpp:
1982
1983 2011-05-13  Brett Wilson  <brettw@chromium.org>
1984
1985         Reviewed by Adam Barth.
1986
1987         Don't destroy a null FcPattern when failing to do a FontConfig match.
1988         This crashes, and there's nothing FcDestroy could do with a null
1989         pointer even if it didn't crash.
1990         https://bugs.webkit.org/show_bug.cgi?id=60777
1991
1992         * src/gtk/WebFontInfo.cpp:
1993         (WebKit::WebFontInfo::renderStyleForStrike):
1994
1995 2011-05-11  Hans Wennborg  <hans@chromium.org>
1996
1997         Reviewed by Tony Gentilcore.
1998
1999         IndexedDB: Fix integer comparison bug in LevelDB coding routines
2000         https://bugs.webkit.org/show_bug.cgi?id=60623
2001
2002         Unit test for comparison of encoded keys.
2003
2004         * tests/IDBLevelDBCodingTest.cpp:
2005         (IDBLevelDBCoding::TEST):
2006
2007 2011-05-05  Hans Wennborg  <hans@chromium.org>
2008
2009         Reviewed by Steve Block.
2010
2011         IndexedDB: Transaction rollback prevented by open SQLite statement
2012         https://bugs.webkit.org/show_bug.cgi?id=60032
2013
2014         Implement two new methods in IDBTransactionBackendInterface.
2015
2016         * src/IDBTransactionBackendProxy.cpp:
2017         (WebKit::IDBTransactionBackendProxy::registerOpenCursor):
2018         (WebKit::IDBTransactionBackendProxy::unregisterOpenCursor):
2019         * src/IDBTransactionBackendProxy.h:
2020
2021 2011-05-13  Patrick Gansterer  <paroga@webkit.org>
2022
2023         Reviewed by Adam Barth.
2024
2025         Enable OwnPtr strict mode in MediaPlayer
2026         https://bugs.webkit.org/show_bug.cgi?id=59466
2027
2028         Let the CreateMediaEnginePlayer function return a PassOwnPtr instead of a raw pointer.
2029         Also fix the templete argument of OwnPtr for the m_private member variable.
2030
2031         * src/WebMediaPlayerClientImpl.cpp:
2032         (WebKit::WebMediaPlayerClientImpl::create):
2033         * src/WebMediaPlayerClientImpl.h:
2034
2035 2011-05-12  Adam Barth  <abarth@webkit.org>
2036
2037         Reviewed by Eric Seidel.
2038
2039         [Chromium] Add a WebSetting to control DNS prefetch
2040         https://bugs.webkit.org/show_bug.cgi?id=60736
2041
2042         DNS prefetch got disabled in Chrome accidentially in
2043         http://trac.webkit.org/changeset/74041.  This patch adds a WebSettings
2044         API so we can enable it again.
2045
2046         * public/WebSettings.h:
2047         * src/WebSettingsImpl.cpp:
2048         (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
2049         * src/WebSettingsImpl.h:
2050
2051 2011-05-11  John Abd-El-Malek  <jam@chromium.org>
2052
2053         Reviewed by James Robinson.
2054
2055         [chromium] Make openFileSystem check for permission first
2056         https://bugs.webkit.org/show_bug.cgi?id=60683
2057
2058         * public/WebCommonWorkerClient.h:
2059         (WebKit::WebCommonWorkerClient::allowFileSystem):
2060         * public/WebPermissionClient.h:
2061         (WebKit::WebPermissionClient::allowFileSystem):
2062         * src/LocalFileSystemChromium.cpp:
2063         (WebCore::openFileSystemNotAllowed):
2064         (WebCore::openFileSystemHelper):
2065         * src/WebWorkerBase.cpp:
2066         (WebKit::WebWorkerBase::allowFileSystem):
2067         * src/WebWorkerBase.h:
2068         * src/WebWorkerClientImpl.h:
2069         (WebKit::WebWorkerClientImpl::allowFileSystem):
2070
2071 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
2072
2073         Reviewed by Darin Adler.
2074
2075         String operator+ reallocates unnecessarily when concatting > 2 strings
2076         https://bugs.webkit.org/show_bug.cgi?id=58420
2077
2078         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
2079
2080         * src/WebAccessibilityObject.cpp:
2081         (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
2082         * src/WebHTTPLoadInfo.cpp:
2083         (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
2084         * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
2085         (IDBLevelDBCoding::TEST):
2086
2087 2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
2088
2089         Reviewed by Darin Adler.
2090
2091         Perform some forward declarations suggested by include-what-you-use
2092         https://bugs.webkit.org/show_bug.cgi?id=60545
2093
2094         * src/WebHistoryItem.cpp:
2095         * src/WebNotification.cpp:
2096         * src/WebTextCheckingCompletionImpl.cpp:
2097         * src/mac/WebSubstringUtil.mm:
2098
2099 2011-05-11  Levi Weintraub  <leviw@chromium.org>
2100
2101         Reviewed by Eric Seidel.
2102
2103         Rename Widget::pos()
2104         https://bugs.webkit.org/show_bug.cgi?id=60575
2105
2106         Renaming Widget::pos() to the more-descriptive location().
2107
2108         * src/WebInputEventConversion.cpp:
2109         (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
2110         (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
2111
2112 2011-05-11  Antoine Labour  <piman@chromium.org>
2113
2114         Reviewed by David Levin.
2115
2116         Don't buffer data for resources loaded by AssociatedURLLoader.
2117         https://bugs.webkit.org/show_bug.cgi?id=60656
2118
2119         * src/AssociatedURLLoader.cpp:
2120         (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
2121
2122 2011-05-11  Nat Duca  <nduca@chromium.org>
2123
2124         Reviewed by Kenneth Russell.
2125
2126         [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
2127         https://bugs.webkit.org/show_bug.cgi?id=60508
2128
2129         Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
2130
2131         * public/WebGraphicsContext3D.h:
2132         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
2133         * src/Extensions3DChromium.cpp:
2134         (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
2135         * src/GraphicsContext3DChromium.cpp:
2136         * src/GraphicsContext3DInternal.h:
2137         * src/WebViewImpl.cpp:
2138         (WebKit::WebViewImpl::animate):
2139
2140 2011-05-11  John Bauman  <jbauman@chromium.org>
2141
2142         Reviewed by Kenneth Russell.
2143
2144         Don't send zeros in TexImage if GL implementation handles that
2145         https://bugs.webkit.org/show_bug.cgi?id=60581
2146
2147         Chromium already handles zeroing textures upon creation, so don't
2148         bother zeroing them in WebKit, as that causes some unnecessary memcpys
2149         of zeros.
2150
2151         * src/GraphicsContext3DChromium.cpp:
2152         (WebCore::GraphicsContext3D::create):
2153
2154 2011-05-10  Kent Tamura  <tkent@chromium.org>
2155
2156         Reviewed by Hajime Morita.
2157
2158         [Chromium] Fix a bug of WebFrameImpl::forms()
2159         https://bugs.webkit.org/show_bug.cgi?id=60606
2160
2161         If document()->forms() contained non-HTML element, the second for
2162         loop didn't stop.
2163
2164         * src/WebFrameImpl.cpp:
2165         (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
2166
2167 2011-05-10  Ilya Tikhonovsky  <loislo@chromium.org>
2168
2169         Unreviewed buildfix for strict OwnPtr patch.
2170
2171         * src/PlatformBridge.cpp:
2172         (WebCore::PlatformBridge::loadPlatformAudioResource):
2173         (WebCore::PlatformBridge::decodeAudioFileData):
2174
2175 2011-05-06  Brett Wilson  <brettw@chromium.org>
2176
2177         Reviewed by Adam Barth.
2178
2179         Use a File object to store the downloaded file reference rather than
2180         just the path. This keeps the file and permissions in scope (using the
2181         already-existing blob system) so the browser won't delete the file
2182         when the load is complete. Instead, the file will be cleaned up when
2183         the request objects are deleted.
2184         https://bugs.webkit.org/show_bug.cgi?id=60281
2185
2186         * src/WebURLResponse.cpp:
2187         (WebKit::WebURLResponse::downloadFilePath):
2188         (WebKit::WebURLResponse::setDownloadFilePath):
2189
2190 2011-05-10  Mikhail Naganov  <mnaganov@chromium.org>
2191
2192         Reviewed by Yury Semikhatsky.
2193
2194         Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
2195         https://bugs.webkit.org/show_bug.cgi?id=60471
2196
2197         * src/js/Tests.js:
2198
2199 2011-05-10  Adam Barth  <abarth@webkit.org>
2200
2201         Attempt to fix the clang build.
2202
2203         * src/WebDevToolsAgentImpl.cpp:
2204
2205 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2206
2207         Unreviewed, rolling out r86091.
2208         http://trac.webkit.org/changeset/86091
2209         https://bugs.webkit.org/show_bug.cgi?id=60510
2210
2211         Broke Chromium win release build. (Requested by dave_levin on
2212         #webkit).
2213
2214         * WebKit.gyp:
2215         * features.gypi:
2216         * public/WebFrame.h:
2217         * public/WebFrameClient.h:
2218         (WebKit::WebFrameClient::didChangeIcons):
2219         * public/WebIconURL.h: Removed.
2220         * src/AssertMatchingEnums.cpp:
2221         * src/FrameLoaderClientImpl.cpp:
2222         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
2223         * src/WebFrameImpl.cpp:
2224         (WebKit::WebFrameImpl::favIconURL):
2225         * src/WebFrameImpl.h:
2226
2227 2011-05-09  Tao Bai  <michaelbai@chromium.org>
2228
2229         Reviewed by David Levin.
2230
2231         Handle the touch icon.
2232         https://bugs.webkit.org/show_bug.cgi?id=60247
2233
2234         Added WebIconURL for the corresponding IconURL.
2235         Added method iconURLs() to specify the type of icon need to return.
2236         The favIconURL() is deprecated.
2237
2238         * WebKit.gyp:
2239         * features.gypi:
2240         * public/WebFrame.h:
2241         * public/WebFrameClient.h:
2242         (WebKit::WebFrameClient::didChangeIcons):
2243         * public/WebIconURL.h: Added.
2244         (WebKit::WebIconURL::WebIconURL):
2245         * src/AssertMatchingEnums.cpp:
2246         * src/FrameLoaderClientImpl.cpp:
2247         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
2248         * src/WebFrameImpl.cpp:
2249         (WebKit::WebFrameImpl::favIconURL):
2250         * src/WebFrameImpl.h:
2251
2252 2011-05-09  Evan Martin  <evan@chromium.org>
2253
2254         Reviewed by Tony Chang.
2255
2256         [chromium] make DumpRenderTree build in components for linux
2257         https://bugs.webkit.org/show_bug.cgi?id=60491
2258
2259         * WebKit.gyp: move some code that was in a Windows-only block to be used
2260         on all platforms.
2261
2262 2011-05-09  Adam Barth  <abarth@webkit.org>
2263
2264         Reviewed by Tony Gentilcore.
2265
2266         Make Chromium build with strict PassOwnPtr
2267         https://bugs.webkit.org/show_bug.cgi?id=60461
2268
2269         Fixed many, many PassOwnPtr nits.
2270
2271         * src/EditorClientImpl.cpp:
2272         (WebKit::EditorClientImpl::autofill):
2273         * src/IDBDatabaseBackendProxy.cpp:
2274         (WebKit::IDBDatabaseBackendProxy::createObjectStore):
2275         (WebKit::IDBDatabaseBackendProxy::transaction):
2276         * src/IDBObjectStoreBackendProxy.cpp:
2277         (WebKit::IDBObjectStoreBackendProxy::createIndex):
2278         (WebKit::IDBObjectStoreBackendProxy::index):
2279         * src/IDBTransactionBackendProxy.cpp:
2280         (WebKit::IDBTransactionBackendProxy::objectStore):
2281         * src/PlatformMessagePortChannel.cpp:
2282         (WebCore::MessagePortChannel::create):
2283         (WebCore::PlatformMessagePortChannel::tryGetMessageFromRemote):
2284         * src/SharedWorkerRepository.cpp:
2285         (WebCore::SharedWorkerRepository::connect):
2286         * src/SocketStreamHandle.cpp:
2287         (WebCore::SocketStreamHandleInternal::create):
2288         * src/WebDevToolsAgentImpl.cpp:
2289         (WebKit::DebuggerTask::DebuggerTask):
2290         (WebKit::DebuggerTask::~DebuggerTask):
2291         (WebKit::DebuggerTask::run):
2292         (WebKit::WebDevToolsAgent::interruptAndDispatch):
2293         * src/WebDevToolsFrontendImpl.cpp:
2294         (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
2295         * src/WebIDBCallbacksImpl.cpp:
2296         (WebKit::WebIDBCallbacksImpl::onSuccess):
2297         * src/WebIDBCursorImpl.cpp:
2298         (WebKit::WebIDBCursorImpl::update):
2299         (WebKit::WebIDBCursorImpl::continueFunction):
2300         (WebKit::WebIDBCursorImpl::deleteFunction):
2301         * src/WebIDBDatabaseImpl.cpp:
2302         (WebKit::WebIDBDatabaseImpl::setVersion):
2303         (WebKit::WebIDBDatabaseImpl::open):
2304         * src/WebIDBFactoryImpl.cpp:
2305         (WebKit::WebIDBFactoryImpl::open):
2306         * src/WebIDBIndexImpl.cpp:
2307         (WebKit::WebIDBIndexImpl::openObjectCursor):
2308         (WebKit::WebIDBIndexImpl::openKeyCursor):
2309         (WebKit::WebIDBIndexImpl::getObject):
2310         (WebKit::WebIDBIndexImpl::getKey):
2311         * src/WebIDBObjectStoreImpl.cpp:
2312         (WebKit::WebIDBObjectStoreImpl::get):
2313         (WebKit::WebIDBObjectStoreImpl::put):
2314         (WebKit::WebIDBObjectStoreImpl::deleteFunction):
2315         (WebKit::WebIDBObjectStoreImpl::clear):
2316         (WebKit::WebIDBObjectStoreImpl::openCursor):
2317         * src/WebIDBTransactionImpl.cpp:
2318         (WebKit::WebIDBTransactionImpl::setCallbacks):
2319         * src/WebPluginContainerImpl.cpp:
2320         (WebKit::WebPluginContainerImpl::loadFrameRequest):
2321         * src/WebViewImpl.cpp:
2322         (WebKit::WebViewImpl::setDevToolsAgentClient):
2323         * src/WebWorkerClientImpl.cpp:
2324         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
2325         * src/WebWorkerImpl.cpp:
2326         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
2327         * src/WorkerFileWriterCallbacksBridge.cpp:
2328         (WebKit::WorkerFileWriterCallbacksBridge::initOnMainThread):
2329         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
2330         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
2331         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
2332
2333 2011-05-09  Shishir Agrawal  <shishir@chromium.org>
2334
2335         Reviewed by Tony Gentilcore.
2336
2337         Implement Page Visibility API.
2338         https://bugs.webkit.org/show_bug.cgi?id=54181
2339
2340         * WebKit.gyp:
2341         * public/WebPageVisibilityState.h: Added.
2342         * public/WebView.h:
2343         (WebKit::WebView::setVisibilityState):
2344         * public/WebViewClient.h:
2345         (WebKit::WebViewClient::visibilityState):
2346         * src/AssertMatchingEnums.cpp:
2347         * src/WebViewImpl.cpp:
2348         (WebKit::WebViewImpl::WebViewImpl):
2349         (WebKit::WebViewImpl::setVisibilityState):
2350         * src/WebViewImpl.h:
2351
2352 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2353
2354         Unreviewed, rolling out r85974.
2355         http://trac.webkit.org/changeset/85974
2356         https://bugs.webkit.org/show_bug.cgi?id=60444
2357
2358         broke browser tests (Requested by inferno-sec on #webkit).
2359
2360         * src/WebURLResponse.cpp:
2361         (WebKit::WebURLResponse::downloadFilePath):
2362         (WebKit::WebURLResponse::setDownloadFilePath):
2363
2364 2011-05-06  Kent Tamura  <tkent@chromium.org>
2365
2366         Reviewed by Ryosuke Niwa.
2367
2368         Eliminate WebCore/dom/InputElement.{cpp,h}
2369         https://bugs.webkit.org/show_bug.cgi?id=60262
2370
2371         * src/WebInputElement.cpp:
2372         (WebKit::WebInputElement::defaultMaxLength):
2373           Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
2374         (WebKit::toWebInputElement):
2375           Follow the return type change of Node::toInputElement().
2376
2377 2011-05-06  Justin Schuh  <jschuh@chromium.org>
2378
2379         Reviewed by Adam Barth.
2380
2381         [Chromium] Whitelist input events interpreted as user gestures
2382         https://bugs.webkit.org/show_bug.cgi?id=60213
2383
2384         * public/WebInputEvent.h:
2385         (WebKit::WebInputEvent::isUserGestureEventType):
2386         * src/WebViewImpl.cpp:
2387         (WebKit::WebViewImpl::handleInputEvent):
2388
2389 2011-05-06  Brett Wilson  <brettw@chromium.org>
2390
2391         Reviewed by Adam Barth.
2392
2393         Use a File object to store the downloaded file reference rather than
2394         just the path. This keeps the file and permissions in scope (using the
2395         already-existing blob system) so the browser won't delete the file
2396         when the load is complete. Instead, the file will be cleaned up when
2397         the request objects are deleted.
2398         https://bugs.webkit.org/show_bug.cgi?id=60281
2399
2400         * src/WebURLResponse.cpp:
2401         (WebKit::WebURLResponse::downloadFilePath):
2402         (WebKit::WebURLResponse::setDownloadFilePath):
2403
2404 2011-05-06  John Abd-El-Malek  <jam@chromium.org>
2405
2406         Reviewed by James Robinson.
2407
2408         [chromium]: Reland using WebPermissionClient for checking indexed db usage
2409         https://bugs.webkit.org/show_bug.cgi?id=60386
2410
2411         * public/WebPermissionClient.h:
2412         (WebKit::WebPermissionClient::allowIndexedDB):
2413         * src/IDBFactoryBackendProxy.cpp:
2414         (WebKit::IDBFactoryBackendProxy::open):
2415
2416 2011-05-06  Sheriff Bot  <webkit.review.bot@gmail.com>
2417
2418         Unreviewed, rolling out r85919.
2419         http://trac.webkit.org/changeset/85919
2420         https://bugs.webkit.org/show_bug.cgi?id=60378
2421
2422         broke chromium database tests (Requested by inferno-sec on
2423         #webkit).
2424
2425         * public/WebPermissionClient.h:
2426         * src/IDBFactoryBackendProxy.cpp:
2427         (WebKit::IDBFactoryBackendProxy::open):
2428
2429 2011-05-04  Philippe Normand  <pnormand@igalia.com>
2430
2431         Reviewed by Dimitri Glazkov.
2432
2433         Implement LayoutTestController::pseudoShadowId()
2434         https://bugs.webkit.org/show_bug.cgi?id=60034
2435
2436         * public/WebElement.h:
2437         * src/WebElement.cpp:
2438         (WebKit::WebElement::shadowPseudoId):
2439
2440 2011-05-05  John Abd-El-Malek  <jam@chromium.org>
2441
2442         Reviewed by James Robinson.
2443
2444         [chromium] Make IndexedDB code use WebPermissionClient API
2445         https://bugs.webkit.org/show_bug.cgi?id=60340
2446
2447         * public/WebPermissionClient.h:
2448         (WebKit::WebPermissionClient::allowIndexedDB):
2449         * src/IDBFactoryBackendProxy.cpp:
2450         (WebKit::IDBFactoryBackendProxy::open):
2451
2452 2011-05-05  Adam Barth  <abarth@webkit.org>
2453
2454         Roll Chromium DEPS.
2455
2456         * DEPS:
2457
2458 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
2459
2460         Reviewed by Eric Seidel.
2461
2462         Rename SelectionController to FrameSelection
2463         https://bugs.webkit.org/show_bug.cgi?id=60234
2464
2465         * src/WebFrameImpl.cpp:
2466         (WebKit::WebFrameImpl::selectWordAroundCaret):
2467         * src/WebViewImpl.cpp:
2468         (WebKit::WebViewImpl::textInputType):
2469         (WebKit::WebViewImpl::caretOrSelectionBounds):
2470         (WebKit::WebViewImpl::caretOrSelectionRange):
2471         (WebKit::WebViewImpl::clearFocusedNode):
2472
2473 2011-05-03  Hans Wennborg  <hans@chromium.org>
2474
2475         Reviewed by Steve Block.
2476
2477         IndexedDB: Unit tests for LevelDB key coding functions
2478         https://bugs.webkit.org/show_bug.cgi?id=59692
2479
2480         Add unit tests for the basic key coding functions used by the LevelDB back-end.
2481
2482         * WebKit.gypi:
2483         * tests/IDBLevelDBCodingTest.cpp: Added.
2484         (IDBLevelDBCoding::TEST):
2485
2486 2011-05-04  MORITA Hajime  <morrita@google.com>
2487
2488         Unreviewed unit test skip (startPostAndWaitOnCondition)
2489         which fails on Windows 7. See bug 60248 for tracking.
2490         
2491         * tests/CCThreadTest.cpp:
2492         (WebCore::TEST):
2493
2494 2011-05-04  Cris Neckar  <cdn@chromium.org>
2495
2496         Reviewed by Adam Barth.
2497
2498         Expose WebView directly through ChromeClient.
2499         https://bugs.webkit.org/show_bug.cgi?id=49902
2500
2501         * src/AutoFillPopupMenuClient.cpp:
2502         (WebKit::AutoFillPopupMenuClient::getWebView):
2503         * src/ChromeClientImpl.cpp:
2504         (WebKit::ChromeClientImpl::webView):
2505         * src/ChromeClientImpl.h:
2506         * src/GraphicsContext3DChromium.cpp:
2507         (WebCore::GraphicsContext3DInternal::initialize):
2508         * src/PlatformBridge.cpp:
2509         (WebCore::toWebWidgetClient):
2510         * src/StorageNamespaceProxy.cpp:
2511         (WebCore::StorageNamespace::sessionStorageNamespace):
2512         * src/WebViewImpl.cpp:
2513         (WebKit::WebViewImpl::fromPage):
2514
2515 2011-05-04  Nate Chapin  <japhet@chromium.org>
2516
2517         Reviewed by Mihai Parparita.
2518
2519         Ensure we don't overwrite user-specified scroll positions
2520         on same document HistoryItem navigations.
2521         https://bugs.webkit.org/show_bug.cgi?id=59877
2522
2523         * src/WebFrameImpl.cpp:
2524         (WebKit::WebFrameImpl::loadHistoryItem):
2525         (WebKit::WebFrameImpl::currentHistoryItem):
2526         (WebKit::WebFrameImpl::WebFrameImpl):
2527         * src/WebFrameImpl.h:
2528
2529 2011-05-04  Tao Bai  <michaelbai@chromium.org>
2530
2531         Reviewed by David Kilzer.
2532
2533         Populate touch-icon url to FrameLoaderClient
2534         https://bugs.webkit.org/show_bug.cgi?id=59143
2535
2536         Respected the change of FrameLoaderClient.
2537
2538         * src/FrameLoaderClientImpl.cpp:
2539         (WebKit::FrameLoaderClientImpl::dispatchDidChangeIcons):
2540         * src/FrameLoaderClientImpl.h:
2541
2542 2011-05-04  Jay Civelli  <jcivelli@chromium.org>
2543
2544         Reviewed by Ojan Vafai.
2545
2546         Send the char events to the select popup if one is showing to fix
2547         a bug were pressing a letter would not select the matching option.
2548         https://bugs.webkit.org/show_bug.cgi?id=47769
2549
2550         * src/WebViewImpl.cpp:
2551         (WebKit::WebViewImpl::keyEvent):
2552         (WebKit::WebViewImpl::charEvent):
2553         * src/WebViewImpl.h:
2554
2555 2011-05-03  Justin Novosad  <junov@chromium.org>
2556
2557         Reviewed by Kenneth Russell.
2558
2559         [Chromium] Make accelerated 2d canvas enabled by default with skia
2560         https://bugs.webkit.org/show_bug.cgi?id=59929
2561         Added new flag for enabling the legacy accelerated 2d canvas
2562         The flag is not yet functional with this change.
2563
2564         * public/WebSettings.h:
2565         * src/WebSettingsImpl.cpp:
2566         (WebKit::WebSettingsImpl::setLegacyAccelerated2dCanvasEnabled):
2567         * src/WebSettingsImpl.h:
2568
2569 2011-05-03  Alpha Lam  <hclam@chromium.org>
2570
2571         Not reviewed. Build fix.
2572
2573         More 0 to nullptr.
2574
2575         * src/FrameLoaderClientImpl.cpp:
2576         (WebKit::FrameLoaderClientImpl::pluginLoadObserver):
2577         * src/GraphicsContext3DChromium.cpp:
2578         (WebCore::GraphicsContext3D::~GraphicsContext3D):
2579         * src/WebAudioBus.cpp:
2580         (WebKit::WebAudioBus::release):
2581         * src/WebBlobData.cpp:
2582         (WebKit::WebBlobData::reset):
2583         * src/WebViewImpl.cpp:
2584         (WebKit::WebView::addUserScript):
2585         (WebKit::WebView::addUserStyleSheet):
2586
2587 2011-05-03  John Abd-El-Malek  <jam@chromium.org>
2588
2589         Reviewed by James Robinson.
2590
2591         [chromium] Go through WebPermissionClient for local storage access.  Also cleanup left over code from previous WebPermissionClient change.
2592         https://bugs.webkit.org/show_bug.cgi?id=60066
2593
2594         * public/WebFrameClient.h:
2595         * public/WebPermissionClient.h:
2596         (WebKit::WebPermissionClient::allowLocalStorage):
2597         * src/DatabaseObserver.cpp:
2598         (WebCore::DatabaseObserver::canEstablishDatabase):
2599         * src/FrameLoaderClientImpl.cpp:
2600         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
2601         (WebKit::FrameLoaderClientImpl::allowJavaScript):
2602         (WebKit::FrameLoaderClientImpl::allowPlugins):
2603         (WebKit::FrameLoaderClientImpl::allowImages):
2604         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
2605         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
2606         * src/StorageAreaProxy.cpp:
2607         (WebCore::StorageAreaProxy::setItem):
2608
2609 2011-05-03  Tony Chang  <tony@chromium.org>
2610
2611         Unreviewed, rolling the version of chromium to r83922.
2612
2613         * DEPS:
2614
2615 2011-05-03  Julien Chaffraix  <jchaffraix@codeaurora.org>
2616
2617         Reviewed by Dimitri Glazkov.
2618
2619         Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
2620         https://bugs.webkit.org/show_bug.cgi?id=58703
2621
2622         * src/WebElement.cpp: Added #include for ShadowRoot.h.
2623
2624 2011-05-02  Adam Klein  <adamk@chromium.org>
2625
2626         Reviewed by Tony Chang.
2627
2628         Roll chromium DEPS to r83722, add new crypto directory to DEPS
2629         https://bugs.webkit.org/show_bug.cgi?id=59992
2630
2631         * DEPS:
2632
2633 2011-05-02  Adam Roben  <aroben@apple.com>
2634
2635         Take advantage of implicit conversion from nullptr_t to PassOwnPtr
2636
2637         Fixes <http://webkit.org/b/59964> Implicit conversion from std::nullptr_t to PassOwnPtr
2638         doesn't work, but should
2639
2640         Reviewed by Adam Barth.
2641
2642         * src/WebMediaPlayerClientImpl.cpp:
2643
2644 2011-05-03  Pavel Feldman  <pfeldman@google.com>
2645
2646         Not reviewed: re-applied r85589.
2647
2648         * src/js/DevTools.js:
2649         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
2650
2651 2011-05-03  Pavel Feldman  <pfeldman@google.com>
2652
2653         Reviewed by Yury Semikhatsky.
2654
2655         Web Inspector: [remote debugging] use document.title to set window name.
2656         https://bugs.webkit.org/show_bug.cgi?id=60012
2657
2658         * src/js/DevTools.js:
2659         (WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
2660
2661 2011-05-02  Alok Priyadarshi  <alokp@chromium.org>
2662
2663         Reviewed by Dimitri Glazkov.
2664
2665         Chromium windows build is broken due to r85395
2666         https://bugs.webkit.org/show_bug.cgi?id=59945
2667         
2668         Include SecurityOrigin.h in IDBFactoryBackendProxy.cpp
2669
2670         * src/IDBFactoryBackendProxy.cpp:
2671
2672 2011-04-30  Mihai Parparita  <mihaip@chromium.org>
2673
2674         Reviewed by Eric Seidel.
2675
2676         V8Proxy.h shouldn't include SecurityOrigin.h
2677         https://bugs.webkit.org/show_bug.cgi?id=59859
2678
2679         Add SecurityOrigin.h includes to places that were relying on transitive
2680         includes.
2681
2682         * src/ApplicationCacheHost.cpp:
2683         * src/WebGeolocationPermissionRequest.cpp:
2684
2685 2011-04-29  Chris Evans  <cevans@chromium.org>
2686
2687         Reviewed by Adam Barth.
2688
2689         Add WebCore::Setting to block displaying and/or running insecure content on secure pages
2690         https://bugs.webkit.org/show_bug.cgi?id=58378
2691
2692         * public/WebSettings.h:
2693         * src/WebSettingsImpl.cpp:
2694         (WebKit::WebSettingsImpl::setAllowDisplayOfInsecureContent):
2695         (WebKit::WebSettingsImpl::setAllowRunningOfInsecureContent):
2696         * src/WebSettingsImpl.h:
2697         Simple plumbing for the new boolean settings.
2698
2699 2011-04-29  Kenneth Russell  <kbr@google.com>
2700
2701         Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.
2702
2703         * WebKit.gyp:
2704
2705 2011-04-28  Evan Martin  <evan@chromium.org>
2706
2707         Reviewed by Tony Chang.
2708
2709         [chromium] support components build on Linux
2710         https://bugs.webkit.org/show_bug.cgi?id=59748
2711
2712         * WebKit.gyp: adjust tests to not be Windows-specific.
2713         * public/WebCommon.h: add #defines to support Linux.
2714         * public/linux/WebFontRenderStyle.h: expose Linux-specific API.
2715         * tests/RunAllTests.cpp: adjust ifdefs to not be Windows-specific.
2716
2717 2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>
2718
2719         Reviewed by Pavel Feldman.
2720
2721         Chromium DevTools: Fix network panel timing/size/headers tests.
2722         https://bugs.webkit.org/show_bug.cgi?id=59696
2723
2724         * src/js/Tests.js:
2725         (.TestSuite.prototype.testNetworkSize.finishResource):
2726         (.TestSuite.prototype.testNetworkSyncSize.finishResource):
2727         (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
2728         (.TestSuite.prototype.testNetworkTiming.finishResource):
2729
2730 2011-04-29  Pavel Feldman  <pfeldman@google.com>
2731
2732         Reviewed by Yury Semikhatsky.
2733
2734         Web Inspector: add "open link in new tab" action into the network and resources panels.
2735         https://bugs.webkit.org/show_bug.cgi?id=59788
2736
2737         This change also distinguishes context menu items case between platforms.
2738
2739         * src/js/DevTools.js:
2740
2741 2011-04-28  Nat Duca  <nduca@chromium.org>
2742
2743         Reviewed by Kenneth Russell.
2744
2745         [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
2746         https://bugs.webkit.org/show_bug.cgi?id=59626
2747
2748         * public/WebGraphicsContext3D.h:
2749         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
2750         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
2751         * src/Extensions3DChromium.cpp:
2752         (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
2753         * src/GraphicsContext3DChromium.cpp:
2754         (WebCore::SwapBuffersCompleteCallbackAdapter::~SwapBuffersCompleteCallbackAdapter):
2755         (WebCore::SwapBuffersCompleteCallbackAdapter::SwapBuffersCompleteCallbackAdapter):
2756         (WebCore::SwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
2757         (WebCore::SwapBuffersCompleteCallbackAdapter::create):
2758         (WebCore::GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM):
2759         * src/GraphicsContext3DInternal.h:
2760         * src/WebViewImpl.cpp:
2761
2762 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
2763
2764         Reviewed by Tony Chang.
2765
2766         [chromium] Fix silly bug with WebPermissionClient
2767         https://bugs.webkit.org/show_bug.cgi?id=59769
2768
2769         * src/FrameLoaderClientImpl.cpp:
2770         (WebKit::FrameLoaderClientImpl::allowJavaScript):
2771         (WebKit::FrameLoaderClientImpl::allowPlugins):
2772         (WebKit::FrameLoaderClientImpl::allowImages):
2773
2774 2011-04-28  Jay Civelli  <jcivelli@chromium.org>
2775
2776         Reviewed by Adam Barth.
2777
2778         Introducing a new API to serialize a WebView back to HTML.
2779         https://bugs.webkit.org/show_bug.cgi?id=58947
2780
2781         * WebKit.gyp:
2782         * public/WebPageSerializer.h:
2783         * src/WebPageSerializer.cpp:
2784         (WebKit::WebPageSerializer::serialize):
2785         * tests/WebPageNewSerializerTest.cpp: Added.
2786         * tests/data/pageserializer: Added.
2787         * tests/data/pageserializer/blank_frames.html: Added.
2788         * tests/data/pageserializer/blue_background.png: Added.
2789         * tests/data/pageserializer/css_test_page.html: Added.
2790         * tests/data/pageserializer/green_background.png: Added.
2791         * tests/data/pageserializer/iframe.html: Added.
2792         * tests/data/pageserializer/iframe2.html: Added.
2793         * tests/data/pageserializer/import_style_from_link.css: Added.
2794         * tests/data/pageserializer/import_styles.css: Added.
2795         * tests/data/pageserializer/link_styles.css: Added.
2796         * tests/data/pageserializer/ol-dot.png: Added.
2797         * tests/data/pageserializer/orange_background.png: Added.
2798         * tests/data/pageserializer/purple_background.png: Added.
2799         * tests/data/pageserializer/red_background.png: Added.
2800         * tests/data/pageserializer/simple.xhtml: Added.
2801         * tests/data/pageserializer/top_frame.html: Added.
2802         * tests/data/pageserializer/ul-dot.png: Added.
2803         * tests/data/pageserializer/yellow_background.png: Added.
2804
2805 2011-04-28  John Abd-El-Malek  <jam@chromium.org>
2806
2807         Reviewed by Darin Fisher.
2808
2809         [chromium] Add a WebPermissionClient to be used for checking permissions of features
2810         https://bugs.webkit.org/show_bug.cgi?id=59720
2811
2812         * public/WebFrameClient.h:
2813         (WebKit::WebFrameClient::allowPlugins):
2814         (WebKit::WebFrameClient::didNotAllowPlugins):
2815         (WebKit::WebFrameClient::allowImages):
2816         (WebKit::WebFrameClient::allowScript):
2817         (WebKit::WebFrameClient::allowDatabase):
2818         (WebKit::WebFrameClient::didNotAllowScript):
2819         * public/WebPermissionClient.h: Added.
2820         (WebKit::WebPermissionClient::allowDatabase):
2821         (WebKit::WebPermissionClient::allowImages):
2822         (WebKit::WebPermissionClient::allowPlugins):
2823         (WebKit::WebPermissionClient::allowScript):
2824         (WebKit::WebPermissionClient::allowScriptExtension):
2825         (WebKit::WebPermissionClient::allowReadFromClipboard):
2826         (WebKit::WebPermissionClient::allowWriteToClipboard):
2827         (WebKit::WebPermissionClient::didNotAllowPlugins):
2828         (WebKit::WebPermissionClient::didNotAllowScript):
2829         (WebKit::WebPermissionClient::~WebPermissionClient):
2830         * public/WebView.h:
2831         * public/WebViewClient.h:
2832         (WebKit::WebViewClient::didEndEditing):
2833         * src/DatabaseObserver.cpp:
2834         (WebCore::DatabaseObserver::canEstablishDatabase):
2835         * src/EditorClientImpl.cpp:
2836         (WebKit::EditorClientImpl::toggleContinuousSpellChecking):
2837         (WebKit::EditorClientImpl::canCopyCut):
2838         (WebKit::EditorClientImpl::canPaste):
2839         * src/FrameLoaderClientImpl.cpp:
2840         (WebKit::FrameLoaderClientImpl::allowScriptExtension):
2841         (WebKit::FrameLoaderClientImpl::allowJavaScript):
2842         (WebKit::FrameLoaderClientImpl::allowPlugins):
2843         (WebKit::FrameLoaderClientImpl::allowImages):
2844         (WebKit::FrameLoaderClientImpl::didNotAllowScript):
2845         (WebKit::FrameLoaderClientImpl::didNotAllowPlugins):
2846         * src/WebFrameImpl.cpp:
2847         (WebKit::WebFrameImpl::enableContinuousSpellChecking):
2848         * src/WebViewImpl.cpp:
2849         (WebKit::WebViewImpl::setAutoFillClient):
2850         (WebKit::WebViewImpl::setPermissionClient):
2851         (WebKit::WebViewImpl::WebViewImpl):
2852         * src/WebViewImpl.h:
2853         (WebKit::WebViewImpl::permissionClient):
2854
2855 2011-04-28  Kenneth Russell  <kbr@google.com>
2856
2857         Unreviewed fix for Windows multi-DLL build.
2858
2859         * WebKit.gyp:
2860
2861 2011-04-27  Dmitry Lomov  <dslomov@google.com>
2862
2863         Reviewed by David Levin.
2864         
2865         CrossThreadCopier should not have a default specialization for raw pointers
2866         https://bugs.webkit.org/show_bug.cgi?id=59234
2867         Removed the ablity to pass raw pointers cross-thread
2868         Added and applied annotations for doing that
2869
2870         * src/WebSharedWorkerImpl.cpp:
2871         (WebKit::WebSharedWorkerImpl::connect):
2872         (WebKit::WebSharedWorkerImpl::connectTask):
2873         * src/WebSharedWorkerImpl.h:
2874         * src/WebWorkerBase.cpp:
2875         (WebKit::WebWorkerBase::postMessageToWorkerObject):
2876         (WebKit::WebWorkerBase::postExceptionToWorkerObject):
2877         (WebKit::WebWorkerBase::postConsoleMessageToWorkerObject):
2878         (WebKit::WebWorkerBase::confirmMessageFromWorkerObject):
2879         (WebKit::WebWorkerBase::reportPendingActivity):
2880         (WebKit::WebWorkerBase::workerContextClosed):
2881         (WebKit::WebWorkerBase::workerContextDestroyed):
2882         * src/WebWorkerClientImpl.cpp:
2883         (WebKit::WebWorkerClientImpl::startWorkerContext):
2884         (WebKit::WebWorkerClientImpl::terminateWorkerContext):
2885         (WebKit::WebWorkerClientImpl::postMessageToWorkerContext):
2886         (WebKit::WebWorkerClientImpl::workerObjectDestroyed):
2887         (WebKit::WebWorkerClientImpl::postMessageToWorkerObject):
2888         (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
2889         (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
2890         (WebKit::WebWorkerClientImpl::confirmMessageFromWorkerObject):
2891         (WebKit::WebWorkerClientImpl::reportPendingActivity):
2892         * src/WebWorkerImpl.cpp:
2893         (WebKit::WebWorkerImpl::postMessageToWorkerContext):
2894         * src/WorkerFileSystemCallbacksBridge.cpp:
2895         (WebKit::WorkerFileSystemCallbacksBridge::postOpenFileSystemToMainThread):
2896         (WebKit::WorkerFileSystemCallbacksBridge::postMoveToMainThread):
2897         (WebKit::WorkerFileSystemCallbacksBridge::postCopyToMainThread):
2898         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveToMainThread):
2899         (WebKit::WorkerFileSystemCallbacksBridge::postRemoveRecursivelyToMainThread):
2900         (WebKit::WorkerFileSystemCallbacksBridge::postReadMetadataToMainThread):
2901         (WebKit::WorkerFileSystemCallbacksBridge::postCreateFileToMainThread):
2902         (WebKit::WorkerFileSystemCallbacksBridge::postCreateDirectoryToMainThread):
2903         (WebKit::WorkerFileSystemCallbacksBridge::postFileExistsToMainThread):
2904         (WebKit::WorkerFileSystemCallbacksBridge::postDirectoryExistsToMainThread):
2905         (WebKit::WorkerFileSystemCallbacksBridge::postReadDirectoryToMainThread):
2906         (WebKit::WorkerFileSystemCallbacksBridge::didFailOnMainThread):
2907         (WebKit::WorkerFileSystemCallbacksBridge::didOpenFileSystemOnMainThread):
2908         (WebKit::WorkerFileSystemCallbacksBridge::didSucceedOnMainThread):
2909         (WebKit::WorkerFileSystemCallbacksBridge::didReadMetadataOnMainThread):
2910         (WebKit::WorkerFileSystemCallbacksBridge::didReadDirectoryOnMainThread):
2911         * src/WorkerFileWriterCallbacksBridge.cpp:
2912         (WebKit::WorkerFileWriterCallbacksBridge::postWriteToMainThread):
2913         (WebKit::WorkerFileWriterCallbacksBridge::postTruncateToMainThread):
2914         (WebKit::WorkerFileWriterCallbacksBridge::postAbortToMainThread):
2915         (WebKit::WorkerFileWriterCallbacksBridge::didWrite):
2916         (WebKit::WorkerFileWriterCallbacksBridge::didFail):
2917         (WebKit::WorkerFileWriterCallbacksBridge::didTruncate):
2918         (WebKit::WorkerFileWriterCallbacksBridge::postInitToMainThread):
2919         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToMainThread):
2920         (WebKit::WorkerFileWriterCallbacksBridge::dispatchTaskToWorkerThread):
2921         * tests/CCThreadTest.cpp:
2922         (WebCore::TEST):
2923
2924 2011-04-27  James Robinson  <jamesr@chromium.org>
2925
2926         Reviewed by Kenneth Russell.
2927
2928         [chromium] Ensure compositing layers are up to date before entering doComposite
2929         https://bugs.webkit.org/show_bug.cgi?id=59159
2930
2931         Explicitly update and sync the compositing layer data structures for all frames in the tree before entering the
2932         composite operation so that lazily updated state doesn't mutate the GraphicsLayer tree while compositing.
2933
2934         * src/WebViewImpl.cpp:
2935         (WebKit::WebViewImpl::composite):
2936
2937 2011-04-27  James Robinson  <jamesr@chromium.org>
2938
2939         Reviewed by Adam Barth.
2940
2941         Fix OwnPtr strict issues in chromium linux build
2942         https://bugs.webkit.org/show_bug.cgi?id=59664
2943
2944         * src/WebImageDecoder.cpp:
2945         (WebKit::WebImageDecoder::getFrameAtIndex):
2946         * src/WebImageSkia.cpp:
2947         (WebKit::WebImage::fromData):
2948
2949 2011-04-27  Adam Barth  <abarth@webkit.org>
2950
2951         Reviewed by David Levin.
2952
2953         Make GraphicsContext3DChromium play nice with strict OwnPtrs
2954         https://bugs.webkit.org/show_bug.cgi?id=59659
2955
2956         Attempt #2.  Hopefully this time I won't make everything crash.
2957
2958         * src/GraphicsContext3DChromium.cpp:
2959         (WebCore::GraphicsContext3DInternal::initialize):
2960
2961 2011-04-27  Dirk Pranke  <dpranke@chromium.org>
2962
2963         Reviewed by Darin Fisher.
2964
2965         remove unneeded TestWebWidget class
2966         https://bugs.webkit.org/show_bug.cgi?id=59573
2967
2968         * tests/PopupMenuTest.cpp:
2969
2970 2011-04-27  Tony Chang  <tony@chromium.org>
2971
2972         Reviewed by Ojan Vafai.
2973
2974         [chromium] add a build target to make a zip file with the inspector debug files
2975         https://bugs.webkit.org/show_bug.cgi?id=56656
2976
2977         * WebKit.gyp: Add target
2978         * scripts/concatenate_css_files.py: Pass in a string of html rather
2979             than a filename
2980         * scripts/concatenate_js_files.py: Same as above
2981         * scripts/generate_devtools_html.py: Refactor main into a helper function
2982         * scripts/generate_devtools_zip.py: Added.
2983
2984 2011-04-27  Mihai Parparita  <mihaip@chromium.org>
2985
2986         Reviewed by Eric Seidel.
2987
2988         Frame.h shouldn't include Document.h
2989         https://bugs.webkit.org/show_bug.cgi?id=59560
2990         
2991         Add Document.h #includes for files that were relying on transitive
2992         #includes via Frame.h.
2993
2994         * src/LocalFileSystemChromium.cpp:
2995         * src/StorageEventDispatcherImpl.cpp:
2996         * src/WebFrameImpl.h:
2997         * src/WebWorkerBase.cpp:
2998
2999 2011-04-26  Jay Civelli  <jcivelli@chromium.org>
3000
3001         Reviewed by Eric Seidel.
3002
3003         Typedefing the shared timer function.
3004         https://bugs.webkit.org/show_bug.cgi?id=59564
3005
3006         * public/WebKitClient.h:
3007         (WebKit::WebKitClient::setSharedTimerFiredFunction):
3008
3009 2011-04-26  Dirk Pranke  <dpranke@chromium.org>
3010
3011         Unreviewed, rolling out r84982.
3012         http://trac.webkit.org/changeset/84982
3013         https://bugs.webkit.org/show_bug.cgi?id=59558
3014
3015         re-land r84951
3016
3017         * WebKit.gyp:
3018         * public/WebFrame.h:
3019         * public/WebWidget.h:
3020         * public/mac/WebSubstringUtil.h: Added.
3021         * src/WebFrameImpl.cpp:
3022         (WebKit::WebFrameImpl::firstRectForCharacterRange):
3023         (WebKit::WebFrameImpl::characterIndexForPoint):
3024         * src/WebFrameImpl.h:
3025         * src/WebPopupMenuImpl.cpp:
3026         (WebKit::WebPopupMenuImpl::compositionRange):
3027         (WebKit::WebPopupMenuImpl::caretOrSelectionRange):
3028         * src/WebPopupMenuImpl.h:
3029         * src/WebViewImpl.cpp:
3030         (WebKit::WebViewImpl::compositionRange):
3031         (WebKit::WebViewImpl::caretOrSelectionRange):
3032         * src/WebViewImpl.h:
3033         * src/mac/WebSubstringUtil.mm: Added.
3034         (WebKit::WebSubstringUtil::attributedSubstringInRange):
3035
3036 2011-04-26  Sam Weinig  <sam@webkit.org>
3037
3038         Reviewed by David Hyatt.
3039
3040         Remove Datagrid from the tree
3041         https://bugs.webkit.org/show_bug.cgi?id=59543
3042
3043         * features.gypi:
3044         Remove feature.
3045
3046 2011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3047
3048         Unreviewed, rolling out r84951.
3049         http://trac.webkit.org/changeset/84951
3050         https://bugs.webkit.org/show_bug.cgi?id=59558
3051
3052         "breaks chromium compile" (Requested by dpranke on #webkit).
3053
3054         * WebKit.gyp:
3055         * public/WebFrame.h:
3056         * public/WebWidget.h:
3057         * public/mac/WebSubstringUtil.h: Removed.
3058         * src/WebFrameImpl.cpp:
3059         (WebKit::WebFrameImpl::firstRectForCharacterRange):
3060         * src/WebFrameImpl.h:
3061         * src/WebPopupMenuImpl.cpp:
3062         * src/WebPopupMenuImpl.h:
3063         * src/WebViewImpl.cpp:
3064         * src/WebViewImpl.h:
3065         * src/mac/WebSubstringUtil.mm: Removed.
3066
3067 2011-04-26  Daniel Cheng  <dcheng@chromium.org>
3068
3069         Reviewed by Eric Seidel.
3070
3071         [chromium] Implement EditorClient::canCopyCut and EditorClient::canPaste
3072         https://bugs.webkit.org/show_bug.cgi?id=59264
3073
3074         * public/WebViewClient.h:
3075         (WebKit::WebViewClient::canTriggerClipboardRead):
3076         (WebKit::WebViewClient::canTriggerClipboardWrite):
3077         * src/EditorClientImpl.cpp:
3078         (WebKit::EditorClientImpl::canCopyCut):
3079         (WebKit::EditorClientImpl::canPaste):
3080
3081 2011-04-26  Evan Martin  <evan@chromium.org>
3082
3083         Unreviewed, Chrome/Mac build fix.
3084
3085         * WebKit.gypi: Remove extra file.  (I removed a subtraction, but
3086         forgot to remove the corresponding addition that the subtraction
3087         was counteracting.)
3088
3089 2011-04-26  Evan Martin  <evan@chromium.org>
3090
3091         Reviewed by Tony Chang.
3092
3093         [chromium] refactor duplicated list of test source files
3094         https://bugs.webkit.org/show_bug.cgi?id=59478
3095
3096         The platform-specific unit test files were listed twice in
3097         WebKit.gyp: once for the components build, once for the normal
3098         build.  Refactor this into the unified webkit_unittest_files
3099         variable.  (It appears the omission of WebPageSerializerTest
3100         in one instance was an oversight.)
3101
3102         * WebKit.gyp:
3103         * WebKit.gypi:
3104
3105 2011-04-26  Robert Sesek  <rsesek@chromium.org>
3106
3107         Reviewed by Dimitri Glazkov.
3108
3109         [Chromium] Implement WebKit methods to assist with Cocoa NSTextInput implementation
3110         https://bugs.webkit.org/show_bug.cgi?id=54969
3111
3112         * WebKit.gyp:
3113         * public/WebFrame.h:
3114         * public/WebWidget.h:
3115         * public/mac/WebSubstringUtil.h: Added.
3116         * src/WebFrameImpl.cpp:
3117         (WebKit::WebFrameImpl::firstRectForCharacterRange): Return the result rect in window coordinates
3118         (WebKit::WebFrameImpl::characterIndexForPoint): New method on WebFrame
3119         * src/WebFrameImpl.h:
3120         * src/WebPopupMenuImpl.cpp:
3121         (WebKit::WebPopupMenuImpl::compositionRange): New method on WebWidget; empty impl
3122         (WebKit::WebPopupMenuImpl::caretOrSelectionRange): New method on WebWidget; empty impl
3123         * src/WebPopupMenuImpl.h:
3124         * src/WebViewImpl.cpp:
3125         (WebKit::WebViewImpl::compositionRange): New method on WebWidget
3126         (WebKit::WebViewImpl::caretOrSelectionRange): New method on WebWidget
3127         * src/WebViewImpl.h:
3128         * src/mac/WebSubstringUtil.mm: Added.
3129         (WebKit::WebSubstringUtil::attributedSubstringInRange):
3130
3131 2011-04-26  Adam Barth  <abarth@webkit.org>
3132
3133         Reviewed by David Levin.
3134
3135         Moar strict OwnPtr fixes for WebKit/chromium
3136         https://bugs.webkit.org/show_bug.cgi?id=59437
3137
3138         This patch fixes all but two strict OwnPtr issues in WebKit/chromium.
3139
3140         * src/WebDataSourceImpl.cpp:
3141         (WebKit::WebDataSourceImpl::setExtraData):
3142         (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
3143         (WebKit::WebDataSourceImpl::WebDataSourceImpl):
3144         * src/WebDataSourceImpl.h:
3145         * src/WebDevToolsAgentImpl.cpp:
3146         (WebKit::WebDevToolsAgentImpl::attach):
3147         (WebKit::WebDevToolsAgentImpl::detach):
3148         (WebKit::WebDevToolsAgent::interruptAndDispatch):
3149         * src/WebFrameImpl.cpp:
3150         (WebKit::WebFrameImpl::printBegin):
3151         * src/WebMediaPlayerClientImpl.cpp:
3152         (WebKit::createWebMediaPlayer):
3153         (WebKit::WebMediaPlayerClientImpl::loadInternal):
3154         * src/WebSpeechInputControllerMockImpl.cpp:
3155         (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
3156         * src/WebStorageEventDispatcherImpl.cpp:
3157         (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
3158         * src/WebViewImpl.cpp:
3159         (WebKit::WebViewImpl::WebViewImpl):
3160         (WebKit::WebViewImpl::settings):
3161         (WebKit::WebViewImpl::applyAutoFillSuggestions):
3162         (WebKit::WebView::addUserScript):
3163         (WebKit::WebView::addUserStyleSheet):
3164
3165 2011-04-26  Ruben  <chromium@hybridsource.org>
3166
3167         Reviewed by Tony Chang.
3168
3169         Change linux ifdefs for Chromium to Unix instead, allowing
3170         new Unix ports to be enabled by default
3171         https://bugs.webkit.org/show_bug.cgi?id=59297
3172
3173         * src/PlatformBridge.cpp:
3174         * src/WebFrameImpl.cpp:
3175         * src/WebViewImpl.cpp:
3176
3177 2011-04-26  Stephen White  <senorblanco@chromium.org>
3178
3179         Reviewed by Kenneth Russell.
3180
3181         Partial revert of http://trac.webkit.org/changeset/84893, since it
3182         triggered a large number of layout test failures.
3183         https://bugs.webkit.org/show_bug.cgi?id=59459
3184
3185         * src/GraphicsContext3DChromium.cpp:
3186         (WebCore::GraphicsContext3DInternal::initialize):
3187
3188 2011-04-26  Hans Wennborg  <hans@chromium.org>
3189
3190         Reviewed by Tony Gentilcore.
3191
3192         IndexedDB: Enable compile-time flag for LevelDB
3193         https://bugs.webkit.org/show_bug.cgi?id=59457
3194
3195         Set ENABLE_LEVELDB=1 in features.gypi.
3196
3197         * features.gypi:
3198
3199 2011-04-26  Pavel Feldman  <pfeldman@google.com>
3200
3201         Reviewed by Yury Semikhatsky.
3202
3203         Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
3204         https://bugs.webkit.org/show_bug.cgi?id=59332
3205
3206         * src/js/DevTools.js:
3207
3208 2011-04-26  Adam Barth  <abarth@webkit.org>
3209
3210         Reviewed by David Levin.
3211
3212         WebKit/chromium should play nice with strict OwnPtrs
3213         https://bugs.webkit.org/show_bug.cgi?id=59434
3214
3215         This fixes about half the issues.
3216
3217         * src/ApplicationCacheHost.cpp:
3218         (WebCore::ApplicationCacheHost::maybeLoadMainResource):
3219         * src/ApplicationCacheHostInternal.h:
3220         (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
3221         * src/AutoFillPopupMenuClient.cpp:
3222         (WebKit::AutoFillPopupMenuClient::initialize):
3223         * src/GraphicsContext3DChromium.cpp:
3224         (WebCore::GraphicsContext3DInternal::initialize):
3225         * src/ResourceHandle.cpp:
3226         (WebCore::ResourceHandleInternal::start):
3227         (WebCore::ResourceHandle::ResourceHandle):
3228         (WebCore::ResourceHandle::loadResourceSynchronously):
3229         * src/SocketStreamHandle.cpp:
3230         (WebCore::SocketStreamHandleInternal::connect):
3231
3232 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
3233
3234         Unreviewed, build fix.
3235
3236         Change FAILS_ to DISABLED_ in r84813.
3237
3238         * tests/TransparencyWinTest.cpp:
3239         (WebCore::TEST):
3240
3241 2011-04-25  Dirk Pranke  <dpranke@chromium.org>
3242
3243         Reviewed by James Robinson.
3244
3245         Suppress test failure in Chromium webkit_unit_tests.
3246         https://bugs.webkit.org/show_bug.cgi?id=59358
3247
3248         Looks like this started failing after
3249         http://trac.webkit.org/changeset/84631.
3250
3251         * tests/TransparencyWinTest.cpp:
3252         (WebCore::TEST):
3253
3254 2011-04-22  Mikhail Naganov  <mnaganov@chromium.org>
3255
3256         Reviewed by Pavel Feldman.
3257
3258         Web Inspector: [Chromium] Move detailed heap snapshots storage and processing into workers.
3259         https://bugs.webkit.org/show_bug.cgi?id=59094
3260
3261         * WebKit.gyp:
3262
3263 2011-04-22  Andrey Kosyakov  <caseq@chromium.org>
3264
3265         Reviewed by Pavel Feldman.
3266
3267         Web Inspector: [Extensions API] misc API cleanup
3268         https://bugs.webkit.org/show_bug.cgi?id=59194
3269
3270         * src/js/DevTools.js:
3271         (WebInspector.platformExtensionAPI):
3272
3273 2011-04-21  Chris Fleizach  <cfleizach@apple.com>
3274
3275         Reviewed by Beth Dakin.
3276
3277         AX: order AccessibilityRole alphabetically
3278         https://bugs.webkit.org/show_bug.cgi?id=31524
3279
3280         * public/WebAccessibilityRole.h:
3281
3282 2011-04-21  Maciej Stachowiak  <mjs@apple.com>
3283
3284         Reviewed by Adam Roben.
3285
3286         Add a feature define to allow <details> and <summary> to be disabled
3287         https://bugs.webkit.org/show_bug.cgi?id=59118
3288         <rdar://problem/9257045>
3289
3290         * features.gypi:
3291
3292 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
3293
3294         Reviewed by Sam Weinig.
3295
3296         Add Frame* to the argument lists of canCopyCut and canPaste
3297         https://bugs.webkit.org/show_bug.cgi?id=59153
3298
3299         * src/EditorClientImpl.cpp:
3300         (WebKit::EditorClientImpl::canCopyCut):
3301         (WebKit::EditorClientImpl::canPaste):
3302         * src/EditorClientImpl.h:
3303
3304 2011-04-21  Roland Steiner  <rolandsteiner@chromium.org>
3305
3306         Reviewed by Dimitri Glazkov.
3307
3308         Bug 58704 - Decide on node type for ShadowRoot
3309         https://bugs.webkit.org/show_bug.cgi?id=58704
3310
3311         Add a new enum entry to WebNode::NodeType for shadow roots.
3312         Adapt calling sites for new SHADOW_ROOT_NODE node type.
3313
3314         * public/WebNode.h:
3315         * src/WebPageSerializerImpl.cpp:
3316         (WebKit::WebPageSerializerImpl::buildContentForNode):
3317
3318 2011-04-20  Dominic Cooney  <dominicc@chromium.org>
3319
3320         Reviewed by Dimitri Glazkov.
3321
3322         layoutTestController can create and destroy shadow DOM
3323         https://bugs.webkit.org/show_bug.cgi?id=59058
3324
3325         Chromium DRT relies on the Chromium WebKit API
3326
3327         * public/WebElement.h:
3328         * src/WebElement.cpp:
3329         (WebKit::WebElement::shadowRoot): don't steal a zero refcount
3330         (WebKit::WebElement::ensureShadowRoot): added
3331         (WebKit::WebElement::removeShadowRoot): added
3332
3333 2011-04-20  Alexey Marinichev  <amarinichev@chromium.org>
3334
3335         Reviewed by Kenneth Russell.
3336
3337         Check for null m_context in WebGLLayerChromium and add resetting platform layer's context in the destructor of GraphicsContext3D.
3338         https://bugs.webkit.org/show_bug.cgi?id=59045
3339
3340         * src/GraphicsContext3DChromium.cpp:
3341         (WebCore::GraphicsContext3D::~GraphicsContext3D): call into platform
3342         layer and unregister itself.
3343
3344 2011-04-20  Yuzhu Shen  <yzshen@chromium.org>
3345
3346         Reviewed by Tony Chang.
3347
3348         [chromium] linux chromium doesn't set click count for mouse up events.
3349         https://bugs.webkit.org/show_bug.cgi?id=58921
3350
3351         The reason why we need such a fix is that the Pepper API passes this information to plugins,
3352         and some consumers (e.g., Flash) need it to detect double-clicks.
3353
3354         * src/gtk/WebInputEventFactory.cpp: set click count for mouse up events.
3355         * tests/WebInputEventFactoryTestGtk.cpp: added test case MouseUpClickCount.
3356
3357 2011-04-20  Evan Martin  <evan@chromium.org>
3358
3359         Reviewed by Tony Chang.
3360
3361         [chromium] expose title text direction on WebDataSource
3362         https://bugs.webkit.org/show_bug.cgi?id=59010
3363
3364         * public/WebDataSource.h:
3365         * src/WebDataSourceImpl.cpp:
3366         (WebKit::WebDataSourceImpl::pageTitle):
3367         (WebKit::WebDataSourceImpl::pageTitleDirection):
3368         * src/WebDataSourceImpl.h:
3369
3370 2011-04-20  Pavel Feldman  <pfeldman@google.com>
3371
3372         Reviewed by Yury Semikhatsky.
3373
3374         Web Inspector: add saveAs into the InspectorFrontendHost binding.
3375         https://bugs.webkit.org/show_bug.cgi?id=58979
3376
3377         * public/WebDevToolsFrontendClient.h:
3378         (WebKit::WebDevToolsFrontendClient::saveAs):
3379         * src/InspectorFrontendClientImpl.cpp:
3380         (WebKit::InspectorFrontendClientImpl::saveAs):
3381         * src/InspectorFrontendClientImpl.h:
3382         * src/js/DevTools.js:
3383
3384 2011-04-19  Naoki Takano  <takano.naoki@gmail.com>
3385
3386         Reviewed by Kent Tamura.
3387
3388         [Chromium]UI polishes and tweaks to Autofill dropdown menu.
3389         https://bugs.webkit.org/show_bug.cgi?id=58505
3390
3391         * src/AutoFillPopupMenuClient.cpp:
3392         (WebKit::AutoFillPopupMenuClient::initialize): Set AutofillPopup for menuStyle.
3393
3394 2011-04-19  Dirk Pranke  <dpranke@chromium.org>
3395
3396         Unreviewed, attempting build fix.
3397
3398         Disable leveldb to work around
3399         http://code.google.com/p/leveldb/issues/detail?id=1.
3400
3401         * features.gypi:
3402
3403 2011-04-19  Dominic Cooney  <dominicc@chromium.org>
3404
3405         Reviewed by Dimitri Glazkov.
3406
3407         Check the type of the wrapper when unwrapping NPObjects to native
3408         Ranges and Elements
3409         https://bugs.webkit.org/show_bug.cgi?id=58957
3410
3411         * src/WebBindings.cpp:
3412         (WebKit::getRangeImpl): check HasInstance
3413         (WebKit::getElementImpl): check HasInstance
3414
3415 2011-04-19  Evan Martin  <evan@chromium.org>
3416
3417         Reviewed by Darin Fisher.
3418
3419         [chromium] didReceiveTitle API signature should not change
3420         https://bugs.webkit.org/show_bug.cgi?id=58909
3421
3422         My previous attempt at a temporary shim was wrong.
3423         This second try should correctly work with older clients.
3424
3425         * public/WebFrameClient.h:
3426         (WebKit::WebFrameClient::didReceiveTitle):
3427
3428 2011-04-19  Jungshik Shin  <jshin@chromium.org>
3429
3430         Reviewed by Adam Barth
3431
3432         Fix the compile failure in UniscribeHelperTest.cpp due to
3433         a change in UniscribeHelper made by the CL for bug 48860
3434         (r84264)
3435
3436         http://bugs.webkit.org/show_bug.cgi?id=48860
3437
3438         * tests/UniscribeHelperTest.cpp:
3439         (TEST_F):
3440
3441 2011-04-19  Stuart Morgan  <stuartmorgan@chromium.org>
3442
3443         Reviewed by Tony Chang.
3444
3445         [chromium] Clicking on plugin for first time blocks focus shift
3446         https://bugs.webkit.org/show_bug.cgi?id=58419
3447
3448         Switched to using FocusController when moving focus to a plugin
3449         so that cross-frame focus changes are handled correctly.
3450
3451         * src/WebPluginContainerImpl.cpp:
3452         (WebKit::WebPluginContainerImpl::handleMouseEvent):
3453
3454 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
3455
3456         Reviewed by Pavel Feldman.
3457
3458         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
3459         https://bugs.webkit.org/show_bug.cgi?id=58883
3460
3461         Renamed lengthReceived to encodedDataLength/dataLength.
3462
3463         * public/WebURLLoaderClient.h:
3464         (WebKit::WebURLLoaderClient::didReceiveData):
3465         * src/AssociatedURLLoader.cpp:
3466         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
3467         * src/FrameLoaderClientImpl.cpp:
3468         (WebKit::FrameLoaderClientImpl::dispatchDidReceiveContentLength):
3469         * src/FrameLoaderClientImpl.h:
3470         * src/ResourceHandle.cpp:
3471         (WebCore::ResourceHandleInternal::didReceiveData):
3472
3473 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
3474
3475         Reviewed by Pavel Feldman.
3476
3477         Chromium DevTools: Network panel timing test is flaky
3478         https://bugs.webkit.org/show_bug.cgi?id=58699
3479
3480         Fixed network timing test flakiness.
3481
3482         * src/js/Tests.js:
3483         (.TestSuite.prototype.testNetworkTiming.finishResource):
3484
3485 2011-04-19  Andrey Kosyakov  <caseq@chromium.org>
3486
3487         Reviewed by Pavel Feldman.
3488
3489         Web Inspector: add chrome.devTools alias to webInspector namespace for chromium port
3490         https://bugs.webkit.org/show_bug.cgi?id=58894
3491
3492         * src/js/DevTools.js:
3493         (WebInspector.platformExtensionAPI):
3494
3495 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
3496
3497         Not reviewed; another build fix attempt.
3498
3499         * src/StorageInfoChromium.cpp:
3500         (WebCore::StorageInfo::queryUsageAndQuota):
3501         (WebCore::StorageInfo::requestQuota):
3502         * src/WebStorageQuotaCallbacksImpl.cpp:
3503         (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
3504         * src/WebStorageQuotaCallbacksImpl.h:
3505
3506 2011-04-19  Kinuko Yasuda  <kinuko@chromium.org>
3507
3508         Reviewed by David Levin.
3509
3510         [Chromium] Enable QUOTA API at runtime if enable-quota flag is given
3511         https://bugs.webkit.org/show_bug.cgi?id=58784
3512
3513         * features.gypi: Added ENABLE_QUOTA=1.
3514         * public/WebRuntimeFeatures.h:
3515         * src/WebRuntimeFeatures.cpp:
3516         (WebKit::WebRuntimeFeatures::enableQuota): Added.
3517         (WebKit::WebRuntimeFeatures::isQuotaEnabled): Added.
3518
3519 2011-04-19  John Gregg  <johnnyg@google.com>
3520
3521         Reviewed by Darin Fisher.
3522
3523         Enable folder drag-n-drop when using a "webkitdirectory" file input
3524         https://bugs.webkit.org/show_bug.cgi?id=58401
3525
3526         This uses a new ChromeClient API to enumerate the directory and 
3527         return all the files, as if the user had selected that directory
3528         by clicking the control in the normal way.
3529
3530         * public/WebViewClient.h:
3531         (WebKit::WebViewClient::enumerateChosenDirectory):
3532         * src/ChromeClientImpl.cpp:
3533         (WebKit::ChromeClientImpl::enumerateChosenDirectory):
3534         * src/ChromeClientImpl.h:
3535
3536 2011-04-18  Evan Martin  <evan@chromium.org>
3537
3538         Reviewed by Eric Seidel.
3539
3540         [chromium] expose title direction to webkit client
3541         https://bugs.webkit.org/show_bug.cgi