| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // content::WebContentsDelegate implementation. | 45 // content::WebContentsDelegate implementation. |
| 46 content::WebContents* OpenURLFromTab( | 46 content::WebContents* OpenURLFromTab( |
| 47 content::WebContents* source, | 47 content::WebContents* source, |
| 48 const content::OpenURLParams& params) override; | 48 const content::OpenURLParams& params) override; |
| 49 void CloseContents(content::WebContents* source) override; | 49 void CloseContents(content::WebContents* source) override; |
| 50 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 50 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 51 bool ShouldCreateWebContents( | 51 bool ShouldCreateWebContents( |
| 52 content::WebContents* web_contents, | 52 content::WebContents* web_contents, |
| 53 int route_id, | 53 int route_id, |
| 54 int main_frame_route_id, |
| 54 WindowContainerType window_container_type, | 55 WindowContainerType window_container_type, |
| 55 const base::string16& frame_name, | 56 const base::string16& frame_name, |
| 56 const GURL& target_url, | 57 const GURL& target_url, |
| 57 const std::string& partition_id, | 58 const std::string& partition_id, |
| 58 content::SessionStorageNamespace* session_storage_namespace) override; | 59 content::SessionStorageNamespace* session_storage_namespace) override; |
| 59 | 60 |
| 60 // content::WebContentsObserver implementation. | 61 // content::WebContentsObserver implementation. |
| 61 void DidNavigateMainFrame( | 62 void DidNavigateMainFrame( |
| 62 const content::LoadCommittedDetails& details, | 63 const content::LoadCommittedDetails& details, |
| 63 const content::FrameNavigateParams& params) override; | 64 const content::FrameNavigateParams& params) override; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 77 extension_options_guest_delegate_; | 78 extension_options_guest_delegate_; |
| 78 GURL options_page_; | 79 GURL options_page_; |
| 79 bool has_navigated_; | 80 bool has_navigated_; |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 82 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 } // namespace extensions | 85 } // namespace extensions |
| 85 | 86 |
| 86 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 87 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
| OLD | NEW |