Summary: | Add a minimalistic SPI to control the layout size outside of WKView | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Benjamin Poulain <benjamin> | ||||
Component: | New Bugs | Assignee: | Benjamin Poulain <benjamin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ian, sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Benjamin Poulain
2014-01-21 20:58:39 PST
Created attachment 221826 [details]
Patch
Comment on attachment 221826 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=221826&action=review Looks good to me either way. > Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h:45 > +- (void)overrideMinimumLayoutSize:(CGSize)forcedSize; Might this work better as a property? E.g. @property (nonatomic) CGSize minimumLayoutSizeOverride; (In reply to comment #2) > (From update of attachment 221826 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=221826&action=review > > Looks good to me either way. > > > Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h:45 > > +- (void)overrideMinimumLayoutSize:(CGSize)forcedSize; > > Might this work better as a property? E.g. > > @property (nonatomic) CGSize minimumLayoutSizeOverride; The "looks good to me either way" was meant to be after that comment… Comment on attachment 221826 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=221826&action=review >>> Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h:45 >>> +- (void)overrideMinimumLayoutSize:(CGSize)forcedSize; >> >> Might this work better as a property? E.g. >> >> @property (nonatomic) CGSize minimumLayoutSizeOverride; > > The "looks good to me either way" was meant to be after that comment… I agree, a property might be better. r=me. Committed r162590: <http://trac.webkit.org/changeset/162590> |