Changeset 149371 in webkit
- Timestamp:
- Apr 30, 2013 8:58:41 AM (11 years ago)
- Location:
- trunk/Source/WebKit/gtk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r149125 r149371 1 2013-04-30 Ed Bartosh <bartosh@gmail.com> 2 3 [GTK] --minimal build fails with error: class WebCore::EventHandler' has no member named 'dragSourceEndedAt 4 https://bugs.webkit.org/show_bug.cgi?id=114299 5 6 Reviewed by Martin Robinson. 7 8 Wrapped code, related to drag&drop in #if ENABLE(DRAG_SUPPORT) 9 10 * webkit/webkitwebview.cpp: 11 (webkit_web_view_class_init): 12 (webkit_web_view_init): 13 1 14 2013-04-25 Joseph Pecoraro <pecoraro@apple.com> 2 15 -
trunk/Source/WebKit/gtk/webkit/webkitwebview.cpp
r148373 r149371 1490 1490 } 1491 1491 1492 #if ENABLE(DRAG_SUPPORT) 1492 1493 static void webkit_web_view_drag_end(GtkWidget* widget, GdkDragContext* context) 1493 1494 { … … 1585 1586 return TRUE; 1586 1587 } 1588 #endif // ENABLE(DRAG_SUPPORT) 1587 1589 1588 1590 #if GTK_CHECK_VERSION(2, 12, 0) … … 3101 3103 widgetClass->get_accessible = webkit_web_view_get_accessible; 3102 3104 widgetClass->screen_changed = webkit_web_view_screen_changed; 3105 #if ENABLE(DRAG_SUPPORT) 3103 3106 widgetClass->drag_end = webkit_web_view_drag_end; 3104 3107 widgetClass->drag_data_get = webkit_web_view_drag_data_get; … … 3107 3110 widgetClass->drag_drop = webkit_web_view_drag_drop; 3108 3111 widgetClass->drag_data_received = webkit_web_view_drag_data_received; 3112 #else 3113 widgetClass->drag_end = NULL; 3114 widgetClass->drag_data_get = NULL; 3115 widgetClass->drag_motion = NULL; 3116 widgetClass->drag_leave = NULL; 3117 widgetClass->drag_drop = NULL; 3118 widgetClass->drag_data_received = NULL; 3119 #endif 3109 3120 #if GTK_CHECK_VERSION(2, 12, 0) 3110 3121 widgetClass->query_tooltip = webkit_web_view_query_tooltip; … … 3757 3768 #endif 3758 3769 pageClients.editorClient = new WebKit::EditorClient(webView); 3770 #if ENABLE(DRAG_SUPPORT) 3759 3771 pageClients.dragClient = new WebKit::DragClient(webView); 3772 #endif 3760 3773 pageClients.inspectorClient = new WebKit::InspectorClient(webView); 3761 3774 … … 3825 3838 priv->subResources = adoptGRef(g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_object_unref)); 3826 3839 3840 #if ENABLE(DRAG_SUPPORT) 3827 3841 priv->dragAndDropHelper.setWidget(GTK_WIDGET(webView)); 3828 3842 gtk_drag_dest_set(GTK_WIDGET(webView), static_cast<GtkDestDefaults>(0), 0, 0, static_cast<GdkDragAction>(GDK_ACTION_COPY | GDK_ACTION_COPY | GDK_ACTION_MOVE | GDK_ACTION_LINK | GDK_ACTION_PRIVATE)); 3829 3843 gtk_drag_dest_set_target_list(GTK_WIDGET(webView), PasteboardHelper::defaultPasteboardHelper()->targetList()); 3844 #endif 3830 3845 3831 3846 priv->selfScrolling = false;
Note: See TracChangeset
for help on using the changeset viewer.