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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 6168bef25596ee8a43efc3fa0443c3d2ecb8a5b4..ec42f5c79a17406753e7244bf8d90761b7d42339 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -692,7 +692,7 @@ void AutofillDialogViews::OverlayView::OnPaint(gfx::Canvas* canvas) {
canvas->DrawPath(arrow, paint);
}
- PaintChildren(canvas);
+ PaintChildren(canvas, views::CullSet());
}
void AutofillDialogViews::OverlayView::OnNativeThemeChanged(
@@ -767,11 +767,13 @@ const char* AutofillDialogViews::NotificationArea::GetClassName() const {
}
void AutofillDialogViews::NotificationArea::PaintChildren(
- gfx::Canvas* canvas) {}
+ gfx::Canvas* canvas,
+ const views::CullSet& cull_set) {
+}
void AutofillDialogViews::NotificationArea::OnPaint(gfx::Canvas* canvas) {
views::View::OnPaint(canvas);
- views::View::PaintChildren(canvas);
+ views::View::PaintChildren(canvas, views::CullSet());
if (HasArrow()) {
DrawArrow(
@@ -1003,7 +1005,10 @@ const char* AutofillDialogViews::SuggestedButton::GetClassName() const {
return kSuggestedButtonClassName;
}
-void AutofillDialogViews::SuggestedButton::PaintChildren(gfx::Canvas* canvas) {}
+void AutofillDialogViews::SuggestedButton::PaintChildren(
+ gfx::Canvas* canvas,
+ const views::CullSet& cull_set) {
+}
void AutofillDialogViews::SuggestedButton::OnPaint(gfx::Canvas* canvas) {
ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.h ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698