/external/chromium_org/ash/shell/ |
H A D | window_watcher.cc | 102 LauncherItem item; local 103 item.type = new_window->type() == aura::client::WINDOW_TYPE_PANEL ? 116 item.image = gfx::ImageSkia(gfx::ImageSkiaRep(icon_bitmap, 1.0f)); 118 model->Add(item);
|
/external/chromium_org/ash/test/ |
H A D | test_shelf_delegate.cc | 38 LauncherItem item; local 40 item.type = TYPE_APP_PANEL; 42 item.type = TYPE_PLATFORM_APP; 44 item.status = status; 45 model_->Add(item); 74 // then remove the launcher item.
|
/external/chromium_org/base/android/ |
H A D | jni_array.cc | 89 ScopedJavaLocalRef<jstring> item = ConvertUTF8ToJavaString(env, v[i]); local 90 env->SetObjectArrayElement(joa, i, item.obj()); 102 ScopedJavaLocalRef<jstring> item = ConvertUTF16ToJavaString(env, v[i]); local 103 env->SetObjectArrayElement(joa, i, item.obj());
|
/external/chromium_org/base/containers/ |
H A D | small_map_unittest.cc | 427 explicit hash_map_add_item(const std::pair<int, int>& item) argument 429 insert(item); 468 // Our function adds an extra item when we convert to a map. 488 // Our functor adds an extra item when we convert to a map.
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ |
H A D | ContextMenuHelper.java | 105 public boolean onMenuItemClick(MenuItem item) { argument 108 final int action = mCurrentContextMenuParams.getCustomActionAt(item.getItemId()); 113 return mPopulator.onItemSelected(this, mCurrentContextMenuParams, item.getItemId());
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_item_model_unittest.cc | 48 // Default target path for a mock download item in DownloadItemModelTest. 55 // Default URL for a mock download item in DownloadItemModelTest. 67 // Sets up defaults for the download item and sets |model_| to a new 68 // DownloadItemModel that uses the mock download item. 100 content::MockDownloadItem& item() { function in class:__anon4885::DownloadItemModelTest 330 Mock::VerifyAndClearExpectations(&item()); 332 EXPECT_CALL(item(), GetReceivedBytes()) 334 EXPECT_CALL(item(), GetTotalBytes()) 336 EXPECT_CALL(item(), TimeRemaining(_)) 340 EXPECT_CALL(item(), GetOpenWhenComplet [all...] |
H A D | download_query_unittest.cc | 34 bool IdNotEqual(uint32 not_id, const DownloadItem& item) { argument 35 return item.GetId() != not_id; 38 bool AlwaysReturn(bool result, const DownloadItem& item) { argument 618 << " nanoseconds per item per filter.\n";
|
H A D | download_status_updater_unittest.cc | 30 void SetAcceptableNotificationItem(content::DownloadItem* item) { argument 31 acceptable_notification_item_ = item; 113 content::MockDownloadItem* item = local 118 EXPECT_CALL(*item, GetState()).WillRepeatedly(Return(state)); 119 EXPECT_CALL(*item, AddObserver(_)) 121 manager_items_[manager_index].push_back(item); 133 // Return the specified item. 144 // for the specified item. 147 content::MockDownloadItem* item(Item(manager_index, item_index)); 148 EXPECT_CALL(*item, GetReceivedByte [all...] |
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
H A D | context_menus_api.cc | 25 const char kCannotFindItemError[] = "Cannot find menu item with id *"; 32 "Cannot create item with duplicate id *"; 219 scoped_ptr<MenuItem> item( 222 if (!item->PopulateURLPatterns( 237 success = menu_manager->AddChildItem(parent->id(), item.release()); 239 success = menu_manager->AddContextItem(GetExtension(), item.release()); 263 MenuItem* item = manager->GetItemById(item_id); local 264 if (!item || item->extension_id() != extension_id()) { 271 MenuItem::Type type = GetType(params->update_properties, item 367 MenuItem* item = manager->GetItemById(id); local [all...] |
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/ |
H A D | write_from_url_operation.cc | 111 void WriteFromUrlOperation::OnDownloadStarted(content::DownloadItem* item, argument 118 item->Cancel(true); 122 if (item) { 125 download_ = item;
|
/external/chromium_org/chrome/browser/mac/ |
H A D | security_wrappers.h | 37 CrSKeychainItemAndAccess(SecKeychainItemRef item, SecAccessRef access); 44 SecKeychainItemRef item() const { return item_; } function in class:chrome::CrSKeychainItemAndAccess 160 // Tests access to |item| by calling SecKeychainItemCopyAttributesAndData, 162 // |item| is authorized. errSecAuthFailed is considered an "expected" error 164 bool CrSKeychainItemTestAccess(SecKeychainItemRef item); 170 SecAccessRef CrSKeychainItemCopyAccess(SecKeychainItemRef item); 205 SecKeychainRef CrSKeychainItemCopyKeychain(SecKeychainItemRef item); 217 SecKeychainItemRef item); 220 bool CrSKeychainItemDelete(SecKeychainItemRef item);
|
/external/chromium_org/chrome/browser/plugins/ |
H A D | plugin_installer.cc | 156 void PluginInstaller::DownloadStarted(content::DownloadItem* item, argument 158 if (!item) { 166 item->SetOpenWhenComplete(true); 167 item->AddObserver(this);
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/ |
H A D | navigation_list_model.js | 31 * Returns the cached entry of the item. This may return NULL if the target is 53 var item = new NavigationModelItem(path, entry, label); 57 item.resolvingQueue_.run(function(continueCallback) { 62 item.entry_ = entry; 73 return item; 91 * Returns if this item is a shortcut or a volume root. 131 var item = NavigationModelItem.create( 138 this.onItemNotFoundError(item); 140 return item; 160 var shortcutPath = this.shortcutListModel_.item( [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
H A D | render_widget_snapshot_taker.cc | 118 SnapshotCallbackMap::iterator item = callback_map_.find(sequence_num); local 119 if (item != callback_map_.end()) { 120 DCHECK_EQ(widget, item->second->renderer); 121 TransportDIB* dib = item->second->thumbnail_dib.get(); 145 item->second->callback.Run(result); 148 callback_map_.erase(item);
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | extension_app_model_builder.cc | 81 ExtensionAppItem* item = GetExtensionAppItem(extension_id); local 82 if (!item) 84 item->SetPercentDownloaded(percent_downloaded); 111 ExtensionAppItem* item = GetExtensionAppItem(extension->id()); local 112 if (!item) 114 item->UpdateIcon(); 201 app_list::AppListItemModel* item = local 203 LOG_IF(ERROR, item && 204 item->GetAppType() != ExtensionAppItem::kAppType) 206 << " has incorrect type: '" << item 221 OnListItemMoved( size_t from_index, size_t to_index, app_list::AppListItemModel* item) argument 233 app_list::AppListItemModel* item = item_list->item_at(idx - 1); local 241 app_list::AppListItemModel* item = item_list->item_at(idx + 1); local [all...] |
/external/chromium_org/chrome/browser/ui/ |
H A D | browser_tab_strip_model_delegate.cc | 73 NewStripContents item = contentses[i]; local 78 item.add_types |= TabStripModel::ADD_ACTIVE; 81 static_cast<int>(i), item.web_contents, item.add_types); 86 LoadingStateChanged(item.web_contents);
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | script_bubble_gtk.cc | 107 GtkWidget* item = gtk_hbox_new(FALSE, ui::kControlSpacing); local 108 gtk_box_pack_start(GTK_BOX(bubble_content), item, FALSE, FALSE, 0); local 112 gtk_box_pack_start(GTK_BOX(item), image, FALSE, FALSE, 0); 130 gtk_box_pack_start(GTK_BOX(item), link, FALSE, FALSE, 0);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | menu_util.cc | 49 // Set the ID of a menu item. 161 // Update all the menu item info in the newly-generated menu. 211 GtkCheckMenuItem* item = GTK_CHECK_MENU_ITEM(widget); local 215 // for this menu item. So we prevent the "activate" handler from 221 gtk_check_menu_item_set_active(item, model->IsItemCheckedAt(id)); 229 // Update the menu item label if it is dynamic.
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | menu_model_adapter_test.cc | 259 // Click the first item to open the submenu. 260 views::MenuItemView* item = topmenu->GetMenuItemAt(0); local 261 ASSERT_TRUE(item); 262 Click(item, CreateEventTask(this, &MenuModelAdapterTest::Step2));
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | downloads_dom_handler_browsertest.cc | 199 // Tests removing one item, both when prohibited and when allowed. 202 base::ListValue item; local 203 item.AppendInteger(1); 208 mock_handler_->HandleRemove(&item); 209 // Removing an item only sends the new download list if anything was actually 218 mock_handler_->HandleRemove(&item);
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | suggestions_combiner.cc | 105 // Holds the index at which the next item should be added for each source. 120 DictionaryValue* item; local 129 (item = sources_[i]->PopItem())) { 130 page_values_->Insert(index++, item);
|
H A D | suggestions_combiner_unittest.cc | 169 DictionaryValue* item = items_.front(); 171 return item; 185 DictionaryValue* item = new DictionaryValue(); local 186 item->SetString("title", title); 187 items_.push_back(item);
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | import_data_handler.cc | 195 void ImportDataHandler::ImportItemStarted(importer::ImportItem item) { argument 199 void ImportDataHandler::ImportItemEnded(importer::ImportItem item) { argument
|
/external/chromium_org/chrome/renderer/pepper/ |
H A D | pepper_flash_menu_host.cc | 53 content::MenuItem item; local 58 item.type = content::MenuItem::OPTION; 61 item.type = content::MenuItem::CHECKABLE_OPTION; 64 item.type = content::MenuItem::SEPARATOR; 67 item.type = content::MenuItem::SUBMENU; 73 item.label = UTF8ToUTF16(in_menu->items[i].name); 76 item.action = static_cast<unsigned>(menu_id_map->size()); 77 // This sets |(*menu_id_map)[item.action] = in_menu->items[i].id|. 79 item.enabled = PP_ToBool(in_menu->items[i].enabled); 80 item [all...] |
/external/chromium_org/chromeos/network/ |
H A D | certificate_pattern.cc | 32 std::string item; local 33 if (!list->GetString(i, &item)) 35 result->push_back(item);
|