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

Unified Diff: ui/views/view_model_utils.h

Issue 10068027: ash: Fix launcher icon overlaps with status. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use last_visible_index_ part from 9808026 and add tests Created 8 years, 8 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: ui/views/view_model_utils.h
diff --git a/ui/views/view_model_utils.h b/ui/views/view_model_utils.h
index 5219ff87fe200387fa1a044bbf89a0b7b716fe40..41f4ff574c88309be70b281feb9533f8ddab3321 100644
--- a/ui/views/view_model_utils.h
+++ b/ui/views/view_model_utils.h
@@ -19,6 +19,9 @@ class VIEWS_EXPORT ViewModelUtils {
// Sets the bounds of each view to its ideal bounds.
static void SetViewBoundsToIdealBounds(const ViewModel& model);
+ // Sets the visibility of each view to its ideal visibility.
+ static void SetViewVisibilityToIdealVisibility(const ViewModel& model);
+
// Returns the index to move |view| to based on a x-coordinate of |x|.
static int DetermineMoveIndex(const ViewModel& model,
View* view,

Powered by Google App Engine
This is Rietveld 408576698