| Index: ui/views/view_model.h
|
| diff --git a/ui/views/view_model.h b/ui/views/view_model.h
|
| index 2493878b1df8b06114f957e81c4e6a81e3644e8c..d94e7289d4c903cce62ab7f58d6138bad9f723c1 100644
|
| --- a/ui/views/view_model.h
|
| +++ b/ui/views/view_model.h
|
| @@ -39,6 +39,12 @@ class VIEWS_EXPORT ViewModel {
|
| // of the model *after* the view at |index| is removed.
|
| void Move(int index, int target_index);
|
|
|
| + // Variant of Move() that leaves the bounds as is. That is, after invoking
|
| + // this the bounds of the view at |target_index| (and all other indices) are
|
| + // exactly the same as the bounds of the view at |target_index| before
|
| + // invoking this.
|
| + void MoveViewOnly(int index, int target_index);
|
| +
|
| // Returns the number of views.
|
| int view_size() const { return static_cast<int>(entries_.size()); }
|
|
|
|
|