| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 enum Context { | 64 enum Context { |
| 65 ALL = 1, | 65 ALL = 1, |
| 66 PAGE = 2, | 66 PAGE = 2, |
| 67 SELECTION = 4, | 67 SELECTION = 4, |
| 68 LINK = 8, | 68 LINK = 8, |
| 69 EDITABLE = 16, | 69 EDITABLE = 16, |
| 70 IMAGE = 32, | 70 IMAGE = 32, |
| 71 VIDEO = 64, | 71 VIDEO = 64, |
| 72 AUDIO = 128, | 72 AUDIO = 128, |
| 73 FRAME = 256, | 73 FRAME = 256, |
| 74 LAUNCHER = 512 |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 // An item can be only one of these types. | 77 // An item can be only one of these types. |
| 77 enum Type { | 78 enum Type { |
| 78 NORMAL, | 79 NORMAL, |
| 79 CHECKBOX, | 80 CHECKBOX, |
| 80 RADIO, | 81 RADIO, |
| 81 SEPARATOR | 82 SEPARATOR |
| 82 }; | 83 }; |
| 83 | 84 |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 ExtensionIconManager icon_manager_; | 346 ExtensionIconManager icon_manager_; |
| 346 | 347 |
| 347 Profile* profile_; | 348 Profile* profile_; |
| 348 | 349 |
| 349 DISALLOW_COPY_AND_ASSIGN(MenuManager); | 350 DISALLOW_COPY_AND_ASSIGN(MenuManager); |
| 350 }; | 351 }; |
| 351 | 352 |
| 352 } // namespace extensions | 353 } // namespace extensions |
| 353 | 354 |
| 354 #endif // CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ | 355 #endif // CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ |
| OLD | NEW |