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

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..9b82e5cfbc690502b2156479b70ffb2fbf97f183 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 launcher page to its onscreen bounds if necessary.
+ void ClipPageToOnscreenBounds(int page_index,
Matt Giuca 2014/12/10 06:53:39 Can you rename this to ClipSearchResultsPageToOnsc
calamity 2014/12/11 04:41:08 Done.
+ 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