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

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

Issue 3854001: Merge 62674 - First round UI touch up of DOMUI based network menu.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/dom_ui/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/menu_ui.h
===================================================================
--- chrome/browser/chromeos/dom_ui/menu_ui.h (revision 62848)
+++ chrome/browser/chromeos/dom_ui/menu_ui.h (working copy)
@@ -39,6 +39,11 @@
// Subclass can add extra parameters or replaces default configuration.
virtual void AddCustomConfigValues(DictionaryValue* config) const {};
+ // Subclass can add their values to |localized_strings| and those values
+ // are used by JS template builder and could be accessed via JS class
+ // LocalStrings.
+ virtual void AddLocalizedStrings(DictionaryValue* localized_strings) const {};
+
// A utility function which creates a concrete html file from
// template file |menu_resource_id| and |menu_css_id| for given |menu_class|.
// The resource_name is the host part of DOMUI's url.
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/dom_ui/menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698