Changeset 64567 in webkit
- Timestamp:
- Aug 3, 2010 11:08:25 AM (14 years ago)
- Location:
- trunk/WebKit/gtk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/gtk/ChangeLog
r64552 r64567 1 2010-08-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 3 Reviewed by Xan Lopez. 4 5 [GTK] Does not paint the node highlight used by the inspector 6 https://bugs.webkit.org/show_bug.cgi?id=43429 7 8 Implement highlighting the nodes when using the inspector. 9 10 * WebCoreSupport/InspectorClientGtk.cpp: 11 (WebKit::InspectorClient::highlight): 12 (WebKit::InspectorClient::hideHighlight): 13 * webkit/webkitwebview.cpp: 14 (webkit_web_view_expose_event): 15 1 16 2010-08-03 Xan Lopez <xlopez@igalia.com> 2 17 … … 149 164 (WebKit::ChromeClient::reachedApplicationCacheOriginQuota): 150 165 * WebCoreSupport/ChromeClientGtk.h: 151 152 166 2010-07-26 Steve Block <steveblock@google.com> 153 167 -
trunk/WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp
r62542 r64567 102 102 } 103 103 104 void InspectorClient::highlight(Node* node)105 { 106 notImplemented();104 void InspectorClient::highlight(Node*) 105 { 106 hideHighlight(); 107 107 } 108 108 109 109 void InspectorClient::hideHighlight() 110 110 { 111 notImplemented(); 111 // FIXME: we should be able to only invalidate the actual rects of 112 // the new and old nodes. We need to track the nodes, and take the 113 // actual highlight size into account when calculating the damage 114 // rect. 115 gtk_widget_queue_draw(GTK_WIDGET(m_inspectedWebView)); 112 116 } 113 117 -
trunk/WebKit/gtk/webkit/webkitwebview.cpp
r64524 r64567 550 550 } 551 551 } 552 553 ctx.save(); 554 ctx.clip(static_cast<IntRect>(event->area)); 555 frame->page()->inspectorController()->drawNodeHighlight(ctx); 556 ctx.restore(); 552 557 } 553 558
Note: See TracChangeset
for help on using the changeset viewer.