Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 11640007: Make the UI an observer of downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android clang build Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual void RunFileChooser( 158 virtual void RunFileChooser(
159 content::WebContents* tab, 159 content::WebContents* tab,
160 const content::FileChooserParams& params) OVERRIDE; 160 const content::FileChooserParams& params) OVERRIDE;
161 virtual void AddNewContents(content::WebContents* source, 161 virtual void AddNewContents(content::WebContents* source,
162 content::WebContents* new_contents, 162 content::WebContents* new_contents,
163 WindowOpenDisposition disposition, 163 WindowOpenDisposition disposition,
164 const gfx::Rect& initial_pos, 164 const gfx::Rect& initial_pos,
165 bool user_gesture, 165 bool user_gesture,
166 bool* was_blocked) OVERRIDE; 166 bool* was_blocked) OVERRIDE;
167 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 167 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
168 virtual void OnStartDownload(content::WebContents* source,
169 content::DownloadItem* download) OVERRIDE;
170 virtual void RequestMediaAccessPermission( 168 virtual void RequestMediaAccessPermission(
171 content::WebContents* web_contents, 169 content::WebContents* web_contents,
172 const content::MediaStreamRequest& request, 170 const content::MediaStreamRequest& request,
173 const content::MediaResponseCallback& callback) OVERRIDE; 171 const content::MediaResponseCallback& callback) OVERRIDE;
174 172
175 // content::NotificationObserver 173 // content::NotificationObserver
176 virtual void Observe(int type, 174 virtual void Observe(int type,
177 const content::NotificationSource& source, 175 const content::NotificationSource& source,
178 const content::NotificationDetails& details) OVERRIDE; 176 const content::NotificationDetails& details) OVERRIDE;
179 177
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 254
257 // Used to measure how long it's been since the host was created. 255 // Used to measure how long it's been since the host was created.
258 PerfTimer since_created_; 256 PerfTimer since_created_;
259 257
260 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 258 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
261 }; 259 };
262 260
263 } // namespace extensions 261 } // namespace extensions
264 262
265 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 263 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_ui_controller_unittest.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698