summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/autofill/autofill_popup_controller_impl.h')
-rw-r--r--chrome/browser/ui/autofill/autofill_popup_controller_impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
index e854041..ecb981d 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
@@ -90,7 +90,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
base::string16* title,
base::string16* body) override;
bool RemoveSuggestion(int list_index) override;
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
const gfx::FontList& GetValueFontListForRow(size_t index) const override;
const gfx::FontList& GetLabelFontList() const override;
#endif
@@ -133,7 +133,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
virtual void InvalidateRow(size_t row);
// Protected so tests can access.
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// Calculates the desired width of the popup based on its contents.
int GetDesiredPopupWidth() const;
@@ -157,7 +157,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
// when the popup is reused it doesn't leak values between uses.
void ClearState();
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// Calculates and sets the bounds of the popup, including placing it properly
// to prevent it from going off the screen.
void UpdatePopupBounds();
@@ -180,7 +180,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
std::vector<base::string16> elided_values_;
std::vector<base::string16> elided_labels_;
-#if !defined(OS_ANDROID)
+#if !defined(OS_ANDROID) || defined(USE_AURA)
// The fonts for the popup text.
gfx::FontList value_font_list_;
gfx::FontList label_font_list_;