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 "components/guest_view/browser/guest_view.h" | 9 #include "components/guest_view/browser/guest_view.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 29 matching lines...) Expand all Loading... |
40 bool ShouldHandleFindRequestsForEmbedder() const final; | 40 bool ShouldHandleFindRequestsForEmbedder() const final; |
41 | 41 |
42 // content::WebContentsDelegate implementation. | 42 // content::WebContentsDelegate implementation. |
43 content::WebContents* OpenURLFromTab( | 43 content::WebContents* OpenURLFromTab( |
44 content::WebContents* source, | 44 content::WebContents* source, |
45 const content::OpenURLParams& params) final; | 45 const content::OpenURLParams& params) final; |
46 void CloseContents(content::WebContents* source) final; | 46 void CloseContents(content::WebContents* source) final; |
47 bool HandleContextMenu(const content::ContextMenuParams& params) final; | 47 bool HandleContextMenu(const content::ContextMenuParams& params) final; |
48 bool ShouldCreateWebContents( | 48 bool ShouldCreateWebContents( |
49 content::WebContents* web_contents, | 49 content::WebContents* web_contents, |
50 int route_id, | 50 int32_t route_id, |
51 int main_frame_route_id, | 51 int32_t main_frame_route_id, |
| 52 int32_t main_frame_widget_route_id, |
52 WindowContainerType window_container_type, | 53 WindowContainerType window_container_type, |
53 const std::string& frame_name, | 54 const std::string& frame_name, |
54 const GURL& target_url, | 55 const GURL& target_url, |
55 const std::string& partition_id, | 56 const std::string& partition_id, |
56 content::SessionStorageNamespace* session_storage_namespace) final; | 57 content::SessionStorageNamespace* session_storage_namespace) final; |
57 | 58 |
58 // content::WebContentsObserver implementation. | 59 // content::WebContentsObserver implementation. |
59 void DidNavigateMainFrame(const content::LoadCommittedDetails& details, | 60 void DidNavigateMainFrame(const content::LoadCommittedDetails& details, |
60 const content::FrameNavigateParams& params) final; | 61 const content::FrameNavigateParams& params) final; |
61 | 62 |
62 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> | 63 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> |
63 extension_options_guest_delegate_; | 64 extension_options_guest_delegate_; |
64 GURL options_page_; | 65 GURL options_page_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 67 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace extensions | 70 } // namespace extensions |
70 | 71 |
71 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 72 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
OLD | NEW |