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

Unified Diff: chrome/browser/ui/views/external_tab_container_win.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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/external_tab_container_win.h
===================================================================
--- chrome/browser/ui/views/external_tab_container_win.h (revision 154307)
+++ chrome/browser/ui/views/external_tab_container_win.h (working copy)
@@ -111,7 +111,7 @@
const content::OpenURLParams& params) OVERRIDE;
virtual void NavigationStateChanged(const content::WebContents* source,
unsigned changed_flags) OVERRIDE;
- virtual void AddNewContents(content::WebContents* source,
+ virtual bool AddNewContents(content::WebContents* source,
content::WebContents* new_contents,
WindowOpenDisposition disposition,
const gfx::Rect& initial_pos,
@@ -125,7 +125,7 @@
const GURL& url) OVERRIDE;
virtual void ContentsZoomChange(bool zoom_in) OVERRIDE;
virtual gfx::NativeWindow GetFrameNativeWindow() OVERRIDE;
- virtual void WebContentsCreated(content::WebContents* source_contents,
+ virtual bool WebContentsCreated(content::WebContents* source_contents,
int64 source_frame_id,
const GURL& target_url,
content::WebContents* new_contents) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698