| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 void InvalidateRow(size_t row) override; | 31 void InvalidateRow(size_t row) override; |
| 32 void UpdateBoundsAndRedrawPopup() override; | 32 void UpdateBoundsAndRedrawPopup() override; |
| 33 | 33 |
| 34 // views::Views implementation | 34 // views::Views implementation |
| 35 void OnPaint(gfx::Canvas* canvas) override; | 35 void OnPaint(gfx::Canvas* canvas) override; |
| 36 | 36 |
| 37 // Draw the given autofill entry in |entry_rect|. | 37 // Draw the given autofill entry in |entry_rect|. |
| 38 void DrawAutofillEntry(gfx::Canvas* canvas, | 38 void DrawAutofillEntry(gfx::Canvas* canvas, |
| 39 int index, | 39 int index, |
| 40 const gfx::Rect& entry_rect); | 40 const gfx::Rect& entry_rect); |
| 41 // Draw http warning message entry in |entry_rect|. |
| 42 void DrawAutofillHttpWarningEntry(gfx::Canvas* canvas, |
| 43 int index, |
| 44 const gfx::Rect& entry_rect); |
| 41 | 45 |
| 42 AutofillPopupController* controller_; // Weak reference. | 46 AutofillPopupController* controller_; // Weak reference. |
| 43 | 47 |
| 44 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewViews); | 48 DISALLOW_COPY_AND_ASSIGN(AutofillPopupViewViews); |
| 45 }; | 49 }; |
| 46 | 50 |
| 47 } // namespace autofill | 51 } // namespace autofill |
| 48 | 52 |
| 49 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ | 53 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_POPUP_VIEW_VIEWS_H_ |
| OLD | NEW |