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

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: Repair merge Created 8 years, 6 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 3dc11d9a3b0bc08311d6889e8442b533b2792bd7..dcaec450e6f51676d5eb82174ba313c3357e1933 100644
--- a/chrome/browser/ui/gtk/gtk_theme_service.cc
+++ b/chrome/browser/ui/gtk/gtk_theme_service.cc
@@ -113,6 +113,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) {
@@ -981,7 +982,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