model_ 16 ash/shelf/shelf_item_delegate_manager.cc : model_(model) { model_ 17 ash/shelf/shelf_item_delegate_manager.cc DCHECK(model_); model_ 18 ash/shelf/shelf_item_delegate_manager.cc model_->AddObserver(this); model_ 22 ash/shelf/shelf_item_delegate_manager.cc model_->RemoveObserver(this); model_ 38 ash/shelf/shelf_item_delegate_manager.cc if (model_->ItemIndexByID(id) != -1) { model_ 58 ash/shelf/shelf_item_delegate_manager.h ShelfModel* model_; model_ 84 ash/shelf/shelf_model_unittest.cc model_.reset(new ShelfModel); model_ 86 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(0, model_->item_count()); model_ 90 ash/shelf/shelf_model_unittest.cc model_->Add(item); model_ 91 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 93 ash/shelf/shelf_model_unittest.cc model_->AddObserver(observer_.get()); model_ 98 ash/shelf/shelf_model_unittest.cc model_.reset(); model_ 101 ash/shelf/shelf_model_unittest.cc scoped_ptr<ShelfModel> model_; model_ 112 ash/shelf/shelf_model_unittest.cc int index = model_->Add(item); model_ 113 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 117 ash/shelf/shelf_model_unittest.cc ShelfID original_id = model_->items()[index].id; model_ 119 ash/shelf/shelf_model_unittest.cc model_->Set(index, item); model_ 120 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(original_id, model_->items()[index].id); model_ 122 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_PLATFORM_APP, model_->items()[index].type); model_ 125 ash/shelf/shelf_model_unittest.cc model_->RemoveItemAt(index); model_ 126 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 131 ash/shelf/shelf_model_unittest.cc index = model_->Add(item); model_ 135 ash/shelf/shelf_model_unittest.cc model_->Set(index, item); model_ 137 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_APP_SHORTCUT, model_->items()[index].type); model_ 141 ash/shelf/shelf_model_unittest.cc model_->Add(item); model_ 145 ash/shelf/shelf_model_unittest.cc model_->Move(1, 0); model_ 149 ash/shelf/shelf_model_unittest.cc model_->Move(0, 1); model_ 154 ash/shelf/shelf_model_unittest.cc for (int i = 0; i < model_->item_count(); ++i) model_ 155 ash/shelf/shelf_model_unittest.cc ids.insert(model_->items()[i].id); model_ 156 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(model_->item_count(), static_cast<int>(ids.size())); model_ 164 ash/shelf/shelf_model_unittest.cc int browser_shortcut_index = model_->Add(browser_shortcut); model_ 170 ash/shelf/shelf_model_unittest.cc int platform_app_index1 = model_->Add(item); model_ 174 ash/shelf/shelf_model_unittest.cc int platform_app_index2 = model_->Add(item); model_ 180 ash/shelf/shelf_model_unittest.cc int app_shortcut_index1 = model_->Add(item); model_ 184 ash/shelf/shelf_model_unittest.cc int app_shortcut_index2 = model_->Add(item); model_ 192 ash/shelf/shelf_model_unittest.cc int app_shortcut_index3 = model_->AddAt(1, item); model_ 196 ash/shelf/shelf_model_unittest.cc int app_shortcut_index4 = model_->AddAt(6, item); model_ 200 ash/shelf/shelf_model_unittest.cc int app_shortcut_index5 = model_->AddAt(3, item); model_ 204 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(model_->item_count(), model_->FirstPanelIndex()); model_ 209 ash/shelf/shelf_model_unittest.cc int platform_app_index3 = model_->AddAt(3, item); model_ 213 ash/shelf/shelf_model_unittest.cc int app_panel_index1 = model_->AddAt(2, item); model_ 217 ash/shelf/shelf_model_unittest.cc int platform_app_index4 = model_->AddAt(11, item); model_ 221 ash/shelf/shelf_model_unittest.cc int app_panel_index2 = model_->AddAt(12, item); model_ 225 ash/shelf/shelf_model_unittest.cc int platform_app_index5 = model_->AddAt(7, item); model_ 229 ash/shelf/shelf_model_unittest.cc int app_panel_index3 = model_->AddAt(13, item); model_ 233 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(12, model_->FirstPanelIndex()); model_ 235 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_BROWSER_SHORTCUT, model_->items()[2].type); model_ 236 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_APP_LIST, model_->items()[0].type); model_ 246 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->Add(item)); model_ 247 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->FirstRunningAppIndex()); model_ 252 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); model_ 253 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->FirstRunningAppIndex()); model_ 258 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); model_ 259 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(3, model_->FirstRunningAppIndex()); model_ 264 ash/shelf/shelf_model_unittest.cc int running_app_index = model_->Add(item); model_ 266 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index, model_->FirstRunningAppIndex()); model_ 268 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index + 1, model_->Add(item)); model_ 269 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index, model_->FirstRunningAppIndex()); model_ 279 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->Add(item)); model_ 280 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->FirstRunningAppIndex()); model_ 285 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); model_ 286 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->FirstRunningAppIndex()); model_ 291 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(2, model_->Add(item)); model_ 292 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(3, model_->FirstRunningAppIndex()); model_ 297 ash/shelf/shelf_model_unittest.cc int running_app_index = model_->Add(item); model_ 299 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index, model_->FirstRunningAppIndex()); model_ 301 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index + 1, model_->Add(item)); model_ 302 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(running_app_index, model_->FirstRunningAppIndex()); model_ 313 ash/shelf/shelf_model_unittest.cc int browser_shortcut_index = model_->Add(browser_shortcut); model_ 319 ash/shelf/shelf_model_unittest.cc int platform_app_index1 = model_->Add(item); model_ 323 ash/shelf/shelf_model_unittest.cc int platform_app_index2 = model_->Add(item); model_ 329 ash/shelf/shelf_model_unittest.cc int app_shortcut_index1 = model_->Add(item); model_ 333 ash/shelf/shelf_model_unittest.cc int app_shortcut_index2 = model_->Add(item); model_ 341 ash/shelf/shelf_model_unittest.cc int app_shortcut_index3 = model_->AddAt(0, item); model_ 345 ash/shelf/shelf_model_unittest.cc int app_shortcut_index4 = model_->AddAt(5, item); model_ 349 ash/shelf/shelf_model_unittest.cc int app_shortcut_index5 = model_->AddAt(2, item); model_ 353 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(model_->item_count(), model_->FirstPanelIndex()); model_ 358 ash/shelf/shelf_model_unittest.cc int platform_app_index3 = model_->AddAt(2, item); model_ 362 ash/shelf/shelf_model_unittest.cc int app_panel_index1 = model_->AddAt(2, item); model_ 366 ash/shelf/shelf_model_unittest.cc int platform_app_index4 = model_->AddAt(11, item); model_ 370 ash/shelf/shelf_model_unittest.cc int app_panel_index2 = model_->AddAt(12, item); model_ 374 ash/shelf/shelf_model_unittest.cc int platform_app_index5 = model_->AddAt(7, item); model_ 378 ash/shelf/shelf_model_unittest.cc int app_panel_index3 = model_->AddAt(13, item); model_ 382 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(12, model_->FirstPanelIndex()); model_ 384 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_BROWSER_SHORTCUT, model_->items()[1].type); model_ 385 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_APP_LIST, model_->items()[model_->FirstPanelIndex() - 1].type); model_ 391 ash/shelf/shelf_model_unittest.cc ShelfID id = model_->next_id(); model_ 394 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(model_->next_id(), id); model_ 399 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(model_->reserve_external_id(), id); model_ 400 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 401 ash/shelf/shelf_model_unittest.cc ShelfID id2 = model_->next_id(); model_ 407 ash/shelf/shelf_model_unittest.cc model_->Add(item); model_ 408 ash/shelf/shelf_model_unittest.cc EXPECT_NE(model_->next_id(), id2); model_ 418 ash/shelf/shelf_model_unittest.cc int browser_shortcut_index = model_->Add(browser_shortcut); model_ 419 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_APP_LIST, model_->items()[0].type); model_ 425 ash/shelf/shelf_model_unittest.cc int app1_index = model_->Add(item); model_ 427 ash/shelf/shelf_model_unittest.cc int app2_index = model_->Add(item); model_ 429 ash/shelf/shelf_model_unittest.cc int app3_index = model_->Add(item); model_ 435 ash/shelf/shelf_model_unittest.cc model_->Set(app2_index, item); model_ 438 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_PLATFORM_APP, model_->items()[4].type); model_ 448 ash/shelf/shelf_model_unittest.cc int browser_shortcut_index = model_->Add(browser_shortcut); model_ 450 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_APP_LIST, model_->items()[1].type); model_ 455 ash/shelf/shelf_model_unittest.cc int app1_index = model_->Add(item); model_ 457 ash/shelf/shelf_model_unittest.cc int app2_index = model_->Add(item); model_ 459 ash/shelf/shelf_model_unittest.cc int app3_index = model_->Add(item); model_ 465 ash/shelf/shelf_model_unittest.cc model_->Set(app2_index, item); model_ 468 ash/shelf/shelf_model_unittest.cc EXPECT_EQ(TYPE_PLATFORM_APP, model_->items()[3].type); model_ 25 ash/shelf/shelf_navigator_unittest.cc model_.reset(new ShelfModel); model_ 30 ash/shelf/shelf_navigator_unittest.cc model_->Add(app_list); model_ 33 ash/shelf/shelf_navigator_unittest.cc int total_num = model_->item_count(); model_ 35 ash/shelf/shelf_navigator_unittest.cc EXPECT_TRUE(model_->items()[0].type == TYPE_APP_LIST); model_ 40 ash/shelf/shelf_navigator_unittest.cc model_->Add(browser_shortcut); model_ 51 ash/shelf/shelf_navigator_unittest.cc model_->Add(new_item); model_ 56 ash/shelf/shelf_navigator_unittest.cc ShelfItem focused_item =model_->items()[focused_index]; model_ 59 ash/shelf/shelf_navigator_unittest.cc model_->Set(focused_index, focused_item); model_ 64 ash/shelf/shelf_navigator_unittest.cc const ShelfModel& model() { return *model_.get(); } model_ 67 ash/shelf/shelf_navigator_unittest.cc scoped_ptr<ShelfModel> model_; model_ 381 ash/shelf/shelf_view.cc : model_(model), model_ 407 ash/shelf/shelf_view.cc DCHECK(model_); model_ 417 ash/shelf/shelf_view.cc model_->RemoveObserver(this); model_ 425 ash/shelf/shelf_view.cc model_->AddObserver(this); model_ 427 ash/shelf/shelf_view.cc const ShelfItems& items(model_->items()); model_ 450 ash/shelf/shelf_view.cc if (TYPE_APP_LIST == model_->items()[i].type && model_ 482 ash/shelf/shelf_view.cc int index = model_->ItemIndexByID(id); model_ 484 ash/shelf/shelf_view.cc index < model_->FirstPanelIndex())) model_ 487 ash/shelf/shelf_view.cc DCHECK_NE(TYPE_APP_LIST, model_->items()[index].type); model_ 499 ash/shelf/shelf_view.cc int current_index = model_->ItemIndexByID(id); model_ 500 ash/shelf/shelf_view.cc int first_panel_index = model_->FirstPanelIndex(); model_ 524 ash/shelf/shelf_view.cc model_->Move(current_index, target_index); model_ 537 ash/shelf/shelf_view.cc for (int i = 0; i < model_->item_count(); ++i) { model_ 538 ash/shelf/shelf_view.cc if (model_->items()[i].type == TYPE_APP_LIST) model_ 630 ash/shelf/shelf_view.cc model_->ItemIndexByID(drag_and_drop_shelf_id_)); model_ 663 ash/shelf/shelf_view.cc model_->ItemIndexByID(drag_and_drop_shelf_id_)); model_ 681 ash/shelf/shelf_view.cc model_->ItemIndexByID(drag_and_drop_shelf_id_)); model_ 717 ash/shelf/shelf_view.cc int last_button_index = model_->FirstPanelIndex() - 1; model_ 737 ash/shelf/shelf_view.cc DCHECK(model_->item_count() == view_model_->view_size()); model_ 741 ash/shelf/shelf_view.cc int first_panel_index = model_->FirstPanelIndex(); model_ 895 ash/shelf/shelf_view.cc int index = model_->FirstPanelIndex() - 1; model_ 906 ash/shelf/shelf_view.cc int index = model_->FirstPanelIndex(); model_ 1011 ash/shelf/shelf_view.cc model_->items()[start_drag_index_].id); model_ 1029 ash/shelf/shelf_view.cc model_->items()[current_index].id); model_ 1055 ash/shelf/shelf_view.cc if (first_drag_index < model_->FirstPanelIndex() && model_ 1093 ash/shelf/shelf_view.cc model_->Move(current_index, target_index); model_ 1101 ash/shelf/shelf_view.cc delegate_->GetAppIDForShelfID(model_->items()[current_index].id); model_ 1176 ash/shelf/shelf_view.cc if (current_index != model_->FirstPanelIndex() - 1) { model_ 1177 ash/shelf/shelf_view.cc model_->Move(current_index, model_->FirstPanelIndex() - 1); model_ 1226 ash/shelf/shelf_view.cc delegate_->GetAppIDForShelfID(model_->items()[current_index].id); model_ 1252 ash/shelf/shelf_view.cc model_->Move(current_index, start_drag_index_); model_ 1261 ash/shelf/shelf_view.cc DCHECK(index >= 0 && index < model_->item_count()); model_ 1262 ash/shelf/shelf_view.cc ShelfItemType type = model_->items()[index].type; model_ 1266 ash/shelf/shelf_view.cc std::string app_id = delegate_->GetAppIDForShelfID(model_->items()[index].id); model_ 1294 ash/shelf/shelf_view.cc ShelfItemType type = model_->items()[index].type; model_ 1295 ash/shelf/shelf_view.cc for (int i = 0; i < model_->item_count(); ++i) { model_ 1296 ash/shelf/shelf_view.cc if (SameDragType(model_->items()[i].type, type)) { model_ 1320 ash/shelf/shelf_view.cc new ShelfView(model_, delegate_, layout_manager_); model_ 1425 ash/shelf/shelf_view.cc model_->GetItemIndexForType(TYPE_APP_PANEL) == -1) { model_ 1473 ash/shelf/shelf_view.cc model_->Move(drag_view_index, start_drag_index_); model_ 1551 ash/shelf/shelf_view.cc views::View* view = CreateViewForItem(model_->items()[model_index]); model_ 1572 ash/shelf/shelf_view.cc model_index >= model_->FirstPanelIndex()) { model_ 1622 ash/shelf/shelf_view.cc const ShelfItem& item(model_->items()[model_index]); model_ 1681 ash/shelf/shelf_view.cc if (model_->status() == ShelfModel::STATUS_LOADING) model_ 1698 ash/shelf/shelf_view.cc model_->items()[index].id); model_ 1774 ash/shelf/shelf_view.cc model_->items()[view_index].id); model_ 1809 ash/shelf/shelf_view.cc switch (model_->items()[view_index].type) { model_ 1833 ash/shelf/shelf_view.cc item_manager_->GetShelfItemDelegate(model_->items()[view_index].id); model_ 1835 ash/shelf/shelf_view.cc ShowListMenuForView(model_->items()[view_index], sender, event); model_ 1872 ash/shelf/shelf_view.cc model_->items()[view_index].id); model_ 1880 ash/shelf/shelf_view.cc view_index == -1 ? 0 : model_->items()[view_index].id); model_ 2021 ash/shelf/shelf_view.cc return &(model_->items()[view_index]); model_ 69 ash/shelf/shelf_view.h ShelfModel* model() { return model_; } model_ 334 ash/shelf/shelf_view.h ShelfModel* model_; model_ 206 ash/shelf/shelf_view_unittest.cc : model_(model) {} model_ 244 ash/shelf/shelf_view_unittest.cc int index = model_->ItemIndexByID(id); model_ 247 ash/shelf/shelf_view_unittest.cc model_->RemoveItemAt(index); model_ 251 ash/shelf/shelf_view_unittest.cc ShelfModel* model_; model_ 262 ash/shelf/shelf_view_unittest.cc ShelfViewTest() : model_(NULL), shelf_view_(NULL), browser_index_(1) {} model_ 268 ash/shelf/shelf_view_unittest.cc model_ = test_api.shelf_model(); model_ 301 ash/shelf/shelf_view_unittest.cc ShelfID id = model_->next_id(); model_ 302 ash/shelf/shelf_view_unittest.cc model_->AddAt(browser_index_, browser_shortcut); model_ 313 ash/shelf/shelf_view_unittest.cc ShelfID id = model_->next_id(); model_ 314 ash/shelf/shelf_view_unittest.cc model_->Add(item); model_ 331 ash/shelf/shelf_view_unittest.cc ShelfID id = model_->next_id(); model_ 332 ash/shelf/shelf_view_unittest.cc model_->Add(item); model_ 342 ash/shelf/shelf_view_unittest.cc ShelfID id = model_->next_id(); model_ 343 ash/shelf/shelf_view_unittest.cc model_->Add(item); model_ 355 ash/shelf/shelf_view_unittest.cc model_->RemoveItemAt(model_->ItemIndexByID(id)); model_ 360 ash/shelf/shelf_view_unittest.cc int index = model_->ItemIndexByID(id); model_ 365 ash/shelf/shelf_view_unittest.cc ShelfItems::const_iterator items = model_->ItemByID(id); model_ 373 ash/shelf/shelf_view_unittest.cc model_index < model_->items().size(); model_ 375 ash/shelf/shelf_view_unittest.cc ShelfItem item = model_->items()[model_index]; model_ 434 ash/shelf/shelf_view_unittest.cc for (size_t i = 0; i < model_->items().size(); ++i) { model_ 436 ash/shelf/shelf_view_unittest.cc id_map->push_back(std::make_pair(model_->items()[i].id, button)); model_ 476 ash/shelf/shelf_view_unittest.cc int total_item_count = model_->item_count(); model_ 542 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(total_item_count, model_->item_count()); model_ 557 ash/shelf/shelf_view_unittest.cc return model_->items()[index].id; model_ 564 ash/shelf/shelf_view_unittest.cc ShelfDelegate* delegate = new TestShelfDelegateForShelfView(model_); model_ 570 ash/shelf/shelf_view_unittest.cc ShelfModel* model_; model_ 962 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[1].type == TYPE_BROWSER_SHORTCUT); model_ 970 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[3].type == TYPE_BROWSER_SHORTCUT); model_ 989 ash/shelf/shelf_view_unittest.cc model_->RemoveItemAt(1); model_ 1022 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[0].type == TYPE_BROWSER_SHORTCUT); model_ 1030 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[2].type == TYPE_BROWSER_SHORTCUT); model_ 1049 ash/shelf/shelf_view_unittest.cc model_->RemoveItemAt(1); model_ 1131 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[1].type == TYPE_BROWSER_SHORTCUT); model_ 1139 ash/shelf/shelf_view_unittest.cc EXPECT_TRUE(model_->items()[3].type == TYPE_BROWSER_SHORTCUT); model_ 1151 ash/shelf/shelf_view_unittest.cc int index = model_->ItemIndexByID(last_added); model_ 1155 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); model_ 1158 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); model_ 1202 ash/shelf/shelf_view_unittest.cc int index = model_->ItemIndexByID(last_added); model_ 1206 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); model_ 1209 ash/shelf/shelf_view_unittest.cc model_->Set(index, item); model_ 1536 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1669 ash/shelf/shelf_view_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1670 ash/shelf/shelf_view_unittest.cc int browser_index = model_->GetItemIndexForType(TYPE_BROWSER_SHORTCUT); model_ 109 ash/shelf/shelf_window_watcher.cc : model_(model), model_ 135 ash/shelf/shelf_window_watcher.cc ShelfID id = model_->next_id(); model_ 140 ash/shelf/shelf_window_watcher.cc new ShelfWindowWatcherItemDelegate(window, model_)); model_ 143 ash/shelf/shelf_window_watcher.cc model_->Add(item); model_ 147 ash/shelf/shelf_window_watcher.cc model_->RemoveItemAt(model_->ItemIndexByID(GetShelfIDForWindow(window))); model_ 177 ash/shelf/shelf_window_watcher.cc ShelfItem item = model_->items()[index]; model_ 179 ash/shelf/shelf_window_watcher.cc model_->Set(index, item); model_ 184 ash/shelf/shelf_window_watcher.cc return model_->ItemIndexByID(GetShelfIDForWindow(window)); model_ 258 ash/shelf/shelf_window_watcher.cc ShelfItem item = model_->items()[index]; model_ 262 ash/shelf/shelf_window_watcher.cc model_->Set(index, item); model_ 123 ash/shelf/shelf_window_watcher.h ShelfModel* model_; model_ 52 ash/shelf/shelf_window_watcher_item_delegate.cc ash::ShelfItem item = *(model_->ItemByID(GetShelfIDForWindow(window_))); model_ 22 ash/shelf/shelf_window_watcher_item_delegate.h ShelfWindowWatcherItemDelegate(aura::Window* window, ShelfModel* model_); model_ 40 ash/shelf/shelf_window_watcher_item_delegate.h ShelfModel* model_; model_ 27 ash/shelf/shelf_window_watcher_unittest.cc ShelfWindowWatcherTest() : model_(NULL) {} model_ 32 ash/shelf/shelf_window_watcher_unittest.cc model_ = test::ShellTestApi(Shell::GetInstance()).shelf_model(); model_ 36 ash/shelf/shelf_window_watcher_unittest.cc model_ = NULL; model_ 41 ash/shelf/shelf_window_watcher_unittest.cc ShelfID id = model_->next_id(); model_ 49 ash/shelf/shelf_window_watcher_unittest.cc ShelfModel* model_; model_ 57 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 64 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 66 ash/shelf/shelf_window_watcher_unittest.cc int index_w1 = model_->ItemIndexByID(id_w1); model_ 67 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); model_ 71 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 73 ash/shelf/shelf_window_watcher_unittest.cc int index_w2 = model_->ItemIndexByID(id_w2); model_ 74 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w2].status); model_ 78 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 80 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 83 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 89 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 95 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 96 ash/shelf/shelf_window_watcher_unittest.cc int index_w1 = model_->ItemIndexByID(id_w1); model_ 97 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); model_ 101 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 102 ash/shelf/shelf_window_watcher_unittest.cc int index_w2 = model_->ItemIndexByID(id_w2); model_ 103 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); model_ 104 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w2].status); model_ 108 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_ACTIVE, model_->items()[index_w1].status); model_ 112 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); model_ 113 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_ACTIVE, model_->items()[index_w2].status); model_ 118 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 124 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 126 ash/shelf/shelf_window_watcher_unittest.cc int index = model_->ItemIndexByID(id); model_ 127 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); model_ 135 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 137 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(index, model_->ItemIndexByID(id)); model_ 138 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(id, model_->items()[index].id); model_ 143 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 150 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 152 ash/shelf/shelf_window_watcher_unittest.cc int index = model_->ItemIndexByID(id); model_ 153 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); model_ 160 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 162 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(index, model_->ItemIndexByID(id)); model_ 163 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(id, model_->items()[index].id); model_ 169 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 171 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(index, model_->ItemIndexByID(id)); model_ 172 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(id, model_->items()[index].id); model_ 178 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 185 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 187 ash/shelf/shelf_window_watcher_unittest.cc int index = model_->ItemIndexByID(id); model_ 188 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); model_ 203 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 208 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 215 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 221 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 223 ash/shelf/shelf_window_watcher_unittest.cc int index = model_->ItemIndexByID(id); model_ 224 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); model_ 237 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(index, model_->ItemIndexByID(id)); model_ 238 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(id, model_->items()[index].id); model_ 245 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 252 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 253 ash/shelf/shelf_window_watcher_unittest.cc int index = model_->ItemIndexByID(id); model_ 254 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); model_ 276 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 282 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 285 ash/shelf/shelf_window_watcher_unittest.cc EXPECT_EQ(1, model_->item_count()); model_ 200 ash/shell/app_list.cc : model_(new app_list::AppListModel), model_ 203 ash/shell/app_list.cc DecorateSearchBox(model_->search_box()); model_ 214 ash/shell/app_list.cc model_->AddItem(shelf_item.PassAs<app_list::AppListItem>()); model_ 251 ash/shell/app_list.cc virtual app_list::AppListModel* GetModel() OVERRIDE { return model_.get(); } model_ 290 ash/shell/app_list.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); model_ 293 ash/shell/app_list.cc model_->results()->DeleteAll(); model_ 305 ash/shell/app_list.cc model_->results()->Add(new ExampleSearchResult(type, query)); model_ 361 ash/shell/app_list.cc scoped_ptr<app_list::AppListModel> model_; model_ 51 ash/test/shelf_view_test_api.cc if (shelf_view_->model_->items()[index].type == ash::TYPE_APP_LIST) model_ 23 ash/test/test_shelf_delegate.cc : model_(model) { model_ 43 ash/test/test_shelf_delegate.cc ShelfID id = model_->next_id(); model_ 45 ash/test/test_shelf_delegate.cc model_->Add(item); model_ 60 ash/test/test_shelf_delegate.cc int index = model_->ItemIndexByID(id); model_ 62 ash/test/test_shelf_delegate.cc model_->RemoveItemAt(index); model_ 52 ash/test/test_shelf_delegate.h ShelfModel* model_; model_ 45 ash/wm/dock/docked_window_resizer_unittest.cc DockedWindowResizerTest() : model_(NULL), window_type_(GetParam()) {} model_ 52 ash/wm/dock/docked_window_resizer_unittest.cc model_ = test_api.shelf_model(); model_ 250 ash/wm/dock/docked_window_resizer_unittest.cc ShelfModel* model_; model_ 44 ash/wm/panels/panel_window_resizer_unittest.cc model_ = test_api.shelf_model(); model_ 139 ash/wm/panels/panel_window_resizer_unittest.cc int panel_index = model_->FirstPanelIndex(); model_ 140 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ((int)(panel_index + window_order.size()), model_->item_count()); model_ 145 ash/wm/panels/panel_window_resizer_unittest.cc EXPECT_EQ(id, model_->items()[panel_index].id); model_ 185 ash/wm/panels/panel_window_resizer_unittest.cc ShelfModel* model_; model_ 47 base/android/build_info.cc model_(StrDupJString(Java_BuildInfo_getDeviceModel(env))), model_ 44 base/android/build_info.h return model_; model_ 101 base/android/build_info.h const char* const model_; model_ 27 base/cpu.cc model_(0), model_ 112 base/cpu.cc model_ = ((cpu_info[0] >> 4) & 0xf) + ((cpu_info[0] >> 12) & 0xf0); model_ 36 base/cpu.h int model() const { return model_; } model_ 69 base/cpu.h int model_; // model of processor model_ 49 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc parent = model_->bookmark_bar_node(); model_ 50 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc return model_->AddURL(parent, parent->child_count(), title, url); model_ 56 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc parent = model_->bookmark_bar_node(); model_ 57 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc return model_->AddFolder(parent, parent->child_count(), title); model_ 66 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 67 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 83 chrome/browser/android/bookmarks/partner_bookmarks_shim_unittest.cc BookmarkModel* model_; model_ 13 chrome/browser/android/provider/bookmark_model_observer_task.cc : model_(model) { model_ 16 chrome/browser/android/provider/bookmark_model_observer_task.cc DCHECK(model_); model_ 17 chrome/browser/android/provider/bookmark_model_observer_task.cc model_->BlockTillLoaded(); model_ 21 chrome/browser/android/provider/bookmark_model_observer_task.cc return model_; model_ 21 chrome/browser/android/provider/bookmark_model_observer_task.h BookmarkModel* model_; model_ 57 chrome/browser/autocomplete/bookmark_provider_unittest.cc BookmarkProviderTest() : model_(new BookmarkModel(NULL)) {} model_ 66 chrome/browser/autocomplete/bookmark_provider_unittest.cc scoped_ptr<BookmarkModel> model_; model_ 78 chrome/browser/autocomplete/bookmark_provider_unittest.cc provider_->set_bookmark_model_for_testing(model_.get()); model_ 80 chrome/browser/autocomplete/bookmark_provider_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 84 chrome/browser/autocomplete/bookmark_provider_unittest.cc model_->AddURL(other_node, other_node->child_count(), model_ 55 chrome/browser/autocomplete/keyword_provider.cc model_(NULL), model_ 73 chrome/browser/autocomplete/keyword_provider.cc model_(model), model_ 612 chrome/browser/autocomplete/keyword_provider.cc TemplateURLServiceFactory::GetForProfile(profile_) : model_; model_ 153 chrome/browser/autocomplete/keyword_provider.h TemplateURLService* model_; model_ 49 chrome/browser/autocomplete/keyword_provider_unittest.cc scoped_ptr<TemplateURLService> model_; model_ 65 chrome/browser/autocomplete/keyword_provider_unittest.cc model_.reset(new TemplateURLService(kTestData, arraysize(kTestData))); model_ 66 chrome/browser/autocomplete/keyword_provider_unittest.cc kw_provider_ = new KeywordProvider(NULL, model_.get()); model_ 70 chrome/browser/autocomplete/keyword_provider_unittest.cc model_.reset(); model_ 263 chrome/browser/autocomplete/keyword_provider_unittest.cc model_->Add(template_url); model_ 264 chrome/browser/autocomplete/keyword_provider_unittest.cc ASSERT_TRUE(template_url == model_->GetTemplateURLForKeyword(keyword)); model_ 269 chrome/browser/autocomplete/keyword_provider_unittest.cc model_->Remove(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa"))); model_ 270 chrome/browser/autocomplete/keyword_provider_unittest.cc ASSERT_TRUE(model_->GetTemplateURLForKeyword(ASCIIToUTF16("aaaa")) == NULL); model_ 330 chrome/browser/autocomplete/keyword_provider_unittest.cc KeywordProvider::GetSubstitutingTemplateURLForInput(model_.get(), model_ 89 chrome/browser/background/background_application_list_model.cc BackgroundApplicationListModel* model_; model_ 157 chrome/browser/background/background_application_list_model.cc model_->SendApplicationDataChangedNotifications(extension_); model_ 165 chrome/browser/background/background_application_list_model.cc extensions::ImageLoader::Get(model_->profile_)->LoadImageAsync( model_ 30 chrome/browser/bookmarks/bookmark_index_unittest.cc BookmarkIndexTest() : model_(new BookmarkModel(NULL)) {} model_ 42 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->AddURL(model_->other_node(), static_cast<int>(i), model_ 58 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); model_ 94 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); model_ 105 chrome/browser/bookmarks/bookmark_index_unittest.cc scoped_ptr<BookmarkModel> model_; model_ 156 chrome/browser/bookmarks/bookmark_index_unittest.cc model_.reset(new BookmarkModel(NULL)); model_ 180 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->AddURL(model_->other_node(), 0, base::UTF8ToUTF16(data[i].title), model_ 183 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching( model_ 186 chrome/browser/bookmarks/bookmark_index_unittest.cc model_.reset(new BookmarkModel(NULL)); model_ 216 chrome/browser/bookmarks/bookmark_index_unittest.cc model_.reset(new BookmarkModel(NULL)); model_ 226 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->Remove(model_->other_node(), 0); model_ 237 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah")); model_ 247 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16("ABc"), 1, &matches); model_ 254 chrome/browser/bookmarks/bookmark_index_unittest.cc const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0, model_ 259 chrome/browser/bookmarks/bookmark_index_unittest.cc model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16("i"), 100, &matches); model_ 144 chrome/browser/bookmarks/bookmark_model_unittest.cc : model_(NULL) { model_ 145 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddObserver(this); model_ 270 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkModel model_; model_ 291 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* bb_node = model_.bookmark_bar_node(); model_ 296 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* other_node = model_.other_node(); model_ 301 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* mobile_node = model_.mobile_node(); model_ 312 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 316 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); model_ 324 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_TRUE(new_node == model_.GetMostRecentlyAddedNodeForURL(url)); model_ 327 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.other_node()->id() && model_ 328 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.mobile_node()->id()); model_ 332 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 337 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); model_ 345 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_TRUE(new_node == model_.GetMostRecentlyAddedNodeForURL(url)); model_ 348 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.other_node()->id() && model_ 349 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.mobile_node()->id()); model_ 354 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 359 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddURL(root, i, title, url); model_ 370 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.mobile_node(); model_ 374 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); model_ 382 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_TRUE(new_node == model_.GetMostRecentlyAddedNodeForURL(url)); model_ 385 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.other_node()->id() && model_ 386 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.mobile_node()->id()); model_ 390 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 393 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddFolder(root, 0, title); model_ 402 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.other_node()->id() && model_ 403 chrome/browser/bookmarks/bookmark_model_unittest.cc new_node->id() != model_.mobile_node()->id()); model_ 407 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddFolder(root, 0, title); model_ 414 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 418 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* new_node = model_.AddFolder(root, i, title); model_ 429 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 432 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(root, 0, title, url); model_ 435 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Remove(root, 0); model_ 441 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_TRUE(model_.GetMostRecentlyAddedNodeForURL(url) == NULL); model_ 445 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 446 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* folder = model_.AddFolder(root, 0, ASCIIToUTF16("foo")); model_ 453 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(folder, 0, title, url); model_ 458 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Remove(root, 0); model_ 464 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_TRUE(model_.GetMostRecentlyAddedNodeForURL(url) == NULL); model_ 468 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* bookmark_bar_node = model_.bookmark_bar_node(); model_ 475 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(bookmark_bar_node, 0, title, url); model_ 478 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* folder = model_.AddFolder(bookmark_bar_node, 0, title); model_ 479 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(folder, 0, title, url); model_ 484 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.RemoveAll(); model_ 495 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 498 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 503 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetTitle(node, title); model_ 511 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 514 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 517 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetTitle(node, title); model_ 524 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 527 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 532 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetURL(node, url); model_ 539 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 542 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 547 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetDateAdded(node, new_time); model_ 550 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_EQ(new_time, model_.bookmark_bar_node()->date_folder_modified()); model_ 554 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 557 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 558 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* folder1 = model_.AddFolder(root, 0, ASCIIToUTF16("foo")); model_ 561 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Move(node, folder1, 0); model_ 573 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Remove(root, 0); model_ 576 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.GetMostRecentlyAddedNodeForURL(url) == NULL); model_ 581 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 586 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* node = model_.AddURL(root, 0, title, url); model_ 587 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetDateFolderModified(root, old_date); model_ 590 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Move(node, root, 0); model_ 597 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.bookmark_bar_node(); model_ 599 chrome/browser/bookmarks/bookmark_model_unittest.cc test::AddNodesFromModelString(&model_, root, model_string); model_ 608 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, destination, 1); model_ 615 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, root, 1); model_ 622 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, destination, 1); model_ 630 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, folder, 3); model_ 637 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, root, 6); model_ 644 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Copy(node_to_copy, root, 1); model_ 653 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(model_.bookmark_bar_node(), model_.GetParentForNewNodes()); model_ 658 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.other_node(), 0, title, url); model_ 659 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(model_.other_node(), model_.GetParentForNewNodes()); model_ 664 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(model_.bookmark_bar_node(), model_.GetParentForNewNodes()); model_ 669 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.mobile_node(), 0, title, url); model_ 670 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(model_.mobile_node(), model_.GetParentForNewNodes()); model_ 676 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* folder = model_.AddFolder(model_.other_node(), 0, model_ 679 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(folder, 0, ASCIIToUTF16("blah"), GURL("http://foo.com")); model_ 683 chrome/browser/bookmarks/bookmark_model_unittest.cc bookmark_utils::GetMostRecentlyModifiedFolders(&model_, 1); model_ 689 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.Remove(folder->parent(), 0); model_ 691 chrome/browser/bookmarks/bookmark_model_unittest.cc bookmark_utils::GetMostRecentlyModifiedFolders(&model_, 1); model_ 701 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n1 = AsMutable(model_.AddURL(model_.bookmark_bar_node(), model_ 705 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n2 = AsMutable(model_.AddURL(model_.bookmark_bar_node(), model_ 709 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n3 = AsMutable(model_.AddURL(model_.bookmark_bar_node(), model_ 713 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n4 = AsMutable(model_.AddURL(model_.bookmark_bar_node(), model_ 724 chrome/browser/bookmarks/bookmark_model_unittest.cc bookmark_utils::GetMostRecentlyAddedEntries(&model_, 2, &recently_added); model_ 732 chrome/browser/bookmarks/bookmark_model_unittest.cc bookmark_utils::GetMostRecentlyAddedEntries(&model_, 4, &recently_added); model_ 746 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n1 = AsMutable(model_.AddURL( model_ 747 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.bookmark_bar_node(), 0, ASCIIToUTF16("blah"), url)); model_ 748 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* n2 = AsMutable(model_.AddURL( model_ 749 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.bookmark_bar_node(), 1, ASCIIToUTF16("blah"), url)); model_ 754 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(n1, model_.GetMostRecentlyAddedNodeForURL(url)); model_ 758 chrome/browser/bookmarks/bookmark_model_unittest.cc ASSERT_EQ(n2, model_.GetMostRecentlyAddedNodeForURL(url)); model_ 765 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.bookmark_bar_node(), 0, title, url); model_ 766 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.bookmark_bar_node(), 1, title, url); model_ 769 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.GetBookmarks(&bookmarks); model_ 774 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.bookmark_bar_node(), 2, ASCIIToUTF16("Title2"), url); model_ 777 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.GetBookmarks(&bookmarks); model_ 783 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(model_.bookmark_bar_node(), 0, ASCIIToUTF16("bar"), url); model_ 785 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.HasBookmarks()); model_ 977 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* parent = model_.bookmark_bar_node(); model_ 978 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateBookmarkNode(&bbn, &model_, parent); model_ 990 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SortChildren(parent); model_ 1007 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkNode* parent = AsMutable(model_.bookmark_bar_node()); model_ 1008 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateBookmarkNode(&bbn, &model_, parent); model_ 1018 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.ReorderChildren(parent, new_order); model_ 1032 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.bookmark_bar_node()->IsVisible()); model_ 1033 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.other_node()->IsVisible()); model_ 1035 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.mobile_node()->IsVisible()); model_ 1038 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetPermanentNodeVisible(BookmarkNode::BOOKMARK_BAR, false); model_ 1039 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.bookmark_bar_node()->IsVisible()); model_ 1040 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetPermanentNodeVisible(BookmarkNode::OTHER_NODE, false); model_ 1041 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.other_node()->IsVisible()); model_ 1042 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.SetPermanentNodeVisible(BookmarkNode::MOBILE, true); model_ 1043 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.mobile_node()->IsVisible()); model_ 1048 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* parent = model_.bookmark_bar_node(); model_ 1049 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateBookmarkNode(&bbn, &model_, parent); model_ 1053 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.bookmark_bar_node()->IsVisible()); model_ 1057 chrome/browser/bookmarks/bookmark_model_unittest.cc const BookmarkNode* root = model_.mobile_node(); model_ 1061 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.AddURL(root, 0, title, url); model_ 1062 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.mobile_node()->IsVisible()); model_ 1067 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.IsDoingExtensiveChanges()); model_ 1068 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.BeginExtensiveChanges(); model_ 1069 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.IsDoingExtensiveChanges()); model_ 1071 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.EndExtensiveChanges(); model_ 1072 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.IsDoingExtensiveChanges()); model_ 1078 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.IsDoingExtensiveChanges()); model_ 1079 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.BeginExtensiveChanges(); model_ 1080 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.IsDoingExtensiveChanges()); model_ 1082 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.BeginExtensiveChanges(); model_ 1083 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.IsDoingExtensiveChanges()); model_ 1085 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.EndExtensiveChanges(); model_ 1086 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_TRUE(model_.IsDoingExtensiveChanges()); model_ 1088 chrome/browser/bookmarks/bookmark_model_unittest.cc model_.EndExtensiveChanges(); model_ 1089 chrome/browser/bookmarks/bookmark_model_unittest.cc EXPECT_FALSE(model_.IsDoingExtensiveChanges()); model_ 24 chrome/browser/bookmarks/bookmark_node_data_unittest.cc BookmarkNodeDataTest() : model_(NULL) {} model_ 30 chrome/browser/bookmarks/bookmark_node_data_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 31 chrome/browser/bookmarks/bookmark_node_data_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 40 chrome/browser/bookmarks/bookmark_node_data_unittest.cc BookmarkModel* model() { return model_; } model_ 45 chrome/browser/bookmarks/bookmark_node_data_unittest.cc BookmarkModel* model_; model_ 122 chrome/browser/bookmarks/bookmark_storage.cc : model_(model), model_ 155 chrome/browser/bookmarks/bookmark_storage.cc model_ = NULL; model_ 160 chrome/browser/bookmarks/bookmark_storage.cc scoped_ptr<base::Value> value(codec.Encode(model_)); model_ 167 chrome/browser/bookmarks/bookmark_storage.cc if (!model_) model_ 170 chrome/browser/bookmarks/bookmark_storage.cc model_->DoneLoading(details_.release()); model_ 174 chrome/browser/bookmarks/bookmark_storage.cc if (!model_ || !model_->loaded()) { model_ 151 chrome/browser/bookmarks/bookmark_storage.h BookmarkModel* model_; model_ 11 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc : model_(NULL) { model_ 13 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc model_ = BookmarkModelFactory::GetForProfile(profile); model_ 14 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc if (model_) model_ 15 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc model_->BeginGroupedChanges(); model_ 19 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc : model_(model) { model_ 20 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc if (model_) model_ 21 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc model_->BeginGroupedChanges(); model_ 25 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc if (model_) model_ 26 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc model_->EndGroupedChanges(); model_ 21 chrome/browser/bookmarks/scoped_group_bookmark_actions.h BookmarkModel* model_; model_ 523 chrome/browser/browsing_data/cookies_tree_model.cc : model_(model) { model_ 542 chrome/browser/browsing_data/cookies_tree_model.cc DCHECK(model_); model_ 543 chrome/browser/browsing_data/cookies_tree_model.cc model_->Add(this, host_node.get(), model_ 549 chrome/browser/browsing_data/cookies_tree_model.cc return model_; model_ 845 chrome/browser/browsing_data/cookies_tree_model.cc : model_(model), node_(node), batch_in_progress_(false) { model_ 850 chrome/browser/browsing_data/cookies_tree_model.cc model_->NotifyObserverTreeNodeChanged(node_); model_ 851 chrome/browser/browsing_data/cookies_tree_model.cc model_->NotifyObserverEndBatch(); model_ 857 chrome/browser/browsing_data/cookies_tree_model.cc model_->NotifyObserverBeginBatch(); model_ 177 chrome/browser/browsing_data/cookies_tree_model.h CookiesTreeModel* model_; model_ 618 chrome/browser/browsing_data/cookies_tree_model.h CookiesTreeModel* model_; model_ 39 chrome/browser/browsing_data/local_data_container.cc model_(NULL), model_ 45 chrome/browser/browsing_data/local_data_container.cc DCHECK(!model_); model_ 46 chrome/browser/browsing_data/local_data_container.cc model_ = model; model_ 129 chrome/browser/browsing_data/local_data_container.cc model_->PopulateAppCacheInfo(this); model_ 137 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 138 chrome/browser/browsing_data/local_data_container.cc model_->PopulateCookieInfo(this); model_ 144 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 145 chrome/browser/browsing_data/local_data_container.cc model_->PopulateDatabaseInfo(this); model_ 151 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 152 chrome/browser/browsing_data/local_data_container.cc model_->PopulateLocalStorageInfo(this); model_ 158 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 159 chrome/browser/browsing_data/local_data_container.cc model_->PopulateSessionStorageInfo(this); model_ 165 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 166 chrome/browser/browsing_data/local_data_container.cc model_->PopulateIndexedDBInfo(this); model_ 172 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 173 chrome/browser/browsing_data/local_data_container.cc model_->PopulateFileSystemInfo(this); model_ 179 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 180 chrome/browser/browsing_data/local_data_container.cc model_->PopulateQuotaInfo(this); model_ 186 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 187 chrome/browser/browsing_data/local_data_container.cc model_->PopulateServerBoundCertInfo(this); model_ 193 chrome/browser/browsing_data/local_data_container.cc DCHECK(model_); model_ 194 chrome/browser/browsing_data/local_data_container.cc model_->PopulateFlashLSOInfo(this); model_ 136 chrome/browser/browsing_data/local_data_container.h CookiesTreeModel* model_; model_ 39 chrome/browser/devtools/android_device.h std::string model() { return model_; } model_ 40 chrome/browser/devtools/android_device.h void set_model(const std::string& model) { model_ = model; } model_ 58 chrome/browser/devtools/android_device.h std::string model_; model_ 34 chrome/browser/diagnostics/diagnostics_controller.cc return *model_; model_ 38 chrome/browser/diagnostics/diagnostics_controller.cc return (model_.get() && model_->GetTestRunCount() > 0); model_ 41 chrome/browser/diagnostics/diagnostics_controller.cc void DiagnosticsController::ClearResults() { model_.reset(); } model_ 65 chrome/browser/diagnostics/diagnostics_controller.cc model_.reset(MakeDiagnosticsModel(command_line)); model_ 66 chrome/browser/diagnostics/diagnostics_controller.cc model_->RunAll(writer_); model_ 92 chrome/browser/diagnostics/diagnostics_controller.cc writer->OnAllRecoveryDone(model_.get()); model_ 99 chrome/browser/diagnostics/diagnostics_controller.cc model_->RecoverAll(writer_); model_ 55 chrome/browser/diagnostics/diagnostics_controller.h scoped_ptr<DiagnosticsModel> model_; model_ 81 chrome/browser/diagnostics/diagnostics_controller_unittest.cc scoped_ptr<DiagnosticsModel> model_; model_ 24 chrome/browser/diagnostics/diagnostics_model_unittest.cc model_.reset(MakeDiagnosticsModel(cmdline_)); model_ 25 chrome/browser/diagnostics/diagnostics_model_unittest.cc ASSERT_TRUE(model_.get() != NULL); model_ 29 chrome/browser/diagnostics/diagnostics_model_unittest.cc model_.reset(); model_ 32 chrome/browser/diagnostics/diagnostics_model_unittest.cc scoped_ptr<DiagnosticsModel> model_; model_ 91 chrome/browser/diagnostics/diagnostics_model_unittest.cc int available = model_->GetTestAvailableCount(); model_ 93 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_EQ(0, model_->GetTestRunCount()); model_ 94 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_EQ(DiagnosticsModel::TEST_NOT_RUN, model_->GetTest(0).GetResult()); model_ 102 chrome/browser/diagnostics/diagnostics_model_unittest.cc model_->RunAll(&observer); model_ 105 chrome/browser/diagnostics/diagnostics_model_unittest.cc model_->RecoverAll(&observer); model_ 107 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_EQ(DiagnosticsModel::kDiagnosticsTestCount, model_->GetTestRunCount()); model_ 61 chrome/browser/download/download_item_model_unittest.cc : model_(&item_) {} model_ 105 chrome/browser/download/download_item_model_unittest.cc return model_; model_ 110 chrome/browser/download/download_item_model_unittest.cc DownloadItemModel model_; model_ 25 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_.reset(new BookmarkModel(NULL)); model_ 26 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Digg"), model_ 28 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("News"), model_ 30 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc folder_ = model_->AddFolder( model_ 31 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->other_node(), 0, base::ASCIIToUTF16("outer folder")); model_ 32 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddFolder(folder_, 0, base::ASCIIToUTF16("inner folder 1")); model_ 33 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddFolder(folder_, 0, base::ASCIIToUTF16("inner folder 2")); model_ 34 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL( model_ 36 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc model_->AddURL( model_ 40 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc scoped_ptr<BookmarkModel> model_; model_ 45 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc GetBookmarkTreeNode(model_->other_node(), model_ 53 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc GetBookmarkTreeNode(model_->other_node(), model_ 164 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model_->AddObserver(this); model_ 168 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (model_) { model_ 169 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model_->RemoveObserver(this); model_ 191 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model_ = NULL; model_ 70 chrome/browser/extensions/api/bookmarks/bookmarks_api.h BookmarkModel* model_; model_ 222 chrome/browser/extensions/api/processes/processes_api.cc model_ = TaskManager::GetInstance()->model(); model_ 223 chrome/browser/extensions/api/processes/processes_api.cc model_->AddObserver(this); model_ 240 chrome/browser/extensions/api/processes/processes_api.cc model_->StopListening(); model_ 242 chrome/browser/extensions/api/processes/processes_api.cc model_->RemoveObserver(this); model_ 250 chrome/browser/extensions/api/processes/processes_api.cc model_->StartUpdating(); model_ 261 chrome/browser/extensions/api/processes/processes_api.cc model_->StopUpdating(); model_ 268 chrome/browser/extensions/api/processes/processes_api.cc model_->StartListening(); model_ 307 chrome/browser/extensions/api/processes/processes_api.cc if (!model_->IsResourceFirstInGroup(start)) { model_ 308 chrome/browser/extensions/api/processes/processes_api.cc index = model_->GetGroupIndexForResource(start); model_ 313 chrome/browser/extensions/api/processes/processes_api.cc model_->GetUniqueChildProcessId(index), model_, index, false); model_ 331 chrome/browser/extensions/api/processes/processes_api.cc if (!model_) model_ 345 chrome/browser/extensions/api/processes/processes_api.cc if (model_->IsResourceFirstInGroup(i)) { model_ 346 chrome/browser/extensions/api/processes/processes_api.cc int id = model_->GetUniqueChildProcessId(i); model_ 347 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* process = CreateProcessFromModel(id, model_, i, model_ 378 chrome/browser/extensions/api/processes/processes_api.cc AddMemoryDetails(it.GetCurrentValue(), model_, it.GetCurrentKey()); model_ 401 chrome/browser/extensions/api/processes/processes_api.cc if (model_->GetResourceType(start) == task_manager::Resource::RENDERER) model_ 409 chrome/browser/extensions/api/processes/processes_api.cc model_->GetUniqueChildProcessId(start))); model_ 428 chrome/browser/extensions/api/processes/processes_api.cc int count = model_->ResourceCount(); model_ 432 chrome/browser/extensions/api/processes/processes_api.cc if (model_->IsResourceFirstInGroup(i)) { model_ 433 chrome/browser/extensions/api/processes/processes_api.cc if (id == model_->GetUniqueChildProcessId(i)) { model_ 434 chrome/browser/extensions/api/processes/processes_api.cc process = CreateProcessFromModel(id, model_, i, false); model_ 84 chrome/browser/extensions/api/processes/processes_api.h TaskManagerModel* model_; model_ 31 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_ = ExtensionToolbarModel::Get(browser()->profile()); model_ 32 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->AddObserver(this); model_ 36 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->RemoveObserver(this); model_ 59 chrome/browser/extensions/extension_toolbar_model_browsertest.cc const ExtensionList& toolbar_items = model_->toolbar_items(); model_ 69 chrome/browser/extensions/extension_toolbar_model_browsertest.cc ExtensionToolbarModel* model_; model_ 85 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(0u, model_->toolbar_items().size()); model_ 95 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 102 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extension, 0); model_ 104 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 110 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(0u, model_->toolbar_items().size()); model_ 129 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 143 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 156 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 163 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionC, 0); model_ 165 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 172 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionA, 2); model_ 174 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 184 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 194 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 202 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 208 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionA, 0); model_ 210 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 216 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionA, 0); model_ 218 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 227 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 236 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 290 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionC, 1); model_ 291 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionA, 2); model_ 335 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->MoveBrowserAction(extensionB, 0); model_ 342 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 346 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 385 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->HighlightExtensions(ExtensionIdList())); model_ 408 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 410 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 412 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 416 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->StopHighlighting(); model_ 418 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 421 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 427 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->StopHighlighting(); model_ 429 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 436 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 438 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 446 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 448 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 455 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 457 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 463 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 465 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 500 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 501 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 503 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(2u, model_->toolbar_items().size()); model_ 507 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 508 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 514 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 516 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 525 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 527 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 528 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 533 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 535 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 539 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->StopHighlighting(); model_ 540 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 542 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 562 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->HighlightExtensions(extension_ids); model_ 563 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 564 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 574 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_TRUE(model_->is_highlighting()); model_ 575 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(1u, model_->toolbar_items().size()); model_ 579 chrome/browser/extensions/extension_toolbar_model_browsertest.cc model_->StopHighlighting(); model_ 580 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_FALSE(model_->is_highlighting()); model_ 581 chrome/browser/extensions/extension_toolbar_model_browsertest.cc EXPECT_EQ(3u, model_->toolbar_items().size()); model_ 158 chrome/browser/media/native_desktop_media_list_unittest.cc model_.reset(new NativeDesktopMediaList( model_ 163 chrome/browser/media/native_desktop_media_list_unittest.cc model_->SetUpdatePeriod(base::TimeDelta::FromMilliseconds(0)); model_ 182 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(CheckListSize(model_.get(), static_cast<int>(i + 1))); model_ 190 chrome/browser/media/native_desktop_media_list_unittest.cc model_->StartUpdating(&observer_); model_ 195 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(source_index).id.type, model_ 197 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(source_index).id.id, static_cast<int>(i + 1)); model_ 198 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(source_index).name, model_ 212 chrome/browser/media/native_desktop_media_list_unittest.cc scoped_ptr<NativeDesktopMediaList> model_; model_ 224 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN); model_ 225 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(0).id.id, 0); model_ 234 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN); model_ 235 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(0).id.id, 0); model_ 240 chrome/browser/media/native_desktop_media_list_unittest.cc model_.reset(new NativeDesktopMediaList( model_ 247 chrome/browser/media/native_desktop_media_list_unittest.cc model_.reset(new NativeDesktopMediaList( model_ 254 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(CheckListSize(model_.get(), 1)); model_ 258 chrome/browser/media/native_desktop_media_list_unittest.cc model_->StartUpdating(&observer_); model_ 262 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(0).id.type, content::DesktopMediaID::TYPE_SCREEN); model_ 270 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(DoAll(CheckListSize(model_.get(), 3), model_ 281 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(2).id.type, content::DesktopMediaID::TYPE_WINDOW); model_ 282 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(2).id.id, 0); model_ 290 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(DoAll(CheckListSize(model_.get(), 2), model_ 305 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(CheckListSize(model_.get(), 2)); model_ 307 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(DoAll(CheckListSize(model_.get(), 1), model_ 330 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(model_->GetSource(1).name, base::UTF8ToUTF16(kTestTitle)); model_ 350 chrome/browser/media/native_desktop_media_list_unittest.cc .WillOnce(DoAll(CheckListSize(model_.get(), 3), model_ 238 chrome/browser/safe_browsing/client_side_detection_service.cc if (!model_.get()) { model_ 299 chrome/browser/safe_browsing/client_side_detection_service.cc SetBadSubnets(*model_, &bad_subnets_); model_ 434 chrome/browser/safe_browsing/client_side_detection_service.cc (model_.get() && model->version() < model_->version())) { model_ 436 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (model_.get() && model->version() == model_->version()) { model_ 441 chrome/browser/safe_browsing/client_side_detection_service.cc model_.swap(model); model_ 291 chrome/browser/safe_browsing/client_side_detection_service.h scoped_ptr<ClientSideModel> model_; model_ 352 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc service.model_.reset(new ClientSideModel(model)); model_ 353 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc service.model_->set_version(11); model_ 364 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc service.model_->set_version(10); model_ 27 chrome/browser/search_engines/template_url_scraper_unittest.cc explicit TemplateURLServiceLoader(TemplateURLService* model) : model_(model) { model_ 31 chrome/browser/search_engines/template_url_scraper_unittest.cc model_->RegisterOnLoadedCallback( model_ 33 chrome/browser/search_engines/template_url_scraper_unittest.cc model_->Load(); model_ 38 chrome/browser/search_engines/template_url_scraper_unittest.cc TemplateURLService* model_; model_ 125 chrome/browser/sync/glue/bookmark_model_associator.cc model_ = model; model_ 130 chrome/browser/sync/glue/bookmark_model_associator.cc model_->EndExtensiveChanges(); model_ 134 chrome/browser/sync/glue/bookmark_model_associator.cc BookmarkModel* model_; model_ 320 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc : model_(NULL), model_ 398 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_ = BookmarkModelFactory::GetForProfile(&profile_); model_ 399 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 402 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->ClearStore(); model_ 492 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int local_count_before = model_->root_node()->GetTotalNodeCount(); model_ 516 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->root_node()->GetTotalNodeCount(), model_ 553 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_ = NULL; model_ 573 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (!model_->is_permanent_node(bnode)) { model_ 684 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* root = model_->root_node(); model_ 685 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->bookmark_bar_node()), 0); model_ 686 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1); model_ 687 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->mobile_node()), 2); model_ 713 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetSyncIdFromChromeId(model_->mobile_node()->id()); model_ 718 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetSyncIdFromChromeId(model_->other_node()->id()); model_ 723 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->bookmark_bar_node()->id()); model_ 727 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc BookmarkModel* model_; model_ 798 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("foobar")); model_ 802 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(folder, 0, base::ASCIIToUTF16("nested")); model_ 805 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* url1 = model_->AddURL( model_ 810 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* url2 = model_->AddURL( model_ 817 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->mobile_node(), 0, base::ASCIIToUTF16("pie")); model_ 822 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(url2, base::ASCIIToUTF16("EasyJet")); model_ 824 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(url1, folder2, 0); model_ 826 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(folder2, model_->bookmark_bar_node(), 0); model_ 828 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(folder2, base::ASCIIToUTF16("Not Nested")); model_ 830 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(folder, folder2, 0); model_ 832 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(folder, base::ASCIIToUTF16("who's nested now?")); model_ 834 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Copy(url2, model_->bookmark_bar_node(), 0); model_ 836 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(mobile_folder, base::ASCIIToUTF16("strawberry")); model_ 841 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(url2->parent(), url2->parent()->GetIndexOf(url2)); model_ 844 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(folder2->parent(), model_ 847 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(model_->mobile_node(), 0); model_ 1010 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(1, model_->other_node()->child_count()); model_ 1020 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(1, model_->other_node()->child_count()); model_ 1044 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc child_count = model_->other_node()->child_count(); model_ 1055 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->other_node()->child_count(), child_count); model_ 1092 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16(names[i])); model_ 1093 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16(names[i]), url); model_ 1097 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(static_cast<size_t>(model_->other_node()->child_count()), model_ 1105 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(static_cast<size_t>(model_->other_node()->child_count()), model_ 1121 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("Alpha")); model_ 1122 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 1, base::ASCIIToUTF16("Omega")); model_ 1130 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 1, title); model_ 1139 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), count - 1, title); model_ 1144 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->other_node()->child_count(), count); model_ 1159 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("node")); model_ 1177 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(node, 0, base::ASCIIToUTF16("nested")); model_ 1187 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Dup"), model_ 1189 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Dup"), model_ 1192 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(2, model_->other_node()->child_count()); model_ 1198 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(2, model_->other_node()->child_count()); model_ 1232 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(6, model_->bookmark_bar_node()->GetTotalNodeCount()); model_ 1247 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(2, model_->bookmark_bar_node()->GetTotalNodeCount()); model_ 1251 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(6, model_->bookmark_bar_node()->GetTotalNodeCount()); model_ 1254 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(model_->bookmark_bar_node()->GetChild(1), model_ 1262 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(4, model_->bookmark_bar_node()->GetTotalNodeCount()); model_ 1264 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->bookmark_bar_node()->GetChild(0)->GetTitle()); model_ 1266 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->bookmark_bar_node()->GetChild(1)->GetTitle()); model_ 1268 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->bookmark_bar_node()->GetChild(1)->GetChild(0)->GetTitle()); model_ 1454 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURLWithCreationTime(node, i, base::WideToUTF16Hack(item.title), model_ 1457 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(node, i, base::WideToUTF16Hack(item.title)); model_ 1498 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmarks_bar_node = model_->bookmark_bar_node(); model_ 1511 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* other_bookmarks_node = model_->other_node(); model_ 1529 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* mobile_bookmarks_node = model_->mobile_node(); model_ 1546 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar_node = model_->bookmark_bar_node(); model_ 1559 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* other_bookmarks_node = model_->other_node(); model_ 1577 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* mobile_bookmarks_node = model_->mobile_node(); model_ 1652 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->bookmark_bar_node()->child_count(), 0); model_ 1653 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->other_node()->child_count(), 0); model_ 1654 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(model_->mobile_node()->child_count(), 0); model_ 1686 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar = model_->bookmark_bar_node(); model_ 1689 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(bookmark_bar->GetChild(0), bookmark_bar, 1); model_ 1703 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar_node = model_->bookmark_bar_node(); model_ 1709 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(bookmark_bar_node, remove_index); model_ 1714 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(bookmark_bar_node, remove_index); model_ 1716 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 1723 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(f3_node, remove_index); model_ 1725 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(f3_node, remove_index); model_ 1736 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc bookmark_bar_node = model_->bookmark_bar_node(); model_ 1742 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(bookmark_bar_node, remove_index); model_ 1747 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(bookmark_bar_node, remove_index); model_ 1750 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(bookmark_bar_node->GetChild(0), bookmark_bar_node, 1); model_ 1752 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc other_node = model_->other_node(); model_ 1759 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(f3_node, remove_index); model_ 1761 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(f3_node, remove_index); model_ 1764 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(other_node->GetChild(0), other_node, 1); model_ 1765 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Move(other_node->GetChild(2), other_node, 3); model_ 1800 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar_node = model_->bookmark_bar_node(); model_ 1801 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddURL(bookmark_bar_node, 0, base::ASCIIToUTF16("xtra"), model_ 1816 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* folder_added = model_->other_node()->GetChild(0); model_ 1823 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SortChildren(folder_added); model_ 1865 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddObserver(&observer); model_ 1873 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->RemoveObserver(&observer); model_ 1888 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar_node = model_->bookmark_bar_node(); model_ 1894 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetDateAdded(child_node, base::Time::FromInternalValue(10)); model_ 1916 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* node = model_->bookmark_bar_node()->GetChild(0); model_ 1946 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ASSERT_LT(0, model_->bookmark_bar_node()->child_count()); model_ 1947 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* folder_node = model_->bookmark_bar_node()->GetChild(0); model_ 1980 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->AddFolder(model_->bookmark_bar_node(), 0, model_ 1982 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* node = model_->AddURL(folder_node, 0, model_ 1988 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeMetaInfo(folder_node, "folder", "foldervalue"); model_ 1989 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeMetaInfo(node, "node", "nodevalue"); model_ 1990 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeMetaInfo(node, "other", "othervalue"); model_ 1994 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->DeleteNodeMetaInfo(folder_node, "folder"); model_ 1995 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeMetaInfo(node, "node", "changednodevalue"); model_ 1996 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->DeleteNodeMetaInfo(node, "other"); model_ 1997 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeMetaInfo(node, "newkey", "newkeyvalue"); model_ 2057 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GetTransactionVersions(model_->root_node(), &initial_versions); model_ 2059 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc initial_versions[model_->root_node()->id()]); model_ 2061 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->bookmark_bar_node(), model_ 2063 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->other_node(), model_ 2065 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->mobile_node(), model_ 2070 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc const BookmarkNode* bookmark_bar = model_->bookmark_bar_node(); model_ 2071 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(bookmark_bar, 0); model_ 2074 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GetTransactionVersions(model_->root_node(), &new_versions); model_ 2075 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(initial_versions[model_->root_node()->id()] + 1, model_ 2076 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc new_versions[model_->root_node()->id()]); model_ 2077 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->bookmark_bar_node(), initial_versions); model_ 2078 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->other_node(), initial_versions); model_ 2079 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->mobile_node(), initial_versions); model_ 2084 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->bookmark_bar_node()->GetChild(0); model_ 2085 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetTitle(changed_bookmark, base::ASCIIToUTF16("test")); model_ 2087 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GetTransactionVersions(model_->root_node(), &new_versions); model_ 2088 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(initial_versions[model_->root_node()->id()] + 2, model_ 2089 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc new_versions[model_->root_node()->id()]); model_ 2093 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->bookmark_bar_node(), initial_versions); model_ 2094 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->other_node(), initial_versions); model_ 2095 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->mobile_node(), initial_versions); model_ 2114 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc GetTransactionVersions(model_->root_node(), &initial_versions); model_ 2116 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc initial_versions[model_->root_node()->id()]); model_ 2118 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->bookmark_bar_node(), model_ 2120 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->other_node(), model_ 2122 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ExpectTransactionVersionMatch(model_->mobile_node(), model_ 2127 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 root_version = initial_versions[model_->root_node()->id()]; model_ 2128 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->SetNodeSyncTransactionVersion(model_->root_node(), root_version + 1); model_ 66 chrome/browser/sync/test/integration/bookmarks_helper.cc : model_(model), model_ 72 chrome/browser/sync/test/integration/bookmarks_helper.cc model_->RemoveObserver(this); model_ 78 chrome/browser/sync/test/integration/bookmarks_helper.cc ASSERT_FALSE(model_->GetFavicon(node_).IsEmpty()); model_ 102 chrome/browser/sync/test/integration/bookmarks_helper.cc if (model == model_ && node == node_) model_ 111 chrome/browser/sync/test/integration/bookmarks_helper.cc if (model == model_ && node == node_) { model_ 118 chrome/browser/sync/test/integration/bookmarks_helper.cc BookmarkModel* model_; model_ 1544 chrome/browser/task_manager/task_manager.cc return index < model_->ResourceCount() && model_ 1545 chrome/browser/task_manager/task_manager.cc model_->GetProcess(index) == base::GetCurrentProcessHandle(); model_ 1549 chrome/browser/task_manager/task_manager.cc base::ProcessHandle process = model_->GetProcess(index); model_ 1560 chrome/browser/task_manager/task_manager.cc WebContents* chosen_web_contents = model_->GetResourceWebContents(index); model_ 1566 chrome/browser/task_manager/task_manager.cc model_->AddResource(resource); model_ 1570 chrome/browser/task_manager/task_manager.cc model_->RemoveResource(resource); model_ 1574 chrome/browser/task_manager/task_manager.cc model_->StopUpdating(); model_ 1578 chrome/browser/task_manager/task_manager.cc model_->ModelChanged(); model_ 1597 chrome/browser/task_manager/task_manager.cc : model_(new TaskManagerModel(this)) { model_ 82 chrome/browser/task_manager/task_manager.h TaskManagerModel* model() const { return model_.get(); } model_ 103 chrome/browser/task_manager/task_manager.h scoped_refptr<TaskManagerModel> model_; model_ 32 chrome/browser/task_manager/task_manager_browsertest_util.cc : model_(model), model_ 91 chrome/browser/task_manager/task_manager_browsertest_util.cc for (int i = 0; i < model_->ResourceCount(); i++) { model_ 92 chrome/browser/task_manager/task_manager_browsertest_util.cc task_manager::Resource::Type type = model_->GetResourceType(i); model_ 103 chrome/browser/task_manager/task_manager_browsertest_util.cc if (MatchPattern(model_->GetResourceTitle(i), title_pattern_)) { model_ 123 chrome/browser/task_manager/task_manager_browsertest_util.cc for (int i = 0; i < model_->ResourceCount(); i++) { model_ 125 chrome/browser/task_manager/task_manager_browsertest_util.cc << " > " << base::UTF16ToASCII(model_->GetResourceTitle(i)) << "\n"; model_ 130 chrome/browser/task_manager/task_manager_browsertest_util.cc const TaskManagerModel* model_; model_ 70 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model_ 76 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model_ 117 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model_ 379 chrome/browser/translate/translate_manager_render_view_host_unittest.cc if (model_) { model_ 380 chrome/browser/translate/translate_manager_render_view_host_unittest.cc model_->SetViewState( model_ 393 chrome/browser/translate/translate_manager_render_view_host_unittest.cc model_.reset(new TranslateBubbleModelImpl(step, ui_delegate.Pass())); model_ 396 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateBubbleModel* model() { return model_.get(); } model_ 399 chrome/browser/translate/translate_manager_render_view_host_unittest.cc scoped_ptr<TranslateBubbleModel> model_; model_ 228 chrome/browser/ui/app_list/app_list_syncable_service.cc apps_builder_->InitializeWithProfile(profile_, model_.get()); model_ 252 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListFolderItem* oem_folder = model_->FindFolderItem(kOemFolderId); model_ 254 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemName(oem_folder, oem_folder_name_); model_ 273 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->AddItemToFolder(app_item.Pass(), folder_id); model_ 373 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->DeleteItem(id); model_ 383 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->MoveItemToFolder(app_item, ""); model_ 385 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->MoveItemToFolder(app_item, kOemFolderId); model_ 428 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListItem* app_item = model_->FindItem(sync_item->item_id); model_ 433 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemPosition(app_item, syncer::StringOrdinal()); model_ 614 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->DeleteItem(item_id); model_ 645 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListItem* app_item = model_->FindItem(sync_item->item_id); model_ 666 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListItem* app_item = model_->FindItem(sync_item->item_id); model_ 677 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->MoveItemToFolder(app_item, sync_item->parent_id); model_ 686 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemPosition(app_item, sync_item->item_ordinal); model_ 692 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemName(app_item, sync_item->item_name); model_ 762 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->DeleteItem(item_id); model_ 766 chrome/browser/ui/app_list/app_list_syncable_service.cc AppListFolderItem* oem_folder = model_->FindFolderItem(kOemFolderId); model_ 771 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->AddItem(new_folder.PassAs<app_list::AppListItem>())); model_ 773 chrome/browser/ui/app_list/app_list_syncable_service.cc model_->SetItemName(oem_folder, oem_folder_name_); model_ 81 chrome/browser/ui/app_list/app_list_syncable_service.h AppListModel* model() { return model_.get(); } model_ 190 chrome/browser/ui/app_list/app_list_syncable_service.h scoped_ptr<AppListModel> model_; model_ 93 chrome/browser/ui/app_list/app_list_view_delegate.cc model_(NULL), model_ 170 chrome/browser/ui/app_list/app_list_view_delegate.cc model_ = app_list::AppListSyncableServiceFactory::GetForProfile( model_ 174 chrome/browser/ui/app_list/app_list_view_delegate.cc profile_, model_->search_box(), model_->results(), model_ 180 chrome/browser/ui/app_list/app_list_view_delegate.cc app_sync_ui_state_watcher_.reset(new AppSyncUIStateWatcher(profile_, model_)); model_ 203 chrome/browser/ui/app_list/app_list_view_delegate.cc DCHECK(model_); model_ 213 chrome/browser/ui/app_list/app_list_view_delegate.cc model_->search_box()->SetText(base::string16()); model_ 217 chrome/browser/ui/app_list/app_list_view_delegate.cc return model_; model_ 364 chrome/browser/ui/app_list/app_list_view_delegate.cc model_->search_box()->SetText(result); model_ 127 chrome/browser/ui/app_list/app_list_view_delegate.h app_list::AppListModel* model_; model_ 55 chrome/browser/ui/app_list/extension_app_model_builder.cc model_(NULL), model_ 63 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->top_level_item_list()->RemoveObserver(this); model_ 69 chrome/browser/ui/app_list/extension_app_model_builder.cc model_ = service->model(); model_ 81 chrome/browser/ui/app_list/extension_app_model_builder.cc model_ = model; model_ 82 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->top_level_item_list()->AddObserver(this); model_ 107 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->NotifyExtensionPreferenceChanged(); model_ 140 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->DeleteItem(extension_id); model_ 179 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->DeleteItem(extension->id()); model_ 251 chrome/browser/ui/app_list/extension_app_model_builder.cc model_->AddItem(app.PassAs<app_list::AppListItem>()); model_ 270 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItem* item = model_->FindItem(extension_id); model_ 279 chrome/browser/ui/app_list/extension_app_model_builder.cc DCHECK(model_); model_ 299 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListItemList* item_list = model_->top_level_item_list(); model_ 126 chrome/browser/ui/app_list/extension_app_model_builder.h app_list::AppListModel* model_; model_ 142 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc model_.reset(new app_list::AppListModel); model_ 145 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc builder_->InitializeWithProfile(profile_.get(), model_.get()); model_ 151 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc model_.reset(); model_ 154 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc scoped_ptr<app_list::AppListModel> model_; model_ 166 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(kDefaultAppCount, model_->top_level_item_list()->item_count()); model_ 167 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 210 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 213 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 219 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc GetModelContent(model_.get())); model_ 234 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc GetModelContent(model_.get())); model_ 240 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 249 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 261 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 272 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 284 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 289 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 294 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(std::string(kDefaultApps), GetModelContent(model_.get())); model_ 336 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc GetModelContent(model_.get())); model_ 362 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_EQ(kDefaultAppCount + 1, model_->top_level_item_list()->item_count()); model_ 363 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc EXPECT_NE(std::string::npos, GetModelContent(model_.get()).find(kAppName)); model_ 27 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.cc model_->SetStatus(app_list::AppListModel::STATUS_SYNCING); model_ 29 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.cc model_->SetStatus(app_list::AppListModel::STATUS_NORMAL); model_ 31 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.h app_list::AppListModel* model_; // Owned by AppListView model_ 315 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc : model_(model), model_ 337 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->AddObserver(this); model_ 404 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->RemoveObserver(this); model_ 409 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(i->first); model_ 413 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->items()[index].type != ash::TYPE_BROWSER_SHORTCUT) model_ 414 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->RemoveItemAt(index); model_ 468 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc index = model_->item_count(); model_ 478 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 479 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemStatus old_status = model_->items()[index].status; model_ 483 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; model_ 485 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); model_ 521 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 524 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; model_ 529 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); model_ 544 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc UnpinRunningAppInternal(model_->ItemIndexByID(id)); model_ 553 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 556 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[index].type; model_ 571 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 575 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[index].type; model_ 587 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->item_count(), model_ 741 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(i->first); model_ 744 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; model_ 746 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); model_ 760 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(shelf_id); model_ 763 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; model_ 765 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); model_ 786 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(GetShelfIDForAppID(app_id)); model_ 790 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[index].type; model_ 851 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc for (size_t i = 0; i < model_->items().size(); ++i) { model_ 852 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (model_->items()[i].type == ash::TYPE_APP_SHORTCUT) { model_ 853 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfID id = model_->items()[i].id; model_ 860 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc } else if (model_->items()[i].type == ash::TYPE_BROWSER_SHORTCUT) { model_ 862 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc } else if (model_->items()[i].type == ash::TYPE_APP_LIST) { model_ 877 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return model_; model_ 972 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int browser_index = model_->GetItemIndexForType(ash::TYPE_BROWSER_SHORTCUT); model_ 973 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return model_->items()[browser_index].id; model_ 984 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 990 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[index].type; model_ 1057 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (model_->items()[index].type == ash::TYPE_APP_LIST && model_ 1067 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item = model_->items()[target_index]; model_ 1201 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->SetStatus(ash::ShelfModel::STATUS_LOADING); model_ 1203 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->SetStatus(ash::ShelfModel::STATUS_NORMAL); model_ 1341 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc for (int i = 0; i < model_->item_count(); i++) { model_ 1342 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[i].type; model_ 1344 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc list.push_back(GetAppIDForShelfID(model_->items()[i].id)); model_ 1358 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int running_index = model_->FirstRunningAppIndex(); model_ 1363 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int app_index = model_->ItemIndexByID(shelf_id); model_ 1365 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[app_index].type; model_ 1368 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Move(running_index, app_index); model_ 1408 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(id); model_ 1412 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->RemoveItemAt(index); model_ 1426 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc CreateAppShortcutLauncherItem(app_id, model_->item_count()); model_ 1440 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int running_index = model_->ItemIndexByID(shelf_id); model_ 1441 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[running_index]; model_ 1445 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(running_index, item); model_ 1448 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc running_index = model_->ItemIndexByID(shelf_id); model_ 1452 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Move(running_index, index); model_ 1458 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItem item = model_->items()[index]; model_ 1467 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Set(index, item); model_ 1482 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int max_index = model_->item_count(); model_ 1499 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item(model_->items()[index]); model_ 1560 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc index = model_->ItemIndexByID(shelf_id); model_ 1567 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc while (index < model_->item_count()) { model_ 1568 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item(model_->items()[index]); model_ 1598 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int source_index = model_->ItemIndexByID(id); model_ 1600 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Move(source_index, target_index); model_ 1712 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfID id = model_->next_id(); model_ 1728 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->AddAt(index, item); model_ 1755 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc int index = model_->ItemIndexByID(i->first); model_ 1756 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc const ash::ShelfItem& item = model_->items()[index]; model_ 1773 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfID id = model_->next_id(); model_ 1775 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->AddAt(index, browser_shortcut); model_ 1803 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Move(*chrome_index, target_index); model_ 1810 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc model_->Move(*app_list_index, target_index); model_ 1828 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc for (int i = model_->item_count() - 1; i > 0; --i) { model_ 1829 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfItemType type = model_->items()[i].type; model_ 1856 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc return std::min(model_->item_count(), index); model_ 537 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ash::ShelfModel* model_; model_ 189 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ShelfAppBrowserTest() : shelf_(NULL), model_(NULL), controller_(NULL) { model_ 196 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc model_ = ash::test::ShellTestApi(ash::Shell::GetInstance()).shelf_model(); model_ 240 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc int item_count = model_->item_count(); model_ 245 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(++item_count, model_->item_count()); model_ 246 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc const ash::ShelfItem& item = *model_->ItemByID(shortcut_id); model_ 262 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc name, model_->item_count()); model_ 267 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc return model_->GetItemIndexForType(type); model_ 301 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfModel* model_; model_ 832 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 833 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 835 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 841 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 852 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 858 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 892 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 894 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 898 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut_id)).status); model_ 900 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 901 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 940 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc int item_count = model_->item_count(); model_ 944 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(++item_count, model_->item_count()); model_ 946 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(++item_count, model_->item_count()); model_ 949 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut1)); model_ 952 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut1)).status); model_ 955 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut2)); model_ 959 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut1)).status); model_ 960 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut2)).status); model_ 963 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut1)); model_ 966 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut1)).status); model_ 967 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut2)).status); model_ 976 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut1)).status); model_ 977 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut2)).status); model_ 980 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut1)); model_ 983 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut1)).status); model_ 984 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut2)).status); model_ 987 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut2)); model_ 990 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut1)).status); model_ 991 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut2)).status); model_ 998 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 999 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1000 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 1005 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 1010 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 1024 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1025 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, (*model_->ItemByID(shortcut_id)).status); model_ 1028 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1030 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->items()[browser_index].status); model_ 1031 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 1038 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1039 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, (*model_->ItemByID(shortcut_id)).status); model_ 1049 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->items()[browser_index].status); model_ 1050 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, (*model_->ItemByID(shortcut_id)).status); model_ 1060 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1062 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1073 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1083 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->ItemByID(shortcut_id)->status); model_ 1086 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1087 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1095 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1097 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1110 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1120 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->ItemByID(shortcut_id)->status); model_ 1124 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1125 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1145 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1149 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(shortcut_id)); model_ 1152 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1165 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1171 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1172 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1182 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1183 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->items()[browser_index].status); model_ 1186 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->ItemByID(shortcut_id)->status); model_ 1187 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1190 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1191 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->items()[browser_index].status); model_ 1194 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1195 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_RUNNING, model_->items()[browser_index].status); model_ 1208 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1217 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(shortcut_id)->status); model_ 1226 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(shortcut_id)->status); model_ 1284 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc int shortcut_index = model_->ItemIndexByID(shortcut_id); model_ 1539 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1584 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1591 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1597 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1611 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1616 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); // It should be still there. model_ 1627 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); // No new item got added. model_ 1632 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); // And it remains that way. model_ 1684 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1736 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1745 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1751 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1765 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1772 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1786 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ASSERT_EQ(3, model_->item_count()); model_ 1793 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ASSERT_EQ(3, model_->item_count()); model_ 1800 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1808 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); // And it remains that way. model_ 1815 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); // The item should now be gone. model_ 1818 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); // And it remains that way. model_ 1840 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc int total_count = model_->item_count(); model_ 1848 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(total_count - 1, model_->item_count()); model_ 1853 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(total_count - 2, model_->item_count()); model_ 1866 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1932 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(2, model_->item_count()); model_ 1937 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ash::ShelfID browser_id = model_->items()[browser_index].id; model_ 1941 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(3, model_->item_count()); model_ 1945 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc ActivateShelfItem(model_->ItemIndexByID(app_id)); model_ 1995 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(id)->status); model_ 2005 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(id)->status); model_ 2026 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_ACTIVE, model_->ItemByID(id)->status); model_ 2031 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc EXPECT_EQ(ash::STATUS_CLOSED, model_->ItemByID(id)->status); model_ 278 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_.reset(new ash::ShelfModel); model_ 280 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->AddObserver(model_observer_.get()); model_ 287 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc new ash::ShelfItemDelegateManager(model_.get()); model_ 367 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->item_count(), model_ 417 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->RemoveObserver(model_observer_.get()); model_ 420 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_.reset(); model_ 428 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->Add(app_list); model_ 434 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc new ChromeLauncherController(profile(), model_.get())); model_ 470 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc for (ash::ShelfItems::const_iterator iter(model_->items().begin()); model_ 471 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc iter != model_->items().end(); ++iter) { model_ 487 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc for (int i = 0; i < model_->item_count(); i++) { model_ 490 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc switch (model_->items()[i].type) { model_ 496 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc launcher_controller_->GetAppIDForShelfID(model_->items()[i].id); model_ 536 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc launcher_controller_->GetAppIDForShelfID(model_->items()[i].id); model_ 608 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc scoped_ptr<ash::ShelfModel> model_; model_ 972 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1145 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1362 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1372 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1373 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_WINDOWED_APP, model_->items()[2].type); model_ 1382 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1395 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1403 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1404 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_WINDOWED_APP, model_->items()[2].type); model_ 1412 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1413 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_WINDOWED_APP, model_->items()[2].type); model_ 1419 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1432 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1441 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1442 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1449 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1450 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1457 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1458 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1465 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1472 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1479 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1480 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1487 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1488 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1495 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1496 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_WINDOWED_APP, model_->items()[2].type); model_ 1502 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1511 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1517 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(5, model_->item_count()); model_ 1529 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->Move(2, 3); model_ 1540 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->Move(3, 4); model_ 1561 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1566 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1572 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1576 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1579 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1595 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1599 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1604 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1607 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1609 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1611 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1632 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1637 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1639 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1645 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1652 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1655 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1674 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1678 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1683 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1686 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1688 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1690 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1736 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1743 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1744 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_WINDOWED_APP, model_->items()[2].type); model_ 1750 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1751 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1758 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1759 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 1766 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 1996 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 1997 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2004 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(4, model_->item_count()); model_ 2005 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2006 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[3].type); model_ 2015 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2016 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2277 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2281 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2283 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2284 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int gmail_index = model_->ItemIndexByID(gmail_id); model_ 2285 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[gmail_index].type); model_ 2351 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2353 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2354 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int gmail_index = model_->ItemIndexByID(gmail_id); model_ 2355 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[gmail_index].type); model_ 2409 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2413 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2417 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2421 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2433 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2437 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2443 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2447 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2452 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2456 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2461 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(2, model_->item_count()); model_ 2528 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2577 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2683 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2685 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2686 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int gmail_index = model_->ItemIndexByID(gmail_id); model_ 2687 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[gmail_index].type); model_ 2714 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ash::ShelfID gmail_id = model_->next_id(); model_ 2716 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(3, model_->item_count()); model_ 2717 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int gmail_index = model_->ItemIndexByID(gmail_id); model_ 2718 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[gmail_index].type); model_ 2732 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_LIST, model_->items()[0].type); model_ 2733 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_BROWSER_SHORTCUT, model_->items()[1].type); model_ 2748 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_LIST, model_->items()[0].type); model_ 2749 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_BROWSER_SHORTCUT, model_->items()[1].type); model_ 2750 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2751 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[3].type); model_ 2754 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_->Move(1, 3); model_ 2755 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_LIST, model_->items()[0].type); model_ 2756 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[1].type); model_ 2757 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2758 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_BROWSER_SHORTCUT, model_->items()[3].type); model_ 2768 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_.reset(new ash::ShelfModel); model_ 2772 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ChromeLauncherController::CreateInstance(profile(), model_.get())); model_ 2778 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc item_delegate_manager_ = new ash::ShelfItemDelegateManager(model_.get()); model_ 2784 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_LIST, model_->items()[0].type); model_ 2785 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[1].type); model_ 2786 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[2].type); model_ 2787 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_BROWSER_SHORTCUT, model_->items()[3].type); model_ 2793 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc size_t initial_size = model_->items().size(); model_ 2808 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc int app_index = model_->ItemIndexByID(id); model_ 2810 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[app_index].type); model_ 2813 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(initial_size + 1, model_->items().size()); model_ 2823 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc model_.reset(new ash::ShelfModel); model_ 2827 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ChromeLauncherController::CreateInstance(profile(), model_.get())); model_ 2834 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc item_delegate_manager_ = new ash::ShelfItemDelegateManager(model_.get()); model_ 2840 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ASSERT_EQ(initial_size + 1, model_->items().size()); model_ 2843 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_EQ(ash::TYPE_APP_SHORTCUT, model_->items()[app_index].type); model_ 2846 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc ASSERT_EQ(initial_size, model_->items().size()); model_ 51 chrome/browser/ui/autofill/account_chooser_model_unittest.cc : model_(&delegate_, &profile_, false, metric_logger_) {} model_ 56 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel* model() { return &model_; } model_ 62 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel model_; model_ 23 chrome/browser/ui/autofill/country_combobox_model_unittest.cc model_.reset(new CountryComboboxModel( model_ 28 chrome/browser/ui/autofill/country_combobox_model_unittest.cc CountryComboboxModel* model() { return model_.get(); } model_ 34 chrome/browser/ui/autofill/country_combobox_model_unittest.cc scoped_ptr<CountryComboboxModel> model_; model_ 50 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc DCHECK(model_->loaded()); model_ 52 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc model_->AddObserver(this); model_ 58 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc if (model_) model_ 59 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc model_->RemoveObserver(this); model_ 202 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc model_->Remove(selection_[i]->parent(), index); model_ 269 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc bookmark_utils::CopyToClipboard(model_, selection_, true); model_ 273 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc bookmark_utils::CopyToClipboard(model_, selection_, false); model_ 283 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc bookmark_utils::PasteFromClipboard(model_, paste_target, index); model_ 333 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc selection_[0]->parent() == model_->root_node(); model_ 108 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.h BookmarkModel* model_; model_ 60 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 61 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 78 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc BookmarkModel* model_; model_ 93 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 95 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); model_ 96 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); model_ 97 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 98 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); model_ 99 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 100 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); model_ 101 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddFolder(bb_node, 3, ASCIIToUTF16("F3")); model_ 102 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* f4 = model_->AddFolder(bb_node, 4, ASCIIToUTF16("F4")); model_ 103 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc model_->AddURL(f4, 0, ASCIIToUTF16("f4a"), GURL(test_base + "f4a")); model_ 110 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 113 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc GURL url = model_->bookmark_bar_node()->GetChild(0)->url(); model_ 118 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc ASSERT_FALSE(model_->IsBookmarked(url)); model_ 123 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); model_ 134 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc NULL, NULL, NULL, profile_.get(), NULL, model_->other_node(), model_ 152 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 171 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 172 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(1)->GetChild(0)); model_ 191 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); model_ 210 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); model_ 211 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(3)); model_ 230 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(3)); model_ 231 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(4)); model_ 251 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 262 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->other_node()); model_ 291 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc nodes.push_back(model_->bookmark_bar_node()); model_ 307 chrome/browser/ui/bookmarks/bookmark_context_menu_controller_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 57 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h BookmarkModel* model_; // weak; it is owned by a Profile. model_ 24 chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h BookmarkModel* model_; // weak model_ 83 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h BookmarkModel* model_; // Weak; it is owned by a Profile. model_ 22 chrome/browser/ui/cocoa/confirm_bubble_controller.h scoped_ptr<ConfirmBubbleModel> model_; model_ 45 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h CookiesTreeModel* model_; // weak model_ 77 chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h scoped_ptr<OmniboxPopupModel> model_; model_ 49 chrome/browser/ui/cocoa/table_row_nsimage_cache.h Table* model_; // weak model_ 63 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h TabStripModel* model_; // weak, owned by Browser model_ 32 chrome/browser/ui/cocoa/task_manager_mac.h TaskManagerModel* model_; // weak model_ 104 chrome/browser/ui/cocoa/task_manager_mac.h TaskManagerModel* const model_; // weak model_ 29 chrome/browser/ui/cocoa/toolbar/back_forward_menu_controller.h scoped_ptr<BackForwardMenuModel> model_; model_ 27 chrome/browser/ui/cocoa/translate/translate_bubble_controller.h scoped_ptr<TranslateBubbleModel> model_; model_ 28 chrome/browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h ui::MenuModel* model_; // weak model_ 28 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc : model_(model) { model_ 43 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc model_->UpdateFromWebContents( model_ 50 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc ContentSettingImageModel* model_; model_ 146 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_(NULL), model_ 304 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_ = BookmarkModelFactory::GetForProfile(profile); model_ 305 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->AddObserver(this); model_ 306 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (model_->loaded()) model_ 307 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc BookmarkModelLoaded(model_, false); model_ 422 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (!model_->other_node()->empty()) model_ 457 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (model_ && model_->loaded()) model_ 511 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (model_) model_ 512 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc show_instructions_ = model_->bookmark_bar_node()->empty(); model_ 542 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc bool has_other_children = !model_->other_node()->empty(); model_ 562 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc const BookmarkNode* bar = model_->bookmark_bar_node(); model_ 563 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc DCHECK(bar && model_->other_node()); model_ 575 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->other_node(), model_, other_bookmarks_button_, theme_service_); model_ 643 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->bookmark_bar_node()->GetChild(rv)->is_folder()) { model_ 761 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (parent->parent() == model_->bookmark_bar_node()) { model_ 774 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int idx = model_->bookmark_bar_node()->GetIndexOf(parent_on_bb); model_ 837 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc CreateBookmarkToolItem(model_->other_node()); model_ 898 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->RemoveObserver(this); model_ 899 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_ = NULL; model_ 918 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (parent != model_->bookmark_bar_node()) { model_ 942 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (parent != model_->bookmark_bar_node()) { model_ 966 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (node->parent() != model_->bookmark_bar_node()) { model_ 970 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); model_ 987 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (node != model_->bookmark_bar_node()) model_ 997 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (model_ && model_->loaded()) { model_ 1026 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc ConfigureButtonForNode(node, model_, button, theme_service_); model_ 1105 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc return model_->other_node(); model_ 1107 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc return model_->bookmark_bar_node(); model_ 1125 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc return model_->bookmark_bar_node()->GetChild(index_to_use); model_ 1133 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (!model_->loaded()) { model_ 1142 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc parent = model_->bookmark_bar_node(); model_ 1147 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc parent = model_->bookmark_bar_node(); model_ 1204 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc drag_icon_ = GetDragRepresentationForNode(node, model_, theme_service_); model_ 1324 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc const BookmarkNode* dest_node = model_->bookmark_bar_node(); model_ 1330 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc dest_node = model_->bookmark_bar_node(); model_ 1355 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc selection_data, model_, dest_node, index); model_ 1361 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc selection_data, model_, dest_node, index); model_ 1367 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc selection_data, model_, dest_node, index); model_ 1382 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->AddURL(dest_node, index, title, url); model_ 1474 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (model_) model_ 1475 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc model_->RemoveObserver(this); model_ 317 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h BookmarkModel* model_; model_ 34 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 35 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 55 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc BookmarkModel* model_; model_ 66 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc bookmark_bar_->BookmarkModelLoaded(model_, false); model_ 74 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc const BookmarkNode* parent = model_->bookmark_bar_node(); model_ 75 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc model_->AddURL(parent, parent->child_count(), model_ 78 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc bookmark_bar_->BookmarkModelLoaded(model_, false); model_ 83 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc const BookmarkNode* parent = model_->bookmark_bar_node(); model_ 84 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc model_->AddURL(parent, parent->child_count(), model_ 86 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc model_->AddURL(parent, parent->child_count(), model_ 89 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk_unittest.cc bookmark_bar_->BookmarkModelLoaded(model_, false); model_ 137 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc model_(BookmarkModelFactory::GetForProfile(profile)), model_ 299 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url_); model_ 301 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc model_->Remove(node->parent(), node->parent()->GetIndexOf(node)); model_ 415 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url_); model_ 421 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc model_->SetTitle(node, new_title); model_ 432 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url_); model_ 442 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url_); model_ 462 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url_); model_ 465 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc folder_combo_model_.reset(new RecentlyUsedFoldersComboModel(model_, node)); model_ 107 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.h BookmarkModel* model_; model_ 37 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc : model_(NULL), model_ 46 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 47 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 59 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); model_ 62 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc BookmarkModel* model_; model_ 83 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(model_->bookmark_bar_node(), 0, ASCIIToUTF16("a"), model_ 86 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddFolder(model_->bookmark_bar_node(), 1, ASCIIToUTF16("F1")); model_ 87 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 88 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); model_ 89 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 90 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddFolder(model_->bookmark_bar_node(), 2, ASCIIToUTF16("F2")); model_ 93 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), model_ 96 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); model_ 97 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); model_ 100 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->AddURL(model_->mobile_node(), 0, ASCIIToUTF16("sa"), model_ 127 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc if (model_->mobile_node()->IsVisible()) { model_ 172 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 192 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 211 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 233 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 268 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 303 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 315 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->other_node()->GetChild(0)), model_ 324 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 337 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc model_->other_node()->GetChild(0)), model_ 343 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk_unittest.cc const BookmarkNode* other_node = model_->other_node(); model_ 80 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc model_(BookmarkModelFactory::GetForProfile(browser->profile())), model_ 93 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc model_->RemoveObserver(this); model_ 102 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc model_->AddObserver(this); model_ 164 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc SetImageMenuItem(menu_item, node, model_); model_ 352 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc node, model_, GtkThemeService::GetFrom(browser_->profile())); model_ 113 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h BookmarkModel* model_; model_ 42 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc model_(model), model_ 91 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc model_, model_ 109 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc new BookmarkNodeMenuModel(NULL, model_, node, page_navigator_, profile_); model_ 52 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h BookmarkModel* model() const { return model_; } model_ 53 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h void set_model(BookmarkModel* model) { model_ = model; } model_ 64 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h BookmarkModel* model_; model_ 497 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_(NULL), model_ 506 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_ = extensions::ExtensionToolbarModel::Get(profile_); model_ 507 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!model_) model_ 562 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->AddObserver(this); model_ 565 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (model_->extensions_initialized()) { model_ 584 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (model_) model_ 585 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->RemoveObserver(this); model_ 627 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const extensions::ExtensionList& toolbar_items = model_->toolbar_items(); model_ 635 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc int showing_actions = model_->GetVisibleIconCount(); model_ 646 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc index = model_->OriginalIndexToIncognito(index); model_ 732 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!model_->extensions_initialized()) model_ 738 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->SetVisibleIconCount(button_count()); model_ 755 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->SetVisibleIconCount(button_count()); model_ 773 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc index = model_->OriginalIndexToIncognito(index); model_ 820 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension = model_->toolbar_items()[command_id].get(); model_ 832 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension = model_->toolbar_items()[command_id].get(); model_ 835 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc switch (model_->ExecuteBrowserAction( model_ 935 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc drop_index_ = model_->IncognitoIndexToOriginal(drop_index_); model_ 937 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->MoveBrowserAction(drag_button_->extension(), drop_index_); model_ 1041 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_->SetVisibleIconCount(visible_icon_count); model_ 1063 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc model_index = model_->IncognitoIndexToOriginal(i); model_ 1065 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension = model_->toolbar_items()[model_index].get(); model_ 1104 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc item_index = model_->IncognitoIndexToOriginal(item_index); model_ 1106 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension = model_->toolbar_items()[item_index].get(); model_ 63 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h extensions::ExtensionToolbarModel* model() { return model_; } model_ 189 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h extensions::ExtensionToolbarModel* model_; model_ 80 chrome/browser/ui/gtk/confirm_bubble_gtk.cc gtk_image_new_from_pixbuf(model_->GetIcon()->ToGdkPixbuf()); model_ 84 chrome/browser/ui/gtk/confirm_bubble_gtk.cc base::UTF16ToUTF8(model_->GetTitle()), ui::kGdkBlack); model_ 96 chrome/browser/ui/gtk/confirm_bubble_gtk.cc base::UTF16ToUTF8(model_->GetMessageText()), ui::kGdkBlack); model_ 102 chrome/browser/ui/gtk/confirm_bubble_gtk.cc const base::string16 link_text = model_->GetLinkText(); model_ 115 chrome/browser/ui/gtk/confirm_bubble_gtk.cc bool has_ok_button = !!(model_->GetButtons() & ConfirmBubbleModel::BUTTON_OK); model_ 117 chrome/browser/ui/gtk/confirm_bubble_gtk.cc !!(model_->GetButtons() & ConfirmBubbleModel::BUTTON_CANCEL); model_ 123 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_->GetButtonLabel(ConfirmBubbleModel::BUTTON_CANCEL)).c_str()); model_ 130 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_->GetButtonLabel(ConfirmBubbleModel::BUTTON_OK)).c_str()); model_ 165 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_->Accept(); model_ 172 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_->Cancel(); model_ 179 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_->LinkClicked(); model_ 74 chrome/browser/ui/gtk/confirm_bubble_gtk.h scoped_ptr<ConfirmBubbleModel> model_; model_ 80 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc GtkListStore* model_; model_ 95 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc : dialog_(NULL), model_(NULL), contents_(NULL) { model_ 161 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc model_ = gtk_list_store_new(COL_COUNT, GDK_TYPE_PIXBUF, G_TYPE_STRING); model_ 163 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc GTK_TREE_MODEL(model_)); model_ 164 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc g_object_unref(model_); model_ 182 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_list_store_clear(model_); model_ 187 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_list_store_append(model_, &tree_iter); model_ 198 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_list_store_set(model_, &tree_iter, model_ 293 chrome/browser/ui/gtk/menu_gtk.cc model_(model), model_ 475 chrome/browser/ui/gtk/menu_gtk.cc BuildSubmenuFromModel(model_, menu_); model_ 773 chrome/browser/ui/gtk/menu_gtk.cc model_->MenuWillShow(); model_ 781 chrome/browser/ui/gtk/menu_gtk.cc model_->MenuClosed(); model_ 197 chrome/browser/ui/gtk/menu_gtk.h ui::MenuModel* model_; model_ 176 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_.reset(new OmniboxPopupModel(this, edit_model)); model_ 234 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_.reset(); model_ 342 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc if (model_) model_ 343 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc DCHECK_NE(0U, model_->result().size()); model_ 361 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return model_->result(); model_ 501 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc const gfx::Image image = model_->GetIconIfExtensionMatch(match); model_ 546 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->selected_line() == index && model_ 547 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->selected_line_state() == OmniboxPopupModel::KEYWORD) { model_ 566 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->SetHoveredLine(line); model_ 569 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->SetSelectedLine(line, false, false); model_ 581 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->SetHoveredLine(line); model_ 583 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc model_->SetSelectedLine(line, false, false); model_ 652 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc bool is_selected = (model_->selected_line() == i); model_ 653 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc bool is_hovered = (model_->hovered_line() == i); model_ 122 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h scoped_ptr<OmniboxPopupModel> model_; model_ 614 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (index >= attached_tabstrip_->model_->count()) model_ 615 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc return attached_tabstrip_->model_->count() - 1; model_ 724 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_(model), model_ 734 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->RemoveObserver(this); model_ 753 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->AddObserver(this); model_ 863 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc content::WebContents* web_contents = model_->GetWebContentsAt(index); model_ 885 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->profile() == other->model()->profile(); model_ 906 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (!model_->closing_all()) model_ 985 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc DCHECK(index == TabStripModel::kNoTab || model_->ContainsIndex(index)); model_ 1020 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->UpdateData(contents, model_->IsAppTab(index), false); model_ 1022 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->set_mini(model_->IsMiniTab(index)); model_ 1023 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->set_app(model_->IsAppTab(index)); model_ 1024 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->SetBlocked(model_->IsTabBlocked(index)); model_ 1068 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->active_index() >= 0) model_ 1069 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GetTabAt(model_->active_index())->SchedulePaint(); model_ 1082 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->selection_model().selected_indices().begin(), model_ 1083 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->selection_model().selected_indices().end(), model_ 1089 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (*it != model_->active_index() && *it != old_model.active()) model_ 1096 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->selection_model().selected_indices()); model_ 1110 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->set_mini(model_->IsMiniTab(to_index)); model_ 1111 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->SetBlocked(model_->IsTabBlocked(to_index)); model_ 1131 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->IsAppTab(index), model_ 1145 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (GetTabAt(index)->mini() == model_->IsMiniTab(index)) model_ 1148 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GetTabAt(index)->set_mini(model_->IsMiniTab(index)); model_ 1160 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc GetTabAt(index)->SetBlocked(model_->IsTabBlocked(index)); model_ 1170 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return GetIndexOfTab(tab) == model_->active_index(); model_ 1177 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->IsTabSelected(GetIndexOfTab(tab)); model_ 1196 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->IsTabPinned(GetIndexOfTab(tab)); model_ 1201 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->ContainsIndex(index)) model_ 1202 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->ActivateTabAt(index, true); model_ 1207 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->ToggleSelectionAt(index); model_ 1212 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->ContainsIndex(index)) model_ 1213 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->ExtendSelectionTo(index); model_ 1218 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->ContainsIndex(tab_index)) { model_ 1229 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->CloseWebContentsAt(tab_index, model_ 1238 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->ContainsIndex(index)) model_ 1239 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->IsContextMenuCommandEnabled(index, command_id); model_ 1246 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (model_->ContainsIndex(index)) model_ 1247 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->ExecuteContextMenuCommand(index, command_id); model_ 1304 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->delegate()->GetDragActions() != 0; model_ 1778 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc AutocompleteClassifierFactory::GetForProfile(model_->profile())->Classify( model_ 1797 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc params.source_contents = model_->GetWebContentsAt(drop_index); model_ 2189 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_->delegate()->AddTabAt(GURL(), -1, true); model_ 2195 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc if (!gtk_util::URLFromPrimarySelection(model_->profile(), &url)) model_ 54 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h TabStripModel* model() const { return model_; } model_ 461 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h TabStripModel* model_; model_ 17 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc menu_.reset(new MenuGtk(this, &model_)); model_ 56 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h TabMenuModel model_; model_ 308 chrome/browser/ui/gtk/task_manager_gtk.cc model_(TaskManager::GetInstance()->model()), model_ 321 chrome/browser/ui/gtk/task_manager_gtk.cc model_->RemoveObserver(this); model_ 423 chrome/browser/ui/gtk/task_manager_gtk.cc instance_->model_->StartUpdating(); model_ 510 chrome/browser/ui/gtk/task_manager_gtk.cc if (model_->ResourceCount() > 0) model_ 511 chrome/browser/ui/gtk/task_manager_gtk.cc OnItemsAdded(0, model_->ResourceCount()); model_ 513 chrome/browser/ui/gtk/task_manager_gtk.cc model_->AddObserver(this); model_ 652 chrome/browser/ui/gtk/task_manager_gtk.cc return base::UTF16ToUTF8(model_->GetResourceById(row, col_id)); model_ 656 chrome/browser/ui/gtk/task_manager_gtk.cc SkBitmap icon = *model_->GetResourceIcon(row).bitmap(); model_ 783 chrome/browser/ui/gtk/task_manager_gtk.cc model_->GetGroupRangeForResource(row1); model_ 785 chrome/browser/ui/gtk/task_manager_gtk.cc model_->GetGroupRangeForResource(row2); model_ 799 chrome/browser/ui/gtk/task_manager_gtk.cc return model_->CompareValues(row1, row2, id); model_ 803 chrome/browser/ui/gtk/task_manager_gtk.cc return model_->CompareValues(group_range1.first, group_range2.first, id); model_ 889 chrome/browser/ui/gtk/task_manager_gtk.cc ranges.insert(model_->GetGroupRangeForResource(row)); model_ 225 chrome/browser/ui/gtk/task_manager_gtk.h TaskManagerModel* model_; model_ 113 chrome/browser/ui/omnibox/omnibox_view.cc if (!match.destination_url.is_valid() || !model_) model_ 115 chrome/browser/ui/omnibox/omnibox_view.cc model_->OpenMatch( model_ 117 chrome/browser/ui/omnibox/omnibox_view.cc OnMatchOpened(match, model_->profile(), controller_->GetWebContents()); model_ 121 chrome/browser/ui/omnibox/omnibox_view.cc return (model_.get() && model_->user_input_in_progress()) || model_ 128 chrome/browser/ui/omnibox/omnibox_view.cc return AutocompleteMatch::TypeToLocationBarIcon(model_.get() ? model_ 129 chrome/browser/ui/omnibox/omnibox_view.cc model_->CurrentTextType() : AutocompleteMatchType::URL_WHAT_YOU_TYPED); model_ 136 chrome/browser/ui/omnibox/omnibox_view.cc TemplateURLServiceFactory::GetForProfile(model_->profile()); model_ 158 chrome/browser/ui/omnibox/omnibox_view.cc if (model_.get()) model_ 159 chrome/browser/ui/omnibox/omnibox_view.cc model_->SetUserText(text); model_ 168 chrome/browser/ui/omnibox/omnibox_view.cc model_->UpdatePermanentText(); model_ 176 chrome/browser/ui/omnibox/omnibox_view.cc model_->UpdatePermanentText(); model_ 187 chrome/browser/ui/omnibox/omnibox_view.cc if (model_.get()) model_ 188 chrome/browser/ui/omnibox/omnibox_view.cc model_->Revert(); model_ 193 chrome/browser/ui/omnibox/omnibox_view.cc if (model_.get()) model_ 194 chrome/browser/ui/omnibox/omnibox_view.cc model_->StopAutocomplete(); model_ 224 chrome/browser/ui/omnibox/omnibox_view.cc model_.reset(new OmniboxEditModel(this, controller, profile)); model_ 229 chrome/browser/ui/omnibox/omnibox_view.cc if (model_.get()) model_ 230 chrome/browser/ui/omnibox/omnibox_view.cc model_->OnChanged(); model_ 41 chrome/browser/ui/omnibox/omnibox_view.h OmniboxEditModel* model() { return model_.get(); } model_ 42 chrome/browser/ui/omnibox/omnibox_view.h const OmniboxEditModel* model() const { return model_.get(); } model_ 285 chrome/browser/ui/omnibox/omnibox_view.h scoped_ptr<OmniboxEditModel> model_; model_ 223 chrome/browser/ui/search/search_tab_helper.cc model_.SetInstantSupportState(new_state); model_ 235 chrome/browser/ui/search/search_tab_helper.cc return model_.instant_support() == INSTANT_SUPPORT_YES; model_ 260 chrome/browser/ui/search/search_tab_helper.cc return model_.mode().is_origin_search(); model_ 383 chrome/browser/ui/search/search_tab_helper.cc chrome::SetInstantSupportStateInNavigationEntry(model_.instant_support(), model_ 385 chrome/browser/ui/search/search_tab_helper.cc if (model_.instant_support() == INSTANT_SUPPORT_NO) model_ 390 chrome/browser/ui/search/search_tab_helper.cc model_.SetInstantSupportState(INSTANT_SUPPORT_UNKNOWN); model_ 391 chrome/browser/ui/search/search_tab_helper.cc model_.SetVoiceSearchSupported(false); model_ 392 chrome/browser/ui/search/search_tab_helper.cc chrome::SetInstantSupportStateInNavigationEntry(model_.instant_support(), model_ 401 chrome/browser/ui/search/search_tab_helper.cc model_.SetVoiceSearchSupported(supports_voice_search); model_ 598 chrome/browser/ui/search/search_tab_helper.cc origin = model_.mode().origin; model_ 604 chrome/browser/ui/search/search_tab_helper.cc SearchMode old_mode(model_.mode()); model_ 605 chrome/browser/ui/search/search_tab_helper.cc model_.SetMode(SearchMode(type, origin)); model_ 606 chrome/browser/ui/search/search_tab_helper.cc if (old_mode.is_ntp() != model_.mode().is_ntp()) { model_ 643 chrome/browser/ui/search/search_tab_helper.cc return !model_.mode().is_ntp() && omnibox && model_ 49 chrome/browser/ui/search/search_tab_helper.h return &model_; model_ 217 chrome/browser/ui/search/search_tab_helper.h SearchModel model_; model_ 85 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->Observe(chrome::NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, model_ 98 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc TemplateURLService* model_; model_ 116 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_ = TemplateURLServiceFactory::GetForProfile(profile_.get()); model_ 118 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->OnWebDataServiceRequestDone(0, NULL); model_ 137 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc ASSERT_EQ(1U, model_->GetTemplateURLs().size()); model_ 140 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc const TemplateURL* turl = model_->GetTemplateURLs()[0]; model_ 152 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc TemplateURL* turl = model_->GetTemplateURLs()[0]; model_ 167 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc const TemplateURL* turl = model_->GetTemplateURLs()[0]; model_ 174 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc ASSERT_TRUE(model_->GetDefaultSearchProvider() == turl); model_ 189 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->GetTemplateURLForKeyword(ASCIIToUTF16("b")); model_ 192 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); model_ 199 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc EXPECT_TRUE(model_->is_default_search_managed()); model_ 213 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->GetTemplateURLForKeyword(ASCIIToUTF16("b")); model_ 216 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->GetTemplateURLForKeyword(ASCIIToUTF16("b1")); model_ 225 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc EXPECT_TRUE(model_->is_default_search_managed()); model_ 228 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc EXPECT_FALSE(controller_->CanEdit(model_->GetDefaultSearchProvider())); model_ 250 chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc model_->Add(turl); model_ 83 chrome/browser/ui/search_engines/template_url_table_model.cc model_->template_url_service()->profile(), Profile::EXPLICIT_ACCESS); model_ 109 chrome/browser/ui/search_engines/template_url_table_model.cc model_->FaviconAvailable(this); model_ 116 chrome/browser/ui/search_engines/template_url_table_model.cc TemplateURLTableModel* model_; model_ 140 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 141 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 163 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc BookmarkModel* model_; model_ 182 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc ASSERT_TRUE(model_); model_ 185 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc model_->AddURL(model_->bookmark_bar_node(), 0, model_ 400 chrome/browser/ui/tabs/tab_strip_model_unittest.cc TabStripModel* model() { return model_; } model_ 407 chrome/browser/ui/tabs/tab_strip_model_unittest.cc TabStripModel* model_; model_ 75 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc : model_(model), model_ 77 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model_->SetMenuModelDelegate(this); model_ 81 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model_->SetMenuModelDelegate(NULL); model_ 96 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc ui::MenuModel* model_; model_ 22 chrome/browser/ui/translate/language_combobox_model.cc return model_->GetNumberOfLanguages(); model_ 26 chrome/browser/ui/translate/language_combobox_model.cc return model_->GetLanguageNameAt(index); model_ 31 chrome/browser/ui/translate/language_combobox_model.h TranslateBubbleModel* model_; model_ 438 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_(NULL), model_ 460 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (model_) model_ 461 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->RemoveObserver(this); model_ 535 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return model_->bookmark_bar_node()->GetChild(i); model_ 542 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return model_->bookmark_bar_node(); model_ 548 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc return model_->other_node(); model_ 556 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (node == model_->other_node()) model_ 558 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (node == model_->bookmark_bar_node()) model_ 560 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); model_ 784 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (!model_ || !model_->loaded()) model_ 796 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (!model_ || !model_->loaded() || model_ 853 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->other_node(); model_ 855 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->bookmark_bar_node(); model_ 857 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->bookmark_bar_node()->GetChild(location.index); model_ 890 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->other_node() : model_->bookmark_bar_node(); model_ 965 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* node = model_->GetMostRecentlyAddedNodeForURL(url); model_ 980 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* node = model_->bookmark_bar_node(); model_ 985 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(model_->other_node()); model_ 986 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc other_bookmarked_button_->SetAccessibleName(model_->other_node()->GetTitle()); model_ 987 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc other_bookmarked_button_->SetText(model_->other_node()->GetTitle()); model_ 999 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->RemoveObserver(this); model_ 1000 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_ = NULL; model_ 1055 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (node != model_->bookmark_bar_node()) model_ 1093 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc WriteBookmarkDragData(model_->bookmark_bar_node()->GetChild(i), data); model_ 1115 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc browser_->profile(), model_->bookmark_bar_node()->GetChild(i)); model_ 1132 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* node = model_->bookmark_bar_node()->GetChild(i); model_ 1153 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->other_node(); model_ 1155 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->bookmark_bar_node(); model_ 1160 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->bookmark_bar_node()->GetChild(button_index); model_ 1188 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->other_node(); model_ 1192 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc node = model_->bookmark_bar_node()->GetChild(index); model_ 1213 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (!model_->loaded()) { model_ 1221 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc parent = model_->other_node(); model_ 1233 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->bookmark_bar_node()->GetChild(bookmark_button_index); model_ 1237 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc parent = model_->bookmark_bar_node(); model_ 1241 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc (parent == model_->other_node()) && (parent->child_count() == 1); model_ 1288 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_ = BookmarkModelFactory::GetForProfile(browser_->profile()); model_ 1289 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (model_) { model_ 1290 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->AddObserver(this); model_ 1291 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (model_->loaded()) model_ 1292 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkModelLoaded(model_, false); model_ 1399 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const gfx::Image& favicon = model_->GetFavicon(node); model_ 1412 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (parent != model_->bookmark_bar_node()) { model_ 1437 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (parent != model_->bookmark_bar_node()) { model_ 1451 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (node->parent() != model_->bookmark_bar_node()) { model_ 1455 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); model_ 1483 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (node == model_->bookmark_bar_node()) model_ 1516 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(model_); model_ 1517 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc DCHECK(model_->loaded()); model_ 1555 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* node = model_->bookmark_bar_node()->GetChild(i); model_ 1602 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->other_node() : model_ 1603 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc model_->bookmark_bar_node()->GetChild(location->index); model_ 1613 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc data, model_->bookmark_bar_node(), location->index); model_ 1630 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* bbn = model_->bookmark_bar_node(); model_ 1658 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc const BookmarkNode* bbn = model_->bookmark_bar_node(); model_ 1695 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc bool has_other_children = !model_->other_node()->empty(); model_ 1763 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc if (GetBookmarkButtonCount() == 0 && model_ && model_->loaded()) { model_ 383 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h BookmarkModel* model_; model_ 133 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 134 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc test::WaitForBookmarkModelToLoad(model_); model_ 144 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->ClearStore(); model_ 215 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc BookmarkModel* model_; model_ 221 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 223 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const BookmarkNode* f1 = model_->AddFolder(bb_node, 0, ASCIIToUTF16("F1")); model_ 224 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 225 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); model_ 226 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 229 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(f1, i + 1, ASCIIToUTF16("f") + base::IntToString16(i), model_ 233 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(bb_node, 1, ASCIIToUTF16("a"), GURL(test_base + "a")); model_ 234 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(bb_node, 2, ASCIIToUTF16("b"), GURL(test_base + "b")); model_ 235 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(bb_node, 3, ASCIIToUTF16("c"), GURL(test_base + "c")); model_ 236 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(bb_node, 4, ASCIIToUTF16("d"), GURL(test_base + "d")); model_ 237 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddFolder(bb_node, 5, ASCIIToUTF16("F2")); model_ 238 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(bb_node, 6, ASCIIToUTF16("d"), GURL(test_base + "d")); model_ 240 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), model_ 242 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const BookmarkNode* of = model_->AddFolder(model_->other_node(), 1, model_ 244 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(of, 0, ASCIIToUTF16("ofa"), GURL(test_base + "ofa")); model_ 245 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(of, 1, ASCIIToUTF16("ofb"), GURL(test_base + "ofb")); model_ 246 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc const BookmarkNode* of2 = model_->AddFolder(model_->other_node(), 2, model_ 248 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(of2, 0, ASCIIToUTF16("of2a"), GURL(test_base + "of2a")); model_ 249 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->AddURL(of2, 1, ASCIIToUTF16("of2b"), GURL(test_base + "of2b")); model_ 297 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(0)->GetChild(0)->url()); model_ 524 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc EXPECT_EQ(navigator_.url_, model_->other_node()->GetChild(0)->url()); model_ 538 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(0)->GetChild(0)->url(); model_ 593 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc GURL url = model_->bookmark_bar_node()->GetChild(0)->GetChild(1)->url(); model_ 632 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(6)->url()); model_ 646 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(0)->GetChild(0)->url(); model_ 726 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc ASSERT_TRUE(model_->other_node()->GetChild(0)->url() == url_dragging_); model_ 746 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(0)->GetChild(0)->url(); model_ 833 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc GURL final_url = model_->bookmark_bar_node()->GetChild(0)->GetChild(0)-> model_ 1018 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc model_->bookmark_bar_node()->GetChild(0)->GetChild(0)->url() == model_ 64 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 65 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 83 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc BookmarkModel* model_; model_ 99 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 101 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); model_ 102 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); model_ 103 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 104 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddURL(f1, 1, ASCIIToUTF16("f1b"), GURL("chrome://settings")); model_ 105 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* f11 = model_->AddFolder(f1, 2, ASCIIToUTF16("F11")); model_ 106 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 107 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); model_ 108 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddFolder(bb_node, 3, ASCIIToUTF16("F3")); model_ 109 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* f4 = model_->AddFolder(bb_node, 4, ASCIIToUTF16("F4")); model_ 110 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc model_->AddURL(f4, 0, ASCIIToUTF16("f4a"), GURL(test_base + "f4a")); model_ 117 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 120 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc GURL url = model_->bookmark_bar_node()->GetChild(0)->url(); model_ 125 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc ASSERT_FALSE(model_->IsBookmarked(url)); model_ 130 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); model_ 140 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* folder = model_->bookmark_bar_node()->GetChild(1); model_ 151 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc NULL, NULL, profile_.get(), NULL, model_->other_node(), model_ 169 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 187 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 188 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(1)->GetChild(0)); model_ 206 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); model_ 225 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(2)); model_ 226 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(3)); model_ 245 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(3)); model_ 246 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(4)); model_ 263 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->bookmark_bar_node()->GetChild(0)); model_ 278 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc nodes.push_back(model_->other_node()); model_ 304 chrome/browser/ui/views/bookmarks/bookmark_context_menu_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 41 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile_.get()); model_ 42 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 54 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc return model_->GetMostRecentlyAddedNodeForURL(GURL(base_path() + name)); model_ 115 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc BookmarkModel* model_; model_ 132 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 134 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); model_ 135 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); model_ 136 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 137 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); model_ 138 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 139 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); model_ 142 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), model_ 145 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); model_ 146 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); model_ 161 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc if (model_->mobile_node()->IsVisible()) { model_ 313 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->other_node()->GetChild(0)), model_ 335 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->other_node()->GetChild(0)), model_ 353 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 384 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc model_->bookmark_bar_node(), -1); model_ 387 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc CreateEditor(profile_.get(), model_->bookmark_bar_node(), model_ 396 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc ASSERT_EQ(3, model_->other_node()->child_count()); model_ 397 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc const BookmarkNode* new_node = model_->other_node()->GetChild(2); model_ 22 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc BookmarkMenuDelegateTest() : model_(NULL) {} model_ 29 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_ = BookmarkModelFactory::GetForProfile(profile()); model_ 30 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc test::WaitForBookmarkModelToLoad(model_); model_ 58 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc const BookmarkNode* node = model_->bookmark_bar_node(); model_ 65 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc BookmarkModel* model_; model_ 85 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc const BookmarkNode* bb_node = model_->bookmark_bar_node(); model_ 87 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); model_ 88 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); model_ 89 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); model_ 90 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc const BookmarkNode* f11 = model_->AddFolder(f1, 1, ASCIIToUTF16("F11")); model_ 91 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); model_ 92 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); model_ 95 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), model_ 98 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); model_ 99 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); model_ 111 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc const BookmarkNode* node = model_->bookmark_bar_node()->GetChild(1); model_ 17 chrome/browser/ui/views/confirm_bubble_views.cc : model_(model), model_ 29 chrome/browser/ui/views/confirm_bubble_views.cc views::Label* label = new views::Label(model_->GetMessageText()); model_ 38 chrome/browser/ui/views/confirm_bubble_views.cc link_ = new views::Link(model_->GetLinkText()); model_ 50 chrome/browser/ui/views/confirm_bubble_views.cc return model_->GetButtonLabel(ConfirmBubbleModel::BUTTON_OK); model_ 52 chrome/browser/ui/views/confirm_bubble_views.cc return model_->GetButtonLabel(ConfirmBubbleModel::BUTTON_CANCEL); model_ 62 chrome/browser/ui/views/confirm_bubble_views.cc return !!(model_->GetButtons() & ConfirmBubbleModel::BUTTON_OK); model_ 64 chrome/browser/ui/views/confirm_bubble_views.cc return !!(model_->GetButtons() & ConfirmBubbleModel::BUTTON_CANCEL); model_ 76 chrome/browser/ui/views/confirm_bubble_views.cc model_->Cancel(); model_ 81 chrome/browser/ui/views/confirm_bubble_views.cc model_->Accept(); model_ 90 chrome/browser/ui/views/confirm_bubble_views.cc return model_->GetTitle(); model_ 95 chrome/browser/ui/views/confirm_bubble_views.cc model_->LinkClicked(); model_ 49 chrome/browser/ui/views/confirm_bubble_views.h scoped_ptr<ConfirmBubbleModel> model_; model_ 107 chrome/browser/ui/views/download/download_item_view.cc model_(download_item), model_ 258 chrome/browser/ui/views/download/download_item_view.cc if (IsShowingWarningDialog() && !model_.IsDangerous()) { model_ 261 chrome/browser/ui/views/download/download_item_view.cc } else if (!IsShowingWarningDialog() && model_.IsDangerous()) { model_ 267 chrome/browser/ui/views/download/download_item_view.cc base::string16 status_text = model_.GetStatusText(); model_ 284 chrome/browser/ui/views/download/download_item_view.cc if (model_.ShouldRemoveFromShelfWhenComplete()) { model_ 308 chrome/browser/ui/views/download/download_item_view.cc base::string16 new_tip = model_.GetTooltipText(font_list_, kTooltipMaxWidth); model_ 497 chrome/browser/ui/views/download/download_item_view.cc if (model_.IsDangerous()) model_ 550 chrome/browser/ui/views/download/download_item_view.cc if (model_.IsMalicious()) { model_ 556 chrome/browser/ui/views/download/download_item_view.cc if (model_.ShouldAllowDownloadFeedback() && model_ 842 chrome/browser/ui/views/download/download_item_view.cc model_.PercentComplete(), model_ 1153 chrome/browser/ui/views/download/download_item_view.cc if (model_.ShouldAllowDownloadFeedback()) { model_ 1158 chrome/browser/ui/views/download/download_item_view.cc mode_ = model_.MightBeMalicious() ? MALICIOUS_MODE : DANGEROUS_MODE; model_ 1164 chrome/browser/ui/views/download/download_item_view.cc this, model_.GetWarningConfirmButtonText()); model_ 1168 chrome/browser/ui/views/download/download_item_view.cc int discard_button_message = model_.IsMalicious() ? model_ 1196 chrome/browser/ui/views/download/download_item_view.cc model_.GetWarningText(font_list_, kTextWidth); model_ 70 chrome/browser/ui/views/download/download_item_view.h content::DownloadItem* download() { return model_.download(); } model_ 293 chrome/browser/ui/views/download/download_item_view.h DownloadItemModel model_; model_ 173 chrome/browser/ui/views/hung_renderer_view.cc model_->TabDestroyed(this); model_ 178 chrome/browser/ui/views/hung_renderer_view.cc model_->TabDestroyed(this); model_ 81 chrome/browser/ui/views/hung_renderer_view.h HungPagesTableModel* model_; model_ 34 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc model_ = NULL; model_ 37 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc model_ = pdf_tab_helper->open_in_reader_prompt(); model_ 40 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc SetVisible(!!model_); model_ 47 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc DCHECK(model_); model_ 48 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.cc bubble_ = new OpenPDFInReaderBubbleView(this, model_); model_ 46 chrome/browser/ui/views/location_bar/open_pdf_in_reader_view.h OpenPDFInReaderPromptDelegate* model_; model_ 69 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc : model_(new OmniboxPopupModel(this, edit_model)), model_ 149 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->selected_line_state() == OmniboxPopupModel::KEYWORD); model_ 154 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const size_t hidden_matches = model_->result().ShouldHideTopMatch() ? 1 : 0; model_ 155 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc if (model_->result().size() <= hidden_matches || model_ 174 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc const size_t result_size = model_->result().size(); model_ 269 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return index == model_->selected_line(); model_ 273 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return index == model_->hovered_line(); model_ 280 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return model_->GetIconIfExtensionMatch(GetMatchAtIndex(index)); model_ 349 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(GetIndexForPoint(event.location())); model_ 354 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(GetIndexForPoint(event.location())); model_ 359 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(OmniboxPopupModel::kNoMatch); model_ 389 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc DCHECK_GE(static_cast<size_t>(child_count()), model_->result().size()); model_ 391 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc for (size_t i = model_->result().ShouldHideTopMatch() ? 1 : 0; model_ 392 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc i < model_->result().size(); ++i) model_ 456 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return index < model_->result().size(); model_ 461 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc return model_->result().match_at(index); model_ 480 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc int nb_match = model_->result().size(); model_ 496 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetHoveredLine(index); model_ 498 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc model_->SetSelectedLine(index, false, false); model_ 507 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc omnibox_view_->OpenMatch(model_->result().match_at(index), disposition, model_ 101 chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h scoped_ptr<OmniboxPopupModel> model_; model_ 140 chrome/browser/ui/views/omnibox/omnibox_result_view.cc model_(model), model_ 223 chrome/browser/ui/views/omnibox/omnibox_result_view.cc if (model_->IsSelectedIndex(model_index_)) model_ 225 chrome/browser/ui/views/omnibox/omnibox_result_view.cc return model_->IsHoveredIndex(model_index_) ? HOVERED : NORMAL; model_ 299 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const int max_match_contents_width = model_->max_match_contents_width(); model_ 435 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const gfx::Image image = model_->GetIconIfExtensionMatch(model_index_); model_ 159 chrome/browser/ui/views/omnibox/omnibox_result_view.h OmniboxPopupContentsView* model_; model_ 23 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc model_(model), model_ 40 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc base::string16 title = model_->GetMessageText(); model_ 47 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc base::string16 accept_text = model_->GetAcceptButtonText(); model_ 60 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc close_button_ = new views::LabelButton(this, model_->GetCancelButtonText()); model_ 70 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc model_->Cancel(); model_ 78 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc model_->Accept(); model_ 39 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h OpenPDFInReaderPromptDelegate* model_; model_ 107 chrome/browser/ui/views/ssl_client_certificate_selector.cc model_(new CertificateSelectorTableModel(cert_request_info)), model_ 291 chrome/browser/ui/views/ssl_client_certificate_selector.cc table_ = new views::TableView(model_.get(), model_ 82 chrome/browser/ui/views/ssl_client_certificate_selector.h scoped_ptr<CertificateSelectorTableModel> model_; model_ 54 chrome/browser/ui/views/tab_icon_view.cc model_(model), model_ 76 chrome/browser/ui/views/tab_icon_view.cc if (!model_->ShouldTabIconViewAnimate()) { model_ 86 chrome/browser/ui/views/tab_icon_view.cc } else if (model_->ShouldTabIconViewAnimate()) { model_ 147 chrome/browser/ui/views/tab_icon_view.cc gfx::ImageSkia favicon = model_->GetFaviconForTabIconView(); model_ 52 chrome/browser/ui/views/tab_icon_view.h chrome::TabIconViewModel* model_; model_ 114 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_.reset(new TabMenuModel( model_ 115 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc this, controller->model_, model_ 117 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc menu_runner_.reset(new views::MenuRunner(model_.get())); model_ 178 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc scoped_ptr<TabMenuModel> model_; model_ 199 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc : model_(model), model_ 204 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->AddObserver(this); model_ 220 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->RemoveObserver(this); model_ 230 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc for (int i = 0; i < model_->count(); ++i) model_ 231 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc AddTab(model_->GetWebContentsAt(i), i, model_->active_index() == i); model_ 238 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->ContainsIndex(model_index) ? model_ 239 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->IsContextMenuCommandEnabled(model_index, command_id) : false; model_ 246 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc if (model_->ContainsIndex(model_index)) model_ 247 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->ExecuteContextMenuCommand(model_index, command_id); model_ 255 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->selection_model(); model_ 259 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->count(); model_ 263 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->ContainsIndex(index); model_ 267 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->active_index() == model_index; model_ 271 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->active_index(); model_ 275 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->IsTabSelected(model_index); model_ 279 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->ContainsIndex(model_index) && model_->IsTabPinned(model_index); model_ 283 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc if (!model_->ContainsIndex(model_index)) model_ 286 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc const WebContents* contents = model_->GetWebContentsAt(model_index); model_ 292 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->ActivateTabAt(model_index, true); model_ 296 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->ExtendSelectionTo(model_index); model_ 300 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->ToggleSelectionAt(model_index); model_ 304 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->AddSelectionFromAnchorTo(model_index); model_ 313 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->CloseWebContentsAt(model_index, model_ 331 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc if (model_->ContainsIndex(i)) { model_ 333 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc WebContents* contents = model_->GetWebContentsAt(i); model_ 340 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return model_->delegate()->GetDragActions(); model_ 366 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc params.source_contents = model_->GetWebContentsAt(index); model_ 379 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->delegate()->AddTabAt(GURL(), -1, true); model_ 390 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->delegate()->AddTabAt(match.destination_url, -1, true); model_ 444 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc DCHECK(model_->ContainsIndex(model_index)); model_ 459 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tabstrip_->SetSelection(old_model, model_->selection_model()); model_ 523 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->mini = model_->IsMiniTab(model_index); model_ 525 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->blocked = model_->IsTabBlocked(model_index); model_ 545 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->GetIndicesClosedByCommand(model_index, command_id); model_ 598 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc model_->profile()->GetResourceContext(), model_ 39 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h TabStripModel* model() const { return model_; } model_ 118 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h Profile* profile() const { return model_->profile(); } model_ 148 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h TabStripModel* model_; model_ 68 chrome/browser/ui/views/task_manager_view.cc : model_(model), model_ 70 chrome/browser/ui/views/task_manager_view.cc model_->AddObserver(this); model_ 74 chrome/browser/ui/views/task_manager_view.cc model_->RemoveObserver(this); model_ 95 chrome/browser/ui/views/task_manager_view.cc TaskManagerModel* model_; model_ 102 chrome/browser/ui/views/task_manager_view.cc return model_->ResourceCount(); model_ 106 chrome/browser/ui/views/task_manager_view.cc return model_->GetResourceById(row, col_id); model_ 110 chrome/browser/ui/views/task_manager_view.cc return model_->GetResourceIcon(row); model_ 118 chrome/browser/ui/views/task_manager_view.cc return model_->CompareValues(row1, row2, column_id); model_ 124 chrome/browser/ui/views/task_manager_view.cc model_->GetGroupRangeForResource(model_index); model_ 229 chrome/browser/ui/views/task_manager_view.cc TaskManagerModel* model_; model_ 264 chrome/browser/ui/views/task_manager_view.cc model_(TaskManager::GetInstance()->model()), model_ 276 chrome/browser/ui/views/task_manager_view.cc table_model_.reset(new TaskManagerTableModel(model_)); model_ 487 chrome/browser/ui/views/task_manager_view.cc instance_->model_->StartUpdating(); model_ 74 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_(NULL), model_ 86 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_ = extensions::ExtensionToolbarModel::Get(browser->profile()); model_ 87 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_) model_ 88 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->AddObserver(this); model_ 116 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_) model_ 117 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->RemoveObserver(this); model_ 130 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_ && model_ 138 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->SetVisibleIconCount(WidthToIconCount(predefined_width)); model_ 140 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_ && model_->extensions_initialized()) model_ 161 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (!model_) model_ 164 chrome/browser/ui/views/toolbar/browser_actions_container.cc const extensions::ExtensionList& toolbar_items = model_->toolbar_items(); model_ 360 chrome/browser/ui/views/toolbar/browser_actions_container.cc DCHECK(model_); model_ 383 chrome/browser/ui/views/toolbar/browser_actions_container.cc i = model_->IncognitoIndexToOriginal(i); model_ 385 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->MoveBrowserAction( model_ 441 chrome/browser/ui/views/toolbar/browser_actions_container.cc return !model_->is_highlighting(); model_ 539 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->MoveBrowserAction(extension, new_index); model_ 585 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->SetVisibleIconCount(icons); model_ 595 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_->is_highlighting() && !browser_action_views_.empty()) { model_ 624 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (!model_) model_ 678 chrome/browser/ui/views/toolbar/browser_actions_container.cc index = model_->OriginalIndexToIncognito(index); model_ 684 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (!model_->extensions_initialized()) model_ 689 chrome/browser/ui/views/toolbar/browser_actions_container.cc if ((model_->GetVisibleIconCount() < 0) && model_ 743 chrome/browser/ui/views/toolbar/browser_actions_container.cc index = model_->OriginalIndexToIncognito(index); model_ 785 chrome/browser/ui/views/toolbar/browser_actions_container.cc int visible_actions = model_->GetVisibleIconCount(); model_ 787 chrome/browser/ui/views/toolbar/browser_actions_container.cc visible_actions = model_->toolbar_items().size(); model_ 789 chrome/browser/ui/views/toolbar/browser_actions_container.cc static_cast<size_t>(visible_actions) < model_->toolbar_items().size()); model_ 871 chrome/browser/ui/views/toolbar/browser_actions_container.cc model_->SetVisibleIconCount(num_visible_icons); model_ 901 chrome/browser/ui/views/toolbar/browser_actions_container.cc if (model_->ExecuteBrowserAction( model_ 362 chrome/browser/ui/views/toolbar/browser_actions_container.h extensions::ExtensionToolbarModel* model_; model_ 25 chrome/browser/ui/views/toolbar/toolbar_button.cc model_(model), model_ 151 chrome/browser/ui/views/toolbar/toolbar_button.cc return model_ != NULL; model_ 197 chrome/browser/ui/views/toolbar/toolbar_button.cc if (model_.get()) { model_ 198 chrome/browser/ui/views/toolbar/toolbar_button.cc views::MenuModelAdapter menu_delegate(model_.get()); model_ 69 chrome/browser/ui/views/toolbar/toolbar_button.h scoped_ptr<ui::MenuModel> model_; model_ 828 chrome/browser/ui/views/toolbar/wrench_menu.cc model_(model), model_ 830 chrome/browser/ui/views/toolbar/wrench_menu.cc model_->SetMenuModelDelegate(this); model_ 834 chrome/browser/ui/views/toolbar/wrench_menu.cc model_->SetMenuModelDelegate(NULL); model_ 848 chrome/browser/ui/views/toolbar/wrench_menu.cc return model_->GetLabelFontListAt(index); model_ 860 chrome/browser/ui/views/toolbar/wrench_menu.cc int command_id = model_->GetCommandIdAt(index); model_ 864 chrome/browser/ui/views/toolbar/wrench_menu.cc model_->GetIconAt(index, &icon); model_ 880 chrome/browser/ui/views/toolbar/wrench_menu.cc if (iter->second.first == model_) model_ 888 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int i = 0; i < model_->GetItemCount(); ++i) { model_ 889 chrome/browser/ui/views/toolbar/wrench_menu.cc wrench_menu_->AddMenuItem(menu_item_, i, model_, i, model_->GetTypeAt(i), model_ 900 chrome/browser/ui/views/toolbar/wrench_menu.cc ui::MenuModel* model_; model_ 210 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->GetViewState() == TranslateBubbleModel::VIEW_STATE_ERROR) model_ 211 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->ShowError(error_type_); model_ 227 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->TranslationDeclined(denial_button_clicked_); model_ 238 chrome/browser/ui/views/translate/translate_bubble_view.cc switch (model_->GetViewState()) { model_ 292 chrome/browser/ui/views/translate/translate_bubble_view.cc return model_->GetViewState(); model_ 313 chrome/browser/ui/views/translate/translate_bubble_view.cc model_(model.Pass()), model_ 320 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->GetViewState() != model_ 332 chrome/browser/ui/views/translate/translate_bubble_view.cc switch (model_->GetViewState()) { model_ 353 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->Translate(); model_ 358 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->SetAlwaysTranslate(always_translate_checkbox_->checked()); model_ 359 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->IsPageTranslatedInCurrentLanguages()) { model_ 360 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GoBackFromAdvanced(); model_ 365 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->Translate(); model_ 371 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GoBackFromAdvanced(); model_ 378 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->Translate(); model_ 382 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->RevertTranslation(); model_ 424 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->SetNeverTranslateLanguage(true); model_ 427 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->SetNeverTranslateSite(true); model_ 437 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->GetOriginalLanguageIndex() == model_ 441 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->UpdateOriginalLanguageIndex( model_ 447 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->GetTargetLanguageIndex() == model_ 451 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->UpdateTargetLanguageIndex( model_ 471 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GetLanguageNameAt(model_->GetOriginalLanguageIndex()); model_ 525 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GetLanguageNameAt(model_->GetTargetLanguageIndex()); model_ 665 chrome/browser/ui/views/translate/translate_bubble_view.cc int source_default_index = model_->GetOriginalLanguageIndex(); model_ 667 chrome/browser/ui/views/translate/translate_bubble_view.cc new LanguageComboboxModel(source_default_index, model_.get())); model_ 674 chrome/browser/ui/views/translate/translate_bubble_view.cc int target_default_index = model_->GetTargetLanguageIndex(); model_ 676 chrome/browser/ui/views/translate/translate_bubble_view.cc new LanguageComboboxModel(target_default_index, model_.get())); model_ 757 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->GetViewState() == view_state) model_ 760 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->SetViewState(view_state); model_ 770 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->ShowError(error_type); model_ 779 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GetLanguageNameAt(model_->GetOriginalLanguageIndex()); model_ 781 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->GetLanguageNameAt(model_->GetTargetLanguageIndex()); model_ 788 chrome/browser/ui/views/translate/translate_bubble_view.cc model_->ShouldAlwaysTranslate()); model_ 792 chrome/browser/ui/views/translate/translate_bubble_view.cc if (model_->IsPageTranslatedInCurrentLanguages()) model_ 52 chrome/browser/ui/views/translate/translate_bubble_view.h TranslateBubbleModel* model() { return model_.get(); } model_ 185 chrome/browser/ui/views/translate/translate_bubble_view.h scoped_ptr<TranslateBubbleModel> model_; model_ 460 chrome/browser/unload_browsertest.cc : model_(model), model_ 462 chrome/browser/unload_browsertest.cc model_->AddObserver(this); model_ 466 chrome/browser/unload_browsertest.cc model_->RemoveObserver(this); model_ 476 chrome/browser/unload_browsertest.cc TabStripModel* const model_; model_ 56 chrome/renderer/safe_browsing/scorer.cc ClientSideModel& model = scorer->model_; model_ 80 chrome/renderer/safe_browsing/scorer.cc for (int i = 0; i < model_.rule_size(); ++i) { model_ 81 chrome/renderer/safe_browsing/scorer.cc logodds += ComputeRuleScore(model_.rule(i), features); model_ 87 chrome/renderer/safe_browsing/scorer.cc return model_.version(); model_ 99 chrome/renderer/safe_browsing/scorer.cc return model_.max_words_per_term(); model_ 103 chrome/renderer/safe_browsing/scorer.cc return model_.murmur_hash_seed(); model_ 112 chrome/renderer/safe_browsing/scorer.cc model_.hashes(rule.feature(i))); model_ 76 chrome/renderer/safe_browsing/scorer.h ClientSideModel model_; model_ 27 chrome/renderer/safe_browsing/scorer_unittest.cc model_.Clear(); model_ 28 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_hashes("feature1"); model_ 29 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_hashes("feature2"); model_ 30 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_hashes("feature3"); model_ 31 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_hashes("token one"); model_ 32 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_hashes("token two"); model_ 35 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); model_ 38 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); model_ 42 chrome/renderer/safe_browsing/scorer_unittest.cc rule = model_.add_rule(); model_ 47 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_page_term(3); // token one model_ 48 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_page_term(4); // token two model_ 52 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_page_word(1000U); model_ 53 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_page_word(2000U); model_ 54 chrome/renderer/safe_browsing/scorer_unittest.cc model_.add_page_word(3000U); model_ 56 chrome/renderer/safe_browsing/scorer_unittest.cc model_.set_max_words_per_term(2); model_ 57 chrome/renderer/safe_browsing/scorer_unittest.cc model_.set_murmur_hash_seed(12345U); model_ 60 chrome/renderer/safe_browsing/scorer_unittest.cc ClientSideModel model_; model_ 65 chrome/renderer/safe_browsing/scorer_unittest.cc scorer.reset(Scorer::Create(model_.SerializeAsString())); model_ 73 chrome/renderer/safe_browsing/scorer_unittest.cc model_.clear_max_words_per_term(); model_ 74 chrome/renderer/safe_browsing/scorer_unittest.cc scorer.reset(Scorer::Create(model_.SerializePartialAsString())); model_ 79 chrome/renderer/safe_browsing/scorer_unittest.cc scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); model_ 89 chrome/renderer/safe_browsing/scorer_unittest.cc scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); model_ 102 chrome/renderer/safe_browsing/scorer_unittest.cc scoped_ptr<Scorer> scorer(Scorer::Create(model_.SerializeAsString())); model_ 43 components/dom_distiller/core/dom_distiller_store.cc model_(initial_data), model_ 59 components/dom_distiller/core/dom_distiller_store.cc return model_.GetEntryById(entry_id, entry); model_ 64 components/dom_distiller/core/dom_distiller_store.cc return model_.GetEntryByUrl(url, entry); model_ 73 components/dom_distiller/core/dom_distiller_store.cc if (model_.GetEntryById(entry.entry_id(), NULL)) { model_ 101 components/dom_distiller/core/dom_distiller_store.cc if (!model_.GetEntryById(entry.entry_id(), NULL)) { model_ 131 components/dom_distiller/core/dom_distiller_store.cc if (!model_.GetEntryById(entry.entry_id(), NULL)) { model_ 163 components/dom_distiller/core/dom_distiller_store.cc return model_.GetEntries(); model_ 194 components/dom_distiller/core/dom_distiller_store.cc return model_.GetAllSyncData(); model_ 246 components/dom_distiller/core/dom_distiller_store.cc model_.ApplyChangesToModel(changes, changes_applied, changes_missing); model_ 342 components/dom_distiller/core/dom_distiller_store.cc result.set_num_items_before_association(model_.GetNumEntries()); model_ 345 components/dom_distiller/core/dom_distiller_store.cc model_.CalculateChangesForMerge(data, &changes_to_apply, changes_missing); model_ 371 components/dom_distiller/core/dom_distiller_store.cc result.set_num_items_after_association(model_.GetNumEntries()); model_ 152 components/dom_distiller/core/dom_distiller_store.h DomDistillerModel model_; model_ 57 components/dom_distiller/core/dom_distiller_store_unittest.cc explicit FakeSyncChangeProcessor(EntryMap* model) : model_(model) {} model_ 71 components/dom_distiller/core/dom_distiller_store_unittest.cc AddEntry(GetEntryFromChange(*it), model_); model_ 77 components/dom_distiller/core/dom_distiller_store_unittest.cc EntryMap* model_; model_ 570 courgette/adjustment_method.cc model_(NULL), model_ 577 courgette/adjustment_method.cc model_ = &model; model_ 584 courgette/adjustment_method.cc CollectTraces(model_, &model_abs32_, &model_rel32_, true); model_ 653 courgette/adjustment_method.cc const AssemblyProgram* model_; // Program to be mimicked, owned by caller. model_ 1231 courgette/adjustment_method_2.cc model_ = &model; model_ 1239 courgette/adjustment_method_2.cc CollectTraces(model_, &abs32_trace_, &rel32_trace_, true); model_ 1283 courgette/adjustment_method_2.cc const AssemblyProgram* model_; // Program to be mimicked, owned by caller. model_ 82 ui/app_list/app_list_model_unittest.cc model_.AddObserver(&observer_); model_ 85 ui/app_list/app_list_model_unittest.cc model_.RemoveObserver(&observer_); model_ 105 ui/app_list/app_list_model_unittest.cc return GetItemListContents(model_.top_level_item_list()); model_ 108 ui/app_list/app_list_model_unittest.cc test::AppListTestModel model_; model_ 116 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(AppListModel::STATUS_NORMAL, model_.status()); model_ 117 ui/app_list/app_list_model_unittest.cc model_.SetStatus(AppListModel::STATUS_SYNCING); model_ 119 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(AppListModel::STATUS_SYNCING, model_.status()); model_ 120 ui/app_list/app_list_model_unittest.cc model_.SetStatus(AppListModel::STATUS_NORMAL); model_ 123 ui/app_list/app_list_model_unittest.cc model_.SetStatus(AppListModel::STATUS_NORMAL); model_ 129 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 135 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 136 ui/app_list/app_list_model_unittest.cc AppListItem* item0 = model_.top_level_item_list()->item_at(0); model_ 138 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(model_.GetItemName(0), item0->id()); model_ 139 ui/app_list/app_list_model_unittest.cc AppListItem* item1 = model_.top_level_item_list()->item_at(1); model_ 141 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(model_.GetItemName(1), item1->id()); model_ 146 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 147 ui/app_list/app_list_model_unittest.cc std::string item_name0 = model_.GetItemName(0); model_ 148 ui/app_list/app_list_model_unittest.cc AppListItem* item0 = model_.FindItem(item_name0); model_ 151 ui/app_list/app_list_model_unittest.cc std::string item_name1 = model_.GetItemName(1); model_ 152 ui/app_list/app_list_model_unittest.cc AppListItem* item1 = model_.FindItem(item_name1); model_ 159 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 161 ui/app_list/app_list_model_unittest.cc model_.CreateAndAddItem("Added Item 1"); model_ 162 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(num_apps + 1, model_.top_level_item_list()->item_count()); model_ 164 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->item_at(num_apps)->id()); model_ 166 ui/app_list/app_list_model_unittest.cc AppListItem* item0 = model_.top_level_item_list()->item_at(0); model_ 168 ui/app_list/app_list_model_unittest.cc AppListItem* item1 = model_.top_level_item_list()->item_at(1); model_ 170 ui/app_list/app_list_model_unittest.cc AppListItem* item2 = model_.CreateItem("Added Item 2"); model_ 171 ui/app_list/app_list_model_unittest.cc model_.AddItem(item2); model_ 173 ui/app_list/app_list_model_unittest.cc model_.SetItemPosition( model_ 175 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(num_apps + 2, model_.top_level_item_list()->item_count()); model_ 182 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 184 ui/app_list/app_list_model_unittest.cc model_.CreateAndAddItem("Inserted Item"); model_ 185 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(num_apps + 1, model_.top_level_item_list()->item_count()); model_ 188 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->MoveItem(num_apps, 1); model_ 195 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 197 ui/app_list/app_list_model_unittest.cc model_.DeleteItem(model_.GetItemName(1)); model_ 198 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(num_apps - 1, model_.top_level_item_list()->item_count()); model_ 202 ui/app_list/app_list_model_unittest.cc model_.DeleteItem(model_.GetItemName(0)); model_ 203 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(num_apps - 2, model_.top_level_item_list()->item_count()); model_ 207 ui/app_list/app_list_model_unittest.cc model_.DeleteItem(model_.GetItemName(num_apps - 1)); model_ 208 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(num_apps - 3, model_.top_level_item_list()->item_count()); model_ 215 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(num_apps); model_ 219 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->item_at(i)->position().GreaterThan( model_ 220 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->item_at(i - 1)->position())); model_ 223 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->MoveItem(num_apps - 1, 1); model_ 227 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->item_at(i)->position().GreaterThan( model_ 228 ui/app_list/app_list_model_unittest.cc model_.top_level_item_list()->item_at(i - 1)->position())); model_ 254 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder); model_ 256 ui/app_list/app_list_model_unittest.cc std::string name = model_.GetItemName(i); model_ 257 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(model_.CreateItem(name), folder->id()); model_ 270 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(model_.GetItemName(num_observed_apps), model_ 272 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(model_.GetItemName(0), model_ 274 ui/app_list/app_list_model_unittest.cc EXPECT_EQ(model_.GetItemName(num_observed_apps - 1), model_ 287 ui/app_list/app_list_model_unittest.cc model_.PopulateApps(3); model_ 288 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(3u, model_.top_level_item_list()->item_count()); model_ 289 ui/app_list/app_list_model_unittest.cc AppListItem* item0 = model_.top_level_item_list()->item_at(0); model_ 290 ui/app_list/app_list_model_unittest.cc AppListItem* item1 = model_.top_level_item_list()->item_at(1); model_ 291 ui/app_list/app_list_model_unittest.cc AppListItem* item2 = model_.top_level_item_list()->item_at(2); model_ 294 ui/app_list/app_list_model_unittest.cc std::string folder1_id = model_.MergeItems(item0->id(), item1->id()); model_ 295 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(2u, model_.top_level_item_list()->item_count()); // Folder + 1 item model_ 296 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder1_item = model_.FindFolderItem(folder1_id); model_ 301 ui/app_list/app_list_model_unittest.cc std::string folder2_id = model_.MergeItems(item2->id(), item1->id()); model_ 302 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(2u, model_.top_level_item_list()->item_count()); // 2 folders model_ 303 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder2_item = model_.FindFolderItem(folder2_id); model_ 308 ui/app_list/app_list_model_unittest.cc std::string folder_id = model_.MergeItems(folder2_id, item0->id()); model_ 314 ui/app_list/app_list_model_unittest.cc folder1_item = model_.FindFolderItem(folder1_id); model_ 321 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder); model_ 323 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(item0, folder->id()); model_ 324 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(1u, model_.top_level_item_list()->item_count()); model_ 325 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder_item = model_.FindFolderItem(folder->id()); model_ 335 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder); model_ 338 ui/app_list/app_list_model_unittest.cc model_.AddItem(item0); model_ 339 ui/app_list/app_list_model_unittest.cc model_.AddItem(item1); model_ 340 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(3u, model_.top_level_item_list()->item_count()); model_ 343 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item0, folder_id); model_ 344 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item1, folder_id); model_ 345 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder_item = model_.FindFolderItem(folder_id); model_ 351 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item0, ""); model_ 353 ui/app_list/app_list_model_unittest.cc folder_item = model_.FindFolderItem(folder_id); model_ 356 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item1, ""); model_ 358 ui/app_list/app_list_model_unittest.cc folder_item = model_.FindFolderItem(folder_id); model_ 363 ui/app_list/app_list_model_unittest.cc model_.AddItem(new AppListItem("Item 0")); model_ 364 ui/app_list/app_list_model_unittest.cc model_.AddItem(new AppListItem("Item 1")); model_ 365 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder1 = static_cast<AppListFolderItem*>(model_.AddItem( model_ 367 ui/app_list/app_list_model_unittest.cc model_.AddItem(new AppListItem("Item 2")); model_ 368 ui/app_list/app_list_model_unittest.cc model_.AddItem(new AppListItem("Item 3")); model_ 369 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(5u, model_.top_level_item_list()->item_count()); model_ 372 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolderAt(model_.top_level_item_list()->item_at(1), model_ 376 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolderAt(model_.top_level_item_list()->item_at(2), model_ 382 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolderAt( model_ 387 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolderAt( model_ 397 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder0); model_ 398 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder1); model_ 402 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(item0, folder0->id()); model_ 403 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(item1, folder0->id()); model_ 409 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item0, folder1->id()); model_ 417 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item1, folder1->id()); model_ 418 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(1u, model_.top_level_item_list()->item_count()); model_ 424 ui/app_list/app_list_model_unittest.cc model_.MoveItemToFolder(item1, "folder2"); model_ 425 ui/app_list/app_list_model_unittest.cc ASSERT_EQ(2u, model_.top_level_item_list()->item_count()); model_ 428 ui/app_list/app_list_model_unittest.cc AppListFolderItem* folder2 = model_.FindFolderItem("folder2"); model_ 436 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder); model_ 439 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(item0, folder_id); model_ 440 ui/app_list/app_list_model_unittest.cc AppListItem* found_item = model_.FindItem(item0->id()); model_ 448 ui/app_list/app_list_model_unittest.cc model_.AddItem(folder); model_ 453 ui/app_list/app_list_model_unittest.cc model_.AddItem(item0); model_ 455 ui/app_list/app_list_model_unittest.cc std::string new_folder = model_.MergeItems(folder_id, item0->id()); model_ 462 ui/app_list/app_list_model_unittest.cc model_.AddItemToFolder(item1, folder_id); model_ 464 ui/app_list/app_list_model_unittest.cc bool move_res = model_.MoveItemToFolderAt(item1, "", syncer::StringOrdinal()); model_ 22 ui/app_list/pagination_model_unittest.cc : model_(NULL), model_ 38 ui/app_list/pagination_model_unittest.cc void set_model(PaginationModel* model) { model_ = model; } model_ 80 ui/app_list/pagination_model_unittest.cc model_->transition().target_page == transition_page_) { model_ 81 ui/app_list/pagination_model_unittest.cc if (model_->transition().progress == 0) model_ 83 ui/app_list/pagination_model_unittest.cc if (model_->transition().progress == 1) model_ 95 ui/app_list/pagination_model_unittest.cc PaginationModel* model_; model_ 28 ui/app_list/test/app_list_test_model.cc model_->ItemActivated(this); model_ 31 ui/app_list/test/app_list_test_model.h AppListTestModel* model_; model_ 56 ui/app_list/test/app_list_test_view_delegate.cc model_(new AppListTestModel), model_ 74 ui/app_list/test/app_list_test_view_delegate.cc return model_.get(); model_ 94 ui/app_list/test/app_list_test_view_delegate.cc const AppListModel::SearchResults* results = model_->results(); model_ 133 ui/app_list/test/app_list_test_view_delegate.cc model_.reset(new AppListTestModel); model_ 134 ui/app_list/test/app_list_test_view_delegate.cc model_->PopulateApps(item_count); model_ 85 ui/app_list/test/app_list_test_view_delegate.h AppListTestModel* ReleaseTestModel() { return model_.release(); } model_ 86 ui/app_list/test/app_list_test_view_delegate.h AppListTestModel* GetTestModel() { return model_.get(); } model_ 94 ui/app_list/test/app_list_test_view_delegate.h scoped_ptr<AppListTestModel> model_; model_ 50 ui/app_list/views/app_list_folder_view.cc model_(model), model_ 73 ui/app_list/views/app_list_folder_view.cc model_->AddObserver(this); model_ 77 ui/app_list/views/app_list_folder_view.cc model_->RemoveObserver(this); model_ 304 ui/app_list/views/app_list_folder_view.cc model_->SetItemName(item, name); model_ 112 ui/app_list/views/app_list_folder_view.h AppListModel* model_; // Not owned. model_ 88 ui/app_list/views/app_list_main_view.cc model_(delegate->GetModel()), model_ 109 ui/app_list/views/app_list_main_view.cc this, pagination_model_, model_, delegate_); model_ 159 ui/app_list/views/app_list_main_view.cc model_ = delegate_->GetModel(); model_ 186 ui/app_list/views/app_list_main_view.cc std::min(static_cast<int>(model_->top_level_item_list()->item_count()), model_ 191 ui/app_list/views/app_list_main_view.cc AppListItem* item = model_->top_level_item_list()->item_at(i); model_ 238 ui/app_list/views/app_list_main_view.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); model_ 98 ui/app_list/views/app_list_main_view.h AppListModel* model_; // Unowned; ownership is handled by |delegate_|. model_ 27 ui/app_list/views/apps_container_view.cc : model_(model), model_ 47 ui/app_list/views/apps_container_view.cc apps_grid_view_->SetModel(model_); model_ 48 ui/app_list/views/apps_container_view.cc apps_grid_view_->SetItemList(model_->top_level_item_list()); model_ 100 ui/app_list/views/apps_container_view.h AppListModel* model_; model_ 317 ui/app_list/views/apps_grid_view.cc : model_(NULL), model_ 353 ui/app_list/views/apps_grid_view.cc if (model_) model_ 354 ui/app_list/views/apps_grid_view.cc model_->RemoveObserver(this); model_ 382 ui/app_list/views/apps_grid_view.cc if (model_) model_ 383 ui/app_list/views/apps_grid_view.cc model_->RemoveObserver(this); model_ 385 ui/app_list/views/apps_grid_view.cc model_ = model; model_ 386 ui/app_list/views/apps_grid_view.cc if (model_) model_ 387 ui/app_list/views/apps_grid_view.cc model_->AddObserver(this); model_ 909 ui/app_list/views/apps_grid_view.cc const int desired = model_->status() == AppListModel::STATUS_SYNCING ? model_ 1598 ui/app_list/views/apps_grid_view.cc model_->MergeItems(target_view_item_id, source_item_id); model_ 1634 ui/app_list/views/apps_grid_view.cc model_->RemoveObserver(this); model_ 1649 ui/app_list/views/apps_grid_view.cc model_->MoveItemToFolderAt(reparent_item, "", target_position); model_ 1656 ui/app_list/views/apps_grid_view.cc model_->AddObserver(this); model_ 1678 ui/app_list/views/apps_grid_view.cc model_->MergeItems(target_item->id(), reparent_item->id()); model_ 1730 ui/app_list/views/apps_grid_view.cc model_->MoveItemToFolderAt(last_item, "", source_folder->position()); model_ 1766 ui/app_list/views/apps_grid_view.cc AppListFolderItem* folder_item = model_->FindFolderItem(folder_id); model_ 1772 ui/app_list/views/apps_grid_view.cc model_->MoveItemToFolderAt( model_ 449 ui/app_list/views/apps_grid_view.h AppListModel* model_; // Owned by AppListView. model_ 45 ui/app_list/views/apps_grid_view_unittest.cc : ui_loop_(ui_loop), model_(model), wait_(false), page_changed_(false) { model_ 46 ui/app_list/views/apps_grid_view_unittest.cc model_->AddObserver(this); model_ 50 ui/app_list/views/apps_grid_view_unittest.cc model_->RemoveObserver(this); model_ 90 ui/app_list/views/apps_grid_view_unittest.cc PaginationModel* model_; model_ 108 ui/app_list/views/apps_grid_view_unittest.cc model_.reset(new AppListTestModel); model_ 114 ui/app_list/views/apps_grid_view_unittest.cc apps_grid_view_->SetModel(model_.get()); model_ 115 ui/app_list/views/apps_grid_view_unittest.cc apps_grid_view_->SetItemList(model_->top_level_item_list()); model_ 137 ui/app_list/views/apps_grid_view_unittest.cc for (size_t i = 0; i < model_->top_level_item_list()->item_count(); ++i) { model_ 146 ui/app_list/views/apps_grid_view_unittest.cc DCHECK_GT(model_->top_level_item_list()->item_count(), 0u); model_ 181 ui/app_list/views/apps_grid_view_unittest.cc scoped_ptr<AppListTestModel> model_; model_ 229 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kPages * kTilesPerPage); model_ 233 ui/app_list/views/apps_grid_view_unittest.cc model_->CreateAndAddItem("Extra"); model_ 239 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kPages * kTilesPerPage); model_ 245 ui/app_list/views/apps_grid_view_unittest.cc model_->HighlightItemAt(0); model_ 247 ui/app_list/views/apps_grid_view_unittest.cc model_->HighlightItemAt(kTilesPerPage - 1); model_ 251 ui/app_list/views/apps_grid_view_unittest.cc model_->HighlightItemAt(kTilesPerPage + 1); model_ 255 ui/app_list/views/apps_grid_view_unittest.cc model_->HighlightItemAt(model_->top_level_item_list()->item_count() - 1); model_ 263 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 267 ui/app_list/views/apps_grid_view_unittest.cc model_->DeleteItem(model_->GetItemName(kLastItemIndex)); model_ 280 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 282 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 291 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 298 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 303 ui/app_list/views/apps_grid_view_unittest.cc model_->DeleteItem(model_->GetItemName(0)); model_ 306 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 311 ui/app_list/views/apps_grid_view_unittest.cc model_->CreateAndAddItem("Extra"); model_ 314 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 322 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 323 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->top_level_item_list()->item_count(), kTotalItems); model_ 324 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(std::string("Item 0,Item 1,Item 2"), model_->GetModelContent()); model_ 332 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(kTotalItems - 1, model_->top_level_item_list()->item_count()); model_ 334 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)->GetItemType()); model_ 336 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)); model_ 338 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item_0 = model_->FindItem("Item 0"); model_ 341 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item_1 = model_->FindItem("Item 1"); model_ 345 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(expected_items, model_->GetModelContent()); model_ 352 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(kTotalItems - 2, model_->top_level_item_list()->item_count()); model_ 353 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(folder_item->id(), model_->GetModelContent()); model_ 355 ui/app_list/views/apps_grid_view_unittest.cc item_0 = model_->FindItem("Item 0"); model_ 358 ui/app_list/views/apps_grid_view_unittest.cc item_1 = model_->FindItem("Item 1"); model_ 361 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item_2 = model_->FindItem("Item 2"); model_ 372 ui/app_list/views/apps_grid_view_unittest.cc model_->CreateAndPopulateFolderWithApps(kTotalItems); model_ 373 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(1u, model_->top_level_item_list()->item_count()); model_ 375 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)->GetItemType()); model_ 377 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)); model_ 381 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateAppWithId(kTotalItems); model_ 382 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateAppWithId(kTotalItems + 1); model_ 383 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(3u, model_->top_level_item_list()->item_count()); model_ 384 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(folder_item->id(), model_->top_level_item_list()->item_at(0)->id()); model_ 385 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->GetItemName(kMaxFolderItems - 1), model_ 386 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(1)->id()); model_ 387 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->GetItemName(kMaxFolderItems), model_ 388 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(2)->id()); model_ 396 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 397 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(folder_item->id(), model_->top_level_item_list()->item_at(0)->id()); model_ 399 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->GetItemName(kMaxFolderItems), model_ 400 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(1)->id()); model_ 407 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 408 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->GetItemName(kMaxFolderItems), model_ 409 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)->id()); model_ 410 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(folder_item->id(), model_->top_level_item_list()->item_at(1)->id()); model_ 420 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 421 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 422 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(std::string("Item 0,Item 1"), model_->GetModelContent()); model_ 435 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 436 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(std::string("Item 1,Item 0"), model_->GetModelContent()); model_ 444 ui/app_list/views/apps_grid_view_unittest.cc model_->CreateAndPopulateFolderWithApps(kTotalItems); model_ 445 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateAppWithId(kTotalItems); model_ 446 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 448 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)->GetItemType()); model_ 450 ui/app_list/views/apps_grid_view_unittest.cc model_->top_level_item_list()->item_at(0)); model_ 451 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ("Item 2", model_->top_level_item_list()->item_at(1)->id()); model_ 460 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(2u, model_->top_level_item_list()->item_count()); model_ 461 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ("Item 2", model_->top_level_item_list()->item_at(0)->id()); model_ 462 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(folder_item->id(), model_->top_level_item_list()->item_at(1)->id()); model_ 468 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 469 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(model_->top_level_item_list()->item_count(), kTotalItems); model_ 471 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 480 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 485 ui/app_list/views/apps_grid_view_unittest.cc model_->DeleteItem(model_->GetItemName(2)); model_ 487 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(std::string("Item 0,Item 1,Item 3"), model_->GetModelContent()); model_ 492 ui/app_list/views/apps_grid_view_unittest.cc model_->CreateAndAddItem("Extra"); model_ 495 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 507 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kPages * kTilesPerPage); model_ 551 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 553 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 567 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 576 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 586 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kTotalItems); model_ 588 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 599 ui/app_list/views/apps_grid_view_unittest.cc model_->GetModelContent()); model_ 605 ui/app_list/views/apps_grid_view_unittest.cc model_->PopulateApps(kItems); model_ 687 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item = model_->CreateAndAddItem("Item with short name"); model_ 688 ui/app_list/views/apps_grid_view_unittest.cc model_->SetItemNameAndShortName(item, expected_tooltip, expected_text); model_ 704 ui/app_list/views/apps_grid_view_unittest.cc AppListItem* item = model_->CreateAndAddItem(title); model_ 705 ui/app_list/views/apps_grid_view_unittest.cc model_->SetItemNameAndShortName(item, title, ""); model_ 62 ui/app_list/views/folder_header_view_unittest.cc model_.reset(new AppListTestModel); model_ 89 ui/app_list/views/folder_header_view_unittest.cc scoped_ptr<AppListTestModel> model_; model_ 99 ui/app_list/views/folder_header_view_unittest.cc AppListFolderItem* folder_item = model_->CreateAndPopulateFolderWithApps(2); model_ 111 ui/app_list/views/folder_header_view_unittest.cc AppListFolderItem* folder_item = model_->CreateAndPopulateFolderWithApps(2); model_ 129 ui/app_list/views/folder_header_view_unittest.cc AppListFolderItem* folder_item = model_->CreateAndAddOemFolder("oem folder"); model_ 121 ui/app_list/views/page_switcher.cc : model_(model), model_ 127 ui/app_list/views/page_switcher.cc model_->AddObserver(this); model_ 131 ui/app_list/views/page_switcher.cc model_->RemoveObserver(this); model_ 223 ui/app_list/views/page_switcher.cc model_->SelectPage(i, true /* animate */); model_ 231 ui/app_list/views/page_switcher.cc for (int i = 0; i < model_->total_pages(); ++i) { model_ 233 ui/app_list/views/page_switcher.cc button->SetSelectedRange(i == model_->selected_page() ? 1 : 0); model_ 236 ui/app_list/views/page_switcher.cc buttons_->SetVisible(model_->total_pages() > 1); model_ 251 ui/app_list/views/page_switcher.cc const int current_page = model_->selected_page(); model_ 252 ui/app_list/views/page_switcher.cc const int target_page = model_->transition().target_page; model_ 254 ui/app_list/views/page_switcher.cc double progress = model_->transition().progress; model_ 263 ui/app_list/views/page_switcher.cc if (model_->is_valid_page(target_page)) model_ 53 ui/app_list/views/page_switcher.h PaginationModel* model_; // Owned by AppListController. model_ 48 ui/app_list/views/search_box_view.cc model_(NULL), model_ 79 ui/app_list/views/search_box_view.cc model_->search_box()->RemoveObserver(this); model_ 83 ui/app_list/views/search_box_view.cc if (model_) model_ 84 ui/app_list/views/search_box_view.cc model_->search_box()->RemoveObserver(this); model_ 86 ui/app_list/views/search_box_view.cc model_ = view_delegate_->GetModel(); model_ 87 ui/app_list/views/search_box_view.cc DCHECK(model_); model_ 88 ui/app_list/views/search_box_view.cc model_->search_box()->AddObserver(this); model_ 168 ui/app_list/views/search_box_view.cc model_->search_box()->RemoveObserver(this); model_ 169 ui/app_list/views/search_box_view.cc model_->search_box()->SetText(search_box_->text()); model_ 170 ui/app_list/views/search_box_view.cc model_->search_box()->SetSelectionModel(search_box_->GetSelectionModel()); model_ 171 ui/app_list/views/search_box_view.cc model_->search_box()->AddObserver(this); model_ 212 ui/app_list/views/search_box_view.cc icon_view_->SetImage(model_->search_box()->icon()); model_ 217 ui/app_list/views/search_box_view.cc model_->search_box()->speech_button(); model_ 244 ui/app_list/views/search_box_view.cc search_box_->set_placeholder_text(model_->search_box()->hint_text()); model_ 248 ui/app_list/views/search_box_view.cc search_box_->SelectSelectionModel(model_->search_box()->selection_model()); model_ 252 ui/app_list/views/search_box_view.cc search_box_->SetText(model_->search_box()->text()); model_ 96 ui/app_list/views/search_box_view.h AppListModel* model_; // Owned by the profile-keyed service. model_ 27 ui/base/cocoa/menu_controller.h ui::MenuModel* model_; // weak model_ 228 ui/views/controls/combobox/combobox.cc : model_(model), model_ 231 ui/views/controls/combobox/combobox.cc selected_index_(model_->GetDefaultIndex()), model_ 239 ui/views/controls/combobox/combobox.cc model_->AddObserver(this); model_ 273 ui/views/controls/combobox/combobox.cc model_->RemoveObserver(this); model_ 296 ui/views/controls/combobox/combobox.cc selected_index_ = std::min(0, model_->GetItemCount()); model_ 556 ui/views/controls/combobox/combobox.cc state->value = model_->GetItemAt(selected_index_); model_ 558 ui/views/controls/combobox/combobox.cc state->count = model_->GetItemCount(); model_ 562 ui/views/controls/combobox/combobox.cc DCHECK_EQ(model, model_); model_ 84 ui/views/controls/combobox/combobox.h ui::ComboboxModel* model() const { return model_; } model_ 165 ui/views/controls/combobox/combobox.h ui::ComboboxModel* model_; model_ 204 ui/views/controls/combobox/combobox_unittest.cc model_.reset(new TestComboboxModel()); model_ 207 ui/views/controls/combobox/combobox_unittest.cc combobox_ = new TestCombobox(model_.get()); model_ 261 ui/views/controls/combobox/combobox_unittest.cc scoped_ptr<TestComboboxModel> model_; model_ 267 ui/views/controls/combobox/combobox_unittest.cc EXPECT_EQ(combobox_->selected_index() + 1, model_->GetItemCount()); model_ 282 ui/views/controls/combobox/combobox_unittest.cc EXPECT_EQ(combobox_->selected_index(), model_->GetItemCount() - 1); model_ 288 ui/views/controls/combobox/combobox_unittest.cc model_.reset(new TestComboboxModel()); model_ 291 ui/views/controls/combobox/combobox_unittest.cc combobox_ = new TestCombobox(model_.get()); model_ 310 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 332 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 353 ui/views/controls/combobox/combobox_unittest.cc separators.insert(model_->GetItemCount() - 1); model_ 354 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 373 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 398 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 415 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 437 ui/views/controls/combobox/combobox_unittest.cc model_->SetSeparators(separators); model_ 451 ui/views/controls/combobox/combobox_unittest.cc ASSERT_EQ(model_->GetDefaultIndex(), combobox_->selected_index()); model_ 13 ui/views/controls/menu/menu_2.cc : model_(model), model_ 79 ui/views/controls/menu/menu_2.h ui::MenuModel* model() const { return model_; } model_ 86 ui/views/controls/menu/menu_2.h ui::MenuModel* model_; model_ 149 ui/views/controls/menu/native_menu_win.cc ui::MenuModel* model = menu_win->model_; model_ 168 ui/views/controls/menu/native_menu_win.cc GetNativeMenuWinFromHMENU(menu)->model_->HighlightChangedTo(position); model_ 255 ui/views/controls/menu/native_menu_win.cc data->native_menu_win->model_->GetTypeAt(data->model_index); model_ 260 ui/views/controls/menu/native_menu_win.cc if (data->native_menu_win->model_->GetIconAt(data->model_index, &icon)) { model_ 273 ui/views/controls/menu/native_menu_win.cc data->native_menu_win->model_->IsItemCheckedAt( model_ 394 ui/views/controls/menu/native_menu_win.cc : model_(model), model_ 445 ui/views/controls/menu/native_menu_win.cc model_->MenuWillShow(); model_ 467 ui/views/controls/menu/native_menu_win.cc model_->MenuClosed(); model_ 478 ui/views/controls/menu/native_menu_win.cc owner_draw_ = model_->HasIcons() || owner_draw_; model_ 481 ui/views/controls/menu/native_menu_win.cc menu_index < first_item_index_ + model_->GetItemCount(); ++menu_index) { model_ 483 ui/views/controls/menu/native_menu_win.cc if (model_->GetTypeAt(model_index) == ui::MenuModel::TYPE_SEPARATOR) model_ 496 ui/views/controls/menu/native_menu_win.cc SetMenuItemState(menu_index, model_->IsEnabledAt(model_index), model_ 497 ui/views/controls/menu/native_menu_win.cc model_->IsItemCheckedAt(model_index), false); model_ 498 ui/views/controls/menu/native_menu_win.cc if (model_->IsItemDynamicAt(model_index)) { model_ 501 ui/views/controls/menu/native_menu_win.cc model_->GetLabelAt(model_index)); model_ 537 ui/views/controls/menu/native_menu_win.cc menu_to_select_->model_->ActivatedAt(position_to_select_); model_ 632 ui/views/controls/menu/native_menu_win.cc ui::MenuModel::ItemType type = model_->GetTypeAt(model_index); model_ 634 ui/views/controls/menu/native_menu_win.cc item_data->submenu.reset(new Menu2(model_->GetSubmenuModelAt(model_index))); model_ 641 ui/views/controls/menu/native_menu_win.cc mii.wID = model_->GetCommandIdAt(model_index); model_ 648 ui/views/controls/menu/native_menu_win.cc model_->GetLabelAt(model_index)); model_ 697 ui/views/controls/menu/native_menu_win.cc ui::MenuModel::ItemType type = model_->GetTypeAt(model_index); model_ 704 ui/views/controls/menu/native_menu_win.cc if (model_->GetAcceleratorAt(model_index, &accelerator)) { model_ 111 ui/views/controls/menu/native_menu_win.h ui::MenuModel* model_; model_ 122 ui/views/controls/table/table_view.cc : model_(NULL), model_ 143 ui/views/controls/table/table_view.cc if (model_) model_ 144 ui/views/controls/table/table_view.cc model_->SetObserver(NULL); model_ 150 ui/views/controls/table/table_view.cc if (model == model_) model_ 153 ui/views/controls/table/table_view.cc if (model_) model_ 154 ui/views/controls/table/table_view.cc model_->SetObserver(NULL); model_ 155 ui/views/controls/table/table_view.cc model_ = model; model_ 157 ui/views/controls/table/table_view.cc if (model_) model_ 158 ui/views/controls/table/table_view.cc model_->SetObserver(this); model_ 181 ui/views/controls/table/table_view.cc return model_ ? model_->RowCount() : 0; model_ 189 ui/views/controls/table/table_view.cc if (!model_) model_ 514 ui/views/controls/table/table_view.cc gfx::ImageSkia image = model_->GetIcon(model_index); model_ 527 ui/views/controls/table/table_view.cc model_->GetText(model_index, visible_columns_[j].column.id), model_ 621 ui/views/controls/table/table_view.cc model_->ClearCollator(); model_ 627 ui/views/controls/table/table_view.cc const int sort_result = model_->CompareValues( model_ 632 ui/views/controls/table/table_view.cc model_->CompareValues(model_row1, model_row2, model_ 690 ui/views/controls/table/table_view.cc TableHeader::kSortIndicatorWidth, columns, model_); model_ 887 ui/views/controls/table/table_view.cc const base::string16 text(model_->GetText(ViewToModel(row), model_ 100 ui/views/controls/table/table_view.h ui::TableModel* model() const { return model_; } model_ 297 ui/views/controls/table/table_view.h ui::TableModel* model_; model_ 176 ui/views/controls/table/table_view_unittest.cc model_.reset(new TestTableModel2); model_ 183 ui/views/controls/table/table_view_unittest.cc table_ = new TestTableView(model_.get(), columns); model_ 231 ui/views/controls/table/table_view_unittest.cc scoped_ptr<TestTableModel2> model_; model_ 344 ui/views/controls/table/table_view_unittest.cc model_->ChangeRow(3, -1, 0); model_ 360 ui/views/controls/table/table_view_unittest.cc model_->AddRow(1, 3, 4); model_ 368 ui/views/controls/table/table_view_unittest.cc model_->RemoveRow(0); model_ 472 ui/views/controls/table/table_view_unittest.cc model_->ChangeRow(3, -1, 0); model_ 484 ui/views/controls/table/table_view_unittest.cc model_->ChangeRow(2, -1, 0); model_ 547 ui/views/controls/table/table_view_unittest.cc model_->RemoveRow(3); model_ 553 ui/views/controls/table/table_view_unittest.cc model_->AddRow(0, 1, 2); model_ 584 ui/views/controls/table/table_view_unittest.cc model_->AddRow(2, 5, 0); model_ 714 ui/views/controls/table/table_view_unittest.cc model_->AddRow(2, 5, 0); model_ 748 ui/views/controls/table/table_view_unittest.cc model_->AddRow(2, 5, 0); model_ 804 ui/views/controls/table/table_view_unittest.cc model_->AddRow(2, 5, 0); model_ 240 ui/views/controls/textfield/textfield.cc : model_(new TextfieldModel(this)), model_ 291 ui/views/controls/textfield/textfield.cc model_->SetText(new_text); model_ 300 ui/views/controls/textfield/textfield.cc model_->Append(new_text); model_ 308 ui/views/controls/textfield/textfield.cc model_->InsertText(new_text); model_ 318 ui/views/controls/textfield/textfield.cc model_->SelectAll(reversed); model_ 324 ui/views/controls/textfield/textfield.cc return model_->GetSelectedText(); model_ 328 ui/views/controls/textfield/textfield.cc model_->ClearSelection(); model_ 403 ui/views/controls/textfield/textfield.cc return model_->HasCompositionText(); model_ 411 ui/views/controls/textfield/textfield.cc model_->SelectRange(range); model_ 420 ui/views/controls/textfield/textfield.cc model_->SelectSelectionModel(sel); model_ 425 ui/views/controls/textfield/textfield.cc return model_->GetCursorPosition(); model_ 451 ui/views/controls/textfield/textfield.cc model_->ClearEditHistory(); model_ 514 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(event.location(), false); model_ 515 ui/views/controls/textfield/textfield.cc model_->SelectWord(); model_ 557 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(event.location(), true); model_ 559 ui/views/controls/textfield/textfield.cc model_->SelectWord(); model_ 569 ui/views/controls/textfield/textfield.cc model_->SelectRange(selection); model_ 672 ui/views/controls/textfield/textfield.cc model_->SelectWord(); model_ 801 ui/views/controls/textfield/textfield.cc model_->DeleteSelectionAndInsertTextAt(new_text, pos); model_ 803 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(drop_destination_model); model_ 805 ui/views/controls/textfield/textfield.cc model_->InsertText(new_text); model_ 1045 ui/views/controls/textfield/textfield.cc return editable && model_->CanUndo(); model_ 1047 ui/views/controls/textfield/textfield.cc return editable && model_->CanRedo(); model_ 1049 ui/views/controls/textfield/textfield.cc return editable && readable && model_->HasSelection(); model_ 1051 ui/views/controls/textfield/textfield.cc return readable && model_->HasSelection(); model_ 1057 ui/views/controls/textfield/textfield.cc return editable && model_->HasSelection(); model_ 1105 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Undo(); model_ 1108 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Redo(); model_ 1120 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Delete(); model_ 1126 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Backspace(); model_ 1129 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Delete(); model_ 1132 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, true); model_ 1133 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Delete(); model_ 1136 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, true); model_ 1137 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Backspace(); model_ 1140 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, begin, true); model_ 1141 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Backspace(); model_ 1144 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, end, true); model_ 1145 ui/views/controls/textfield/textfield.cc text_changed = cursor_changed = model_->Delete(); model_ 1148 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); model_ 1151 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model_ 1154 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model_ 1157 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model_ 1160 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, false); model_ 1163 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model_ 1166 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model_ 1169 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model_ 1172 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, false); model_ 1175 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, begin, true); model_ 1178 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, false); model_ 1181 ui/views/controls/textfield/textfield.cc model_->MoveCursor(gfx::LINE_BREAK, end, true); model_ 1204 ui/views/controls/textfield/textfield.cc model_->SetCompositionText(composition); model_ 1211 ui/views/controls/textfield/textfield.cc if (!model_->HasCompositionText()) model_ 1216 ui/views/controls/textfield/textfield.cc model_->ConfirmCompositionText(); model_ 1223 ui/views/controls/textfield/textfield.cc if (!model_->HasCompositionText()) model_ 1228 ui/views/controls/textfield/textfield.cc model_->CancelCompositionText(); model_ 1242 ui/views/controls/textfield/textfield.cc model_->InsertText(new_text); model_ 1244 ui/views/controls/textfield/textfield.cc model_->ReplaceText(new_text); model_ 1263 ui/views/controls/textfield/textfield.cc model_->InsertChar(ch); model_ 1265 ui/views/controls/textfield/textfield.cc model_->ReplaceChar(ch); model_ 1273 ui/views/controls/textfield/textfield.cc const size_t change_offset = model_->GetCursorPosition(); model_ 1339 ui/views/controls/textfield/textfield.cc return model_->HasCompositionText(); model_ 1346 ui/views/controls/textfield/textfield.cc model_->GetTextRange(range); model_ 1354 ui/views/controls/textfield/textfield.cc model_->GetCompositionTextRange(range); model_ 1379 ui/views/controls/textfield/textfield.cc model_->SelectRange(range); model_ 1380 ui/views/controls/textfield/textfield.cc if (model_->HasSelection()) { model_ 1381 ui/views/controls/textfield/textfield.cc model_->DeleteSelection(); model_ 1397 ui/views/controls/textfield/textfield.cc *range_text = model_->GetTextFromRange(range); model_ 1441 ui/views/controls/textfield/textfield.cc return model_->render_text(); model_ 1538 ui/views/controls/textfield/textfield.cc if (model_->MoveCursorTo(point, select)) model_ 1561 ui/views/controls/textfield/textfield.cc model_->Cut()) { model_ 1570 ui/views/controls/textfield/textfield.cc if (text_input_type_ != ui::TEXT_INPUT_TYPE_PASSWORD && model_->Copy()) { model_ 1579 ui/views/controls/textfield/textfield.cc if (!read_only() && model_->Paste()) { model_ 1668 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(mouse); model_ 1669 ui/views/controls/textfield/textfield.cc model_->InsertText(selection_clipboard_text); model_ 1675 ui/views/controls/textfield/textfield.cc model_->MoveCursorTo(gfx::SelectionModel(range, affinity)); model_ 67 ui/views/controls/textfield/textfield.h const base::string16& text() const { return model_->text(); } model_ 361 ui/views/controls/textfield/textfield.h scoped_ptr<TextfieldModel> model_; model_ 132 ui/views/controls/textfield/textfield_unittest.cc model_(NULL), model_ 196 ui/views/controls/textfield/textfield_unittest.cc model_ = textfield_->model_.get(); model_ 197 ui/views/controls/textfield/textfield_unittest.cc model_->ClearEditHistory(); model_ 316 ui/views/controls/textfield/textfield_unittest.cc TextfieldModel* model_; model_ 342 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is", model_->text()); model_ 347 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is a test", model_->text()); model_ 470 ui/views/controls/textfield/textfield_unittest.cc model_->SelectAll(false); model_ 73 ui/views/controls/tree/tree_view.cc : model_(NULL), model_ 96 ui/views/controls/tree/tree_view.cc if (model_) model_ 97 ui/views/controls/tree/tree_view.cc model_->RemoveObserver(this); model_ 111 ui/views/controls/tree/tree_view.cc if (model == model_) model_ 113 ui/views/controls/tree/tree_view.cc if (model_) model_ 114 ui/views/controls/tree/tree_view.cc model_->RemoveObserver(this); model_ 118 ui/views/controls/tree/tree_view.cc model_ = model; model_ 121 ui/views/controls/tree/tree_view.cc if (model_) { model_ 122 ui/views/controls/tree/tree_view.cc model_->AddObserver(this); model_ 123 ui/views/controls/tree/tree_view.cc model_->GetIcons(&icons_); model_ 126 ui/views/controls/tree/tree_view.cc ConfigureInternalNode(model_->GetRoot(), &root_); model_ 149 ui/views/controls/tree/tree_view.cc if (model_->GetParent(node)) model_ 150 ui/views/controls/tree/tree_view.cc Expand(model_->GetParent(node)); model_ 207 ui/views/controls/tree/tree_view.cc model_->SetTitle(GetSelectedNode(), editor_->text()); model_ 220 ui/views/controls/tree/tree_view.cc if (model_node && model_->GetParent(model_node)) model_ 221 ui/views/controls/tree/tree_view.cc Expand(model_->GetParent(model_node)); model_ 234 ui/views/controls/tree/tree_view.cc Expand(model_->GetParent(selected_node_->model_node())); model_ 287 ui/views/controls/tree/tree_view.cc for (int i = model_->GetChildCount(node) - 1; i >= 0; --i) { model_ 288 ui/views/controls/tree/tree_view.cc TreeModelNode* child = model_->GetChild(node, i); model_ 320 ui/views/controls/tree/tree_view.cc if (model_->GetChildCount(root_.model_node())) model_ 321 ui/views/controls/tree/tree_view.cc SetSelectedNode(model_->GetChild(root_.model_node(), 0)); model_ 388 ui/views/controls/tree/tree_view.cc if (!model_) model_ 432 ui/views/controls/tree/tree_view.cc ConfigureInternalNode(model_->GetChild(parent, start + i), child); model_ 462 ui/views/controls/tree/tree_view.cc to_select = model_->GetChildCount(parent) > 0 ? model_ 463 ui/views/controls/tree/tree_view.cc model_->GetChild(parent, 0) : NULL; model_ 651 ui/views/controls/tree/tree_view.cc model_->GetChildCount(node->model_node())) { model_ 682 ui/views/controls/tree/tree_view.cc for (int i = 0, child_count = model_->GetChildCount(node->model_node()); model_ 685 ui/views/controls/tree/tree_view.cc ConfigureInternalNode(model_->GetChild(node->model_node(), i), child); model_ 711 ui/views/controls/tree/tree_view.cc if (!model_) model_ 771 ui/views/controls/tree/tree_view.cc if (model_->GetChildCount(node->model_node())) model_ 776 ui/views/controls/tree/tree_view.cc int icon_index = model_->GetIconIndex(node->model_node()); model_ 854 ui/views/controls/tree/tree_view.cc GetInternalNodeForModelNode(model_->GetParent(model_node), create_type); model_ 863 ui/views/controls/tree/tree_view.cc model_->GetIndexOf(parent_internal_node->model_node(), model_node)); model_ 934 ui/views/controls/tree/tree_view.cc if (!model_) model_ 983 ui/views/controls/tree/tree_view.cc TreeModelNode* parent = model_->GetParent(model_node); model_ 54 ui/views/controls/tree/tree_view.h ui::TreeModel* model() const { return model_; } model_ 336 ui/views/controls/tree/tree_view.h ui::TreeModel* model_; model_ 41 ui/views/controls/tree/tree_view_unittest.cc TreeViewTest() : model_(new TestNode) { model_ 42 ui/views/controls/tree/tree_view_unittest.cc static_cast<TestNode*>(model_.GetRoot())->SetTitle(ASCIIToUTF16("root")); model_ 43 ui/views/controls/tree/tree_view_unittest.cc Add(model_.GetRoot(), 0, "a"); model_ 44 ui/views/controls/tree/tree_view_unittest.cc Add(Add(model_.GetRoot(), 1, "b"), 0, "b1"); model_ 45 ui/views/controls/tree/tree_view_unittest.cc Add(model_.GetRoot(), 2, "c"); model_ 67 ui/views/controls/tree/tree_view_unittest.cc ui::TreeNodeModel<TestNode > model_; model_ 83 ui/views/controls/tree/tree_view_unittest.cc model_.Add(parent, new_node, index); model_ 104 ui/views/controls/tree/tree_view_unittest.cc return GetNodeByTitleImpl(model_.GetRoot(), ASCIIToUTF16(title)); model_ 153 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 161 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 180 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 189 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 198 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 213 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 216 ui/views/controls/tree/tree_view_unittest.cc Add(model_.GetRoot(), 2, "B"); model_ 245 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 256 ui/views/controls/tree/tree_view_unittest.cc delete model_.Remove(GetNodeByTitle("b1")->parent(), GetNodeByTitle("b1")); model_ 262 ui/views/controls/tree/tree_view_unittest.cc delete model_.Remove(GetNodeByTitle("b")->parent(), GetNodeByTitle("b")); model_ 268 ui/views/controls/tree/tree_view_unittest.cc delete model_.Remove(GetNodeByTitle("c11")->parent(), GetNodeByTitle("c11")); model_ 276 ui/views/controls/tree/tree_view_unittest.cc delete model_.Remove(GetNodeByTitle("c")->parent(), GetNodeByTitle("c")); model_ 286 ui/views/controls/tree/tree_view_unittest.cc delete model_.Remove(GetNodeByTitle("b")->parent(), GetNodeByTitle("b")); model_ 296 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 299 ui/views/controls/tree/tree_view_unittest.cc model_.SetTitle(GetNodeByTitle("c11"), ASCIIToUTF16("c11.new")); model_ 305 ui/views/controls/tree/tree_view_unittest.cc model_.SetTitle(GetNodeByTitle("b1"), ASCIIToUTF16("b1.new")); model_ 311 ui/views/controls/tree/tree_view_unittest.cc model_.SetTitle(GetNodeByTitle("b"), ASCIIToUTF16("b.new")); model_ 319 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 343 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 368 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 393 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 394 ui/views/controls/tree/tree_view_unittest.cc tree_.ExpandAll(model_.GetRoot()); model_ 413 ui/views/controls/tree/tree_view_unittest.cc tree_.SetModel(&model_); model_ 34 ui/views/examples/tree_view_example.cc model_.GetRoot()->Add(colors_node, 0); model_ 40 ui/views/examples/tree_view_example.cc model_.GetRoot()->Add(sheep_node, 0); model_ 47 ui/views/examples/tree_view_example.cc tree_view_->SetModel(&model_); model_ 84 ui/views/examples/tree_view_example.cc selected_node = model_.GetRoot(); model_ 86 ui/views/examples/tree_view_example.cc model_.Add(selected_node, new_node, selected_node->child_count()); model_ 92 ui/views/examples/tree_view_example.cc tree_view_->GetSelectedNode() != model_.GetRoot(); model_ 102 ui/views/examples/tree_view_example.cc DCHECK_NE(model_.GetRoot(), selected_node); model_ 103 ui/views/examples/tree_view_example.cc model_.Remove(selected_node->parent(), selected_node); model_ 106 ui/views/examples/tree_view_example.cc model_.SetTitle(selected_node, model_ 115 ui/views/examples/tree_view_example.cc remove_->SetEnabled(node != model_.GetRoot()); model_ 163 ui/views/examples/tree_view_example.cc model_.Remove(selected_node->parent(), selected_node); model_ 80 ui/views/examples/tree_view_example.h ui::TreeNodeModel<NodeType> model_;