Bug 42761

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 Flags
[PATCH] Proposed fix.
none
[PATCH] Oops. Attached too soon. Updated version.
none
[PATCH] Cleaner solution.
none
[PATCH] Review comments addressed.
none
[PATCH] Mac bot fixed. yurys: review+, yurys: commit-queue+

Description Pavel Feldman 2010-07-21 09:38:00 PDT
Patch to follow.
Comment 1 Pavel Feldman 2010-07-21 10:16:51 PDT
Created attachment 62203 [details]
[PATCH] Proposed fix.
Comment 2 WebKit Review Bot 2010-07-21 10:19:25 PDT
Attachment 62203 [details] did not build on gtk:
Build output: http://queues.webkit.org/results/3556318
Comment 3 Eric Seidel (no email) 2010-07-21 10:22:14 PDT
Attachment 62203 [details] did not build on mac:
Build output: http://queues.webkit.org/results/3383729
Comment 4 Early Warning System Bot 2010-07-21 10:22:57 PDT
Attachment 62203 [details] did not build on qt:
Build output: http://queues.webkit.org/results/3576327
Comment 5 Pavel Feldman 2010-07-21 10:23:34 PDT
Created attachment 62206 [details]
[PATCH] Oops. Attached too soon. Updated version.
Comment 6 Pavel Feldman 2010-07-21 10:40:36 PDT
Created attachment 62208 [details]
[PATCH] Cleaner solution.
Comment 7 Eric Seidel (no email) 2010-07-21 10:47:28 PDT
Attachment 62208 [details] did not build on mac:
Build output: http://queues.webkit.org/results/3612028
Comment 8 Yury Semikhatsky 2010-07-21 22:31:48 PDT
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 ?
Comment 9 Pavel Feldman 2010-07-22 00:58:02 PDT
Created attachment 62269 [details]
[PATCH] Review comments addressed.
Comment 10 Pavel Feldman 2010-07-22 01:00:23 PDT
Created attachment 62270 [details]
[PATCH] Mac bot fixed.
Comment 11 Eric Seidel (no email) 2010-07-22 01:08:03 PDT
Attachment 62269 [details] did not build on mac:
Build output: http://queues.webkit.org/results/3618001
Comment 12 Pavel Feldman 2010-07-22 05:52:44 PDT
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