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

Unified Diff: views/controls/menu/native_menu_win.cc

Issue 200123: Make the invisible items in the system menu of a few Indian language versions... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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: views/controls/menu/native_menu_win.cc
===================================================================
--- views/controls/menu/native_menu_win.cc (revision 26112)
+++ views/controls/menu/native_menu_win.cc (working copy)
@@ -302,7 +302,8 @@
NativeMenuWin::NativeMenuWin(Menu2Model* model, HWND system_menu_for)
: model_(model),
menu_(NULL),
- owner_draw_(l10n_util::NeedOverrideDefaultUIFont(NULL, NULL)),
+ owner_draw_(l10n_util::NeedOverrideDefaultUIFont(NULL, NULL) &&
+ !system_menu_for),
Finnur 2009/09/24 21:14:53 I understand that you don't want the menu to be ow
system_menu_for_(system_menu_for),
first_item_index_(0) {
}
« 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