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_EXTENSION_HOST_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_HOST_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 void RenderProcessGone(base::TerminationStatus status) override; | 102 void RenderProcessGone(base::TerminationStatus status) override; |
103 void DocumentAvailableInMainFrame() override; | 103 void DocumentAvailableInMainFrame() override; |
104 void DidStopLoading(content::RenderViewHost* render_view_host) override; | 104 void DidStopLoading(content::RenderViewHost* render_view_host) override; |
105 | 105 |
106 // content::WebContentsDelegate | 106 // content::WebContentsDelegate |
107 content::JavaScriptDialogManager* GetJavaScriptDialogManager( | 107 content::JavaScriptDialogManager* GetJavaScriptDialogManager( |
108 content::WebContents* source) override; | 108 content::WebContents* source) override; |
109 void AddNewContents(content::WebContents* source, | 109 void AddNewContents(content::WebContents* source, |
110 content::WebContents* new_contents, | 110 content::WebContents* new_contents, |
111 WindowOpenDisposition disposition, | 111 WindowOpenDisposition disposition, |
112 const gfx::Rect& initial_pos, | 112 const gfx::Rect& initial_rect, |
113 bool user_gesture, | 113 bool user_gesture, |
114 bool* was_blocked) override; | 114 bool* was_blocked) override; |
115 void CloseContents(content::WebContents* contents) override; | 115 void CloseContents(content::WebContents* contents) override; |
116 void RequestMediaAccessPermission( | 116 void RequestMediaAccessPermission( |
117 content::WebContents* web_contents, | 117 content::WebContents* web_contents, |
118 const content::MediaStreamRequest& request, | 118 const content::MediaStreamRequest& request, |
119 const content::MediaResponseCallback& callback) override; | 119 const content::MediaResponseCallback& callback) override; |
120 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 120 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
121 const GURL& security_origin, | 121 const GURL& security_origin, |
122 content::MediaStreamType type) override; | 122 content::MediaStreamType type) override; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 base::ElapsedTimer since_created_; | 201 base::ElapsedTimer since_created_; |
202 | 202 |
203 ObserverList<ExtensionHostObserver> observer_list_; | 203 ObserverList<ExtensionHostObserver> observer_list_; |
204 | 204 |
205 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 205 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
206 }; | 206 }; |
207 | 207 |
208 } // namespace extensions | 208 } // namespace extensions |
209 | 209 |
210 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_ | 210 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_ |
OLD | NEW |