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 CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ |
6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ | 6 #define CHROME_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/guest_view.h" | 10 #include "extensions/browser/guest_view/guest_view.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual int GetTaskPrefix() const OVERRIDE; | 35 virtual int GetTaskPrefix() const OVERRIDE; |
36 virtual void GuestSizeChangedDueToAutoSize( | 36 virtual void GuestSizeChangedDueToAutoSize( |
37 const gfx::Size& old_size, | 37 const gfx::Size& old_size, |
38 const gfx::Size& new_size) OVERRIDE; | 38 const gfx::Size& new_size) OVERRIDE; |
39 virtual bool IsAutoSizeSupported() const OVERRIDE; | 39 virtual bool IsAutoSizeSupported() const OVERRIDE; |
40 | 40 |
41 // ExtensionFunctionDispatcher::Delegate implementation. | 41 // ExtensionFunctionDispatcher::Delegate implementation. |
42 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 42 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
43 | 43 |
44 // content::WebContentsDelegate implementation. | 44 // content::WebContentsDelegate implementation. |
| 45 virtual content::WebContents* OpenURLFromTab( |
| 46 content::WebContents* source, |
| 47 const content::OpenURLParams& params) OVERRIDE; |
45 virtual void CloseContents(content::WebContents* source) OVERRIDE; | 48 virtual void CloseContents(content::WebContents* source) OVERRIDE; |
46 virtual bool HandleContextMenu( | 49 virtual bool HandleContextMenu( |
47 const content::ContextMenuParams& params) OVERRIDE; | 50 const content::ContextMenuParams& params) OVERRIDE; |
48 virtual bool ShouldCreateWebContents( | 51 virtual bool ShouldCreateWebContents( |
49 content::WebContents* web_contents, | 52 content::WebContents* web_contents, |
50 int route_id, | 53 int route_id, |
51 WindowContainerType window_container_type, | 54 WindowContainerType window_container_type, |
52 const base::string16& frame_name, | 55 const base::string16& frame_name, |
53 const GURL& target_url, | 56 const GURL& target_url, |
54 const std::string& partition_id, | 57 const std::string& partition_id, |
(...skipping 10 matching lines...) Expand all Loading... |
65 void SetUpAutoSize(); | 68 void SetUpAutoSize(); |
66 | 69 |
67 scoped_ptr<extensions::ExtensionFunctionDispatcher> | 70 scoped_ptr<extensions::ExtensionFunctionDispatcher> |
68 extension_function_dispatcher_; | 71 extension_function_dispatcher_; |
69 GURL options_page_; | 72 GURL options_page_; |
70 | 73 |
71 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 74 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
72 }; | 75 }; |
73 | 76 |
74 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H
_ | 77 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H
_ |
OLD | NEW |