model 32 ash/shelf/app_list_shelf_item_delegate.cc ShelfModel* model = Shell::GetInstance()->shelf_model(); model 33 ash/shelf/app_list_shelf_item_delegate.cc DCHECK(model); model 34 ash/shelf/app_list_shelf_item_delegate.cc return model->status() == ShelfModel::STATUS_LOADING ? model 110 ash/shelf/shelf.cc const ShelfItem& item = shelf_view_->model()->items()[index]; model 119 ash/shelf/shelf.cc *(shelf_view_->model()), direction); model 157 ash/shelf/shelf.cc ShelfModel* shelf_model = shelf_view_->model(); model 50 ash/shelf/shelf.h Shelf(ShelfModel* model, ShelfDelegate* delegate, ShelfWidget* widget); model 15 ash/shelf/shelf_item_delegate_manager.cc ShelfItemDelegateManager::ShelfItemDelegateManager(ShelfModel* model) model 16 ash/shelf/shelf_item_delegate_manager.cc : model_(model) { model 31 ash/shelf/shelf_item_delegate_manager.h explicit ShelfItemDelegateManager(ShelfModel* model); model 24 ash/shelf/shelf_navigator.cc int GetNextActivatedItemIndex(const ShelfModel& model, model 26 ash/shelf/shelf_navigator.cc const ShelfItems& items = model.items(); model 27 ash/shelf/shelf_navigator.cc int item_count = model.item_count(); model 18 ash/shelf/shelf_navigator.h ASH_EXPORT int GetNextActivatedItemIndex(const ShelfModel& model, model 98 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(4, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 102 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(5, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 114 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(3, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 118 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(4, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 130 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(3, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 142 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(2, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 147 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 148 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 157 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 158 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 167 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 168 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(-1, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 179 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(2, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 180 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(2, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 191 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(1, GetNextActivatedItemIndex(model(), CYCLE_FORWARD)); model 192 ash/shelf/shelf_navigator_unittest.cc EXPECT_EQ(1, GetNextActivatedItemIndex(model(), CYCLE_BACKWARD)); model 50 ash/shelf/shelf_unittest.cc shelf_model_ = shelf_view_->model(); model 378 ash/shelf/shelf_view.cc ShelfView::ShelfView(ShelfModel* model, model 381 ash/shelf/shelf_view.cc : model_(model), model 60 ash/shelf/shelf_view.h ShelfView(ShelfModel* model, model 69 ash/shelf/shelf_view.h ShelfModel* model() { return model_; } model 205 ash/shelf/shelf_view_unittest.cc explicit TestShelfDelegateForShelfView(ShelfModel* model) model 206 ash/shelf/shelf_view_unittest.cc : model_(model) {} model 107 ash/shelf/shelf_window_watcher.cc ShelfModel* model, model 109 ash/shelf/shelf_window_watcher.cc : model_(model), model 38 ash/shelf/shelf_window_watcher.h ShelfWindowWatcher(ShelfModel* model, model 19 ash/shelf/shelf_window_watcher_item_delegate.cc aura::Window* window, ShelfModel* model) model 21 ash/shelf/shelf_window_watcher_item_delegate.cc model_(model) { model 135 ash/shell/shell_delegate_impl.cc ShelfDelegate* ShellDelegateImpl::CreateShelfDelegate(ShelfModel* model) { model 53 ash/shell/shell_delegate_impl.h virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; model 99 ash/shell/window_watcher.cc ShelfModel* model = Shell::GetInstance()->shelf_model(); model 104 ash/shell/window_watcher.cc ash::ShelfID id = model->next_id(); model 117 ash/shell/window_watcher.cc model->Add(item); model 131 ash/shell/window_watcher.cc ShelfModel* model = Shell::GetInstance()->shelf_model(); model 132 ash/shell/window_watcher.cc int index = model->ItemIndexByID(i->first); model 134 ash/shell/window_watcher.cc model->RemoveItemAt(index); model 118 ash/shell_delegate.h virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0; model 22 ash/test/test_shelf_delegate.cc TestShelfDelegate::TestShelfDelegate(ShelfModel* model) model 23 ash/test/test_shelf_delegate.cc : model_(model) { model 25 ash/test/test_shelf_delegate.h explicit TestShelfDelegate(ShelfModel* model); model 115 ash/test/test_shell_delegate.cc ShelfDelegate* TestShellDelegate::CreateShelfDelegate(ShelfModel* model) { model 116 ash/test/test_shell_delegate.cc return new TestShelfDelegate(model); model 49 ash/test/test_shell_delegate.h virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) OVERRIDE; model 217 ash/wm/panels/panel_layout_manager_unittest.cc ShelfModel* model = test::ShellTestApi(Shell::GetInstance()).shelf_model(); model 218 ash/wm/panels/panel_layout_manager_unittest.cc int index = model->ItemIndexByID(GetShelfIDForWindow(window)); model 43 base/android/build_info.h const char* model() const { model 67 base/atomicops_internals_x86_gcc.cc int model = (eax >> 4) & 0xf; model 70 base/atomicops_internals_x86_gcc.cc model += ((eax >> 16) & 0xf) << 4; model 80 base/atomicops_internals_x86_gcc.cc 32 <= model && model <= 63) { model 36 base/cpu.h int model() const { return model_; } model 354 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkModelLoaded(BookmarkModel* model, model 359 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkModelBeingDeleted(BookmarkModel* model) { model 370 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkNodeMoved(BookmarkModel* model, model 391 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkNodeAdded(BookmarkModel* model, model 408 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkNodeRemoved(BookmarkModel* model, model 427 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkNodeChanged(BookmarkModel* model, model 442 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::BookmarkNodeChildrenReordered(BookmarkModel* model, model 457 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::ExtensiveBookmarkChangesBeginning(BookmarkModel* model) { model 468 chrome/browser/android/bookmarks/bookmarks_bridge.cc void BookmarksBridge::ExtensiveBookmarkChangesEnded(BookmarkModel* model) { model 79 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 81 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 82 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 87 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 90 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 94 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 96 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 98 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 99 chrome/browser/android/bookmarks/bookmarks_bridge.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 125 chrome/browser/android/dev_tools_server.cc TabModel* model; model 127 chrome/browser/android/dev_tools_server.cc if (!FindTab(&model, &index)) model 129 chrome/browser/android/dev_tools_server.cc WebContents* web_contents = model->GetWebContentsAt(index); model 136 chrome/browser/android/dev_tools_server.cc TabModel* model; model 138 chrome/browser/android/dev_tools_server.cc if (!FindTab(&model, &index)) model 140 chrome/browser/android/dev_tools_server.cc WebContents* web_contents = model->GetWebContentsAt(index); model 143 chrome/browser/android/dev_tools_server.cc TabAndroid* tab = model->GetTabAt(index); model 145 chrome/browser/android/dev_tools_server.cc web_contents = model->GetWebContentsAt(index); model 154 chrome/browser/android/dev_tools_server.cc TabModel* model; model 156 chrome/browser/android/dev_tools_server.cc if (!FindTab(&model, &index)) model 158 chrome/browser/android/dev_tools_server.cc model->SetActiveIndex(index); model 163 chrome/browser/android/dev_tools_server.cc TabModel* model; model 165 chrome/browser/android/dev_tools_server.cc if (!FindTab(&model, &index)) model 167 chrome/browser/android/dev_tools_server.cc model->CloseTabAt(index); model 185 chrome/browser/android/dev_tools_server.cc TabModel* model = *iter; model 186 chrome/browser/android/dev_tools_server.cc for (int i = 0; i < model->GetTabCount(); ++i) { model 187 chrome/browser/android/dev_tools_server.cc TabAndroid* tab = model->GetTabAt(i); model 189 chrome/browser/android/dev_tools_server.cc *model_result = model; model 319 chrome/browser/android/dev_tools_server.cc TabModel* model = *iter; model 320 chrome/browser/android/dev_tools_server.cc for (int i = 0; i < model->GetTabCount(); ++i) { model 321 chrome/browser/android/dev_tools_server.cc TabAndroid* tab = model->GetTabAt(i); model 322 chrome/browser/android/dev_tools_server.cc WebContents* web_contents = model->GetWebContentsAt(i); model 12 chrome/browser/android/provider/bookmark_model_observer_task.cc BookmarkModelTask::BookmarkModelTask(BookmarkModel* model) model 13 chrome/browser/android/provider/bookmark_model_observer_task.cc : model_(model) { model 27 chrome/browser/android/provider/bookmark_model_observer_task.cc model()->AddObserver(this); model 31 chrome/browser/android/provider/bookmark_model_observer_task.cc model()->RemoveObserver(this); model 34 chrome/browser/android/provider/bookmark_model_observer_task.cc void BookmarkModelObserverTask::BookmarkModelLoaded(BookmarkModel* model, model 38 chrome/browser/android/provider/bookmark_model_observer_task.cc BookmarkModel* model, model 45 chrome/browser/android/provider/bookmark_model_observer_task.cc void BookmarkModelObserverTask::BookmarkNodeAdded(BookmarkModel* model, model 50 chrome/browser/android/provider/bookmark_model_observer_task.cc void BookmarkModelObserverTask::BookmarkNodeRemoved(BookmarkModel* model, model 56 chrome/browser/android/provider/bookmark_model_observer_task.cc void BookmarkModelObserverTask::BookmarkAllNodesRemoved(BookmarkModel* model) {} model 58 chrome/browser/android/provider/bookmark_model_observer_task.cc void BookmarkModelObserverTask::BookmarkNodeChanged(BookmarkModel* model, model 62 chrome/browser/android/provider/bookmark_model_observer_task.cc BookmarkModel* model, model 67 chrome/browser/android/provider/bookmark_model_observer_task.cc BookmarkModel* model, model 17 chrome/browser/android/provider/bookmark_model_observer_task.h explicit BookmarkModelTask(BookmarkModel* model); model 18 chrome/browser/android/provider/bookmark_model_observer_task.h BookmarkModel* model() const; model 34 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 36 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 41 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 44 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 48 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 49 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 51 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 53 chrome/browser/android/provider/bookmark_model_observer_task.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 195 chrome/browser/android/provider/chrome_browser_provider.cc explicit AddBookmarkTask(BookmarkModel* model) : BookmarkModelTask(model) {} model 204 chrome/browser/android/provider/chrome_browser_provider.cc model(), title, url, is_folder, parent_id, &result)); model 208 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 219 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* node = model->GetMostRecentlyAddedNodeForURL(gurl); model 223 chrome/browser/android/provider/chrome_browser_provider.cc parent_node = model->GetNodeByID(parent_id); model 225 chrome/browser/android/provider/chrome_browser_provider.cc parent_node = model->bookmark_bar_node(); model 228 chrome/browser/android/provider/chrome_browser_provider.cc node = model->AddFolder(parent_node, parent_node->child_count(), title); model 230 chrome/browser/android/provider/chrome_browser_provider.cc node = model->AddURL(parent_node, 0, title, gurl); model 243 chrome/browser/android/provider/chrome_browser_provider.cc explicit RemoveBookmarkTask(BookmarkModel* model) model 244 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelObserverTask(model), model 252 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveBookmarkTask::RunOnUIThread, model(), id)); model 256 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, const int64 id) { model 258 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* node = model->GetNodeByID(id); model 261 chrome/browser/android/provider/chrome_browser_provider.cc model->Remove(parent_node, parent_node->GetIndexOf(node)); model 270 chrome/browser/android/provider/chrome_browser_provider.cc if (bookmark_model == model() && node->id() == id_to_delete_) model 284 chrome/browser/android/provider/chrome_browser_provider.cc explicit RemoveAllBookmarksTask(BookmarkModel* model) model 285 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelObserverTask(model) {} model 291 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&RemoveAllBookmarksTask::RunOnUIThread, model())); model 294 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model) { model 296 chrome/browser/android/provider/chrome_browser_provider.cc model->RemoveAll(); model 306 chrome/browser/android/provider/chrome_browser_provider.cc explicit UpdateBookmarkTask(BookmarkModel* model) model 307 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelObserverTask(model), model 319 chrome/browser/android/provider/chrome_browser_provider.cc model(), id, title, url, parent_id)); model 323 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 329 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* node = model->GetNodeByID(id); model 332 chrome/browser/android/provider/chrome_browser_provider.cc model->SetTitle(node, title); model 337 chrome/browser/android/provider/chrome_browser_provider.cc model->SetURL(node, bookmark_url); model 342 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* new_parent = model->GetNodeByID(parent_id); model 345 chrome/browser/android/provider/chrome_browser_provider.cc model->Move(node, new_parent, 0); model 353 chrome/browser/android/provider/chrome_browser_provider.cc if (bookmark_model == model() && node->id() == id_to_update_) model 367 chrome/browser/android/provider/chrome_browser_provider.cc explicit BookmarkNodeExistsTask(BookmarkModel* model) model 368 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) { model 375 chrome/browser/android/provider/chrome_browser_provider.cc model(), id, &result)); model 379 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 384 chrome/browser/android/provider/chrome_browser_provider.cc *result = model->GetNodeByID(id) != NULL; model 394 chrome/browser/android/provider/chrome_browser_provider.cc explicit IsInMobileBookmarksBranchTask(BookmarkModel* model) model 395 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) {} model 401 chrome/browser/android/provider/chrome_browser_provider.cc model(), id, &result)); model 405 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 410 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* node = model->GetNodeByID(id); model 411 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* mobile_node = model->mobile_node(); model 427 chrome/browser/android/provider/chrome_browser_provider.cc explicit CreateBookmarksFolderOnceTask(BookmarkModel* model) model 428 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) {} model 434 chrome/browser/android/provider/chrome_browser_provider.cc model(), title, parent_id, &result)); model 438 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 447 chrome/browser/android/provider/chrome_browser_provider.cc model->GetNodeByID(parent_id) : model->mobile_node(); model 451 chrome/browser/android/provider/chrome_browser_provider.cc IsInMobileBookmarksBranchTask::RunOnUIThread(model, parent->id(), model 465 chrome/browser/android/provider/chrome_browser_provider.cc AddBookmarkTask::RunOnUIThread(model, title, base::string16(), true, model 476 chrome/browser/android/provider/chrome_browser_provider.cc explicit GetAllBookmarkFoldersTask(BookmarkModel* model) model 477 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) { model 482 chrome/browser/android/provider/chrome_browser_provider.cc base::Bind(&GetAllBookmarkFoldersTask::RunOnUIThread, model(), jroot)); model 485 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 488 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* root = model->root_node(); model 532 chrome/browser/android/provider/chrome_browser_provider.cc explicit GetBookmarkNodeTask(BookmarkModel* model) model 533 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) { model 542 chrome/browser/android/provider/chrome_browser_provider.cc model(), id, get_parent, get_children, jnode)); model 545 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, model 551 chrome/browser/android/provider/chrome_browser_provider.cc const BookmarkNode* node = model->GetNodeByID(id); model 593 chrome/browser/android/provider/chrome_browser_provider.cc explicit GetMobileBookmarksNodeTask(BookmarkModel* model) model 594 chrome/browser/android/provider/chrome_browser_provider.cc : BookmarkModelTask(model) {} model 600 chrome/browser/android/provider/chrome_browser_provider.cc model(), &result)); model 604 chrome/browser/android/provider/chrome_browser_provider.cc static void RunOnUIThread(BookmarkModel* model, const BookmarkNode** result) { model 607 chrome/browser/android/provider/chrome_browser_provider.cc *result = model->mobile_node(); model 1087 chrome/browser/android/provider/chrome_browser_provider.cc BookmarkModel* model) { model 1126 chrome/browser/android/provider/chrome_browser_provider.cc IsInMobileBookmarksBranchTask task(model); model 1582 chrome/browser/android/provider/chrome_browser_provider.cc BookmarkModel* model) { model 1587 chrome/browser/android/provider/chrome_browser_provider.cc BookmarkModel* model) { model 179 chrome/browser/android/provider/chrome_browser_provider.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 180 chrome/browser/android/provider/chrome_browser_provider.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 199 chrome/browser/android/signin/signin_manager_android.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile_); model 200 chrome/browser/android/signin/signin_manager_android.cc model->RemoveAll(); model 64 chrome/browser/autocomplete/autocomplete_browsertest.cc return GetLocationBar()->GetOmniboxView()->model()->popup_model()-> model 142 chrome/browser/autocomplete/autocomplete_browsertest.cc omnibox_view->model()->SetInputInProgress(true); model 322 chrome/browser/autocomplete/autocomplete_result_unittest.cc test_util_.model()->Add(new TemplateURL(test_util_.profile(), url_data)); model 367 chrome/browser/autocomplete/autocomplete_result_unittest.cc test_util_.model()->Add(new TemplateURL(test_util_.profile(), url_data)); model 71 chrome/browser/autocomplete/keyword_provider.cc TemplateURLService* model) model 73 chrome/browser/autocomplete/keyword_provider.cc model_(model), model 143 chrome/browser/autocomplete/keyword_provider.cc TemplateURLService* model, model 152 chrome/browser/autocomplete/keyword_provider.cc DCHECK(model); model 153 chrome/browser/autocomplete/keyword_provider.cc const TemplateURL* template_url = model->GetTemplateURLForKeyword(keyword); model 527 chrome/browser/autocomplete/keyword_provider.cc TemplateURLService* model = GetTemplateURLService(); model 548 chrome/browser/autocomplete/keyword_provider.cc model->GetTemplateURLForKeyword(keyword)); model 568 chrome/browser/autocomplete/keyword_provider.cc model->GetTemplateURLForKeyword(keyword); model 55 chrome/browser/autocomplete/keyword_provider.h TemplateURLService* model); model 79 chrome/browser/autocomplete/keyword_provider.h TemplateURLService* model, model 236 chrome/browser/autocomplete/search_provider.cc TemplateURLService* model = providers_.template_url_service(); model 237 chrome/browser/autocomplete/search_provider.cc DCHECK(model); model 238 chrome/browser/autocomplete/search_provider.cc model->Load(); model 251 chrome/browser/autocomplete/search_provider.cc KeywordProvider::GetSubstitutingTemplateURLForInput(model, model 258 chrome/browser/autocomplete/search_provider.cc const TemplateURL* default_provider = model->GetDefaultSearchProvider(); model 75 chrome/browser/background/background_application_list_model.cc Application(BackgroundApplicationListModel* model, model 148 chrome/browser/background/background_application_list_model.cc BackgroundApplicationListModel* model, model 150 chrome/browser/background/background_application_list_model.cc : extension_(extension), model_(model) {} model 175 chrome/browser/background/background_application_list_model_unittest.cc scoped_ptr<BackgroundApplicationListModel> model( model 177 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 186 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 192 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 196 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 200 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 204 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 208 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 214 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 218 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 222 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 226 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 230 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 243 chrome/browser/background/background_application_list_model_unittest.cc scoped_ptr<BackgroundApplicationListModel> model( model 245 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 258 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 264 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 268 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 272 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 276 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 281 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 285 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(3U, model->size()); model 291 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(3U, model->size()); model 295 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 299 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 303 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 317 chrome/browser/background/background_application_list_model_unittest.cc scoped_ptr<BackgroundApplicationListModel> model( model 319 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 327 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 333 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 337 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 343 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(2U, model->size()); model 347 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 351 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 355 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(1U, model->size()); model 363 chrome/browser/background/background_application_list_model_unittest.cc BackgroundApplicationListModel* model, model 381 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(*expected, model->size()); model 386 chrome/browser/background/background_application_list_model_unittest.cc BackgroundApplicationListModel* model, model 395 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 414 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(*expected, model->size()); model 420 chrome/browser/background/background_application_list_model_unittest.cc BackgroundApplicationListModel* model, model 429 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 445 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(*expected, model->size()); model 451 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(*expected, model->size()); model 467 chrome/browser/background/background_application_list_model_unittest.cc scoped_ptr<BackgroundApplicationListModel> model( model 469 chrome/browser/background/background_application_list_model_unittest.cc ASSERT_EQ(0U, model->size()); model 479 chrome/browser/background/background_application_list_model_unittest.cc AddExtension(service, &extensions, model.get(), &expected, &count); model 482 chrome/browser/background/background_application_list_model_unittest.cc RemoveExtension(service, &extensions, model.get(), &expected, &count); model 485 chrome/browser/background/background_application_list_model_unittest.cc TogglePermission(service, &extensions, model.get(), &expected, &count); model 63 chrome/browser/background/background_mode_manager_unittest.cc bool IsCommandEnabled(ui::MenuModel* model, int id) const { model 65 chrome/browser/background/background_mode_manager_unittest.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 66 chrome/browser/background/background_mode_manager_unittest.cc return model->IsEnabledAt(index); model 7 chrome/browser/bookmarks/base_bookmark_model_observer.cc void BaseBookmarkModelObserver::BookmarkModelLoaded(BookmarkModel* model, model 11 chrome/browser/bookmarks/base_bookmark_model_observer.cc BookmarkModel* model) { model 16 chrome/browser/bookmarks/base_bookmark_model_observer.cc BookmarkModel* model, model 24 chrome/browser/bookmarks/base_bookmark_model_observer.cc void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model, model 30 chrome/browser/bookmarks/base_bookmark_model_observer.cc void BaseBookmarkModelObserver::BookmarkNodeRemoved(BookmarkModel* model, model 37 chrome/browser/bookmarks/base_bookmark_model_observer.cc void BaseBookmarkModelObserver::BookmarkAllNodesRemoved(BookmarkModel* model) { model 41 chrome/browser/bookmarks/base_bookmark_model_observer.cc void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel* model, model 47 chrome/browser/bookmarks/base_bookmark_model_observer.cc BookmarkModel* model, model 52 chrome/browser/bookmarks/base_bookmark_model_observer.cc BookmarkModel* model, model 21 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 23 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 24 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 29 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 32 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 36 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 37 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 39 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 41 chrome/browser/bookmarks/base_bookmark_model_observer.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 52 chrome/browser/bookmarks/bookmark_codec.cc base::Value* BookmarkCodec::Encode(BookmarkModel* model) { model 53 chrome/browser/bookmarks/bookmark_codec.cc return Encode(model->bookmark_bar_node(), model 54 chrome/browser/bookmarks/bookmark_codec.cc model->other_node(), model 55 chrome/browser/bookmarks/bookmark_codec.cc model->mobile_node(), model 56 chrome/browser/bookmarks/bookmark_codec.cc model->root_node()->GetMetaInfoMap(), model 57 chrome/browser/bookmarks/bookmark_codec.cc model->root_node()->sync_transaction_version()); model 41 chrome/browser/bookmarks/bookmark_codec.h base::Value* Encode(BookmarkModel* model); model 76 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL)); model 77 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); model 78 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); model 79 chrome/browser/bookmarks/bookmark_codec_unittest.cc return model.release(); model 82 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL)); model 83 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); model 84 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); model 85 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->AddURL(bookmark_bar, 1, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); model 86 chrome/browser/bookmarks/bookmark_codec_unittest.cc return model.release(); model 89 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL)); model 90 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); model 91 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); model 92 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* folder1 = model->AddFolder(bookmark_bar, 1, model 94 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->AddURL(folder1, 0, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); model 95 chrome/browser/bookmarks/bookmark_codec_unittest.cc return model.release(); model 131 chrome/browser/bookmarks/bookmark_codec_unittest.cc base::Value* EncodeHelper(BookmarkModel* model, std::string* checksum) { model 137 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(encoder.Encode(model)); model 151 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkModel* model, model 154 chrome/browser/bookmarks/bookmark_codec_unittest.cc bool result = codec->Decode(AsMutable(model->bookmark_bar_node()), model 155 chrome/browser/bookmarks/bookmark_codec_unittest.cc AsMutable(model->other_node()), model 156 chrome/browser/bookmarks/bookmark_codec_unittest.cc AsMutable(model->mobile_node()), model 158 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->set_next_node_id(max_id); model 159 chrome/browser/bookmarks/bookmark_codec_unittest.cc AsMutable(model->root_node())-> model 161 chrome/browser/bookmarks/bookmark_codec_unittest.cc AsMutable(model->root_node())-> model 176 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(new BookmarkModel(NULL)); model 177 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_TRUE(Decode(&decoder, model.get(), value)); model 196 chrome/browser/bookmarks/bookmark_codec_unittest.cc return model.release(); model 208 chrome/browser/bookmarks/bookmark_codec_unittest.cc void ExpectIDsUnique(BookmarkModel* model) { model 210 chrome/browser/bookmarks/bookmark_codec_unittest.cc CheckIDs(model->bookmark_bar_node(), &assigned_ids); model 211 chrome/browser/bookmarks/bookmark_codec_unittest.cc CheckIDs(model->other_node(), &assigned_ids); model 212 chrome/browser/bookmarks/bookmark_codec_unittest.cc CheckIDs(model->mobile_node(), &assigned_ids); model 384 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(CreateTestModel1()); model 385 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->SetNodeMetaInfo(model->root_node(), "model_info", "value1"); model 386 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->SetNodeMetaInfo(model->bookmark_bar_node()->GetChild(0), model 389 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(EncodeHelper(model.get(), &checksum)); model 393 chrome/browser/bookmarks/bookmark_codec_unittest.cc model.reset(DecodeHelper(*value, checksum, &checksum, false)); model 395 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_TRUE(model->root_node()->GetMetaInfo("model_info", &meta_value)); model 397 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_FALSE(model->root_node()->GetMetaInfo("other_key", &meta_value)); model 398 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bbn = model->bookmark_bar_node(); model 408 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<BookmarkModel> model(CreateTestModel2()); model 409 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->SetNodeSyncTransactionVersion(model->root_node(), 1); model 410 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bbn = model->bookmark_bar_node(); model 411 chrome/browser/bookmarks/bookmark_codec_unittest.cc model->SetNodeSyncTransactionVersion(bbn->GetChild(1), 42); model 414 chrome/browser/bookmarks/bookmark_codec_unittest.cc scoped_ptr<base::Value> value(EncodeHelper(model.get(), &checksum)); model 418 chrome/browser/bookmarks/bookmark_codec_unittest.cc model.reset(DecodeHelper(*value, checksum, &checksum, false)); model 419 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_EQ(1, model->root_node()->sync_transaction_version()); model 420 chrome/browser/bookmarks/bookmark_codec_unittest.cc bbn = model->bookmark_bar_node(); model 438 chrome/browser/bookmarks/bookmark_codec_unittest.cc BookmarkModel model(NULL); model 440 chrome/browser/bookmarks/bookmark_codec_unittest.cc ASSERT_TRUE(Decode(&decoder, &model, *root.get())); model 442 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_EQ(1, model.root_node()->sync_transaction_version()); model 443 chrome/browser/bookmarks/bookmark_codec_unittest.cc const BookmarkNode* bbn = model.bookmark_bar_node(); model 452 chrome/browser/bookmarks/bookmark_codec_unittest.cc EXPECT_FALSE(model.root_node()->GetMetaInfo(kSyncTransactionVersionKey, model 62 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc void BookmarkExpandedStateTracker::BookmarkModelLoaded(BookmarkModel* model, model 75 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc BookmarkModel* model) { model 76 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc model->RemoveObserver(this); model 80 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc BookmarkModel* model, model 92 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc BookmarkModel* model) { model 33 chrome/browser/bookmarks/bookmark_expanded_state_tracker.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 36 chrome/browser/bookmarks/bookmark_expanded_state_tracker.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 37 chrome/browser/bookmarks/bookmark_expanded_state_tracker.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 41 chrome/browser/bookmarks/bookmark_expanded_state_tracker.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 50 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc BookmarkModel* model = GetModel(); model 51 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc BookmarkExpandedStateTracker* tracker = model->expanded_state_tracker(); model 57 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc nodes.insert(model->bookmark_bar_node()); model 62 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc const BookmarkNode* n1 = model->AddFolder(model->bookmark_bar_node(), 0, model 69 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc model->Remove(model->bookmark_bar_node(), 0); model 76 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc BookmarkModel* model = GetModel(); model 77 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc BookmarkExpandedStateTracker* tracker = model->expanded_state_tracker(); model 81 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc model->AddFolder(model->bookmark_bar_node(), 0, base::ASCIIToUTF16("x")); model 88 chrome/browser/bookmarks/bookmark_expanded_state_tracker_unittest.cc model->RemoveAll(); model 155 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(&profile); model 156 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc test::WaitForBookmarkModelToLoad(model); model 200 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const BookmarkNode* f1 = model->AddFolder( model 201 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->bookmark_bar_node(), 0, f1_title); model 202 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(f1, 0, url1_title, url1, t1); model 209 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const BookmarkNode* f2 = model->AddFolder(f1, 1, f2_title); model 210 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(f2, 0, url2_title, url2, t2); model 211 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->bookmark_bar_node(), model 214 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->other_node(), 0, url1_title, url1, t1); model 215 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->other_node(), 1, url2_title, url2, t2); model 216 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title); model 217 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc const BookmarkNode* f4 = model->AddFolder(f3, 0, f4_title); model 218 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(f4, 0, url1_title, url1, t1); model 219 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->bookmark_bar_node(), 2, url4_title, model 221 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->mobile_node(), 0, url1_title, url1, t1); model 222 chrome/browser/bookmarks/bookmark_html_writer_unittest.cc model->AddURLWithCreationTime(model->mobile_node(), 1, unnamed_bookmark_title, model 275 chrome/browser/bookmarks/bookmark_index_unittest.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(&profile); model 276 chrome/browser/bookmarks/bookmark_index_unittest.cc test::WaitForBookmarkModelToLoad(model); model 301 chrome/browser/bookmarks/bookmark_index_unittest.cc model->AddURL(model->other_node(), i, base::UTF8ToUTF16(data[i].title), model 324 chrome/browser/bookmarks/bookmark_index_unittest.cc model->GetBookmarksWithTitlesMatching(ASCIIToUTF16("google"), 4, &matches); model 339 chrome/browser/bookmarks/bookmark_index_unittest.cc model->GetBookmarksWithTitlesMatching(ASCIIToUTF16("google"), 2, &matches); model 16 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 20 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) {} model 23 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 30 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 38 chrome/browser/bookmarks/bookmark_model_observer.h virtual void OnWillRemoveBookmarks(BookmarkModel* model, model 48 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 54 chrome/browser/bookmarks/bookmark_model_observer.h virtual void OnWillChangeBookmarkNode(BookmarkModel* model, model 58 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 62 chrome/browser/bookmarks/bookmark_model_observer.h virtual void OnWillChangeBookmarkMetaInfo(BookmarkModel* model, model 66 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkMetaInfoChanged(BookmarkModel* model, model 70 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 75 chrome/browser/bookmarks/bookmark_model_observer.h virtual void OnWillReorderBookmarkNode(BookmarkModel* model, model 80 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 89 chrome/browser/bookmarks/bookmark_model_observer.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) {} model 94 chrome/browser/bookmarks/bookmark_model_observer.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) {} model 97 chrome/browser/bookmarks/bookmark_model_observer.h virtual void OnWillRemoveAllBookmarks(BookmarkModel* model) {} model 100 chrome/browser/bookmarks/bookmark_model_observer.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) = 0; model 105 chrome/browser/bookmarks/bookmark_model_observer.h virtual void GroupedBookmarkChangesBeginning(BookmarkModel* model) {} model 109 chrome/browser/bookmarks/bookmark_model_observer.h virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {} model 149 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkModelLoaded(BookmarkModel* model, model 155 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkNodeMoved(BookmarkModel* model, model 164 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkNodeAdded(BookmarkModel* model, model 171 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void OnWillRemoveBookmarks(BookmarkModel* model, model 178 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkNodeRemoved(BookmarkModel* model, model 186 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkNodeChanged(BookmarkModel* model, model 192 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void OnWillChangeBookmarkNode(BookmarkModel* model, model 198 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkModel* model, model 203 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void OnWillReorderBookmarkNode(BookmarkModel* model, model 208 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 215 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkModel* model) OVERRIDE { model 219 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE { model 223 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE { model 227 chrome/browser/bookmarks/bookmark_model_unittest.cc virtual void OnWillRemoveAllBookmarks(BookmarkModel* model) OVERRIDE { model 852 chrome/browser/bookmarks/bookmark_model_unittest.cc BookmarkModel* model, model 858 chrome/browser/bookmarks/bookmark_model_unittest.cc model->AddFolder(bb_node, i, child->GetTitle()); model 859 chrome/browser/bookmarks/bookmark_model_unittest.cc PopulateBookmarkNode(child, model, new_bb_node); model 861 chrome/browser/bookmarks/bookmark_model_unittest.cc model->AddURL(bb_node, i, child->GetTitle(), model 900 chrome/browser/bookmarks/bookmark_model_unittest.cc void VerifyNoDuplicateIDs(BookmarkModel* model) { model 901 chrome/browser/bookmarks/bookmark_model_unittest.cc ui::TreeNodeIterator<const BookmarkNode> it(model->root_node()); model 95 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* root = model()->bookmark_bar_node(); model 98 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* node = model()->AddURL(root, 0, title, url); model 139 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* root = model()->bookmark_bar_node(); model 140 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* g1 = model()->AddFolder(root, 0, ASCIIToUTF16("g1")); model 141 chrome/browser/bookmarks/bookmark_node_data_unittest.cc model()->AddFolder(g1, 0, ASCIIToUTF16("g11")); model 142 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* g12 = model()->AddFolder(g1, 0, ASCIIToUTF16("g12")); model 178 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* root = model()->bookmark_bar_node(); model 179 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* folder = model()->AddFolder(root, 0, ASCIIToUTF16("g1")); model 184 chrome/browser/bookmarks/bookmark_node_data_unittest.cc model()->AddURL(folder, 0, title, url); model 214 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* root = model()->bookmark_bar_node(); model 215 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* folder = model()->AddFolder(root, 0, ASCIIToUTF16("g1")); model 220 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* url_node = model()->AddURL(folder, 0, title, url); model 264 chrome/browser/bookmarks/bookmark_node_data_unittest.cc const BookmarkNode* node = model()->AddURL(model()->other_node(), model 268 chrome/browser/bookmarks/bookmark_node_data_unittest.cc model()->SetNodeMetaInfo(node, "somekey", "somevalue"); model 269 chrome/browser/bookmarks/bookmark_node_data_unittest.cc model()->SetNodeMetaInfo(node, "someotherkey", "someothervalue"); model 120 chrome/browser/bookmarks/bookmark_storage.cc BookmarkModel* model, model 122 chrome/browser/bookmarks/bookmark_storage.cc : model_(model), model 121 chrome/browser/bookmarks/bookmark_storage.h BookmarkModel* model, model 32 chrome/browser/bookmarks/bookmark_test_helpers.cc virtual void BookmarkModelLoaded(BookmarkModel* model, model 47 chrome/browser/bookmarks/bookmark_test_helpers.cc void BookmarkLoadObserver::BookmarkModelLoaded(BookmarkModel* model, model 54 chrome/browser/bookmarks/bookmark_test_helpers.cc std::string::size_type AddNodesFromString(BookmarkModel* model, model 74 chrome/browser/bookmarks/bookmark_test_helpers.cc model->AddFolder(node, index, base::UTF8ToUTF16(node_name)); model 75 chrome/browser/bookmarks/bookmark_test_helpers.cc end_pos = AddNodesFromString(model, new_node, model_string, model 81 chrome/browser/bookmarks/bookmark_test_helpers.cc model->AddURL( model 100 chrome/browser/bookmarks/bookmark_test_helpers.cc void WaitForBookmarkModelToLoad(BookmarkModel* model) { model 101 chrome/browser/bookmarks/bookmark_test_helpers.cc if (model->loaded()) model 105 chrome/browser/bookmarks/bookmark_test_helpers.cc model->AddObserver(&observer); model 107 chrome/browser/bookmarks/bookmark_test_helpers.cc model->RemoveObserver(&observer); model 108 chrome/browser/bookmarks/bookmark_test_helpers.cc DCHECK(model->loaded()); model 132 chrome/browser/bookmarks/bookmark_test_helpers.cc void AddNodesFromModelString(BookmarkModel* model, model 138 chrome/browser/bookmarks/bookmark_test_helpers.cc AddNodesFromString(model, node, model_string, start_pos); model 17 chrome/browser/bookmarks/bookmark_test_helpers.h void WaitForBookmarkModelToLoad(BookmarkModel* model); model 42 chrome/browser/bookmarks/bookmark_test_helpers.h void AddNodesFromModelString(BookmarkModel* model, model 36 chrome/browser/bookmarks/bookmark_utils.cc void CloneBookmarkNodeImpl(BookmarkModel* model, model 44 chrome/browser/bookmarks/bookmark_utils.cc cloned_node = model->AddURL(parent, index_to_add_at, element.title, model 48 chrome/browser/bookmarks/bookmark_utils.cc cloned_node = model->AddURLWithCreationTime(parent, index_to_add_at, model 53 chrome/browser/bookmarks/bookmark_utils.cc cloned_node = model->AddFolder(parent, index_to_add_at, element.title); model 56 chrome/browser/bookmarks/bookmark_utils.cc model->SetDateFolderModified(cloned_node, element.date_folder_modified); model 59 chrome/browser/bookmarks/bookmark_utils.cc CloneBookmarkNodeImpl(model, element.children[i], cloned_node, i, model 62 chrome/browser/bookmarks/bookmark_utils.cc model->SetNodeMetaInfoMap(cloned_node, element.meta_info_map); model 104 chrome/browser/bookmarks/bookmark_utils.cc bool HasSelectedAncestor(BookmarkModel* model, model 107 chrome/browser/bookmarks/bookmark_utils.cc if (!node || model->is_permanent_node(node)) model 114 chrome/browser/bookmarks/bookmark_utils.cc return HasSelectedAncestor(model, selected_nodes, node->parent()); model 124 chrome/browser/bookmarks/bookmark_utils.cc void CloneBookmarkNode(BookmarkModel* model, model 129 chrome/browser/bookmarks/bookmark_utils.cc if (!parent->is_folder() || !model) { model 134 chrome/browser/bookmarks/bookmark_utils.cc CloneBookmarkNodeImpl(model, elements[i], parent, index_to_add_at + i, model 139 chrome/browser/bookmarks/bookmark_utils.cc void CopyToClipboard(BookmarkModel* model, model 148 chrome/browser/bookmarks/bookmark_utils.cc if (!HasSelectedAncestor(model, nodes, nodes[i]->parent())) model 156 chrome/browser/bookmarks/bookmark_utils.cc ScopedGroupBookmarkActions group_cut(model); model 161 chrome/browser/bookmarks/bookmark_utils.cc model->Remove(filtered_nodes[i]->parent(), index); model 166 chrome/browser/bookmarks/bookmark_utils.cc void PasteFromClipboard(BookmarkModel* model, model 179 chrome/browser/bookmarks/bookmark_utils.cc ScopedGroupBookmarkActions group_paste(model); model 181 chrome/browser/bookmarks/bookmark_utils.cc CloneBookmarkNode(model, bookmark_data.elements, parent, index, true); model 191 chrome/browser/bookmarks/bookmark_utils.cc BookmarkModel* model, model 194 chrome/browser/bookmarks/bookmark_utils.cc ui::TreeNodeIterator<const BookmarkNode> iterator(model->root_node(), model 219 chrome/browser/bookmarks/bookmark_utils.cc const BookmarkNode* root_node = model->root_node(); model 235 chrome/browser/bookmarks/bookmark_utils.cc void GetMostRecentlyAddedEntries(BookmarkModel* model, model 238 chrome/browser/bookmarks/bookmark_utils.cc ui::TreeNodeIterator<const BookmarkNode> iterator(model->root_node()); model 258 chrome/browser/bookmarks/bookmark_utils.cc void GetBookmarksMatchingProperties(BookmarkModel* model, model 272 chrome/browser/bookmarks/bookmark_utils.cc ui::TreeNodeIterator<const BookmarkNode> iterator(model->root_node()); model 277 chrome/browser/bookmarks/bookmark_utils.cc model->is_permanent_node(node)) { model 339 chrome/browser/bookmarks/bookmark_utils.cc void DeleteBookmarkFolders(BookmarkModel* model, model 346 chrome/browser/bookmarks/bookmark_utils.cc const BookmarkNode* node = model->GetNodeByID(*iter); model 350 chrome/browser/bookmarks/bookmark_utils.cc model->Remove(parent, parent->GetIndexOf(node)); model 354 chrome/browser/bookmarks/bookmark_utils.cc void AddIfNotBookmarked(BookmarkModel* model, model 358 chrome/browser/bookmarks/bookmark_utils.cc model->GetNodesByURL(url, &bookmarks); model 363 chrome/browser/bookmarks/bookmark_utils.cc const BookmarkNode* parent = model->GetParentForNewNodes(); model 364 chrome/browser/bookmarks/bookmark_utils.cc model->AddURL(parent, parent->child_count(), title, url); model 367 chrome/browser/bookmarks/bookmark_utils.cc void RemoveAllBookmarks(BookmarkModel* model, const GURL& url) { model 369 chrome/browser/bookmarks/bookmark_utils.cc model->GetNodesByURL(url, &bookmarks); model 376 chrome/browser/bookmarks/bookmark_utils.cc model->Remove(node->parent(), index); model 40 chrome/browser/bookmarks/bookmark_utils.h void CloneBookmarkNode(BookmarkModel* model, model 49 chrome/browser/bookmarks/bookmark_utils.h void CopyToClipboard(BookmarkModel* model, model 56 chrome/browser/bookmarks/bookmark_utils.h void PasteFromClipboard(BookmarkModel* model, model 66 chrome/browser/bookmarks/bookmark_utils.h BookmarkModel* model, size_t max_count); model 70 chrome/browser/bookmarks/bookmark_utils.h void GetMostRecentlyAddedEntries(BookmarkModel* model, model 81 chrome/browser/bookmarks/bookmark_utils.h void GetBookmarksMatchingProperties(BookmarkModel* model, model 100 chrome/browser/bookmarks/bookmark_utils.h void DeleteBookmarkFolders(BookmarkModel* model, const std::vector<int64>& ids); model 103 chrome/browser/bookmarks/bookmark_utils.h void AddIfNotBookmarked(BookmarkModel* model, model 108 chrome/browser/bookmarks/bookmark_utils.h void RemoveAllBookmarks(BookmarkModel* model, const GURL& url); model 55 chrome/browser/bookmarks/bookmark_utils_unittest.cc virtual void GroupedBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE { model 59 chrome/browser/bookmarks/bookmark_utils_unittest.cc virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) OVERRIDE { model 73 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 74 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node1 = model.AddURL(model.other_node(), model 78 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node2 = model.AddURL(model.other_node(), model 82 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* folder1 = model.AddFolder(model.other_node(), model 90 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 96 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 102 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 110 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 117 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 124 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 131 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 132 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node1 = model.AddURL(model.other_node(), model 136 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddURL(model.other_node(), model 141 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddFolder(model.other_node(), 0, ASCIIToUTF16("Folder")); model 147 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 153 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 159 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 166 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 167 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node1 = model.AddURL(model.other_node(), model 171 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddURL(model.other_node(), model 177 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddFolder(model.other_node(), 0, ASCIIToUTF16("Folder")); model 183 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 189 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 195 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 203 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 204 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node1 = model.AddURL(model.other_node(), model 208 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddURL(model.other_node(), model 213 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddFolder(model.other_node(), 0, ASCIIToUTF16("Folder")); model 222 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 233 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 244 chrome/browser/bookmarks/bookmark_utils_unittest.cc GetBookmarksMatchingProperties(&model, query, 100, string(), &nodes); model 252 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 253 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node = model.AddURL(model.other_node(), model 261 chrome/browser/bookmarks/bookmark_utils_unittest.cc CopyToClipboard(&model, nodes, false); model 264 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_TRUE(CanPasteFromClipboard(model.bookmark_bar_node())); model 275 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_FALSE(CanPasteFromClipboard(model.bookmark_bar_node())); model 279 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 280 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.AddObserver(this); model 284 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* n1 = model.AddURL(model.other_node(), 0, title, url); model 285 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* n2 = model.AddURL(model.other_node(), 1, title, url); model 291 chrome/browser/bookmarks/bookmark_utils_unittest.cc CopyToClipboard(&model, nodes, true); model 294 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_EQ(0, model.other_node()->child_count()); model 300 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_TRUE(CanPasteFromClipboard(model.other_node())); model 304 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 308 chrome/browser/bookmarks/bookmark_utils_unittest.cc nodes.push_back(model.bookmark_bar_node()); model 311 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.bookmark_bar_node(), nodes, &index); model 312 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_EQ(real_parent, model.bookmark_bar_node()); model 319 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), model 324 chrome/browser/bookmarks/bookmark_utils_unittest.cc real_parent = GetParentForNewNodes(model.bookmark_bar_node(), nodes, &index); model 325 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_EQ(real_parent, model.bookmark_bar_node()); model 329 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* folder1 = model.AddFolder(model.bookmark_bar_node(), 1, model 332 chrome/browser/bookmarks/bookmark_utils_unittest.cc real_parent = GetParentForNewNodes(model.bookmark_bar_node(), nodes, &index); model 333 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_EQ(real_parent, model.bookmark_bar_node()); model 338 chrome/browser/bookmarks/bookmark_utils_unittest.cc real_parent = GetParentForNewNodes(model.bookmark_bar_node(), nodes, &index); model 339 chrome/browser/bookmarks/bookmark_utils_unittest.cc EXPECT_EQ(real_parent, model.bookmark_bar_node()); model 345 chrome/browser/bookmarks/bookmark_utils_unittest.cc BookmarkModel model(NULL); model 347 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* node = model.AddURL(model.other_node(), model 351 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.SetNodeMetaInfo(node, "somekey", "somevalue"); model 352 chrome/browser/bookmarks/bookmark_utils_unittest.cc model.SetNodeMetaInfo(node, "someotherkey", "someothervalue"); model 355 chrome/browser/bookmarks/bookmark_utils_unittest.cc const BookmarkNode* folder = model.AddFolder(model.bookmark_bar_node(), 0, model 361 chrome/browser/bookmarks/bookmark_utils_unittest.cc CloneBookmarkNode(&model, elements, folder, 0, false); model 18 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc ScopedGroupBookmarkActions::ScopedGroupBookmarkActions(BookmarkModel* model) model 19 chrome/browser/bookmarks/scoped_group_bookmark_actions.cc : model_(model) { model 17 chrome/browser/bookmarks/scoped_group_bookmark_actions.h explicit ScopedGroupBookmarkActions(BookmarkModel* model); model 140 chrome/browser/browser_commands_unittest.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile()); model 141 chrome/browser/browser_commands_unittest.cc test::WaitForBookmarkModelToLoad(model); model 153 chrome/browser/browser_commands_unittest.cc EXPECT_TRUE(model->IsBookmarked(url1)); model 738 chrome/browser/browsing_data/browsing_data_remover.cc TemplateURLService* model = model 740 chrome/browser/browsing_data/browsing_data_remover.cc DCHECK_EQ(profile_, model->profile()); model 741 chrome/browser/browsing_data/browsing_data_remover.cc model->RemoveAutoGeneratedBetween(delete_begin_, delete_end_); model 522 chrome/browser/browsing_data/cookies_tree_model.cc CookieTreeRootNode::CookieTreeRootNode(CookiesTreeModel* model) model 523 chrome/browser/browsing_data/cookies_tree_model.cc : model_(model) { model 844 chrome/browser/browsing_data/cookies_tree_model.cc CookiesTreeModel* model, CookieTreeNode* node) model 845 chrome/browser/browsing_data/cookies_tree_model.cc : model_(model), node_(node), batch_in_progress_(false) { model 167 chrome/browser/browsing_data/cookies_tree_model.h explicit CookieTreeRootNode(CookiesTreeModel* model); model 602 chrome/browser/browsing_data/cookies_tree_model.h virtual void TreeModelBeginBatch(CookiesTreeModel* model) {} model 603 chrome/browser/browsing_data/cookies_tree_model.h virtual void TreeModelEndBatch(CookiesTreeModel* model) {} model 611 chrome/browser/browsing_data/cookies_tree_model.h ScopedBatchUpdateNotifier(CookiesTreeModel* model, model 44 chrome/browser/browsing_data/local_data_container.cc void LocalDataContainer::Init(CookiesTreeModel* model) { model 46 chrome/browser/browsing_data/local_data_container.cc model_ = model; model 218 chrome/browser/certificate_manager_model.cc scoped_ptr<CertificateManagerModel> model(new CertificateManagerModel( model 220 chrome/browser/certificate_manager_model.cc callback.Run(model.Pass()); model 295 chrome/browser/chromeos/memory/oom_priority_manager.cc TabStripModel* model = browser->tab_strip_model(); model 296 chrome/browser/chromeos/memory/oom_priority_manager.cc for (int idx = 0; idx < model->count(); idx++) { model 298 chrome/browser/chromeos/memory/oom_priority_manager.cc if (model->IsTabDiscarded(idx) || (model->active_index() == idx)) model 300 chrome/browser/chromeos/memory/oom_priority_manager.cc WebContents* web_contents = model->GetWebContentsAt(idx); model 308 chrome/browser/chromeos/memory/oom_priority_manager.cc model->DiscardWebContentsAt(idx); model 569 chrome/browser/chromeos/memory/oom_priority_manager.cc const TabStripModel* model = browser->tab_strip_model(); model 570 chrome/browser/chromeos/memory/oom_priority_manager.cc for (int i = 0; i < model->count(); i++) { model 571 chrome/browser/chromeos/memory/oom_priority_manager.cc WebContents* contents = model->GetWebContentsAt(i); model 578 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.is_pinned = model->IsTabPinned(i); model 579 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.is_selected = browser_active && model->IsTabSelected(i); model 580 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.is_discarded = model->IsTabDiscarded(i); model 53 chrome/browser/chromeos/options/wifi_config_view.cc ComboboxWithWidth(ui::ComboboxModel* model, int width) model 54 chrome/browser/chromeos/options/wifi_config_view.cc : Combobox(model), model 456 chrome/browser/chromeos/options/wifi_config_view.cc return phase_2_auth_combobox_->model()->GetItemCount() > 1; model 822 chrome/browser/chromeos/options/wifi_config_view.cc } else if (index == server_ca_cert_combobox_->model()->GetItemCount() - 1) { model 1278 chrome/browser/chromeos/options/wifi_config_view.cc server_ca_cert_combobox_->model()->GetItemCount() - 1); 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 1074 chrome/browser/devtools/devtools_adb_bridge.cc return device_->model(); model 46 chrome/browser/diagnostics/diagnostics_model.h virtual void OnTestFinished(int index, DiagnosticsModel* model) = 0; model 48 chrome/browser/diagnostics/diagnostics_model.h virtual void OnAllTestsDone(DiagnosticsModel* model) = 0; model 50 chrome/browser/diagnostics/diagnostics_model.h virtual void OnRecoveryFinished(int index, DiagnosticsModel* model) = 0; model 52 chrome/browser/diagnostics/diagnostics_model.h virtual void OnAllRecoveryDone(DiagnosticsModel* model) = 0; model 48 chrome/browser/diagnostics/diagnostics_model_unittest.cc virtual void OnTestFinished(int index, DiagnosticsModel* model) OVERRIDE { model 49 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_TRUE(model != NULL); model 52 chrome/browser/diagnostics/diagnostics_model_unittest.cc model->GetTest(index).GetResult()) model 56 chrome/browser/diagnostics/diagnostics_model_unittest.cc virtual void OnAllTestsDone(DiagnosticsModel* model) OVERRIDE { model 57 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_TRUE(model != NULL); model 61 chrome/browser/diagnostics/diagnostics_model_unittest.cc virtual void OnRecoveryFinished(int index, DiagnosticsModel* model) OVERRIDE { model 62 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_TRUE(model != NULL); model 65 chrome/browser/diagnostics/diagnostics_model_unittest.cc model->GetTest(index).GetResult()) model 69 chrome/browser/diagnostics/diagnostics_model_unittest.cc virtual void OnAllRecoveryDone(DiagnosticsModel* model) OVERRIDE { model 70 chrome/browser/diagnostics/diagnostics_model_unittest.cc EXPECT_TRUE(model != NULL); model 22 chrome/browser/diagnostics/diagnostics_test.cc DiagnosticsModel* model, model 28 chrome/browser/diagnostics/diagnostics_test.cc observer->OnTestFinished(index, model); model 33 chrome/browser/diagnostics/diagnostics_test.cc DiagnosticsModel* model, model 49 chrome/browser/diagnostics/diagnostics_test.cc observer->OnRecoveryFinished(index, model); model 36 chrome/browser/diagnostics/diagnostics_test.h bool Execute(DiagnosticsModel::Observer* observer, DiagnosticsModel* model, model 41 chrome/browser/diagnostics/diagnostics_test.h bool Recover(DiagnosticsModel::Observer* observer, DiagnosticsModel* model, model 225 chrome/browser/diagnostics/diagnostics_writer.cc void DiagnosticsWriter::OnTestFinished(int index, DiagnosticsModel* model) { model 226 chrome/browser/diagnostics/diagnostics_writer.cc const DiagnosticsModel::TestInfo& test_info = model->GetTest(index); model 235 chrome/browser/diagnostics/diagnostics_writer.cc void DiagnosticsWriter::OnAllTestsDone(DiagnosticsModel* model) { model 237 chrome/browser/diagnostics/diagnostics_writer.cc base::StringPrintf("Finished %d tests.", model->GetTestRunCount())); model 240 chrome/browser/diagnostics/diagnostics_writer.cc void DiagnosticsWriter::OnRecoveryFinished(int index, DiagnosticsModel* model) { model 241 chrome/browser/diagnostics/diagnostics_writer.cc const DiagnosticsModel::TestInfo& test_info = model->GetTest(index); model 245 chrome/browser/diagnostics/diagnostics_writer.cc void DiagnosticsWriter::OnAllRecoveryDone(DiagnosticsModel* model) { model 40 chrome/browser/diagnostics/diagnostics_writer.h virtual void OnTestFinished(int index, DiagnosticsModel* model) OVERRIDE; model 41 chrome/browser/diagnostics/diagnostics_writer.h virtual void OnAllTestsDone(DiagnosticsModel* model) OVERRIDE; model 42 chrome/browser/diagnostics/diagnostics_writer.h virtual void OnRecoveryFinished(int index, DiagnosticsModel* model) OVERRIDE; model 43 chrome/browser/diagnostics/diagnostics_writer.h virtual void OnAllRecoveryDone(DiagnosticsModel* model) OVERRIDE; model 55 chrome/browser/diagnostics/recon_diagnostics.cc EnumerateModulesModel* model = EnumerateModulesModel::GetInstance(); model 56 chrome/browser/diagnostics/recon_diagnostics.cc model->set_limited_mode(true); model 57 chrome/browser/diagnostics/recon_diagnostics.cc model->ScanNow(); model 58 chrome/browser/diagnostics/recon_diagnostics.cc scoped_ptr<base::ListValue> list(model->GetModuleList()); model 59 chrome/browser/diagnostics/recon_diagnostics.cc if (!model->confirmed_bad_modules_detected() && model 60 chrome/browser/diagnostics/recon_diagnostics.cc !model->suspected_bad_modules_detected()) { model 180 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetStatusText()).c_str()); model 268 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetTooltipText(font_list, model 275 chrome/browser/download/download_item_model_unittest.cc model().GetTooltipText(font_list, kSmallTooltipWidth); model 335 chrome/browser/download/download_item_model_unittest.cc Mock::VerifyAndClearExpectations(&model()); model 350 chrome/browser/download/download_item_model_unittest.cc base::UTF16ToUTF8(model().GetStatusText()).c_str()); model 358 chrome/browser/download/download_item_model_unittest.cc EXPECT_TRUE(model().ShouldShowInShelf()); model 361 chrome/browser/download/download_item_model_unittest.cc model().SetShouldShowInShelf(false); model 362 chrome/browser/download/download_item_model_unittest.cc EXPECT_FALSE(model().ShouldShowInShelf()); model 364 chrome/browser/download/download_item_model_unittest.cc model().SetShouldShowInShelf(true); model 365 chrome/browser/download/download_item_model_unittest.cc EXPECT_TRUE(model().ShouldShowInShelf()); model 416 chrome/browser/download/download_item_model_unittest.cc model().ShouldRemoveFromShelfWhenComplete()) model 419 chrome/browser/download/download_item_model_unittest.cc Mock::VerifyAndClearExpectations(&model()); model 50 chrome/browser/download/download_shelf_context_menu.cc ui::SimpleMenuModel* model = NULL; model 61 chrome/browser/download/download_shelf_context_menu.cc model = GetMaliciousMenuModel(); model 63 chrome/browser/download/download_shelf_context_menu.cc model = GetMaybeMaliciousMenuModel(); model 65 chrome/browser/download/download_shelf_context_menu.cc model = GetFinishedMenuModel(); model 67 chrome/browser/download/download_shelf_context_menu.cc model = GetInterruptedMenuModel(); model 69 chrome/browser/download/download_shelf_context_menu.cc model = GetInProgressMenuModel(); model 70 chrome/browser/download/download_shelf_context_menu.cc return model; model 72 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model, const std::string& id_string) { model 76 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc return model->GetNodeByID(id); model 81 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc bool GetNodesFromVector(BookmarkModel* model, model 89 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNode* node = GetNodeFromString(model, id_strings[i]); model 192 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model) { model 197 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model, model 317 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 319 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc EXTENSION_FUNCTION_VALIDATE(GetNodesFromVector(model, id_list, &nodes)); model 320 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc bookmark_utils::CopyToClipboard(model, nodes, cut); model 345 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 346 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNode* parent_node = GetNodeFromString(model, params->parent_id); model 359 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc GetNodesFromVector(model, *params->selected_id_list, &nodes); model 368 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc bookmark_utils::PasteFromClipboard(model, parent_node, highest_index); model 379 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 380 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNode* parent_node = GetNodeFromString(model, params->parent_id); model 397 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 398 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNode* parent_node = GetNodeFromString(model, params->parent_id); model 403 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc model->SortChildren(parent_node); model 493 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 496 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc GetNodesFromVector(model, params->id_list, &nodes)); model 527 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 529 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc const BookmarkNode* drop_parent = GetNodeFromString(model, params->parent_id); model 576 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 577 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc node = model->root_node(); model 627 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 628 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc model->SetNodeMetaInfo(node, params->key, params->value); model 651 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 656 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc if (!bookmark_api_helpers::RemoveNode(model, id, true, &error_)) model 38 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 39 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h virtual void BookmarkMetaInfoChanged(BookmarkModel* model, model 35 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 36 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc test::WaitForBookmarkModelToLoad(model); model 37 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc const BookmarkNode* bar = model->bookmark_bar_node(); model 39 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddFolder(bar, 0, base::ASCIIToUTF16("Folder")); model 40 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddURL(bar, 1, base::ASCIIToUTF16("AAA"), model 42 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc model->AddURL(folder, 0, base::ASCIIToUTF16("BBB"), model 99 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc bool RemoveNode(BookmarkModel* model, model 103 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc const BookmarkNode* node = model->GetNodeByID(id); model 108 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc if (model->is_permanent_node(node)) { model 118 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc model->Remove(parent, parent->GetIndexOf(node)); model 37 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h bool RemoveNode(BookmarkModel* model, model 102 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 103 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (!model->loaded()) { model 105 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model->AddObserver(this); model 135 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 136 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const BookmarkNode* node = model->GetNodeByID(id); model 154 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarksFunction::BookmarkModelLoaded(BookmarkModel* model, model 156 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model->RemoveObserver(this); model 162 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model) model 163 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc : browser_context_(context), model_(model) { model 184 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkModelLoaded(BookmarkModel* model, model 190 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkModelBeingDeleted(BookmarkModel* model) { model 194 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkNodeMoved(BookmarkModel* model, model 211 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkNodeAdded(BookmarkModel* model, model 222 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkNodeRemoved(BookmarkModel* model, model 235 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkAllNodesRemoved(BookmarkModel* model) { model 242 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkNodeChanged(BookmarkModel* model, model 259 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::BookmarkNodeFaviconChanged(BookmarkModel* model, model 265 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model, model 280 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model) { model 285 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc void BookmarkEventRouter::ExtensiveBookmarkChangesEnded(BookmarkModel* model) { model 506 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 507 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (!bookmark_api_helpers::RemoveNode(model, id, recursive, &error_)) model 521 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 526 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc parentId = model->other_node()->id(); model 531 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const BookmarkNode* parent = model->GetNodeByID(parentId); model 568 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc node = model->AddURL(parent, index, title, url); model 570 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc node = model->AddFolder(parent, index, title); model 604 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 605 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (model->is_permanent_node(node)) { model 619 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc parent = model->GetNodeByID(parentId); model 626 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (parent == model->root_node()) { model 642 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model->Move(node, parent, index); model 689 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(GetProfile()); model 690 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc if (model->is_permanent_node(node)) { model 695 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model->SetTitle(node, title); model 697 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc model->SetURL(node, url); model 742 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile( model 747 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const BookmarkNode* parent = model->GetNodeByID(parent_id_int64); model 783 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile( model 785 chrome/browser/extensions/api/bookmarks/bookmarks_api.cc const BookmarkNode* node = model->GetNodeByID(*it); model 35 chrome/browser/extensions/api/bookmarks/bookmarks_api.h BookmarkEventRouter(content::BrowserContext* context, BookmarkModel* model); model 39 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 41 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 42 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 47 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 50 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 54 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 55 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 57 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 59 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 61 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 62 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 132 chrome/browser/extensions/api/bookmarks/bookmarks_api.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 54 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc scoped_ptr<DesktopMediaList> model, model 803 chrome/browser/extensions/api/extension_action/extension_action_api.cc ExtensionToolbarModel* model = ExtensionToolbarModel::Get(GetProfile()); model 804 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!model) { model 809 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!model->ShowBrowserActionPopup(extension_)) { model 38 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = disk.product_name(); model 40 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc if (device->model.empty() && device->vendor.empty()) { model 42 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = kUnknownUSBDiskModel; model 44 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = kUnknownSDDiskModel; model 98 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc const std::string& model, model 106 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(model, device->model); model 108 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->model = udev_device_get_sysattr_value(parent, "model"); model 144 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->model.assign(output_buf.get() + device_descriptor->ProductIdOffset); model 173 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc omnibox_view->model()->AcceptInput(CURRENT_TAB, false); model 188 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc omnibox_view->model()->AcceptInput(NEW_FOREGROUND_TAB, false); model 25 chrome/browser/extensions/api/omnibox/omnibox_api_interactive_test.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 32 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h return GetLocationBar(browser)->GetOmniboxView()->model()->popup_model()-> model 59 chrome/browser/extensions/api/processes/processes_api.cc TaskManagerModel* model, model 63 chrome/browser/extensions/api/processes/processes_api.cc task_manager::Resource::Type resource_type = model->GetResourceType(index); model 141 chrome/browser/extensions/api/processes/processes_api.cc TaskManagerModel* model, model 148 chrome/browser/extensions/api/processes/processes_api.cc result->SetInteger(keys::kOsProcessIdKey, model->GetProcessId(index)); model 149 chrome/browser/extensions/api/processes/processes_api.cc SetProcessType(result, model, index); model 150 chrome/browser/extensions/api/processes/processes_api.cc result->SetString(keys::kTitleKey, model->GetResourceTitle(index)); model 152 chrome/browser/extensions/api/processes/processes_api.cc model->GetResourceProfileName(index)); model 154 chrome/browser/extensions/api/processes/processes_api.cc model->GetNaClDebugStubPort(index)); model 162 chrome/browser/extensions/api/processes/processes_api.cc result->SetDouble(keys::kCpuKey, model->GetCPUUsage(index)); model 164 chrome/browser/extensions/api/processes/processes_api.cc if (model->GetV8Memory(index, &mem)) model 168 chrome/browser/extensions/api/processes/processes_api.cc if (model->GetV8MemoryUsed(index, &mem)) model 172 chrome/browser/extensions/api/processes/processes_api.cc if (model->GetSqliteMemoryUsedBytes(index, &mem)) model 177 chrome/browser/extensions/api/processes/processes_api.cc if (model->GetWebCoreCacheStats(index, &cache_stats)) { model 191 chrome/browser/extensions/api/processes/processes_api.cc int length = model->GetGroupRangeForResource(index).second; model 193 chrome/browser/extensions/api/processes/processes_api.cc net += model->GetNetworkUsage(index + i); model 194 chrome/browser/extensions/api/processes/processes_api.cc if (model->GetFPS(index + i, &tmp)) model 207 chrome/browser/extensions/api/processes/processes_api.cc TaskManagerModel* model, model 210 chrome/browser/extensions/api/processes/processes_api.cc int64 pr_mem = model->GetPrivateMemory(index, &mem) ? model 222 chrome/browser/extensions/api/processes/processes_api.cc model_ = TaskManager::GetInstance()->model(); model 565 chrome/browser/extensions/api/processes/processes_api.cc TaskManager::GetInstance()->model()->RegisterOnDataReadyCallback( model 626 chrome/browser/extensions/api/processes/processes_api.cc TaskManager::GetInstance()->model()->RegisterOnDataReadyCallback( model 644 chrome/browser/extensions/api/processes/processes_api.cc TaskManagerModel* model = TaskManager::GetInstance()->model(); model 646 chrome/browser/extensions/api/processes/processes_api.cc int count = model->ResourceCount(); model 651 chrome/browser/extensions/api/processes/processes_api.cc if (model->IsResourceFirstInGroup(i)) { model 652 chrome/browser/extensions/api/processes/processes_api.cc if (process_id_ == model->GetUniqueChildProcessId(i)) { model 654 chrome/browser/extensions/api/processes/processes_api.cc killed = base::KillProcess(model->GetProcess(i), model 713 chrome/browser/extensions/api/processes/processes_api.cc TaskManager::GetInstance()->model()->RegisterOnDataReadyCallback( model 730 chrome/browser/extensions/api/processes/processes_api.cc TaskManagerModel* model = TaskManager::GetInstance()->model(); model 736 chrome/browser/extensions/api/processes/processes_api.cc int resources = model->ResourceCount(); model 738 chrome/browser/extensions/api/processes/processes_api.cc if (model->IsResourceFirstInGroup(i)) { model 739 chrome/browser/extensions/api/processes/processes_api.cc int id = model->GetUniqueChildProcessId(i); model 740 chrome/browser/extensions/api/processes/processes_api.cc base::DictionaryValue* d = CreateProcessFromModel(id, model, i, false); model 742 chrome/browser/extensions/api/processes/processes_api.cc AddMemoryDetails(d, model, i); model 747 chrome/browser/extensions/api/processes/processes_api.cc int resources = model->ResourceCount(); model 749 chrome/browser/extensions/api/processes/processes_api.cc if (model->IsResourceFirstInGroup(i)) { model 750 chrome/browser/extensions/api/processes/processes_api.cc int id = model->GetUniqueChildProcessId(i); model 755 chrome/browser/extensions/api/processes/processes_api.cc CreateProcessFromModel(id, model, i, false); model 757 chrome/browser/extensions/api/processes/processes_api.cc AddMemoryDetails(d, model, i); model 22 chrome/browser/extensions/api/processes/processes_apitest.cc TaskManagerModel* model = TaskManager::GetInstance()->model(); model 23 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(0, model->update_requests_); model 24 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(TaskManagerModel::IDLE, model->update_state_); model 33 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(1, model->update_requests_); model 34 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(TaskManagerModel::TASK_PENDING, model->update_state_); model 39 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(2, model->update_requests_); model 40 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(TaskManagerModel::TASK_PENDING, model->update_state_); model 44 chrome/browser/extensions/api/processes/processes_apitest.cc EXPECT_EQ(1, model->update_requests_); model 168 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuModel* model = NULL; model 170 chrome/browser/extensions/extension_context_menu_browsertest.cc if (!menu->GetMenuModelAndItemIndex(command_id, &model, &index)) { model 173 chrome/browser/extensions/extension_context_menu_browsertest.cc *result = model->GetLabelAt(index); model 326 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuModel* model = NULL; model 329 chrome/browser/extensions/extension_context_menu_browsertest.cc IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST, &model, &index)); model 331 chrome/browser/extensions/extension_context_menu_browsertest.cc model->GetLabelAt(index++)); model 333 chrome/browser/extensions/extension_context_menu_browsertest.cc model->GetLabelAt(index++)); model 335 chrome/browser/extensions/extension_context_menu_browsertest.cc model->GetLabelAt(index++)); model 337 chrome/browser/extensions/extension_context_menu_browsertest.cc model->GetLabelAt(index++)); model 339 chrome/browser/extensions/extension_context_menu_browsertest.cc model->GetLabelAt(index++)); model 410 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuModel* model = NULL; model 414 chrome/browser/extensions/extension_context_menu_browsertest.cc IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST, &model, &index)); model 415 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16(extension->name()), model->GetLabelAt(index)); model 416 chrome/browser/extensions/extension_context_menu_browsertest.cc ASSERT_EQ(MenuModel::TYPE_SUBMENU, model->GetTypeAt(index)); model 419 chrome/browser/extensions/extension_context_menu_browsertest.cc MenuModel* submenu = model->GetSubmenuModelAt(index); model 432 chrome/browser/extensions/extension_context_menu_browsertest.cc IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST, &model, &index)); model 433 chrome/browser/extensions/extension_context_menu_browsertest.cc EXPECT_EQ(base::UTF8ToUTF16("parent"), model->GetLabelAt(index)); model 434 chrome/browser/extensions/extension_context_menu_browsertest.cc submenu = model->GetSubmenuModelAt(index); model 2801 chrome/browser/history/history_backend_unittest.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile.get()); model 2802 chrome/browser/history/history_backend_unittest.cc test::WaitForBookmarkModelToLoad(model); model 2806 chrome/browser/history/history_backend_unittest.cc bookmark_utils::AddIfNotBookmarked(model, url, base::string16()); model 118 chrome/browser/importer/external_process_importer_host.cc void ExternalProcessImporterHost::BookmarkModelLoaded(BookmarkModel* model, model 120 chrome/browser/importer/external_process_importer_host.cc DCHECK(model->loaded()); model 121 chrome/browser/importer/external_process_importer_host.cc model->RemoveObserver(this); model 129 chrome/browser/importer/external_process_importer_host.cc BookmarkModel* model) { model 204 chrome/browser/importer/external_process_importer_host.cc TemplateURLService* model = model 206 chrome/browser/importer/external_process_importer_host.cc template_service_subscription_ = model->RegisterOnLoadedCallback( model 209 chrome/browser/importer/external_process_importer_host.cc model->Load(); model 83 chrome/browser/importer/external_process_importer_host.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 85 chrome/browser/importer/external_process_importer_host.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 38 chrome/browser/importer/profile_writer.cc base::string16 GenerateUniqueFolderName(BookmarkModel* model, model 42 chrome/browser/importer/profile_writer.cc const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); model 116 chrome/browser/importer/profile_writer.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile_); model 117 chrome/browser/importer/profile_writer.cc DCHECK(model->loaded()); model 121 chrome/browser/importer/profile_writer.cc const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); model 145 chrome/browser/importer/profile_writer.cc model->BeginExtensiveChanges(); model 165 chrome/browser/importer/profile_writer.cc GenerateUniqueFolderName(model,top_level_folder_name); model 166 chrome/browser/importer/profile_writer.cc top_level_folder = model->AddFolder(bookmark_bar, model 195 chrome/browser/importer/profile_writer.cc child = model->AddFolder(parent, parent->child_count(), *folder_name); model 201 chrome/browser/importer/profile_writer.cc model->AddFolder(parent, parent->child_count(), bookmark->title); model 203 chrome/browser/importer/profile_writer.cc model->AddURLWithCreationTime(parent, parent->child_count(), model 214 chrome/browser/importer/profile_writer.cc model->ResetDateFolderModified(*i); model 217 chrome/browser/importer/profile_writer.cc model->EndExtensiveChanges(); model 266 chrome/browser/importer/profile_writer.cc static void BuildHostPathMap(TemplateURLService* model, model 269 chrome/browser/importer/profile_writer.cc model->GetTemplateURLs(); model 290 chrome/browser/importer/profile_writer.cc TemplateURLService* model = model 294 chrome/browser/importer/profile_writer.cc BuildHostPathMap(model, &host_path_map); model 300 chrome/browser/importer/profile_writer.cc if (model->GetTemplateURLForKeyword((*i)->keyword()) != NULL) model 314 chrome/browser/importer/profile_writer.cc model->AddAndSetProfile(*i, profile_); // Takes ownership. model 140 chrome/browser/media/native_desktop_media_list_unittest.cc ACTION_P2(CheckListSize, model, expected_list_size) { model 141 chrome/browser/media/native_desktop_media_list_unittest.cc EXPECT_EQ(expected_list_size, model->GetSourceCount()); model 364 chrome/browser/media/webrtc_logging_handler_host.cc "Cpu: " + IntToString(cpu.family()) + "." + IntToString(cpu.model()) + model 584 chrome/browser/net/chrome_network_delegate.cc TaskManager::GetInstance()->model()->NotifyBytesRead(request, bytes_read); model 945 chrome/browser/policy/policy_browsertest.cc OmniboxEditModel* model = location_bar->GetOmniboxView()->model(); model 946 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(model->CurrentMatch(NULL).destination_url.is_valid()); model 961 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(model->CurrentMatch(NULL).destination_url.is_valid()); model 1015 chrome/browser/policy/policy_browsertest.cc OmniboxEditModel* model = location_bar->GetOmniboxView()->model(); model 1017 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(model->CurrentMatch(NULL).destination_url.is_valid()); model 1043 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(model->CurrentMatch(NULL).destination_url.is_valid()); model 2600 chrome/browser/policy/policy_browsertest.cc TabStripModel* model = browser()->tab_strip_model(); model 2602 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(size, model->count()); model 2603 chrome/browser/policy/policy_browsertest.cc for (int i = 0; i < size && i < model->count(); ++i) { model 2604 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(expected_urls_[i], model->GetWebContentsAt(i)->GetURL()); model 1270 chrome/browser/prerender/prerender_browsertest.cc return TaskManager::GetInstance()->model(); model 423 chrome/browser/profile_resetter/profile_resetter_unittest.cc TemplateURLService* model = model 425 chrome/browser/profile_resetter/profile_resetter_unittest.cc TemplateURL* default_engine = model->GetDefaultSearchProvider(); model 444 chrome/browser/profile_resetter/profile_resetter_unittest.cc TemplateURLService* model = model 446 chrome/browser/profile_resetter/profile_resetter_unittest.cc TemplateURLService::TemplateURLVector urls = model->GetTemplateURLs(); model 451 chrome/browser/profile_resetter/profile_resetter_unittest.cc EXPECT_EQ(urls, model->GetTemplateURLs()); model 17 chrome/browser/profiles/bookmark_model_loaded_observer.cc void BookmarkModelLoadedObserver::BookmarkModelLoaded(BookmarkModel* model, model 21 chrome/browser/profiles/bookmark_model_loaded_observer.cc model->RemoveObserver(this); model 26 chrome/browser/profiles/bookmark_model_loaded_observer.cc BookmarkModel* model) { model 27 chrome/browser/profiles/bookmark_model_loaded_observer.cc model->RemoveObserver(this); model 20 chrome/browser/profiles/bookmark_model_loaded_observer.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 22 chrome/browser/profiles/bookmark_model_loaded_observer.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 641 chrome/browser/profiles/profile_impl.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(this); model 642 chrome/browser/profiles/profile_impl.cc model->AddObserver(new BookmarkModelLoadedObserver(this)); model 97 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); model 100 chrome/browser/profiles/profile_list_desktop_unittest.cc ASSERT_EQ(2U, model->GetNumberOfItems()); model 102 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); model 106 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); model 195 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); model 196 chrome/browser/profiles/profile_list_desktop_unittest.cc ASSERT_EQ(2U, model->GetNumberOfItems()); model 199 chrome/browser/profiles/profile_list_desktop_unittest.cc ASSERT_EQ(0U, model->GetActiveProfileIndex()); model 210 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); model 213 chrome/browser/profiles/profile_list_desktop_unittest.cc ASSERT_EQ(2U, model->GetNumberOfItems()); model 215 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); model 219 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); model 227 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1next = model->GetItemAt(0); model 232 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2next = model->GetItemAt(1); model 241 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); model 243 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(2U, model->GetNumberOfItems()); model 255 chrome/browser/profiles/profile_list_desktop_unittest.cc ASSERT_EQ(3U, model->GetNumberOfItems()); model 257 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); model 261 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); model 265 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item3 = model->GetItemAt(2); model 331 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); model 332 chrome/browser/profiles/profile_list_desktop_unittest.cc model->RebuildMenu(); model 333 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_EQ(2U, model->GetNumberOfItems()); model 339 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); model 342 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); model 724 chrome/browser/renderer_context_menu/render_view_context_menu.cc ui::MenuModel* model) { model 725 chrome/browser/renderer_context_menu/render_view_context_menu.cc menu_model_.AddSubMenu(command_id, label, model); model 1864 chrome/browser/renderer_context_menu/render_view_context_menu.cc TemplateURLService* model = model 1866 chrome/browser/renderer_context_menu/render_view_context_menu.cc if (!model) model 1868 chrome/browser/renderer_context_menu/render_view_context_menu.cc model->Load(); model 114 chrome/browser/renderer_context_menu/render_view_context_menu.h ui::MenuModel* model) = 0; model 161 chrome/browser/renderer_context_menu/render_view_context_menu.h ui::MenuModel* model) OVERRIDE; model 57 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc MenuModel* model = models_to_search.back(); model 59 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc for (int i = 0; i < model->GetItemCount(); i++) { model 60 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc if (model->GetCommandIdAt(i) == command_id) { model 61 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc *found_model = model; model 64 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc } else if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) { model 65 chrome/browser/renderer_context_menu/render_view_context_menu_test_util.cc models_to_search.push_back(model->GetSubmenuModelAt(i)); model 70 chrome/browser/renderer_context_menu/spellchecker_submenu_observer_browsertest.cc ui::MenuModel* model) OVERRIDE {} model 58 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc ui::MenuModel* model) OVERRIDE; model 138 chrome/browser/renderer_context_menu/spelling_menu_observer_browsertest.cc ui::MenuModel* model) { model 185 chrome/browser/renderer_host/chrome_render_message_filter.cc TaskManager::GetInstance()->model()->NotifyResourceTypeStats(peer_pid(), model 206 chrome/browser/renderer_host/chrome_render_message_filter.cc TaskManager::GetInstance()->model()->NotifyFPS( model 224 chrome/browser/renderer_host/chrome_render_message_filter.cc TaskManager::GetInstance()->model()->NotifyV8HeapStats( model 422 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc WindowDestroyer(content::WebContents* web_contents, TabStripModel* model) model 424 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc tab_strip_model_(model) { model 252 chrome/browser/safe_browsing/client_side_detection_service.cc std::string model; model 255 chrome/browser/safe_browsing/client_side_detection_service.cc model = model_str_; model 260 chrome/browser/safe_browsing/client_side_detection_service.cc process->Send(new SafeBrowsingMsg_SetPhishingModel(model)); model 419 chrome/browser/safe_browsing/client_side_detection_service.cc scoped_ptr<ClientSideModel> model(new ClientSideModel()); model 427 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (!model->ParseFromString(data)) { model 429 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (!model->IsInitialized() || !model->has_version()) { model 431 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (!ModelHasValidHashIds(*model)) { model 433 chrome/browser/safe_browsing/client_side_detection_service.cc } else if (model->version() < 0 || 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 624 chrome/browser/safe_browsing/client_side_detection_service.cc void ClientSideDetectionService::SetBadSubnets(const ClientSideModel& model, model 627 chrome/browser/safe_browsing/client_side_detection_service.cc for (int i = 0; i < model.bad_subnet_size(); ++i) { model 628 chrome/browser/safe_browsing/client_side_detection_service.cc int size = model.bad_subnet(i).size(); model 633 chrome/browser/safe_browsing/client_side_detection_service.cc if (model.bad_subnet(i).prefix().size() != crypto::kSHA256Length) { model 635 chrome/browser/safe_browsing/client_side_detection_service.cc << model.bad_subnet(i).prefix().size(); model 646 chrome/browser/safe_browsing/client_side_detection_service.cc (*bad_subnets)[mask].insert(model.bad_subnet(i).prefix()); model 652 chrome/browser/safe_browsing/client_side_detection_service.cc const ClientSideModel& model) { model 653 chrome/browser/safe_browsing/client_side_detection_service.cc const int max_index = model.hashes_size() - 1; model 654 chrome/browser/safe_browsing/client_side_detection_service.cc for (int i = 0; i < model.rule_size(); ++i) { model 655 chrome/browser/safe_browsing/client_side_detection_service.cc for (int j = 0; j < model.rule(i).feature_size(); ++j) { model 656 chrome/browser/safe_browsing/client_side_detection_service.cc if (model.rule(i).feature(j) < 0 || model 657 chrome/browser/safe_browsing/client_side_detection_service.cc model.rule(i).feature(j) > max_index) { model 662 chrome/browser/safe_browsing/client_side_detection_service.cc for (int i = 0; i < model.page_term_size(); ++i) { model 663 chrome/browser/safe_browsing/client_side_detection_service.cc if (model.page_term(i) < 0 || model.page_term(i) > max_index) { model 275 chrome/browser/safe_browsing/client_side_detection_service.h static void SetBadSubnets(const ClientSideModel& model, model 281 chrome/browser/safe_browsing/client_side_detection_service.h static bool ModelHasValidHashIds(const ClientSideModel& model); model 303 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel model; model 304 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_max_words_per_term(4); model 305 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, model 315 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_version(10); model 316 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_hashes("bla"); model 317 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_page_term(1); // Should be 0 instead of 1. model 318 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializePartialAsString(), net::HTTP_OK, model 326 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_page_term(0, 0); model 329 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_version(-1); model 330 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, model 340 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_version(10); model 341 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, model 352 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc service.model_.reset(new ClientSideModel(model)); model 354 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, model 365 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, model 546 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel model; model 548 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideDetectionService::SetBadSubnets(model, &bad_subnets); model 552 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel::IPSubnet* subnet = model.add_bad_subnet(); model 556 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 560 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 564 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideDetectionService::SetBadSubnets(model, &bad_subnets); model 567 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 571 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 575 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 579 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc subnet = model.add_bad_subnet(); model 583 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideDetectionService::SetBadSubnets(model, &bad_subnets); model 601 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel model; model 602 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 603 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_hashes("bla"); model 604 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 605 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_page_term(0); model 606 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 608 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_page_term(-1); model 609 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 610 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_page_term(1, 1); model 611 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 612 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_page_term(1, 0); model 613 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 616 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.add_hashes("blu"); model 617 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel::Rule* rule = model.add_rule(); model 621 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 623 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc rule = model.add_rule(); model 628 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 631 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_FALSE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 634 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc EXPECT_TRUE(ClientSideDetectionService::ModelHasValidHashIds(model)); model 653 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc ClientSideModel model; model 654 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_version(10); model 655 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc model.set_max_words_per_term(4); model 656 chrome/browser/safe_browsing/client_side_detection_service_unittest.cc SetModelFetchResponse(model.SerializeAsString(), net::HTTP_OK, model 191 chrome/browser/search_engines/search_provider_install_data_unittest.cc util_.model()->Observe(chrome::NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, model 204 chrome/browser/search_engines/search_provider_install_data_unittest.cc util_.model()->Add(t_url); model 228 chrome/browser/search_engines/search_provider_install_data_unittest.cc util_.model()->SetDefaultSearchProvider(default_url); model 242 chrome/browser/search_engines/search_provider_install_data_unittest.cc EXPECT_TRUE(util_.model()->is_default_search_managed()); model 267 chrome/browser/search_engines/search_provider_install_data_unittest.cc util_.model()->SetDefaultSearchProvider(default_url); model 86 chrome/browser/search_engines/template_url_fetcher.cc TemplateURLService* model = TemplateURLServiceFactory::GetForProfile( model 88 chrome/browser/search_engines/template_url_fetcher.cc DCHECK(model); // TemplateURLFetcher::ScheduleDownload verifies this. model 90 chrome/browser/search_engines/template_url_fetcher.cc if (!model->loaded()) { model 92 chrome/browser/search_engines/template_url_fetcher.cc template_url_subscription_ = model->RegisterOnLoadedCallback( model 95 chrome/browser/search_engines/template_url_fetcher.cc model->Load(); model 156 chrome/browser/search_engines/template_url_fetcher.cc TemplateURLService* model = TemplateURLServiceFactory::GetForProfile( model 158 chrome/browser/search_engines/template_url_fetcher.cc if (!model->loaded()) model 168 chrome/browser/search_engines/template_url_fetcher.cc TemplateURLService* model = TemplateURLServiceFactory::GetForProfile(profile); model 169 chrome/browser/search_engines/template_url_fetcher.cc DCHECK(model); model 170 chrome/browser/search_engines/template_url_fetcher.cc DCHECK(model->loaded()); model 173 chrome/browser/search_engines/template_url_fetcher.cc if (model->CanReplaceKeyword(keyword_, GURL(template_url_->url()), model 176 chrome/browser/search_engines/template_url_fetcher.cc model->Remove(existing_url); model 196 chrome/browser/search_engines/template_url_fetcher.cc model->Add(new TemplateURL(profile, data)); model 169 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 181 chrome/browser/search_engines/template_url_fetcher_unittest.cc const TemplateURL* t_url = test_util_.model()->GetTemplateURLForKeyword( model 193 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 237 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 259 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 270 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 296 chrome/browser/search_engines/template_url_fetcher_unittest.cc test_util_.model()->Add(new TemplateURL(test_util_.profile(), data)); model 299 chrome/browser/search_engines/template_url_fetcher_unittest.cc ASSERT_TRUE(test_util_.model()->GetTemplateURLForKeyword(keyword)); model 27 chrome/browser/search_engines/template_url_scraper_unittest.cc explicit TemplateURLServiceLoader(TemplateURLService* model) : model_(model) { model 163 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLService* model() { return test_util_a_.model(); } model 166 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURLService* model_a() { return test_util_a_.model(); } model 378 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com")); model 379 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key2"), "http://key2.com")); model 380 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key3"), "http://key3.com")); model 382 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); model 389 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* service_turl = model()->GetTemplateURLForGUID(guid); model 396 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com")); model 397 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key2"), "http://key2.com")); model 398 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key3"), model 401 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); model 408 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* service_turl = model()->GetTemplateURLForGUID(guid); model 415 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com")); model 416 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key2"), "http://key2.com")); model 419 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(managed_turl); model 421 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetAllSyncData(syncer::SEARCH_ENGINES); model 428 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* service_turl = model()->GetTemplateURLForGUID(guid); model 436 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com")); model 440 chrome/browser/search_engines/template_url_service_sync_unittest.cc base::string16 new_keyword = model()->UniquifyKeyword(*turl, false); model 442 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); model 443 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("new.com"), "http://new.com", model 450 chrome/browser/search_engines/template_url_service_sync_unittest.cc new_keyword = model()->UniquifyKeyword(*turl, false); model 452 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); model 453 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1_"), "http://new.com")); model 458 chrome/browser/search_engines/template_url_service_sync_unittest.cc new_keyword = model()->UniquifyKeyword(*turl, false); model 460 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); model 466 chrome/browser/search_engines/template_url_service_sync_unittest.cc new_keyword = model()->UniquifyKeyword(*turl, true); model 468 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(new_keyword)); model 492 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(local_turl); model 494 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(local_turl); model 500 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->IsLocalTemplateURLBetter(local_turl, sync_turl.get())); model 504 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(NULL); model 505 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(local_turl); model 518 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(original_turl); model 522 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); model 529 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(original_turl); model 538 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(original_turl); model 542 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); model 547 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(original_turl_keyword)); model 552 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(original_turl); model 558 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(original_turl); model 561 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); model 564 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(original_turl_keyword)); model 569 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(original_turl); model 575 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(original_turl); model 578 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ResolveSyncKeywordConflict(sync_turl.get(), original_turl, &changes); model 581 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(NULL, model()->GetTemplateURLForKeyword(sync_turl->keyword())); model 586 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(original_turl); model 590 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 594 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(0U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 606 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 610 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 616 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID(guid)); model 630 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("abc.com"), "http://abc.com", model 632 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("def.com"), "http://def.com", model 634 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("xyz.com"), "http://xyz.com", model 638 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 642 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(6U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 648 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID(guid)); model 651 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("abc.com"))); model 652 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("def.com"))); model 653 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("xyz.com"))); model 676 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(converted); model 679 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 683 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 687 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID(guid)); model 705 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(turl1); model 708 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(turl2); model 720 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 725 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 728 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(turl1, model()->GetTemplateURLForGUID("abc")); model 750 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com", model 753 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key2"), model 756 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("unique"), model 759 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 767 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 772 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 778 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("aaa")); model 783 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* key2 = model()->GetTemplateURLForGUID("key2"); model 794 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("bbb")); model 798 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("ccc")); model 799 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 822 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com", model 825 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key2"), model 828 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("unique"), model 831 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 838 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 842 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 843 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("aaa")); model 850 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* key2_sync = model()->GetTemplateURLForGUID("key2"); model 853 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("bbb")); model 857 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("ccc")); model 858 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 879 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing( model 892 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 894 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 896 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 897 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 898 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 902 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, model 916 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 919 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 921 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 922 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 923 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* turl = model()->GetTemplateURLForGUID("key2"); model 927 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("key3")); model 928 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key4")); model 932 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, model 944 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 947 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 960 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("aaa")); model 961 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("aaa"), model 962 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key2"))); model 963 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 964 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key2"), model 965 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key2.com"))); model 967 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 968 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key1"), model 969 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key3"))); model 970 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 971 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key3"), model 972 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key3.com"))); model 976 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, model 990 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 993 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 998 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("aaa")); model 999 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("aaa"), model 1000 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("new.com"))); model 1001 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 1002 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key2"), model 1003 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key2"))); model 1006 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key1")); model 1007 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key1"), model 1008 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key3.com"))); model 1009 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 1010 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForGUID("key3"), model 1011 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key3"))); model 1024 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, model 1031 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new_turl); model 1040 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* existing_turl = model()->GetTemplateURLForGUID("key1"); model 1041 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ResetTemplateURL(existing_turl, existing_turl->short_name(), model 1050 chrome/browser/search_engines/template_url_service_sync_unittest.cc existing_turl = model()->GetTemplateURLForGUID("key2"); model 1051 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(existing_turl); model 1059 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, model 1066 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(extension1); model 1070 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(extension2); model 1080 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 1083 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForHost("aaa.com") == NULL); model 1084 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetTemplateURLForHost("aaa.com"), model 1085 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword1"))); model 1087 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword2")); model 1093 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword1_"))); model 1095 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword2_"))); model 1111 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1115 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* key1 = model()->GetTemplateURLForHost("key1.com"); model 1119 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* key2 = model()->GetTemplateURLForHost(google_url.host()); model 1144 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(google); model 1147 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(other); model 1165 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1172 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID(local_google_guid)); model 1173 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_TRUE(model()->GetTemplateURLForGUID("sync1")); model 1174 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(google_keyword, model()->GetTemplateURLForGUID("sync1")->keyword()); model 1175 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID(local_other_guid)); model 1176 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_TRUE(model()->GetTemplateURLForGUID("sync2")); model 1178 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForGUID("sync2")->keyword()); model 1208 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1215 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(google_keyword + ASCIIToUTF16("_")); model 1218 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* keyword2 = model()->GetTemplateURLForKeyword(google_keyword); model 1259 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1264 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); model 1328 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing( model 1334 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->StopSyncing(syncer::SEARCH_ENGINES); model 1340 chrome/browser/search_engines/template_url_service_sync_unittest.cc error = model()->ProcessSyncChanges(FROM_HERE, changes); model 1344 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 1345 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("newkeyword"))); model 1351 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing( model 1366 chrome/browser/search_engines/template_url_service_sync_unittest.cc error = model()->ProcessSyncChanges(FROM_HERE, changes); model 1370 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key2")); model 1371 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("newkeyword"))); model 1378 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing( model 1390 chrome/browser/search_engines/template_url_service_sync_unittest.cc error = model()->ProcessSyncChanges(FROM_HERE, changes); model 1400 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("key1"), "http://key1.com", model 1404 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing( model 1413 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* key1_url = model()->GetTemplateURLForGUID("key1"); model 1431 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->StopSyncing(syncer::SEARCH_ENGINES); model 1434 chrome/browser/search_engines/template_url_service_sync_unittest.cc error = model()->MergeDataAndStartSyncing( model 1442 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* reupdated_turl = model()->GetTemplateURLForGUID("key1"); model 1453 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1455 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(model()->GetTemplateURLForGUID("key2")); model 1457 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1458 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* default_search = model()->GetDefaultSearchProvider(); model 1466 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ(default_search, model()->GetDefaultSearchProvider()); model 1474 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes1); model 1476 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1477 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ(default_search, model()->GetDefaultSearchProvider()); model 1485 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes2); model 1487 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(5U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1488 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_NE(default_search, model()->GetDefaultSearchProvider()); model 1489 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ("newdefault", model()->GetDefaultSearchProvider()->sync_guid()); model 1516 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1518 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(model()->GetTemplateURLForGUID("key1")); model 1519 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ("key1", model()->GetDefaultSearchProvider()->sync_guid()); model 1521 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1522 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* default_search = model()->GetDefaultSearchProvider(); model 1530 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ("key1", model()->GetDefaultSearchProvider()->sync_guid()); model 1543 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes1); model 1545 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("key1_"))); model 1546 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(2U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1547 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ("key1", model()->GetDefaultSearchProvider()->sync_guid()); model 1561 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes2); model 1563 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1564 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ("newdefault", model()->GetDefaultSearchProvider()->sync_guid()); model 1572 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("what"), model 1575 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider( model 1576 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForGUID("initdefault")); model 1578 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* default_search = model()->GetDefaultSearchProvider(); model 1587 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_search, model()->GetDefaultSearchProvider()); model 1597 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1601 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1602 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_NE(default_search, model()->GetDefaultSearchProvider()); model 1603 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ("key2", model()->GetDefaultSearchProvider()->sync_guid()); model 1610 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("what"), model 1613 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(model()->GetTemplateURLForGUID(kGUID)); model 1615 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* default_search = model()->GetDefaultSearchProvider(); model 1622 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(default_search, model()->GetDefaultSearchProvider()); model 1626 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1630 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1631 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ(default_search, model()->GetDefaultSearchProvider()); model 1651 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(converted); model 1655 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(model()->GetTemplateURLForGUID("key1")); model 1658 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1661 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1662 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* current_default = model()->GetDefaultSearchProvider(); model 1672 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1674 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(model()->GetTemplateURLForGUID("key2")); model 1676 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1677 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_FALSE(model()->is_default_search_managed()); model 1678 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 1691 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* dsp_turl = model()->GetDefaultSearchProvider(); model 1693 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1702 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 1704 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(4U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1712 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(dsp_turl, model()->GetDefaultSearchProvider()); model 1713 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1718 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForGUID("newdefault"); model 1721 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(expected_default, model()->GetDefaultSearchProvider()); model 1729 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(default_turl); model 1730 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(default_turl); model 1738 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1741 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1742 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForGUID("whateverguid")); model 1743 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetDefaultSearchProvider(), model 1744 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->GetTemplateURLForGUID("key1")); model 1755 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(default_turl); model 1756 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->SetDefaultSearchProvider(default_turl); model 1765 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1771 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(3U, model()->GetAllSyncData(syncer::SEARCH_ENGINES).size()); model 1772 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* winner = model()->GetTemplateURLForGUID("key1"); model 1774 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(model()->GetDefaultSearchProvider(), winner); model 1784 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* loser = model()->GetTemplateURLForGUID("whateverguid"); model 1800 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1805 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_EQ(0U, model()->GetTemplateURLs().size()); model 1816 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->pre_sync_deletes_.insert("key1"); model 1817 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->pre_sync_deletes_.insert("key2"); model 1818 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->pre_sync_deletes_.insert("aaa"); model 1819 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(CreateTestTemplateURL(ASCIIToUTF16("whatever"), model 1821 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 1827 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("bbb")); model 1828 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForGUID("key3")); model 1837 chrome/browser/search_engines/template_url_service_sync_unittest.cc EXPECT_TRUE(model()->pre_sync_deletes_.empty()); model 1868 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(prepop_turls[0]->profile(), data_copy)); model 1877 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* added_turl = model()->GetTemplateURLForKeyword( model 1896 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 1900 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_EQ(added_turl, model()->GetTemplateURLForKeyword( model 1930 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeDataAndStartSyncing(syncer::SEARCH_ENGINES, initial_data, model 1932 chrome/browser/search_engines/template_url_service_sync_unittest.cc TemplateURL* synced_turl = model()->GetTemplateURLForGUID("guid"); model 1942 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 2035 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(local_turl); model 2055 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->MergeInSyncTemplateURL(sync_turl.get(), model 2098 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_TRUE(model()->GetTemplateURLForGUID(local_guid)); model 2102 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(model()->GetTemplateURLForGUID(local_guid)); model 2106 chrome/browser/search_engines/template_url_service_sync_unittest.cc ASSERT_TRUE(model()->GetTemplateURLForGUID(sync_guid)); model 2110 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Remove(model()->GetTemplateURLForGUID(sync_guid)); model 2125 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 2129 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* result_turl = model()->GetTemplateURLForGUID("default"); model 2137 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 2150 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 2152 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* result_turl = model()->GetTemplateURLForGUID("default"); model 2166 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); model 2168 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 2180 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->ProcessSyncChanges(FROM_HERE, changes); model 2182 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* result_turl = model()->GetTemplateURLForGUID("default"); model 2201 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); model 2208 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 2212 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* result_turl = model()->GetTemplateURLForGUID("default"); model 2231 chrome/browser/search_engines/template_url_service_sync_unittest.cc model()->Add(new TemplateURL(NULL, data)); model 2238 chrome/browser/search_engines/template_url_service_sync_unittest.cc syncer::SyncMergeResult merge_result = model()->MergeDataAndStartSyncing( model 2242 chrome/browser/search_engines/template_url_service_sync_unittest.cc const TemplateURL* result_turl = model()->GetTemplateURLForGUID("default"); model 89 chrome/browser/search_engines/template_url_service_test_util.cc ASSERT_FALSE(model()->loaded()); model 90 chrome/browser/search_engines/template_url_service_test_util.cc model()->Load(); model 97 chrome/browser/search_engines/template_url_service_test_util.cc model()->ChangeToLoadedState(); model 101 chrome/browser/search_engines/template_url_service_test_util.cc model()->service_ = WebDataService::FromBrowserContext(profile()); model 113 chrome/browser/search_engines/template_url_service_test_util.cc model()->AddObserver(this); model 121 chrome/browser/search_engines/template_url_service_test_util.cc static_cast<TestingTemplateURLService*>(model())->GetAndClearSearchTerm(); model 170 chrome/browser/search_engines/template_url_service_test_util.cc model()->Observe(chrome::NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, model 189 chrome/browser/search_engines/template_url_service_test_util.cc model()->Observe(chrome::NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, model 85 chrome/browser/search_engines/template_url_service_test_util.h TemplateURLService* model() const; model 92 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLService* model, model 115 chrome/browser/search_engines/template_url_service_unittest.cc return new TemplateURL(model->profile(), data); model 119 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLService* model, model 131 chrome/browser/search_engines/template_url_service_unittest.cc model, short_name, keyword, url, suggest_url, alternate_url,favicon_url, model 133 chrome/browser/search_engines/template_url_service_unittest.cc model->Add(t_url); model 206 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURLService* model() { return test_util_.model(); } model 266 chrome/browser/search_engines/template_url_service_unittest.cc return ::AddKeywordWithDate(model(), short_name, keyword, url, suggest_url, model 337 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 339 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 348 chrome/browser/search_engines/template_url_service_unittest.cc keyword_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 358 chrome/browser/search_engines/template_url_service_unittest.cc keyword_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 384 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 396 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 397 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), GURL(), model 401 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 402 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(t_url->keyword())); model 411 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 413 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); model 416 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), GURL(), model 423 chrome/browser/search_engines/template_url_service_unittest.cc model()->set_time_provider(&base::MockTimeProvider::StaticNow); model 427 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(loaded_url, ASCIIToUTF16("a"), ASCIIToUTF16("b"), model 433 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("keyword"), GURL(), model 435 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("b"), GURL(), NULL)); model 439 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 440 chrome/browser/search_engines/template_url_service_unittest.cc loaded_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")); model 448 chrome/browser/search_engines/template_url_service_unittest.cc model()->Remove(loaded_url); model 451 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count, model()->GetTemplateURLs().size()); model 452 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("b")) == NULL); model 471 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 476 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); model 486 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(new TemplateURL(test_util_.profile(), data)); model 488 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); model 499 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url2); model 501 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(t_url2, model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); model 532 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(extension1); model 534 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword1"))); model 536 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("test1"))); model 539 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(extension2); model 541 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword2"))); model 543 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("test2"))); model 548 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(extension3); model 550 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword3"))); model 552 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword3_"))); model 579 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 581 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword_"))); model 582 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForHost("test1") == NULL); model 583 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(t_url, model()->GetTemplateURLForHost("test3")); model 591 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url2); model 593 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword"))); model 594 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForHost("test3") == NULL); model 596 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword_"))); model 630 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(0U, model()->GetTemplateURLs().size()); model 655 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(6U, model()->GetTemplateURLs().size()); model 659 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedSince(now); model 660 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(4U, model()->GetTemplateURLs().size()); model 664 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedBetween(now - TimeDelta::FromDays(60), now); model 665 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(3U, model()->GetTemplateURLs().size()); model 668 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); model 669 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[0]->safe_for_autoreplace()); model 671 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLs()[0]->date_created().ToInternalValue()); model 673 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key5"), model()->GetTemplateURLs()[1]->keyword()); model 674 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetTemplateURLs()[1]->safe_for_autoreplace()); model 676 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLs()[1]->date_created().ToInternalValue()); model 678 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key6"), model()->GetTemplateURLs()[2]->keyword()); model 679 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetTemplateURLs()[2]->safe_for_autoreplace()); model 681 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLs()[2]->date_created().ToInternalValue()); model 684 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedSince(Time()); model 685 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(2U, model()->GetTemplateURLs().size()); model 694 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(0U, model()->GetTemplateURLs().size()); model 708 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(3U, model()->GetTemplateURLs().size()); model 711 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedForOriginBetween(GURL("http://foo2"), month_ago, model 713 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(2U, model()->GetTemplateURLs().size()); model 714 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); model 715 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[0]->safe_for_autoreplace()); model 716 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key3"), model()->GetTemplateURLs()[1]->keyword()); model 717 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[1]->safe_for_autoreplace()); model 721 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedForOriginBetween(GURL("http://foo1"), now, model 723 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(2U, model()->GetTemplateURLs().size()); model 724 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); model 725 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[0]->safe_for_autoreplace()); model 726 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key3"), model()->GetTemplateURLs()[1]->keyword()); model 727 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[1]->safe_for_autoreplace()); model 731 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveAutoGeneratedForOriginBetween(GURL("http://foo3"), month_ago, model 733 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(1U, model()->GetTemplateURLs().size()); model 734 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ASCIIToUTF16("key1"), model()->GetTemplateURLs()[0]->keyword()); model 735 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLs()[0]->safe_for_autoreplace()); model 741 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 750 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 756 chrome/browser/search_engines/template_url_service_unittest.cc model()->set_time_provider(&base::MockTimeProvider::StaticNow); model 763 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(t_url, new_short_name, new_keyword, new_url); model 769 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(new_keyword)); model 771 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")) == NULL); model 778 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 779 chrome/browser/search_engines/template_url_service_unittest.cc const TemplateURL* read_url = model()->GetTemplateURLForKeyword(new_keyword); model 788 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 794 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(t_url); model 795 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetDefaultSearchProvider()); model 808 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 809 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 810 chrome/browser/search_engines/template_url_service_unittest.cc AssertEquals(*cloned_url, *model()->GetDefaultSearchProvider()); model 815 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), GURL(), NULL)); model 821 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), model 826 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(t_url, t_url->short_name(), t_url->keyword(), model 829 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), model 835 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("foo"), model 842 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->CanReplaceKeyword(ASCIIToUTF16("bar"), model 847 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(t_url, t_url->short_name(), t_url->keyword(), model 850 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_FALSE(model()->CanReplaceKeyword(ASCIIToUTF16("bar"), model 856 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 861 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 876 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 879 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(t_url); model 890 chrome/browser/search_engines/template_url_service_unittest.cc const TemplateURL* default_turl = model()->GetDefaultSearchProvider(); model 901 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 902 chrome/browser/search_engines/template_url_service_unittest.cc AssertEquals(*cloned_url, *model()->GetDefaultSearchProvider()); model 909 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* google = model()->GetTemplateURLForKeyword( model 912 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(google, ASCIIToUTF16("trash"), ASCIIToUTF16("xxx"), model 922 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(user_dse); model 923 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(user_dse, model()->GetDefaultSearchProvider()); model 926 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* bing = model()->GetTemplateURLForKeyword( model 929 chrome/browser/search_engines/template_url_service_unittest.cc model()->Remove(bing); model 930 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("bing.com"))); model 933 chrome/browser/search_engines/template_url_service_unittest.cc model()->RegisterOmniboxKeyword("abcdefg", "extension_name", "bing.com"); model 934 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("bing.com"))); model 936 chrome/browser/search_engines/template_url_service_unittest.cc model()->RepairPrepopulatedSearchEngines(); model 939 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(google, model()->GetDefaultSearchProvider()); model 946 chrome/browser/search_engines/template_url_service_unittest.cc bing = model()->GetTemplateURLForKeyword(ASCIIToUTF16("bing.com")); model 951 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(user_dse, model()->GetTemplateURLForHost("www.goo.com")); model 982 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 984 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetDefaultSearchProvider(); model 988 chrome/browser/search_engines/template_url_service_unittest.cc model()->RepairPrepopulatedSearchEngines(); model 990 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 991 chrome/browser/search_engines/template_url_service_unittest.cc actual_managed_default = model()->GetDefaultSearchProvider(); model 1022 chrome/browser/search_engines/template_url_service_unittest.cc model()->UpdateKeywordSearchTermsForURL(details); model 1044 chrome/browser/search_engines/template_url_service_unittest.cc model()->UpdateKeywordSearchTermsForURL(details); model 1058 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForHost("google.com")); model 1068 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForHost("google.co.uk")); model 1069 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForHost("google.com") == NULL); model 1086 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("google.de"))); model 1089 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("google.co.uk"))); model 1097 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(manual, model()->GetTemplateURLForHost("google.de")); model 1100 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForHost("google.fr")); model 1101 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetTemplateURLForHost("google.co.uk") == NULL); model 1156 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 1158 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")) != NULL); model 1164 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")) == NULL); model 1173 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")) == NULL); model 1182 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 1187 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest"))); model 1195 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 1205 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")) != NULL); model 1214 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* default_search = model()->GetDefaultSearchProvider(); model 1225 chrome/browser/search_engines/template_url_service_unittest.cc default_search = model()->GetDefaultSearchProvider(); model 1233 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->FindNewDefaultSearchProvider()); model 1253 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(valid_turl); model 1254 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(4U, model()->GetTemplateURLs().size()); model 1257 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* new_default = model()->FindNewDefaultSearchProvider(); model 1262 chrome/browser/search_engines/template_url_service_unittest.cc model()->Remove(new_default); model 1263 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->FindNewDefaultSearchProvider()); model 1275 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 1276 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(t_url); model 1282 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest"))); model 1283 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(t_url, model()->GetDefaultSearchProvider()); model 1291 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 1294 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(keyword_url, model()->GetDefaultSearchProvider()); model 1304 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("unittest")); model 1307 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(keyword_url, model()->GetDefaultSearchProvider()); model 1328 chrome/browser/search_engines/template_url_service_unittest.cc TemplateURL* old_default = model()->GetDefaultSearchProvider(); model 1332 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(NULL); model 1333 chrome/browser/search_engines/template_url_service_unittest.cc model()->Remove(old_default); model 1336 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetDefaultSearchProvider()); model 1341 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 1342 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetDefaultSearchProvider()->SupportsReplacement()); model 1345 chrome/browser/search_engines/template_url_service_unittest.cc model()->ResetTemplateURL(model()->GetDefaultSearchProvider(), model 1354 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 1355 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetDefaultSearchProvider()->SupportsReplacement()); model 1369 chrome/browser/search_engines/template_url_service_unittest.cc model()->Load(); model 1372 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_TRUE(model()->GetDefaultSearchProvider()); model 1380 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 1388 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(regular_default); model 1392 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->is_default_search_managed()); model 1393 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1407 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1408 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 2, model()->GetTemplateURLs().size()); model 1424 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetDefaultSearchProvider(); model 1437 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1438 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 2, model()->GetTemplateURLs().size()); model 1449 chrome/browser/search_engines/template_url_service_unittest.cc actual_managed_default = model()->GetDefaultSearchProvider(); model 1456 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->is_default_search_managed()); model 1457 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1461 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetDefaultSearchProvider(); model 1462 chrome/browser/search_engines/template_url_service_unittest.cc ExpectSimilar(model()->GetTemplateURLs()[0], actual_final_managed_default); model 1470 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1471 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(NULL == model()->GetDefaultSearchProvider()); model 1472 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1479 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1480 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(initial_count + 2, model()->GetTemplateURLs().size()); model 1483 chrome/browser/search_engines/template_url_service_unittest.cc actual_managed_default = model()->GetDefaultSearchProvider(); model 1495 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("key1")); model 1497 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(new_default); model 1498 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(new_default, model()->GetDefaultSearchProvider()); model 1506 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1507 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->GetDefaultSearchProvider() == NULL); model 1515 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 1523 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 1527 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1532 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1534 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); model 1544 chrome/browser/search_engines/template_url_service_unittest.cc const size_t initial_count = model()->GetTemplateURLs().size(); model 1560 chrome/browser/search_engines/template_url_service_unittest.cc model()->Add(t_url); model 1564 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1566 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); model 1573 chrome/browser/search_engines/template_url_service_unittest.cc ASSERT_EQ(initial_count + 1, model()->GetTemplateURLs().size()); model 1574 chrome/browser/search_engines/template_url_service_unittest.cc loaded_url = model()->GetTemplateURLForKeyword(ASCIIToUTF16("keyword")); model 1586 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(user_dse); model 1587 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(user_dse, model()->GetDefaultSearchProvider()); model 1590 chrome/browser/search_engines/template_url_service_unittest.cc model(), "ext", "ext", "http://www.search.com/s?q={searchTerms}", model 1597 chrome/browser/search_engines/template_url_service_unittest.cc model()->AddExtensionControlledTURL(ext_dse, extension_info.Pass()); model 1598 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ext_dse, model()->GetDefaultSearchProvider()); model 1600 chrome/browser/search_engines/template_url_service_unittest.cc model()->RemoveExtensionControlledTURL("ext"); model 1601 chrome/browser/search_engines/template_url_service_unittest.cc ExpectSimilar(user_dse, model()->GetDefaultSearchProvider()); model 1611 chrome/browser/search_engines/template_url_service_unittest.cc model()->SetDefaultSearchProvider(user_dse); model 1612 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(user_dse, model()->GetDefaultSearchProvider()); model 1615 chrome/browser/search_engines/template_url_service_unittest.cc model(), "ext1", "ext1", "http://www.ext1.com/s?q={searchTerms}", model 1622 chrome/browser/search_engines/template_url_service_unittest.cc model()->AddExtensionControlledTURL(ext_dse, extension_info.Pass()); model 1623 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(user_dse, model()->GetDefaultSearchProvider()); model 1626 chrome/browser/search_engines/template_url_service_unittest.cc model(), "ext2", "ext2", "http://www.ext2.com/s?q={searchTerms}", model 1632 chrome/browser/search_engines/template_url_service_unittest.cc model()->AddExtensionControlledTURL(ext_dse, extension_info.Pass()); model 1633 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ext_dse, model()->GetDefaultSearchProvider()); model 1636 chrome/browser/search_engines/template_url_service_unittest.cc user_dse = model()->GetTemplateURLForKeyword(ASCIIToUTF16("user")); model 1637 chrome/browser/search_engines/template_url_service_unittest.cc ExpectSimilar(user_dse, model()->GetDefaultSearchProvider()); model 1638 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("ext1"))); model 1639 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_FALSE(model()->GetTemplateURLForKeyword(ASCIIToUTF16("ext2"))); model 1667 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1669 chrome/browser/search_engines/template_url_service_unittest.cc model()->GetDefaultSearchProvider(); model 1673 chrome/browser/search_engines/template_url_service_unittest.cc model(), "ext1", "ext1", "http://www.ext1.com/s?q={searchTerms}", model 1680 chrome/browser/search_engines/template_url_service_unittest.cc model()->AddExtensionControlledTURL(ext_dse, extension_info.Pass()); model 1681 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_EQ(ext_dse, model()->GetTemplateURLForKeyword(ASCIIToUTF16("ext1"))); model 1682 chrome/browser/search_engines/template_url_service_unittest.cc EXPECT_TRUE(model()->is_default_search_managed()); model 1683 chrome/browser/search_engines/template_url_service_unittest.cc actual_managed_default = model()->GetDefaultSearchProvider(); model 67 chrome/browser/status_icons/status_icon.h virtual void UpdatePlatformContextMenu(StatusIconMenuModel* model) = 0; model 74 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 84 chrome/browser/sync/glue/bookmark_change_processor.cc SetSyncNodeFavicon(src, model, dst); model 91 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 93 chrome/browser/sync/glue/bookmark_change_processor.cc const gfx::Image& favicon = model->GetFavicon(src); model 207 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkModelLoaded(BookmarkModel* model, model 213 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model) { model 218 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkNodeAdded(BookmarkModel* model, model 228 chrome/browser/sync/glue/bookmark_change_processor.cc sync_id = CreateSyncNode(parent, model, index, &trans, model 238 chrome/browser/sync/glue/bookmark_change_processor.cc new_version, model, model 245 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, int index, syncer::WriteTransaction* trans, model 261 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateSyncNodeProperties(child, model, &sync_child); model 270 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkNodeRemoved(BookmarkModel* model, model 277 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkAllNodesRemoved(BookmarkModel* model) { model 281 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkNodeChanged(BookmarkModel* model, model 284 chrome/browser/sync/glue/bookmark_change_processor.cc if (model->is_permanent_node(node)) { model 348 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateSyncNodeProperties(node, model, &sync_node); model 357 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateTransactionVersion(new_version, model, model 362 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, const BookmarkNode* node) { model 363 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkNodeChanged(model, node); model 366 chrome/browser/sync/glue/bookmark_change_processor.cc void BookmarkChangeProcessor::BookmarkNodeMoved(BookmarkModel* model, model 371 chrome/browser/sync/glue/bookmark_change_processor.cc if (model->is_permanent_node(child)) { model 397 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateTransactionVersion(new_version, model, model 402 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 404 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkNodeChanged(model, node); model 408 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, const BookmarkNode* node) { model 441 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateTransactionVersion(new_version, model, children); model 509 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model = bookmark_model_; model 514 chrome/browser/sync/glue/bookmark_change_processor.cc model->RemoveObserver(this); model 525 chrome/browser/sync/glue/bookmark_change_processor.cc model->BeginExtensiveChanges(); model 541 chrome/browser/sync/glue/bookmark_change_processor.cc if (model->is_permanent_node(dst)) model 552 chrome/browser/sync/glue/bookmark_change_processor.cc foster_parent = model->AddFolder(model->other_node(), model 553 chrome/browser/sync/glue/bookmark_change_processor.cc model->other_node()->child_count(), model 562 chrome/browser/sync/glue/bookmark_change_processor.cc model->Move(dst->GetChild(i), foster_parent, model 573 chrome/browser/sync/glue/bookmark_change_processor.cc model->Remove(parent, index); model 593 chrome/browser/sync/glue/bookmark_change_processor.cc if (model->is_permanent_node(dst)) model 605 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->Associate(model->mobile_node(), it->id); model 631 chrome/browser/sync/glue/bookmark_change_processor.cc UpdateBookmarkWithSyncData(src, model, dst, profile_); model 634 chrome/browser/sync/glue/bookmark_change_processor.cc model->Move(dst, parent, parent->child_count()); model 641 chrome/browser/sync/glue/bookmark_change_processor.cc model, model 665 chrome/browser/sync/glue/bookmark_change_processor.cc model->Move(it->second, parent, it->first); model 672 chrome/browser/sync/glue/bookmark_change_processor.cc model->Remove(foster_parent->parent(), model 684 chrome/browser/sync/glue/bookmark_change_processor.cc model->EndExtensiveChanges(); model 687 chrome/browser/sync/glue/bookmark_change_processor.cc model->AddObserver(this); model 691 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetNodeSyncTransactionVersion(model->root_node(), model_version); model 698 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 705 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetURL(node, GURL(specifics.url())); model 706 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetTitle(node, base::UTF8ToUTF16(sync_node.GetTitle())); model 708 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetDateAdded( model 712 chrome/browser/sync/glue/bookmark_change_processor.cc SetBookmarkFavicon(&sync_node, node, model, profile); model 713 chrome/browser/sync/glue/bookmark_change_processor.cc SetBookmarkMetaInfo(&sync_node, node, model); model 719 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 722 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetNodeSyncTransactionVersion(model->root_node(), new_version); model 724 chrome/browser/sync/glue/bookmark_change_processor.cc model->SetNodeSyncTransactionVersion(nodes[i], new_version); model 735 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 742 chrome/browser/sync/glue/bookmark_change_processor.cc node = model->AddFolder( model 751 chrome/browser/sync/glue/bookmark_change_processor.cc node = model->AddURLWithCreationTime(parent, index, model 756 chrome/browser/sync/glue/bookmark_change_processor.cc SetBookmarkFavicon(sync_node, node, model, profile); model 759 chrome/browser/sync/glue/bookmark_change_processor.cc SetBookmarkMetaInfo(sync_node, node, model); model 853 chrome/browser/sync/glue/bookmark_change_processor.cc BookmarkModel* model, model 856 chrome/browser/sync/glue/bookmark_change_processor.cc EncodeFavicon(bookmark_node, model, &favicon_bytes); model 41 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 43 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 44 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 49 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 52 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 56 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 57 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 59 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkMetaInfoChanged(BookmarkModel* model, model 61 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 63 chrome/browser/sync/glue/bookmark_change_processor.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 80 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 90 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 100 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 114 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 123 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 133 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 171 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 176 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModel* model, model 101 chrome/browser/sync/glue/bookmark_data_type_controller.cc void BookmarkDataTypeController::BookmarkModelLoaded(BookmarkModel* model, model 103 chrome/browser/sync/glue/bookmark_data_type_controller.cc DCHECK(model->loaded()); model 104 chrome/browser/sync/glue/bookmark_data_type_controller.cc model->RemoveObserver(this); model 115 chrome/browser/sync/glue/bookmark_data_type_controller.cc BookmarkModel* model) { model 45 chrome/browser/sync/glue/bookmark_data_type_controller.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 47 chrome/browser/sync/glue/bookmark_data_type_controller.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 124 chrome/browser/sync/glue/bookmark_model_associator.cc explicit ScopedAssociationUpdater(BookmarkModel* model) { model 125 chrome/browser/sync/glue/bookmark_model_associator.cc model_ = model; model 126 chrome/browser/sync/glue/bookmark_model_associator.cc model->BeginExtensiveChanges(); model 282 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc BookmarkModel* model) OVERRIDE { model 287 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE { model 65 chrome/browser/sync/test/integration/bookmarks_helper.cc FaviconChangeObserver(BookmarkModel* model, const BookmarkNode* node) model 66 chrome/browser/sync/test/integration/bookmarks_helper.cc : model_(model), model 69 chrome/browser/sync/test/integration/bookmarks_helper.cc model->AddObserver(this); model 84 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkModelLoaded(BookmarkModel* model, model 86 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkNodeMoved(BookmarkModel* model, model 91 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkNodeAdded(BookmarkModel* model, model 94 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkNodeRemoved(BookmarkModel* model, model 98 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE {} model 100 chrome/browser/sync/test/integration/bookmarks_helper.cc virtual void BookmarkNodeChanged(BookmarkModel* model, model 102 chrome/browser/sync/test/integration/bookmarks_helper.cc if (model == model_ && node == node_) model 103 chrome/browser/sync/test/integration/bookmarks_helper.cc model->GetFavicon(node); model 106 chrome/browser/sync/test/integration/bookmarks_helper.cc BookmarkModel* model, model 109 chrome/browser/sync/test/integration/bookmarks_helper.cc BookmarkModel* model, model 111 chrome/browser/sync/test/integration/bookmarks_helper.cc if (model == model_ && node == node_) { model 132 chrome/browser/sync/test/integration/bookmarks_helper.cc int CountNodesWithTitlesMatching(BookmarkModel* model, model 135 chrome/browser/sync/test/integration/bookmarks_helper.cc ui::TreeNodeIterator<const BookmarkNode> iterator(model->root_node()); model 194 chrome/browser/sync/test/integration/bookmarks_helper.cc FaviconData GetFaviconData(BookmarkModel* model, model 205 chrome/browser/sync/test/integration/bookmarks_helper.cc FaviconChangeObserver observer(model, node); model 206 chrome/browser/sync/test/integration/bookmarks_helper.cc model->GetFavicon(node); model 210 chrome/browser/sync/test/integration/bookmarks_helper.cc EXPECT_FALSE(model->GetFavicon(node).IsEmpty()); model 211 chrome/browser/sync/test/integration/bookmarks_helper.cc return FaviconData(model->GetFavicon(node), node->icon_url()); model 221 chrome/browser/sync/test/integration/bookmarks_helper.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 223 chrome/browser/sync/test/integration/bookmarks_helper.cc FaviconChangeObserver observer(model, node); model 241 chrome/browser/sync/test/integration/bookmarks_helper.cc GetFaviconData(model, node); model 61 chrome/browser/sync/test/integration/sync_app_list_helper.cc if (service->model()->top_level_item_list()->item_count() != model 62 chrome/browser/sync/test/integration/sync_app_list_helper.cc verifier->model()->top_level_item_list()->item_count()) { model 64 chrome/browser/sync/test/integration/sync_app_list_helper.cc << service->model()->top_level_item_list()->item_count() model 66 chrome/browser/sync/test/integration/sync_app_list_helper.cc << verifier->model()->top_level_item_list()->item_count(); model 70 chrome/browser/sync/test/integration/sync_app_list_helper.cc for (size_t i = 0; i < service->model()->top_level_item_list()->item_count(); model 72 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListItem* item1 = service->model()->top_level_item_list()->item_at(i); model 73 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListItem* item2 = verifier->model()->top_level_item_list()->item_at(i); model 80 chrome/browser/sync/test/integration/sync_app_list_helper.cc if (!verifier->model()->top_level_item_list()->FindItemIndex(item1->id(), model 87 chrome/browser/sync/test/integration/sync_app_list_helper.cc item2 = verifier->model()->top_level_item_list()->item_at(index2); model 123 chrome/browser/sync/test/integration/sync_app_list_helper.cc service->model()->top_level_item_list()->MoveItem(from, to); model 131 chrome/browser/sync/test/integration/sync_app_list_helper.cc service->model()->MoveItemToFolder( model 132 chrome/browser/sync/test/integration/sync_app_list_helper.cc service->model()->top_level_item_list()->item_at(index), folder_id); model 140 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListFolderItem* folder = service->model()->FindFolderItem(folder_id); model 145 chrome/browser/sync/test/integration/sync_app_list_helper.cc service->model()->MoveItemToFolder( model 155 chrome/browser/sync/test/integration/sync_app_list_helper.cc verifier->model()->top_level_item_list()->SetItemPosition( model 156 chrome/browser/sync/test/integration/sync_app_list_helper.cc verifier->model()->FindItem(id), model 157 chrome/browser/sync/test/integration/sync_app_list_helper.cc service->model()->FindItem(id)->position()); model 163 chrome/browser/sync/test/integration/sync_app_list_helper.cc for (size_t i = 0; i < service->model()->top_level_item_list()->item_count(); model 165 chrome/browser/sync/test/integration/sync_app_list_helper.cc AppListItem* item = service->model()->top_level_item_list()->item_at(i); model 354 chrome/browser/task_manager/child_process_resource_provider.cc task_manager_->model()->NotifyDataReady(); model 88 chrome/browser/task_manager/task_manager.cc int ValueCompareMember(const TaskManagerModel* model, model 94 chrome/browser/task_manager/task_manager.cc bool value1_valid = (model->*f)(row1, &value1); model 95 chrome/browser/task_manager/task_manager.cc bool value2_valid = (model->*f)(row2, &value2); model 178 chrome/browser/task_manager/task_manager.cc TaskManager::GetInstance()->model()->NotifyVideoMemoryUsageStats( model 82 chrome/browser/task_manager/task_manager.h TaskManagerModel* model() const { return model_.get(); } model 69 chrome/browser/task_manager/task_manager_browsertest.cc return TaskManager::GetInstance()->model(); model 73 chrome/browser/task_manager/task_manager_browsertest.cc EXPECT_EQ(0, model()->ResourceCount()); model 81 chrome/browser/task_manager/task_manager_browsertest.cc model()->Refresh(); model 95 chrome/browser/task_manager/task_manager_browsertest.cc for (int i = 0; i < model()->ResourceCount(); ++i) { model 96 chrome/browser/task_manager/task_manager_browsertest.cc if (title == model()->GetResourceTitle(i)) model 276 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(background_page) == NULL); model 277 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_FALSE(model()->CanActivate(background_page)); model 318 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(background_page) == NULL); model 319 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_FALSE(model()->CanActivate(background_page)); model 327 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(panel) != NULL); model 328 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(panel)); model 365 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(extension_tab) != NULL); model 366 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(extension_tab)); model 370 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(background_page) == NULL); model 371 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_FALSE(model()->CanActivate(background_page)); model 397 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(extension_tab) != NULL); model 398 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(extension_tab)); model 402 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(background_page) == NULL); model 403 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_FALSE(model()->CanActivate(background_page)); model 436 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(app_tab) != NULL); model 437 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(app_tab)); model 439 chrome/browser/task_manager/task_manager_browsertest.cc model()->GetResourceType(app_tab)); model 476 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetResourceWebContents(app_tab) != NULL); model 477 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->CanActivate(app_tab)); model 479 chrome/browser/task_manager/task_manager_browsertest.cc model()->GetResourceType(app_tab)); model 648 chrome/browser/task_manager/task_manager_browsertest.cc int resource_count = TaskManager::GetInstance()->model()->ResourceCount(); model 655 chrome/browser/task_manager/task_manager_browsertest.cc DCHECK_NE(model()->GetResourceWebCoreImageCacheSize(resource_count), model 657 chrome/browser/task_manager/task_manager_browsertest.cc DCHECK_NE(model()->GetResourceWebCoreScriptsCacheSize(resource_count), model 659 chrome/browser/task_manager/task_manager_browsertest.cc DCHECK_NE(model()->GetResourceWebCoreCSSCacheSize(resource_count), model 690 chrome/browser/task_manager/task_manager_browsertest.cc int resource_index = TaskManager::GetInstance()->model()->ResourceCount() - 1; model 693 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetV8Memory(resource_index, &result)); model 697 chrome/browser/task_manager/task_manager_browsertest.cc ASSERT_TRUE(model()->GetV8MemoryUsed(resource_index, &result)); model 29 chrome/browser/task_manager/task_manager_browsertest_util.cc ResourceChangeObserver(const TaskManagerModel* model, model 32 chrome/browser/task_manager/task_manager_browsertest_util.cc : model_(model), model 141 chrome/browser/task_manager/task_manager_browsertest_util.cc TaskManagerModel* model = TaskManager::GetInstance()->model(); model 143 chrome/browser/task_manager/task_manager_browsertest_util.cc ResourceChangeObserver observer(model, required_count, title_pattern); model 144 chrome/browser/task_manager/task_manager_browsertest_util.cc model->AddObserver(&observer); model 146 chrome/browser/task_manager/task_manager_browsertest_util.cc model->RemoveObserver(&observer); model 70 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model 71 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(0, model->ResourceCount()); model 76 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model 81 chrome/browser/task_manager/task_manager_unittest.cc ASSERT_EQ(1, model->ResourceCount()); model 82 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_TRUE(model->IsResourceFirstInGroup(0)); model 83 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test title"), model->GetResourceTitle(0)); model 84 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test profile"), model->GetResourceProfileName(0)); model 86 chrome/browser/task_manager/task_manager_unittest.cc model->GetResourceNetworkUsage(0)); model 87 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16(kZeroCPUUsage), model->GetResourceCPUUsage(0)); model 90 chrome/browser/task_manager/task_manager_unittest.cc ASSERT_EQ(2, model->ResourceCount()); model 91 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_TRUE(model->IsResourceFirstInGroup(0)); model 92 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_FALSE(model->IsResourceFirstInGroup(1)); model 93 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test title"), model->GetResourceTitle(1)); model 94 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test profile"), model->GetResourceProfileName(1)); model 96 chrome/browser/task_manager/task_manager_unittest.cc model->GetResourceNetworkUsage(1)); model 97 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16(kZeroCPUUsage), model->GetResourceCPUUsage(1)); model 101 chrome/browser/task_manager/task_manager_unittest.cc ASSERT_EQ(1, model->ResourceCount()); model 102 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_TRUE(model->IsResourceFirstInGroup(0)); model 103 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test title"), model->GetResourceTitle(0)); model 104 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16("test profile"), model->GetResourceProfileName(0)); model 106 chrome/browser/task_manager/task_manager_unittest.cc model->GetResourceNetworkUsage(0)); model 107 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(ASCIIToUTF16(kZeroCPUUsage), model->GetResourceCPUUsage(0)); model 110 chrome/browser/task_manager/task_manager_unittest.cc EXPECT_EQ(0, model->ResourceCount()); model 117 chrome/browser/task_manager/task_manager_unittest.cc TaskManagerModel* model = task_manager.model_.get(); model 122 chrome/browser/task_manager/task_manager_unittest.cc model->update_state_ = TaskManagerModel::TASK_PENDING; model 123 chrome/browser/task_manager/task_manager_unittest.cc model->Refresh(); model 1457 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateBubbleModel* bubble = factory->model(); model 1467 chrome/browser/translate/translate_manager_render_view_host_unittest.cc bubble = factory->model(); model 1480 chrome/browser/translate/translate_manager_render_view_host_unittest.cc bubble = factory->model(); model 1498 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateBubbleModel* bubble = factory->model(); model 1512 chrome/browser/translate/translate_manager_render_view_host_unittest.cc bubble = factory->model(); model 1529 chrome/browser/translate/translate_manager_render_view_host_unittest.cc ASSERT_TRUE(factory->model() == NULL); model 1539 chrome/browser/translate/translate_manager_render_view_host_unittest.cc TranslateBubbleModel* bubble = factory->model(); model 53 chrome/browser/ui/android/tab_model/tab_model_list.cc TabModel* model = *i; model 54 chrome/browser/ui/android/tab_model/tab_model_list.cc for (int index = 0; index < model->GetTabCount(); index++) { model 55 chrome/browser/ui/android/tab_model/tab_model_list.cc TabAndroid* tab = model->GetTabAt(index); model 57 chrome/browser/ui/android/tab_model/tab_model_list.cc return model; model 141 chrome/browser/ui/app_list/app_list_controller_browsertest.cc app_list::AppListModel* model = test::GetAppListModel(service); model 142 chrome/browser/ui/app_list/app_list_controller_browsertest.cc ASSERT_TRUE(model); model 143 chrome/browser/ui/app_list/app_list_controller_browsertest.cc WatchResultsLookingForItem(model->results(), extension->name()); model 147 chrome/browser/ui/app_list/app_list_controller_browsertest.cc model->search_box()->SetText(base::ASCIIToUTF16("minimal")); model 106 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc app_list::AppListModel* model = test::GetAppListModel(service); model 107 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model); model 116 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc model = test::GetAppListModel(service); model 117 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model); model 141 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc app_list::AppListModel* model = test::GetAppListModel(service); model 142 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model); model 144 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc model->search_box()->SetText(base::ASCIIToUTF16("minimal")); model 149 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc model = test::GetAppListModel(service); model 150 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model); model 154 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model->search_box()->text().empty()); model 140 chrome/browser/ui/app_list/app_list_syncable_service.cc owner_->model()->AddObserver(this); model 144 chrome/browser/ui/app_list/app_list_syncable_service.cc owner_->model()->RemoveObserver(this); model 81 chrome/browser/ui/app_list/app_list_syncable_service.h AppListModel* model() { return model_.get(); } model 171 chrome/browser/ui/app_list/app_list_view_delegate.cc profile_)->model(); model 69 chrome/browser/ui/app_list/extension_app_model_builder.cc model_ = service->model(); model 79 chrome/browser/ui/app_list/extension_app_model_builder.cc app_list::AppListModel* model) { model 81 chrome/browser/ui/app_list/extension_app_model_builder.cc model_ = model; model 48 chrome/browser/ui/app_list/extension_app_model_builder.h void InitializeWithProfile(Profile* profile, app_list::AppListModel* model); model 36 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc std::string GetModelContent(app_list::AppListModel* model) { model 38 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc for (size_t i = 0; i < model->top_level_item_list()->item_count(); ++i) { model 41 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc content += model->top_level_item_list()->item_at(i)->name(); model 200 chrome/browser/ui/app_list/fast_show_pickler.cc AppListModel* model) { model 204 chrome/browser/ui/app_list/fast_show_pickler.cc if (!result->WriteInt((int)model->top_level_item_list()->item_count())) model 206 chrome/browser/ui/app_list/fast_show_pickler.cc for (size_t i = 0; i < model->top_level_item_list()->item_count(); ++i) { model 208 chrome/browser/ui/app_list/fast_show_pickler.cc model->top_level_item_list()->item_at(i))) { model 237 chrome/browser/ui/app_list/fast_show_pickler.cc scoped_ptr<AppListModel> model(new AppListModel); model 243 chrome/browser/ui/app_list/fast_show_pickler.cc model->AddItemToFolder(item.Pass(), folder_id); model 246 chrome/browser/ui/app_list/fast_show_pickler.cc return model.Pass(); model 25 chrome/browser/ui/app_list/fast_show_pickler.h app_list::AppListModel* model); model 17 chrome/browser/ui/app_list/test/chrome_app_list_test_support.cc service->GetCurrentAppListProfile())->model(); model 47 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc scoped_ptr<AppListModel> CopyViaPickle(AppListModel* model) { model 49 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc FastShowPickler::PickleAppListModelForFastShow(model)); model 53 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc void DoConsistencyChecks(AppListModel* model) { model 54 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc scoped_ptr<AppListModel> model2(CopyViaPickle(model)); model 58 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc CheckIsSame(model, model2.get()); model 59 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc CheckIsSame(model, &dest_model); model 75 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc AppListModel model; model 76 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc DoConsistencyChecks(&model); model 80 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc AppListModel model; model 81 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc")).Pass()); model 82 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc DoConsistencyChecks(&model); model 86 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc AppListModel model; model 88 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc")).Pass()); model 89 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.SetItemNameAndShortName(app1, "hello, there", "ht"); model 91 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc2")).Pass()); model 92 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.SetItemNameAndShortName(app2, "hello, there 2", "ht2"); model 94 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc DoConsistencyChecks(&model); model 98 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc AppListModel model; model 100 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc")).Pass()); model 101 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.SetItemName(app1, "hello, there"); model 104 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc2")).Pass()); model 105 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.SetItemName(app2, "hello, there 2"); model 107 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc DoConsistencyChecks(&model); model 111 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc AppListModel model; model 113 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.AddItem(make_scoped_ptr(new AppListItem("abc")).Pass()); model 114 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc model.SetItemName(app1, "hello, there"); model 117 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc DoConsistencyChecks(&model); model 11 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.cc app_list::AppListModel* model) model 13 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.cc model_(model) { model 23 chrome/browser/ui/ash/app_list/app_sync_ui_state_watcher.h AppSyncUIStateWatcher(Profile* profile, app_list::AppListModel* model); model 116 chrome/browser/ui/ash/chrome_shell_delegate.cc ash::ShelfModel* model) { model 118 chrome/browser/ui/ash/chrome_shell_delegate.cc shelf_delegate_ = ChromeLauncherController::CreateInstance(NULL, model); model 67 chrome/browser/ui/ash/chrome_shell_delegate.h ash::ShelfModel* model) OVERRIDE; model 212 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc *(launcher_controller()->model()->ItemByID(shelf_id())); model 225 chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.cc ash::ShelfItem item = *(launcher_controller()->model()->ItemByID(shelf_id())); model 56 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc ash::ShelfModel* model = launcher_controller()->model(); model 59 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc int browser_index = model->GetItemIndexForType(ash::TYPE_BROWSER_SHORTCUT); model 61 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc ash::ShelfItem browser_item = model->items()[browser_index]; model 97 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc model->Set(browser_index, browser_item); model 228 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc *(launcher_controller()->model()->ItemByID(shelf_id())); model 314 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfModel* model) model 315 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc : model_(model), model 432 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ash::ShelfModel* model) { model 436 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc instance_ = new ChromeLauncherController(profile, model); model 137 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ChromeLauncherController(Profile* profile, ash::ShelfModel* model); model 145 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ash::ShelfModel* model); model 248 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ash::ShelfModel* model(); model 131 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc name, controller_->model()->item_count()); model 22 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc TestChromeLauncherController(Profile* profile, ash::ShelfModel* model) model 23 chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc : ChromeLauncherController(profile, model) {} model 72 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc scoped_ptr<ui::MenuModel> model; model 76 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc return model.Pass(); model 85 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc return model.Pass(); model 88 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc model.reset(menu); model 99 chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc return model.Pass(); model 73 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel model(delegate(), model 77 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model.WalletIsSelected()); model 83 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel model(delegate(), model 87 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model.WalletIsSelected()); model 94 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel model(delegate(), profile(), true, metric_logger()); model 95 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model.WalletIsSelected()); model 108 chrome/browser/ui/autofill/account_chooser_model_unittest.cc TestAccountChooserModel model(delegate(), model 112 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model.WalletIsSelected()); model 119 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->WalletIsSelected()); model 126 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->WalletIsSelected()); model 133 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->WalletIsSelected()); model 134 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->IsCommandIdEnabled( model 137 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetHadWalletError(); model 138 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 139 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->IsCommandIdEnabled( model 148 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->WalletIsSelected()); model 149 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->IsCommandIdEnabled( model 151 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->WalletIsSelected()); model 152 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_FALSE(model()->HasAccountsToChoose()); model 153 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_EQ(3, model()->GetItemCount()); model 154 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(base::string16(), model()->GetActiveWalletAccountName()); model 160 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetWalletAccounts(accounts, 0U); model 161 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->WalletIsSelected()); model 162 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->IsCommandIdEnabled( model 164 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->WalletIsSelected()); model 165 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_TRUE(model()->HasAccountsToChoose()); model 166 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(3, model()->GetItemCount()); model 167 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(ASCIIToUTF16(accounts[0]), model()->GetActiveWalletAccountName()); model 173 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetHadWalletSigninError(); model 174 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 175 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->IsCommandIdEnabled( model 177 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 178 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->HasAccountsToChoose()); model 179 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(2, model()->GetItemCount()); model 180 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(base::string16(), model()->GetActiveWalletAccountName()); model 186 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kAutofillItemId, 0); model 187 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 190 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kWalletAddAccountId, 0); model 191 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 193 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kWalletAccountsStartId, 0); model 194 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->WalletIsSelected()); model 198 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->HasAccountsToChoose()); model 203 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetWalletAccounts(accounts, 0U); model 204 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->HasAccountsToChoose()); model 205 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->WalletIsSelected()); model 206 chrome/browser/ui/autofill/account_chooser_model_unittest.cc ASSERT_EQ(4, model()->GetItemCount()); model 207 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->IsCommandIdEnabled( model 209 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->IsCommandIdEnabled( model 211 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(ASCIIToUTF16(accounts[0]), model()->GetActiveWalletAccountName()); model 212 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetWalletAccounts(accounts, 1U); model 213 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(ASCIIToUTF16(accounts[1]), model()->GetActiveWalletAccountName()); model 215 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kWalletAccountsStartId, 0); model 216 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(ASCIIToUTF16(accounts[0]), model()->GetActiveWalletAccountName()); model 217 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kWalletAccountsStartId + 1, model 219 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_EQ(ASCIIToUTF16(accounts[1]), model()->GetActiveWalletAccountName()); model 222 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->ExecuteCommand(TestAccountChooserModel::kAutofillItemId, 0); model 223 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_FALSE(model()->WalletIsSelected()); model 224 chrome/browser/ui/autofill/account_chooser_model_unittest.cc model()->SetWalletAccounts(accounts, 1U); model 225 chrome/browser/ui/autofill/account_chooser_model_unittest.cc EXPECT_TRUE(model()->WalletIsSelected()); model 658 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ui::MenuModel* model = controller()->MenuModelForSection(SECTION_SHIPPING); model 659 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc model->ActivatedAt(model->GetItemCount() - 2); model 896 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ui::MenuModel* model = controller()->MenuModelForSection(SECTION_CC); model 897 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ASSERT_EQ(4, model->GetItemCount()); model 899 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ASSERT_TRUE(model->IsItemCheckedAt(0)); model 902 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc model->ActivatedAt(1); model 903 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc ASSERT_TRUE(model->IsItemCheckedAt(1)); model 695 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc CountryComboboxModel* model = CountryComboboxModelForSection(section); model 696 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model) model 697 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc country_code = model->GetDefaultCountryCode(); model 1189 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc CountryComboboxModel* model = CountryComboboxModelForSection(section); model 1190 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model) { model 1191 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 country = model->GetItemAt(model->GetDefaultIndex()); model 1211 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 1213 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (IsASuggestionItemKey(model->GetItemKeyForCheckedItem()) && model 1237 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ui::ComboboxModel* model = ComboboxModelForAutofillType(type); model 1238 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model && model->GetItemAt(model->GetDefaultIndex()) == value) model 1251 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 1252 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model->GetItemKeyForCheckedItem() != kAddNewItemKey) model 1421 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 1425 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return model; model 1428 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 1429 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (IsASuggestionItemKey(model->GetItemKeyAt(i))) model 1430 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return model; model 1515 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 1516 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::string item_key = model->GetItemKeyForCheckedItem(); model 1571 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const SuggestionsMenuModel* model = model 1573 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const std::string item_key = model->GetItemKeyForCheckedItem(); model 1592 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const SuggestionsMenuModel* model = model 1594 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const std::string item_key = model->GetItemKeyForCheckedItem(); model 1622 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 1623 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::string item_key = model->GetItemKeyForCheckedItem(); model 1660 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc scoped_ptr<DataModelWrapper> model = CreateWrapper(section); model 1661 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!model.get()) model 1664 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return model->GetIcon(); model 1672 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc scoped_ptr<DataModelWrapper> model = CreateWrapper(section); model 1673 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!model.get()) model 1677 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc model->GetInfo(AutofillType(CREDIT_CARD_TYPE))); model 2381 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model, model 2385 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model->GetItemKeyAt(index) == kManageItemsKey) { model 2397 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc url = SectionForSuggestionsMenuModel(*model) == SECTION_SHIPPING ? model 2406 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc model->SetCheckedIndex(index); model 2407 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc DialogSection section = SectionForSuggestionsMenuModel(*model); model 2415 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc LogSuggestionItemSelectedMetric(*model); model 3014 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 3015 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc model->SetCheckedItem(guid); model 3017 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc model->SetCheckedItem(guid); model 3176 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc CountryComboboxModel* model = CountryComboboxModelForSection(section); model 3177 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const std::vector<AutofillCountry*>& countries = model->countries(); model 3218 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const SuggestionsMenuModel& model) { model 3219 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (&model == &suggested_cc_) model 3222 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (&model == &suggested_billing_) model 3225 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (&model == &suggested_cc_billing_) model 3228 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc DCHECK_EQ(&model, &suggested_shipping_); model 3325 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc CountryComboboxModel* model = CountryComboboxModelForSection(section); model 3326 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!model) model 3725 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 3726 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc std::string item_key = model->GetItemKeyForCheckedItem(); model 3779 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc SuggestionsMenuModel* model = SuggestionsMenuModelForSection(section); model 3780 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 3782 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (IsASuggestionItemKey(model->GetItemKeyAt(i)) && model->IsEnabledAt(i)) { model 3783 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc *guid = model->GetItemKeyAt(i); model 3786 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc } else if (!IsASuggestionItemKey(model->GetItemKeyAt(i)) && guid->empty()) { model 3787 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc *guid = model->GetItemKeyAt(i); model 3852 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc const SuggestionsMenuModel& model) { model 3853 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc DialogSection section = SectionForSuggestionsMenuModel(model); model 3856 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (model.GetItemKeyForCheckedItem() == kAddNewItemKey) { model 3859 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc } else if (IsASuggestionItemKey(model.GetItemKeyForCheckedItem())) { model 183 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h virtual void SuggestionItemSelected(SuggestionsMenuModel* model, model 447 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h const SuggestionsMenuModel& model); model 596 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h void LogSuggestionItemSelectedMetric(const SuggestionsMenuModel& model); model 512 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = GetMenuModelForSection(section); model 513 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc if (model) model 514 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc model->ActivatedAt(model->GetItemCount() - 2); model 545 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = controller_->MenuModelForAccountChooser(); model 546 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc model->ActivatedAt(model->GetItemCount() - 1); model 595 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = controller()->MenuModelForSection(section); model 596 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc return static_cast<SuggestionsMenuModel*>(model); model 1794 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = controller()->MenuModelForSection(SECTION_CC_BILLING); model 1795 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc model->ActivatedAt(model->GetItemCount() - 2); model 1882 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = controller()->MenuModelForSection(SECTION_BILLING); model 1884 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc model->ActivatedAt(model->GetItemCount() - 2); model 3317 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::MenuModel* model = controller()->MenuModelForSection(SECTION_BILLING); model 3318 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ASSERT_TRUE(model); model 3319 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_EQ(4, model->GetItemCount()); model 3320 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(model->IsEnabledAt(0)); model 3321 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(model->IsEnabledAt(1)); model 3338 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc ui::ComboboxModel* model = model 3340 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 3341 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("China"), model->GetItemAt(i)); model 3342 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("South Korea"), model->GetItemAt(i)); model 3345 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc model = controller()->ComboboxModelForAutofillType(ADDRESS_HOME_COUNTRY); model 3346 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 3347 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("China"), model->GetItemAt(i)); model 3348 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_NE(base::ASCIIToUTF16("South Korea"), model->GetItemAt(i)); model 29 chrome/browser/ui/autofill/autofill_dialog_models.h virtual void SuggestionItemSelected(SuggestionsMenuModel* model, model 38 chrome/browser/ui/autofill/country_combobox_model_unittest.cc std::string default_country = model()->GetDefaultCountryCode(); model 43 chrome/browser/ui/autofill/country_combobox_model_unittest.cc EXPECT_EQ(country.name(), model()->GetItemAt(0)); model 47 chrome/browser/ui/autofill/country_combobox_model_unittest.cc for (int i = 0; i < model()->GetItemCount(); ++i) { model 48 chrome/browser/ui/autofill/country_combobox_model_unittest.cc if (model()->IsItemSeparatorAt(i)) model 51 chrome/browser/ui/autofill/country_combobox_model_unittest.cc std::string country_code = model()->countries()[i]->country_code(); model 25 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc MonthComboboxModel model; model 29 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc EXPECT_EQ(model.GetItemAt(month), model 160 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc MonthComboboxModel model; model 164 chrome/browser/ui/autofill/data_model_wrapper_unittest.cc EXPECT_EQ(model.GetItemAt(month), model 335 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc OmniboxEditModel* model = location_bar->GetOmniboxView()->model(); model 336 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc EXPECT_EQ(GURL(search_string), model->CurrentMatch(NULL).destination_url); model 338 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc model->CurrentMatch(NULL).contents); model 25 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 32 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc model->Move(dragged_nodes[i], parent_node, index); model 40 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc bookmark_utils::CloneBookmarkNode(model, data.elements, parent_node, model 12 chrome/browser/ui/bookmarks/bookmark_editor.cc const BookmarkNode* CreateNewNode(BookmarkModel* model, model 28 chrome/browser/ui/bookmarks/bookmark_editor.cc node = model->AddURL(parent, insert_index, new_title, new_url); model 30 chrome/browser/ui/bookmarks/bookmark_editor.cc node = model->AddFolder(parent, insert_index, new_title); model 32 chrome/browser/ui/bookmarks/bookmark_editor.cc model->AddURL(node, node->child_count(), details.urls[i].second, model 35 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetDateFolderModified(parent, base::Time::Now()); model 124 chrome/browser/ui/bookmarks/bookmark_editor.cc BookmarkModel* model, model 131 chrome/browser/ui/bookmarks/bookmark_editor.cc return CreateNewNode(model, parent, details, new_title, new_url); model 138 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetURL(node, new_url); model 139 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetTitle(node, new_title); model 146 chrome/browser/ui/bookmarks/bookmark_editor.cc BookmarkModel* model, model 153 chrome/browser/ui/bookmarks/bookmark_editor.cc return CreateNewNode(model, new_parent, details, new_title, new_url); model 160 chrome/browser/ui/bookmarks/bookmark_editor.cc model->Move(node, new_parent, new_parent->child_count()); model 162 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetURL(node, new_url); model 163 chrome/browser/ui/bookmarks/bookmark_editor.cc model->SetTitle(node, new_title); model 111 chrome/browser/ui/bookmarks/bookmark_editor.h BookmarkModel* model, model 122 chrome/browser/ui/bookmarks/bookmark_editor.h BookmarkModel* model, model 15 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc BookmarkModel model(NULL); model 16 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc const BookmarkNode* bookmarkbar = model.bookmark_bar_node(); model 17 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc model.AddURL(bookmarkbar, 0, ASCIIToUTF16("url0"), GURL("chrome://newtab")); model 18 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc model.AddURL(bookmarkbar, 1, ASCIIToUTF16("url1"), GURL("chrome://newtab")); model 23 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc BookmarkEditor::ApplyEditsWithNoFolderChange(&model, model 33 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc BookmarkEditor::ApplyEditsWithNoFolderChange(&model, model 43 chrome/browser/ui/bookmarks/bookmark_editor_unittest.cc BookmarkEditor::ApplyEditsWithNoFolderChange(&model, model 112 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile( model 114 chrome/browser/ui/bookmarks/bookmark_prompt_controller.cc return model && model->IsBookmarked(url); model 104 chrome/browser/ui/bookmarks/bookmark_tab_helper.cc void BookmarkTabHelper::BookmarkModelLoaded(BookmarkModel* model, model 109 chrome/browser/ui/bookmarks/bookmark_tab_helper.cc void BookmarkTabHelper::BookmarkNodeAdded(BookmarkModel* model, model 115 chrome/browser/ui/bookmarks/bookmark_tab_helper.cc void BookmarkTabHelper::BookmarkNodeRemoved(BookmarkModel* model, model 122 chrome/browser/ui/bookmarks/bookmark_tab_helper.cc void BookmarkTabHelper::BookmarkAllNodesRemoved(BookmarkModel* model) { model 126 chrome/browser/ui/bookmarks/bookmark_tab_helper.cc void BookmarkTabHelper::BookmarkNodeChanged(BookmarkModel* model, model 67 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 69 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 72 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 76 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 78 chrome/browser/ui/bookmarks/bookmark_tab_helper.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 19 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc BookmarkModel model(NULL); model 24 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), 0, model 33 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* folder1 = model.AddFolder(model.bookmark_bar_node(), 0, model 39 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); model 48 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.Remove(folder1, 0); model 50 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* subfolder1 = model.AddFolder(folder1, 0, model 54 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); model 59 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc BookmarkModel model(NULL); model 65 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), 0, model 74 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* page2 = model.AddURL(model.bookmark_bar_node(), 0, model 83 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* folder1 = model.AddFolder(model.bookmark_bar_node(), 0, model 91 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("chrome://bookmarks")); model 94 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); model 104 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.Remove(folder1, 0); model 106 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc const BookmarkNode* subfolder1 = model.AddFolder(folder1, 0, model 110 chrome/browser/ui/bookmarks/bookmark_ui_utils_unittest.cc model.AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); model 252 chrome/browser/ui/bookmarks/bookmark_utils.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 253 chrome/browser/ui/bookmarks/bookmark_utils.cc DCHECK(model && model->loaded()); model 255 chrome/browser/ui/bookmarks/bookmark_utils.cc const BookmarkNode* parent = model->GetParentForNewNodes(); model 50 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 52 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc : bookmark_model_(model), model 57 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc bookmark_utils::GetMostRecentlyModifiedFolders(model, kMaxMRUFolders + 2); model 64 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc RemoveNode(model->bookmark_bar_node()); model 65 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc RemoveNode(model->mobile_node()); model 66 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc RemoveNode(model->other_node()); model 71 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc if (!model->is_permanent_node(node->parent())) model 79 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc items_.push_back(Item(model->bookmark_bar_node(), Item::TYPE_NODE)); model 80 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc items_.push_back(Item(model->other_node(), Item::TYPE_NODE)); model 81 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc if (model->mobile_node()->IsVisible()) model 82 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc items_.push_back(Item(model->mobile_node(), Item::TYPE_NODE)); model 135 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc void RecentlyUsedFoldersComboModel::BookmarkModelLoaded(BookmarkModel* model, model 139 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model) { model 143 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 151 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 157 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 180 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 187 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 192 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 197 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model, model 202 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc BookmarkModel* model) { model 26 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h RecentlyUsedFoldersComboModel(BookmarkModel* model, const BookmarkNode* node); model 38 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 40 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 41 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 46 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 49 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void OnWillRemoveBookmarks(BookmarkModel* model, model 53 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 57 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 59 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 62 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h BookmarkModel* model, model 64 chrome/browser/ui/bookmarks/recently_used_folders_combo_model.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 35 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc virtual void OnComboboxModelChanged(ui::ComboboxModel* model) OVERRIDE { model 89 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc RecentlyUsedFoldersComboModel model(GetModel(), new_node); model 91 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc for (int i = 0; i < model.GetItemCount(); ++i) { model 92 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc if (!model.IsItemSeparatorAt(i)) model 93 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc EXPECT_EQ(0u, items.count(model.GetItemAt(i))); model 105 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc RecentlyUsedFoldersComboModel model(GetModel(), new_node); model 107 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc model.AddObserver(&observer); model 109 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc const int initial_count = model.GetItemCount(); model 113 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc const int updated_count = model.GetItemCount(); model 119 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc EXPECT_LT(model.GetItemCount(), updated_count); model 121 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc model.RemoveObserver(&observer); model 1209 chrome/browser/ui/browser_browsertest.cc TabStripModel* model = browser()->tab_strip_model(); model 1224 chrome/browser/ui/browser_browsertest.cc model->AddWebContents(app_contents, 0, content::PageTransitionFromInt(0), model 1226 chrome/browser/ui/browser_browsertest.cc model->SetTabPinned(0, true); model 1230 chrome/browser/ui/browser_browsertest.cc model->AddObserver(&observer); model 1238 chrome/browser/ui/browser_browsertest.cc model->RemoveObserver(&observer); model 1340 chrome/browser/ui/browser_browsertest.cc TabStripModel* model = browser()->tab_strip_model(); model 1350 chrome/browser/ui/browser_browsertest.cc model->AddWebContents(app_contents, 0, content::PageTransitionFromInt(0), model 1352 chrome/browser/ui/browser_browsertest.cc model->SetTabPinned(0, true); model 1361 chrome/browser/ui/browser_browsertest.cc model->SetTabPinned(2, true); model 1342 chrome/browser/ui/browser_command_controller.cc TabStripModel* model = browser_->tab_strip_model(); model 1343 chrome/browser/ui/browser_command_controller.cc bool enabled = !model->IsTabBlocked(model->active_index()) && model 117 chrome/browser/ui/browser_commands.cc BookmarkModel* model = model 122 chrome/browser/ui/browser_commands.cc model && model->loaded() && browser->is_type_tabbed() && model 171 chrome/browser/ui/browser_commands.cc BookmarkModel* model = model 173 chrome/browser/ui/browser_commands.cc if (!model || !model->loaded()) model 181 chrome/browser/ui/browser_commands.cc bool was_bookmarked = model->IsBookmarked(url); model 187 chrome/browser/ui/browser_commands.cc bookmark_utils::AddIfNotBookmarked(model, url, title); model 192 chrome/browser/ui/browser_commands.cc if (browser->window()->IsActive() && model->IsBookmarked(url)) { model 922 chrome/browser/ui/browser_focus_uitest.cc browser()->window()->GetLocationBar()->GetOmniboxView()->model()-> model 165 chrome/browser/ui/chrome_pages.cc EnumerateModulesModel* model = EnumerateModulesModel::GetInstance(); model 166 chrome/browser/ui/chrome_pages.cc if (model->modules_to_notify_about() > 0) { model 167 chrome/browser/ui/chrome_pages.cc GURL help_center_url = model->GetFirstNotableConflict(); model 171 chrome/browser/ui/chrome_pages.cc model->AcknowledgeConflictNotification(); model 26 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h BookmarkModel* model); model 30 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 32 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 33 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 38 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 41 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 45 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 46 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 48 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 50 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 52 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 53 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 366 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)loaded:(BookmarkModel*)model; model 367 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)beingDeleted:(BookmarkModel*)model; model 368 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeAdded:(BookmarkModel*)model model 370 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeChanged:(BookmarkModel*)model model 372 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeMoved:(BookmarkModel*)model model 375 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeRemoved:(BookmarkModel*)model model 377 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeFaviconLoaded:(BookmarkModel*)model model 379 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (void)nodeChildrenReordered:(BookmarkModel*)model model 53 chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h model:(BookmarkModel*)model model 43 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 45 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 46 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 51 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 54 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 58 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 59 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 61 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 63 chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 39 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h BookmarkModelObserverForCocoa(BookmarkModel* model, model 49 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 50 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 55 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 59 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 60 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 66 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 68 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 71 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 74 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h BookmarkModel* model, model 78 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h BookmarkModel* model) OVERRIDE {} model 80 chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE {} model 29 chrome/browser/ui/cocoa/confirm_bubble_controller.h model:(ConfirmBubbleModel*)model; model 30 chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.h scoped_ptr<ContentSettingMediaMenuModel> model; model 16 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h explicit CookiesTreeControllerBridge(CookiesTreeModel* model); model 20 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h virtual void TreeNodesAdded(ui::TreeModel* model, model 24 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h virtual void TreeNodesRemoved(ui::TreeModel* model, model 28 chrome/browser/ui/cocoa/content_settings/cookies_tree_controller_bridge.h virtual void TreeNodeChanged(ui::TreeModel* model, model 39 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h StatusIconMenuModel* model) OVERRIDE; model 46 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h void CreateMenu(ui::MenuModel* model, NSString* toolTip); model 23 chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE; model 35 chrome/browser/ui/cocoa/table_row_nsimage_cache.h explicit TableRowNSImageCache(Table* model); model 26 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h TabStripModelObserverBridge(TabStripModel* model, id controller); model 34 chrome/browser/ui/cocoa/translate/translate_bubble_controller.h @property(readonly, nonatomic) const TranslateBubbleModel* model; model 37 chrome/browser/ui/cocoa/translate/translate_bubble_controller.h model:(scoped_ptr<TranslateBubbleModel>)model model 21 chrome/browser/ui/cocoa/wrench_menu/recent_tabs_menu_model_delegate.h RecentTabsMenuModelDelegate(ui::MenuModel* model, NSMenu* menu); model 23 chrome/browser/ui/confirm_bubble.h ConfirmBubbleModel* model); model 27 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc explicit NotificationForwarder(ContentSettingImageModel* model) model 28 chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc : model_(model) { model 279 chrome/browser/ui/extensions/application_launch.cc TabStripModel* model = browser->tab_strip_model(); model 280 chrome/browser/ui/extensions/application_launch.cc int tab_index = model->GetIndexOfWebContents(existing_tab); model 290 chrome/browser/ui/extensions/application_launch.cc model->SetTabPinned(tab_index, true); model 292 chrome/browser/ui/extensions/application_launch.cc tab_index = model->GetIndexOfWebContents(existing_tab); model 295 chrome/browser/ui/extensions/application_launch.cc model->ActivateTabAt(tab_index, true); model 881 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkModelLoaded(BookmarkModel* model, model 892 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkModelBeingDeleted(BookmarkModel* model) { model 902 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeMoved(BookmarkModel* model, model 908 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc BookmarkNodeRemoved(model, old_parent, old_index, node); model 909 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc BookmarkNodeAdded(model, new_parent, new_index); model 912 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeAdded(BookmarkModel* model, model 936 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeRemoved(BookmarkModel* model, model 959 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkAllNodesRemoved(BookmarkModel* model) { model 964 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeChanged(BookmarkModel* model, model 976 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc ConfigureButtonForNode(node, model, button, theme_service_); model 980 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeFaviconChanged(BookmarkModel* model, model 982 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc BookmarkNodeChanged(model, node); model 985 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc void BookmarkBarGtk::BookmarkNodeChildrenReordered(BookmarkModel* model, model 211 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 213 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 214 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 219 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 222 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 226 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 227 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 229 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 231 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 78 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gboolean IsSeparator(GtkTreeModel* model, GtkTreeIter* iter, gpointer data) { model 80 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc gtk_tree_model_get(model, iter, COLUMN_IS_SEPARATOR, &is_separator, -1); model 61 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc gboolean ExpandNodes(GtkTreeModel* model, model 66 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc int64 node_id = GetIdFromTreeIter(model, iter); model 164 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc GtkTreeModel* model = NULL; model 166 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc &model, model 170 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc const BookmarkNode* selected_node = GetNodeAt(model, &iter); model 214 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc const BookmarkNode* GetNodeAt(GtkTreeModel* model, GtkTreeIter* iter) const { model 215 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc int64 id = GetIdFromTreeIter(model, iter); model 220 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc GtkTreeModel* model; model 223 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc &model, model 228 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc return GetNodeAt(model, &iter); model 470 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void BookmarkEditorGtk::BookmarkNodeMoved(BookmarkModel* model, model 478 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void BookmarkEditorGtk::BookmarkNodeAdded(BookmarkModel* model, model 484 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void BookmarkEditorGtk::BookmarkNodeRemoved(BookmarkModel* model, model 498 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc void BookmarkEditorGtk::BookmarkAllNodesRemoved(BookmarkModel* model) { model 503 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc BookmarkModel* model, const BookmarkNode* node) { model 61 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 63 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 68 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 71 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 75 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 76 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 78 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 80 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 40 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc BookmarkModel* model) { model 41 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc GdkPixbuf* pixbuf = GetPixbufForNode(node, model, true); model 119 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc BookmarkModel* model, const BookmarkNode* node) { model 123 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.cc SetImageMenuItem(it->second, node, model); model 54 chrome/browser/ui/gtk/bookmarks/bookmark_menu_controller_gtk.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 37 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc BookmarkModel* model, model 42 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc model_(model), model 142 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (model()) model 143 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc model()->RemoveObserver(this); model 146 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc void BookmarkSubMenuModel::BookmarkModelLoaded(BookmarkModel* model, model 159 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc BookmarkModel* model) { model 176 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (!model()) { model 178 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (!model()) model 180 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc model()->AddObserver(this); model 183 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (!model()->loaded()) model 186 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (model()->bookmark_bar_node()->GetTotalNodeCount() > 1) { model 190 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc set_node(model()->bookmark_bar_node()); model 199 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (model()->other_node()->GetTotalNodeCount() > 1) model 200 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc AddSubMenuForNode(model()->other_node()); model 201 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc if (model()->mobile_node()->GetTotalNodeCount() > 1) model 202 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc AddSubMenuForNode(model()->mobile_node()); model 29 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h BookmarkModel* model, 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 97 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 100 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 116 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc void AddToTreeStore(BookmarkModel* model, int64 selected_id, model 118 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc const BookmarkNode* root_node = model->root_node(); model 218 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc int64 GetIdFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter) { model 221 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc gtk_tree_model_get_value(model, iter, ITEM_ID, &value); model 230 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc base::string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter) { model 233 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.cc gtk_tree_model_get_value(model, iter, FOLDER_NAME, &value); model 42 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h void AddToTreeStore(BookmarkModel* model, int64 selected_id, model 63 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h BookmarkModel* model, GtkTreeStore* tree_store, model 67 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h int64 GetIdFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); model 70 chrome/browser/ui/gtk/bookmarks/bookmark_tree_model.h base::string16 GetTitleFromTreeIter(GtkTreeModel* model, GtkTreeIter* iter); model 172 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 177 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const gfx::Image& favicon = model->GetFavicon(node); model 231 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 234 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc node, model, provider->UsingNativeTheme()); model 241 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 245 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc GetPixbufForNode(node, model, provider->UsingNativeTheme()); model 246 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc PackButton(pixbuf, node->GetTitle(), node != model->other_node(), provider, model 441 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 449 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc model->AddURL(parent, idx, title, url); model 454 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 461 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc model->AddURL(parent, idx++, title, urls[i]); model 467 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc BookmarkModel* model, model 475 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc model->AddURL(parent, idx, title, url); model 30 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 39 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 45 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 96 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 103 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 109 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.h BookmarkModel* model, model 262 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc extensions::ExtensionToolbarModel* model = toolbar_->model(); model 267 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc switch (model->ExecuteBrowserAction( model 63 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h extensions::ExtensionToolbarModel* model() { return model_; } model 664 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeModel* model; model 665 chrome/browser/ui/gtk/certificate_viewer_gtk.cc if (gtk_tree_selection_get_selected(selection, &model, &iter)) { model 667 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_tree_model_get(model, &iter, HIERARCHY_OBJECT, &fields_store, -1); model 682 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeModel* model; model 683 chrome/browser/ui/gtk/certificate_viewer_gtk.cc if (gtk_tree_selection_get_selected(selection, &model, &iter)) { model 685 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_tree_model_get(model, &iter, FIELDS_VALUE, &value_string, -1); model 701 chrome/browser/ui/gtk/certificate_viewer_gtk.cc GtkTreeModel* model; model 702 chrome/browser/ui/gtk/certificate_viewer_gtk.cc if (!gtk_tree_selection_get_selected(viewer->hierarchy_selection_, &model, model 706 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_tree_model_get(model, &iter, HIERARCHY_INDEX, &cert_index, -1); model 382 chrome/browser/ui/gtk/collected_cookies_gtk.cc GtkTreeModel* model; model 383 chrome/browser/ui/gtk/collected_cookies_gtk.cc GList* paths = gtk_tree_selection_get_selected_rows(selection, &model); model 387 chrome/browser/ui/gtk/collected_cookies_gtk.cc gtk_tree_model_get_iter(model, &iter, model 415 chrome/browser/ui/gtk/collected_cookies_gtk.cc GtkTreeModel* model; model 417 chrome/browser/ui/gtk/collected_cookies_gtk.cc gtk_tree_selection_get_selected_rows(selection, &model); model 422 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); model 477 chrome/browser/ui/gtk/collected_cookies_gtk.cc GtkTreeModel* model; model 479 chrome/browser/ui/gtk/collected_cookies_gtk.cc gtk_tree_selection_get_selected_rows(selection, &model); model 485 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); model 522 chrome/browser/ui/gtk/collected_cookies_gtk.cc GtkTreeModel* model; model 524 chrome/browser/ui/gtk/collected_cookies_gtk.cc allowed_selection_, &model); model 528 chrome/browser/ui/gtk/collected_cookies_gtk.cc model, &iter, reinterpret_cast<GtkTreePath*>(item->data)); model 47 chrome/browser/ui/gtk/confirm_bubble_gtk.cc ConfirmBubbleModel* model) model 51 chrome/browser/ui/gtk/confirm_bubble_gtk.cc model_(model) { model 52 chrome/browser/ui/gtk/confirm_bubble_gtk.cc DCHECK(model); model 189 chrome/browser/ui/gtk/confirm_bubble_gtk.cc ConfirmBubbleModel* model) { model 190 chrome/browser/ui/gtk/confirm_bubble_gtk.cc ConfirmBubbleGtk* bubble = new ConfirmBubbleGtk(view, origin, model); model 44 chrome/browser/ui/gtk/confirm_bubble_gtk.h ConfirmBubbleModel* model); model 27 chrome/browser/ui/gtk/gtk_tree.cc gint GetRowNumForIter(GtkTreeModel* model, GtkTreeIter* iter) { model 28 chrome/browser/ui/gtk/gtk_tree.cc GtkTreePath* path = gtk_tree_model_get_path(model, iter); model 44 chrome/browser/ui/gtk/gtk_tree.cc GtkTreeModel* model = gtk_tree_view_get_model(tree_view); model 45 chrome/browser/ui/gtk/gtk_tree.cc if (!model) { model 50 chrome/browser/ui/gtk/gtk_tree.cc if (!gtk_tree_model_iter_nth_child(model, &iter, NULL, row)) { model 54 chrome/browser/ui/gtk/gtk_tree.cc GtkTreePath* path = gtk_tree_model_get_path(model, &iter); model 315 chrome/browser/ui/gtk/gtk_tree.cc gboolean TableAdapter::OnCheckRowIsSeparator(GtkTreeModel* model, model 319 chrome/browser/ui/gtk/gtk_tree.cc gtk_tree_model_get(model, model 329 chrome/browser/ui/gtk/gtk_tree.cc GtkTreeModel* model, model 334 chrome/browser/ui/gtk/gtk_tree.cc if (!gtk_tree_model_get_iter(model, &iter, path)) { model 339 chrome/browser/ui/gtk/gtk_tree.cc gtk_tree_model_get(model, &iter, COL_IS_HEADER, &is_header, -1); model 435 chrome/browser/ui/gtk/gtk_tree.cc void TreeAdapter::TreeNodesAdded(ui::TreeModel* model, model 452 chrome/browser/ui/gtk/gtk_tree.cc void TreeAdapter::TreeNodesRemoved(ui::TreeModel* model, model 468 chrome/browser/ui/gtk/gtk_tree.cc void TreeAdapter::TreeNodeChanged(ui::TreeModel* model, model 29 chrome/browser/ui/gtk/gtk_tree.h gint GetRowNumForIter(GtkTreeModel* model, GtkTreeIter* iter); model 102 chrome/browser/ui/gtk/gtk_tree.h static gboolean OnCheckRowIsSeparator(GtkTreeModel* model, model 109 chrome/browser/ui/gtk/gtk_tree.h GtkTreeModel* model, model 176 chrome/browser/ui/gtk/gtk_tree.h virtual void TreeNodesAdded(ui::TreeModel* model, model 180 chrome/browser/ui/gtk/gtk_tree.h virtual void TreeNodesRemoved(ui::TreeModel* model, model 184 chrome/browser/ui/gtk/gtk_tree.h virtual void TreeNodeChanged(ui::TreeModel* model, model 254 chrome/browser/ui/gtk/infobars/infobar_gtk.cc ui::MenuModel* model) { model 255 chrome/browser/ui/gtk/infobars/infobar_gtk.cc menu_.reset(new MenuGtk(delegate, model)); model 115 chrome/browser/ui/gtk/infobars/infobar_gtk.h ui::MenuModel* model); model 153 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc GtkListStore* model = gtk_list_store_new(LANGUAGE_COMBO_COLUMN_COUNT, model 164 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc gtk_list_store_append(model, &tree_iter); model 165 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc gtk_list_store_set(model, &tree_iter, model 176 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc GtkWidget* combobox = gtk_combo_box_new_with_model(GTK_TREE_MODEL(model)); model 179 chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.cc g_object_unref(model); model 613 chrome/browser/ui/gtk/location_bar_view_gtk.cc const base::string16 keyword(omnibox_view_->model()->keyword()); model 614 chrome/browser/ui/gtk/location_bar_view_gtk.cc const bool is_keyword_hint = omnibox_view_->model()->is_keyword_hint(); model 681 chrome/browser/ui/gtk/location_bar_view_gtk.cc omnibox_view_->model()->AcceptInput(CURRENT_TAB, false); model 1189 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!omnibox_view_->model()->keyword().empty() && model 1190 chrome/browser/ui/gtk/location_bar_view_gtk.cc !omnibox_view_->model()->is_keyword_hint()) { model 60 chrome/browser/ui/gtk/menu_gtk.cc ui::ButtonMenuItemModel* model, model 63 chrome/browser/ui/gtk/menu_gtk.cc model); model 291 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* model) model 293 chrome/browser/ui/gtk/menu_gtk.cc model_(model), model 297 chrome/browser/ui/gtk/menu_gtk.cc DCHECK(model); model 378 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* model, model 383 chrome/browser/ui/gtk/menu_gtk.cc return InsertMenuItemToMenu(index, model, menu_item, menu, model 388 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* model, model 405 chrome/browser/ui/gtk/menu_gtk.cc if (model) { model 406 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsVisibleAt(index)) model 478 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::BuildSubmenuFromModel(ui::MenuModel* model, GtkWidget* menu) { model 481 chrome/browser/ui/gtk/menu_gtk.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 484 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))); model 487 chrome/browser/ui/gtk/menu_gtk.cc switch (model->GetTypeAt(i)) { model 498 chrome/browser/ui/gtk/menu_gtk.cc radio_groups.find(model->GetGroupIdAt(i)); model 503 chrome/browser/ui/gtk/menu_gtk.cc radio_groups[model->GetGroupIdAt(i)] = menu_item; model 512 chrome/browser/ui/gtk/menu_gtk.cc model->GetButtonMenuItemAt(i); model 519 chrome/browser/ui/gtk/menu_gtk.cc int command_id = model->GetCommandIdAt(i); model 520 chrome/browser/ui/gtk/menu_gtk.cc if (model->GetIconAt(i, &icon)) model 535 chrome/browser/ui/gtk/menu_gtk.cc if (model->GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) { model 538 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* submenu_model = model->GetSubmenuModelAt(i); model 548 chrome/browser/ui/gtk/menu_gtk.cc if (model->GetAcceleratorAt(i, &accelerator)) { model 557 chrome/browser/ui/gtk/menu_gtk.cc g_object_set_data(G_OBJECT(menu_item), "model", model); model 558 chrome/browser/ui/gtk/menu_gtk.cc AppendMenuItemToMenu(i, model, menu_item, menu, connect_to_activate); model 564 chrome/browser/ui/gtk/menu_gtk.cc GtkWidget* MenuGtk::BuildButtonMenuItem(ui::ButtonMenuItemModel* model, model 568 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->label())).c_str()); model 571 chrome/browser/ui/gtk/menu_gtk.cc g_object_set_data(G_OBJECT(menu_item), "button-model", model); model 578 chrome/browser/ui/gtk/menu_gtk.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 581 chrome/browser/ui/gtk/menu_gtk.cc switch (model->GetTypeAt(i)) { model 589 chrome/browser/ui/gtk/menu_gtk.cc model->GetCommandIdAt(i)); model 592 chrome/browser/ui/gtk/menu_gtk.cc if (model->GetIconAt(i, &icon_idr)) { model 598 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))).c_str()); model 601 chrome/browser/ui/gtk/menu_gtk.cc SetUpButtonShowHandler(button, model, i); model 607 chrome/browser/ui/gtk/menu_gtk.cc model->GetCommandIdAt(i)); model 611 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(i))).c_str()); model 612 chrome/browser/ui/gtk/menu_gtk.cc SetUpButtonShowHandler(button, model, i); model 617 chrome/browser/ui/gtk/menu_gtk.cc if (button && model->PartOfGroup(i)) { model 635 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* model = ModelForMenuItem(GTK_MENU_ITEM(menu_item)); model 637 chrome/browser/ui/gtk/menu_gtk.cc if (!model) { model 657 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsEnabledAt(id)) model 658 chrome/browser/ui/gtk/menu_gtk.cc ExecuteCommand(model, id); model 662 chrome/browser/ui/gtk/menu_gtk.cc ui::ButtonMenuItemModel* model = model 665 chrome/browser/ui/gtk/menu_gtk.cc if (model && model->IsCommandIdEnabled(command_id)) { model 669 chrome/browser/ui/gtk/menu_gtk.cc model->ActivatedCommand(command_id); model 676 chrome/browser/ui/gtk/menu_gtk.cc ui::ButtonMenuItemModel* model = model 679 chrome/browser/ui/gtk/menu_gtk.cc if (model && model 680 chrome/browser/ui/gtk/menu_gtk.cc model->IsCommandIdEnabled(command_id) && model 681 chrome/browser/ui/gtk/menu_gtk.cc !model->DoesCommandIdDismissMenu(command_id)) { model 685 chrome/browser/ui/gtk/menu_gtk.cc model->ActivatedCommand(command_id); model 757 chrome/browser/ui/gtk/menu_gtk.cc void MenuGtk::ExecuteCommand(ui::MenuModel* model, int id) { model 766 chrome/browser/ui/gtk/menu_gtk.cc model->ActivatedAt(id, event_flags); model 891 chrome/browser/ui/gtk/menu_gtk.cc ui::ButtonMenuItemModel* model = model 897 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsItemDynamicAt(index)) { model 899 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(index))); model 903 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_set_sensitive(GTK_WIDGET(button), model->IsEnabledAt(index)); model 918 chrome/browser/ui/gtk/menu_gtk.cc ui::MenuModel* model = ModelForMenuItem(GTK_MENU_ITEM(widget)); model 919 chrome/browser/ui/gtk/menu_gtk.cc if (!model) { model 939 chrome/browser/ui/gtk/menu_gtk.cc gtk_check_menu_item_set_active(item, model->IsItemCheckedAt(id)); model 951 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); model 953 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsVisibleAt(id)) { model 955 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsItemDynamicAt(id)) { model 957 chrome/browser/ui/gtk/menu_gtk.cc base::UTF16ToUTF8(model->GetLabelAt(id))); model 962 chrome/browser/ui/gtk/menu_gtk.cc if (model->GetIconAt(id, &icon)) { model 59 chrome/browser/ui/gtk/menu_gtk.h MenuGtk(MenuGtk::Delegate* delegate, ui::MenuModel* model); model 77 chrome/browser/ui/gtk/menu_gtk.h ui::MenuModel* model, model 82 chrome/browser/ui/gtk/menu_gtk.h ui::MenuModel* model, model 149 chrome/browser/ui/gtk/menu_gtk.h void BuildSubmenuFromModel(ui::MenuModel* model, GtkWidget* menu); model 151 chrome/browser/ui/gtk/menu_gtk.h GtkWidget* BuildButtonMenuItem(ui::ButtonMenuItemModel* model, model 154 chrome/browser/ui/gtk/menu_gtk.h void ExecuteCommand(ui::MenuModel* model, int id); model 200 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GetFont(), this, model(), location_bar); model 418 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->SetCaretVisibility(true); model 423 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->is_caret_visible()); model 433 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc OmniboxEditModel::State model_state = model()->GetStateForTabSwitch(); model 445 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->RestoreState(state ? &state->model_state : NULL); model 458 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->UpdatePermanentText()) { model 461 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->UpdatePermanentText(); model 546 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->SetInputInProgress(true); model 547 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!update_popup_without_focus_ && !model()->has_focus()) model 556 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->StartAutocomplete(sel.cp_min != sel.cp_max, no_inline_autocomplete); model 604 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnPaste(); model 671 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const bool something_changed = model()->OnAfterPossibleChange( model 686 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnChanged(); model 910 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AcceptInput(alt_held ? NEW_FOREGROUND_TAB : CURRENT_TAB, false); model 917 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc result = model()->OnEscapeKeyPressed(); model 922 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnControlKeyChanged(true); model 928 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->popup_model()->IsOpen()) model 929 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->popup_model()->TryDeletingCurrentItem(); model 961 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnControlKeyChanged(false); model 983 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->SetCaretVisibility(true); model 1032 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnSetFocus((modifiers & GDK_CONTROL_MASK) != 0); model 1055 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnWillKillFocus(view_getting_focus); model 1060 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnKillFocus(); model 1105 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc handled = model()->CommitSuggestedText(); model 1109 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnUpOrDownKeyPressed(model()->result().size() * count); model 1112 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnUpOrDownKeyPressed(count); model 1149 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!model()->has_focus()) model 1168 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->IsPasteAndSearch(sanitized_text_for_paste_and_go_) ? model 1179 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->CanPasteAndGo(sanitized_text_for_paste_and_go_)); model 1213 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->PasteAndGo(sanitized_text_for_paste_and_go_); model 1350 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, model 1402 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->is_pasting()) { model 1429 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->is_keyword_hint() || model()->keyword().empty()) model 1447 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->ClearKeyword(GetText()); model 1464 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->is_keyword_hint() && !shift_was_pressed_) { model 1465 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc handled = model()->AcceptKeyword(ENTERED_KEYWORD_MODE_VIA_TAB); model 1466 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc } else if (model()->popup_model()->IsOpen()) { model 1468 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->popup_model()->selected_line_state() == model 1470 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->ClearKeyword(GetText()); model 1472 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->OnUpOrDownKeyPressed(shift_was_pressed_ ? -1 : 1); model 1481 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc handled = model()->CommitSuggestedText(); model 1514 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, model 1584 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool grey_base = model()->CurrentTextIsURL() && model 1601 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!model()->user_input_in_progress() && model()->CurrentTextIsURL() && model 1626 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (model()->CanPasteAndGo(sanitized_string)) { model 1627 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->PasteAndGo(sanitized_string); model 2126 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, model 47 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc GtkWidget* GetMenuItemByID(ui::MenuModel* model, model 53 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 54 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc if (model->GetCommandIdAt(i) == command_id) { model 62 chrome/browser/ui/gtk/renderer_context_menu/render_view_context_menu_gtk.cc ui::MenuModel* submenu = model->GetSubmenuModelAt(i); model 57 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc void StatusIconGtk::UpdatePlatformContextMenu(StatusIconMenuModel* model) { model 58 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc if (!model) model 61 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc menu_.reset(new MenuGtk(NULL, model)); model 155 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc source_tabstrip_->model()->GetWebContentsAt(source_model_index); model 157 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc bool mini = source_tabstrip_->model()->IsMiniTab(source_model_index); model 304 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc void DraggedTabControllerGtk::RestoreSelection(TabStripModel* model) { model 310 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int index = model->GetIndexOfWebContents(contents); model 312 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc model->AddTabAtToSelection(index); model 321 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabStripModel* attached_model = attached_tabstrip_->model(); model 341 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc attached_tabstrip_->model()->MoveSelectedTabsTo( model 465 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc attached_tabstrip_->model()->InsertWebContentsAt( model 469 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc RestoreSelection(attached_tabstrip_->model()); model 480 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc TabStripModel* attached_model = attached_tabstrip_->model(); model 623 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int index = tabstrip->model()->GetIndexOfWebContents(web_contents); model 697 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int index = attached_tabstrip_->model()->GetIndexOfWebContents( model 699 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc attached_tabstrip_->model()->DetachWebContentsAt(index); model 707 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc attached_tabstrip_->model()->InsertWebContentsAt( model 718 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int index = attached_tabstrip_->model()->GetIndexOfWebContents( model 720 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc source_tabstrip_->model()->MoveWebContentsAt( model 734 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc source_tabstrip_->model()->InsertWebContentsAt( model 740 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc RestoreSelection(source_tabstrip_->model()); model 776 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc source_tabstrip_->model()->delegate()->CreateNewStripWithContents( model 839 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (source_tabstrip_->model()->empty()) model 840 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc source_tabstrip_->model()->delegate()->CloseFrameAfterDragSession(); model 123 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h void RestoreSelection(TabStripModel* model); model 300 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc bool is_selected = tabstrip_->model()->active_index() == index; model 718 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc TabStripGtk::TabStripGtk(TabStripModel* model, BrowserWindowGtk* window) model 724 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model_(model), model 726 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc theme_service_(GtkThemeService::GetFrom(model->profile())), model 728 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc hover_tab_selector_(model), model 885 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return model_->profile() == other->model()->profile(); model 1279 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc for (size_t i = 0; i < model()->selection_model().size(); i++) { model 1282 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc model()->selection_model().selected_indices()[i]); model 1313 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc return new TabStripMenuController(tab, model(), GetIndexOfTab(tab)); model 44 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h TabStripGtk(TabStripModel* model, BrowserWindowGtk* window); model 54 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h TabStripModel* model() const { return model_; } model 13 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc TabStripModel* model, model 16 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.cc model_(this, model, index) { model 31 chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h TabStripMenuController(TabGtk* tab, TabStripModel* model, int index); model 308 chrome/browser/ui/gtk/task_manager_gtk.cc model_(TaskManager::GetInstance()->model()), model 750 chrome/browser/ui/gtk/task_manager_gtk.cc GtkTreeModel* model; model 751 chrome/browser/ui/gtk/task_manager_gtk.cc GList* paths = gtk_tree_selection_get_selected_rows(selection, &model); model 776 chrome/browser/ui/gtk/task_manager_gtk.cc gint TaskManagerGtk::CompareImpl(GtkTreeModel* model, GtkTreeIter* a, model 778 chrome/browser/ui/gtk/task_manager_gtk.cc int row1 = gtk_tree::GetRowNumForIter(model, b); model 779 chrome/browser/ui/gtk/task_manager_gtk.cc int row2 = gtk_tree::GetRowNumForIter(model, a); model 879 chrome/browser/ui/gtk/task_manager_gtk.cc GtkTreeModel* model; model 880 chrome/browser/ui/gtk/task_manager_gtk.cc GList* paths = gtk_tree_selection_get_selected_rows(selection, &model); model 108 chrome/browser/ui/gtk/task_manager_gtk.h static gint ComparePage(GtkTreeModel* model, GtkTreeIter* a, model 111 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_TASK_COLUMN); model 115 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareProfileName(GtkTreeModel* model, GtkTreeIter* a, model 118 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_PROFILE_NAME_COLUMN); model 122 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareSharedMemory(GtkTreeModel* model, GtkTreeIter* a, model 125 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_SHARED_MEM_COLUMN); model 129 chrome/browser/ui/gtk/task_manager_gtk.h static gint ComparePrivateMemory(GtkTreeModel* model, GtkTreeIter* a, model 132 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_PRIVATE_MEM_COLUMN); model 136 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareV8Memory(GtkTreeModel* model, GtkTreeIter* a, model 139 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, model 144 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareCPU(GtkTreeModel* model, GtkTreeIter* a, model 147 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_CPU_COLUMN); model 151 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareNetwork(GtkTreeModel* model, GtkTreeIter* a, model 154 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_NET_COLUMN); model 158 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareProcessID(GtkTreeModel* model, GtkTreeIter* a, model 161 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_PROCESS_ID_COLUMN); model 165 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareWebCoreImageCache(GtkTreeModel* model, GtkTreeIter* a, model 168 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_WEBCORE_IMAGE_CACHE_COLUMN); model 172 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareWebCoreScriptsCache(GtkTreeModel* model, GtkTreeIter* a, model 176 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_WEBCORE_SCRIPTS_CACHE_COLUMN); model 180 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareWebCoreCssCache(GtkTreeModel* model, GtkTreeIter* a, model 183 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_WEBCORE_CSS_CACHE_COLUMN); model 187 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareVideoMemory(GtkTreeModel* model, GtkTreeIter* a, model 190 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_VIDEO_MEMORY_COLUMN); model 194 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareFPS(GtkTreeModel* model, GtkTreeIter* a, model 197 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_FPS_COLUMN); model 201 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareSqliteMemoryUsed(GtkTreeModel* model, GtkTreeIter* a, model 204 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_SQLITE_MEMORY_USED_COLUMN); model 208 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareNaClDebugStubPort(GtkTreeModel* model, GtkTreeIter* a, model 211 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_NACL_DEBUG_STUB_PORT_COLUMN); model 215 chrome/browser/ui/gtk/task_manager_gtk.h static gint CompareGoatsTeleported(GtkTreeModel* model, GtkTreeIter* a, model 218 chrome/browser/ui/gtk/task_manager_gtk.h CompareImpl(model, a, b, IDS_TASK_MANAGER_GOATS_TELEPORTED_COLUMN); model 244 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc void AppIndicatorIcon::UpdatePlatformContextMenu(ui::MenuModel* model) { model 251 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc menu_model_ = model; model 346 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc ui::MenuModel* model = ModelForMenuItem(GTK_MENU_ITEM(menu_item)); model 347 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (!model) { model 368 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc ExecuteCommand(model, id); model 43 chrome/browser/ui/libgtk2ui/menu_util.cc ui::MenuModel* model, model 62 chrome/browser/ui/libgtk2ui/menu_util.cc if (model) { model 63 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->IsVisibleAt(index)) model 82 chrome/browser/ui/libgtk2ui/menu_util.cc void ExecuteCommand(ui::MenuModel* model, int id) { model 88 chrome/browser/ui/libgtk2ui/menu_util.cc model->ActivatedAt(id, event_flags); model 94 chrome/browser/ui/libgtk2ui/menu_util.cc void BuildSubmenuFromModel(ui::MenuModel* model, model 101 chrome/browser/ui/libgtk2ui/menu_util.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 104 chrome/browser/ui/libgtk2ui/menu_util.cc base::UTF16ToUTF8(model->GetLabelAt(i))); model 108 chrome/browser/ui/libgtk2ui/menu_util.cc switch (model->GetTypeAt(i)) { model 119 chrome/browser/ui/libgtk2ui/menu_util.cc radio_groups.find(model->GetGroupIdAt(i)); model 124 chrome/browser/ui/libgtk2ui/menu_util.cc radio_groups[model->GetGroupIdAt(i)] = menu_item; model 137 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->GetIconAt(i, &icon)) model 151 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) { model 153 chrome/browser/ui/libgtk2ui/menu_util.cc ui::MenuModel* submenu_model = model->GetSubmenuModelAt(i); model 169 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->GetAcceleratorAt(i, &accelerator)) { model 178 chrome/browser/ui/libgtk2ui/menu_util.cc g_object_set_data(G_OBJECT(menu_item), "model", model); model 180 chrome/browser/ui/libgtk2ui/menu_util.cc model, model 202 chrome/browser/ui/libgtk2ui/menu_util.cc ui::MenuModel* model = ModelForMenuItem(GTK_MENU_ITEM(widget)); model 203 chrome/browser/ui/libgtk2ui/menu_util.cc if (!model) { model 221 chrome/browser/ui/libgtk2ui/menu_util.cc gtk_check_menu_item_set_active(item, model->IsItemCheckedAt(id)); model 226 chrome/browser/ui/libgtk2ui/menu_util.cc gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); model 228 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->IsVisibleAt(id)) { model 230 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->IsItemDynamicAt(id)) { model 232 chrome/browser/ui/libgtk2ui/menu_util.cc base::UTF16ToUTF8(model->GetLabelAt(id))); model 237 chrome/browser/ui/libgtk2ui/menu_util.cc if (model->GetIconAt(id, &icon)) { model 28 chrome/browser/ui/libgtk2ui/menu_util.h ui::MenuModel* model, model 40 chrome/browser/ui/libgtk2ui/menu_util.h void ExecuteCommand(ui::MenuModel* model, int id); model 45 chrome/browser/ui/libgtk2ui/menu_util.h void BuildSubmenuFromModel(ui::MenuModel* model, model 238 chrome/browser/ui/login/login_prompt.cc void LoginHandler::SetModel(LoginModel* model) { model 241 chrome/browser/ui/login/login_prompt.cc login_model_ = model; model 84 chrome/browser/ui/login/login_prompt.h void SetModel(LoginModel* model); model 202 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc OmniboxEditModel model(&view, &controller, &profile); model 206 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.UpdatePermanentText(); model 214 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.AdjustTextForCopy(input[i].sel_start, input[i].is_all_selected, model 234 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc OmniboxEditModel model(&view, &controller, &profile); model 238 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.SetUserText(UTF8ToUTF16("he")); model 239 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false); model 243 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnAfterPossibleChange(UTF8ToUTF16("he"), UTF8ToUTF16("hel"), 3, 3, model 246 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("lo"), NULL, base::string16(), false); model 250 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.Revert(); model 254 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.SetUserText(UTF8ToUTF16("he")); model 255 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false); model 259 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc model.AcceptTemporaryTextAsUserText(); model 102 chrome/browser/ui/omnibox/omnibox_view.cc !model()->user_input_in_progress()) { 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 236 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->autocomplete_controller(); model 255 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLService* model = model 257 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(model); model 259 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ui_test_utils::WaitForTemplateURLServiceToLoad(model); model 261 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(model->loaded()); model 264 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->SetDefaultSearchProvider(NULL); model 265 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLService::TemplateURLVector builtins = model->GetTemplateURLs(); model 268 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->Remove(*i); model 275 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->Add(template_url); model 276 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->SetDefaultSearchProvider(template_url); model 279 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->Add(new TemplateURL(profile, data)); model 496 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 497 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 501 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 502 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 506 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 507 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 511 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 512 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 521 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 522 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 538 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 539 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(base::string16(), omnibox_view->model()->keyword()); model 575 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 599 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 659 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 712 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 829 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 830 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 835 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 836 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 840 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->ClearKeyword(base::string16()); model 841 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 842 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 850 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 851 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 855 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->ClearKeyword(base::string16()); model 856 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 857 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 865 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 866 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 871 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 872 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 878 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 879 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 888 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 889 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 898 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 899 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); model 902 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnPaste(); model 906 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 907 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); model 914 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 915 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); model 924 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 925 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 931 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 932 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 948 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->popup_model()->IsOpen()); model 952 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 953 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->keyword().empty()); model 957 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 958 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 966 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 969 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(1); model 970 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(-1); model 979 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 980 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword, omnibox_view->model()->keyword()); model 1005 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(1); model 1008 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1009 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(search_keyword2, omnibox_view->model()->keyword()); model 1023 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1080 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc TemplateURLService* model = model 1082 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc model->SetDefaultSearchProvider(NULL); model 1090 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1113 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(1); model 1136 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->OnEscapeKeyPressed()); model 1142 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(1); model 1144 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnUpOrDownKeyPressed(-1); model 1171 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->OnEscapeKeyPressed()); model 1191 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 1192 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1197 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1198 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1203 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 1204 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1212 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1213 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1222 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 1223 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1241 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1294 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1295 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1304 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(1U, omnibox_view->model()->popup_model()->selected_line()); model 1305 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1306 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_NE(text, omnibox_view->model()->keyword()); model 1313 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 1314 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); model 1335 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); model 1336 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 1340 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); model 1341 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 1353 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(kSearchKeyword, UTF16ToUTF8(omnibox_view->model()->keyword())); model 1367 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1381 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->OnControlKeyChanged(true); model 1470 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1481 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->autocomplete_controller()->input().text(); model 1494 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->autocomplete_controller()->input().text()); model 1527 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 1577 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxEditModel* edit_model = omnibox_view->model(); model 1623 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxEditModel* edit_model = omnibox_view->model(); model 1714 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc EXPECT_FALSE(omnibox_view->model()->popup_model()->IsOpen()); model 1744 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); model 234 chrome/browser/ui/search/instant_extended_interactive_uitest.cc return omnibox()->model()->autocomplete_controller()->search_provider()-> model 822 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->autocomplete_controller()->search_provider()-> model 851 chrome/browser/ui/search/instant_extended_interactive_uitest.cc while (!omnibox()->model()->autocomplete_controller()->done()) { model 855 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->autocomplete_controller())); model 864 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->result().default_match()))); model 882 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->autocomplete_controller()->search_provider()-> model 911 chrome/browser/ui/search/instant_extended_interactive_uitest.cc while (!omnibox()->model()->autocomplete_controller()->done()) { model 915 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->autocomplete_controller())); model 921 chrome/browser/ui/search/instant_extended_interactive_uitest.cc omnibox()->model()->result().default_match()))); model 942 chrome/browser/ui/search/instant_extended_interactive_uitest.cc EXPECT_FALSE(omnibox()->model()->user_input_in_progress()); model 125 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc EXPECT_EQ(OMNIBOX_FOCUS_INVISIBLE, omnibox()->model()->focus_state()); model 139 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc EXPECT_EQ(OMNIBOX_FOCUS_VISIBLE, omnibox()->model()->focus_state()); model 26 chrome/browser/ui/search/instant_page.cc SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); model 58 chrome/browser/ui/search/instant_page.cc SearchModel* model = SearchTabHelper::FromWebContents(contents())->model(); model 59 chrome/browser/ui/search/instant_page.cc model->AddObserver(this); model 62 chrome/browser/ui/search/instant_page.cc if (model->instant_support() != INSTANT_SUPPORT_UNKNOWN) model 63 chrome/browser/ui/search/instant_page.cc InstantSupportDetermined(model->instant_support() == INSTANT_SUPPORT_YES); model 97 chrome/browser/ui/search/instant_page.cc SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); model 98 chrome/browser/ui/search/instant_test_utils.cc if (omnibox()->model()->has_focus()) { model 27 chrome/browser/ui/search/search_delegate.cc tab_model_ = SearchTabHelper::FromWebContents(web_contents)->model(); model 43 chrome/browser/ui/search/search_delegate.cc if (search_tab_helper->model() == tab_model_) { model 23 chrome/browser/ui/search/search_delegate_unittest.cc SearchTabHelper::FromWebContents(web_contents)->model()-> model 32 chrome/browser/ui/search/search_delegate_unittest.cc SearchTabHelper::FromWebContents(web_contents)->model()-> model 39 chrome/browser/ui/search/search_delegate_unittest.cc SearchTabHelper::FromWebContents(web_contents)->model()-> model 73 chrome/browser/ui/search/search_model_unittest.cc SearchModel* model; model 82 chrome/browser/ui/search/search_model_unittest.cc model = search_tab_helper->model(); model 83 chrome/browser/ui/search/search_model_unittest.cc model->AddObserver(&mock_observer); model 87 chrome/browser/ui/search/search_model_unittest.cc model->RemoveObserver(&mock_observer); model 93 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_UNKNOWN); model 94 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_old_state = model->state(); model 95 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_new_state(model->state()); model 98 chrome/browser/ui/search/search_model_unittest.cc model->SetInstantSupportState(INSTANT_SUPPORT_YES); model 101 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_YES); model 105 chrome/browser/ui/search/search_model_unittest.cc model->SetInstantSupportState(INSTANT_SUPPORT_NO); model 110 chrome/browser/ui/search/search_model_unittest.cc model->SetInstantSupportState(INSTANT_SUPPORT_NO); model 111 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->state() == expected_new_state); model 112 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_NO); model 119 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_old_state = model->state(); model 120 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_new_state(model->state()); model 123 chrome/browser/ui/search/search_model_unittest.cc model->SetMode(search_mode); model 130 chrome/browser/ui/search/search_model_unittest.cc model->SetMode(search_mode); model 133 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->state() == expected_new_state); model 137 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_new_state(model->state()); model 139 chrome/browser/ui/search/search_model_unittest.cc EXPECT_FALSE(model->state() == expected_new_state); model 140 chrome/browser/ui/search/search_model_unittest.cc model->SetState(expected_new_state); model 142 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->state() == expected_new_state); model 147 chrome/browser/ui/search/search_model_unittest.cc EXPECT_FALSE(model->voice_search_supported()); model 149 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_old_state = model->state(); model 150 chrome/browser/ui/search/search_model_unittest.cc SearchModel::State expected_new_state(model->state()); model 153 chrome/browser/ui/search/search_model_unittest.cc model->SetVoiceSearchSupported(true); model 156 chrome/browser/ui/search/search_model_unittest.cc EXPECT_TRUE(model->voice_search_supported()); model 466 chrome/browser/ui/search/search_tab_helper.cc omnibox->model()->SetCaretVisibility(true); model 470 chrome/browser/ui/search/search_tab_helper.cc omnibox->model()->SetCaretVisibility(false); model 483 chrome/browser/ui/search/search_tab_helper.cc if (!omnibox->model()->popup_model()->IsOpen()) model 568 chrome/browser/ui/search/search_tab_helper.cc if (!omnibox->model()->has_focus()) model 572 chrome/browser/ui/search/search_tab_helper.cc omnibox->model()->OnPaste(); model 601 chrome/browser/ui/search/search_tab_helper.cc if (omnibox && omnibox->model()->user_input_in_progress()) model 644 chrome/browser/ui/search/search_tab_helper.cc omnibox->model()->focus_state() == OMNIBOX_FOCUS_VISIBLE; model 48 chrome/browser/ui/search/search_tab_helper.h SearchModel* model() { model 43 chrome/browser/ui/search_engines/template_url_table_model.cc ModelEntry(TemplateURLTableModel* model, TemplateURL* template_url) model 46 chrome/browser/ui/search_engines/template_url_table_model.cc model_(model) { model 52 chrome/browser/ui/tabs/pinned_tab_codec.cc static void EncodePinnedTab(TabStripModel* model, model 57 chrome/browser/ui/tabs/pinned_tab_codec.cc content::WebContents* web_contents = model->GetWebContentsAt(index); model 58 chrome/browser/ui/tabs/pinned_tab_codec.cc if (model->IsAppTab(index)) { model 18 chrome/browser/ui/tabs/tab_menu_model_unittest.cc TabMenuModel model(&delegate_, browser()->tab_strip_model(), 0); model 22 chrome/browser/ui/tabs/tab_menu_model_unittest.cc EXPECT_GT(model.GetItemCount(), 5); model 25 chrome/browser/ui/tabs/tab_menu_model_unittest.cc CountEnabledExecutable(&model, &item_count); model 34 chrome/browser/ui/tabs/tab_strip_model_observer.cc const ui::ListSelectionModel& model) { model 206 chrome/browser/ui/tabs/tab_strip_model_unittest.cc std::string GetTabStripStateString(const TabStripModel& model) { model 208 chrome/browser/ui/tabs/tab_strip_model_unittest.cc for (int i = 0; i < model.count(); ++i) { model 212 chrome/browser/ui/tabs/tab_strip_model_unittest.cc actual += base::IntToString(GetID(model.GetWebContentsAt(i))); model 214 chrome/browser/ui/tabs/tab_strip_model_unittest.cc if (model.IsAppTab(i)) model 217 chrome/browser/ui/tabs/tab_strip_model_unittest.cc if (model.IsTabPinned(i)) model 224 chrome/browser/ui/tabs/tab_strip_model_unittest.cc const TabStripModel& model, model 227 chrome/browser/ui/tabs/tab_strip_model_unittest.cc std::vector<int> indices = model.GetIndicesClosedByCommand(index, id); model 237 chrome/browser/ui/tabs/tab_strip_model_unittest.cc void PrepareTabstripForSelectionTest(TabStripModel* model, model 244 chrome/browser/ui/tabs/tab_strip_model_unittest.cc model->AppendWebContents(contents, true); model 247 chrome/browser/ui/tabs/tab_strip_model_unittest.cc model->SetTabPinned(i, true); model 258 chrome/browser/ui/tabs/tab_strip_model_unittest.cc model->SetSelectionFromModel(selection_model); model 264 chrome/browser/ui/tabs/tab_strip_model_unittest.cc explicit MockTabStripModelObserver(TabStripModel* model) model 267 chrome/browser/ui/tabs/tab_strip_model_unittest.cc model_(model) {} model 346 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(model()->GetActiveWebContents(), model()->active_index(), SELECT); model 347 chrome/browser/ui/tabs/tab_strip_model_unittest.cc s.src_contents = model()->GetWebContentsAt(old_model.active()); model 368 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, model()->active_index(), DEACTIVATE)); model 13 chrome/browser/ui/tabs/tab_strip_model_utils.cc int IndexOfFirstBlockedTab(const TabStripModel* model) { model 14 chrome/browser/ui/tabs/tab_strip_model_utils.cc DCHECK(model); model 15 chrome/browser/ui/tabs/tab_strip_model_utils.cc for (int i = 0; i < model->count(); ++i) { model 16 chrome/browser/ui/tabs/tab_strip_model_utils.cc if (model->IsTabBlocked(i)) model 20 chrome/browser/ui/tabs/tab_strip_model_utils.cc return model->count(); model 21 chrome/browser/ui/tabs/tab_strip_model_utils.h int IndexOfFirstBlockedTab(const TabStripModel* model); model 66 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc void ValidateModel(BackForwardMenuModel* model, int history_items, model 70 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(h, model->GetHistoryItemCount()); model 71 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(c, model->GetChapterStopCount(h)); model 76 chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc EXPECT_EQ(h + c, model->GetItemCount()); model 74 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc explicit TestRecentTabsMenuModelDelegate(ui::MenuModel* model) model 75 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc : model_(model), model 197 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), NULL); model 206 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 208 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); model 209 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(2)); model 210 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(0, model.enable_count()); model 212 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(0)); model 213 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(1)); model 214 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(2)); model 218 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(0, &url, &title)); model 219 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(1, &url, &title)); model 220 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(2, &url, &title)); model 233 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), NULL); model 242 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 244 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); model 245 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); model 246 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); model 247 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(1); model 248 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(2); model 249 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(4)); model 250 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(2, model.enable_count()); model 251 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(2, model.execute_count()); model 253 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetLabelFontListAt(0) != NULL); model 254 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(1)); model 255 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(2)); model 256 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(3)); model 257 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(4)); model 261 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(0, &url, &title)); model 262 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(1, &url, &title)); model 263 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(2, &url, &title)); model 264 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(3, &url, &title)); model 265 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(4, &url, &title)); model 316 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), NULL); model 317 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsMenuModelDelegate delegate(&model); model 327 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 329 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); model 330 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(ui::MenuModel::TYPE_SEPARATOR, model.GetTypeAt(1)); model 331 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(2)); model 332 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(0, model.enable_count()); model 349 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc num_items = model.GetItemCount(); model 351 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); model 352 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); model 353 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); model 354 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(3)); model 355 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(1); model 356 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(2); model 357 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(3); model 358 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(ui::MenuModel::TYPE_SEPARATOR, model.GetTypeAt(4)); model 359 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(5)); model 360 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(3, model.enable_count()); model 361 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(3, model.execute_count()); model 363 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetLabelFontListAt(0) != NULL); model 364 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(1)); model 365 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(2)); model 366 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(3)); model 367 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(4)); model 368 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(5)); model 372 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(0, &url, &title)); model 373 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(1, &url, &title)); model 374 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(2, &url, &title)); model 375 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(3, &url, &title)); model 376 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(4, &url, &title)); model 377 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(5, &url, &title)); model 426 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), GetOpenTabsDelegate()); model 427 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 429 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(0); model 430 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); model 431 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(3); model 432 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(3)); model 433 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(4); model 434 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(4)); model 435 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(5); model 436 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(5)); model 437 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(8); model 438 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(8)); model 439 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(9); model 440 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(9)); model 441 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc model.ActivatedAt(10); model 442 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(10)); model 443 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(12)); model 444 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(7, model.enable_count()); model 445 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(7, model.execute_count()); model 447 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(0)); model 448 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(1)); model 449 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetLabelFontListAt(2) != NULL); model 450 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(3)); model 451 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(4)); model 452 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(5)); model 453 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(6)); model 454 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetLabelFontListAt(7) != NULL); model 455 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(8)); model 456 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(9)); model 457 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(10)); model 458 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(11)); model 459 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(NULL, model.GetLabelFontListAt(12)); model 463 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(0, &url, &title)); model 464 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(1, &url, &title)); model 465 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(2, &url, &title)); model 466 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(3, &url, &title)); model 467 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(4, &url, &title)); model 468 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(5, &url, &title)); model 469 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(6, &url, &title)); model 470 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(7, &url, &title)); model 471 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(8, &url, &title)); model 472 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(9, &url, &title)); model 473 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.GetURLAndTitleForItemAtIndex(10, &url, &title)); model 474 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(11, &url, &title)); model 475 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.GetURLAndTitleForItemAtIndex(12, &url, &title)); model 506 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), GetOpenTabsDelegate()); model 507 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 512 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(tab_titles[0], model.GetLabelAt(3)); model 513 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(tab_titles[1], model.GetLabelAt(6)); model 514 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(tab_titles[2], model.GetLabelAt(9)); model 541 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), GetOpenTabsDelegate()); model 542 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc int num_items = model.GetItemCount(); model 548 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(tab_titles[i], model.GetLabelAt(i + 3)); model 568 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), GetOpenTabsDelegate()); model 569 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(6, model.GetItemCount()); model 570 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(-1, model.GetMaxWidthForItemAtIndex(0)); model 571 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_NE(-1, model.GetMaxWidthForItemAtIndex(1)); model 572 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_NE(-1, model.GetMaxWidthForItemAtIndex(2)); model 573 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_NE(-1, model.GetMaxWidthForItemAtIndex(3)); model 584 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc TestRecentTabsSubMenuModel model(NULL, browser(), NULL); model 585 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(3, model.GetItemCount()); model 586 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(-1, model.GetMaxWidthForItemAtIndex(0)); model 587 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_NE(-1, model.GetMaxWidthForItemAtIndex(1)); model 588 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_EQ(-1, model.GetMaxWidthForItemAtIndex(2)); model 516 chrome/browser/ui/toolbar/wrench_menu_model.cc EnumerateModulesModel* model = model 518 chrome/browser/ui/toolbar/wrench_menu_model.cc if (model->modules_to_notify_about() > 0 || model 519 chrome/browser/ui/toolbar/wrench_menu_model.cc model->confirmed_bad_modules_detected() > 0) model 703 chrome/browser/ui/toolbar/wrench_menu_model.cc MenuModel* model = this; model 706 chrome/browser/ui/toolbar/wrench_menu_model.cc IDC_SHOW_SIGNIN, &model, &index)) { model 121 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc TestWrenchMenuModel model(this, browser()); model 122 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc int itemCount = model.GetItemCount(); model 132 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.ActivatedAt(1); model 133 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); model 135 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.ActivatedAt(2); model 136 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); model 137 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_EQ(model.execute_count_, 2); model 138 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_EQ(model.enable_count_, 2); model 140 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.execute_count_ = 0; model 141 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.enable_count_ = 0; model 147 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc if (model.GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) { model 153 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc ui::MenuModel* bookmarksModel = model.GetSubmenuModelAt(bookmarksModelIndex); model 160 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_EQ(model.execute_count_, 1); model 161 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_EQ(model.enable_count_, 1); model 179 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc WrenchMenuModel model(this, browser(), false); model 180 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc int index1 = model.GetIndexOfCommandId(command1); model 182 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc int index2 = model.GetIndexOfCommandId(command2); model 185 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(index1)); model 187 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.ActivatedAt(index1); model 190 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(index2)); model 192 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc model.ActivatedAt(index2); model 201 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EncodingMenuModel model(browser()); model 203 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_FALSE(model.IsCommandIdChecked(IDC_ENCODING_ISO88591)); model 11 chrome/browser/ui/translate/language_combobox_model.cc TranslateBubbleModel* model) model 13 chrome/browser/ui/translate/language_combobox_model.cc model_(model) { model 21 chrome/browser/ui/translate/language_combobox_model.h TranslateBubbleModel* model); model 307 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::TreeModel* model = tree->model(); model 309 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc int siblings_count = model->GetChildCount(model->GetRoot()); model 316 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc children_count = model->GetChildCount(selected_node); model 318 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ui::TreeModelNode* parent_node = model->GetParent(selected_node); model 320 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc index = model->GetIndexOf(parent_node, selected_node); model 321 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc siblings_count = model->GetChildCount(parent_node); model 327 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc parent_node = model->GetParent(parent_node); model 431 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc scoped_ptr<ui::MenuModel> model = model 433 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc if (!model.get()) model 443 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc menu_runner_.reset(new views::MenuRunner(model.get())); model 47 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc return combobox->model()->GetItemAt(combobox->selected_index()); model 65 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc combobox->SetSelectedIndex(combobox->model()->GetDefaultIndex()); model 153 chrome/browser/ui/views/autofill/autofill_dialog_views.cc combobox->SetSelectedIndex(combobox->model()->GetDefaultIndex()); model 514 chrome/browser/ui/views/autofill/autofill_dialog_views.cc ui::MenuModel* model = delegate_->MenuModelForAccountChooser(); model 515 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!model) model 518 chrome/browser/ui/views/autofill/autofill_dialog_views.cc menu_runner_.reset(new views::MenuRunner(model)); model 1354 chrome/browser/ui/views/autofill/autofill_dialog_views.cc it->second->SetSelectedIndex(it->second->model()->GetDefaultIndex()); model 1371 chrome/browser/ui/views/autofill/autofill_dialog_views.cc it->second->model()->GetItemAt(it->second->selected_index()))); model 2051 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (combobox->selected_index() == combobox->model()->GetDefaultIndex()) model 2210 chrome/browser/ui/views/autofill/autofill_dialog_views.cc combobox->model()->GetItemAt(combobox->selected_index()); model 2262 chrome/browser/ui/views/autofill/autofill_dialog_views.cc combobox->model()->GetItemAt(combobox->selected_index()); model 677 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc browser_view_->GetLocationBar()->GetOmniboxView()->model()-> model 975 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkModelLoaded(BookmarkModel* model, model 996 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkModelBeingDeleted(BookmarkModel* model) { model 1003 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeMoved(BookmarkModel* model, model 1012 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeRemovedImpl(model, old_parent, old_index); model 1013 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeAddedImpl(model, new_parent, new_index); model 1018 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeAdded(BookmarkModel* model, model 1021 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeAddedImpl(model, parent, index); model 1024 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeRemoved(BookmarkModel* model, model 1031 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeRemovedImpl(model, parent, old_index); model 1034 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkAllNodesRemoved(BookmarkModel* model) { model 1048 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeChanged(BookmarkModel* model, model 1050 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeChangedImpl(model, node); model 1053 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeChildrenReordered(BookmarkModel* model, model 1074 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeFaviconChanged(BookmarkModel* model, model 1076 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc BookmarkNodeChangedImpl(model, node); model 1408 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeAddedImpl(BookmarkModel* model, model 1428 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeRemovedImpl(BookmarkModel* model, model 1449 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc void BookmarkBarView::BookmarkNodeChangedImpl(BookmarkModel* model, model 203 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 205 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 206 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 211 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 214 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 218 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 219 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 221 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 223 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 312 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h void BookmarkNodeAddedImpl(BookmarkModel* model, model 317 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h void BookmarkNodeRemovedImpl(BookmarkModel* model, model 323 chrome/browser/ui/views/bookmarks/bookmark_bar_view.h void BookmarkNodeChangedImpl(BookmarkModel* model, const BookmarkNode* node); model 91 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile_); model 92 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc const BookmarkNode* node = model->GetMostRecentlyAddedNodeForURL(url_); model 94 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc model->Remove(node->parent(), node->parent()->GetIndexOf(node)); model 358 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile_); model 359 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc const BookmarkNode* node = model->GetMostRecentlyAddedNodeForURL(url_); model 363 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc model->SetTitle(node, new_title); model 361 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditorView::BookmarkNodeMoved(BookmarkModel* model, model 369 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditorView::BookmarkNodeAdded(BookmarkModel* model, model 375 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditorView::BookmarkNodeRemoved(BookmarkModel* model, model 389 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc void BookmarkEditorView::BookmarkAllNodesRemoved(BookmarkModel* model) { model 394 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc BookmarkModel* model, const BookmarkNode* node) { model 135 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 137 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 142 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 145 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 149 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 150 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 152 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeChildrenReordered(BookmarkModel* model, model 154 chrome/browser/ui/views/bookmarks/bookmark_editor_view.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 208 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BookmarkModel* model = GetBookmarkModel(); model 211 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc if (node == model->other_node() || node == model->mobile_node()) { model 219 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc if (node == model->mobile_node()) { model 244 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BookmarkModel* model = GetBookmarkModel(); model 245 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc DCHECK(model); model 261 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc if (drop_node == model->other_node() || model 262 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc drop_node == model->mobile_node()) { model 264 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc drop_parent = model->bookmark_bar_node(); model 331 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BookmarkModel* model, model 337 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc menu_pair->second->SetIcon(model->GetFavicon(node).AsImageSkia()); model 421 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BookmarkModel* model = GetBookmarkModel(); model 423 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenuForPermanentNode(model->other_node(), menu, next_menu_id, model 425 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc BuildMenuForPermanentNode(model->mobile_node(), menu, next_menu_id, model 124 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h virtual void BookmarkNodeFaviconChanged(BookmarkModel* model, model 16 chrome/browser/ui/views/confirm_bubble_views.cc ConfirmBubbleViews::ConfirmBubbleViews(ConfirmBubbleModel* model) model 17 chrome/browser/ui/views/confirm_bubble_views.cc : model_(model), model 104 chrome/browser/ui/views/confirm_bubble_views.cc ConfirmBubbleModel* model) { model 105 chrome/browser/ui/views/confirm_bubble_views.cc CreateBrowserModalDialogViews(new ConfirmBubbleViews(model), view)->Show(); model 27 chrome/browser/ui/views/confirm_bubble_views.h explicit ConfirmBubbleViews(ConfirmBubbleModel* model); model 28 chrome/browser/ui/views/confirm_bubble_views_unittest.cc TestConfirmBubbleModel* model = model 30 chrome/browser/ui/views/confirm_bubble_views_unittest.cc ConfirmBubbleViews* bubble = new ConfirmBubbleViews(model); model 76 chrome/browser/ui/views/conflicting_module_view_win.cc EnumerateModulesModel* model = EnumerateModulesModel::GetInstance(); model 77 chrome/browser/ui/views/conflicting_module_view_win.cc GURL url = model->GetFirstNotableConflict(); model 205 chrome/browser/ui/views/conflicting_module_view_win.cc EnumerateModulesModel* model = EnumerateModulesModel::GetInstance(); model 206 chrome/browser/ui/views/conflicting_module_view_win.cc model->AcknowledgeConflictNotification(); model 229 chrome/browser/ui/views/conflicting_module_view_win.cc EnumerateModulesModel* model = EnumerateModulesModel::GetInstance(); model 230 chrome/browser/ui/views/conflicting_module_view_win.cc if (!model->ShouldShowConflictWarning()) model 133 chrome/browser/ui/views/frame/browser_root_view.cc TabStripModel* model = browser->tab_strip_model(); model 135 chrome/browser/ui/views/frame/browser_root_view.cc if (scroll_offset < 0 && model->active_index() + 1 < model->count()) { model 142 chrome/browser/ui/views/frame/browser_root_view.cc if (scroll_offset > 0 && model->active_index() > 0) { model 1140 chrome/browser/ui/views/frame/browser_view.cc GetLocationBar()->GetOmniboxView()->model()->popup_model()->RemoveObserver( model 2033 chrome/browser/ui/views/frame/browser_view.cc GetLocationBar()->GetOmniboxView()->model()->popup_model()->AddObserver(this); model 2585 chrome/browser/ui/views/frame/browser_view.cc !GetLocationBar()->GetOmniboxView()->model()->popup_model()->IsOpen()) { model 37 chrome/browser/ui/views/frame/system_menu_model_builder.cc ui::SimpleMenuModel* model = new ui::SimpleMenuModel(&menu_delegate_); model 38 chrome/browser/ui/views/frame/system_menu_model_builder.cc menu_model_.reset(model); model 39 chrome/browser/ui/views/frame/system_menu_model_builder.cc BuildMenu(model); model 45 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 49 chrome/browser/ui/views/frame/system_menu_model_builder.cc void SystemMenuModelBuilder::BuildMenu(ui::SimpleMenuModel* model) { model 53 chrome/browser/ui/views/frame/system_menu_model_builder.cc BuildSystemMenuForBrowserWindow(model); model 55 chrome/browser/ui/views/frame/system_menu_model_builder.cc BuildSystemMenuForAppOrPopupWindow(model); model 56 chrome/browser/ui/views/frame/system_menu_model_builder.cc AddFrameToggleItems(model); model 60 chrome/browser/ui/views/frame/system_menu_model_builder.cc ui::SimpleMenuModel* model) { model 61 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_NEW_TAB, IDS_NEW_TAB); model 62 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_RESTORE_TAB, IDS_RESTORE_TAB); model 64 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 65 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); model 68 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 69 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddCheckItemWithStringId(IDC_USE_SYSTEM_TITLE_BAR, model 72 chrome/browser/ui/views/frame/system_menu_model_builder.cc AppendTeleportMenu(model); model 78 chrome/browser/ui/views/frame/system_menu_model_builder.cc ui::SimpleMenuModel* model) { model 79 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_BACK, IDS_CONTENT_CONTEXT_BACK); model 80 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_FORWARD, IDS_CONTENT_CONTEXT_FORWARD); model 81 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_RELOAD, IDS_APP_MENU_RELOAD); model 82 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 84 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_NEW_TAB, IDS_APP_MENU_NEW_WEB_PAGE); model 86 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_SHOW_AS_TAB, IDS_SHOW_AS_TAB); model 87 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 88 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_CUT, IDS_CUT); model 89 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_COPY, IDS_COPY); model 90 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_PASTE, IDS_PASTE); model 91 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 92 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_FIND, IDS_FIND); model 93 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_PRINT, IDS_PRINT); model 95 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSubMenuWithStringId(IDC_ZOOM_MENU, IDS_ZOOM_MENU, model 98 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSubMenuWithStringId(IDC_ENCODING_MENU, model 102 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 103 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); model 106 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 107 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItemWithStringId(IDC_CLOSE_WINDOW, IDS_CLOSE); model 110 chrome/browser/ui/views/frame/system_menu_model_builder.cc AppendTeleportMenu(model); model 113 chrome/browser/ui/views/frame/system_menu_model_builder.cc void SystemMenuModelBuilder::AddFrameToggleItems(ui::SimpleMenuModel* model) { model 116 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 117 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItem(IDC_DEBUG_FRAME_TOGGLE, model 122 chrome/browser/ui/views/frame/system_menu_model_builder.cc void SystemMenuModelBuilder::AppendTeleportMenu(ui::SimpleMenuModel* model) { model 151 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddSeparator(ui::NORMAL_SEPARATOR); model 154 chrome/browser/ui/views/frame/system_menu_model_builder.cc model->AddItem( model 38 chrome/browser/ui/views/frame/system_menu_model_builder.h void BuildMenu(ui::SimpleMenuModel* model); model 39 chrome/browser/ui/views/frame/system_menu_model_builder.h void BuildSystemMenuForBrowserWindow(ui::SimpleMenuModel* model); model 40 chrome/browser/ui/views/frame/system_menu_model_builder.h void BuildSystemMenuForAppOrPopupWindow(ui::SimpleMenuModel* model); model 43 chrome/browser/ui/views/frame/system_menu_model_builder.h void AddFrameToggleItems(ui::SimpleMenuModel* model); model 46 chrome/browser/ui/views/frame/system_menu_model_builder.h void AppendTeleportMenu(ui::SimpleMenuModel* model); model 166 chrome/browser/ui/views/hung_renderer_view.cc HungPagesTableModel* model, WebContents* tab) model 168 chrome/browser/ui/views/hung_renderer_view.cc model_(model) { model 65 chrome/browser/ui/views/hung_renderer_view.h WebContentsObserverImpl(HungPagesTableModel* model, model 786 chrome/browser/ui/views/location_bar/location_bar_view.cc const base::string16 keyword(omnibox_view_->model()->keyword()); model 787 chrome/browser/ui/views/location_bar/location_bar_view.cc const bool is_keyword_hint(omnibox_view_->model()->is_keyword_hint()); model 1234 chrome/browser/ui/views/location_bar/location_bar_view.cc return omnibox_view_->model()->has_focus(); model 1264 chrome/browser/ui/views/location_bar/location_bar_view.cc OmniboxPopupView* popup = omnibox_view_->model()->popup_model()->view(); model 1278 chrome/browser/ui/views/location_bar/location_bar_view.cc omnibox_view_->model()->AcceptInput( model 1346 chrome/browser/ui/views/location_bar/location_bar_view.cc omnibox_view_->model()->AcceptInput(CURRENT_TAB, false); model 29 chrome/browser/ui/views/location_bar/location_icon_view.cc OmniboxEditModel* model = model 30 chrome/browser/ui/views/location_bar/location_icon_view.cc page_info_helper_.location_bar()->omnibox_view()->model(); model 31 chrome/browser/ui/views/location_bar/location_icon_view.cc if (model->CanPasteAndGo(text)) model 32 chrome/browser/ui/views/location_bar/location_icon_view.cc model->PasteAndGo(text); model 63 chrome/browser/ui/views/location_bar/selected_keyword_view.cc TemplateURLService* model = model 65 chrome/browser/ui/views/location_bar/selected_keyword_view.cc if (!model) model 70 chrome/browser/ui/views/location_bar/selected_keyword_view.cc model->GetKeywordShortName(keyword, &is_extension_keyword); model 23 chrome/browser/ui/views/login_view.cc LoginModel* model) model 31 chrome/browser/ui/views/login_view.cc login_model_(model) { model 23 chrome/browser/ui/views/login_view.h LoginView(const base::string16& explanation, LoginModel* model); model 133 chrome/browser/ui/views/omnibox/omnibox_result_view.cc OmniboxResultView::OmniboxResultView(OmniboxPopupContentsView* model, model 140 chrome/browser/ui/views/omnibox/omnibox_result_view.cc model_(model), model 49 chrome/browser/ui/views/omnibox/omnibox_result_view.h OmniboxResultView(OmniboxPopupContentsView* model, model 178 chrome/browser/ui/views/omnibox/omnibox_view_views.cc GetFontList(), this, model(), location_bar_view_)); model 215 chrome/browser/ui/views/omnibox/omnibox_view_views.cc (!HasFocus() || (model()->focus_state() == OMNIBOX_FOCUS_INVISIBLE)); model 221 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->SetCaretVisibility(true); model 268 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->AcceptInput(alt ? NEW_FOREGROUND_TAB : CURRENT_TAB, false); model 271 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return model()->OnEscapeKeyPressed(); model 273 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnControlKeyChanged(true); model 276 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (shift && model()->popup_model()->IsOpen()) model 277 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->popup_model()->TryDeletingCurrentItem(); model 281 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(-1); model 287 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(1); model 294 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(-1 * model()->result().size()); model 299 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(model()->result().size()); model 323 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnControlKeyChanged(false); model 361 chrome/browser/ui/views/omnibox/omnibox_view_views.cc ((model()->is_keyword_hint() && !event.IsShiftDown()) || model 362 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->popup_model()->IsOpen())) { model 377 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->is_keyword_hint() && !event.IsShiftDown()) { model 378 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->AcceptKeyword(ENTERED_KEYWORD_MODE_VIA_TAB); model 381 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->popup_model()->IsOpen()) { model 383 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->popup_model()->selected_line_state() == model 385 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->ClearKeyword(text()); model 387 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(event.IsShiftDown() ? -1 : 1); model 399 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnSetFocus(false); model 424 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnWillKillFocus(native_view); model 429 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnKillFocus(); model 460 chrome/browser/ui/views/omnibox/omnibox_view_views.cc OmniboxEditModel::State state = model()->GetStateForTabSwitch(); model 470 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->RestoreState(state ? &state->model_state : NULL); model 490 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->UpdatePermanentText()) { model 493 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->UpdatePermanentText(); model 513 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (was_select_all && model()->has_focus()) model 582 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->SetInputInProgress(true); model 583 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (!model()->has_focus()) model 590 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->StartAutocomplete( model 603 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->SetCaretVisibility(true); model 607 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SetCursorEnabled(model()->is_caret_visible()); model 677 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const bool something_changed = model()->OnAfterPossibleChange( model 690 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnChanged(); model 755 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return !read_only() && model()->CanPasteAndGo(GetClipboardText()); model 770 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->IsPasteAndSearch(GetClipboardText()) ? model 778 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->PasteAndGo(GetClipboardText()); model 788 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnUpOrDownKeyPressed(command_id == IDS_MOVE_DOWN ? 1 : -1); model 829 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->is_keyword_hint() || model()->keyword().empty() || model 832 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->ClearKeyword(text()); model 849 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return model()->CommitSuggestedText(); model 870 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->AdjustTextForCopy(GetSelectedRange().GetMin(), IsSelectAll(), model 890 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->AdjustTextForCopy(GetSelectedRange().GetMin(), IsSelectAll(), model 901 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->AdjustTextForCopy(GetSelectedRange().GetMin(), is_all_selected, model 908 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->GetDataForURLExport(&url, &title, &favicon); model 932 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->CanPasteAndGo(text)) { model 933 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->PasteAndGo(text); model 941 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->CanPasteAndGo(collapsed_text)) model 942 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->PasteAndGo(collapsed_text); model 1005 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool grey_base = model()->CurrentTextIsURL() && model 1022 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (!model()->user_input_in_progress() && model()->CurrentTextIsURL() && model 1048 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->OnPaste(); model 121 chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc EXPECT_FALSE(view->model()->popup_model()->IsOpen()); model 21 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc OmniboxPopupContentsView* model, model 25 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc : OmniboxResultView(model, model_index, location_bar_view, font_list) { model 25 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h TouchOmniboxResultView(OmniboxPopupContentsView* model, model 21 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc OpenPDFInReaderPromptDelegate* model) model 23 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc model_(model), model 26 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.cc DCHECK(model); model 23 chrome/browser/ui/views/open_pdf_in_reader_bubble_view.h OpenPDFInReaderPromptDelegate* model); model 65 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc StatusIconMenuModel* model) { model 70 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc status_icon_->UpdatePlatformContextMenu(model); model 71 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc menu_model_ = model; model 73 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc if (model) model 74 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc model->AddObserver(this); model 46 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h StatusIconMenuModel* model) OVERRIDE; model 51 chrome/browser/ui/views/tab_icon_view.cc TabIconView::TabIconView(chrome::TabIconViewModel* model, model 54 chrome/browser/ui/views/tab_icon_view.cc model_(model), model 26 chrome/browser/ui/views/tab_icon_view.h TabIconView(chrome::TabIconViewModel* model, model 198 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc TabStripModel* model) model 199 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc : model_(model), model 202 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc hover_tab_selector_(model), model 34 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h BrowserTabStripController(Browser* browser, TabStripModel* model); model 39 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h TabStripModel* model() const { return model_; } model 1398 chrome/browser/ui/views/tabs/tab_drag_controller.cc TabStripModel* model = GetModel(attached_tabstrip_); model 1401 chrome/browser/ui/views/tabs/tab_drag_controller.cc int model_index = model->GetIndexOfWebContents(drag_data_[i].contents); model 1511 chrome/browser/ui/views/tabs/tab_drag_controller.cc void TabDragController::ResetSelection(TabStripModel* model) { model 1512 chrome/browser/ui/views/tabs/tab_drag_controller.cc DCHECK(model); model 1518 chrome/browser/ui/views/tabs/tab_drag_controller.cc int index = model->GetIndexOfWebContents(drag_data_[i].contents); model 1533 chrome/browser/ui/views/tabs/tab_drag_controller.cc model->SetSelectionFromModel(selection_model); model 1746 chrome/browser/ui/views/tabs/tab_drag_controller.cc model(); model 394 chrome/browser/ui/views/tabs/tab_drag_controller.h void ResetSelection(TabStripModel* model); model 115 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc void ResetIDs(TabStripModel* model, int start) { model 116 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc for (int i = 0; i < model->count(); ++i) model 117 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc SetID(model->GetWebContentsAt(i), start + i); model 120 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc std::string IDString(TabStripModel* model) { model 122 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc for (int i = 0; i < model->count(); ++i) { model 125 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc WebContents* contents = model->GetWebContentsAt(i); model 557 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc TabStripModel* model = browser()->tab_strip_model(); model 564 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc EXPECT_EQ("1 0", IDString(model)); model 68 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h void ResetIDs(TabStripModel* model, int start); model 72 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h std::string IDString(TabStripModel* model); model 52 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc TabStripModel* model = browser()->tab_strip_model(); model 62 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest_win.cc EXPECT_EQ("1 0", IDString(model)); model 67 chrome/browser/ui/views/task_manager_view.cc explicit TaskManagerTableModel(TaskManagerModel* model) model 68 chrome/browser/ui/views/task_manager_view.cc : model_(model), model 264 chrome/browser/ui/views/task_manager_view.cc model_(TaskManager::GetInstance()->model()), model 12 chrome/browser/ui/views/toolbar/back_button.cc ui::MenuModel* model) model 13 chrome/browser/ui/views/toolbar/back_button.cc : ToolbarButton(listener, model), model 26 chrome/browser/ui/views/toolbar/back_button.h BackButton(views::ButtonListener* listener, ui::MenuModel* model); model 228 chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc extensions::ExtensionToolbarModel* model = model 234 chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc model->HighlightExtensions(extension_ids); model 245 chrome/browser/ui/views/toolbar/browser_actions_container_browsertest.cc model->StopHighlighting(); model 23 chrome/browser/ui/views/toolbar/toolbar_button.cc ui::MenuModel* model) model 25 chrome/browser/ui/views/toolbar/toolbar_button.cc model_(model), model 27 chrome/browser/ui/views/toolbar/toolbar_button.h ToolbarButton(views::ButtonListener* listener, ui::MenuModel* model); model 109 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc BookmarkModel* model = model 112 chrome/browser/ui/views/toolbar/toolbar_view_browsertest.cc model, GURL("http://foo.com"), base::ASCIIToUTF16("Foo")); model 328 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuModel* model, int item_index, int accessible_string_id) { model 334 chrome/browser/ui/views/toolbar/wrench_menu.cc if (model->GetAcceleratorAt(item_index, &menu_accelerator)) { model 825 chrome/browser/ui/views/toolbar/wrench_menu.cc ui::MenuModel* model, model 828 chrome/browser/ui/views/toolbar/wrench_menu.cc model_(model), model 925 chrome/browser/ui/views/toolbar/wrench_menu.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile( model 927 chrome/browser/ui/views/toolbar/wrench_menu.cc if (model) model 928 chrome/browser/ui/views/toolbar/wrench_menu.cc model->RemoveObserver(this); model 933 chrome/browser/ui/views/toolbar/wrench_menu.cc void WrenchMenu::Init(ui::MenuModel* model) { model 938 chrome/browser/ui/views/toolbar/wrench_menu.cc PopulateMenu(root_, model); model 961 chrome/browser/ui/views/toolbar/wrench_menu.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile( model 963 chrome/browser/ui/views/toolbar/wrench_menu.cc if (model) model 964 chrome/browser/ui/views/toolbar/wrench_menu.cc model->RemoveObserver(this); model 1209 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuModel* model) { model 1210 chrome/browser/ui/views/toolbar/wrench_menu.cc for (int i = 0, max = model->GetItemCount(); i < max; ++i) { model 1215 chrome/browser/ui/views/toolbar/wrench_menu.cc (model->GetCommandIdAt(i) == IDC_CUT || model 1216 chrome/browser/ui/views/toolbar/wrench_menu.cc model->GetCommandIdAt(i) == IDC_ZOOM_MINUS)) model 1223 chrome/browser/ui/views/toolbar/wrench_menu.cc parent, menu_index, model, i, model->GetTypeAt(i), height); model 1225 chrome/browser/ui/views/toolbar/wrench_menu.cc if (model->GetTypeAt(i) == MenuModel::TYPE_SUBMENU) model 1226 chrome/browser/ui/views/toolbar/wrench_menu.cc PopulateMenu(item, model->GetSubmenuModelAt(i)); model 1230 chrome/browser/ui/views/toolbar/wrench_menu.cc switch (model->GetCommandIdAt(i)) { model 1232 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(MenuModel::TYPE_COMMAND, model->GetTypeAt(i)); model 1234 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(IDC_COPY, model->GetCommandIdAt(i + 1)); model 1235 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(IDC_PASTE, model->GetCommandIdAt(i + 2)); model 1237 chrome/browser/ui/views/toolbar/wrench_menu.cc item->AddChildView(new CutCopyPasteView(this, model, native_theme, model 1243 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(MenuModel::TYPE_COMMAND, model->GetTypeAt(i)); model 1244 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(IDC_ZOOM_PLUS, model->GetCommandIdAt(i + 1)); model 1245 chrome/browser/ui/views/toolbar/wrench_menu.cc DCHECK_EQ(IDC_FULLSCREEN, model->GetCommandIdAt(i + 2)); model 1247 chrome/browser/ui/views/toolbar/wrench_menu.cc item->AddChildView(new ZoomView(this, model, native_theme, model 1267 chrome/browser/ui/views/toolbar/wrench_menu.cc new RecentTabsMenuModelDelegate(this, model->GetSubmenuModelAt(i), model 1279 chrome/browser/ui/views/toolbar/wrench_menu.cc MenuModel* model, model 1283 chrome/browser/ui/views/toolbar/wrench_menu.cc int command_id = model->GetCommandIdAt(model_index); model 1286 chrome/browser/ui/views/toolbar/wrench_menu.cc model->GetTypeAt(model_index) == MenuModel::TYPE_SEPARATOR)); model 1296 chrome/browser/ui/views/toolbar/wrench_menu.cc command_id_to_entry_[command_id].first = model; model 1309 chrome/browser/ui/views/toolbar/wrench_menu.cc model, model_index, parent, menu_index, command_id); model 1315 chrome/browser/ui/views/toolbar/wrench_menu.cc menu_item->SetVisible(model->IsVisibleAt(model_index)); model 1317 chrome/browser/ui/views/toolbar/wrench_menu.cc if (menu_type == MenuModel::TYPE_COMMAND && model->HasIcons()) { model 1319 chrome/browser/ui/views/toolbar/wrench_menu.cc if (model->GetIconAt(model_index, &icon)) model 1327 chrome/browser/ui/views/toolbar/wrench_menu.cc void WrenchMenu::CancelAndEvaluate(MenuModel* model, int index) { model 1328 chrome/browser/ui/views/toolbar/wrench_menu.cc selected_menu_model_ = model; model 1337 chrome/browser/ui/views/toolbar/wrench_menu.cc BookmarkModel* model = model 1339 chrome/browser/ui/views/toolbar/wrench_menu.cc if (!model->loaded()) model 1342 chrome/browser/ui/views/toolbar/wrench_menu.cc model->AddObserver(this); model 1355 chrome/browser/ui/views/toolbar/wrench_menu.cc model->bookmark_bar_node(), model 46 chrome/browser/ui/views/toolbar/wrench_menu.h void Init(ui::MenuModel* model); model 120 chrome/browser/ui/views/toolbar/wrench_menu.h ui::MenuModel* model); model 133 chrome/browser/ui/views/toolbar/wrench_menu.h ui::MenuModel* model, model 140 chrome/browser/ui/views/toolbar/wrench_menu.h void CancelAndEvaluate(ui::MenuModel* model, int index); model 151 chrome/browser/ui/views/translate/translate_bubble_view.cc translate_bubble_view_->model()->GetViewState() == model 171 chrome/browser/ui/views/translate/translate_bubble_view.cc scoped_ptr<TranslateBubbleModel> model( model 174 chrome/browser/ui/views/translate/translate_bubble_view.cc model.Pass(), model 297 chrome/browser/ui/views/translate/translate_bubble_view.cc scoped_ptr<TranslateBubbleModel> model, model 313 chrome/browser/ui/views/translate/translate_bubble_view.cc model_(model.Pass()), model 52 chrome/browser/ui/views/translate/translate_bubble_view.h TranslateBubbleModel* model() { return model_.get(); } model 119 chrome/browser/ui/views/translate/translate_bubble_view.h scoped_ptr<TranslateBubbleModel> model, model 151 chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc scoped_ptr<TranslateBubbleModel> model(mock_model_); model 153 chrome/browser/ui/views/translate/translate_bubble_view_unittest.cc model.Pass(), model 58 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuModel* model, model 87 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuModel* model, model 90 chrome/browser/ui/views/website_settings/permission_selector_view.cc menu_model_(model) { model 344 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc PermissionComboboxModel* model = model 345 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc static_cast<PermissionComboboxModel*>(combobox->model()); model 346 chrome/browser/ui/views/website_settings/permissions_bubble_view.cc owner_->Toggle(model->index(), combobox->selected_index() == 0); model 46 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::ListValue* ConvertMenuModel(ui::MenuModel* model); model 72 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc ui::MenuModel* model = GetMenuModel(); model 73 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc if (!ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 75 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc model->ActivatedAt(index); model 78 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::ListValue* NetworkMenuWebUI::ConvertMenuModel(ui::MenuModel* model) { model 80 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 81 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc ui::MenuModel::ItemType type = model->GetTypeAt(i); model 86 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc id = model->GetCommandIdAt(i); model 89 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetString("label", model->GetLabelAt(i)); model 91 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc if (model->GetIconAt(i, &icon)) { model 98 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("enabled", model->IsEnabledAt(i)); model 99 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc const gfx::FontList* font_list = model->GetLabelFontListAt(i); model 104 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->Set("sub", ConvertMenuModel(model->GetSubmenuModelAt(i))); model 661 chrome/browser/ui/webui/history_ui.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 662 chrome/browser/ui/webui/history_ui.cc bookmark_utils::RemoveAllBookmarks(model, GURL(url)); model 89 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc TabModel* model = *iter; model 90 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc for (int i = 0; i < model->GetTabCount(); ++i) model 91 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc web_contents->insert(model->GetWebContentsAt(i)); model 213 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc TabModel* model = *iter; model 214 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc for (int i = 0; i < model->GetTabCount(); ++i) model 215 chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc renderer_details_->AddWebContents(model->GetWebContentsAt(i)); model 221 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); model 222 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc if (!model || !model->loaded()) model 349 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::BookmarkModelLoaded(BookmarkModel* model, model 374 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::ExtensiveBookmarkChangesBeginning(BookmarkModel* model) { model 378 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::ExtensiveBookmarkChangesEnded(BookmarkModel* model) { model 384 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::BookmarkNodeRemoved(BookmarkModel* model, model 397 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::BookmarkAllNodesRemoved(BookmarkModel* model) { model 406 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc BookmarkModel* model, const BookmarkNode* parent, int index) { model 415 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc void BookmarksHandler::BookmarkNodeChanged(BookmarkModel* model, model 72 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 75 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void ExtensiveBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 76 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 77 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void BookmarkNodeRemoved(BookmarkModel* model, model 81 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void BookmarkAllNodesRemoved(BookmarkModel* model) OVERRIDE; model 83 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h BookmarkModel* model, const BookmarkNode* parent, int index) OVERRIDE; model 84 chrome/browser/ui/webui/ntp/android/bookmarks_handler.h virtual void BookmarkNodeChanged(BookmarkModel* model, model 47 chrome/browser/ui/webui/options/autofill_options_handler.cc autofill::CountryComboboxModel model( model 49 chrome/browser/ui/webui/options/autofill_options_handler.cc const std::vector<AutofillCountry*>& countries = model.countries(); model 60 chrome/browser/ui/webui/options/autofill_options_handler.cc option_details->SetString("name", model.GetItemAt(i)); model 1005 chrome/browser/ui/webui/options/certificate_manager_handler.cc scoped_ptr<CertificateManagerModel> model) { model 1006 chrome/browser/ui/webui/options/certificate_manager_handler.cc certificate_manager_model_ = model.Pass(); model 134 chrome/browser/ui/webui/options/certificate_manager_handler.h scoped_ptr<CertificateManagerModel> model); model 127 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::TreeNodesAdded(ui::TreeModel* model, model 135 chrome/browser/ui/webui/options/cookies_view_handler.cc CookiesTreeModel* tree_model = static_cast<CookiesTreeModel*>(model); model 150 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::TreeNodesRemoved(ui::TreeModel* model, model 158 chrome/browser/ui/webui/options/cookies_view_handler.cc CookiesTreeModel* tree_model = static_cast<CookiesTreeModel*>(model); model 170 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::TreeModelBeginBatch(CookiesTreeModel* model) { model 175 chrome/browser/ui/webui/options/cookies_view_handler.cc void CookiesViewHandler::TreeModelEndBatch(CookiesTreeModel* model) { model 179 chrome/browser/ui/webui/options/cookies_view_handler.cc SendChildren(model->GetRoot()); model 29 chrome/browser/ui/webui/options/cookies_view_handler.h virtual void TreeNodesAdded(ui::TreeModel* model, model 33 chrome/browser/ui/webui/options/cookies_view_handler.h virtual void TreeNodesRemoved(ui::TreeModel* model, model 37 chrome/browser/ui/webui/options/cookies_view_handler.h virtual void TreeNodeChanged(ui::TreeModel* model, model 39 chrome/browser/ui/webui/options/cookies_view_handler.h virtual void TreeModelBeginBatch(CookiesTreeModel* model) OVERRIDE; model 40 chrome/browser/ui/webui/options/cookies_view_handler.h virtual void TreeModelEndBatch(CookiesTreeModel* model) OVERRIDE; model 83 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc TabModel* model = *iter; model 84 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc for (int i = 0; i < model->GetTabCount(); ++i) { model 86 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc model->GetWebContentsAt(i), current_profile, &profile_web_contents); model 83 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model = GetBookmarkModel(); model 84 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* parent = model->GetNodeByID(parent_id_); model 87 chrome/browser/undo/bookmark_undo_service.cc model->Remove(parent, index_); model 149 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model = GetBookmarkModel(); model 150 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* parent = model->GetNodeByID(parent_id_); model 153 chrome/browser/undo/bookmark_undo_service.cc bookmark_utils::CloneBookmarkNode(model, removed_node_.elements, parent, model 217 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model = GetBookmarkModel(); model 218 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* node = model->GetNodeByID(node_id_); model 221 chrome/browser/undo/bookmark_undo_service.cc model->SetTitle(node, original_bookmark_.elements[0].title); model 223 chrome/browser/undo/bookmark_undo_service.cc model->SetURL(node, original_bookmark_.elements[0].url); model 281 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model = GetBookmarkModel(); model 282 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* old_parent = model->GetNodeByID(old_parent_id_); model 283 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* new_parent = model->GetNodeByID(new_parent_id_); model 296 chrome/browser/undo/bookmark_undo_service.cc model->Move(node, old_parent, destination_index); model 354 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model = GetBookmarkModel(); model 355 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* parent = model->GetNodeByID(parent_id_); model 360 chrome/browser/undo/bookmark_undo_service.cc ordered_nodes.push_back(model->GetNodeByID(ordered_bookmarks_[i])); model 362 chrome/browser/undo/bookmark_undo_service.cc model->ReorderChildren(parent, ordered_nodes); model 394 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::BookmarkModelLoaded(BookmarkModel* model, model 399 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::BookmarkModelBeingDeleted(BookmarkModel* model) { model 403 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::BookmarkNodeMoved(BookmarkModel* model, model 416 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::BookmarkNodeAdded(BookmarkModel* model, model 425 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::OnWillRemoveBookmarks(BookmarkModel* model, model 436 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::OnWillRemoveAllBookmarks(BookmarkModel* model) { model 438 chrome/browser/undo/bookmark_undo_service.cc for (int i = 0; i < model->root_node()->child_count(); ++i) { model 439 chrome/browser/undo/bookmark_undo_service.cc const BookmarkNode* permanent_node = model->root_node()->GetChild(i); model 448 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::OnWillChangeBookmarkNode(BookmarkModel* model, model 454 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::OnWillReorderBookmarkNode(BookmarkModel* model, model 461 chrome/browser/undo/bookmark_undo_service.cc BookmarkModel* model) { model 465 chrome/browser/undo/bookmark_undo_service.cc void BookmarkUndoService::GroupedBookmarkChangesEnded(BookmarkModel* model) { model 37 chrome/browser/undo/bookmark_undo_service.h virtual void BookmarkModelLoaded(BookmarkModel* model, model 39 chrome/browser/undo/bookmark_undo_service.h virtual void BookmarkModelBeingDeleted(BookmarkModel* model) OVERRIDE; model 40 chrome/browser/undo/bookmark_undo_service.h virtual void BookmarkNodeMoved(BookmarkModel* model, model 45 chrome/browser/undo/bookmark_undo_service.h virtual void BookmarkNodeAdded(BookmarkModel* model, model 48 chrome/browser/undo/bookmark_undo_service.h virtual void OnWillRemoveBookmarks(BookmarkModel* model, model 52 chrome/browser/undo/bookmark_undo_service.h virtual void OnWillRemoveAllBookmarks(BookmarkModel* model) OVERRIDE; model 53 chrome/browser/undo/bookmark_undo_service.h virtual void OnWillChangeBookmarkNode(BookmarkModel* model, model 55 chrome/browser/undo/bookmark_undo_service.h virtual void OnWillReorderBookmarkNode(BookmarkModel* model, model 57 chrome/browser/undo/bookmark_undo_service.h virtual void GroupedBookmarkChangesBeginning(BookmarkModel* model) OVERRIDE; model 58 chrome/browser/undo/bookmark_undo_service.h virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) OVERRIDE; model 58 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 60 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 62 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 63 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); model 67 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(0, model->other_node()->child_count()); model 78 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 80 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 82 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 83 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); model 84 chrome/browser/undo/bookmark_undo_service_test.cc model->Remove(parent, 0); model 91 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(1, model->other_node()->child_count()); model 101 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(0, model->other_node()->child_count()); model 110 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 112 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 114 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n1 = model->AddURL(model->other_node(), model 119 chrome/browser/undo/bookmark_undo_service_test.cc model->SetTitle(n1, ASCIIToUTF16("bar")); model 120 chrome/browser/undo/bookmark_undo_service_test.cc model->SetURL(n1, GURL("http://www.bar.com")); model 128 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(1, model->other_node()->child_count()); model 129 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* node = model->other_node()->GetChild(0); model 135 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(1, model->other_node()->child_count()); model 136 chrome/browser/undo/bookmark_undo_service_test.cc node = model->other_node()->GetChild(0); model 146 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 148 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 150 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n1 = model->AddURL(model->other_node(), model 154 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n2 = model->AddURL(model->other_node(), model 158 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n3 = model->AddURL(model->other_node(), model 162 chrome/browser/undo/bookmark_undo_service_test.cc model->Move(n1, model->other_node(), 3); model 166 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(0), n1); model 167 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(1), n2); model 168 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(2), n3); model 172 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(0), n2); model 173 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(1), n3); model 174 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(2), n1); model 179 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 181 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 183 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n1 = model->AddURL(model->other_node(), model 187 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n2 = model->AddURL(model->other_node(), model 191 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* n3 = model->AddURL(model->other_node(), model 196 chrome/browser/undo/bookmark_undo_service_test.cc model->AddFolder(model->other_node(), 3, ASCIIToUTF16("folder")); model 197 chrome/browser/undo/bookmark_undo_service_test.cc model->Move(n3, f1, 0); model 201 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(4, model->other_node()->child_count()); model 202 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(0), n1); model 203 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(1), n2); model 204 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(2), n3); model 205 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(3), f1); model 210 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(3, model->other_node()->child_count()); model 211 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(0), n1); model 212 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(1), n2); model 213 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(model->other_node()->GetChild(2), f1); model 221 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 223 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 225 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* f1 = model->AddFolder(model->other_node(), model 228 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(f1, 0, ASCIIToUTF16("foo"), GURL("http://www.foo.com")); model 229 chrome/browser/undo/bookmark_undo_service_test.cc model->SetTitle(f1, ASCIIToUTF16("Renamed")); model 230 chrome/browser/undo/bookmark_undo_service_test.cc model->Remove(model->other_node(), 0); model 234 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->child_count()); model 235 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->GetChild(0)->child_count()); model 236 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* node = model->other_node()->GetChild(0); model 239 chrome/browser/undo/bookmark_undo_service_test.cc node = model->other_node()->GetChild(0)->GetChild(0); model 246 chrome/browser/undo/bookmark_undo_service_test.cc node = model->other_node()->GetChild(0); model 251 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(0, model->other_node()->GetChild(0)->child_count()); model 255 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(0, model->other_node()->child_count()); model 261 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->child_count()); model 262 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->GetChild(0)->child_count()); model 263 chrome/browser/undo/bookmark_undo_service_test.cc node = model->other_node()->GetChild(0); model 265 chrome/browser/undo/bookmark_undo_service_test.cc node = model->other_node()->GetChild(0)->GetChild(0); model 270 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(0, model->other_node()->child_count()); model 275 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 277 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 279 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 280 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.foo.com")); model 281 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 1, ASCIIToUTF16("moo"), GURL("http://www.moo.com")); model 282 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 2, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); model 283 chrome/browser/undo/bookmark_undo_service_test.cc model->SortChildren(parent); model 316 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 318 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 322 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 323 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.google.com")); model 324 chrome/browser/undo/bookmark_undo_service_test.cc new_folder= model->AddFolder(parent, 1, ASCIIToUTF16("folder")); model 325 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(new_folder, 0, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); model 327 chrome/browser/undo/bookmark_undo_service_test.cc parent = model->bookmark_bar_node(); model 328 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("a"), GURL("http://www.a.com")); model 329 chrome/browser/undo/bookmark_undo_service_test.cc new_folder = model->AddFolder(parent, 1, ASCIIToUTF16("folder")); model 330 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(new_folder, 0, ASCIIToUTF16("b"), GURL("http://www.b.com")); model 332 chrome/browser/undo/bookmark_undo_service_test.cc model->RemoveAll(); model 337 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(2, model->other_node()->child_count()); model 338 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(1, model->other_node()->GetChild(1)->child_count()); model 339 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* node = model->other_node()->GetChild(1)->GetChild(0); model 343 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(2, model->bookmark_bar_node()->child_count()); model 344 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(1, model->bookmark_bar_node()->GetChild(1)->child_count()); model 345 chrome/browser/undo/bookmark_undo_service_test.cc node = model->bookmark_bar_node()->GetChild(1)->GetChild(0); model 351 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(0, model->other_node()->child_count()); model 352 chrome/browser/undo/bookmark_undo_service_test.cc EXPECT_EQ(0, model->bookmark_bar_node()->child_count()); model 356 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 358 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 362 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 363 chrome/browser/undo/bookmark_undo_service_test.cc new_folder = model->AddFolder(parent, 0, ASCIIToUTF16("folder")); model 364 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(new_folder, 0, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); model 366 chrome/browser/undo/bookmark_undo_service_test.cc model->Remove(parent, 0); model 371 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->child_count()); model 372 chrome/browser/undo/bookmark_undo_service_test.cc new_folder = model->other_node()->GetChild(0); model 381 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(0, model->other_node()->child_count()); model 386 chrome/browser/undo/bookmark_undo_service_test.cc ASSERT_EQ(1, model->other_node()->child_count()); model 387 chrome/browser/undo/bookmark_undo_service_test.cc new_folder = model->other_node()->GetChild(0); model 395 chrome/browser/undo/bookmark_undo_service_test.cc BookmarkModel* model = GetModel(); model 397 chrome/browser/undo/bookmark_undo_service_test.cc model->AddObserver(undo_service); model 402 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* parent = model->other_node(); model 403 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.foo.com")); model 405 chrome/browser/undo/bookmark_undo_service_test.cc model->AddURL(parent, i, ASCIIToUTF16("bar"), GURL("http://www.bar.com")); model 414 chrome/browser/undo/bookmark_undo_service_test.cc const BookmarkNode* node = model->other_node()->GetChild(0); model 458 chrome/browser/unload_browsertest.cc FastTabCloseTabStripModelObserver(TabStripModel* model, model 460 chrome/browser/unload_browsertest.cc : model_(model), model 162 chrome/installer/util/wmi.cc base::win::ScopedVariant model; model 163 chrome/installer/util/wmi.cc class_object->Get(L"Model", 0, model.Receive(), 0, 0); model 168 chrome/installer/util/wmi.cc if (model.type() == VT_BSTR) model 171 chrome/installer/util/wmi.cc if (model.type() == VT_BSTR) model 172 chrome/installer/util/wmi.cc model_string += V_BSTR(&model); model 65 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc ClientSideModel model; model 67 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(url_tld_token_net_)); model 68 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(page_link_domain_phishing_)); model 69 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(page_term_login_)); model 70 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString("login")); model 71 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kUrlTldToken + model 73 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kPageLinkDomain + model 75 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString(features::kPageTerm + model 77 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_hashes(crypto::SHA256HashString("login")); model 80 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc ClientSideModel::Rule* rule = model.add_rule(); model 86 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc rule = model.add_rule(); model 92 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_page_term(3); model 93 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.set_murmur_hash_seed(2777808611U); model 94 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.add_page_word(MurmurHash3String("login", model.murmur_hash_seed())); model 95 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc model.set_max_words_per_term(1); model 98 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc scorer_.reset(Scorer::Create(model.SerializeAsString())); model 69 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc void PhishingClassifierFilter::OnSetPhishingModel(const std::string& model) { model 73 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc if (!model.empty()) { model 74 chrome/renderer/safe_browsing/phishing_classifier_delegate.cc scorer = safe_browsing::Scorer::Create(model); model 31 chrome/renderer/safe_browsing/phishing_classifier_delegate.h void OnSetPhishingModel(const std::string& model); model 56 chrome/renderer/safe_browsing/scorer.cc ClientSideModel& model = scorer->model_; model 57 chrome/renderer/safe_browsing/scorer.cc if (!model.ParseFromArray(model_str.data(), model_str.size())) { model 62 chrome/renderer/safe_browsing/scorer.cc } else if (!model.IsInitialized()) { model 69 chrome/renderer/safe_browsing/scorer.cc for (int i = 0; i < model.page_term_size(); ++i) { model 70 chrome/renderer/safe_browsing/scorer.cc scorer->page_terms_.insert(model.hashes(model.page_term(i))); model 72 chrome/renderer/safe_browsing/scorer.cc for (int i = 0; i < model.page_word_size(); ++i) { model 73 chrome/renderer/safe_browsing/scorer.cc scorer->page_words_.insert(model.page_word(i)); model 31 chrome/test/base/menu_model_test.cc void MenuModelTest::CountEnabledExecutable(ui::MenuModel* model, model 33 chrome/test/base/menu_model_test.cc for (int i = 0; i < model->GetItemCount(); ++i) { model 34 chrome/test/base/menu_model_test.cc ui::MenuModel::ItemType type = model->GetTypeAt(i); model 39 chrome/test/base/menu_model_test.cc CountEnabledExecutable(model->GetSubmenuModelAt(i), count); model 44 chrome/test/base/menu_model_test.cc model->IsEnabledAt(i); // Check if it's enabled (ignore answer). model 45 chrome/test/base/menu_model_test.cc model->ActivatedAt(i); // Execute it. model 41 chrome/test/base/menu_model_test.h void CountEnabledExecutable(ui::MenuModel* model, int* count); model 405 chrome/test/base/ui_test_utils.cc omnibox->model()->OnSetFocus(false); model 408 chrome/test/base/ui_test_utils.cc while (!omnibox->model()->autocomplete_controller()->done()) { model 350 cloud_print/gcp20/prototype/printer.cc info->model = "Prototype r" + std::string(LASTCHANGE_STRING); model 252 cloud_print/gcp20/prototype/privet_http_server.cc response->SetString("model", info.model); model 49 cloud_print/gcp20/prototype/privet_http_server.h std::string model; model 36 components/autofill/core/browser/autofill_data_model_unittest.cc TestAutofillDataModel model("guid", std::string()); model 37 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 39 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("http://www.example.com"); model 40 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 42 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("https://www.example.com"); model 43 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 45 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("file:///tmp/example.txt"); model 46 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 48 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("data:text/plain;charset=utf-8;base64,ZXhhbXBsZQ=="); model 49 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 51 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("chrome://settings/autofill"); model 52 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 54 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("Chrome Settings"); model 55 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_TRUE(model.IsVerified()); model 57 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin("Some gibberish string"); model 58 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_TRUE(model.IsVerified()); model 60 components/autofill/core/browser/autofill_data_model_unittest.cc model.set_origin(std::string()); model 61 components/autofill/core/browser/autofill_data_model_unittest.cc EXPECT_FALSE(model.IsVerified()); model 1232 components/breakpad/app/breakpad_linux.cc static const char model[] = "model"; model 1246 components/breakpad/app/breakpad_linux.cc writer.AddPairString(model, android_build_info->model()); model 58 components/dom_distiller/core/dom_distiller_database_unittest.cc EntryMap model; model 60 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key0"].set_entry_id("key0"); model 61 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key0"].add_pages()->set_url("http://foo.com/1"); model 62 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key0"].add_pages()->set_url("http://foo.com/2"); model 63 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key0"].add_pages()->set_url("http://foo.com/3"); model 65 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key1"].set_entry_id("key1"); model 66 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key1"].add_pages()->set_url("http://bar.com/all"); model 68 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key2"].set_entry_id("key2"); model 69 components/dom_distiller/core/dom_distiller_database_unittest.cc model["key2"].add_pages()->set_url("http://baz.com/1"); model 71 components/dom_distiller/core/dom_distiller_database_unittest.cc return model; model 140 components/dom_distiller/core/dom_distiller_database_unittest.cc ACTION_P(AppendLoadEntries, model) { model 142 components/dom_distiller/core/dom_distiller_database_unittest.cc for (EntryMap::const_iterator it = model.begin(); it != model.end(); ++it) { model 162 components/dom_distiller/core/dom_distiller_database_unittest.cc EntryMap model = GetSmallModel(); model 171 components/dom_distiller/core/dom_distiller_database_unittest.cc EXPECT_CALL(*mock_db, Load(_)).WillOnce(AppendLoadEntries(model)); model 173 components/dom_distiller/core/dom_distiller_database_unittest.cc .WillOnce(VerifyLoadEntries(testing::ByRef(model))); model 215 components/dom_distiller/core/dom_distiller_database_unittest.cc EntryMap model = GetSmallModel(); model 225 components/dom_distiller/core/dom_distiller_database_unittest.cc for (EntryMap::iterator it = model.begin(); it != model.end(); ++it) { model 230 components/dom_distiller/core/dom_distiller_database_unittest.cc EXPECT_CALL(*mock_db, Save(_, _)).WillOnce(VerifyUpdateEntries(model)); model 279 components/dom_distiller/core/dom_distiller_database_unittest.cc EntryMap model = GetSmallModel(); model 290 components/dom_distiller/core/dom_distiller_database_unittest.cc for (EntryMap::iterator it = model.begin(); it != model.end(); ++it) { model 294 components/dom_distiller/core/dom_distiller_database_unittest.cc EXPECT_CALL(*mock_db, Save(_, _)).WillOnce(VerifyRemoveEntries(model)); model 365 components/dom_distiller/core/dom_distiller_database_unittest.cc EntryMap model = GetSmallModel(); model 370 components/dom_distiller/core/dom_distiller_database_unittest.cc for (EntryMap::iterator it = model.begin(); it != model.end(); ++it) { model 386 components/dom_distiller/core/dom_distiller_database_unittest.cc ExpectEntryPointersEquals(model, load_entries); model 23 components/dom_distiller/core/dom_distiller_model_unittest.cc DomDistillerModel model(initial_model); model 26 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); model 30 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); model 34 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_FALSE(model.GetEntryById("some_other_id", NULL)); model 56 components/dom_distiller/core/dom_distiller_model_unittest.cc DomDistillerModel model(initial_model); model 59 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page1->url()), &found_entry)); model 63 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page2->url()), &found_entry)); model 67 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page3->url()), &found_entry)); model 71 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_FALSE(model.GetEntryByUrl(GURL("http://example.com/foo"), NULL)); model 97 components/dom_distiller/core/dom_distiller_model_unittest.cc DomDistillerModel model(initial_model); model 99 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page1->url()), NULL)); model 100 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page2->url()), NULL)); model 101 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryByUrl(GURL(page3->url()), NULL)); model 104 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); model 108 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); model 119 components/dom_distiller/core/dom_distiller_model_unittest.cc model.ApplyChangesToModel( model 122 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry1.entry_id(), &found_entry)); model 126 components/dom_distiller/core/dom_distiller_model_unittest.cc EXPECT_TRUE(model.GetEntryById(entry2.entry_id(), &found_entry)); model 57 components/dom_distiller/core/dom_distiller_store_unittest.cc explicit FakeSyncChangeProcessor(EntryMap* model) : model_(model) {} model 163 components/dom_distiller/core/dom_distiller_store_unittest.cc SyncDataList SyncDataFromEntryMap(const EntryMap& model) { model 165 components/dom_distiller/core/dom_distiller_store_unittest.cc for (EntryMap::const_iterator it = model.begin(); it != model.end(); ++it) { model 57 components/nacl/zygote/nacl_fork_delegate_linux.cc switch (cpuid.model()) { model 60 components/storage_monitor/storage_info.cc const base::string16& model, model 66 components/storage_monitor/storage_info.cc model_name_(model), model 40 components/storage_monitor/storage_info.h const base::string16& model, model 67 components/storage_monitor/storage_monitor_linux.cc std::string model = GetUdevDevicePropertyValue(device, kModelID); model 70 components/storage_monitor/storage_monitor_linux.cc if (vendor.empty() && model.empty() && serial_short.empty()) model 73 components/storage_monitor/storage_monitor_linux.cc return kVendorModelSerialPrefix + vendor + ":" + model + ":" + serial_short; model 880 content/child/npapi/plugin_host.cc intptr_t model = reinterpret_cast<intptr_t>(value); model 881 content/child/npapi/plugin_host.cc if (model == NPDrawingModelCoreGraphics || model 882 content/child/npapi/plugin_host.cc ((model == NPDrawingModelInvalidatingCoreAnimation || model 883 content/child/npapi/plugin_host.cc model == NPDrawingModelCoreAnimation) && model 885 content/child/npapi/plugin_host.cc plugin->set_drawing_model(static_cast<NPDrawingModel>(model)); model 892 content/child/npapi/plugin_host.cc intptr_t model = reinterpret_cast<intptr_t>(value); model 893 content/child/npapi/plugin_host.cc if (model == NPEventModelCocoa) { model 894 content/child/npapi/plugin_host.cc plugin->set_event_model(static_cast<NPEventModel>(model)); model 27 courgette/adjustment_method.cc bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) { model 207 courgette/adjustment_method.cc AssignmentProblem(const Trace& model, model 209 courgette/adjustment_method.cc : m_trace_(model), model 574 courgette/adjustment_method.cc bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) { model 577 courgette/adjustment_method.cc model_ = &model; model 611 courgette/adjustment_method.cc void Solve(const Trace& model, const Trace& problem) { model 612 courgette/adjustment_method.cc LinkLabelInfos(model); model 614 courgette/adjustment_method.cc AssignmentProblem a(model, problem); model 683 courgette/adjustment_method.cc Status Adjust(const AssemblyProgram& model, AssemblyProgram* program) { model 685 courgette/adjustment_method.cc bool ok = method->Adjust(model, program); model 37 courgette/adjustment_method.h virtual bool Adjust(const AssemblyProgram& model, model 1228 courgette/adjustment_method_2.cc bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) { model 1231 courgette/adjustment_method_2.cc model_ = &model; model 1268 courgette/adjustment_method_2.cc void Solve(const Trace& model, size_t model_end) { model 1270 courgette/adjustment_method_2.cc AssignmentProblem a(model, model_end); model 143 courgette/courgette.h Status Adjust(const AssemblyProgram& model, AssemblyProgram *program); model 168 courgette/courgette_tool.cc courgette::AssemblyProgram* model = NULL; model 172 courgette/courgette_tool.cc &model); model 176 courgette/courgette_tool.cc const courgette::Status adjust_status = Adjust(*model, program); model 216 courgette/courgette_tool.cc courgette::AssemblyProgram* model = NULL; model 220 courgette/courgette_tool.cc &model); model 233 courgette/courgette_tool.cc const courgette::Status adjust_status = Adjust(*model, program); model 246 courgette/courgette_tool.cc const courgette::Status encode_model_status = Encode(model, &encoded_model); model 247 courgette/courgette_tool.cc courgette::DeleteAssemblyProgram(model); model 102 gpu/config/gpu_info_collector_android.cc gpu_info->machine_model = base::android::BuildInfo::GetInstance()->model(); model 26 gpu/tools/compositor_model_bench/render_models.cc RenderModelSimulator* ConstructSimulationModel(RenderModel model, model 30 gpu/tools/compositor_model_bench/render_models.cc switch (model) { model 37 gpu/tools/compositor_model_bench/render_models.cc "If we know its name, then it's..." << ModelToString(model); model 36 gpu/tools/compositor_model_bench/render_models.h RenderModelSimulator* ConstructSimulationModel(RenderModel model, model 31 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java IdAndSizes(String model, String device, int minWidth, int minHeight) { model 32 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java mModel = model; model 125 media/filters/gpu_video_decoder.cc (cpu.vendor_name() == "GenuineIntel") && cpu.model() >= 55; model 40 net/cronet/android/java/src/org/chromium/net/UserAgent.java String model = Build.MODEL; model 41 net/cronet/android/java/src/org/chromium/net/UserAgent.java if (model.length() > 0) { model 43 net/cronet/android/java/src/org/chromium/net/UserAgent.java builder.append(model); model 47 net/third_party/nss/ssl/ssl.h SSL_IMPORT PRFileDesc *SSL_ImportFD(PRFileDesc *model, PRFileDesc *fd); model 53 net/third_party/nss/ssl/ssl.h SSL_IMPORT PRFileDesc *DTLS_ImportFD(PRFileDesc *model, PRFileDesc *fd); model 687 net/third_party/nss/ssl/ssl.h SSL_IMPORT PRFileDesc *SSL_ReconfigFD(PRFileDesc *model, PRFileDesc *fd); model 1384 net/third_party/nss/ssl/sslsock.c ssl_ImportFD(PRFileDesc *model, PRFileDesc *fd, SSLProtocolVariant variant) model 1395 net/third_party/nss/ssl/sslsock.c if (model == NULL) { model 1399 net/third_party/nss/ssl/sslsock.c sslSocket * ss = ssl_FindSocket(model); model 1402 net/third_party/nss/ssl/sslsock.c SSL_GETPID(), model)); model 1424 net/third_party/nss/ssl/sslsock.c SSL_ImportFD(PRFileDesc *model, PRFileDesc *fd) model 1426 net/third_party/nss/ssl/sslsock.c return ssl_ImportFD(model, fd, ssl_variant_stream); model 1430 net/third_party/nss/ssl/sslsock.c DTLS_ImportFD(PRFileDesc *model, PRFileDesc *fd) model 1432 net/third_party/nss/ssl/sslsock.c return ssl_ImportFD(model, fd, ssl_variant_datagram); model 1643 net/third_party/nss/ssl/sslsock.c SSL_ReconfigFD(PRFileDesc *model, PRFileDesc *fd) model 1650 net/third_party/nss/ssl/sslsock.c if (model == NULL) { model 1654 net/third_party/nss/ssl/sslsock.c sm = ssl_FindSocket(model); model 1657 net/third_party/nss/ssl/sslsock.c SSL_GETPID(), model)); model 50 sync/util/get_session_name.cc session_name = android_build_info->model(); model 152 third_party/expat/files/lib/expat.h XML_Content *model); model 972 third_party/expat/files/lib/expat.h XML_FreeContentModel(XML_Parser parser, XML_Content *model); model 1890 third_party/expat/files/lib/xmlparse.c XML_FreeContentModel(XML_Parser parser, XML_Content *model) model 1892 third_party/expat/files/lib/xmlparse.c FREE(model); model 4658 third_party/expat/files/lib/xmlparse.c XML_Content *model = build_model(parser); model 4659 third_party/expat/files/lib/xmlparse.c if (!model) model 4662 third_party/expat/files/lib/xmlparse.c elementDeclHandler(handlerArg, declElementType->name, model); model 149 third_party/lzma_sdk/CpuArch.c UInt32 family, model; model 153 third_party/lzma_sdk/CpuArch.c model = x86cpuid_GetModel(&p); model 157 third_party/lzma_sdk/CpuArch.c case CPU_FIRM_INTEL: return (family < 6 || (family == 6 && model == 0x100C)); model 158 third_party/lzma_sdk/CpuArch.c case CPU_FIRM_AMD: return (family < 5 || (family == 5 && (model < 6 || model == 0xA))); model 159 third_party/lzma_sdk/CpuArch.c case CPU_FIRM_VIA: return (family < 6 || (family == 6 && model < 0xF)); model 96 third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc int model = (eax >> 4) & 0xf; model 99 third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc model += ((eax >> 16) & 0xf) << 4; model 109 third_party/protobuf/src/google/protobuf/stubs/atomicops_internals_x86_gcc.cc 32 <= model && model <= 63) { model 1201 third_party/sqlite/src/tool/lemon.c struct config *cfp, model; model 1204 third_party/sqlite/src/tool/lemon.c model.rp = rp; model 1205 third_party/sqlite/src/tool/lemon.c model.dot = dot; model 1206 third_party/sqlite/src/tool/lemon.c cfp = Configtable_find(&model); model 1226 third_party/sqlite/src/tool/lemon.c struct config *cfp, model; model 1230 third_party/sqlite/src/tool/lemon.c model.rp = rp; model 1231 third_party/sqlite/src/tool/lemon.c model.dot = dot; model 1232 third_party/sqlite/src/tool/lemon.c cfp = Configtable_find(&model); model 93 third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.cc int model = (eax >> 4) & 0xf; model 96 third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.cc model += ((eax >> 16) & 0xf) << 4; model 106 third_party/tcmalloc/chromium/src/base/atomicops-internals-x86.cc 32 <= model && model <= 63) { model 93 third_party/tcmalloc/vendor/src/base/atomicops-internals-x86.cc int model = (eax >> 4) & 0xf; model 96 third_party/tcmalloc/vendor/src/base/atomicops-internals-x86.cc model += ((eax >> 16) & 0xf) << 4; model 106 third_party/tcmalloc/vendor/src/base/atomicops-internals-x86.cc 32 <= model && model <= 63) { model 66 ui/app_list/cocoa/apps_grid_controller.h - (app_list::AppListModel*)model; model 49 ui/app_list/cocoa/apps_grid_view_item.h - (app_list::AppListItem*)model; model 38 ui/app_list/pagination_model_unittest.cc void set_model(PaginationModel* model) { model_ = model; } model 20 ui/app_list/test/app_list_test_model.cc AppListTestModel* model) model 22 ui/app_list/test/app_list_test_model.cc model_(model) { model 23 ui/app_list/test/app_list_test_model.h AppListTestItem(const std::string& id, AppListTestModel* model); model 44 ui/app_list/views/app_list_folder_view.cc AppListModel* model, model 50 ui/app_list/views/app_list_folder_view.cc model_(model), model 64 ui/app_list/views/app_list_folder_view.cc items_grid_view_->SetModel(model); model 39 ui/app_list/views/app_list_folder_view.h AppListModel* model, model 26 ui/app_list/views/apps_container_view.cc AppListModel* model) model 27 ui/app_list/views/apps_container_view.cc : model_(model), model 44 ui/app_list/views/apps_container_view.cc new AppListFolderView(this, model, app_list_main_view); model 36 ui/app_list/views/apps_container_view.h AppListModel* model); model 381 ui/app_list/views/apps_grid_view.cc void AppsGridView::SetModel(AppListModel* model) { model 385 ui/app_list/views/apps_grid_view.cc model_ = model; model 90 ui/app_list/views/apps_grid_view.h void SetModel(AppListModel* model); model 44 ui/app_list/views/apps_grid_view_unittest.cc PageFlipWaiter(base::MessageLoopForUI* ui_loop, PaginationModel* model) model 45 ui/app_list/views/apps_grid_view_unittest.cc : ui_loop_(ui_loop), model_(model), wait_(false), page_changed_(false) { model 38 ui/app_list/views/contents_view.cc AppsContainerView* GetAppsContainerView(views::ViewModel* model) { model 39 ui/app_list/views/contents_view.cc return static_cast<AppsContainerView*>(model->view_at(kIndexAppsContainer)); model 42 ui/app_list/views/contents_view.cc SearchResultListView* GetSearchResultListView(views::ViewModel* model) { model 44 ui/app_list/views/contents_view.cc model->view_at(kIndexSearchResults)); model 51 ui/app_list/views/contents_view.cc AppListModel* model, model 57 ui/app_list/views/contents_view.cc DCHECK(model); model 63 ui/app_list/views/contents_view.cc new AppsContainerView(app_list_main_view, pagination_model, model); model 72 ui/app_list/views/contents_view.cc GetSearchResultListView(view_model_.get())->SetResults(model->results()); model 43 ui/app_list/views/contents_view.h AppListModel* model, model 120 ui/app_list/views/page_switcher.cc PageSwitcher::PageSwitcher(PaginationModel* model) model 121 ui/app_list/views/page_switcher.cc : model_(model), model 126 ui/app_list/views/page_switcher.cc SelectedPageChanged(-1, model->selected_page()); model 24 ui/app_list/views/page_switcher.h explicit PageSwitcher(PaginationModel* model); model 33 ui/base/cocoa/menu_controller.h @property(nonatomic, assign) ui::MenuModel* model; model 51 ui/base/cocoa/menu_controller.h - (id)initWithModel:(ui::MenuModel*)model model 80 ui/base/cocoa/menu_controller.h fromModel:(ui::MenuModel*)model; model 81 ui/base/cocoa/menu_controller.h - (NSMenu*)menuFromModel:(ui::MenuModel*)model; model 84 ui/base/cocoa/menu_controller.h - (int)maxWidthForMenuModel:(ui::MenuModel*)model model 19 ui/base/models/combobox_model_observer.h virtual void OnComboboxModelChanged(ComboboxModel* model) = 0; model 73 ui/base/models/list_model_unittest.cc ListModel<FooItem> model; model 74 ui/base/models/list_model_unittest.cc model.AddObserver(this); model 77 ui/base/models/list_model_unittest.cc model.Add(new FooItem(0)); model 81 ui/base/models/list_model_unittest.cc model.Add(new FooItem(1)); model 85 ui/base/models/list_model_unittest.cc model.AddAt(0, new FooItem(2)); model 89 ui/base/models/list_model_unittest.cc EXPECT_EQ(3U, model.item_count()); model 92 ui/base/models/list_model_unittest.cc EXPECT_EQ(2, model.GetItemAt(0)->id()); model 93 ui/base/models/list_model_unittest.cc EXPECT_EQ(0, model.GetItemAt(1)->id()); model 94 ui/base/models/list_model_unittest.cc EXPECT_EQ(1, model.GetItemAt(2)->id()); model 98 ui/base/models/list_model_unittest.cc ListModel<FooItem> model; model 99 ui/base/models/list_model_unittest.cc model.AddObserver(this); model 101 ui/base/models/list_model_unittest.cc model.Add(new FooItem(0)); model 102 ui/base/models/list_model_unittest.cc model.Add(new FooItem(1)); model 103 ui/base/models/list_model_unittest.cc model.Add(new FooItem(2)); model 108 ui/base/models/list_model_unittest.cc model.DeleteAt(1); model 111 ui/base/models/list_model_unittest.cc EXPECT_EQ(2U, model.item_count()); model 112 ui/base/models/list_model_unittest.cc EXPECT_EQ(0, model.GetItemAt(0)->id()); model 113 ui/base/models/list_model_unittest.cc EXPECT_EQ(2, model.GetItemAt(1)->id()); model 116 ui/base/models/list_model_unittest.cc model.DeleteAll(); model 121 ui/base/models/list_model_unittest.cc ListModel<FooItem> model; model 122 ui/base/models/list_model_unittest.cc model.AddObserver(this); model 128 ui/base/models/list_model_unittest.cc model.Add(foo0.get()); model 129 ui/base/models/list_model_unittest.cc model.Add(foo1.get()); model 130 ui/base/models/list_model_unittest.cc model.Add(foo2.get()); model 135 ui/base/models/list_model_unittest.cc model.RemoveAll(); model 140 ui/base/models/list_model_unittest.cc ListModel<FooItem> model; model 141 ui/base/models/list_model_unittest.cc model.AddObserver(this); model 143 ui/base/models/list_model_unittest.cc model.Add(new FooItem(0)); model 144 ui/base/models/list_model_unittest.cc model.Add(new FooItem(1)); model 145 ui/base/models/list_model_unittest.cc model.Add(new FooItem(2)); model 150 ui/base/models/list_model_unittest.cc model.Move(0, 2); model 152 ui/base/models/list_model_unittest.cc EXPECT_EQ(1, model.GetItemAt(0)->id()); model 153 ui/base/models/list_model_unittest.cc EXPECT_EQ(2, model.GetItemAt(1)->id()); model 154 ui/base/models/list_model_unittest.cc EXPECT_EQ(0, model.GetItemAt(2)->id()); model 158 ui/base/models/list_model_unittest.cc ListModel<FooItem> model; model 159 ui/base/models/list_model_unittest.cc model.AddObserver(this); model 161 ui/base/models/list_model_unittest.cc model.Add(new FooItem(0)); model 162 ui/base/models/list_model_unittest.cc model.Add(new FooItem(1)); model 163 ui/base/models/list_model_unittest.cc model.Add(new FooItem(2)); model 167 ui/base/models/list_model_unittest.cc model.NotifyItemsChanged(0, 1); model 170 ui/base/models/list_model_unittest.cc model.NotifyItemsChanged(1, 2); model 19 ui/base/models/list_selection_model_unittest.cc static std::string StateAsString(const ListSelectionModel& model) { model 20 ui/base/models/list_selection_model_unittest.cc std::string result = "active=" + base::IntToString(model.active()) + model 21 ui/base/models/list_selection_model_unittest.cc " anchor=" + base::IntToString(model.anchor()) + model 24 ui/base/models/list_selection_model_unittest.cc model.selected_indices()); model 34 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 35 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); model 36 ui/base/models/list_selection_model_unittest.cc EXPECT_TRUE(model.empty()); model 40 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 41 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 42 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); model 43 ui/base/models/list_selection_model_unittest.cc EXPECT_FALSE(model.empty()); model 47 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 48 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(-1); model 49 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); model 50 ui/base/models/list_selection_model_unittest.cc EXPECT_TRUE(model.empty()); model 54 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 55 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(1); model 56 ui/base/models/list_selection_model_unittest.cc model.IncrementFrom(1); model 57 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); model 61 ui/base/models/list_selection_model_unittest.cc model.IncrementFrom(4); model 62 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); model 66 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 67 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 68 ui/base/models/list_selection_model_unittest.cc model.DecrementFrom(0); model 69 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=1 anchor=1 selection=1", StateAsString(model)); model 73 ui/base/models/list_selection_model_unittest.cc model.DecrementFrom(1); model 74 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); model 78 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 79 ui/base/models/list_selection_model_unittest.cc model.DecrementFrom(4); model 80 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); model 84 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 85 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 86 ui/base/models/list_selection_model_unittest.cc EXPECT_FALSE(model.IsSelected(0)); model 87 ui/base/models/list_selection_model_unittest.cc EXPECT_TRUE(model.IsSelected(2)); model 91 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 92 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(2); model 93 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=2", StateAsString(model)); model 95 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(4); model 96 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=2 4", StateAsString(model)); model 100 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 101 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 102 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(4); model 103 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2 4", StateAsString(model)); model 105 ui/base/models/list_selection_model_unittest.cc model.RemoveIndexFromSelection(4); model 106 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=2", StateAsString(model)); model 108 ui/base/models/list_selection_model_unittest.cc model.RemoveIndexFromSelection(2); model 109 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=2 selection=", StateAsString(model)); model 113 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 114 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 115 ui/base/models/list_selection_model_unittest.cc model.SetSelectionFromAnchorTo(7); model 116 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=7 anchor=2 selection=2 3 4 5 6 7", StateAsString(model)); model 118 ui/base/models/list_selection_model_unittest.cc model.Clear(); model 119 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(7); model 120 ui/base/models/list_selection_model_unittest.cc model.SetSelectionFromAnchorTo(2); model 121 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=2 anchor=7 selection=2 3 4 5 6 7", StateAsString(model)); model 123 ui/base/models/list_selection_model_unittest.cc model.Clear(); model 124 ui/base/models/list_selection_model_unittest.cc model.SetSelectionFromAnchorTo(7); model 125 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=7 anchor=7 selection=7", StateAsString(model)); model 129 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 130 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 132 ui/base/models/list_selection_model_unittest.cc model.Clear(); model 133 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model)); model 137 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 138 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(0); model 139 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(4); model 140 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(10); model 141 ui/base/models/list_selection_model_unittest.cc model.set_anchor(4); model 142 ui/base/models/list_selection_model_unittest.cc model.set_active(4); model 143 ui/base/models/list_selection_model_unittest.cc model.Move(4, 0); model 144 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=0 anchor=0 selection=0 1 10", StateAsString(model)); model 148 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 149 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(0); model 150 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(4); model 151 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(10); model 152 ui/base/models/list_selection_model_unittest.cc model.set_anchor(0); model 153 ui/base/models/list_selection_model_unittest.cc model.set_active(0); model 154 ui/base/models/list_selection_model_unittest.cc model.Move(0, 3); model 155 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=3 anchor=3 selection=3 4 10", StateAsString(model)); model 159 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 160 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(0); model 161 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(4); model 162 ui/base/models/list_selection_model_unittest.cc model.AddIndexToSelection(10); model 163 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=0 anchor=0 selection=0 4 10", StateAsString(model)); model 165 ui/base/models/list_selection_model_unittest.cc model2.Copy(model); model 170 ui/base/models/list_selection_model_unittest.cc ListSelectionModel model; model 171 ui/base/models/list_selection_model_unittest.cc model.SetSelectedIndex(2); model 173 ui/base/models/list_selection_model_unittest.cc model.AddSelectionFromAnchorTo(4); model 174 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=4 anchor=2 selection=2 3 4", StateAsString(model)); model 176 ui/base/models/list_selection_model_unittest.cc model.AddSelectionFromAnchorTo(0); model 177 ui/base/models/list_selection_model_unittest.cc EXPECT_EQ("active=0 anchor=2 selection=0 1 2 3 4", StateAsString(model)); model 15 ui/base/models/menu_model.cc MenuModel** model, model 17 ui/base/models/menu_model.cc const int item_count = (*model)->GetItemCount(); model 20 ui/base/models/menu_model.cc if ((*model)->GetTypeAt(candidate_index) == TYPE_SUBMENU) { model 21 ui/base/models/menu_model.cc MenuModel* submenu_model = (*model)->GetSubmenuModelAt(candidate_index); model 23 ui/base/models/menu_model.cc *model = submenu_model; model 27 ui/base/models/menu_model.cc if ((*model)->GetCommandIdAt(candidate_index) == command_id) { model 134 ui/base/models/menu_model.h MenuModel** model, model 150 ui/base/models/simple_menu_model.cc ButtonMenuItemModel* model) { model 153 ui/base/models/simple_menu_model.cc model, NORMAL_SEPARATOR }; model 159 ui/base/models/simple_menu_model.cc MenuModel* model) { model 161 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_SUBMENU, -1, model, NULL, NORMAL_SEPARATOR }; model 166 ui/base/models/simple_menu_model.cc int string_id, MenuModel* model) { model 167 ui/base/models/simple_menu_model.cc AddSubMenu(command_id, l10n_util::GetStringUTF16(string_id), model); model 228 ui/base/models/simple_menu_model.cc MenuModel* model) { model 230 ui/base/models/simple_menu_model.cc gfx::Image(), TYPE_SUBMENU, -1, model, NULL, model 236 ui/base/models/simple_menu_model.cc int index, int command_id, int string_id, MenuModel* model) { model 238 ui/base/models/simple_menu_model.cc model); model 96 ui/base/models/simple_menu_model.h void AddButtonItem(int command_id, ButtonMenuItemModel* model); model 99 ui/base/models/simple_menu_model.h MenuModel* model); model 100 ui/base/models/simple_menu_model.h void AddSubMenuWithStringId(int command_id, int string_id, MenuModel* model); model 119 ui/base/models/simple_menu_model.h MenuModel* model); model 121 ui/base/models/simple_menu_model.h int index, int command_id, int string_id, MenuModel* model); model 37 ui/base/models/tree_model.h virtual void TreeNodesAdded(TreeModel* model, model 43 ui/base/models/tree_model.h virtual void TreeNodesRemoved(TreeModel* model, model 49 ui/base/models/tree_model.h virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) = 0; model 37 ui/base/models/tree_node_model_unittest.cc virtual void TreeNodesAdded(TreeModel* model, model 43 ui/base/models/tree_node_model_unittest.cc virtual void TreeNodesRemoved(TreeModel* model, model 49 ui/base/models/tree_node_model_unittest.cc virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) OVERRIDE { model 72 ui/base/models/tree_node_model_unittest.cc TreeNodeModel<TestNode > model(root); model 73 ui/base/models/tree_node_model_unittest.cc model.AddObserver(this); model 76 ui/base/models/tree_node_model_unittest.cc model.Add(root, child1, 0); model 84 ui/base/models/tree_node_model_unittest.cc model.Add(root, child2, 1); model 97 ui/base/models/tree_node_model_unittest.cc TreeNodeModel<TestNode > model(root); model 98 ui/base/models/tree_node_model_unittest.cc model.AddObserver(this); model 103 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(1, model.GetChildCount(root)); model 106 ui/base/models/tree_node_model_unittest.cc delete model.Remove(root, child1); model 110 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(0, model.GetChildCount(root)); model 283 ui/base/models/tree_node_model_unittest.cc TreeNodeModel<TestNode > model(root); model 284 ui/base/models/tree_node_model_unittest.cc model.AddObserver(this); model 287 ui/base/models/tree_node_model_unittest.cc model.SetTitle(root, title); model 287 ui/events/event.h LocatedEvent(const LocatedEvent& model, T* source, T* target) model 288 ui/events/event.h : Event(model), model 289 ui/events/event.h location_(model.location_), model 290 ui/events/event.h root_location_(model.root_location_) { model 317 ui/events/event.h MouseEvent(const MouseEvent& model, T* source, T* target) model 318 ui/events/event.h : LocatedEvent(model, source, target), model 319 ui/events/event.h changed_button_flags_(model.changed_button_flags_) { model 323 ui/events/event.h MouseEvent(const MouseEvent& model, model 328 ui/events/event.h : LocatedEvent(model, source, target), model 329 ui/events/event.h changed_button_flags_(model.changed_button_flags_) { model 417 ui/events/event.h MouseWheelEvent(const MouseWheelEvent& model, model 422 ui/events/event.h : MouseEvent(model, source, target, type, flags), model 423 ui/events/event.h offset_(model.x_offset(), model.y_offset()){ model 448 ui/events/event.h TouchEvent(const TouchEvent& model, T* source, T* target) model 449 ui/events/event.h : LocatedEvent(model, source, target), model 450 ui/events/event.h touch_id_(model.touch_id_), model 451 ui/events/event.h radius_x_(model.radius_x_), model 452 ui/events/event.h radius_y_(model.radius_y_), model 453 ui/events/event.h rotation_angle_(model.rotation_angle_), model 454 ui/events/event.h force_(model.force_), model 455 ui/events/event.h source_device_id_(model.source_device_id_) { model 619 ui/events/event.h ScrollEvent(const ScrollEvent& model, model 622 ui/events/event.h : MouseEvent(model, source, target), model 623 ui/events/event.h x_offset_(model.x_offset_), model 624 ui/events/event.h y_offset_(model.y_offset_), model 625 ui/events/event.h x_offset_ordinal_(model.x_offset_ordinal_), model 626 ui/events/event.h y_offset_ordinal_(model.y_offset_ordinal_), model 627 ui/events/event.h finger_count_(model.finger_count_){ model 677 ui/events/event.h GestureEvent(const GestureEvent& model, T* source, T* target) model 678 ui/events/event.h : LocatedEvent(model, source, target), model 679 ui/events/event.h details_(model.details_), model 680 ui/events/event.h touch_ids_bitfield_(model.touch_ids_bitfield_) { model 526 ui/gfx/render_text.cc bool RenderText::MoveCursorTo(const SelectionModel& model) { model 529 ui/gfx/render_text.cc Range range(std::min(model.selection().start(), text_length), model 530 ui/gfx/render_text.cc std::min(model.caret_pos(), text_length)); model 535 ui/gfx/render_text.cc SelectionModel sel(range, model.caret_affinity()); model 900 ui/gfx/render_text.cc void RenderText::SetSelectionModel(const SelectionModel& model) { model 901 ui/gfx/render_text.cc DCHECK_LE(model.selection().GetMax(), text().length()); model 902 ui/gfx/render_text.cc selection_model_ = model; model 491 ui/gfx/render_text.h virtual void SetSelectionModel(const SelectionModel& model); model 275 ui/message_center/message_center_tray_unittest.cc scoped_ptr<ui::MenuModel> model( model 278 ui/message_center/message_center_tray_unittest.cc EXPECT_EQ(2, model->GetItemCount()); model 279 ui/message_center/message_center_tray_unittest.cc const int second_command = model->GetCommandIdAt(1); model 282 ui/message_center/message_center_tray_unittest.cc EXPECT_TRUE(model->IsEnabledAt(0)); model 283 ui/message_center/message_center_tray_unittest.cc EXPECT_TRUE(model->IsEnabledAt(1)); model 284 ui/message_center/message_center_tray_unittest.cc model->ActivatedAt(1); model 291 ui/message_center/message_center_tray_unittest.cc model->ActivatedAt(0); model 302 ui/message_center/message_center_tray_unittest.cc model = message_center_tray_->CreateNotificationMenuModel( model 304 ui/message_center/message_center_tray_unittest.cc EXPECT_EQ(1, model->GetItemCount()); model 305 ui/message_center/message_center_tray_unittest.cc EXPECT_EQ(second_command, model->GetCommandIdAt(0)); model 308 ui/message_center/message_center_tray_unittest.cc EXPECT_FALSE(model->IsEnabledAt(0)); model 110 ui/views/controls/combobox/combobox.cc int GetAdjacentIndex(ui::ComboboxModel* model, int increment, int index) { model 114 ui/views/controls/combobox/combobox.cc while (index >= 0 && index < model->GetItemCount()) { model 115 ui/views/controls/combobox/combobox.cc if (!model->IsItemSeparatorAt(index) || !model->IsItemEnabledAt(index)) model 227 ui/views/controls/combobox/combobox.cc Combobox::Combobox(ui::ComboboxModel* model) model 228 ui/views/controls/combobox/combobox.cc : model_(model), model 313 ui/views/controls/combobox/combobox.cc for (int i = 0; i < model()->GetItemCount(); ++i) { model 314 ui/views/controls/combobox/combobox.cc if (value == model()->GetItemAt(i)) { model 372 ui/views/controls/combobox/combobox.cc return model()->IsItemEnabledAt(MenuCommandToIndex(id)); model 385 ui/views/controls/combobox/combobox.cc return model()->GetItemCount(); model 400 ui/views/controls/combobox/combobox.cc return model()->IsItemSeparatorAt(row) ? base::string16() : model 401 ui/views/controls/combobox/combobox.cc model()->GetItemAt(row); model 438 ui/views/controls/combobox/combobox.cc DCHECK_LT(selected_index_, model()->GetItemCount()); model 439 ui/views/controls/combobox/combobox.cc if (selected_index_ < 0 || selected_index_ > model()->GetItemCount()) model 457 ui/views/controls/combobox/combobox.cc new_index = GetAdjacentIndex(model(), 1, selected_index_); model 463 ui/views/controls/combobox/combobox.cc new_index = GetAdjacentIndex(model(), -1, model()->GetItemCount()); model 469 ui/views/controls/combobox/combobox.cc new_index = GetAdjacentIndex(model(), 1, -1); model 474 ui/views/controls/combobox/combobox.cc new_index = GetAdjacentIndex(model(), -1, selected_index_); model 504 ui/views/controls/combobox/combobox.cc DCHECK(!model()->IsItemSeparatorAt(new_index)); model 561 ui/views/controls/combobox/combobox.cc void Combobox::OnComboboxModelChanged(ui::ComboboxModel* model) { model 562 ui/views/controls/combobox/combobox.cc DCHECK_EQ(model, model_); model 598 ui/views/controls/combobox/combobox.cc int num_items = model()->GetItemCount(); model 605 ui/views/controls/combobox/combobox.cc if (model()->IsItemSeparatorAt(i)) { model 611 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(i); model 655 ui/views/controls/combobox/combobox.cc DCHECK_LT(selected_index_, model()->GetItemCount()); model 656 ui/views/controls/combobox/combobox.cc if (selected_index_ < 0 || selected_index_ > model()->GetItemCount()) model 658 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(selected_index_); model 808 ui/views/controls/combobox/combobox.cc DCHECK_LT(index, model()->GetItemCount()); model 63 ui/views/controls/combobox/combobox.h explicit Combobox(ui::ComboboxModel* model); model 84 ui/views/controls/combobox/combobox.h ui::ComboboxModel* model() const { return model_; } model 121 ui/views/controls/combobox/combobox.h virtual void OnComboboxModelChanged(ui::ComboboxModel* model) OVERRIDE; model 58 ui/views/controls/combobox/combobox_unittest.cc explicit TestCombobox(ui::ComboboxModel* model) model 59 ui/views/controls/combobox/combobox_unittest.cc : Combobox(model), model 483 ui/views/controls/combobox/combobox_unittest.cc TestComboboxModel model; model 486 ui/views/controls/combobox/combobox_unittest.cc TestCombobox* combobox = new TestCombobox(&model); model 494 ui/views/controls/combobox/combobox_unittest.cc combobox = new TestCombobox(&model); model 634 ui/views/controls/combobox/combobox_unittest.cc VectorComboboxModel model(&values); model 635 ui/views/controls/combobox/combobox_unittest.cc TestCombobox combobox(&model); model 12 ui/views/controls/menu/menu_2.cc Menu2::Menu2(ui::MenuModel* model) model 13 ui/views/controls/menu/menu_2.cc : model_(model), model 14 ui/views/controls/menu/menu_2.cc wrapper_(MenuWrapper::CreateWrapper(model)) { model 44 ui/views/controls/menu/menu_2.h explicit Menu2(ui::MenuModel* model); model 79 ui/views/controls/menu/menu_2.h ui::MenuModel* model() const { return model_; } model 55 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* MenuModelAdapter::AddMenuItemFromModelAt(ui::MenuModel* model, model 61 ui/views/controls/menu/menu_model_adapter.cc model->GetIconAt(model_index, &icon); model 65 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel::ItemType menu_type = model->GetTypeAt(model_index); model 70 ui/views/controls/menu/menu_model_adapter.cc label = model->GetLabelAt(model_index); model 71 ui/views/controls/menu/menu_model_adapter.cc sublabel = model->GetSublabelAt(model_index); model 72 ui/views/controls/menu/menu_model_adapter.cc minor_text = model->GetMinorTextAt(model_index); model 76 ui/views/controls/menu/menu_model_adapter.cc label = model->GetLabelAt(model_index); model 77 ui/views/controls/menu/menu_model_adapter.cc sublabel = model->GetSublabelAt(model_index); model 78 ui/views/controls/menu/menu_model_adapter.cc minor_text = model->GetMinorTextAt(model_index); model 82 ui/views/controls/menu/menu_model_adapter.cc label = model->GetLabelAt(model_index); model 83 ui/views/controls/menu/menu_model_adapter.cc sublabel = model->GetSublabelAt(model_index); model 84 ui/views/controls/menu/menu_model_adapter.cc minor_text = model->GetMinorTextAt(model_index); model 89 ui/views/controls/menu/menu_model_adapter.cc separator_style = model->GetSeparatorTypeAt(model_index); model 93 ui/views/controls/menu/menu_model_adapter.cc label = model->GetLabelAt(model_index); model 94 ui/views/controls/menu/menu_model_adapter.cc sublabel = model->GetSublabelAt(model_index); model 95 ui/views/controls/menu/menu_model_adapter.cc minor_text = model->GetMinorTextAt(model_index); model 115 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* MenuModelAdapter::AppendMenuItemFromModel(ui::MenuModel* model, model 121 ui/views/controls/menu/menu_model_adapter.cc return AddMenuItemFromModelAt(model, model_index, menu, menu_index, item_id); model 126 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model, model 128 ui/views/controls/menu/menu_model_adapter.cc return AppendMenuItemFromModel(model, index, menu, model 129 ui/views/controls/menu/menu_model_adapter.cc model->GetCommandIdAt(index)); model 135 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 137 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) { model 138 ui/views/controls/menu/menu_model_adapter.cc model->ActivatedAt(index); model 146 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 148 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) { model 149 ui/views/controls/menu/menu_model_adapter.cc model->ActivatedAt(index, mouse_event_flags); model 165 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 167 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 168 ui/views/controls/menu/menu_model_adapter.cc return model->GetAcceleratorAt(index, accelerator); model 175 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 177 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 178 ui/views/controls/menu/menu_model_adapter.cc return model->GetLabelAt(index); model 185 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 187 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) { model 188 ui/views/controls/menu/menu_model_adapter.cc const gfx::FontList* font_list = model->GetLabelFontListAt(index); model 198 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 200 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 201 ui/views/controls/menu/menu_model_adapter.cc return model->IsEnabledAt(index); model 208 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 210 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) model 211 ui/views/controls/menu/menu_model_adapter.cc return model->IsItemCheckedAt(index); model 223 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* model = menu_model_; model 225 ui/views/controls/menu/menu_model_adapter.cc if (ui::MenuModel::GetModelAndIndexForCommandId(id, &model, &index)) { model 226 ui/views/controls/menu/menu_model_adapter.cc model->HighlightChangedTo(index); model 259 ui/views/controls/menu/menu_model_adapter.cc void MenuModelAdapter::BuildMenuImpl(MenuItemView* menu, ui::MenuModel* model) { model 261 ui/views/controls/menu/menu_model_adapter.cc DCHECK(model); model 262 ui/views/controls/menu/menu_model_adapter.cc bool has_icons = model->HasIcons(); model 263 ui/views/controls/menu/menu_model_adapter.cc const int item_count = model->GetItemCount(); model 265 ui/views/controls/menu/menu_model_adapter.cc MenuItemView* item = AppendMenuItem(menu, model, i); model 268 ui/views/controls/menu/menu_model_adapter.cc item->SetVisible(model->IsVisibleAt(i)); model 270 ui/views/controls/menu/menu_model_adapter.cc if (model->GetTypeAt(i) == ui::MenuModel::TYPE_SUBMENU) { model 273 ui/views/controls/menu/menu_model_adapter.cc ui::MenuModel* submodel = model->GetSubmenuModelAt(i); model 43 ui/views/controls/menu/menu_model_adapter.h static MenuItemView* AddMenuItemFromModelAt(ui::MenuModel* model, model 51 ui/views/controls/menu/menu_model_adapter.h static MenuItemView* AppendMenuItemFromModel(ui::MenuModel* model, model 61 ui/views/controls/menu/menu_model_adapter.h ui::MenuModel* model, model 81 ui/views/controls/menu/menu_model_adapter.h void BuildMenuImpl(MenuItemView* menu, ui::MenuModel* model); model 204 ui/views/controls/menu/menu_model_adapter_unittest.cc RootModel model; model 205 ui/views/controls/menu/menu_model_adapter_unittest.cc views::MenuModelAdapter delegate(&model); model 220 ui/views/controls/menu/menu_model_adapter_unittest.cc const MenuModelBase::Item& model_item = model.GetItemDefinition(i); model 253 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, model.last_activation()); model 254 ui/views/controls/menu/menu_model_adapter_unittest.cc model.set_last_activation(-1); model 264 ui/views/controls/menu/menu_model_adapter_unittest.cc model.GetSubmenuModelAt(3)); model 38 ui/views/controls/menu/menu_wrapper.h static MenuWrapper* CreateWrapper(ui::MenuModel* model); model 149 ui/views/controls/menu/native_menu_win.cc ui::MenuModel* model = menu_win->model_; model 157 ui/views/controls/menu/native_menu_win.cc model->ActivatedAt(position); model 393 ui/views/controls/menu/native_menu_win.cc NativeMenuWin::NativeMenuWin(ui::MenuModel* model, HWND system_menu_for) model 394 ui/views/controls/menu/native_menu_win.cc : model_(model), model 762 ui/views/controls/menu/native_menu_win.cc MenuWrapper* MenuWrapper::CreateWrapper(ui::MenuModel* model) { model 763 ui/views/controls/menu/native_menu_win.cc return new NativeMenuWin(model, NULL); model 32 ui/views/controls/menu/native_menu_win.h NativeMenuWin(ui::MenuModel* model, HWND system_menu_for); model 22 ui/views/controls/table/table_utils.cc ui::TableModel* model) { model 28 ui/views/controls/table/table_utils.cc for (int i = 0, row_count = model->RowCount(); i < row_count; ++i) { model 30 ui/views/controls/table/table_utils.cc gfx::GetStringWidth(model->GetText(i, column.id), content_font_list); model 44 ui/views/controls/table/table_utils.cc ui::TableModel* model) { model 59 ui/views/controls/table/table_utils.cc model); model 31 ui/views/controls/table/table_utils.h ui::TableModel* model); model 46 ui/views/controls/table/table_utils.h ui::TableModel* model); model 39 ui/views/controls/table/table_utils_unittest.cc TestTableModel model(4); model 45 ui/views/controls/table/table_utils_unittest.cc 100, 0, font_list, font_list, 0, 0, columns, &model)); model 50 ui/views/controls/table/table_utils_unittest.cc 100, 0, font_list, font_list, 2, 0, columns, &model); model 55 ui/views/controls/table/table_utils_unittest.cc 10, 0, font_list, font_list, 2, 0, columns, &model); model 62 ui/views/controls/table/table_utils_unittest.cc TestTableModel model(4); model 68 ui/views/controls/table/table_utils_unittest.cc 500, 0, font_list, font_list, 0, 0, columns, &model)); model 71 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[1], &model)); model 77 ui/views/controls/table/table_utils_unittest.cc TestTableModel model(4); model 85 ui/views/controls/table/table_utils_unittest.cc 500, 0, font_list, font_list, 0, 0, columns, &model)); model 87 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[0], &model)); model 89 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[1], &model)); model 94 ui/views/controls/table/table_utils_unittest.cc 1000, 0, font_list, font_list, 0, 0, columns, &model); model 96 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[0], &model)); model 98 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[1], &model)); model 103 ui/views/controls/table/table_utils_unittest.cc 1000, 10, font_list, font_list, 0, 0, columns, &model); model 105 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[0], &model) model 108 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[1], &model)); model 114 ui/views/controls/table/table_utils_unittest.cc 1000, 0, font_list, font_list, 0, 0, columns, &model); model 116 ui/views/controls/table/table_utils_unittest.cc result[0] + result[1], 0, font_list, font_list, 0, 0, columns, &model); model 118 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[0], &model)); model 120 ui/views/controls/table/table_utils_unittest.cc WidthForContent(font_list, font_list, 0, 0, columns[1], &model)); model 118 ui/views/controls/table/table_view.cc TableView::TableView(ui::TableModel* model, model 139 ui/views/controls/table/table_view.cc SetModel(model); model 149 ui/views/controls/table/table_view.cc void TableView::SetModel(ui::TableModel* model) { model 150 ui/views/controls/table/table_view.cc if (model == model_) model 155 ui/views/controls/table/table_view.cc model_ = model; model 811 ui/views/controls/table/table_view.cc ui::ListSelectionModel* model) const { model 818 ui/views/controls/table/table_view.cc SelectRowsInRangeFrom(view_index, true, model); model 819 ui/views/controls/table/table_view.cc model->set_anchor(ViewToModel(view_index)); model 820 ui/views/controls/table/table_view.cc model->set_active(ViewToModel(view_index)); model 829 ui/views/controls/table/table_view.cc model->Copy(selection_model_); model 831 ui/views/controls/table/table_view.cc model->set_anchor(selection_model_.anchor()); model 832 ui/views/controls/table/table_view.cc for (int i = std::min(view_index, ModelToView(model->anchor())), model 833 ui/views/controls/table/table_view.cc end = std::max(view_index, ModelToView(model->anchor())); model 835 ui/views/controls/table/table_view.cc SelectRowsInRangeFrom(i, true, model); model 837 ui/views/controls/table/table_view.cc model->set_active(ViewToModel(view_index)); model 842 ui/views/controls/table/table_view.cc model->Copy(selection_model_); model 843 ui/views/controls/table/table_view.cc model->set_anchor(ViewToModel(view_index)); model 844 ui/views/controls/table/table_view.cc model->set_active(ViewToModel(view_index)); model 846 ui/views/controls/table/table_view.cc !model->IsSelected(ViewToModel(view_index)), model 847 ui/views/controls/table/table_view.cc model); model 853 ui/views/controls/table/table_view.cc ui::ListSelectionModel* model) const { model 857 ui/views/controls/table/table_view.cc model->AddIndexToSelection(range.start + i); model 859 ui/views/controls/table/table_view.cc model->RemoveIndexFromSelection(range.start + i); model 89 ui/views/controls/table/table_view.h TableView(ui::TableModel* model, model 99 ui/views/controls/table/table_view.h void SetModel(ui::TableModel* model); model 100 ui/views/controls/table/table_view.h ui::TableModel* model() const { return model_; } model 276 ui/views/controls/table/table_view.h ui::ListSelectionModel* model) const; model 283 ui/views/controls/table/table_view.h ui::ListSelectionModel* model) const; model 154 ui/views/controls/table/table_view_unittest.cc TestTableView(ui::TableModel* model, model 156 ui/views/controls/table/table_view_unittest.cc : TableView(model, columns, TEXT_ONLY, false) { model 211 ui/views/controls/table/table_view_unittest.cc const ui::ListSelectionModel& model(table_->selection_model()); model 212 ui/views/controls/table/table_view_unittest.cc std::string result = "active=" + base::IntToString(model.active()) + model 213 ui/views/controls/table/table_view_unittest.cc " anchor=" + base::IntToString(model.anchor()) + model 216 ui/views/controls/table/table_view_unittest.cc model.selected_indices()); model 45 ui/views/controls/textfield/textfield_model.cc void Undo(TextfieldModel* model) { model 46 ui/views/controls/textfield/textfield_model.cc model->ModifyText(new_text_start_, new_text_end(), model 52 ui/views/controls/textfield/textfield_model.cc void Redo(TextfieldModel* model) { model 53 ui/views/controls/textfield/textfield_model.cc model->ModifyText(old_text_start_, old_text_end(), model 401 ui/views/controls/textfield/textfield_model.cc bool TextfieldModel::MoveCursorTo(const gfx::SelectionModel& model) { model 406 ui/views/controls/textfield/textfield_model.cc gfx::Range range(render_text_->selection().start(), model.caret_pos()); model 410 ui/views/controls/textfield/textfield_model.cc gfx::SelectionModel(model.caret_pos(), model.caret_affinity())); model 412 ui/views/controls/textfield/textfield_model.cc return render_text_->MoveCursorTo(model); model 677 ui/views/controls/textfield/textfield_model.cc const gfx::SelectionModel& model = render_text_->selection_model(); model 682 ui/views/controls/textfield/textfield_model.cc if (next == model.caret_pos()) model 683 ui/views/controls/textfield/textfield_model.cc render_text_->MoveCursorTo(model); model 685 ui/views/controls/textfield/textfield_model.cc render_text_->SelectRange(gfx::Range(next, model.caret_pos())); model 41 ui/views/controls/textfield/textfield_model_unittest.cc void MoveCursorTo(views::TextfieldModel& model, size_t pos) { model 42 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursorTo(gfx::SelectionModel(pos, gfx::CURSOR_FORWARD)); model 62 ui/views/controls/textfield/textfield_model_unittest.cc void ResetModel(TextfieldModel* model) const { model 63 ui/views/controls/textfield/textfield_model_unittest.cc model->SetText(base::string16()); model 64 ui/views/controls/textfield/textfield_model_unittest.cc model->ClearEditHistory(); model 74 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 76 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HILL")); model 77 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILL", model.text()); model 78 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("WORLD")); model 79 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILLWORLD", model.text()); model 82 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 83 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('E'); model 84 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HEILLWORLD", model.text()); model 86 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('L'); model 87 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLLWORLD", model.text()); model 88 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('L'); model 89 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('O'); model 90 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLOWORLD", model.text()); model 93 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 94 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 95 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLOORLD", model.text()); model 96 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 97 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 98 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); model 101 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 102 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Backspace()); model 103 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); model 105 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 106 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Delete()); model 107 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); model 109 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 110 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORL", model.text()); model 112 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 5); model 113 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceText(ASCIIToUTF16(" WOR")); model 114 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORL", model.text()); model 118 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 120 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(WideToUTF16(L"\x05d0\x05d1\x05d2")); model 121 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05d1\x05d2"), model.text()); model 122 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(WideToUTF16(L"\x05e0\x05e1\x05e2")); model 123 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05d1\x05d2\x05e0\x05e1\x05e2"), model.text()); model 126 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 1); model 127 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar(0x05f0); model 129 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); model 132 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar(0x05f1); model 134 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); model 137 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 138 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 139 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05f0\x5f1\x05e0\x05e1\x05e2"), model.text()); model 140 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 141 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 142 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05f0\x05e0\x05e1\x05e2"), model.text()); model 153 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 156 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(WideToUTF16(L"\x0915\x093f\x0915\x094d\x0915")); model 157 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0915\x093f\x0915\x094d\x0915"), model.text()); model 158 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(WideToUTF16(L"\x0915\x094d\x092e\x094d")); model 160 ui/views/controls/textfield/textfield_model_unittest.cc L"\x0915\x093f\x0915\x094d\x0915\x0915\x094d\x092e\x094d"), model.text()); model 166 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 1); model 167 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 169 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 2); model 170 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 171 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('a'); model 174 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); model 177 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('b'); model 184 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); model 186 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 190 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 0); model 195 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 197 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); model 198 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, model.text().length()); model 199 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(model.text().length(), model.GetCursorPosition()); model 200 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 201 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0061\x0062\x0915\x0915\x094d\x092e"), model.text()); model 205 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(WideToUTF16(L"\x0D38\x0D4D\x0D15\x0D16\x0D2E")); model 206 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 0); model 207 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 212 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 1); model 213 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 214 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 3); model 215 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 221 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 2); model 222 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 223 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 224 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0D38\x0D15\x0D16\x0D2E"), model.text()); model 227 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(WideToUTF16(L"\x05d5\x05b7\x05D9\x05B0\x05D4\x05B4\x05D9")); model 228 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 0); model 229 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 230 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 231 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 232 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 233 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L""), model.text()); model 236 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(WideToUTF16(L"\x002C\x0020\x05D1\x05BC\x05B7\x05E9\x05BC")); model 237 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 238 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 239 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x002C\x0020\x05D1\x05BC\x05B7\x05E9"), model.text()); model 243 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 244 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.text()); model 245 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 247 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 248 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 249 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 250 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 252 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 254 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Delete()); model 255 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Backspace()); model 259 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 260 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO")); model 261 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 262 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 263 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("E", model.GetSelectedText()); model 264 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 265 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("EL", model.GetSelectedText()); model 267 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); model 268 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("H", model.GetSelectedText()); model 269 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, true); model 270 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ELLO", model.GetSelectedText()); model 271 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearSelection(); model 272 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 275 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 276 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO", model.GetSelectedText()); model 277 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(0, 5), model.render_text()->selection()); model 280 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(true); model 281 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO", model.GetSelectedText()); model 282 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 0), model.render_text()->selection()); model 285 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1U, 3U)); model 286 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("EL", model.GetSelectedText()); model 287 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); model 288 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 289 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1U, 3U)); model 290 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 291 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 294 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 295 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); model 296 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 297 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 298 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 299 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 308 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 313 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(WideToUTF16( model 315 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 316 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 318 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 319 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); model 320 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"c"), model.GetSelectedText()); model 322 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 323 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 7), model.render_text()->selection()); model 325 ui/views/controls/textfield/textfield_model_unittest.cc model.GetSelectedText()); model 327 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 328 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 3), model.render_text()->selection()); model 329 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"c"), model.GetSelectedText()); model 331 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 332 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(2, 10), model.render_text()->selection()); model 334 ui/views/controls/textfield/textfield_model_unittest.cc model.GetSelectedText()); model 336 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearSelection(); model 337 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 338 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 340 ui/views/controls/textfield/textfield_model_unittest.cc model.GetSelectedText()); model 345 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(WideToUTF16(L"a\x05E9" L"b")); model 346 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 0); model 347 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 348 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a"), model.GetSelectedText()); model 350 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 351 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a"), model.GetSelectedText()); model 353 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 354 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a\x05E9" L"b"), model.GetSelectedText()); model 356 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 357 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 358 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 359 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"b"), model.GetSelectedText()); model 361 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 362 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"b"), model.GetSelectedText()); model 364 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 365 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a\x05E9" L"b"), model.GetSelectedText()); model 367 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 368 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 369 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 370 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 371 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a\x05E9"), model.GetSelectedText()); model 373 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 374 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 375 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 376 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 377 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E9" L"b"), model.GetSelectedText()); model 379 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearSelection(); model 380 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 381 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 382 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"a\x05E9" L"b"), model.GetSelectedText()); model 386 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 387 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO")); model 388 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 389 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 390 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "EL" model 391 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 392 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HLO", model.text()); model 394 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("ILL")); model 395 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 396 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "LO" model 397 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 398 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILL", model.text()); model 399 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 400 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "I" model 401 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('E'); model 402 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELL", model.text()); model 403 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 404 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); // "H" model 405 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('B'); model 406 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BELL", model.text()); model 407 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 408 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 409 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); // "ELL" model 410 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('E'); model 411 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BEE", model.text()); model 415 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 416 ui/views/controls/textfield/textfield_model_unittest.cc model.Append( model 418 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model 419 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 420 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model 421 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(10U, model.GetCursorPosition()); model 422 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model 423 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model 424 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(18U, model.GetCursorPosition()); model 427 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 428 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(23U, model.GetCursorPosition()); model 429 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ(", the", model.GetSelectedText()); model 432 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 433 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 434 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 435 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ(", the Universe, and Everything", model.GetSelectedText()); model 437 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 438 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ(", the Universe, and Everything", model.GetSelectedText()); model 439 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('2'); model 440 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(19U, model.GetCursorPosition()); model 443 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); // leave 2. model 444 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 445 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(14U, model.GetCursorPosition()); model 446 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("Life", model.GetSelectedText()); model 447 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 448 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("to Life", model.GetSelectedText()); model 449 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 450 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 451 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); // Now at start. model 452 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("The answer to Life", model.GetSelectedText()); model 454 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 455 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("The answer to Life", model.GetSelectedText()); model 456 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('4'); model 457 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 458 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("42", model.text()); model 462 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 463 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO")); model 464 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 465 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("GOODBYE")); model 466 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("GOODBYE", model.text()); model 468 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 469 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 470 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("GOODBYE", model.GetSelectedText()); model 471 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 472 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 474 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("BYE")); model 476 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 477 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.GetSelectedText()); model 478 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); model 479 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 489 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 490 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO WORLD")); model 493 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 494 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Cut()); model 497 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); model 498 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(11U, model.GetCursorPosition()); model 501 ui/views/controls/textfield/textfield_model_unittest.cc model.Copy(); model 504 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); model 505 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(11U, model.GetCursorPosition()); model 508 ui/views/controls/textfield/textfield_model_unittest.cc model.render_text()->SetObscured(true); model 509 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 510 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Cut()); model 513 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); model 514 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.GetSelectedText()); model 517 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 518 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Copy()); model 521 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); model 522 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.GetSelectedText()); model 525 ui/views/controls/textfield/textfield_model_unittest.cc model.render_text()->SetObscured(false); model 526 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 527 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 528 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Cut()); model 531 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.text()); model 532 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(6U, model.GetCursorPosition()); model 535 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 536 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Copy()); model 539 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.text()); model 540 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(6U, model.GetCursorPosition()); model 543 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 544 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Paste()); model 545 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO HELLO ", model.text()); model 546 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(12U, model.GetCursorPosition()); model 547 ui/views/controls/textfield/textfield_model_unittest.cc model.render_text()->SetObscured(true); model 548 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Paste()); model 549 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO HELLO HELLO ", model.text()); model 550 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(18U, model.GetCursorPosition()); model 554 ui/views/controls/textfield/textfield_model_unittest.cc const TextfieldModel& model, model 557 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(expected_selected_string, model.GetSelectedText()); model 558 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(expected_cursor_pos, model.GetCursorPosition()); model 562 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 563 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16(" HELLO !! WO RLD ")); model 566 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 567 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 568 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16(" "), 2U); model 571 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 2); model 572 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 573 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16("HELLO"), 7U); model 576 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 15); model 577 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 578 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16(" "), 20U); model 582 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, cursor_pos); model 583 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 584 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16(" !! "), 13U); model 588 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 17); model 589 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 590 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16(" "), 20U); model 593 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 594 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 595 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, ASCIIToUTF16(" "), 24U); model 603 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 620 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(WideToUTF16(L"a\x05d0 \x05d1\x05d2 \x0915\x094d\x0915 " model 623 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 625 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 626 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 627 ui/views/controls/textfield/textfield_model_unittest.cc SelectWordTestVerifier(model, WideToUTF16(word_and_cursor[i].word), model 634 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 635 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO WORLD")); model 636 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 637 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range range = model.render_text()->selection(); model 642 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 643 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 649 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 650 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 655 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 656 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 662 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 663 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 668 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 669 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 675 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 676 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 682 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 683 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 689 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); model 690 ui/views/controls/textfield/textfield_model_unittest.cc range = model.render_text()->selection(); model 698 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 699 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO WORLD")); model 702 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 703 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.GetSelectedText()); model 707 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 708 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ELLO ", model.GetSelectedText()); model 712 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 713 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("LLO WORLD", model.GetSelectedText()); model 717 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 718 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("LO WORLD", model.GetSelectedText()); model 722 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 723 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 727 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 728 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 732 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 733 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 737 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(range); model 738 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 742 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 743 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO WORLD")); model 744 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 745 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range selection = model.render_text()->selection(); model 748 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 749 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 752 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 753 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 756 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 757 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 761 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 762 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 765 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, true); model 766 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 769 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, true); model 770 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 773 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, true); model 774 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 778 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); model 779 ui/views/controls/textfield/textfield_model_unittest.cc selection = model.render_text()->selection(); model 784 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 785 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("HELLO WORLD")); model 786 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(0, 6), model 788 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.GetSelectedText()); model 790 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(6, 1), model 792 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ELLO ", model.GetSelectedText()); model 794 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(2, 1000), model 796 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("LLO WORLD", model.GetSelectedText()); model 798 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(1000, 3), model 800 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("LO WORLD", model.GetSelectedText()); model 802 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(0, gfx::CURSOR_FORWARD)); model 803 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 805 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(3, gfx::CURSOR_FORWARD)); model 806 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 808 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(gfx::Range(1000, 100), model 810 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 812 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectSelectionModel(gfx::SelectionModel(1000, gfx::CURSOR_BACKWARD)); model 813 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.GetSelectedText().empty()); model 817 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(this); model 818 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(ASCIIToUTF16("1234590")); model 819 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(5, 5)); model 820 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasSelection()); model 821 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 824 ui/views/controls/textfield/textfield_model_unittest.cc model.GetTextRange(&range); model 833 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 834 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.HasCompositionText()); model 835 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasSelection()); model 838 ui/views/controls/textfield/textfield_model_unittest.cc model.CancelCompositionText(); model 846 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 847 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.HasCompositionText()); model 848 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.HasSelection()); model 849 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 7), model.render_text()->selection()); model 851 ui/views/controls/textfield/textfield_model_unittest.cc model.GetTextRange(&range); model 853 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890", model.text()); model 855 ui/views/controls/textfield/textfield_model_unittest.cc model.GetCompositionTextRange(&range); model 858 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("456", model.GetTextFromRange(gfx::Range(3, 6))); model 859 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(gfx::Range(5, 7), model.render_text()->selection()); model 862 ui/views/controls/textfield/textfield_model_unittest.cc model.CancelCompositionText(); model 865 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasCompositionText()); model 866 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasSelection()); model 867 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 869 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 870 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890", model.text()); model 871 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.SetText(ASCIIToUTF16("1234567890"))); model 874 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 876 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 877 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890678", model.text()); model 879 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertText(UTF8ToUTF16("-")); model 882 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-", model.text()); model 883 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasCompositionText()); model 884 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasSelection()); model 886 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, true); model 887 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("-", model.GetSelectedText()); model 888 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 889 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890678", model.text()); model 891 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceText(UTF8ToUTF16("-")); model 894 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-", model.text()); model 895 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasCompositionText()); model 896 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.HasSelection()); model 898 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 899 ui/views/controls/textfield/textfield_model_unittest.cc model.Append(UTF8ToUTF16("-")); model 902 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); model 904 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 905 ui/views/controls/textfield/textfield_model_unittest.cc model.Delete(); model 908 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); model 910 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 911 ui/views/controls/textfield/textfield_model_unittest.cc model.Backspace(); model 914 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); model 916 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); model 917 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 918 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); model 921 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); model 922 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 924 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 925 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 928 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("676788", model.text()); model 929 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(6U, model.GetCursorPosition()); model 931 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 932 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_LEFT, false); model 935 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("676788678", model.text()); model 937 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(base::string16()); model 938 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 939 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::WORD_BREAK, gfx::CURSOR_RIGHT, false); model 943 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 944 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, true); model 947 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678678", model.text()); model 949 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 950 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 953 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); model 955 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 957 ui/views/controls/textfield/textfield_model_unittest.cc gfx::Range(model.render_text()->selection().start(), 0), model 959 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursorTo(sel); model 962 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678678", model.text()); model 964 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 965 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(0, 3)); model 968 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); model 970 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 971 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectAll(false); model 974 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); model 976 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 977 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectWord(); model 980 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); model 982 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 983 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearSelection(); model 987 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 988 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Cut()); model 993 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 994 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('a'); model 995 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); // nothing to redo model 996 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 997 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 998 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 999 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); model 1002 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('b'); model 1003 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('c'); model 1004 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); model 1005 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1006 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); model 1007 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1008 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1009 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1010 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1013 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1014 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1015 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1016 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1017 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1020 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1021 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); model 1022 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1023 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1024 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); model 1025 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1028 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 1029 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); model 1030 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1031 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); model 1032 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1033 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1034 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); model 1035 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1037 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 1038 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 1039 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1041 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Backspace()); model 1042 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1043 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); model 1044 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1045 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1046 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); model 1047 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1048 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1049 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); model 1050 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1053 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearEditHistory(); model 1054 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1055 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1056 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); model 1057 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1060 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDE")); model 1061 ui/views/controls/textfield/textfield_model_unittest.cc model.ClearEditHistory(); model 1062 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, 2); model 1063 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 1064 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); model 1065 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 1066 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 1067 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BDE", model.text()); model 1068 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1069 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); model 1070 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1071 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1072 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1073 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1074 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1075 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); model 1076 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1078 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 1079 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Delete()); model 1080 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("AB", model.text()); model 1081 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1082 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); model 1083 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1084 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1085 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("AB", model.text()); model 1086 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1091 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1092 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('w'); model 1093 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("w", model.text()); model 1094 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1095 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); model 1096 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(14U, model.GetCursorPosition()); model 1097 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1098 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 1)); model 1099 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('w'); model 1100 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ww", model.text()); model 1101 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); model 1102 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 2)); model 1103 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('w'); model 1104 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www", model.text()); model 1105 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); model 1106 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 3)); model 1107 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('.'); model 1108 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.", model.text()); model 1109 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); model 1110 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(14, 4)); model 1111 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('y'); model 1112 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.y", model.text()); model 1113 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.youtube.com")); model 1114 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.youtube.com", model.text()); model 1115 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(15U, model.GetCursorPosition()); model 1117 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1118 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1119 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 1120 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1121 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1122 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1123 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1124 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1125 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1126 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1127 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1128 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1129 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1130 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1131 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1132 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1133 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1134 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1135 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1136 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1137 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1138 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1139 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1140 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1141 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1142 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1143 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1144 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 1145 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1146 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.youtube.com", model.text()); model 1147 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1148 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1153 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1154 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('w'); model 1155 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("w", model.text()); model 1156 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1157 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); model 1158 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(14U, model.GetCursorPosition()); model 1159 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1160 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com")); // Confirm the text. model 1161 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1162 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(14U, model.GetCursorPosition()); model 1163 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 1164 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Backspace()); model 1165 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.c", model.text()); model 1167 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("www.google.com/search=www.google.c")); model 1168 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com/search=www.google.c", model.text()); model 1169 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1170 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.c", model.text()); model 1171 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1172 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); model 1176 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1177 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDE")); model 1178 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); // nothing to redo model 1180 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1181 ui/views/controls/textfield/textfield_model_unittest.cc model.Cut(); model 1182 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); model 1183 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1184 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1185 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1186 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1187 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1188 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1189 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1190 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); // no more undo model 1191 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1192 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1193 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1194 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1195 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1196 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); model 1197 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1198 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); // no more redo model 1199 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); model 1201 ui/views/controls/textfield/textfield_model_unittest.cc model.Paste(); model 1202 ui/views/controls/textfield/textfield_model_unittest.cc model.Paste(); model 1203 ui/views/controls/textfield/textfield_model_unittest.cc model.Paste(); model 1204 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); model 1205 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 1206 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1207 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); model 1208 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1209 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1210 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1211 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1212 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1213 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); model 1214 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1215 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1216 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1217 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1218 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1219 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1220 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1221 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1222 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1223 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1224 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); // Redoing SetText model 1225 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1228 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1229 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); model 1230 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1231 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1232 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1233 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1234 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1235 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); model 1236 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1237 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1238 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); model 1239 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 1240 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1243 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1244 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Cut()); model 1245 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); model 1246 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(1U, model.GetCursorPosition()); model 1247 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 1)); model 1248 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Cut()); model 1249 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1250 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Paste()); model 1251 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDEBC", model.text()); model 1252 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(9U, model.GetCursorPosition()); model 1253 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1254 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); model 1255 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 1257 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1258 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); model 1259 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1262 ui/views/controls/textfield/textfield_model_unittest.cc ResetModel(&model); model 1263 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("12345")); model 1264 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1265 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1266 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1267 ui/views/controls/textfield/textfield_model_unittest.cc model.Copy(); // Copy "23" model 1268 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1269 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1270 ui/views/controls/textfield/textfield_model_unittest.cc model.Paste(); // Paste "23" into "23". model 1271 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1272 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1273 ui/views/controls/textfield/textfield_model_unittest.cc model.Paste(); model 1274 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); model 1275 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1276 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1277 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1278 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1280 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); // No text change. model 1281 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1282 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1283 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1284 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1285 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1287 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1288 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); model 1289 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1290 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1291 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); // For 1st paste model 1292 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(3U, model.GetCursorPosition()); model 1293 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1294 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); model 1295 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1296 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1297 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); model 1300 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1301 ui/views/controls/textfield/textfield_model_unittest.cc model.Copy(); model 1302 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); model 1303 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1304 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Paste()); model 1305 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("123234523", model.text()); model 1306 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(9U, model.GetCursorPosition()); model 1307 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1308 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); model 1309 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(7U, model.GetCursorPosition()); model 1313 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1314 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('a'); model 1315 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_LEFT, false); model 1316 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::CHARACTER_BREAK, gfx::CURSOR_RIGHT, false); model 1317 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('b'); model 1319 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); model 1320 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1321 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1322 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1323 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1324 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1325 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1326 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); model 1327 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(2U, model.GetCursorPosition()); model 1328 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1331 ui/views/controls/textfield/textfield_model_unittest.cc void RunInsertReplaceTest(TextfieldModel& model) { model 1332 ui/views/controls/textfield/textfield_model_unittest.cc const bool reverse = model.render_text()->selection().is_reversed(); model 1333 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('1'); model 1334 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('2'); model 1335 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('3'); model 1336 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a123d", model.text()); model 1337 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 1338 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1339 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); model 1340 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(reverse ? 1U : 3U, model.GetCursorPosition()); model 1341 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1342 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1343 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1344 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1345 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1346 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); model 1347 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); // By SetText model 1348 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1349 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a123d", model.text()); model 1350 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 1351 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1354 ui/views/controls/textfield/textfield_model_unittest.cc void RunOverwriteReplaceTest(TextfieldModel& model) { model 1355 ui/views/controls/textfield/textfield_model_unittest.cc const bool reverse = model.render_text()->selection().is_reversed(); model 1356 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('1'); model 1357 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('2'); model 1358 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('3'); model 1359 ui/views/controls/textfield/textfield_model_unittest.cc model.ReplaceChar('4'); model 1360 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a1234", model.text()); model 1361 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1362 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1363 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); model 1364 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(reverse ? 1U : 3U, model.GetCursorPosition()); model 1365 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1366 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1367 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(0U, model.GetCursorPosition()); model 1368 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Undo()); model 1369 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1370 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); model 1371 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(4U, model.GetCursorPosition()); model 1372 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1373 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a1234", model.text()); model 1374 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(5U, model.GetCursorPosition()); model 1375 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1382 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1383 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1384 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1385 ui/views/controls/textfield/textfield_model_unittest.cc RunInsertReplaceTest(model); model 1389 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1390 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1391 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); model 1392 ui/views/controls/textfield/textfield_model_unittest.cc RunInsertReplaceTest(model); model 1396 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1397 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1398 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1399 ui/views/controls/textfield/textfield_model_unittest.cc RunOverwriteReplaceTest(model); model 1403 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1404 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1405 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); model 1406 ui/views/controls/textfield/textfield_model_unittest.cc RunOverwriteReplaceTest(model); model 1411 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1412 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1413 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1414 ui/views/controls/textfield/textfield_model_unittest.cc RunInsertReplaceTest(model); model 1418 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1419 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1420 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); model 1421 ui/views/controls/textfield/textfield_model_unittest.cc RunInsertReplaceTest(model); model 1425 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1426 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1427 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(1, 3)); model 1428 ui/views/controls/textfield/textfield_model_unittest.cc RunOverwriteReplaceTest(model); model 1432 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1433 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("abcd")); model 1434 ui/views/controls/textfield/textfield_model_unittest.cc model.SelectRange(gfx::Range(3, 1)); model 1435 ui/views/controls/textfield/textfield_model_unittest.cc RunOverwriteReplaceTest(model); model 1440 ui/views/controls/textfield/textfield_model_unittest.cc TextfieldModel model(NULL); model 1447 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDE")); model 1448 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1449 ui/views/controls/textfield/textfield_model_unittest.cc model.InsertChar('x'); model 1450 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEx", model.text()); model 1451 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); // set composition should forget undone edit. model 1452 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 1453 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.HasCompositionText()); model 1454 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.HasSelection()); model 1455 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1458 ui/views/controls/textfield/textfield_model_unittest.cc model.ConfirmCompositionText(); model 1459 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1460 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1461 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1462 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1463 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); model 1464 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1465 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1466 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1467 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1468 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1471 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_LEFT, false); model 1472 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 1473 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcABCDEabc", model.text()); model 1474 ui/views/controls/textfield/textfield_model_unittest.cc model.CancelCompositionText(); model 1475 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1476 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1477 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1478 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1479 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1480 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1481 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1482 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1485 ui/views/controls/textfield/textfield_model_unittest.cc ResetModel(&model); model 1486 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDE")); model 1487 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1488 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 1489 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1490 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDEabc")); model 1491 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1492 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1493 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1494 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1495 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1496 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 1500 ui/views/controls/textfield/textfield_model_unittest.cc ResetModel(&model); model 1501 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("ABCDE")); model 1502 ui/views/controls/textfield/textfield_model_unittest.cc model.MoveCursor(gfx::LINE_BREAK, gfx::CURSOR_RIGHT, false); model 1503 ui/views/controls/textfield/textfield_model_unittest.cc model.SetCompositionText(composition); model 1504 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); model 1505 ui/views/controls/textfield/textfield_model_unittest.cc model.SetText(ASCIIToUTF16("1234")); model 1506 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234", model.text()); model 1507 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Undo()); model 1508 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); model 1509 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_TRUE(model.Redo()); model 1510 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234", model.text()); model 1511 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_FALSE(model.Redo()); model 110 ui/views/controls/tree/tree_view.cc void TreeView::SetModel(TreeModel* model) { model 111 ui/views/controls/tree/tree_view.cc if (model == model_) model 118 ui/views/controls/tree/tree_view.cc model_ = model; model 422 ui/views/controls/tree/tree_view.cc void TreeView::TreeNodesAdded(TreeModel* model, model 439 ui/views/controls/tree/tree_view.cc void TreeView::TreeNodesRemoved(TreeModel* model, model 471 ui/views/controls/tree/tree_view.cc void TreeView::TreeNodeChanged(TreeModel* model, TreeModelNode* model_node) { model 53 ui/views/controls/tree/tree_view.h void SetModel(ui::TreeModel* model); model 54 ui/views/controls/tree/tree_view.h ui::TreeModel* model() const { return model_; } model 135 ui/views/controls/tree/tree_view.h virtual void TreeNodesAdded(ui::TreeModel* model, model 139 ui/views/controls/tree/tree_view.h virtual void TreeNodesRemoved(ui::TreeModel* model, model 143 ui/views/controls/tree/tree_view.h virtual void TreeNodeChanged(ui::TreeModel* model, model 46 ui/views/linux_ui/status_icon_linux.h virtual void UpdatePlatformContextMenu(ui::MenuModel* model) = 0; model 16 ui/views/view_model_unittest.cc std::string BoundsString(const ViewModel& model) { model 18 ui/views/view_model_unittest.cc for (int i = 0; i < model.view_size(); ++i) { model 21 ui/views/view_model_unittest.cc result += base::IntToString(model.ideal_bounds(i).x()); model 27 ui/views/view_model_unittest.cc std::string ViewIDsString(const ViewModel& model) { model 29 ui/views/view_model_unittest.cc for (int i = 0; i < model.view_size(); ++i) { model 32 ui/views/view_model_unittest.cc result += base::IntToString(model.view_at(i)->id()); model 41 ui/views/view_model_unittest.cc ViewModel model; model 42 ui/views/view_model_unittest.cc model.Add(&v1, 0); model 43 ui/views/view_model_unittest.cc EXPECT_EQ(1, model.view_size()); model 44 ui/views/view_model_unittest.cc EXPECT_EQ(&v1, model.view_at(0)); model 46 ui/views/view_model_unittest.cc model.set_ideal_bounds(0, v1_bounds); model 47 ui/views/view_model_unittest.cc EXPECT_EQ(v1_bounds, model.ideal_bounds(0)); model 48 ui/views/view_model_unittest.cc EXPECT_EQ(0, model.GetIndexOfView(&v1)); model 56 ui/views/view_model_unittest.cc ViewModel model; model 57 ui/views/view_model_unittest.cc model.Add(&v1, 0); model 58 ui/views/view_model_unittest.cc model.Add(&v2, 1); model 59 ui/views/view_model_unittest.cc model.Add(&v3, 2); model 60 ui/views/view_model_unittest.cc model.Move(0, 2); model 61 ui/views/view_model_unittest.cc EXPECT_EQ("1 2 0", ViewIDsString(model)); model 63 ui/views/view_model_unittest.cc model.Move(2, 0); model 64 ui/views/view_model_unittest.cc EXPECT_EQ("0 1 2", ViewIDsString(model)); model 72 ui/views/view_model_unittest.cc ViewModel model; model 73 ui/views/view_model_unittest.cc model.Add(&v1, 0); model 74 ui/views/view_model_unittest.cc model.Add(&v2, 1); model 75 ui/views/view_model_unittest.cc model.Add(&v3, 2); model 76 ui/views/view_model_unittest.cc model.set_ideal_bounds(0, gfx::Rect(10, 0, 1, 2)); model 77 ui/views/view_model_unittest.cc model.set_ideal_bounds(1, gfx::Rect(11, 0, 1, 2)); model 78 ui/views/view_model_unittest.cc model.set_ideal_bounds(2, gfx::Rect(12, 0, 1, 2)); model 79 ui/views/view_model_unittest.cc model.MoveViewOnly(0, 2); model 80 ui/views/view_model_unittest.cc EXPECT_EQ("1 2 0", ViewIDsString(model)); model 81 ui/views/view_model_unittest.cc EXPECT_EQ("10 11 12", BoundsString(model)); model 83 ui/views/view_model_unittest.cc model.MoveViewOnly(2, 0); model 84 ui/views/view_model_unittest.cc EXPECT_EQ("0 1 2", ViewIDsString(model)); model 85 ui/views/view_model_unittest.cc EXPECT_EQ("10 11 12", BoundsString(model)); model 87 ui/views/view_model_unittest.cc model.MoveViewOnly(0, 1); model 88 ui/views/view_model_unittest.cc EXPECT_EQ("1 0 2", ViewIDsString(model)); model 89 ui/views/view_model_unittest.cc EXPECT_EQ("10 11 12", BoundsString(model)); model 91 ui/views/view_model_unittest.cc model.MoveViewOnly(1, 0); model 92 ui/views/view_model_unittest.cc EXPECT_EQ("0 1 2", ViewIDsString(model)); model 93 ui/views/view_model_unittest.cc EXPECT_EQ("10 11 12", BoundsString(model)); model 26 ui/views/view_model_utils.cc void ViewModelUtils::SetViewBoundsToIdealBounds(const ViewModel& model) { model 27 ui/views/view_model_utils.cc for (int i = 0; i < model.view_size(); ++i) model 28 ui/views/view_model_utils.cc model.view_at(i)->SetBoundsRect(model.ideal_bounds(i)); model 32 ui/views/view_model_utils.cc bool ViewModelUtils::IsAtIdealBounds(const ViewModel& model) { model 33 ui/views/view_model_utils.cc for (int i = 0; i < model.view_size(); ++i) { model 34 ui/views/view_model_utils.cc View* view = model.view_at(i); model 35 ui/views/view_model_utils.cc if (view->bounds() != model.ideal_bounds(i)) model 42 ui/views/view_model_utils.cc int ViewModelUtils::DetermineMoveIndex(const ViewModel& model, model 48 ui/views/view_model_utils.cc int current_index = model.GetIndexOfView(view); model 53 ui/views/view_model_utils.cc model.ideal_bounds(i).x() + model.ideal_bounds(i).width() / 2, model 54 ui/views/view_model_utils.cc model.ideal_bounds(i).y() + model.ideal_bounds(i).height() / 2); model 59 ui/views/view_model_utils.cc if (current_index + 1 == model.view_size()) model 66 ui/views/view_model_utils.cc model.ideal_bounds(current_index + 1).x() - model 67 ui/views/view_model_utils.cc model.ideal_bounds(current_index).x(), model 68 ui/views/view_model_utils.cc model.ideal_bounds(current_index + 1).y() - model 69 ui/views/view_model_utils.cc model.ideal_bounds(current_index).y()); model 70 ui/views/view_model_utils.cc for (int i = current_index + 1; i < model.view_size(); ++i) { model 71 ui/views/view_model_utils.cc const gfx::Rect& bounds(model.ideal_bounds(i)); model 79 ui/views/view_model_utils.cc return model.view_size() - 1; model 24 ui/views/view_model_utils.h static void SetViewBoundsToIdealBounds(const ViewModel& model); model 27 ui/views/view_model_utils.h static bool IsAtIdealBounds(const ViewModel& model); model 30 ui/views/view_model_utils.h static int DetermineMoveIndex(const ViewModel& model, model 16 ui/views/view_model_utils_unittest.cc ViewModel model; model 17 ui/views/view_model_utils_unittest.cc model.Add(&v1, 0); model 19 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(0, v1_bounds); model 20 ui/views/view_model_utils_unittest.cc ViewModelUtils::SetViewBoundsToIdealBounds(model); model 27 ui/views/view_model_utils_unittest.cc ViewModel model; model 28 ui/views/view_model_utils_unittest.cc model.Add(&v1, 0); model 29 ui/views/view_model_utils_unittest.cc model.Add(&v2, 1); model 30 ui/views/view_model_utils_unittest.cc model.Add(&v3, 2); model 31 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); model 32 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(1, gfx::Rect(10, 0, 1000, 10)); model 33 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(2, gfx::Rect(1010, 0, 2, 10)); model 36 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::HORIZONTAL, -10, 0)); model 38 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::HORIZONTAL, 4, 0)); model 40 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::HORIZONTAL, 506, 0)); model 42 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::HORIZONTAL, 1010, 0)); model 44 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::HORIZONTAL, 2000, 0)); model 47 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, -10, 0)); model 49 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, 4, 0)); model 51 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::HORIZONTAL, 12, 0)); model 54 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(0, gfx::Rect(0, 0, 10, 10)); model 55 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(1, gfx::Rect(0, 10, 10, 1000)); model 56 ui/views/view_model_utils_unittest.cc model.set_ideal_bounds(2, gfx::Rect(0, 1010, 10, 2)); model 59 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::VERTICAL, 0, -10)); model 61 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::VERTICAL, 0, 4)); model 63 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::VERTICAL, 0, 506)); model 65 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::VERTICAL, 0, 1010)); model 67 ui/views/view_model_utils_unittest.cc model, &v1, ViewModelUtils::VERTICAL, 0, 2000)); model 70 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, -10)); model 72 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, 4)); model 74 ui/views/view_model_utils_unittest.cc model, &v2, ViewModelUtils::VERTICAL, 0, 12));