1 2011-03-07 Bill Budge <bbudge@chromium.org>
3 Reviewed by David Levin.
5 AssociatedURLLoader does not support Cross Origin Requests
6 https://bugs.webkit.org/show_bug.cgi?id=53925
8 No tests needed. Exposes no new functionality.
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):
29 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
31 Reviewed by Dimitri Glazkov.
33 Expose page dismissal event status through the WebKit API for chromium.
34 https://bugs.webkit.org/show_bug.cgi?id=55844
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
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).
47 * src/WebFrameImpl.cpp:
48 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
51 2011-03-06 Sheriff Bot <webkit.review.bot@gmail.com>
53 Unreviewed, rolling out r80436.
54 http://trac.webkit.org/changeset/80436
55 https://bugs.webkit.org/show_bug.cgi?id=55849
57 Broke Chromium compile across the board (Requested by dglazkov
61 * src/WebFrameImpl.cpp:
64 2011-03-06 Sreeram Ramachandran <sreeram@google.com>
66 Reviewed by Dimitri Glazkov.
68 Expose page dismissal event status through the WebKit API for chromium
69 https://bugs.webkit.org/show_bug.cgi?id=55844
72 * src/WebFrameImpl.cpp:
73 (WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
76 2011-03-05 Daniel Cheng <dcheng@chromium.org>
78 Reviewed by Dmitry Titov.
80 [chromium] Add method to WebClipboard to read images from the clipboard.
81 https://bugs.webkit.org/show_bug.cgi?id=55814
83 * public/WebClipboard.h:
84 (WebKit::WebClipboard::readImage):
86 2011-03-04 Adam Barth <abarth@webkit.org>
88 Reviewed by Dimitri Glazkov.
90 Remove unneeded round-trips through ../Source in the Chromium GYP build
91 https://bugs.webkit.org/show_bug.cgi?id=55795
95 2011-03-03 John Abd-El-Malek <jam@chromium.org>
97 Reviewed by Dimitri Glazkov.
99 [chromium] Get rid of IsContentFiltered flags since they're not used anymore
100 https://bugs.webkit.org/show_bug.cgi?id=55748
103 * public/WebURLResponse.h:
104 * src/WebURLResponse.cpp:
106 2011-03-04 James Su <suzhe@chromium.org>
108 Reviewed by Dimitri Glazkov.
110 [Chromium] keycode is always 0 when using non-Latin keyboard layout.
111 https://bugs.webkit.org/show_bug.cgi?id=54939
113 No intended functionality change.
115 * src/mac/WebInputEventFactory.mm:
116 (WebKit::windowsKeyCodeForKeyEvent): Use the same implementation
117 provided in WebCore/platform/mac/KeyEventMac.mm.
119 2011-03-04 Zelidrag Hornung <zelidrag@chromium.org>
121 Reviewed by David Levin
123 Expose ability to create instance of DOMFileSystem from Chromium side.
124 https://bugs.webkit.org/show_bug.cgi?id=55618
127 * src/WebFrameImpl.cpp:
128 (WebKit::WebFrameImpl::createFileSystem):
129 * src/WebFrameImpl.h:
131 2011-03-03 Nat Duca <nduca@chromium.org>
133 Reviewed by James Robinson.
135 [chromium] Create a LayerChromium layerTreeAsText. Add HUD to
136 LayerRendererChromium that draws compositor FPS and, optionally,
138 https://bugs.webkit.org/show_bug.cgi?id=54710
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):
151 2011-03-03 Alexey Proskuryakov <ap@apple.com>
153 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
156 * src/ChromeClientImpl.h:
158 2011-03-02 Alexey Proskuryakov <ap@apple.com>
160 Reviewed by Darin Adler.
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>
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.
171 2011-03-03 Sheriff Bot <webkit.review.bot@gmail.com>
173 Unreviewed, rolling out r80219.
174 http://trac.webkit.org/changeset/80219
175 https://bugs.webkit.org/show_bug.cgi?id=55680
177 "Causes several media test crashes" (Requested by tonyg-cr on
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:
198 2011-03-03 Dominic Mazzoni <dmazzoni@google.com>
200 Reviewed by Dimitri Glazkov.
202 Add an equals() method to WebAccessibilityObject.
203 https://bugs.webkit.org/show_bug.cgi?id=55631
205 * public/WebAccessibilityObject.h:
206 * src/WebAccessibilityObject.cpp:
207 (WebKit::WebAccessibilityObject::equals):
209 2011-03-03 Pavel Podivilov <podivilov@chromium.org>
211 Reviewed by Yury Semikhatsky.
213 Web Inspector: make selected call frame debugger presentation model property.
214 https://bugs.webkit.org/show_bug.cgi?id=55582
218 2011-03-03 Bill Budge <bbudge@chromium.org>
220 Reviewed by David Levin.
222 AssociatedURLLoader does not support Cross Origin Requests
223 https://bugs.webkit.org/show_bug.cgi?id=53925
225 No tests needed. Exposes no new functionality.
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):
246 2011-03-03 Steve Lacey <sjl@chromium.org>
248 Reviewed by Darin Fisher.
250 Wire up webkit metrics changes to chromium changes.
251 https://bugs.webkit.org/show_bug.cgi?id=54580
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:
262 2011-03-02 Daniel Cheng <dcheng@chromium.org>
264 Reviewed by David Levin.
266 Manually revert ChromiumDataObject changes.
267 https://bugs.webkit.org/show_bug.cgi?id=55627
270 * src/WebDragData.cpp:
271 (WebKit::WebDragData::initialize):
272 * src/WebViewImpl.cpp:
273 (WebKit::WebViewImpl::dragTargetDragEnter):
276 2011-03-02 David Grogan <dgrogan@chromium.org>
278 Reviewed by Jeremy Orlow.
280 IndexedDB: fire versionchange events when calling setVersion
281 https://bugs.webkit.org/show_bug.cgi?id=55095
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:
306 2011-03-02 Sheriff Bot <webkit.review.bot@gmail.com>
308 Unreviewed, rolling out r80139.
309 http://trac.webkit.org/changeset/80139
310 https://bugs.webkit.org/show_bug.cgi?id=55620
312 failing and crashing tests on Snow Leopard bot (Requested by
315 * public/WebGeolocationClientMock.h:
316 * src/WebGeolocationClientMock.cpp:
318 2011-03-02 Daniel Cheng <dcheng@chromium.org>
320 Revert frame-specific WebClipboard changes
321 https://bugs.webkit.org/show_bug.cgi?id=55617
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.
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):
337 2011-03-02 Tony Chang <tony@chromium.org>
339 Unreviewed, rolling chromium DEPS to r76362.
341 https://bugs.webkit.org/show_bug.cgi?id=55564
345 2011-02-28 Jeremy Orlow <jorlow@chromium.org>
347 Reviewed by James Robinson.
349 Split IDBCursor.value into IDBCursor.primaryKey and IDBCursor.value
350 https://bugs.webkit.org/show_bug.cgi?id=55443
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:
365 2011-03-02 Daniel Cheng <dcheng@chromium.org>
367 Reviewed by David Levin.
369 Add feature define for data transfer items
370 https://bugs.webkit.org/show_bug.cgi?id=55510
374 2011-01-26 John Knottenbelt <jknotten@chromium.org>
376 Detach Geolocation from Frame when Page destroyed.
377 https://bugs.webkit.org/show_bug.cgi?id=52877
379 Add accessors to the WebGeolocationClientMock to allow the number of
380 pending geolocation permission requests to be queried.
382 * public/WebGeolocationClientMock.h:
383 * src/WebGeolocationClientMock.cpp:
384 (WebKit::WebGeolocationClientMock::numberOfPendingPermissionRequests):
386 2011-03-01 David Grogan <dgrogan@chromium.org>
388 Reviewed by Jeremy Orlow.
390 IndexedDB: public webkit interfaces for firing versionchange events to IDBDatabase objects
391 https://bugs.webkit.org/show_bug.cgi?id=55548
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):
401 2011-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
403 Unreviewed, rolling out r80079.
404 http://trac.webkit.org/changeset/80079
405 https://bugs.webkit.org/show_bug.cgi?id=55547
407 "Broke the Win debug build?" (Requested by dcheng on #webkit).
411 2011-03-01 Daniel Cheng <dcheng@chromium.org>
413 Reviewed by David Levin.
415 Add feature define for data transfer items
416 https://bugs.webkit.org/show_bug.cgi?id=55510
420 2011-03-01 Jeremy Orlow <jorlow@chromium.org>
422 Reviewed by James Robinson.
424 Add a primaryKey method to IDBCursor
425 https://bugs.webkit.org/show_bug.cgi?id=55518
427 In prep for https://bugs.webkit.org/show_bug.cgi?id=55443
429 * public/WebIDBCursor.h:
430 (WebKit::WebIDBCursor::primaryKey):
432 2011-02-28 Chang Shu <cshu@webkit.org>
434 Reviewed by Ryosuke Niwa.
436 Remove the support of Frame::isContentEditable and its dependencies.
437 https://bugs.webkit.org/show_bug.cgi?id=54292
439 Remove the WebKit side implementation.
441 * src/EditorClientImpl.cpp:
442 * src/EditorClientImpl.h:
444 2011-02-28 Avi Drissman <avi@google.com>
446 Reviewed by James Robinson.
448 WebCursorInfo needs to match enums in platform/Cursor.h
449 https://bugs.webkit.org/show_bug.cgi?id=55094
451 * public/WebCursorInfo.h:
452 * src/AssertMatchingEnums.cpp:
454 2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
456 Unreviewed, rolling out r78789.
457 http://trac.webkit.org/changeset/78789
458 https://bugs.webkit.org/show_bug.cgi?id=55409
460 Incorrect canvas fallback implementation (Requested by
461 inferno-sec on #webkit).
463 * public/WebAccessibilityRole.h:
464 * src/AssertMatchingEnums.cpp:
466 2011-02-28 Adam Klein <adamk@chromium.org>
468 Reviewed by Adam Barth.
470 [fileapi] Implement LocalFileSystem.resolveLocalFileSystemURI
471 https://bugs.webkit.org/show_bug.cgi?id=54774
473 * src/LocalFileSystemChromium.cpp:
474 (WebCore::LocalFileSystem::readFileSystem):
475 Removed size argument to readFileSystem()
477 2011-02-27 Pavel Feldman <pfeldman@chromium.org>
479 Reviewed by Darin Fisher.
481 Pass frame history state in the context menu parameters.
482 https://bugs.webkit.org/show_bug.cgi?id=55232
484 * public/WebContextMenuData.h:
485 * src/ContextMenuClientImpl.cpp:
486 (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
488 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
490 Reviewed by Pavel Feldman.
492 DumpRenderTree should reset frame opener between tests.
493 https://bugs.webkit.org/show_bug.cgi?id=54874
495 Added clearOpener method to WebFrame.
498 * src/WebFrameImpl.cpp:
499 (WebKit::WebFrameImpl::clearOpener):
500 * src/WebFrameImpl.h:
502 2011-02-26 Pavel Feldman <pfeldman@chromium.org>
504 Not reviewed: rolling chromium DEPS.
508 2011-02-26 Bill Budge <bbudge@chromium.org>
510 Reviewed by David Levin.
512 WebURLRequest, WebURLResponse properties should be passed to WebCore Layer
513 https://bugs.webkit.org/show_bug.cgi?id=54489
515 No tests needed. This is already tested by ui_tests, nacl_ui_tests, and nacl_sandbox_tests
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:
529 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
531 Unreviewed, rolling out r79764.
532 http://trac.webkit.org/changeset/79764
533 https://bugs.webkit.org/show_bug.cgi?id=55295
535 "broke Chromium builds" (Requested by rniwa on #webkit).
538 * src/WebFrameImpl.cpp:
539 * src/WebFrameImpl.h:
541 2011-02-26 David Dorwin <ddorwin@chromium.org>
543 Reviewed by Darin Fisher.
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.
547 fullscreen javascript bindings not implemented for v8
548 https://bugs.webkit.org/show_bug.cgi?id=44797
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:
562 2011-02-26 John Mellor <johnme@chromium.org>
564 Reviewed by Antonio Gomes.
566 [chromium] WebFrameImpl::m_totalMatchCount should be an int
567 https://bugs.webkit.org/show_bug.cgi?id=55134
569 WebFrameImpl::m_totalMatchCount should be an int instead of a size_t since it can be -1.
571 * src/WebFrameImpl.h:
573 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
575 Reviewed by Pavel Feldman.
577 DumpRenderTree should reset frame opener between tests.
578 https://bugs.webkit.org/show_bug.cgi?id=54874
580 Added clearOpener method to WebFrame.
583 * src/WebFrameImpl.cpp:
584 (WebKit::WebFrameImpl::clearOpener):
585 * src/WebFrameImpl.h:
587 2011-02-25 Tony Chang <tony@chromium.org>
589 Roll chromium deps to include RBGToHSL fix and ICU update.
593 2011-02-15 Brett Wilson <brettw@chromium.org>
595 Reviewed by Darin Fisher.
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
600 * src/WebViewImpl.cpp:
601 (WebKit::WebViewImpl::handleInputEvent):
603 2011-02-24 James Robinson <jamesr@chromium.org>
605 Reviewed by Darin Fisher.
607 Add a USE() macro to control use of the built-in UTF8 codec
608 https://bugs.webkit.org/show_bug.cgi?id=55189
610 Defaults USE(BUILTIN_UTF8_CODEC) to true for the Chromium port.
614 2011-02-24 James Kozianski <koz@chromium.org>
616 Reviewed by Ojan Vafai.
618 Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
619 https://bugs.webkit.org/show_bug.cgi?id=55112
621 * src/ChromeClientImpl.cpp:
622 (WebKit::ChromeClientImpl::registerProtocolHandler):
624 2011-02-24 James Robinson <jamesr@chromium.org>
626 Unreviewed, rolling out r79584.
627 http://trac.webkit.org/changeset/79584
628 https://bugs.webkit.org/show_bug.cgi?id=44797
630 [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
634 * public/WebSettings.h:
635 * src/ChromeClientImpl.cpp:
636 * src/ChromeClientImpl.h:
637 * src/WebSettingsImpl.cpp:
638 * src/WebSettingsImpl.h:
640 2011-02-24 Andrew Wilson <atwilson@chromium.org>
642 Unreviewed, rolling out r79570.
643 http://trac.webkit.org/changeset/79570
644 https://bugs.webkit.org/show_bug.cgi?id=54874
646 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
650 * src/WebFrameImpl.cpp:
651 * src/WebFrameImpl.h:
653 2011-02-24 David Dorwin <ddorwin@chromium.org>
655 Reviewed by Eric Seidel.
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.
659 fullscreen javascript bindings not implemented for v8
660 https://bugs.webkit.org/show_bug.cgi?id=44797
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:
674 2011-02-24 Patrick Gansterer <paroga@webkit.org>
676 Reviewed by Eric Seidel.
678 Rename PLATFORM(SKIA) to USE(SKIA)
679 https://bugs.webkit.org/show_bug.cgi?id=55090
681 * src/GraphicsContext3DChromium.cpp:
682 (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
683 (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
684 * src/GraphicsContext3DInternal.h:
685 * src/WebViewImpl.cpp:
686 (WebKit::WebViewImpl::doPixelReadbackToCanvas):
688 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
690 Reviewed by Alexey Proskuryakov.
692 DumpRenderTree should reset frame opener between tests.
693 https://bugs.webkit.org/show_bug.cgi?id=54874
695 Added clearOpener method to WebFrame.
698 * src/WebFrameImpl.cpp:
699 (WebKit::WebFrameImpl::clearOpener):
700 * src/WebFrameImpl.h:
702 2011-02-24 Adam Klein <adamk@chromium.org>
704 Reviewed by Darin Fisher.
706 [chromium] Add code to WebKit Chromium to allow access to NetworkStateNotifier
707 https://bugs.webkit.org/show_bug.cgi?id=54516
709 Add a new WebNetworkStateNotifier class with a single static method,
710 setOnLine(), which dispatches to WebCore's singleton NetworkStateNotifier.
713 * public/WebNetworkStateNotifier.h: Added.
714 * src/WebNetworkStateNotifier.cpp: Added.
715 (WebKit::WebNetworkStateNotifier::setOnLine):
717 2011-02-24 Robert Kroeger <rjkroege@chromium.org>
719 Reviewed by Darin Fisher.
721 Added timestamps to PlatformTouchEvent etc.
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.
729 [chromium] [WebCore] [android] Touch events are missing time stamps
730 https://bugs.webkit.org/show_bug.cgi?id=53510
732 * public/WebTouchPoint.h:
733 (WebKit::WebTouchPoint::WebTouchPoint):
734 * src/WebInputEventConversion.cpp:
735 (WebKit::PlatformTouchEventBuilder::PlatformTouchEventBuilder):
737 2011-02-23 Adam Barth <abarth@webkit.org>
739 Reviewed by James Robinson.
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
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.
749 * src/ChromiumOSRandomSource.cpp: Added.
751 2011-02-23 Adam Barth <abarth@webkit.org>
753 Reviewed by James Robinson.
756 https://bugs.webkit.org/show_bug.cgi?id=55096
758 Rolling to the future, like a truck.
762 2011-02-23 Adam Barth <abarth@webkit.org>
764 Reviewed by Darin Fisher.
766 [Chromium] Add WebKitClient::cryptographicallyRandomValues
767 https://bugs.webkit.org/show_bug.cgi?id=55073
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.
772 * public/WebKitClient.h:
773 (WebKit::WebKitClient::cryptographicallyRandomValues):
775 2011-02-23 Kenneth Russell <kbr@google.com>
777 Unreviewed, rolling out r79387.
778 https://bugs.webkit.org/show_bug.cgi?id=54885
780 Reapply the code changes from r79038 since they weren't the root
781 cause of the test timeouts.
784 (WebKit::initialize):
786 2011-02-23 Takashi Toyoshima <toyoshim@chromium.org>
788 Reviewed by Shinichiro Hamaji.
790 [chromium] Control-Up/Down should be PageUp/Down on Mac.
791 https://bugs.webkit.org/show_bug.cgi?id=54606
793 * src/WebViewImpl.cpp:
794 (WebKit::WebViewImpl::scrollViewWithKeyboard):
796 2011-02-22 Kenneth Russell <kbr@google.com>
798 Reviewed by James Robinson.
800 Many tests started timing out on the chrome mac canaries around r79035
801 https://bugs.webkit.org/show_bug.cgi?id=54885
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).
809 (WebKit::initialize):
811 2011-02-21 Nico Weber <thakis@chromium.org>
813 Reviewed by James Robinson.
815 [chromium] WebWorkerBase::openFileSystem confuses clang's -Woverloaded-virtual
816 https://bugs.webkit.org/show_bug.cgi?id=54920
818 Rename WebWorkerBase::openFileSystem() to openFileSystemForWorker() to
819 make it obvious it's not an override of
820 WebFrameClient::openFileSystem().
822 Remove a failed attempt to override it in WebWorkerClientImpl (the
823 override didn't change the behavior).
825 No intended functionality change.
827 * src/LocalFileSystemChromium.cpp:
828 (WebCore::LocalFileSystem::requestFileSystem):
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.
839 2011-02-22 Ilya Tikhonovsky <loislo@chromium.org>
841 Reviewed by Pavel Feldman.
843 Web Inspector: flakyness of inspector tests.
844 https://bugs.webkit.org/show_bug.cgi?id=54729
846 As far as we have the protocol with sequence numbers we can simplify test harness support
847 and drop out chomium specific methods.
849 * src/js/DevTools.js:
851 2011-02-21 Pavel Podivilov <podivilov@chromium.org>
853 Reviewed by Pavel Feldman.
855 Web Inspector: move source mapping from SourceFrame to ScriptsPanel.
856 https://bugs.webkit.org/show_bug.cgi?id=54645
859 (.TestSuite.prototype._checkExecutionLine):
861 2011-02-21 Nico Weber <thakis@chromium.org>
863 Reviewed by James Robinson.
865 [chromium] PopupContainer::show() confuses clang's -Woverloaded-virtual
866 https://bugs.webkit.org/show_bug.cgi?id=54923
868 Rename PopupContainer::show() to showInRect(), to make it obvious it's
869 not an override of ScrollView::show().
871 No intended functionality change.
873 * src/WebViewImpl.cpp:
874 (WebKit::WebViewImpl::applyAutoFillSuggestions):
876 2011-02-21 Nico Weber <thakis@chromium.org>
878 Reviewed by Kent Tamura.
880 [chromium] ChromePluginPrintContext::begin() fails to override superclass method
881 https://bugs.webkit.org/show_bug.cgi?id=54914
883 Update subclass method signature to match superclass again. This
884 regressed in http://trac.webkit.org/changeset/71964
886 * src/WebFrameImpl.cpp:
887 (WebKit::ChromePluginPrintContext::begin):
889 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
891 Reviewed by Kent Tamura.
893 Rename Position::node() to Position::deprecatedNode()
894 https://bugs.webkit.org/show_bug.cgi?id=54622
896 Done the rename. All calls to node() are replaced by calls to deprecatedNode().
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):
904 2011-02-19 Brian Ryner <bryner@chromium.org>
906 Reviewed by Adam Barth.
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
912 * src/WebPageSerializerImpl.cpp:
913 * src/WebSearchableFormData.cpp:
915 2011-02-19 Charlie Reis <creis@chromium.org>
917 Reviewed by Mihai Parparita.
919 Ensure loading has stopped in HistoryController::goToItem
920 https://bugs.webkit.org/show_bug.cgi?id=54517
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.
926 Test: http/tests/navigation/forward-to-fragment-fires-onload.html
928 * src/FrameLoaderClientImpl.cpp:
929 (WebKit::FrameLoaderClientImpl::shouldStopLoadingForHistoryItem): Added.
930 * src/FrameLoaderClientImpl.h:
931 * src/WebFrameImpl.cpp:
933 2011-02-18 Dominic Mazzoni <dmazzoni@google.com>
935 Reviewed by Dimitri Glazkov.
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
942 * src/WebAccessibilityObject.cpp:
943 (WebKit::WebAccessibilityObject::performDefaultAction):
945 2011-02-18 Kenneth Russell <kbr@google.com>
947 Reviewed by James Robinson.
949 [chromium] Clean up initialization of minimum timer interval
950 https://bugs.webkit.org/show_bug.cgi?id=54772
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.
956 Tested with Chromium DRT port built from WebKit workspace; ran
957 fast/dom/ layout tests.
961 (WebKit::initialize):
963 2011-02-18 Ben Vanik <benvanik@google.com>
965 Reviewed by Kenneth Russell.
967 Bug 53940: Implement the OES_vertex_array_object WebGL extension
968 https://bugs.webkit.org/show_bug.cgi?id=53940
970 Stubbed out methods for the new OES_vertex_array_object methods.
972 * src/Extensions3DChromium.cpp:
973 (WebCore::Extensions3DChromium::createVertexArrayOES):
974 (WebCore::Extensions3DChromium::deleteVertexArrayOES):
975 (WebCore::Extensions3DChromium::isVertexArrayOES):
976 (WebCore::Extensions3DChromium::bindVertexArrayOES):
978 2011-02-17 Yuzo Fujishima <yuzo@google.com>
980 Reviewed by Shinichiro Hamaji.
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
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.
991 * src/WebFrameImpl.cpp:
992 (WebKit::WebFrameImpl::setScrollOffset):
993 * src/WebFrameImpl.h:
995 2011-02-17 Andrew Wilson <atwilson@chromium.org>
997 Unreviewed, rolling out r78936.
998 http://trac.webkit.org/changeset/78936
999 https://bugs.webkit.org/show_bug.cgi?id=54632
1001 Breaks chromium build
1003 * public/WebFrame.h:
1004 * src/WebFrameImpl.cpp:
1005 * src/WebFrameImpl.h:
1007 2011-02-17 Yuzo Fujishima <yuzo@google.com>
1009 Reviewed by Shinichiro Hamaji.
1011 Fix for Bug 54632 - [chromium] Printing causes view to scroll
1012 https://bugs.webkit.org/show_bug.cgi?id=54632
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.
1018 * public/WebFrame.h:
1019 * src/WebFrameImpl.cpp:
1020 (WebKit::WebFrameImpl::setScrollOffset):
1021 * src/WebFrameImpl.h:
1023 2011-02-17 W. James MacLean <wjmaclean@chromium.org>
1025 Reviewed by James Robinson.
1027 [chromium] Add command-line flag to enable composite to offscreen texture.
1028 https://bugs.webkit.org/show_bug.cgi?id=52311
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.
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):
1043 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
1045 Reviewed by Adam Roben.
1047 HTML5 <details> and <summary>: localized text
1048 https://bugs.webkit.org/show_bug.cgi?id=54260
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.
1053 * src/LocalizedStrings.cpp:
1054 (WebCore::defaultDetailsSummaryText):
1056 2011-02-17 Steve Lacey <sjl@chromium.org>
1058 Reviewed by Darin Fisher.
1060 Roll chromium deps to 75190. Includes new dependency
1063 https://bugs.webkit.org/show_bug.cgi?id=54588
1067 2011-02-17 Pavel Podivilov <podivilov@chromium.org>
1069 Unreviewed, interactive ui test fix for r78808.
1072 (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
1073 (.TestSuite.prototype._waitUntilScriptsAreParsed):
1075 2011-02-16 Brian Ryner <bryner@chromium.org>
1077 Reviewed by Darin Fisher.
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
1084 * public/WebURLResponse.h:
1085 * src/WebURLResponse.cpp:
1086 (WebKit::WebURLResponse::remoteIPAddress):
1087 (WebKit::WebURLResponse::setRemoteIPAddress):
1088 (WebKit::WebURLResponse::remotePort):
1089 (WebKit::WebURLResponse::setRemotePort):
1091 2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
1093 Reviewed by Chris Fleizach.
1095 Add new role for canvas elements.
1097 https://bugs.webkit.org/show_bug.cgi?id=50126
1099 * public/WebAccessibilityRole.h:
1100 * src/AssertMatchingEnums.cpp:
1102 2011-02-16 Victoria Kirst <vrk@google.com>
1104 Reviewed by Kenneth Russell.
1106 [chromium] Fix green pixels at edge of certain GPU-accelerated videos
1107 https://bugs.webkit.org/show_bug.cgi?id=54559
1109 * src/VideoFrameChromiumImpl.cpp:
1110 (WebKit::VideoFrameChromiumImpl::width):
1111 (WebKit::VideoFrameChromiumImpl::height):
1112 (WebKit::VideoFrameChromiumImpl::requiredTextureSize):
1113 (WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
1114 * src/VideoFrameChromiumImpl.h:
1116 2011-02-16 Jeremy Orlow <jorlow@chromium.org>
1118 Back out IndexedDB change thats no longer necessary
1119 https://bugs.webkit.org/show_bug.cgi?id=54603
1121 Backing out 78645 as it turns out that it's not necessary.
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:
1132 2011-02-16 David Grogan <dgrogan@chromium.org>
1134 Reviewed by Jeremy Orlow.
1136 indexeddb: make setVersion fire blocked event if other connections are open
1137 https://bugs.webkit.org/show_bug.cgi?id=53728
1139 * src/IDBCallbacksProxy.cpp:
1140 (WebCore::IDBCallbacksProxy::onBlocked):
1141 * src/IDBCallbacksProxy.h:
1142 * src/WebIDBCallbacksImpl.cpp:
1143 (WebCore::WebIDBCallbacksImpl::onBlocked):
1144 * src/WebIDBCallbacksImpl.h:
1146 == Rolled over to ChangeLog-2011-02-16 ==