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()
43 void ViewModel::MoveViewOnly(int index, int target_index) { in MoveViewOnly()
59 void ViewModel::Clear() { in Clear()
66 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/ui/app_list/views/
Dapp_list_main_view_unittest.cc58 const views::ViewModel* ViewModel() { in ViewModel() function in app_list::test::__anon597ea9570111::AppListMainViewTest
77 EXPECT_EQ(kInitialItems, ViewModel()->view_size()); in TEST_F()
86 EXPECT_EQ(kReplacementItems, ViewModel()->view_size()); in TEST_F()
Dapp_list_folder_view.h18 class ViewModel; variable
58 scoped_ptr<views::ViewModel> view_model_;
Dcontents_view.h19 class ViewModel; variable
90 scoped_ptr<views::ViewModel> view_model_;
Dcontents_view.cc36 AppsContainerView* GetAppsContainerView(views::ViewModel* model) { in GetAppsContainerView()
40 SearchResultListView* GetSearchResultListView(views::ViewModel* model) { in GetSearchResultListView()
53 view_model_(new views::ViewModel), in ContentsView()
Dapps_grid_view.h142 const views::ViewModel* view_model_for_test() const { return &view_model_; } in view_model_for_test()
353 views::ViewModel view_model_;
356 views::ViewModel pulsing_blocks_model_;
Dapp_list_folder_view.cc38 view_model_(new views::ViewModel), in AppListFolderView()
/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.h559 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/ash/shelf/
Dshelf_view.h26 class ViewModel; variable
136 const views::ViewModel* const view_model_for_test() const { in view_model_for_test()
345 scoped_ptr<views::ViewModel> view_model_;
Dshelf_view.cc210 explicit LauncherFocusSearch(views::ViewModel* view_model) in LauncherFocusSearch()
240 views::ViewModel* view_model_;
360 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.cc1562 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1580 const views::ViewModel* vm_launcher = in IN_PROC_BROWSER_TEST_F()
1714 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()
1733 const views::ViewModel* vm_launcher = in IN_PROC_BROWSER_TEST_F()
1887 const views::ViewModel* vm_grid = grid_view->view_model_for_test(); in IN_PROC_BROWSER_TEST_F()