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; |
38 | 39 |
39 // content::WebContentsDelegate implementation. | 40 // content::WebContentsDelegate implementation. |
40 content::WebContents* OpenURLFromTab( | 41 content::WebContents* OpenURLFromTab( |
41 content::WebContents* source, | 42 content::WebContents* source, |
42 const content::OpenURLParams& params) final; | 43 const content::OpenURLParams& params) final; |
43 void CloseContents(content::WebContents* source) final; | 44 void CloseContents(content::WebContents* source) final; |
44 bool HandleContextMenu(const content::ContextMenuParams& params) final; | 45 bool HandleContextMenu(const content::ContextMenuParams& params) final; |
45 bool ShouldCreateWebContents( | 46 bool ShouldCreateWebContents( |
46 content::WebContents* web_contents, | 47 content::WebContents* web_contents, |
47 content::SiteInstance* source_site_instance, | 48 content::SiteInstance* source_site_instance, |
(...skipping 13 matching lines...) Expand all Loading... |
61 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> | 62 std::unique_ptr<extensions::ExtensionOptionsGuestDelegate> |
62 extension_options_guest_delegate_; | 63 extension_options_guest_delegate_; |
63 GURL options_page_; | 64 GURL options_page_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 66 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace extensions | 69 } // namespace extensions |
69 | 70 |
70 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 71 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
OLD | NEW |