2011-03-07 Bill Budge <bbudge@chromium.org>
[WebKit-https.git] / Source / WebKit / chromium / ChangeLog
1 2011-03-07  Bill Budge  <bbudge@chromium.org>
2
3         Reviewed by David Levin.
4
5         AssociatedURLLoader does not support Cross Origin Requests
6         https://bugs.webkit.org/show_bug.cgi?id=53925
7
8         No tests needed. Exposes no new functionality.
9
10         * src/AssociatedURLLoader.cpp:
11         (WebKit::AssociatedURLLoader::ClientAdapter::create):
12         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
13         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
14         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
15         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
16         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
17         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
18         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
19         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
20         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
21         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
22         (WebKit::AssociatedURLLoader::loadSynchronously):
23         (WebKit::AssociatedURLLoader::loadAsynchronously):
24         (WebKit::AssociatedURLLoader::cancel):
25         (WebKit::AssociatedURLLoader::setDefersLoading):
26         * src/AssociatedURLLoader.h:
27         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
28
29 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
30
31         Reviewed by Dimitri Glazkov.
32
33         Expose page dismissal event status through the WebKit API for chromium.
34         https://bugs.webkit.org/show_bug.cgi?id=55844
35
36         Chromium will find it useful to know the page dismissal status (i.e.,
37         whether a frame is in the midst of executing a beforeunload or unload
38         handler), so expose that information through the chromium port in the
39         WebKit API.
40      
41         This is my second attempt at this patch. The previous one broke
42         downstream Chromium builds of some unit tests which had classes derived
43         from WebFrame (and thus became uninstantiable because of this new pure
44         virtual method). Those have now been fixed (http://crrev.com/77101).
45
46         * public/WebFrame.h:
47         * src/WebFrameImpl.cpp:
48         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
49         * src/WebFrameImpl.h:
50
51 2011-03-06  Sheriff Bot  <webkit.review.bot@gmail.com>
52
53         Unreviewed, rolling out r80436.
54         http://trac.webkit.org/changeset/80436
55         https://bugs.webkit.org/show_bug.cgi?id=55849
56
57         Broke Chromium compile across the board (Requested by dglazkov
58         on #webkit).
59
60         * public/WebFrame.h:
61         * src/WebFrameImpl.cpp:
62         * src/WebFrameImpl.h:
63
64 2011-03-06  Sreeram Ramachandran  <sreeram@google.com>
65
66         Reviewed by Dimitri Glazkov.
67
68         Expose page dismissal event status through the WebKit API for chromium
69         https://bugs.webkit.org/show_bug.cgi?id=55844
70
71         * public/WebFrame.h:
72         * src/WebFrameImpl.cpp:
73         (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
74         * src/WebFrameImpl.h:
75
76 2011-03-05  Daniel Cheng  <dcheng@chromium.org>
77
78         Reviewed by Dmitry Titov.
79
80         [chromium] Add method to WebClipboard to read images from the clipboard.
81         https://bugs.webkit.org/show_bug.cgi?id=55814
82
83         * public/WebClipboard.h:
84         (WebKit::WebClipboard::readImage):
85
86 2011-03-04  Adam Barth  <abarth@webkit.org>
87
88         Reviewed by Dimitri Glazkov.
89
90         Remove unneeded round-trips through ../Source in the Chromium GYP build
91         https://bugs.webkit.org/show_bug.cgi?id=55795
92
93         * WebKit.gyp:
94
95 2011-03-03  John Abd-El-Malek  <jam@chromium.org>
96
97         Reviewed by Dimitri Glazkov.
98
99         [chromium] Get rid of IsContentFiltered flags since they&apos;re not used anymore
100         https://bugs.webkit.org/show_bug.cgi?id=55748
101
102         * DEPS:
103         * public/WebURLResponse.h:
104         * src/WebURLResponse.cpp:
105
106 2011-03-04  James Su <suzhe@chromium.org>
107
108         Reviewed by Dimitri Glazkov.
109
110         [Chromium] keycode is always 0 when using non-Latin keyboard layout.
111         https://bugs.webkit.org/show_bug.cgi?id=54939
112
113         No intended functionality change.
114
115         * src/mac/WebInputEventFactory.mm:
116         (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
117         provided in WebCore/platform/mac/KeyEventMac.mm.
118
119 2011-03-04  Zelidrag Hornung  <zelidrag@chromium.org>
120
121         Reviewed by David Levin
122
123         Expose ability to create instance of DOMFileSystem from Chromium side.
124         https://bugs.webkit.org/show_bug.cgi?id=55618
125
126         * public/WebFrame.h:
127         * src/WebFrameImpl.cpp:
128         (WebKit::WebFrameImpl::createFileSystem):
129         * src/WebFrameImpl.h:
130
131 2011-03-03  Nat Duca  <nduca@chromium.org>
132
133         Reviewed by James Robinson.
134
135         [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
136         LayerRendererChromium that draws compositor FPS and, optionally,
137         the layer tree.
138         https://bugs.webkit.org/show_bug.cgi?id=54710
139
140         * public/WebSettings.h:
141         * src/WebSettingsImpl.cpp:
142         (WebKit::WebSettingsImpl::WebSettingsImpl):
143         (WebKit::WebSettingsImpl::setShowFPSCounter):
144         (WebKit::WebSettingsImpl::setShowPlatformLayerTree):
145         * src/WebSettingsImpl.h:
146         (WebKit::WebSettingsImpl::showFPSCounter):
147         (WebKit::WebSettingsImpl::showPlatformLayerTree):
148         * src/WebViewImpl.cpp:
149         (WebKit::WebViewImpl::doComposite):
150
151 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
152
153         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
154         via ChromeClient.h
155
156         * src/ChromeClientImpl.h:
157
158 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
159
160         Reviewed by Darin Adler.
161
162         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
163         https://bugs.webkit.org/show_bug.cgi?id=55633
164         <rdar://problem/8963023>
165
166         * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::keyboardUIMode):
167         * src/ChromeClientImpl.h:
168         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
169         this platform doesn't observe or have full keyboard access state.
170
171 2011-03-03  Sheriff Bot  <webkit.review.bot@gmail.com>
172
173         Unreviewed, rolling out r80219.
174         http://trac.webkit.org/changeset/80219
175         https://bugs.webkit.org/show_bug.cgi?id=55680
176
177         "Causes several media test crashes" (Requested by tonyg-cr on
178         #webkit).
179
180         * src/AssociatedURLLoader.cpp:
181         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
182         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
183         (WebKit::AssociatedURLLoader::loadSynchronously):
184         (WebKit::AssociatedURLLoader::loadAsynchronously):
185         (WebKit::AssociatedURLLoader::cancel):
186         (WebKit::AssociatedURLLoader::setDefersLoading):
187         (WebKit::AssociatedURLLoader::prepareRequest):
188         (WebKit::AssociatedURLLoader::willSendRequest):
189         (WebKit::AssociatedURLLoader::didSendData):
190         (WebKit::AssociatedURLLoader::didReceiveResponse):
191         (WebKit::AssociatedURLLoader::didDownloadData):
192         (WebKit::AssociatedURLLoader::didReceiveData):
193         (WebKit::AssociatedURLLoader::didReceiveCachedMetadata):
194         (WebKit::AssociatedURLLoader::didFinishLoading):
195         (WebKit::AssociatedURLLoader::didFail):
196         * src/AssociatedURLLoader.h:
197
198 2011-03-03  Dominic Mazzoni  <dmazzoni@google.com>
199
200         Reviewed by Dimitri Glazkov.
201
202         Add an equals() method to WebAccessibilityObject.
203         https://bugs.webkit.org/show_bug.cgi?id=55631
204
205         * public/WebAccessibilityObject.h:
206         * src/WebAccessibilityObject.cpp:
207         (WebKit::WebAccessibilityObject::equals):
208
209 2011-03-03  Pavel Podivilov  <podivilov@chromium.org>
210
211         Reviewed by Yury Semikhatsky.
212
213         Web Inspector: make selected call frame debugger presentation model property.
214         https://bugs.webkit.org/show_bug.cgi?id=55582
215
216         * src/js/Tests.js:
217
218 2011-03-03  Bill Budge  <bbudge@chromium.org>
219
220         Reviewed by David Levin.
221
222         AssociatedURLLoader does not support Cross Origin Requests
223         https://bugs.webkit.org/show_bug.cgi?id=53925
224
225         No tests needed. Exposes no new functionality.
226
227         * src/AssociatedURLLoader.cpp:
228         (WebKit::AssociatedURLLoader::ClientAdapter::create):
229         (WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
230         (WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
231         (WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
232         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
233         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
234         (WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
235         (WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
236         (WebKit::AssociatedURLLoader::ClientAdapter::didFail):
237         (WebKit::AssociatedURLLoader::AssociatedURLLoader):
238         (WebKit::AssociatedURLLoader::~AssociatedURLLoader):
239         (WebKit::AssociatedURLLoader::loadSynchronously):
240         (WebKit::AssociatedURLLoader::loadAsynchronously):
241         (WebKit::AssociatedURLLoader::cancel):
242         (WebKit::AssociatedURLLoader::setDefersLoading):
243         * src/AssociatedURLLoader.h:
244         (WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
245
246 2011-03-03  Steve Lacey  <sjl@chromium.org>
247
248         Reviewed by Darin Fisher.
249
250         Wire up webkit metrics changes to chromium changes.
251         https://bugs.webkit.org/show_bug.cgi?id=54580
252
253         * features.gypi:
254         * public/WebMediaPlayer.h:
255         * src/WebMediaPlayerClientImpl.cpp:
256         (WebKit::WebMediaPlayerClientImpl::decodedFrameCount):
257         (WebKit::WebMediaPlayerClientImpl::droppedFrameCount):
258         (WebKit::WebMediaPlayerClientImpl::audioDecodedByteCount):
259         (WebKit::WebMediaPlayerClientImpl::videoDecodedByteCount):
260         * src/WebMediaPlayerClientImpl.h:
261
262 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
263
264         Reviewed by David Levin.
265
266         Manually revert ChromiumDataObject changes.
267         https://bugs.webkit.org/show_bug.cgi?id=55627
268
269         * public/WebView.h:
270         * src/WebDragData.cpp:
271         (WebKit::WebDragData::initialize):
272         * src/WebViewImpl.cpp:
273         (WebKit::WebViewImpl::dragTargetDragEnter):
274         * src/WebViewImpl.h:
275
276 2011-03-02  David Grogan  <dgrogan@chromium.org>
277
278         Reviewed by Jeremy Orlow.
279
280         IndexedDB: fire versionchange events when calling setVersion
281         https://bugs.webkit.org/show_bug.cgi?id=55095
282
283         * WebKit.gyp:
284         * src/IDBDatabaseCallbacksProxy.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
285         (WebCore::IDBDatabaseCallbacksProxy::create):
286         (WebCore::IDBDatabaseCallbacksProxy::IDBDatabaseCallbacksProxy):
287         (WebCore::IDBDatabaseCallbacksProxy::~IDBDatabaseCallbacksProxy):
288         (WebCore::IDBDatabaseCallbacksProxy::onVersionChange):
289         * src/IDBDatabaseCallbacksProxy.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
290         * src/IDBDatabaseProxy.cpp:
291         (WebCore::IDBDatabaseProxy::setVersion):
292         (WebCore::IDBDatabaseProxy::close):
293         (WebCore::IDBDatabaseProxy::open):
294         * src/IDBDatabaseProxy.h:
295         * src/WebIDBDatabaseCallbacksImpl.cpp: Copied from Source/WebCore/storage/IDBVersionChangeEvent.cpp.
296         (WebCore::WebIDBDatabaseCallbacksImpl::WebIDBDatabaseCallbacksImpl):
297         (WebCore::WebIDBDatabaseCallbacksImpl::~WebIDBDatabaseCallbacksImpl):
298         (WebCore::WebIDBDatabaseCallbacksImpl::onVersionChange):
299         * src/WebIDBDatabaseCallbacksImpl.h: Copied from Source/WebCore/storage/IDBVersionChangeEvent.h.
300         * src/WebIDBDatabaseImpl.cpp:
301         (WebKit::WebIDBDatabaseImpl::setVersion):
302         (WebKit::WebIDBDatabaseImpl::close):
303         (WebKit::WebIDBDatabaseImpl::open):
304         * src/WebIDBDatabaseImpl.h:
305
306 2011-03-02  Sheriff Bot  <webkit.review.bot@gmail.com>
307
308         Unreviewed, rolling out r80139.
309         http://trac.webkit.org/changeset/80139
310         https://bugs.webkit.org/show_bug.cgi?id=55620
311
312         failing and crashing tests on Snow Leopard bot (Requested by
313         mihaip1 on #webkit).
314
315         * public/WebGeolocationClientMock.h:
316         * src/WebGeolocationClientMock.cpp:
317
318 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
319
320         Revert frame-specific WebClipboard changes
321         https://bugs.webkit.org/show_bug.cgi?id=55617
322
323         This code is no longer needed since we've decided to use the original
324         approach to copy/paste drag/drop handling in ClipboardChromium.
325
326         * public/WebFrameClient.h:
327         * src/PlatformBridge.cpp:
328         (WebCore::PlatformBridge::clipboardReadAvailableTypes):
329         (WebCore::PlatformBridge::clipboardReadData):
330         (WebCore::PlatformBridge::clipboardReadFilenames):
331         * src/WebFrameImpl.cpp:
332         (WebKit::WebFrameImpl::fromFrame):
333         * src/WebFrameImpl.h:
334         * src/WebViewImpl.cpp:
335         (WebKit::WebViewImpl::dragTargetDragEnterNew):
336
337 2011-03-02  Tony Chang  <tony@chromium.org>
338
339         Unreviewed, rolling chromium DEPS to r76362.
340
341         https://bugs.webkit.org/show_bug.cgi?id=55564
342
343         * DEPS:
344
345 2011-02-28  Jeremy Orlow  <jorlow@chromium.org>
346
347         Reviewed by James Robinson.
348
349         Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
350         https://bugs.webkit.org/show_bug.cgi?id=55443
351
352         * public/WebIDBCursor.h:
353         (WebKit::WebIDBCursor::primaryKey):
354         (WebKit::WebIDBCursor::value):
355         * src/IDBCursorBackendProxy.cpp:
356         (WebCore::IDBCursorBackendProxy::primaryKey):
357         (WebCore::IDBCursorBackendProxy::value):
358         * src/IDBCursorBackendProxy.h:
359         * src/WebIDBCursorImpl.cpp:
360         (WebKit::WebIDBCursorImpl::key):
361         (WebKit::WebIDBCursorImpl::primaryKey):
362         (WebKit::WebIDBCursorImpl::value):
363         * src/WebIDBCursorImpl.h:
364
365 2011-03-02  Daniel Cheng  <dcheng@chromium.org>
366
367         Reviewed by David Levin.
368
369         Add feature define for data transfer items
370         https://bugs.webkit.org/show_bug.cgi?id=55510
371
372         * features.gypi:
373
374 2011-01-26  John Knottenbelt  <jknotten@chromium.org>
375
376         Detach Geolocation from Frame when Page destroyed.
377         https://bugs.webkit.org/show_bug.cgi?id=52877
378
379         Add accessors to the WebGeolocationClientMock to allow the number of
380         pending geolocation permission requests to be queried.
381
382         * public/WebGeolocationClientMock.h:
383         * src/WebGeolocationClientMock.cpp:
384         (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
385
386 2011-03-01  David Grogan  <dgrogan@chromium.org>
387
388         Reviewed by Jeremy Orlow.
389
390         IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
391         https://bugs.webkit.org/show_bug.cgi?id=55548
392
393         * WebKit.gyp:
394         * public/WebIDBDatabase.h:
395         (WebKit::WebIDBDatabase::createObjectStore):
396         (WebKit::WebIDBDatabase::open):
397         * public/WebIDBDatabaseCallbacks.h: Added.
398         (WebKit::WebIDBDatabaseCallbacks::~WebIDBDatabaseCallbacks):
399         (WebKit::WebIDBDatabaseCallbacks::onVersionChange):
400
401 2011-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
402
403         Unreviewed, rolling out r80079.
404         http://trac.webkit.org/changeset/80079
405         https://bugs.webkit.org/show_bug.cgi?id=55547
406
407         "Broke the Win debug build?" (Requested by dcheng on #webkit).
408
409         * features.gypi:
410
411 2011-03-01  Daniel Cheng  <dcheng@chromium.org>
412
413         Reviewed by David Levin.
414
415         Add feature define for data transfer items
416         https://bugs.webkit.org/show_bug.cgi?id=55510
417
418         * features.gypi:
419
420 2011-03-01  Jeremy Orlow  <jorlow@chromium.org>
421
422         Reviewed by James Robinson.
423
424         Add a primaryKey method to IDBCursor
425         https://bugs.webkit.org/show_bug.cgi?id=55518
426
427         In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
428
429         * public/WebIDBCursor.h:
430         (WebKit::WebIDBCursor::primaryKey):
431
432 2011-02-28  Chang Shu  <cshu@webkit.org>
433
434         Reviewed by Ryosuke Niwa.
435
436         Remove the support of Frame::isContentEditable and its dependencies.
437         https://bugs.webkit.org/show_bug.cgi?id=54292
438
439         Remove the WebKit side implementation.
440
441         * src/EditorClientImpl.cpp:
442         * src/EditorClientImpl.h:
443
444 2011-02-28  Avi Drissman  <avi@google.com>
445
446         Reviewed by James Robinson.
447
448         WebCursorInfo needs to match enums in platform/Cursor.h
449         https://bugs.webkit.org/show_bug.cgi?id=55094
450
451         * public/WebCursorInfo.h:
452         * src/AssertMatchingEnums.cpp:
453
454 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
455
456         Unreviewed, rolling out r78789.
457         http://trac.webkit.org/changeset/78789
458         https://bugs.webkit.org/show_bug.cgi?id=55409
459
460         Incorrect canvas fallback implementation (Requested by
461         inferno-sec on #webkit).
462
463         * public/WebAccessibilityRole.h:
464         * src/AssertMatchingEnums.cpp:
465
466 2011-02-28  Adam Klein  <adamk@chromium.org>
467
468         Reviewed by Adam Barth.
469
470         [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
471         https://bugs.webkit.org/show_bug.cgi?id=54774
472
473         * src/LocalFileSystemChromium.cpp:
474         (WebCore::LocalFileSystem::readFileSystem):
475         Removed size argument to readFileSystem()
476
477 2011-02-27  Pavel Feldman  <pfeldman@chromium.org>
478
479         Reviewed by Darin Fisher.
480
481         Pass frame history state in the context menu parameters.
482         https://bugs.webkit.org/show_bug.cgi?id=55232
483
484         * public/WebContextMenuData.h:
485         * src/ContextMenuClientImpl.cpp:
486         (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
487
488 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
489
490         Reviewed by Pavel Feldman.
491
492         DumpRenderTree should reset frame opener between tests.
493         https://bugs.webkit.org/show_bug.cgi?id=54874
494
495         Added clearOpener method to WebFrame.
496
497         * public/WebFrame.h:
498         * src/WebFrameImpl.cpp:
499         (WebKit::WebFrameImpl::clearOpener):
500         * src/WebFrameImpl.h:
501
502 2011-02-26  Pavel Feldman  <pfeldman@chromium.org>
503
504         Not reviewed: rolling chromium DEPS.
505
506         * DEPS:
507
508 2011-02-26  Bill Budge  <bbudge@chromium.org>
509
510         Reviewed by David Levin.
511
512         WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
513         https://bugs.webkit.org/show_bug.cgi?id=54489
514
515         No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
516
517         * src/WebURLRequest.cpp:
518         (WebKit::WebURLRequestPrivateImpl::WebURLRequestPrivateImpl):
519         (WebKit::WebURLRequest::downloadToFile):
520         (WebKit::WebURLRequest::setDownloadToFile):
521         * src/WebURLRequestPrivate.h:
522         (WebKit::WebURLRequestPrivate::WebURLRequestPrivate):
523         * src/WebURLResponse.cpp:
524         (WebKit::WebURLResponsePrivateImpl::WebURLResponsePrivateImpl):
525         (WebKit::WebURLResponse::downloadFilePath):
526         (WebKit::WebURLResponse::setDownloadFilePath):
527         * src/WebURLResponsePrivate.h:
528
529 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
530
531         Unreviewed, rolling out r79764.
532         http://trac.webkit.org/changeset/79764
533         https://bugs.webkit.org/show_bug.cgi?id=55295
534
535         "broke Chromium builds" (Requested by rniwa on #webkit).
536
537         * public/WebFrame.h:
538         * src/WebFrameImpl.cpp:
539         * src/WebFrameImpl.h:
540
541 2011-02-26  David Dorwin  <ddorwin@chromium.org>
542
543         Reviewed by Darin Fisher.
544
545         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
546
547         fullscreen javascript bindings not implemented for v8
548         https://bugs.webkit.org/show_bug.cgi?id=44797
549
550         * features.gypi:
551         * public/WebSettings.h:
552         * src/ChromeClientImpl.cpp:
553         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
554         (WebKit::ChromeClientImpl::enterFullScreenForElement):
555         (WebKit::ChromeClientImpl::exitFullScreenForElement):
556         (WebKit::ChromeClientImpl::fullScreenRendererChanged):
557         * src/ChromeClientImpl.h:
558         * src/WebSettingsImpl.cpp:
559         (WebKit::WebSettingsImpl::setFullScreenEnabled):
560         * src/WebSettingsImpl.h:
561
562 2011-02-26  John Mellor  <johnme@chromium.org>
563
564         Reviewed by Antonio Gomes.
565
566         [chromium] WebFrameImpl::m_totalMatchCount should be an int
567         https://bugs.webkit.org/show_bug.cgi?id=55134
568
569         WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
570
571         * src/WebFrameImpl.h:
572
573 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
574
575         Reviewed by Pavel Feldman.
576
577         DumpRenderTree should reset frame opener between tests.
578         https://bugs.webkit.org/show_bug.cgi?id=54874
579
580         Added clearOpener method to WebFrame.
581
582         * public/WebFrame.h:
583         * src/WebFrameImpl.cpp:
584         (WebKit::WebFrameImpl::clearOpener):
585         * src/WebFrameImpl.h:
586
587 2011-02-25  Tony Chang  <tony@chromium.org>
588
589         Roll chromium deps to include RBGToHSL fix and ICU update.
590
591         * DEPS:
592
593 2011-02-15  Brett Wilson  <brettw@chromium.org>
594
595         Reviewed by Darin Fisher.
596
597         Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
598         https://bugs.webkit.org/show_bug.cgi?id=54503
599
600         * src/WebViewImpl.cpp:
601         (WebKit::WebViewImpl::handleInputEvent):
602
603 2011-02-24  James Robinson  <jamesr@chromium.org>
604
605         Reviewed by Darin Fisher.
606
607         Add a USE() macro to control use of the built-in UTF8 codec
608         https://bugs.webkit.org/show_bug.cgi?id=55189
609
610         Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
611
612         * features.gypi:
613
614 2011-02-24  James Kozianski  <koz@chromium.org>
615
616         Reviewed by Ojan Vafai.
617
618         Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
619         https://bugs.webkit.org/show_bug.cgi?id=55112
620
621         * src/ChromeClientImpl.cpp:
622         (WebKit::ChromeClientImpl::registerProtocolHandler):
623
624 2011-02-24  James Robinson  <jamesr@chromium.org>
625
626         Unreviewed, rolling out r79584.
627         http://trac.webkit.org/changeset/79584
628         https://bugs.webkit.org/show_bug.cgi?id=44797
629
630         [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
631         not set
632
633         * features.gypi:
634         * public/WebSettings.h:
635         * src/ChromeClientImpl.cpp:
636         * src/ChromeClientImpl.h:
637         * src/WebSettingsImpl.cpp:
638         * src/WebSettingsImpl.h:
639
640 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
641
642         Unreviewed, rolling out r79570.
643         http://trac.webkit.org/changeset/79570
644         https://bugs.webkit.org/show_bug.cgi?id=54874
645
646         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
647         was not updated
648
649         * public/WebFrame.h:
650         * src/WebFrameImpl.cpp:
651         * src/WebFrameImpl.h:
652
653 2011-02-24  David Dorwin  <ddorwin@chromium.org>
654
655         Reviewed by Eric Seidel.
656
657         Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
658
659         fullscreen javascript bindings not implemented for v8
660         https://bugs.webkit.org/show_bug.cgi?id=44797
661
662         * features.gypi:
663         * public/WebSettings.h:
664         * src/ChromeClientImpl.cpp:
665         (WebKit::ChromeClientImpl::supportsFullScreenForElement):
666         (WebKit::ChromeClientImpl::enterFullScreenForElement):
667         (WebKit::ChromeClientImpl::exitFullScreenForElement):
668         (WebKit::ChromeClientImpl::fullScreenRendererChanged):
669         * src/ChromeClientImpl.h:
670         * src/WebSettingsImpl.cpp:
671         (WebKit::WebSettingsImpl::setFullScreenEnabled):
672         * src/WebSettingsImpl.h:
673
674 2011-02-24  Patrick Gansterer  <paroga@webkit.org>
675
676         Reviewed by Eric Seidel.
677
678         Rename PLATFORM(SKIA) to USE(SKIA)
679         https://bugs.webkit.org/show_bug.cgi?id=55090
680
681         * src/GraphicsContext3DChromium.cpp:
682         (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
683         (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
684         * src/GraphicsContext3DInternal.h:
685         * src/WebViewImpl.cpp:
686         (WebKit::WebViewImpl::doPixelReadbackToCanvas):
687
688 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
689
690         Reviewed by Alexey Proskuryakov.
691
692         DumpRenderTree should reset frame opener between tests.
693         https://bugs.webkit.org/show_bug.cgi?id=54874
694
695         Added clearOpener method to WebFrame.
696
697         * public/WebFrame.h:
698         * src/WebFrameImpl.cpp:
699         (WebKit::WebFrameImpl::clearOpener):
700         * src/WebFrameImpl.h:
701
702 2011-02-24  Adam Klein  <adamk@chromium.org>
703
704         Reviewed by Darin Fisher.
705
706         [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
707         https://bugs.webkit.org/show_bug.cgi?id=54516
708
709         Add a new WebNetworkStateNotifier class with a single static method,
710         setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
711
712         * WebKit.gyp:
713         * public/WebNetworkStateNotifier.h: Added.
714         * src/WebNetworkStateNotifier.cpp: Added.
715         (WebKit::WebNetworkStateNotifier::setOnLine):
716
717 2011-02-24  Robert Kroeger <rjkroege@chromium.org>
718
719         Reviewed by Darin Fisher.
720
721         Added timestamps to PlatformTouchEvent etc.
722
723         PlatformTouchEvent doesn't have a timestamp and so
724         eventSender.leapForward cannot be used for touchevent based tests.
725         This change constructs PlatformTouchEvents with timestamps
726         provided from a WebTouchEvent on chromium. It also adds an enum
727         to make code referring to specific WebTouchPoints easier to read.
728
729         [chromium] [WebCore] [android] Touch events are missing time stamps
730         https://bugs.webkit.org/show_bug.cgi?id=53510
731
732         * public/WebTouchPoint.h:
733         (WebKit::WebTouchPoint::WebTouchPoint):
734         * src/WebInputEventConversion.cpp:
735         (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
736
737 2011-02-23  Adam Barth  <abarth@webkit.org>
738
739         Reviewed by James Robinson.
740
741         [Chromium] Use WebKitClient for OSRandomSource instead of trying to talk to the file system in the sandbox
742         https://bugs.webkit.org/show_bug.cgi?id=55093
743
744         We need to get OS randomness from the WebKit client rather than try to
745         get it from /dev/urandom directly because WebKit doesn't have access to
746         the file system when running inside the Chromium sandbox.
747
748         * WebKit.gyp:
749         * src/ChromiumOSRandomSource.cpp: Added.
750
751 2011-02-23  Adam Barth  <abarth@webkit.org>
752
753         Reviewed by James Robinson.
754
755         Roll Chromium DEPS
756         https://bugs.webkit.org/show_bug.cgi?id=55096
757
758         Rolling to the future, like a truck.
759
760         * DEPS:
761
762 2011-02-23  Adam Barth  <abarth@webkit.org>
763
764         Reviewed by Darin Fisher.
765
766         [Chromium] Add WebKitClient::cryptographicallyRandomValues
767         https://bugs.webkit.org/show_bug.cgi?id=55073
768
769         This patch adds a WebKit client API to get cryptographic randomness.
770         We'll use this API to gather seed randomness while inside the sandbox.
771
772         * public/WebKitClient.h:
773         (WebKit::WebKitClient::cryptographicallyRandomValues):
774
775 2011-02-23  Kenneth Russell  <kbr@google.com>
776
777         Unreviewed, rolling out r79387.
778         https://bugs.webkit.org/show_bug.cgi?id=54885
779
780         Reapply the code changes from r79038 since they weren't the root
781         cause of the test timeouts.
782
783         * src/WebKit.cpp:
784         (WebKit::initialize):
785
786 2011-02-23  Takashi Toyoshima  <toyoshim@chromium.org>
787
788         Reviewed by Shinichiro Hamaji.
789
790         [chromium] Control-Up/Down should be PageUp/Down on Mac.
791         https://bugs.webkit.org/show_bug.cgi?id=54606
792
793         * src/WebViewImpl.cpp:
794         (WebKit::WebViewImpl::scrollViewWithKeyboard):
795
796 2011-02-22  Kenneth Russell  <kbr@google.com>
797
798         Reviewed by James Robinson.
799
800         Many tests started timing out on the chrome mac canaries around r79035
801         https://bugs.webkit.org/show_bug.cgi?id=54885
802
803         Revert the code changes, but not the Chromium DEPS roll, from
804         r79038 to see whether this clears up the timing-out tests. Was not
805         able to reproduce the timeouts locally with a Release mode build
806         of DRT (on Snow Leopard).
807
808         * src/WebKit.cpp:
809         (WebKit::initialize):
810
811 2011-02-21  Nico Weber  <thakis@chromium.org>
812
813         Reviewed by James Robinson.
814
815         [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
816         https://bugs.webkit.org/show_bug.cgi?id=54920
817
818         Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
819         make it obvious it's not an override of
820         WebFrameClient::openFileSystem().
821
822         Remove a failed attempt to override it in WebWorkerClientImpl (the
823         override didn't change the behavior).
824
825         No intended functionality change.
826
827         * src/LocalFileSystemChromium.cpp:
828         (WebCore::LocalFileSystem::requestFileSystem):
829         Call new name.
830         * src/WebWorkerBase.cpp:
831         (WebKit::WebWorkerBase::openFileSystemForWorker):
832         Rename openFileSystem() to openFileSystemForWorker().
833         * src/WebWorkerBase.h:
834         Rename openFileSystem() to openFileSystemForWorker().
835         * src/WebWorkerClientImpl.h:
836         (WebKit::WebWorkerClientImpl::allowDatabase):
837         Remove unsuccessful (and pointless) override.
838
839 2011-02-22  Ilya Tikhonovsky  <loislo@chromium.org>
840
841         Reviewed by Pavel Feldman.
842
843         Web Inspector: flakyness of inspector tests.
844         https://bugs.webkit.org/show_bug.cgi?id=54729
845
846         As far as we have the protocol with sequence numbers we can simplify test harness support
847         and drop out chomium specific methods.
848
849         * src/js/DevTools.js:
850
851 2011-02-21  Pavel Podivilov  <podivilov@chromium.org>
852
853         Reviewed by Pavel Feldman.
854
855         Web Inspector: move source mapping from SourceFrame to ScriptsPanel.
856         https://bugs.webkit.org/show_bug.cgi?id=54645
857
858         * src/js/Tests.js:
859         (.TestSuite.prototype._checkExecutionLine):
860
861 2011-02-21  Nico Weber  <thakis@chromium.org>
862
863         Reviewed by James Robinson.
864
865         [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual
866         https://bugs.webkit.org/show_bug.cgi?id=54923
867
868         Rename PopupContainer::show() to showInRect(), to make it obvious it's
869         not an override of ScrollView::show().
870
871         No intended functionality change.
872
873         * src/WebViewImpl.cpp:
874         (WebKit::WebViewImpl::applyAutoFillSuggestions):
875
876 2011-02-21  Nico Weber  <thakis@chromium.org>
877
878         Reviewed by Kent Tamura.
879
880         [chromium] ChromePluginPrintContext::begin() fails to override superclass method
881         https://bugs.webkit.org/show_bug.cgi?id=54914
882
883         Update subclass method signature to match superclass again. This
884         regressed in http://trac.webkit.org/changeset/71964
885
886         * src/WebFrameImpl.cpp:
887         (WebKit::ChromePluginPrintContext::begin):
888
889 2011-02-17  Ryosuke Niwa  <rniwa@webkit.org>
890
891         Reviewed by Kent Tamura.
892
893         Rename Position::node() to Position::deprecatedNode()
894         https://bugs.webkit.org/show_bug.cgi?id=54622
895
896         Done the rename. All calls to node() are replaced by calls to deprecatedNode().
897
898         * src/WebViewImpl.cpp:
899         (WebKit::WebViewImpl::setComposition): Check the nullity of startContainer() instead of startPosition()->node().
900         (WebKit::WebViewImpl::confirmComposition): Ditto.
901         (WebKit::WebViewImpl::textInputType):
902         (WebKit::WebViewImpl::caretOrSelectionBounds):
903
904 2011-02-19  Brian Ryner  <bryner@chromium.org>
905
906         Reviewed by Adam Barth.
907
908         Add missing #includes of DocumentLoader.h, needed since the transitive
909         include through Document.h is removed.
910         https://bugs.webkit.org/show_bug.cgi?id=50489
911
912         * src/WebPageSerializerImpl.cpp:
913         * src/WebSearchableFormData.cpp:
914
915 2011-02-19  Charlie Reis  <creis@chromium.org>
916
917         Reviewed by Mihai Parparita.
918
919         Ensure loading has stopped in HistoryController::goToItem
920         https://bugs.webkit.org/show_bug.cgi?id=54517
921
922         Call Page::goToItem instead of HistoryController::goToItem, so that
923         FrameLoader::stopAllLoaders is called first.  Also adds a callback in
924         FrameLoaderClient for checking for pseudo-back-forward URLs.
925
926         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
927
928         * src/FrameLoaderClientImpl.cpp:
929         (WebKit::FrameLoaderClientImpl::shouldStopLoadingForHistoryItem): Added.
930         * src/FrameLoaderClientImpl.h:
931         * src/WebFrameImpl.cpp:
932
933 2011-02-18  Dominic Mazzoni  <dmazzoni@google.com>
934
935         Reviewed by Dimitri Glazkov.
936
937         Marks any actions triggered by performDefaultAction as a user
938         gesture, so that a user with a screen reader isn't prevented from
939         performing operations that must be triggered by a user gesture.
940         https://bugs.webkit.org/show_bug.cgi?id=54759
941
942         * src/WebAccessibilityObject.cpp:
943         (WebKit::WebAccessibilityObject::performDefaultAction):
944
945 2011-02-18  Kenneth Russell  <kbr@google.com>
946
947         Reviewed by James Robinson.
948
949         [chromium] Clean up initialization of minimum timer interval
950         https://bugs.webkit.org/show_bug.cgi?id=54772
951
952         Rolled forward Chromium DEPS to pick up new webkit_support entry
953         point. Removed setting of default minimum timer interval, as this
954         is now done every time WebPreferences are applied.
955
956         Tested with Chromium DRT port built from WebKit workspace; ran
957         fast/dom/ layout tests.
958
959         * DEPS:
960         * src/WebKit.cpp:
961         (WebKit::initialize):
962
963 2011-02-18  Ben Vanik  <benvanik@google.com>
964
965         Reviewed by Kenneth Russell.
966
967         Bug 53940: Implement the OES_vertex_array_object WebGL extension
968         https://bugs.webkit.org/show_bug.cgi?id=53940
969
970         Stubbed out methods for the new OES_vertex_array_object methods.
971
972         * src/Extensions3DChromium.cpp:
973         (WebCore::Extensions3DChromium::createVertexArrayOES):
974         (WebCore::Extensions3DChromium::deleteVertexArrayOES):
975         (WebCore::Extensions3DChromium::isVertexArrayOES):
976         (WebCore::Extensions3DChromium::bindVertexArrayOES):
977
978 2011-02-17  Yuzo Fujishima  <yuzo@google.com>
979
980         Reviewed by Shinichiro Hamaji.
981
982         Retry landing after fixing Chromium side.
983         Fix for Bug 54632 - [chromium] Printing causes view to scroll
984         https://bugs.webkit.org/show_bug.cgi?id=54632
985
986         Expose setScrollOffset such that Chromium can restore the scroll offset
987         after printing the document. The bug will be fixed when the counterpart
988         patch http://codereview.chromium.org/6539011/ is landed for Chromium.
989
990         * public/WebFrame.h:
991         * src/WebFrameImpl.cpp:
992         (WebKit::WebFrameImpl::setScrollOffset):
993         * src/WebFrameImpl.h:
994
995 2011-02-17  Andrew Wilson  <atwilson@chromium.org>
996
997         Unreviewed, rolling out r78936.
998         http://trac.webkit.org/changeset/78936
999         https://bugs.webkit.org/show_bug.cgi?id=54632
1000
1001         Breaks chromium build
1002
1003         * public/WebFrame.h:
1004         * src/WebFrameImpl.cpp:
1005         * src/WebFrameImpl.h:
1006
1007 2011-02-17  Yuzo Fujishima  <yuzo@google.com>
1008
1009         Reviewed by Shinichiro Hamaji.
1010
1011         Fix for Bug 54632 - [chromium] Printing causes view to scroll
1012         https://bugs.webkit.org/show_bug.cgi?id=54632
1013
1014         Expose setScrollOffset such that Chromium can restore the scroll offset
1015         after printing the document. The bug will be fixed when the counterpart
1016         patch http://codereview.chromium.org/6539011/ is landed for Chromium.
1017
1018         * public/WebFrame.h:
1019         * src/WebFrameImpl.cpp:
1020         (WebKit::WebFrameImpl::setScrollOffset):
1021         * src/WebFrameImpl.h:
1022
1023 2011-02-17  W. James MacLean  <wjmaclean@chromium.org>
1024
1025         Reviewed by James Robinson.
1026
1027         [chromium] Add command-line flag to enable composite to offscreen texture.
1028         https://bugs.webkit.org/show_bug.cgi?id=52311
1029
1030         Add plumbing to allow command-line switch to enable offscreen compositing. Function
1031         LayerRendererChromium::copyOffscreenTextureToDisplay used for now to mimic
1032         normal renderer operation.
1033
1034         * public/WebSettings.h:
1035         * src/WebSettingsImpl.cpp:
1036         (WebKit::WebSettingsImpl::WebSettingsImpl):
1037         (WebKit::WebSettingsImpl::setCompositeToTextureEnabled):
1038         * src/WebSettingsImpl.h:
1039         (WebKit::WebSettingsImpl::compositeToTextureEnabled):
1040         * src/WebViewImpl.cpp:
1041         (WebKit::WebViewImpl::doComposite):
1042
1043 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
1044
1045         Reviewed by Adam Roben.
1046
1047         HTML5 <details> and <summary>: localized text
1048         https://bugs.webkit.org/show_bug.cgi?id=54260
1049
1050         The method defaultDetailsSummaryText was added to LocalizedStrings. It is used to provide
1051         the default label to be used by a <details> tag that has no <summary> child.
1052
1053         * src/LocalizedStrings.cpp:
1054         (WebCore::defaultDetailsSummaryText):
1055
1056 2011-02-17  Steve Lacey  <sjl@chromium.org>
1057
1058         Reviewed by Darin Fisher.
1059
1060         Roll chromium deps to 75190. Includes new dependency
1061         on libjingle.
1062
1063         https://bugs.webkit.org/show_bug.cgi?id=54588
1064
1065         * DEPS:
1066
1067 2011-02-17  Pavel Podivilov  <podivilov@chromium.org>
1068
1069         Unreviewed, interactive ui test fix for r78808.
1070
1071         * src/js/Tests.js:
1072         (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1073         (.TestSuite.prototype._waitUntilScriptsAreParsed):
1074
1075 2011-02-16  Brian Ryner  <bryner@chromium.org>
1076
1077         Reviewed by Darin Fisher.
1078
1079         Split the socket address field into separate IP address and port fields.
1080         This will make the field less error-prone to parse, for example when
1081         dealing with IPv6 literals.
1082         https://bugs.webkit.org/show_bug.cgi?id=54607
1083
1084         * public/WebURLResponse.h:
1085         * src/WebURLResponse.cpp:
1086         (WebKit::WebURLResponse::remoteIPAddress):
1087         (WebKit::WebURLResponse::setRemoteIPAddress):
1088         (WebKit::WebURLResponse::remotePort):
1089         (WebKit::WebURLResponse::setRemotePort):
1090
1091 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
1092
1093         Reviewed by Chris Fleizach.
1094
1095         Add new role for canvas elements.
1096
1097         https://bugs.webkit.org/show_bug.cgi?id=50126
1098
1099         * public/WebAccessibilityRole.h:
1100         * src/AssertMatchingEnums.cpp:
1101
1102 2011-02-16  Victoria Kirst  <vrk@google.com>
1103
1104         Reviewed by Kenneth Russell.
1105
1106         [chromium] Fix green pixels at edge of certain GPU-accelerated videos
1107         https://bugs.webkit.org/show_bug.cgi?id=54559
1108
1109         * src/VideoFrameChromiumImpl.cpp:
1110         (WebKit::VideoFrameChromiumImpl::width):
1111         (WebKit::VideoFrameChromiumImpl::height):
1112         (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1113         (WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
1114         * src/VideoFrameChromiumImpl.h:
1115
1116 2011-02-16  Jeremy Orlow  <jorlow@chromium.org>
1117
1118         Back out IndexedDB change thats no longer necessary
1119         https://bugs.webkit.org/show_bug.cgi?id=54603
1120
1121         Backing out 78645 as it turns out that it's not necessary.
1122
1123         * public/WebIDBFactory.h:
1124         (WebKit::WebIDBFactory::open):
1125         * src/AssertMatchingEnums.cpp:
1126         * src/IDBFactoryBackendProxy.cpp:
1127         * src/IDBFactoryBackendProxy.h:
1128         * src/WebIDBFactoryImpl.cpp:
1129         (WebKit::WebIDBFactoryImpl::open):
1130         * src/WebIDBFactoryImpl.h:
1131
1132 2011-02-16  David Grogan  <dgrogan@chromium.org>
1133
1134         Reviewed by Jeremy Orlow.
1135
1136         indexeddb: make setVersion fire blocked event if other connections are open
1137         https://bugs.webkit.org/show_bug.cgi?id=53728
1138
1139         * src/IDBCallbacksProxy.cpp:
1140         (WebCore::IDBCallbacksProxy::onBlocked):
1141         * src/IDBCallbacksProxy.h:
1142         * src/WebIDBCallbacksImpl.cpp:
1143         (WebCore::WebIDBCallbacksImpl::onBlocked):
1144         * src/WebIDBCallbacksImpl.h:
1145
1146 == Rolled over to ChangeLog-2011-02-16 ==