OLD | NEW |
---|---|
(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" | |
9 | |
10 namespace content { | |
11 class BrowserContext; | |
12 class WebContents; | |
13 } | |
14 | |
15 namespace extensions { | |
16 class Extension; | |
17 | |
18 class AppViewGuestDelegate { | |
Yoyo Zhou
2014/08/19 21:55:08
This should have some (simple) class documentation
| |
19 public: | |
20 AppViewGuestDelegate(); | |
21 virtual ~AppViewGuestDelegate(); | |
22 | |
23 // Shows the context menu for the guest. | |
24 // Returns true if the context menu was handled. | |
25 virtual bool OnHandleContextMenu(content::WebContents* web_contents, | |
not at google - send to devlin
2014/08/19 20:19:02
Seems like this should be called just HandleContex
| |
26 const content::ContextMenuParams& params); | |
27 | |
28 private: | |
29 DISALLOW_COPY_AND_ASSIGN(AppViewGuestDelegate); | |
30 }; | |
31 | |
32 } // namespace extensions | |
33 | |
34 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_DELEGATE_H_ | |
OLD | NEW |