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

Side by Side Diff: chrome/renderer/custommenulistener.h

Issue 5639004: Implement a useful context menu for the blocked plug-in frame:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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_RENDERER_CUSTOMMENULISTENER_H_
brettw 2010/12/08 07:20:13 We would normally name this file (and the define)
Chris Evans 2010/12/08 16:33:52 Done.
6 #define CHROME_RENDERER_CUSTOMMENULISTENER_H_
7 #pragma once
8
9 // CustomMenuListener is an interface that can be registered with RenderView by
10 // classes that wish to use custom context menus. There is a single callback,
11 // MenuItemSelected(), which fires when a custom menu item was chosen by the
12 // user.
13 class CustomMenuListener {
14 public:
15 virtual void MenuItemSelected(unsigned id) = 0;
16
17 protected:
18 virtual ~CustomMenuListener() {}
19 };
20
21 #endif // CHROME_RENDERER_CUSTOMMENULISTENER_H_
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698