Home
last modified time | relevance | path

Searched refs:ViewModel (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/ui/views/
Dview_model.cc12 ViewModel::ViewModel() { in ViewModel() function in views::ViewModel
15 ViewModel::~ViewModel() { in ~ViewModel()
19 void ViewModel::Add(View* view, int index) { in Add()
27 void ViewModel::Remove(int index) { in Remove()
35 void ViewModel::Move(int index, int target_index) { in Move()
48 void ViewModel::MoveViewOnly(int index, int target_index) { in MoveViewOnly()
64 void ViewModel::Clear() { in Clear()
71 int ViewModel::GetIndexOfView(const View* view) const { in GetIndexOfView()
Dview_model_unittest.cc16 std::string BoundsString(const ViewModel& model) { in BoundsString()
27 std::string ViewIDsString(const ViewModel& model) { in ViewIDsString()
39 TEST(ViewModel, BasicAssertions) { in TEST() argument
41 ViewModel model; in TEST()
51 TEST(ViewModel, Move) { in TEST() argument
56 ViewModel model; in TEST()
67 TEST(ViewModel, MoveViewOnly) { in TEST() argument
72 ViewModel model; in TEST()
Dview_model_utils.h14 class ViewModel; variable
24 static void SetViewBoundsToIdealBounds(const ViewModel& model);
27 static bool IsAtIdealBounds(const ViewModel& model);
30 static int DetermineMoveIndex(const ViewModel& model,
Dview_model.h24 class VIEWS_EXPORT ViewModel {
26 ViewModel();
27 ~ViewModel();
93 DISALLOW_COPY_AND_ASSIGN(ViewModel);
Dview_model_utils.cc26 void ViewModelUtils::SetViewBoundsToIdealBounds(const ViewModel& model) { in SetViewBoundsToIdealBounds()
32 bool ViewModelUtils::IsAtIdealBounds(const ViewModel& model) { in IsAtIdealBounds()
42 int ViewModelUtils::DetermineMoveIndex(const ViewModel& model, in DetermineMoveIndex()
Dview_model_utils_unittest.cc16 ViewModel model; in TEST()
27 ViewModel model; in TEST()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dstacked_tab_strip_layout.h15 class ViewModel; variable
39 views::ViewModel* view_model);
220 views::ViewModel* view_model_;
Dtab_strip.h599 views::ViewModel tabs_;
Dstacked_tab_strip_layout_unittest.cc132 views::ViewModel view_model_;
Dstacked_tab_strip_layout.cc16 views::ViewModel* view_model) in StackedTabStripLayout()
/external/chromium_org/ui/app_list/views/
Dapp_list_folder_view.h20 class ViewModel; variable
116 scoped_ptr<views::ViewModel> view_model_;
Dcontents_view.h23 class ViewModel; variable
163 scoped_ptr<views::ViewModel> view_model_;
Dapp_list_main_view_unittest.cc101 const views::ViewModel* view_model = grid_view->view_model_for_test(); in GetItemViewAtPointInGrid()
164 const views::ViewModel* RootViewModel() { in RootViewModel()
168 const views::ViewModel* FolderViewModel() { in FolderViewModel()
Dapps_grid_view.h198 const views::ViewModel* view_model_for_test() const { return &view_model_; } in view_model_for_test()
478 views::ViewModel view_model_;
481 views::ViewModel pulsing_blocks_model_;
Dapp_list_folder_view.cc50 view_model_(new views::ViewModel), in AppListFolderView()
Dcontents_view.cc34 view_model_(new views::ViewModel), in ContentsView()
/external/chromium_org/ash/shelf/
Dshelf_view.h29 class ViewModel; variable
136 const views::ViewModel* view_model_for_test() const { in view_model_for_test()
334 scoped_ptr<views::ViewModel> view_model_;
Dshelf_view.cc225 explicit ShelfFocusSearch(views::ViewModel* view_model) in ShelfFocusSearch()
255 views::ViewModel* view_model_;
372 view_model_(new views::ViewModel), in ShelfView()
/external/chromium_org/chrome/browser/ui/window_sizer/
Dwindow_sizer_ash_uitest.cc50 const views::ViewModel* view_model = shelf_view->view_model_for_test(); in GetChromeIconBoundsForRootWindow()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc1636 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1654 const views::ViewModel* vm_shelf = test.shelf_view()->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1786 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1805 const views::ViewModel* vm_shelf = test.shelf_view()->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1960 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()