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

Unified Diff: chrome/browser/chromeos/dom_ui/network_menu_ui.h

Issue 3796008: Fixed some logic bugs in the Network Menu DOM UI (7343) (Closed)
Patch Set: Created 10 years, 2 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 | chrome/browser/chromeos/dom_ui/network_menu_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dom_ui/network_menu_ui.h
diff --git a/chrome/browser/chromeos/dom_ui/network_menu_ui.h b/chrome/browser/chromeos/dom_ui/network_menu_ui.h
index 4560c9c855122e6278f4baf7d30940b2b0401f8f..67027c8072256a542d3643623eddb9115448edf8 100644
--- a/chrome/browser/chromeos/dom_ui/network_menu_ui.h
+++ b/chrome/browser/chromeos/dom_ui/network_menu_ui.h
@@ -25,7 +25,8 @@ class NetworkMenuUI : public MenuUI {
// A callback method that is invoked when the JavaScript wants
// to invoke an action in the model.
// By convention the first member of 'values' describes the action.
- void ModelAction(const menus::MenuModel* model,
+ // Returns true if the menu should be closed.
+ bool ModelAction(const menus::MenuModel* model,
const ListValue* values);
// MenuUI overrides
« no previous file with comments | « no previous file | chrome/browser/chromeos/dom_ui/network_menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698