[Webkit-unassigned] [Bug 26988] Haiku-specific files for WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 16 06:24:50 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26988





--- Comment #17 from Maxime Simon <simon.maxime at gmail.com>  2009-07-16 06:24:49 PDT ---
(In reply to comment #11)
> (From update of attachment 32303 [details])
> > +void Pasteboard::writeSelection(Range* selectedRange, bool canSmartCopyOrDelete, Frame* frame)
> > +{
> > +    BMessage* data;
> > +
> > +    if (be_clipboard->Lock()) {
> > +        be_clipboard->Clear();
> > +        if ((data = be_clipboard->Data())) {
> > +            data->AddString("text/plain", BString(frame->selectedText()));
> > +            be_clipboard->Commit();
> > +        }
> > +        be_clipboard->Unlock();
> > +    }
> > +}
> 
> You'll want a bug to track supporting pasting of rich text.  Also i'm concerned
> about where be_clipboard comes from?  If it's the global pasteboard in haiku
> you don't want to use it here

Indeed be_clipboard is system pasteboard in Haiku.
So I used a clipboard which should be specific to WebKit.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list