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

Unified Diff: ui/app_list/views/contents_animator.h

Issue 781833005: Make SearchResultPageView animation clip to its onscreen bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_overlay_one
Patch Set: address_comments Created 6 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
« no previous file with comments | « no previous file | ui/app_list/views/contents_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_animator.h
diff --git a/ui/app_list/views/contents_animator.h b/ui/app_list/views/contents_animator.h
index 8c85c3e51900be08981f7068606ae9fdb0a28847..23291f064def8d021d1c5c39746710f78eb787ac 100644
--- a/ui/app_list/views/contents_animator.h
+++ b/ui/app_list/views/contents_animator.h
@@ -62,6 +62,11 @@ class ContentsAnimator {
int from_page,
int to_page) const;
+ // Clips the drawing of the search results page to its onscreen bounds.
+ void ClipSearchResultsPageToOnscreenBounds(int page_index,
+ const gfx::Rect& current_bounds,
+ const gfx::Rect& onscreen_bounds);
+
private:
ContentsView* contents_view_;
« no previous file with comments | « no previous file | ui/app_list/views/contents_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698