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

Unified Diff: chrome/browser/ui/toolbar/wrench_menu_model.cc

Issue 10825281: Re-Enable the About menu option on non-cros-touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/wrench_menu_model.cc
diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc
index 6f5e608d7e244f07a7c6e8f31456c952ba70add2..05d5faf939964ccb19f82378cec49c379f916074 100644
--- a/chrome/browser/ui/toolbar/wrench_menu_model.cc
+++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc
@@ -505,7 +505,11 @@ void WrenchMenuModel::Build() {
AddItemWithStringId(IDC_OPTIONS, IDS_SETTINGS);
- if (!is_touch_menu) {
+// On ChormeOS-Touch, we don't want the about/background pages menu options.
Ben Goodger (Google) 2012/08/09 21:24:10 ChromeOS
MAD 2012/08/09 21:45:32 D'Ho!ne. :-)
+#if defined(OS_CHROMEOS)
+ if (!is_touch_menu)
+#endif
+ {
AddItem(IDC_ABOUT, l10n_util::GetStringUTF16(IDS_ABOUT));
string16 num_background_pages = base::FormatNumber(
TaskManager::GetBackgroundPageCount());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698