Searched defs:item (Results 226 - 250 of 799) sorted by relevance

1234567891011>>

/external/chromium_org/ash/shell/
H A Dwindow_watcher.cc102 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 Dtest_shelf_delegate.cc38 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 Djni_array.cc89 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 Dsmall_map_unittest.cc427 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 DContextMenuHelper.java105 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 Ddownload_item_model_unittest.cc48 // 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 Ddownload_query_unittest.cc34 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 Ddownload_status_updater_unittest.cc30 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 Dcontext_menus_api.cc25 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 Dwrite_from_url_operation.cc111 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 Dsecurity_wrappers.h37 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 Dplugin_installer.cc156 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 Dnavigation_list_model.js31 * 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 Drender_widget_snapshot_taker.cc118 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 Dextension_app_model_builder.cc81 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 Dbrowser_tab_strip_model_delegate.cc73 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 Dscript_bubble_gtk.cc107 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 Dmenu_util.cc49 // 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 Dmenu_model_adapter_test.cc259 // 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 Ddownloads_dom_handler_browsertest.cc199 // 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 Dsuggestions_combiner.cc105 // 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 Dsuggestions_combiner_unittest.cc169 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 Dimport_data_handler.cc195 void ImportDataHandler::ImportItemStarted(importer::ImportItem item) { argument
199 void ImportDataHandler::ImportItemEnded(importer::ImportItem item) { argument
/external/chromium_org/chrome/renderer/pepper/
H A Dpepper_flash_menu_host.cc53 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 Dcertificate_pattern.cc32 std::string item; local
33 if (!list->GetString(i, &item))
35 result->push_back(item);

Completed in 2383 milliseconds

1234567891011>>