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

Unified Diff: chrome/browser/ui/views/payments/view_stack.h

Issue 2942943002: [WebPayments] Setting hidden views in view stack invisible (Closed)
Patch Set: anthony feedback 2 Created 3 years, 6 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/views/payments/view_stack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/view_stack.h
diff --git a/chrome/browser/ui/views/payments/view_stack.h b/chrome/browser/ui/views/payments/view_stack.h
index 9d834e0ef531f58d6de4b15261414b00bde6b254..0472c6c9fc7f96c266767cede1f7ea8df36f028a 100644
--- a/chrome/browser/ui/views/payments/view_stack.h
+++ b/chrome/browser/ui/views/payments/view_stack.h
@@ -61,6 +61,9 @@ class ViewStack : public views::BoundsAnimatorObserver,
// Returns the top state of the stack, used in tests.
views::View* top() { return stack_.back().get(); }
+ // Marks all views, except the topmost, as invisible.
+ void HideCoveredViews();
+
void UpdateAnimatorBounds(
views::BoundsAnimator* animator, const gfx::Rect& target);
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/view_stack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698