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 CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ | |
| 7 | |
| 8 #include "content/public/common/context_menu_params.h" | |
| 9 #include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h" | |
| 10 | |
| 11 namespace extensions { | |
| 12 | |
| 13 class ChromeAppViewGuestDelegate : public AppViewGuestDelegate { | |
| 14 public: | |
| 15 ChromeAppViewGuestDelegate(); | |
| 16 virtual ~ChromeAppViewGuestDelegate(); | |
| 17 | |
| 18 virtual bool HandleContextMenu( | |
|
Xi Han
2014/08/18 21:29:11
To make the naming consistent with web_view, how a
| |
| 19 content::WebContents* web_contents, | |
| 20 const content::ContextMenuParams& params) OVERRIDE; | |
| 21 virtual const Extension* GetExtensionById( | |
|
Xi Han
2014/08/18 21:29:11
Please remove this function. See comments in app_v
| |
| 22 content::BrowserContext* context, | |
| 23 const std::string& id, | |
| 24 bool include_disabled) const OVERRIDE; | |
| 25 | |
| 26 private: | |
| 27 DISALLOW_COPY_AND_ASSIGN(ChromeAppViewGuestDelegate); | |
| 28 }; | |
| 29 | |
| 30 } // namespace extensions | |
| 31 | |
| 32 #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ | |
| OLD | NEW |