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

Unified Diff: ui/message_center/views/toast_contents_view.cc

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: minor fixes Created 4 years, 2 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: ui/message_center/views/toast_contents_view.cc
diff --git a/ui/message_center/views/toast_contents_view.cc b/ui/message_center/views/toast_contents_view.cc
index ece02045e2fdcb49234ac0a46543c31cbeffa028..b67115a091ff9756978a0e97c3cee100b6b68b00 100644
--- a/ui/message_center/views/toast_contents_view.cc
+++ b/ui/message_center/views/toast_contents_view.cc
@@ -238,10 +238,6 @@ void ToastContentsView::AnimationCanceled(
}
// views::WidgetDelegate
-views::View* ToastContentsView::GetContentsView() {
- return this;
-}
-
void ToastContentsView::WindowClosing() {
if (!is_closing_ && collection_.get())
collection_->ForgetToast(this);

Powered by Google App Engine
This is Rietveld 408576698