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

Unified Diff: chrome/browser/ui/gtk/gtk_theme_service.cc

Issue 10584042: Bring up a content settings icon for ungestured registerProtocolHandler call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge Created 8 years, 5 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/ui/gtk/gtk_theme_service.cc
diff --git a/chrome/browser/ui/gtk/gtk_theme_service.cc b/chrome/browser/ui/gtk/gtk_theme_service.cc
index 9ad5bfd1ab785d9edec175132ca4b600160f4504..fe7fb05490ad5aaf395cea62046adb9d1015e6ca 100644
--- a/chrome/browser/ui/gtk/gtk_theme_service.cc
+++ b/chrome/browser/ui/gtk/gtk_theme_service.cc
@@ -112,6 +112,7 @@ const int kAutocompleteImages[] = {
IDR_OMNIBOX_TTS_DARK,
IDR_GEOLOCATION_ALLOWED_LOCATIONBAR_ICON,
IDR_GEOLOCATION_DENIED_LOCATIONBAR_ICON,
+ IDR_REGISTER_PROTOCOL_HANDLER_LOCATIONBAR_ICON,
};
bool IsOverridableImage(int id) {
@@ -976,7 +977,8 @@ SkBitmap GtkThemeService::GenerateGtkThemeBitmap(int id) const {
case IDR_OMNIBOX_STAR:
case IDR_OMNIBOX_TTS:
case IDR_GEOLOCATION_ALLOWED_LOCATIONBAR_ICON:
- case IDR_GEOLOCATION_DENIED_LOCATIONBAR_ICON: {
+ case IDR_GEOLOCATION_DENIED_LOCATIONBAR_ICON:
+ case IDR_REGISTER_PROTOCOL_HANDLER_LOCATIONBAR_ICON: {
return GenerateTintedIcon(id, entry_tint_);
}
// In GTK mode, the dark versions of the omnibox icons only ever appear in

Powered by Google App Engine
This is Rietveld 408576698