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

Unified Diff: chrome/browser/ui/views/autofill/autofill_popup_base_view.h

Issue 2694183005: Ensure autofill popup border is visible (Closed)
Patch Set: fixes Created 3 years, 10 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/views/autofill/autofill_popup_base_view.h
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h
index 2550510cd6cbdf952de8300d3e601d78e1cae71f..ea5d255f26ba29338b992464ca710bab4f480c71 100644
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h
@@ -38,6 +38,10 @@ class AutofillPopupBaseView : public views::WidgetDelegateView,
// Update size of popup and paint.
void DoUpdateBoundsAndRedrawPopup();
+ // Gets the bounds of the popup before any rounding. Derived
+ // classes should restrict their content to these bounds.
+ gfx::Rect GetPopupBounds() const;
+
private:
friend class AutofillPopupBaseViewTest;

Powered by Google App Engine
This is Rietveld 408576698