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_APP_VIEW_APP_VIEW_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ |
7 | 7 |
8 #include "chrome/browser/guest_view/guest_view.h" | 8 #include "chrome/browser/guest_view/guest_view.h" |
9 | 9 |
10 class AppViewGuest : public GuestView<AppViewGuest> { | 10 class ExtensionOptionsGuest : public GuestView<ExtensionOptionsGuest> { |
11 public: | 11 public: |
12 static const char Type[]; | 12 static const char Type[]; |
13 | 13 |
14 AppViewGuest(content::BrowserContext* browser_context, | 14 ExtensionOptionsGuest(content::BrowserContext* browser_context, |
15 int guest_instance_id); | 15 int guest_instance_id); |
16 | 16 |
17 // GuestViewBase implementation. | 17 // GuestViewBase implementation |
18 virtual void CreateWebContents( | 18 virtual void CreateWebContents( |
19 const std::string& embedder_extension_id, | 19 const std::string& embedder_extension_id, |
20 int embedder_render_process_id, | 20 int embedder_render_process_id, |
21 const base::DictionaryValue& create_params, | 21 const base::DictionaryValue& create_params, |
22 const WebContentsCreatedCallback& callback) OVERRIDE; | 22 const WebContentsCreatedCallback& callback) OVERRIDE; |
23 virtual void DidAttachToEmbedder() OVERRIDE; | |
24 | 23 |
25 private: | 24 private: |
26 virtual ~AppViewGuest(); | 25 virtual ~ExtensionOptionsGuest(); |
27 }; | 26 }; |
28 | 27 |
29 #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_APP_VIEW_GUEST_H_ | 28 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H
_ |
OLD | NEW |