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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc

Issue 2343001: GTK: Mixed content scheme should be gray. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc
index 21f964f3df4ca7f173dece598f5a37e4a1a2826d..06f6ef7cd96562a7cefb0d470da141f9ddb870dc 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc
@@ -1439,6 +1439,8 @@ void AutocompleteEditViewGtk::EmphasizeURLComponents() {
gtk_text_buffer_apply_tag(text_buffer_, security_error_scheme_tag_,
&start, &end);
+ } else if (security_level_ == ToolbarModel::SECURITY_WARNING) {
+ gtk_text_buffer_apply_tag(text_buffer_, faded_text_tag_, &start, &end);
} else {
gtk_text_buffer_apply_tag(text_buffer_, secure_scheme_tag_, &start, &end);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698