| 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" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // GuestViewBase implementation. | 28 // GuestViewBase implementation. |
| 29 bool CanRunInDetachedState() const final; | 29 bool CanRunInDetachedState() const final; |
| 30 void CreateWebContents(const base::DictionaryValue& create_params, | 30 void CreateWebContents(const base::DictionaryValue& create_params, |
| 31 const WebContentsCreatedCallback& callback) final; | 31 const WebContentsCreatedCallback& callback) final; |
| 32 void DidInitialize(const base::DictionaryValue& create_params) final; | 32 void DidInitialize(const base::DictionaryValue& create_params) final; |
| 33 void GuestViewDidStopLoading() final; | 33 void GuestViewDidStopLoading() final; |
| 34 const char* GetAPINamespace() const final; | 34 const char* GetAPINamespace() const final; |
| 35 int GetTaskPrefix() const final; | 35 int GetTaskPrefix() const final; |
| 36 bool IsPreferredSizeModeEnabled() const final; | 36 bool IsPreferredSizeModeEnabled() const final; |
| 37 void OnPreferredSizeChanged(const gfx::Size& pref_size) final; | 37 void OnPreferredSizeChanged(const gfx::Size& pref_size) final; |
| 38 bool ShouldHandleFindRequestsForEmbedder() const final; | |
| 39 | 38 |
| 40 // content::WebContentsDelegate implementation. | 39 // content::WebContentsDelegate implementation. |
| 41 content::WebContents* OpenURLFromTab( | 40 content::WebContents* OpenURLFromTab( |
| 42 content::WebContents* source, | 41 content::WebContents* source, |
| 43 const content::OpenURLParams& params) final; | 42 const content::OpenURLParams& params) final; |
| 44 void CloseContents(content::WebContents* source) final; | 43 void CloseContents(content::WebContents* source) final; |
| 45 bool HandleContextMenu(const content::ContextMenuParams& params) final; | 44 bool HandleContextMenu(const content::ContextMenuParams& params) final; |
| 46 bool ShouldCreateWebContents( | 45 bool ShouldCreateWebContents( |
| 47 content::WebContents* web_contents, | 46 content::WebContents* web_contents, |
| 48 content::SiteInstance* source_site_instance, | 47 content::SiteInstance* source_site_instance, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 62 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> | 61 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> |
| 63 extension_options_guest_delegate_; | 62 extension_options_guest_delegate_; |
| 64 GURL options_page_; | 63 GURL options_page_; |
| 65 | 64 |
| 66 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 65 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 } // namespace extensions | 68 } // namespace extensions |
| 70 | 69 |
| 71 #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 |