Bug 116615

Summary: [EFL] Back, Forward and Stop should be hidden in context menu
Product: WebKit Reporter: Michal Pakula vel Rutka <mpakulavelrutka>
Component: WebKit EFLAssignee: Michal Pakula vel Rutka <mpakulavelrutka>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, gyuyoung.kim, lucas.de.marchi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch none

Description Michal Pakula vel Rutka 2013-05-22 07:04:25 PDT
SSIA
Comment 1 Michal Pakula vel Rutka 2013-05-22 07:27:16 PDT
Created attachment 202535 [details]
proposed patch
Comment 2 Anders Carlsson 2013-05-22 08:03:45 PDT
Comment on attachment 202535 [details]
proposed patch

Maybe this decision could be made by a call out to the PopupMenuClient?
Comment 3 Michal Pakula vel Rutka 2013-05-22 08:47:31 PDT
(In reply to comment #2)
> (From update of attachment 202535 [details])
> Maybe this decision could be made by a call out to the PopupMenuClient?

In case of back/forward it is possible, but I am not sure if I can made check inside UIProcess for reload/stop like DocumentLoader::isLoadingInAPISense.
Comment 4 Chris Dumez 2013-05-22 23:34:49 PDT
Comment on attachment 202535 [details]
proposed patch

One less #ifdef and it makes EFL use more common code which is always good. The items in question were not getting disabled for us anyway so it is best not to show them. r=me but let Gyuyoung have a look before landing as he may be the one who added this #ifdef in the first place.
Comment 5 Gyuyoung Kim 2013-05-22 23:44:23 PDT
There was no big reason to show those menu items. It just follows GTK port behavior. If the items doesn't work on EFL port now, I'm fine.
Comment 6 Gyuyoung Kim 2013-05-22 23:46:45 PDT
Comment on attachment 202535 [details]
proposed patch

I'd like to check API test with patch before landing.
Comment 7 Gyuyoung Kim 2013-05-22 23:55:28 PDT
Comment on attachment 202535 [details]
proposed patch

There is no problem on context menu API tests.
Comment 8 WebKit Commit Bot 2013-05-23 00:06:07 PDT
Comment on attachment 202535 [details]
proposed patch

Clearing flags on attachment: 202535

Committed r150575: <http://trac.webkit.org/changeset/150575>
Comment 9 WebKit Commit Bot 2013-05-23 00:06:12 PDT
All reviewed patches have been landed.  Closing bug.