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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "extensions/browser/extension_function_dispatcher.h" | 9 #include "extensions/browser/extension_function_dispatcher.h" |
10 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" | 10 #include "extensions/browser/guest_view/extension_options/extension_options_gues
t_delegate.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 public: | 23 public: |
24 static const char Type[]; | 24 static const char Type[]; |
25 static extensions::GuestViewBase* Create( | 25 static extensions::GuestViewBase* Create( |
26 content::BrowserContext* browser_context, | 26 content::BrowserContext* browser_context, |
27 int guest_instance_id); | 27 int guest_instance_id); |
28 | 28 |
29 // GuestViewBase implementation. | 29 // GuestViewBase implementation. |
30 virtual void CreateWebContents( | 30 virtual void CreateWebContents( |
31 const std::string& embedder_extension_id, | 31 const std::string& embedder_extension_id, |
32 int embedder_render_process_id, | 32 int embedder_render_process_id, |
| 33 const GURL& embedder_site_url, |
33 const base::DictionaryValue& create_params, | 34 const base::DictionaryValue& create_params, |
34 const WebContentsCreatedCallback& callback) OVERRIDE; | 35 const WebContentsCreatedCallback& callback) OVERRIDE; |
35 virtual void DidAttachToEmbedder() OVERRIDE; | 36 virtual void DidAttachToEmbedder() OVERRIDE; |
36 virtual void DidInitialize() OVERRIDE; | 37 virtual void DidInitialize() OVERRIDE; |
37 virtual void DidStopLoading() OVERRIDE; | 38 virtual void DidStopLoading() OVERRIDE; |
38 virtual const char* GetAPINamespace() const OVERRIDE; | 39 virtual const char* GetAPINamespace() const OVERRIDE; |
39 virtual int GetTaskPrefix() const OVERRIDE; | 40 virtual int GetTaskPrefix() const OVERRIDE; |
40 virtual void GuestSizeChangedDueToAutoSize( | 41 virtual void GuestSizeChangedDueToAutoSize( |
41 const gfx::Size& old_size, | 42 const gfx::Size& old_size, |
42 const gfx::Size& new_size) OVERRIDE; | 43 const gfx::Size& new_size) OVERRIDE; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> | 77 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> |
77 extension_options_guest_delegate_; | 78 extension_options_guest_delegate_; |
78 GURL options_page_; | 79 GURL options_page_; |
79 | 80 |
80 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 81 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
81 }; | 82 }; |
82 | 83 |
83 } // namespace extensions | 84 } // namespace extensions |
84 | 85 |
85 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 86 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
OLD | NEW |