OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUE
ST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUE
ST_DELEGATE_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUE
ST_DELEGATE_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUE
ST_DELEGATE_H_ |
7 | 7 |
8 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" | 8 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 | 11 |
12 namespace extensions { | 12 namespace extensions { |
13 | 13 |
14 class ExtensionOptionsGuest; | 14 class ExtensionOptionsGuest; |
15 | 15 |
16 class ChromeExtensionOptionsGuestDelegate | 16 class ChromeExtensionOptionsGuestDelegate |
17 : public ExtensionOptionsGuestDelegate { | 17 : public ExtensionOptionsGuestDelegate { |
18 public: | 18 public: |
19 explicit ChromeExtensionOptionsGuestDelegate(ExtensionOptionsGuest* guest); | 19 explicit ChromeExtensionOptionsGuestDelegate(ExtensionOptionsGuest* guest); |
20 ~ChromeExtensionOptionsGuestDelegate() override; | 20 ~ChromeExtensionOptionsGuestDelegate() override; |
21 | 21 |
22 void DidInitialize() override; | |
23 | |
24 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 22 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
25 | 23 |
26 content::WebContents* OpenURLInNewTab( | 24 content::WebContents* OpenURLInNewTab( |
27 const content::OpenURLParams& params) override; | 25 const content::OpenURLParams& params) override; |
28 | 26 |
29 private: | 27 private: |
30 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate); | 28 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate); |
31 }; | 29 }; |
32 | 30 |
33 } // namespace extensions | 31 } // namespace extensions |
34 | 32 |
35 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_
GUEST_DELEGATE_H_ | 33 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_
GUEST_DELEGATE_H_ |
OLD | NEW |