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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller.h

Issue 11817051: Elide text in the new Autofill UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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 | chrome/browser/ui/autofill/autofill_popup_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_popup_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller.h b/chrome/browser/ui/autofill/autofill_popup_controller.h
index e35859e945bfd0f44ad07c14a6a4060a563337ba..768c548fc39ace1543bab13fa6a1284681ed2998 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
@@ -43,15 +43,7 @@ class AutofillPopupController {
virtual int GetIconResourceID(const string16& resource_name) = 0;
// Returns true if the given index refers to an element that can be deleted.
- virtual bool CanDelete(size_t index) = 0;
-
-#if !defined(OS_ANDROID)
- // Calculates the width of the popup based on its contents.
- virtual int GetPopupRequiredWidth() = 0;
-
- // Calculates the height of the popup based on its contents.
- virtual int GetPopupRequiredHeight() = 0;
-#endif
+ virtual bool CanDelete(size_t index) const = 0;
// Updates the bounds of the popup and initiates a redraw.
virtual void SetPopupBounds(const gfx::Rect& bounds) = 0;
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_popup_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698