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