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

Unified Diff: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h

Issue 10396003: Add Icon Support for New Autofill Gtk UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h
diff --git a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h
index 2d0997f9ecca34eb4eec2db1d9ac229c437daf00..4c13983750fe940ffde438c3765f972232505e25 100644
--- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h
+++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h
@@ -14,6 +14,9 @@
#include "ui/base/gtk/gtk_signal.h"
#include "ui/gfx/font.h"
+class GtkThemeService;
+class Profile;
+
namespace content {
class RenderViewHost;
}
@@ -33,6 +36,7 @@ class AutofillPopupViewGtk : public AutofillPopupView,
public KeyboardListener {
public:
AutofillPopupViewGtk(content::WebContents* web_contents,
+ GtkThemeService* theme_service,
AutofillExternalDelegate* external_delegate,
GtkWidget* parent);
virtual ~AutofillPopupViewGtk();
@@ -71,9 +75,7 @@ class AutofillPopupViewGtk : public AutofillPopupView,
GtkWidget* window_; // Strong reference.
PangoLayout* layout_; // Strong reference
gfx::Font font_;
-
- // The height of each individual Autofill popup row.
- int row_height_;
+ GtkThemeService* theme_service_;
// The size of the popup.
gfx::Rect bounds_;
« no previous file with comments | « chrome/browser/autofill/autofill_popup_view.cc ('k') | chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698