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

Unified Diff: components/infobars/core/infobar.h

Issue 1142153002: Simplify infobar expiry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android compile Created 5 years, 7 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: components/infobars/core/infobar.h
diff --git a/components/infobars/core/infobar.h b/components/infobars/core/infobar.h
index ebced9f5e2e44a4893b59bafe3b73f41e5097b61..28a15434d4b470a9c0f786be274b5f2a8a5479cb 100644
--- a/components/infobars/core/infobar.h
+++ b/components/infobars/core/infobar.h
@@ -50,9 +50,9 @@ class InfoBar : public gfx::AnimationDelegate {
InfoBarDelegate* delegate() const { return delegate_.get(); }
void set_container(InfoBarContainer* container) { container_ = container; }
- // Sets |owner_|. This also calls StoreActiveEntryUniqueID() on |delegate_|.
- // This must only be called once as there's no way to extract an infobar from
- // its owner without deleting it, for reparenting in another tab.
+ // Sets |owner_|. This must only be called once as there's no way to extract
+ // an infobar from its owner without deleting it, for reparenting in another
+ // tab.
void SetOwner(InfoBarManager* owner);
// Makes the infobar visible. If |animate| is true, the infobar is then

Powered by Google App Engine
This is Rietveld 408576698