/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | download_feedback_service_unittest.cc | 121 content::MockDownloadItem item; local 122 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(size)); 124 EXPECT_FALSE(DownloadFeedbackService::IsEnabledForDownload(item)); 125 DownloadFeedbackService::MaybeStorePingsForDownload(result, &item, "a", "b"); 126 return DownloadFeedbackService::IsEnabledForDownload(item); 202 content::MockDownloadItem item; local 203 EXPECT_CALL(item, GetDangerType()) 205 EXPECT_CALL(item, GetReceivedBytes()).WillRepeatedly(Return(1000)); 206 EXPECT_CALL(item, StealDangerousDownload(_)) 212 DownloadProtectionService::UNCOMMON, &item, ping_reques 242 content::MockDownloadItem item[num_downloads]; local 311 content::MockDownloadItem item[num_downloads]; local [all...] |
H A D | prefix_set_unittest.cc | 300 // before the lowest item aren't present. Items after the largest item aren't 329 // so a new index item will be injected. 573 std::pair<SBPrefix, uint64> item; local 574 memset(&item, 0, sizeof(item)); // Includes any padding. 575 item.first = 17; 576 item.second = 0; 577 ASSERT_EQ(sizeof(item), fwrite(&item, 654 std::pair<int32, uint32> item; local [all...] |
/external/chromium_org/chrome/browser/search/ |
H A D | instant_service.cc | 270 InstantMostVisitedItem item; local 271 item.url = url.url; 272 item.title = url.title; 273 new_most_visited_items.push_back(item);
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
H A D | fake_drive_service_helper.cc | 226 const FileResource& item = **itr; local 227 if (item.parents().empty()) { 228 *sync_root_folder_id = item.file_id();
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_context_menu.cc | 48 bool MenuItemHasLauncherContext(const extensions::MenuItem* item) { argument 49 return item->contexts().Contains(extensions::MenuItem::LAUNCHER); 158 // If at least 1 item was added, add another separator after the list.
|
H A D | extension_app_model_builder.cc | 160 ExtensionAppItem* item = GetExtensionAppItem(extension_id); local 161 if (!item) 163 item->SetPercentDownloaded(percent_downloaded); 198 ExtensionAppItem* item = GetExtensionAppItem(extension->id()); local 199 if (!item) 201 item->UpdateIcon(); 319 app_list::AppListItem* item = model_->FindItem(extension_id); local 320 LOG_IF(ERROR, item && 321 item->GetItemType() != ExtensionAppItem::kItemType) 323 << " has incorrect type: '" << item 338 OnListItemMoved(size_t from_index, size_t to_index, app_list::AppListItem* item) argument 351 app_list::AppListItem* item = item_list->item_at(idx - 1); local 359 app_list::AppListItem* item = item_list->item_at(idx + 1); local [all...] |
H A D | fast_show_pickler.cc | 172 bool FastShowPickler::PickleAppListItem(Pickle* pickle, AppListItem* item) { argument 173 if (!pickle->WriteString(item->id())) 175 if (!pickle->WriteString(item->name())) 177 if (!pickle->WriteString(item->short_name())) 179 if (!pickle->WriteBool(item->has_shadow())) 181 if (!PickleImage(pickle, item->icon())) 237 scoped_ptr<AppListItem> item(UnpickleAppListItem(&it).Pass()); 238 if (!item) 240 std::string folder_id = item->folder_id(); 241 model->AddItemToFolder(item [all...] |
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
H A D | app_shortcut_launcher_item_controller.cc | 62 // item with the appropriate LauncherItemController type). 197 // activate the next item in line if an item of our list is already active. 211 ash::ShelfItem item = local 213 return new LauncherContextMenu(launcher_controller(), &item, root_window); 339 // If there is only a single item available, we animate it upon key
|
H A D | app_window_launcher_item_controller.cc | 93 LOG(ERROR) << "AppWindow of type Panel added to non-panel launcher item"; 246 // item if the window we are trying to activate is already active. 274 ash::ShelfItem item = *(launcher_controller()->model()->ItemByID(shelf_id())); local 275 return new LauncherContextMenu(launcher_controller(), &item, root_window);
|
H A D | browser_shortcut_launcher_item_controller.cc | 70 // a windowed app, a popup or any other item which is not a browser of 75 // If an app that has item is running in active WebContents, browser item 231 // activate the next item in line if an item of our list is already active. 246 ash::ShelfItem item = local 248 return new LauncherContextMenu(launcher_controller(), &item, root_window);
|
/external/chromium_org/chrome/browser/ui/autofill/ |
H A D | autofill_dialog_models.cc | 34 Item item = { key, true }; local 35 items_.push_back(item);
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_menu_controller_views.cc | 123 MenuItemView* item, 126 return menu_delegate_->GetDropOperation(item, event, position); 122 GetDropOperation( MenuItemView* item, const ui::DropTargetEvent& event, DropPosition* position) argument
|
/external/chromium_org/chrome/browser/ui/views/download/ |
H A D | download_danger_prompt_views.cc | 39 DownloadDangerPromptViews(content::DownloadItem* item, 81 content::DownloadItem* item, 84 : download_(item), 130 item->GetURL(), 131 item->GetReferrerUrl(), 132 item->GetBrowserContext())); 332 // Invoking the callback can cause the download item state to change or cause 347 content::DownloadItem* item, 352 new DownloadDangerPromptViews(item, show_context, done); 80 DownloadDangerPromptViews( content::DownloadItem* item, bool show_context, const OnDone& done) argument 346 Create( content::DownloadItem* item, content::WebContents* web_contents, bool show_context, const OnDone& done) argument
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | browser_action_overflow_menu_controller.cc | 24 // In the browser actions container's chevron menu, a menu item view's icon 25 // comes from BrowserActionView::GetIconWithBadge() when the menu item view is 28 // The IconUpdater will update the menu item view's icon when the browser 49 // The menu item view whose icon might be updated. 53 // menu item view's icon. 87 // Set the tooltip for this item. 195 views::MenuItemView* item, 199 // overflow menu since once the move has taken place the item you are dragging 202 if ((item->GetCommand() == 0) && (*position == DROP_BEFORE)) { 194 GetDropOperation( views::MenuItemView* item, const ui::DropTargetEvent& event, DropPosition* position) argument
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | menu_item_view_interactive_uitest.cc | 12 // Simple test for clicking a menu item. This template class clicks on an 13 // item and checks that the returned id matches. The index of the item 26 menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1")); 27 menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2")); 29 menu->AppendMenuItemWithLabel(3, ASCIIToUTF16("item 3")); 32 // Click on item INDEX. 39 // click an item and pass control to the next step 40 views::MenuItemView* item = submenu->GetMenuItemAt(INDEX); variable 41 ASSERT_TRUE(item); variable 99 views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); variable 100 ASSERT_TRUE(item); variable 234 views::MenuItemView* item = submenu->GetMenuItemAt(SELECT_INDEX); variable 235 ASSERT_TRUE(item); variable [all...] |
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
H A D | network_dropdown.cc | 41 // Called when item with command |id| is chosen. 87 base::DictionaryValue* item = new base::DictionaryValue(); local 88 item->SetInteger("id", id); 89 item->SetString("label", model->GetLabelAt(i)); 94 item->SetString("icon", webui::GetBitmapDataUrl(icon_bitmap)); 97 item->SetBoolean("enabled", model->IsEnabledAt(i)); 100 item->SetBoolean("bold", font_list->GetFontStyle() == gfx::Font::BOLD); 103 item->Set("sub", ConvertMenuModel(model->GetSubmenuModelAt(i))); 104 list->Append(item);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | provided_file_systems_ui.cc | 290 base::DictionaryValue* item = new base::DictionaryValue(); local 291 item->SetString(kKeyId, file_system_info.file_system_id()); 292 item->SetString(kKeyName, file_system_info.display_name()); 293 item->SetString(kKeyExtensionId, file_system_info.extension_id()); 294 item->SetString(kKeyMountPath, 296 item->SetInteger(kKeyActiveRequests, 299 items.Append(item);
|
/external/chromium_org/chrome/installer/util/ |
H A D | work_item_list.cc | 45 LOG(ERROR) << "item execution failed " << work_item->log_message(); 78 WorkItem* item = WorkItem::CreateCallbackWorkItem(callback); local 79 AddWorkItem(item); 80 return item; 89 WorkItem* item = WorkItem::CreateCopyTreeWorkItem( local 95 AddWorkItem(item); 96 return item; 100 WorkItem* item = WorkItem::CreateCreateDirWorkItem(path); local 101 AddWorkItem(item); 102 return item; 108 WorkItem* item = local 117 WorkItem* item = local 128 WorkItem* item = WorkItem::CreateDeleteRegValueWorkItem( local 138 WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path, local 154 WorkItem* item = WorkItem::CreateMoveTreeWorkItem(base::FilePath(source_path), local 168 WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, local 184 WorkItem* item = WorkItem::CreateSetRegValueWorkItem(predefined_root, local 200 WorkItem* item = reinterpret_cast<WorkItem*>( local 214 WorkItem* item = WorkItem::CreateSelfRegWorkItem(dll_path, do_register, local [all...] |
/external/chromium_org/chrome/utility/importer/ |
H A D | external_process_importer_bridge.cc | 176 importer::ImportItem item) { 177 Send(new ProfileImportProcessHostMsg_ImportItem_Started(item)); 180 void ExternalProcessImporterBridge::NotifyItemEnded(importer::ImportItem item) { argument 181 Send(new ProfileImportProcessHostMsg_ImportItem_Finished(item)); 175 NotifyItemStarted( importer::ImportItem item) argument
|
/external/chromium_org/components/dom_distiller/core/ |
H A D | distiller.cc | 202 const std::string& item) { 209 fetcher->FetchURL(item, 200 FetchImage(int page_num, const std::string& image_id, const std::string& item) argument
|
/external/chromium_org/components/web_cache/browser/ |
H A D | web_cache_manager.cc | 105 StatsMap::iterator item = stats_.find(renderer_id); local 106 if (item == stats_.end()) 111 item->second.access = Time::Now();
|
/external/chromium_org/content/browser/download/ |
H A D | download_resource_handler.cc | 48 DownloadItem* item, 54 started_cb.Run(item, interrupt_reason); 262 DownloadItem* item, 271 &CallStartedCBOnUIThread, started_cb_, item, interrupt_reason)); 46 CallStartedCBOnUIThread( const DownloadUrlParameters::OnStartedCallback& started_cb, DownloadItem* item, DownloadInterruptReason interrupt_reason) argument 261 CallStartedCB( DownloadItem* item, DownloadInterruptReason interrupt_reason) argument
|
/external/chromium_org/content/browser/gamepad/ |
H A D | gamepad_platform_data_fetcher_linux.cc | 250 size_t item = event.number; local 252 if (item >= WebGamepad::axesLengthCap) 254 pad.axes[item] = event.value / kMaxLinuxAxisValue; 255 if (item >= pad.axesLength) 256 pad.axesLength = item + 1; 258 if (item >= WebGamepad::buttonsLengthCap) 260 pad.buttons[item].pressed = event.value; 261 pad.buttons[item].value = event.value ? 1.0 : 0.0; 262 if (item >= pad.buttonsLength) 263 pad.buttonsLength = item [all...] |
/external/chromium_org/content/browser/indexed_db/ |
H A D | indexed_db_internals_ui.cc | 311 virtual void OnDownloadOpened(DownloadItem* item) OVERRIDE {} 312 virtual void OnDownloadRemoved(DownloadItem* item) OVERRIDE {} 313 virtual void OnDownloadDestroyed(DownloadItem* item) OVERRIDE {} 321 void FileDeleter::OnDownloadUpdated(DownloadItem* item) { argument 322 switch (item->GetState()) { 328 item->RemoveObserver(this); 348 DownloadItem* item, 357 item->AddObserver(new FileDeleter(temp_path)); 343 OnDownloadStarted( const base::FilePath& partition_path, const GURL& origin_url, const base::FilePath& temp_path, size_t connection_count, DownloadItem* item, DownloadInterruptReason interrupt_reason) argument
|
/external/chromium_org/content/public/test/ |
H A D | download_test_observer.cc | 22 DownloadItem* item, DownloadUpdatedObserver::EventFilter filter) 23 : item_(item), 27 item->AddObserver(this); 47 void DownloadUpdatedObserver::OnDownloadUpdated(DownloadItem* item) { argument 48 DCHECK_EQ(item_, item); 55 void DownloadUpdatedObserver::OnDownloadDestroyed(DownloadItem* item) { argument 56 DCHECK_EQ(item_, item); 117 DownloadItem* item) { 121 OnDownloadUpdated(item); 122 DownloadSet::const_iterator finished_it(finished_downloads_.find(item)); 21 DownloadUpdatedObserver( DownloadItem* item, DownloadUpdatedObserver::EventFilter filter) argument 115 OnDownloadCreated( DownloadManager* manager, DownloadItem* item) argument 325 OnDownloadCreated( DownloadManager* manager, DownloadItem* item) argument 434 DownloadItemCreationCallback( DownloadItem* item, DownloadInterruptReason interrupt_reason) argument [all...] |