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

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

Issue 10984034: Revert 158691 - Give platform apps control over launcher right-click context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
75 }; 74 };
76 75
77 // An item can be only one of these types. 76 // An item can be only one of these types.
78 enum Type { 77 enum Type {
79 NORMAL, 78 NORMAL,
80 CHECKBOX, 79 CHECKBOX,
81 RADIO, 80 RADIO,
82 SEPARATOR 81 SEPARATOR
83 }; 82 };
84 83
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 ExtensionIconManager icon_manager_; 345 ExtensionIconManager icon_manager_;
347 346
348 Profile* profile_; 347 Profile* profile_;
349 348
350 DISALLOW_COPY_AND_ASSIGN(MenuManager); 349 DISALLOW_COPY_AND_ASSIGN(MenuManager);
351 }; 350 };
352 351
353 } // namespace extensions 352 } // namespace extensions
354 353
355 #endif // CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_ 354 #endif // CHROME_BROWSER_EXTENSIONS_MENU_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698