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

Side by Side Diff: extensions/browser/guest_view/app_view/app_view_guest_delegate.h

Issue 486903002: Moving app_view to extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
(Empty)
1 // Copyright 2014 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 EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_DELEGATE_H_
7
8 #include "content/public/common/context_menu_params.h"
Fady Samuel 2014/08/20 14:33:25 Is this necessary? We are passing ContextMenuParam
9
10 namespace content {
11 class BrowserContext;
Fady Samuel 2014/08/20 14:33:25 Is this forward declaration necessary?
12 class WebContents;
13 }
14
15 namespace extensions {
16 class Extension;
Fady Samuel 2014/08/20 14:33:25 Is this forward declaration necessary?
17
18 // Interface to handle communication between AppView (in extensions) with the
19 // browser.
20 class AppViewGuestDelegate {
21 public:
22 virtual ~AppViewGuestDelegate();
23
24 // Shows the context menu for the guest.
25 // Returns true if the context menu was handled.
26 virtual bool HandleContextMenu(content::WebContents* web_contents,
27 const content::ContextMenuParams& params) = 0;
28 };
29
30 } // namespace extensions
31
32 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698