| Index: ui/views/view_model_utils.cc
|
| diff --git a/ui/views/view_model_utils.cc b/ui/views/view_model_utils.cc
|
| index a49fbcd886d73d6024d32695791470eba5be7516..24e4d0104235cae238982d2d7ee70d3fa0f35167 100644
|
| --- a/ui/views/view_model_utils.cc
|
| +++ b/ui/views/view_model_utils.cc
|
| @@ -18,6 +18,13 @@ void ViewModelUtils::SetViewBoundsToIdealBounds(const ViewModel& model) {
|
| }
|
|
|
| // static
|
| +void ViewModelUtils::SetViewVisibilityToIdealVisibility(
|
| + const ViewModel& model) {
|
| + for (int i = 0; i < model.view_size(); ++i)
|
| + model.view_at(i)->SetVisible(model.ideal_visibility(i));
|
| +}
|
| +
|
| +// static
|
| int ViewModelUtils::DetermineMoveIndex(const ViewModel& model,
|
| View* view,
|
| int x) {
|
|
|