Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chromium] Add setters to WebFilterOperation for IPC pickling
https://bugs.webkit.org/show_bug.cgi?id=97147 Reviewed by James Robinson. Source/Platform: These methods allow us to restore a WebFilterOperation from a blob of opaque data. The pickling code needs to be able to create an empty object and then fill in the pieces, so these setters allow it to do so. Test: WebFilterOperationsTest.saveAndRestore * chromium/public/WebFilterOperation.h: (WebKit::WebFilterOperation::amount): (WebKit::WebFilterOperation::dropShadowOffset): (WebKit::WebFilterOperation::matrix): (WebKit::WebFilterOperation::zoomRect): (WebFilterOperation): (WebKit::WebFilterOperation::createEmptyFilter): (WebKit::WebFilterOperation::setType): (WebKit::WebFilterOperation::setAmount): (WebKit::WebFilterOperation::setDropShadowOffset): (WebKit::WebFilterOperation::setDropShadowColor): (WebKit::WebFilterOperation::setMatrix): (WebKit::WebFilterOperation::setZoomRect): * chromium/src/WebFilterOperation.cpp: Source/WebKit/chromium: * tests/FilterOperationsTest.cpp: (WebKit): (WebKit::TEST): Canonical link: https://commits.webkit.org/115401@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
4 changed files
with
197 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters