Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / guest_view / extension_options / chrome_extension_options_guest_delegate.h
blob007cdd989133e79efc9daa9c6fdd6fd042150a3b
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.
5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_
6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_
8 #include "extensions/browser/guest_view/extension_options/extension_options_guest_delegate.h"
10 #include "base/macros.h"
12 namespace extensions {
14 class ExtensionOptionsGuest;
16 class ChromeExtensionOptionsGuestDelegate
17 : public ExtensionOptionsGuestDelegate {
18 public:
19 explicit ChromeExtensionOptionsGuestDelegate(ExtensionOptionsGuest* guest);
20 ~ChromeExtensionOptionsGuestDelegate() override;
22 bool HandleContextMenu(const content::ContextMenuParams& params) override;
24 content::WebContents* OpenURLInNewTab(
25 const content::OpenURLParams& params) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate);
31 } // namespace extensions
33 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_