Searched defs:model_ (Results 1 - 25 of 152) sorted by path

1234567

/external/chromium_org/ash/shelf/
H A Dshelf_item_delegate_manager.h58 ShelfModel* model_; member in class:ash::ShelfItemDelegateManager
H A Dshelf_model_unittest.cc84 model_.reset(new ShelfModel);
86 EXPECT_EQ(0, model_->item_count());
90 model_->Add(item);
91 EXPECT_EQ(1, model_->item_count());
93 model_->AddObserver(observer_.get());
98 model_.reset();
101 scoped_ptr<ShelfModel> model_; member in class:ash::ShelfModelTest
112 int index = model_->Add(item);
113 EXPECT_EQ(2, model_->item_count());
117 ShelfID original_id = model_
[all...]
H A Dshelf_navigator_unittest.cc25 model_.reset(new ShelfModel);
30 model_->Add(app_list);
33 int total_num = model_->item_count();
35 EXPECT_TRUE(model_->items()[0].type == TYPE_APP_LIST);
40 model_->Add(browser_shortcut);
51 model_->Add(new_item);
56 ShelfItem focused_item =model_->items()[focused_index];
59 model_->Set(focused_index, focused_item);
64 const ShelfModel& model() { return *model_.get(); }
67 scoped_ptr<ShelfModel> model_; member in class:ash::__anon1940::ShelfNavigatorTest
[all...]
H A Dshelf_view.h72 ShelfModel* model() { return model_; }
316 // Convenience accessor to model_->items().
327 ShelfModel* model_; member in class:ash::ShelfView
333 // item in |model_|.
H A Dshelf_view_unittest.cc235 : model_(model) {}
273 int index = model_->ItemIndexByID(id);
276 model_->RemoveItemAt(index);
280 ShelfModel* model_; member in class:ash::test::TestShelfDelegateForShelfView
292 : model_(NULL),
303 model_ = test_api.shelf_model();
335 ShelfID id = model_->next_id();
336 model_->AddAt(browser_index_, browser_shortcut);
347 ShelfID id = model_->next_id();
348 model_
625 ShelfModel* model_; member in class:ash::test::ShelfViewTest
[all...]
H A Dshelf_window_watcher.h124 ShelfModel* model_; member in class:ash::ShelfWindowWatcher
H A Dshelf_window_watcher_item_delegate.h22 ShelfWindowWatcherItemDelegate(aura::Window* window, ShelfModel* model_);
40 ShelfModel* model_; member in class:ash::ShelfWindowWatcherItemDelegate
H A Dshelf_window_watcher_unittest.cc27 ShelfWindowWatcherTest() : model_(NULL) {}
32 model_ = test::ShellTestApi(Shell::GetInstance()).shelf_model();
36 model_ = NULL;
41 ShelfID id = model_->next_id();
49 ShelfModel* model_; member in class:ash::ShelfWindowWatcherTest
57 EXPECT_EQ(1, model_->item_count());
64 EXPECT_EQ(2, model_->item_count());
66 int index_w1 = model_->ItemIndexByID(id_w1);
67 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status);
71 EXPECT_EQ(3, model_
[all...]
/external/chromium_org/ash/shell/
H A Dapp_list.cc200 : model_(new app_list::AppListModel) {
202 DecorateSearchBox(model_->search_box());
213 model_->AddItem(shelf_item.PassAs<app_list::AppListItem>());
254 virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); }
289 base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query);
292 model_->results()->DeleteAll();
304 model_->results()->Add(new ExampleSearchResult(type, query));
364 scoped_ptr<app_list::AppListModel> model_; member in class:ash::shell::__anon1947::ExampleAppListViewDelegate
/external/chromium_org/ash/test/
H A Dtest_shelf_delegate.h52 ShelfModel* model_; member in class:ash::test::TestShelfDelegate
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc45 DockedWindowResizerTest() : model_(NULL), window_type_(GetParam()) {}
52 model_ = test_api.shelf_model();
250 ShelfModel* model_; member in class:ash::DockedWindowResizerTest
/external/chromium_org/ash/wm/panels/
H A Dpanel_window_resizer_unittest.cc44 model_ = test_api.shelf_model();
135 int panel_index = model_->FirstPanelIndex();
136 EXPECT_EQ((int)(panel_index + window_order.size()), model_->item_count());
141 EXPECT_EQ(id, model_->items()[panel_index].id);
181 ShelfModel* model_; member in class:ash::PanelWindowResizerTest
/external/chromium_org/athena/home/
H A Dapp_list_view_delegate.h64 scoped_ptr<app_list::AppListModel> model_; member in class:athena::AppListViewDelegate
/external/chromium_org/base/android/
H A Dbuild_info.h48 return model_;
106 const char* const model_; member in class:base::android::BuildInfo
/external/chromium_org/base/
H A Dcpu.h36 int model() const { return model_; }
74 int model_; // model of processor member in class:base::CPU
/external/chromium_org/chrome/browser/android/bookmarks/
H A Dpartner_bookmarks_shim_unittest.cc37 model_(NULL) {
49 parent = model_->bookmark_bar_node();
50 return model_->AddURL(parent, parent->child_count(), title, url);
56 parent = model_->bookmark_bar_node();
57 return model_->AddFolder(parent, parent->child_count(), title);
66 model_ = BookmarkModelFactory::GetForProfile(profile_.get());
67 test::WaitForBookmarkModelToLoad(model_);
83 BookmarkModel* model_; member in class:PartnerBookmarksShimTest
/external/chromium_org/chrome/browser/android/provider/
H A Dbookmark_model_observer_task.h21 BookmarkModel* model_; member in class:BookmarkModelTask
/external/chromium_org/chrome/browser/autocomplete/
H A Dbookmark_provider_unittest.cc77 scoped_ptr<BookmarkModel> model_; member in class:BookmarkProviderTest
85 model_ = client_.CreateModel();
93 provider_->set_bookmark_model_for_testing(model_.get());
95 const BookmarkNode* other_node = model_->other_node();
99 model_->AddURL(other_node, other_node->child_count(),
/external/chromium_org/chrome/browser/background/
H A Dbackground_application_list_model.cc92 BackgroundApplicationListModel* model_; member in class:BackgroundApplicationListModel::Application
153 : extension_(extension), model_(model) {}
160 model_->SendApplicationDataChangedNotifications(extension_);
168 extensions::ImageLoader::Get(model_->profile_)->LoadImageAsync(
/external/chromium_org/chrome/browser/bookmarks/
H A Dchrome_bookmark_client.h104 BookmarkModel* model_; member in class:ChromeBookmarkClient
H A Dchrome_bookmark_client_unittest.cc32 ChromeBookmarkClientTest() : client_(NULL), model_(NULL) {}
45 ASSERT_TRUE(client_->managed_node()->parent() == model_->root_node());
46 EXPECT_NE(-1, model_->root_node()->GetIndexOf(client_->managed_node()));
50 model_->RemoveObserver(&observer_);
55 model_ = BookmarkModelFactory::GetForProfile(&profile_);
56 test::WaitForBookmarkModelToLoad(model_);
57 model_->AddObserver(&observer_);
135 BookmarkModel* model_; member in class:ChromeBookmarkClientTest
143 model_->RemoveObserver(&observer_);
154 EXPECT_TRUE(model_
[all...]
/external/chromium_org/chrome/browser/browsing_data/
H A Dcookies_tree_model.h185 CookiesTreeModel* model_; member in class:CookieTreeRootNode
662 CookiesTreeModel* model_; member in class:CookiesTreeModel::ScopedBatchUpdateNotifier
H A Dlocal_data_container.h144 CookiesTreeModel* model_; member in class:LocalDataContainer
/external/chromium_org/chrome/browser/devtools/device/
H A Ddevtools_android_bridge.h168 std::string model() { return model_; }
181 std::string model_; member in class:DevToolsAndroidBridge::RemoteDevice
/external/chromium_org/chrome/browser/diagnostics/
H A Ddiagnostics_controller.h55 scoped_ptr<DiagnosticsModel> model_; member in class:diagnostics::DiagnosticsController

Completed in 6476 milliseconds

1234567