[Webkit-unassigned] [Bug 27028] [gtk] Pasteboard/GtkClipboard can't handle the "text/html" target.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 11 11:29:37 PDT 2009


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





--- Comment #13 from Jiahua Huang <jhuangjiahua at gmail.com>  2009-07-11 11:29:36 PDT ---
(In reply to comment #12)
> Looks fine otherwise. r- for now as the patch needs to be revised.

use the enum in webkitwebview.h

> Index: GNUmakefile.am
> ===================================================================
> --- GNUmakefile.am	(revision 45707)
> +++ GNUmakefile.am	(working copy)
> @@ -193,6 +193,9 @@ libWebCore_la_SOURCES = \
>  	$(webcore_sources) \
>  	$(webcoregtk_sources)
>  
> +webcore_cppflags += \
> +	-I$(srcdir)/WebKit/gtk/
> +
>  libWebCore_la_CXXFLAGS = \
>  	$(global_cxxflags) \
>  	$(corekit_cflags)
> Index: WebCore/platform/gtk/PasteboardGtk.cpp
> ===================================================================
> --- WebCore/platform/gtk/PasteboardGtk.cpp	(revision 45707)
> +++ WebCore/platform/gtk/PasteboardGtk.cpp	(working copy)
> @@ -30,18 +30,12 @@
>  #include "RenderImage.h"
>  #include "KURL.h"
>  #include "markup.h"
> +#include "webkit/webkitwebview.h"
>  
>  #include <gtk/gtk.h>
>  
>  namespace WebCore {
>  
> -/* FIXME: we must get rid of this and use the enum in webkitwebview.h someway */
> -typedef enum
> -{
> -    WEBKIT_WEB_VIEW_TARGET_INFO_HTML = - 1,
> -    WEBKIT_WEB_VIEW_TARGET_INFO_TEXT = - 2
> -} WebKitWebViewTargetInfo;
> -
>  class PasteboardSelectionData {
>  public:
>      PasteboardSelectionData(gchar* text, gchar* markup)

-- 
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