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

Unified Diff: ui/views/widget/widget_delegate.cc

Issue 933893003: Use standard icon/title in global error bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« ui/views/widget/widget_delegate.h ('K') | « ui/views/widget/widget_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget_delegate.cc
diff --git a/ui/views/widget/widget_delegate.cc b/ui/views/widget/widget_delegate.cc
index f37c4368a765e7e4c12bcaaa10669aca1fa05f74..c61a4ab940dc960385670dd31c7552d7a631c714 100644
--- a/ui/views/widget/widget_delegate.cc
+++ b/ui/views/widget/widget_delegate.cc
@@ -79,6 +79,14 @@ bool WidgetDelegate::ShouldShowWindowTitle() const {
return true;
}
+gfx::ImageSkia WidgetDelegate::GetWindowTitleIcon() {
+ return gfx::ImageSkia();
+}
+
+bool WidgetDelegate::ShouldShowWindowTitleIcon() const {
+ return false;
+}
+
bool WidgetDelegate::ShouldShowCloseButton() const {
return true;
}
« ui/views/widget/widget_delegate.h ('K') | « ui/views/widget/widget_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698