Lines Matching refs:view
8 #include "ui/views/view.h"
16 // view are owned by their parent, no need to delete them.
19 void ViewModel::Add(View* view, int index) {
23 entry.view = view;
47 View* view = entries_[index].view;
49 entries_[i].view = entries_[i - 1].view;
50 entries_[target_index].view = view;
52 View* view = entries_[index].view;
54 entries_[i].view = entries_[i + 1].view;
55 entries_[target_index].view = view;
63 delete entries[i].view;
66 int ViewModel::GetIndexOfView(const View* view) const {
68 if (entries_[i].view == view)