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

Unified Diff: chrome/browser/android/fullscreen/fullscreen_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/fullscreen/fullscreen_infobar_delegate.cc
diff --git a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
index a202c776a57fbba462b02939c146b3eaeb6793bc..cf96e89c653626556c07e72e032b23465c90e879 100644
--- a/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
+++ b/chrome/browser/android/fullscreen/fullscreen_infobar_delegate.cc
@@ -7,6 +7,7 @@
#include "base/android/jni_string.h"
#include "base/memory/scoped_ptr.h"
#include "base/prefs/pref_service.h"
+#include "chrome/browser/android/android_theme_resources.h"
#include "chrome/browser/android/tab_android.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -15,7 +16,6 @@
#include "components/infobars/core/infobar.h"
#include "components/url_formatter/elide_url.h"
#include "grit/components_strings.h"
-#include "grit/theme_resources.h"
#include "jni/FullscreenInfoBarDelegate_jni.h"
#include "ui/base/l10n/l10n_util.h"
#include "url/gurl.h"
@@ -60,7 +60,7 @@ void FullscreenInfoBarDelegate::CloseFullscreenInfoBar(
}
int FullscreenInfoBarDelegate::GetIconId() const {
- return IDR_INFOBAR_FULLSCREEN;
+ return IDR_ANDROID_INFOBAR_FULLSCREEN;
}
base::string16 FullscreenInfoBarDelegate::GetMessageText() const {
« no previous file with comments | « chrome/browser/android/android_theme_resources.h ('k') | chrome/browser/android/hung_renderer_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698