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

Unified Diff: chrome/browser/android/hung_renderer_infobar_delegate.cc

Issue 1384153003: Introduce a way to define Android-only IDR values that doesn't require (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shortcircuit pointless lookup Created 5 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: chrome/browser/android/hung_renderer_infobar_delegate.cc
diff --git a/chrome/browser/android/hung_renderer_infobar_delegate.cc b/chrome/browser/android/hung_renderer_infobar_delegate.cc
index 40473a987250167c7ff58dfd26167c7710bdd942..7b35b1c9f6f39bdca334ffd9f0e7ca3f7feb697d 100644
--- a/chrome/browser/android/hung_renderer_infobar_delegate.cc
+++ b/chrome/browser/android/hung_renderer_infobar_delegate.cc
@@ -6,12 +6,12 @@
#include "base/callback.h"
#include "base/metrics/histogram.h"
+#include "chrome/browser/android/android_theme_resources.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/grit/generated_resources.h"
#include "components/infobars/core/infobar.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/result_codes.h"
-#include "grit/theme_resources.h"
#include "ui/base/l10n/l10n_util.h"
// static
@@ -48,7 +48,7 @@ HungRendererInfoBarDelegate::AsHungRendererInfoBarDelegate() {
}
int HungRendererInfoBarDelegate::GetIconId() const {
- return IDR_INFOBAR_FROZEN_TAB;
+ return IDR_ANDROID_INFOBAR_FROZEN_TAB;
}
base::string16 HungRendererInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc ('k') | chrome/browser/android/resource_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698