Chromium Code Reviews| Index: ui/views/controls/menu/menu_config.h |
| diff --git a/ui/views/controls/menu/menu_config.h b/ui/views/controls/menu/menu_config.h |
| index 7cfd5c0c24fea5efa7b023aaecc17e6bdea9e96a..37e684f9b094ffdfcc1ab0d09a529e899016ef07 100644 |
| --- a/ui/views/controls/menu/menu_config.h |
| +++ b/ui/views/controls/menu/menu_config.h |
| @@ -24,6 +24,14 @@ struct VIEWS_EXPORT MenuConfig { |
| // Returns the single shared MenuConfig instance, creating if necessary. |
| static const MenuConfig& instance(); |
| + // Going forward, every platform will use the new style menu. |
| + // However - for now only ChromeOS will use it in all situations and the |
|
sky
2012/08/21 03:03:25
aura
Mr4D (OOO till 08-26)
2012/08/21 15:37:16
Not entirely sure if that is (still) the same thin
|
| + // other OS'es will follow later and should remain as they are. Since this |
| + // is of temporary nature this fix changes as little as possible and |
| + // determines with this function if the new type or the old type should be |
| + // used. |
| + static const bool IsNewMenu(); |
| + |
| // Font used by menus. |
| gfx::Font font; |