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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.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/libgtk2ui/gtk2_ui.cc
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
index 54087df1fb80d912f65338eee67edd896c2caa0b..e2fede6d4a3e8d97a79fb17a40a2cf917a7f8acb 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
@@ -107,6 +107,7 @@ const int kAutocompleteImages[] = {
IDR_OMNIBOX_TTS_DARK,
IDR_GEOLOCATION_ALLOWED_LOCATIONBAR_ICON,
IDR_GEOLOCATION_DENIED_LOCATIONBAR_ICON,
+ IDR_REGISTER_PROTOCOL_HANDLER_LOCATIONBAR_ICON,
};
// This table converts button ids into a pair of gtk-stock id and state.
@@ -680,7 +681,8 @@ SkBitmap Gtk2UI::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