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

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

Issue 107623002: Use the NativeTheme to create the text color for text during the generated card animation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Grow alpha for shading & border of overlay background as it approaches black. Created 7 years 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/autofill/autofill_dialog_view_delegate.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
index 1f035a999a1b76914e74e125d010d5802cc95f58..4389419dadcacf10f5dc09661341ad422181089a 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
@@ -32,6 +32,7 @@ class Rect;
namespace ui {
class ComboboxModel;
class MenuModel;
+class NativeTheme;
}
namespace autofill {
@@ -92,7 +93,7 @@ class AutofillDialogViewDelegate {
// Returns a struct full of data concerning what overlay, if any, should be
// displayed on top of the dialog.
- virtual DialogOverlayState GetDialogOverlay() = 0;
+ virtual DialogOverlayState GetDialogOverlay(const ui::NativeTheme* theme) = 0;
// Returns ranges to linkify in the text returned by |LegalDocumentsText()|.
virtual const std::vector<gfx::Range>& LegalDocumentLinks() = 0;

Powered by Google App Engine
This is Rietveld 408576698