| 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 15 matching lines...) Expand all Loading... |
| 26 content::WebContents* owner_web_contents); | 26 content::WebContents* owner_web_contents); |
| 27 | 27 |
| 28 // GuestViewBase implementation. | 28 // GuestViewBase implementation. |
| 29 bool CanRunInDetachedState() const override; | 29 bool CanRunInDetachedState() const override; |
| 30 void CreateWebContents(const base::DictionaryValue& create_params, | 30 void CreateWebContents(const base::DictionaryValue& create_params, |
| 31 const WebContentsCreatedCallback& callback) override; | 31 const WebContentsCreatedCallback& callback) override; |
| 32 void DidInitialize(const base::DictionaryValue& create_params) override; | 32 void DidInitialize(const base::DictionaryValue& create_params) override; |
| 33 void DidStopLoading() override; | 33 void DidStopLoading() override; |
| 34 const char* GetAPINamespace() const override; | 34 const char* GetAPINamespace() const override; |
| 35 int GetTaskPrefix() const override; | 35 int GetTaskPrefix() const override; |
| 36 void GuestSizeChangedDueToAutoSize(const gfx::Size& old_size, | |
| 37 const gfx::Size& new_size) override; | |
| 38 bool IsAutoSizeSupported() const override; | |
| 39 bool IsPreferredSizeModeEnabled() const override; | 36 bool IsPreferredSizeModeEnabled() const override; |
| 40 void OnPreferredSizeChanged(const gfx::Size& pref_size) override; | 37 void OnPreferredSizeChanged(const gfx::Size& pref_size) override; |
| 41 | 38 |
| 42 // ExtensionFunctionDispatcher::Delegate implementation. | 39 // ExtensionFunctionDispatcher::Delegate implementation. |
| 43 content::WebContents* GetAssociatedWebContents() const override; | 40 content::WebContents* GetAssociatedWebContents() const override; |
| 44 | 41 |
| 45 // content::WebContentsDelegate implementation. | 42 // content::WebContentsDelegate implementation. |
| 46 content::WebContents* OpenURLFromTab( | 43 content::WebContents* OpenURLFromTab( |
| 47 content::WebContents* source, | 44 content::WebContents* source, |
| 48 const content::OpenURLParams& params) override; | 45 const content::OpenURLParams& params) override; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 74 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> | 71 scoped_ptr<extensions::ExtensionOptionsGuestDelegate> |
| 75 extension_options_guest_delegate_; | 72 extension_options_guest_delegate_; |
| 76 GURL options_page_; | 73 GURL options_page_; |
| 77 | 74 |
| 78 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 75 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
| 79 }; | 76 }; |
| 80 | 77 |
| 81 } // namespace extensions | 78 } // namespace extensions |
| 82 | 79 |
| 83 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ | 80 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUE
ST_H_ |
| OLD | NEW |