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 EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_
H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_
H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_
H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_
H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/guest_view/browser/guest_view.h" | 11 #include "components/guest_view/browser/guest_view.h" |
12 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" | 12 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace content { | |
16 class BrowserContext; | |
17 } | |
18 | |
19 namespace extensions { | 15 namespace extensions { |
20 | 16 |
21 class ExtensionOptionsGuest | 17 class ExtensionOptionsGuest |
22 : public guest_view::GuestView<ExtensionOptionsGuest> { | 18 : public guest_view::GuestView<ExtensionOptionsGuest> { |
23 public: | 19 public: |
24 static const char Type[]; | 20 static const char Type[]; |
25 static guest_view::GuestViewBase* Create( | 21 static guest_view::GuestViewBase* Create( |
26 content::WebContents* owner_web_contents); | 22 content::WebContents* owner_web_contents); |
27 | 23 |
28 private: | 24 private: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> | 61 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> |
66 extension_options_guest_delegate_; | 62 extension_options_guest_delegate_; |
67 GURL options_page_; | 63 GURL options_page_; |
68 | 64 |
69 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
70 }; | 66 }; |
71 | 67 |
72 } // namespace extensions | 68 } // namespace extensions |
73 | 69 |
74 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 70 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
OLD | NEW |