Chromium Code Reviews| 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 { | |
| 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, | |
| 26 const content::ContextMenuParams& params); | |
|
Xi Han
2014/08/19 13:29:31
Please fix the format.
| |
| 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 |