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

Side by Side Diff: chrome/browser/extensions/menu_manager.h

Issue 10918103: Give platform apps control over launcher right-click context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and fix conflicts Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698