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

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

Issue 1042003: Initial version of an experimental Extensions Context Menu API.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_API_H__
7
8 #include "chrome/browser/extensions/extension_function.h"
9
10 class CreateContextMenuFunction : public SyncExtensionFunction {
11 ~CreateContextMenuFunction() {}
12 virtual bool RunImpl();
13 DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenu.create")
14 };
15
16 class RemoveContextMenuFunction : public SyncExtensionFunction {
17 ~RemoveContextMenuFunction() {}
18 virtual bool RunImpl();
19 DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenu.remove")
20 };
21
22 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_API_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698