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

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

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSION_MENU_MANAGER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MENU_MANAGER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MENU_MANAGER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MENU_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 enum Context { 52 enum Context {
53 ALL = 1, 53 ALL = 1,
54 PAGE = 2, 54 PAGE = 2,
55 SELECTION = 4, 55 SELECTION = 4,
56 LINK = 8, 56 LINK = 8,
57 EDITABLE = 16, 57 EDITABLE = 16,
58 IMAGE = 32, 58 IMAGE = 32,
59 VIDEO = 64, 59 VIDEO = 64,
60 AUDIO = 128, 60 AUDIO = 128,
61 FRAME = 256, 61 FRAME = 256,
62 FILE = 512,
62 }; 63 };
63 64
64 // An item can be only one of these types. 65 // An item can be only one of these types.
65 enum Type { 66 enum Type {
66 NORMAL, 67 NORMAL,
67 CHECKBOX, 68 CHECKBOX,
68 RADIO, 69 RADIO,
69 SEPARATOR 70 SEPARATOR
70 }; 71 };
71 72
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 std::map<ExtensionMenuItem::Id, ExtensionMenuItem*> items_by_id_; 280 std::map<ExtensionMenuItem::Id, ExtensionMenuItem*> items_by_id_;
280 281
281 NotificationRegistrar registrar_; 282 NotificationRegistrar registrar_;
282 283
283 ExtensionIconManager icon_manager_; 284 ExtensionIconManager icon_manager_;
284 285
285 DISALLOW_COPY_AND_ASSIGN(ExtensionMenuManager); 286 DISALLOW_COPY_AND_ASSIGN(ExtensionMenuManager);
286 }; 287 };
287 288
288 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MENU_MANAGER_H_ 289 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MENU_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698