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

Unified Diff: chrome/browser/ui/startup/session_crashed_infobar_delegate.cc

Issue 2382563003: Remove some more desktop infobar PNGs. (Closed)
Patch Set: pkasting review 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
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_infobar_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
diff --git a/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc b/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
index 28b6e950e1a73805a82aa231f0d3489ab9d095d1..b9e510faa0a5c0c02e77ff91081ea04f4555dee6 100644
--- a/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
+++ b/chrome/browser/ui/startup/session_crashed_infobar_delegate.cc
@@ -15,7 +15,6 @@
#include "chrome/common/url_constants.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
-#include "chrome/grit/theme_resources.h"
#include "components/infobars/core/infobar.h"
#include "components/strings/grit/components_chromium_strings.h"
#include "components/strings/grit/components_strings.h"
@@ -63,16 +62,8 @@ SessionCrashedInfoBarDelegate::GetIdentifier() const {
return SESSION_CRASHED_INFOBAR_DELEGATE;
}
-int SessionCrashedInfoBarDelegate::GetIconId() const {
- return IDR_INFOBAR_RESTORE_SESSION;
-}
-
gfx::VectorIconId SessionCrashedInfoBarDelegate::GetVectorIconId() const {
-#if defined(OS_MACOSX)
- return gfx::VectorIconId::VECTOR_ICON_NONE;
-#else
return gfx::VectorIconId::SAD_TAB;
-#endif
}
base::string16 SessionCrashedInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_infobar_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698