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

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

Issue 10918275: [gtk] website settings bubble (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slightly simpler drawing Created 8 years, 3 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/content_setting_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc b/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
index 278c14f2f94ffeb1735f268181025d1700789bba..ca861247caa650a194abacb8be573fb150e0782a 100644
--- a/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/content_setting_bubble_gtk.cc
@@ -33,9 +33,6 @@ using content::WebContents;
namespace {
-// Padding between content and edge of bubble.
-const int kContentBorder = 7;
-
// The maximum width of a title entry in the content box. We elide anything
// longer than this.
const int kMaxLinkPixelSize = 500;
@@ -94,7 +91,8 @@ void ContentSettingBubbleGtk::BuildBubble() {
GtkThemeService* theme_provider = GtkThemeService::GetFrom(profile_);
GtkWidget* bubble_content = gtk_vbox_new(FALSE, ui::kControlSpacing);
- gtk_container_set_border_width(GTK_CONTAINER(bubble_content), kContentBorder);
+ gtk_container_set_border_width(GTK_CONTAINER(bubble_content),
+ ui::kContentAreaBorder);
const ContentSettingBubbleModel::BubbleContent& content =
content_setting_bubble_model_->bubble_content();
« no previous file with comments | « chrome/browser/ui/gtk/bubble/bubble_gtk.cc ('k') | chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698