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

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

Issue 10105030: TabContents -> WebContentsImpl, part 21. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: chrome/browser/ui/blocked_content/blocked_content_container.h
diff --git a/chrome/browser/ui/blocked_content/blocked_content_container.h b/chrome/browser/ui/blocked_content/blocked_content_container.h
index 3e20d6e6f7a1800c3a306c231af763bcb4209fc3..c0b1d531c1cc8ea7d3777ec200146b41827d8dee 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_container.h
+++ b/chrome/browser/ui/blocked_content/blocked_content_container.h
@@ -4,7 +4,7 @@
// Defines the public interface for the blocked content (including popup)
// notifications. This interface should only be used by the
-// BlockedContentTabHelper. Users and subclasses of TabContents/
+// BlockedContentTabHelper. Users and subclasses of WebContents/
// TabContentsWrapper should use the appropriate methods on
// BlockedContentTabHelper to access information about blocked content.
@@ -20,22 +20,22 @@
class TabContentsWrapper;
-// Takes ownership of TabContents that are unrequested popup windows.
+// Takes ownership of TabContentsWrappers that are unrequested popup windows.
class BlockedContentContainer : public BlockedContentTabHelperDelegate,
public content::WebContentsDelegate {
public:
- // Creates a container for a certain TabContents:
+ // Creates a container for a certain TabContentsWrapper:
explicit BlockedContentContainer(TabContentsWrapper* owner);
virtual ~BlockedContentContainer();
- // Adds a TabContents to this container. |bounds| are the window bounds
- // requested for the TabContents.
+ // Adds a TabContentsWrapper to this container. |bounds| are the window bounds
+ // requested for the TabContentsWrapper.
void AddTabContents(TabContentsWrapper* tab_contents,
WindowOpenDisposition disposition,
const gfx::Rect& bounds,
bool user_gesture);
- // Shows the blocked TabContents |tab_contents|.
+ // Shows the blocked TabContentsWrapper |tab_contents|.
void LaunchForContents(TabContentsWrapper* tab_contents);
// Returns the number of blocked contents.
@@ -90,7 +90,8 @@ class BlockedContentContainer : public BlockedContentTabHelperDelegate,
typedef std::vector<BlockedContent> BlockedContents;
- // The TabContents that owns and constrains this BlockedContentContainer.
+ // The TabContentsWrapper that owns and constrains this
+ // BlockedContentContainer.
TabContentsWrapper* owner_;
// Information about all blocked contents.
« no previous file with comments | « chrome/browser/ui/auto_login_prompter.cc ('k') | chrome/browser/ui/blocked_content/blocked_content_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698