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

Unified Diff: chrome/browser/ui/blocked_content/blocked_content_tab_helper.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_tab_helper.h
diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.h b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.h
index 97691af7688c5a52140a12c70134c2267cf5a46d..21afc119385ab5663f07cff69234485b68f67bdb 100644
--- a/chrome/browser/ui/blocked_content/blocked_content_tab_helper.h
+++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper.h
@@ -25,10 +25,10 @@ class BlockedContentTabHelper : public content::WebContentsObserver {
BlockedContentTabHelperDelegate* delegate() const { return delegate_; }
void set_delegate(BlockedContentTabHelperDelegate* d) { delegate_ = d; }
- // Sets whether all TabContents added by way of |AddNewContents| should be
- // blocked. Transitioning from all blocked to not all blocked results in
- // reevaluating any blocked TabContents, which may result in unblocking some
- // of the blocked TabContents.
+ // Sets whether all TabContentsWrapper added by way of |AddNewContents| should
+ // be blocked. Transitioning from all blocked to not all blocked results in
+ // reevaluating any blocked TabContentsWrappers, which may result in
+ // unblocking some of the blocked TabContentsWrappers.
void SetAllContentsBlocked(bool value);
bool all_contents_blocked() const { return all_contents_blocked_; }
@@ -44,7 +44,7 @@ class BlockedContentTabHelper : public content::WebContentsObserver {
const gfx::Rect& initial_pos,
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.
@@ -68,10 +68,11 @@ class BlockedContentTabHelper : public content::WebContentsObserver {
// the blocked state.
void SendNotification(TabContentsWrapper* contents, bool blocked_state);
- // Object that holds any blocked TabContents spawned from this TabContents.
+ // Object that holds any blocked TabContentsWrapper spawned from this
+ // TabContentsWrapper.
scoped_ptr<BlockedContentContainer> blocked_contents_;
- // Should we block all child TabContents this attempts to spawn.
+ // Should we block all child TabContentsWrapper this attempts to spawn.
bool all_contents_blocked_;
// Owning TabContentsWrapper.
« no previous file with comments | « chrome/browser/ui/blocked_content/blocked_content_container.cc ('k') | chrome/browser/ui/bookmarks/bookmark_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698