OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_HOST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 virtual void RunFileChooser( | 159 virtual void RunFileChooser( |
160 content::WebContents* tab, | 160 content::WebContents* tab, |
161 const content::FileChooserParams& params) OVERRIDE; | 161 const content::FileChooserParams& params) OVERRIDE; |
162 virtual void AddNewContents(content::WebContents* source, | 162 virtual void AddNewContents(content::WebContents* source, |
163 content::WebContents* new_contents, | 163 content::WebContents* new_contents, |
164 WindowOpenDisposition disposition, | 164 WindowOpenDisposition disposition, |
165 const gfx::Rect& initial_pos, | 165 const gfx::Rect& initial_pos, |
166 bool user_gesture, | 166 bool user_gesture, |
167 bool* was_blocked) OVERRIDE; | 167 bool* was_blocked) OVERRIDE; |
168 virtual void CloseContents(content::WebContents* contents) OVERRIDE; | 168 virtual void CloseContents(content::WebContents* contents) OVERRIDE; |
| 169 #if defined(OS_CHROMEOS) |
| 170 virtual bool ShouldSuppressDialogs() OVERRIDE; |
| 171 #endif |
169 virtual void OnStartDownload(content::WebContents* source, | 172 virtual void OnStartDownload(content::WebContents* source, |
170 content::DownloadItem* download) OVERRIDE; | 173 content::DownloadItem* download) OVERRIDE; |
171 virtual void WebIntentDispatch( | 174 virtual void WebIntentDispatch( |
172 content::WebContents* web_contents, | 175 content::WebContents* web_contents, |
173 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; | 176 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; |
174 virtual void RequestMediaAccessPermission( | 177 virtual void RequestMediaAccessPermission( |
175 content::WebContents* web_contents, | 178 content::WebContents* web_contents, |
176 const content::MediaStreamRequest* request, | 179 const content::MediaStreamRequest* request, |
177 const content::MediaResponseCallback& callback) OVERRIDE; | 180 const content::MediaResponseCallback& callback) OVERRIDE; |
178 | 181 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 263 |
261 // Used to measure how long it's been since the host was created. | 264 // Used to measure how long it's been since the host was created. |
262 PerfTimer since_created_; | 265 PerfTimer since_created_; |
263 | 266 |
264 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 267 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
265 }; | 268 }; |
266 | 269 |
267 } // namespace extensions | 270 } // namespace extensions |
268 | 271 |
269 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 272 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |