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