• darin@apple.com's avatar
    <https://webkit.org/b/119945> Some cleanup for PasteboardIOS · c13a747c
    darin@apple.com authored
    Reviewed by Andreas Kling.
    
    * platform/ios/PasteboardIOS.mm:
    (WebCore::Pasteboard::setFrame): Moved this function up near the
    create functions and constructors.
    (WebCore::documentFragmentWithRTF): Tweaked formatting.
    (WebCore::Pasteboard::documentFragmentForPasteboardItemAtIndex):
    Ditto.
    (WebCore::utiTypeFromCocoaType): Changed to use early return and removed
    an unneeded local variable.
    (WebCore::cocoaTypeFromHTMLClipboardType): Renamed the quaint qType and
    pbType local variables, and tweaked formatting.
    (WebCore::Pasteboard::clear): Tweaked comment.
    (WebCore::Pasteboard::readString): Tweaked formatting.
    (WebCore::addHTMLClipboardTypesForCocoaType): Tweaked formatting.
    (WebCore::Pasteboard::writeString): Streamlined logic and tweaked formatting
    (WebCore::Pasteboard::types): Renamed pbType to just type.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c13a747c
ChangeLog 2.16 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.