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

Unified Diff: chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h

Issue 10938033: Switch BlockedContentTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h b/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
index 3a842c193f82f608238be6c57ceca098da42031d..9936b9b901cf1cd1f30febd0ebbc9c4d5bdcf0c6 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
+++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
@@ -5,7 +5,9 @@
#ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_DELEGATE_H_
#define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_DELEGATE_H_
-class TabContents;
+namespace content {
+class WebContents;
+}
// Objects implement this interface to get notified about changes in the
// BlockedContentTabHelper and to provide necessary functionality.
@@ -13,7 +15,8 @@ class BlockedContentTabHelperDelegate {
public:
// If |source| is constrained, returns the tab containing it. Otherwise
// returns |source|.
- virtual TabContents* GetConstrainingTabContents(TabContents* source) = 0;
+ virtual content::WebContents* GetConstrainingWebContents(
+ content::WebContents* source) = 0;
protected:
virtual ~BlockedContentTabHelperDelegate();
« no previous file with comments | « chrome/browser/ui/blocked_content/blocked_content_tab_helper.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698