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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 6854035: Move blocked content from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: put back user_gesture Created 9 years, 8 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: content/browser/tab_contents/tab_contents_delegate.h
diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h
index 8995deb962cf16d9b61a5c619fe6be892c8f0a38..2b400426bf5c9ef9469b0b378605c4e0ceeb3c16 100644
--- a/content/browser/tab_contents/tab_contents_delegate.h
+++ b/content/browser/tab_contents/tab_contents_delegate.h
@@ -109,7 +109,9 @@ class TabContentsDelegate : public AutomationResourceRoutingDelegate {
virtual bool IsPopup(const TabContents* source) const;
// If |source| is constrained, returns the tab containing it. Otherwise
- // returns |source|.
+ // returns |source|. TODO(avi): Remove in favor of GetConstrainingContents on
+ // ContentSettingsTabHelperDelegate once uses of it in TabContents are
+ // removed.
virtual TabContents* GetConstrainingContents(TabContents* source);
// Returns true if constrained windows should be focused. Default is true.

Powered by Google App Engine
This is Rietveld 408576698