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

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

Issue 10868116: Pass result of blockage across content API when new tab blocked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 virtual void HandleKeyboardEvent( 152 virtual void HandleKeyboardEvent(
153 content::WebContents* source, 153 content::WebContents* source,
154 const content::NativeWebKeyboardEvent& event) OVERRIDE; 154 const content::NativeWebKeyboardEvent& event) OVERRIDE;
155 virtual void ResizeDueToAutoResize(content::WebContents* source, 155 virtual void ResizeDueToAutoResize(content::WebContents* source,
156 const gfx::Size& new_size) OVERRIDE; 156 const gfx::Size& new_size) OVERRIDE;
157 virtual content::JavaScriptDialogCreator* 157 virtual content::JavaScriptDialogCreator*
158 GetJavaScriptDialogCreator() OVERRIDE; 158 GetJavaScriptDialogCreator() OVERRIDE;
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 bool 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) OVERRIDE; 166 bool user_gesture) OVERRIDE;
167 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 167 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
168 virtual void OnStartDownload(content::WebContents* source, 168 virtual void OnStartDownload(content::WebContents* source,
169 content::DownloadItem* download) OVERRIDE; 169 content::DownloadItem* download) OVERRIDE;
170 virtual void WebIntentDispatch( 170 virtual void WebIntentDispatch(
171 content::WebContents* web_contents, 171 content::WebContents* web_contents,
172 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; 172 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 // Used to measure how long it's been since the host was created. 259 // Used to measure how long it's been since the host was created.
260 PerfTimer since_created_; 260 PerfTimer since_created_;
261 261
262 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 262 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
263 }; 263 };
264 264
265 } // namespace extensions 265 } // namespace extensions
266 266
267 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 267 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698