Summary: | Chromium Dev Tools: Separators are missing in the context menu. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||||||||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | eric, gustavo, webkit-ews, webkit.review.bot, xan.lopez, yurys | ||||||||||||
Priority: | P2 | ||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||
Hardware: | All | ||||||||||||||
OS: | All | ||||||||||||||
Attachments: |
|
Description
Pavel Feldman
2010-07-21 09:38:00 PDT
Created attachment 62203 [details]
[PATCH] Proposed fix.
Attachment 62203 [details] did not build on gtk: Build output: http://queues.webkit.org/results/3556318 Attachment 62203 [details] did not build on mac: Build output: http://queues.webkit.org/results/3383729 Attachment 62203 [details] did not build on qt: Build output: http://queues.webkit.org/results/3576327 Created attachment 62206 [details]
[PATCH] Oops. Attached too soon. Updated version.
Created attachment 62208 [details]
[PATCH] Cleaner solution.
Attachment 62208 [details] did not build on mac: Build output: http://queues.webkit.org/results/3612028 Comment on attachment 62208 [details]
[PATCH] Cleaner solution.
WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp:96
+ static_cast<ContextMenuAction>(ContextMenuItemLastCustomTag - 1),
This looks weird, why can't we use ContextMenuItemTagNoAction as before and include it into the if condition below in ContextMenuClientImpl.cpp ?
Created attachment 62269 [details]
[PATCH] Review comments addressed.
Created attachment 62270 [details]
[PATCH] Mac bot fixed.
Attachment 62269 [details] did not build on mac: Build output: http://queues.webkit.org/results/3618001 Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp M WebCore/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp M WebCore/platform/ContextMenu.cpp M WebCore/platform/ContextMenuItem.h M WebKit/chromium/ChangeLog M WebKit/chromium/src/ContextMenuClientImpl.cpp Committed r63884 |