Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: webkit/glue/webmenurunner_mac.h

Issue 9703067: mac: Move EventWithMenuAction() to the only file where it's called. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webmenurunner_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webmenurunner_mac.h
diff --git a/webkit/glue/webmenurunner_mac.h b/webkit/glue/webmenurunner_mac.h
index e12252612b53be73c78daebf8202d4ecfb64e7a6..1f134ab92321d27834009573a631fc99cfea6c39 100644
--- a/webkit/glue/webmenurunner_mac.h
+++ b/webkit/glue/webmenurunner_mac.h
@@ -58,16 +58,4 @@
@end // @interface WebMenuRunner
-namespace webkit_glue {
-// Helper function for users of WebMenuRunner, for manufacturing input events to
-// send to WebKit. If |item_chosen| is YES, we manufacture a mouse click event
-// that corresponds to the menu item that was selected, |selected_index|, based
-// on the position of the mouse click. Of |item_chosen| is NO, we create a
-// keyboard event that simulates an ESC (menu dismissal) action. The event is
-// designed to be sent to WebKit for processing by the PopupMenu class.
-NSEvent* EventWithMenuAction(BOOL item_chosen, int window_num,
- int item_height, int selected_index,
- NSRect menu_bounds, NSRect view_bounds);
-} // namespace webkit_glue
-
#endif // WEBKIT_GLUE_WEBMENURUNNER_MAC_H_
« no previous file with comments | « no previous file | webkit/glue/webmenurunner_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698