| 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 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t.h" |
| 11 | 12 |
| 12 namespace extensions { | 13 namespace extensions { |
| 13 | 14 |
| 14 class ChromeExtensionOptionsGuestDelegate | 15 class ChromeExtensionOptionsGuestDelegate |
| 15 : public ExtensionOptionsGuestDelegate { | 16 : public ExtensionOptionsGuestDelegate { |
| 16 public: | 17 public: |
| 17 ChromeExtensionOptionsGuestDelegate(); | 18 explicit ChromeExtensionOptionsGuestDelegate(ExtensionOptionsGuest* guest); |
| 18 virtual ~ChromeExtensionOptionsGuestDelegate(); | 19 virtual ~ChromeExtensionOptionsGuestDelegate(); |
| 19 | 20 |
| 20 virtual void CreateChromeExtensionWebContentsObserver( | 21 virtual void CreateChromeExtensionWebContentsObserver() OVERRIDE; |
| 21 content::WebContents* web_contents) OVERRIDE; | |
| 22 | 22 |
| 23 virtual bool HandleContextMenu( | 23 virtual bool HandleContextMenu( |
| 24 content::WebContents* web_contents, | |
| 25 const content::ContextMenuParams& params) OVERRIDE; | 24 const content::ContextMenuParams& params) OVERRIDE; |
| 26 | 25 |
| 27 virtual content::WebContents* OpenURLInNewTab( | 26 virtual content::WebContents* OpenURLInNewTab( |
| 28 content::WebContents* embedder_web_contents, | |
| 29 const content::OpenURLParams& params) OVERRIDE; | 27 const content::OpenURLParams& params) OVERRIDE; |
| 30 | 28 |
| 31 private: | 29 private: |
| 32 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate); | 30 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate); |
| 33 }; | 31 }; |
| 34 | 32 |
| 35 } // namespace extensions | 33 } // namespace extensions |
| 36 | 34 |
| 37 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_
GUEST_DELEGATE_H_ | 35 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_
GUEST_DELEGATE_H_ |
| OLD | NEW |