/external/chromium_org/ui/views/controls/menu/ |
menu.cc | 78 void Menu::AppendMenuItem(int item_id, 81 AddMenuItem(-1, item_id, label, type); 85 int item_id, 91 AddMenuItemInternal(index, item_id, label, gfx::ImageSkia(), type); 94 Menu* Menu::AppendSubMenu(int item_id, const base::string16& label) { 95 return AddSubMenu(-1, item_id, label); 98 Menu* Menu::AddSubMenu(int index, int item_id, const base::string16& label) { 99 return AddSubMenuWithIcon(index, item_id, label, gfx::ImageSkia()); 102 Menu* Menu::AppendSubMenuWithIcon(int item_id, 105 return AddSubMenuWithIcon(-1, item_id, label, icon) [all...] |
menu.h | 146 // item_id The id of the item, used to identify it in delegate callbacks 153 void AppendMenuItem(int item_id, 157 int item_id, 163 Menu* AppendSubMenu(int item_id, 165 Menu* AddSubMenu(int index, int item_id, const base::string16& label); 171 Menu* AppendSubMenuWithIcon(int item_id, 175 int item_id, 181 void AppendMenuItemWithLabel(int item_id, const base::string16& label); 183 int item_id, 188 void AppendDelegateMenuItem(int item_id); [all...] |
menu_item_view.h | 145 int item_id, 158 // item_id The id of the item, used to identify it in delegate callbacks 165 MenuItemView* AppendMenuItem(int item_id, 171 MenuItemView* AppendSubMenu(int item_id, 176 MenuItemView* AppendSubMenuWithIcon(int item_id, 182 MenuItemView* AppendMenuItemWithLabel(int item_id, 187 MenuItemView* AppendDelegateMenuItem(int item_id); 195 MenuItemView* AppendMenuItemWithIcon(int item_id, 200 MenuItemView* AppendMenuItemImpl(int item_id, 242 // Sets the |tooltip| for a menu item view with |item_id| identifier [all...] |
menu_model_adapter.h | 47 int item_id); 54 int item_id);
|
menu_item_view.cc | 229 int item_id, 245 MenuItemView* item = new MenuItemView(this, item_id, type); 247 item->SetTitle(GetDelegate()->GetLabel(item_id)); 256 if (GetDelegate() && !GetDelegate()->IsCommandVisible(item_id)) 277 MenuItemView* MenuItemView::AppendMenuItem(int item_id, 280 return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), 284 MenuItemView* MenuItemView::AppendSubMenu(int item_id, 286 return AppendMenuItemImpl(item_id, label, base::string16(), base::string16(), 290 MenuItemView* MenuItemView::AppendSubMenuWithIcon(int item_id, 293 return AppendMenuItemImpl(item_id, label, base::string16(), base::string16() [all...] |
/external/chromium_org/content/browser/ |
renderer_data_memoizing_store.h | 46 int item_id; local 51 item_id = next_item_id_++; 52 // We use 0 as an invalid item_id value. In the unlikely event that 56 id_to_item_[item_id] = item; 57 item_to_id_[item] = item_id; 59 item_id = item_iter->second; 67 MatchSecond<int>(item_id)) == process_ids.second) { 68 process_id_to_item_id_.insert(std::make_pair(process_id, item_id)); 73 item_id_to_process_id_.equal_range(item_id); 76 item_id_to_process_id_.insert(std::make_pair(item_id, process_id)) 170 int item_id = ids_iter->second; local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_syncable_service.cc | 50 DCHECK_EQ(item->item_id, specifics.item_id()); 62 DCHECK_EQ(sync_item->item_id, app_item->id()); 85 specifics->set_item_id(item->item_id); 99 return syncer::SyncData::CreateLocalData(item->item_id, 100 item->item_id, 150 : item_id(id), 333 const std::string& item_id = app_item->id(); local 334 if (item_id.empty()) { 338 SyncItem* sync_item = FindSyncItem(item_id); 413 std::string item_id = sync_item->item_id; local 558 const std::string& item_id = data.GetSpecifics().app_list().item_id(); local 671 const std::string& item_id = specifics.item_id(); local 835 const std::string& item_id = specifics.item_id(); local [all...] |
app_list_syncable_service.h | 49 const std::string item_id; member in struct:app_list::AppListSyncableService::SyncItem 172 // Returns an existing SyncItem corresponding to |item_id| or NULL. 173 SyncItem* FindSyncItem(const std::string& item_id); 175 // Creates a new sync item for |item_id|. 177 const std::string& item_id,
|
/external/chromium_org/sync/internal_api/public/test/ |
test_entry_factory.h | 28 const std::string& item_id, 33 const std::string& item_id, 38 int64 CreateUnappliedNewItem(const std::string& item_id, 42 // Create an unsynced unique_client_tag item in the database. If item_id is a 47 void CreateUnsyncedItem(const syncable::Id& item_id,
|
/external/chromium_org/sync/internal_api/test/ |
test_entry_factory.cc | 32 const string& item_id, 37 Id::CreateFromServerId(item_id)); 42 entry.PutServerNonUniqueName(item_id); 50 const string& item_id, 55 Id::CreateFromServerId(item_id)); 60 entry.PutServerNonUniqueName(item_id); 69 const string& item_id, 74 Id::CreateFromServerId(item_id)); 78 entry.PutServerNonUniqueName(item_id); 90 const Id& item_id, [all...] |
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
context_menus_api_helpers.h | 131 const MenuItem::Id& item_id, 133 bool is_webview = item_id.extension_key.webview_instance_id != 0; 136 if (menu_manager->GetItemById(item_id)) { 138 GetIDString(item_id)); 194 new MenuItem(item_id, title, checked, enabled, type, contexts)); 207 create_properties, profile->IsOffTheRecord(), item_id.extension_key)); 220 menu_manager->WriteToStorage(extension, item_id.extension_key); 229 const MenuItem::Id& item_id, 232 bool is_webview = item_id.extension_key.webview_instance_id != 0; 235 MenuItem* item = menu_manager->GetItemById(item_id); [all...] |
context_menus_api.cc | 61 MenuItem::Id item_id(GetProfile()->IsOffTheRecord(), 67 item_id.string_uid = *params->id.as_string; 69 item_id.uid = *params->id.as_integer; 74 params->update_properties, GetProfile(), extension(), item_id, &error_);
|
/external/chromium_org/chrome/common/ |
instant_restricted_id_cache.h | 125 const ItemIDPair& item_id = items[i]; local 127 DCHECK(ids_added.find(item_id.first) == ids_added.end()); 128 ids_added.insert(item_id.first); 130 cache_.Put(item_id.first, item_id.second); 131 last_restricted_id_ = std::max(item_id.first, last_restricted_id_);
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
encoding_menu_controller.cc | 83 int item_id) { 84 if (!DoesCommandBelongToEncodingMenu(item_id)) 91 if (item_id == IDC_ENCODING_AUTO_DETECT) { 98 CharacterEncoding::GetCanonicalEncodingNameByCommandId(item_id);
|
encoding_menu_controller.h | 34 // Returns true if the given encoding menu item (specified by item_id) 39 int item_id);
|
/external/chromium_org/ui/app_list/cocoa/test/ |
apps_grid_controller_test_helper.h | 43 // Find the page containing |item_id|, and return the index of that page. 46 size_t GetPageIndexForItem(int item_id) const;
|
/external/libmtp/examples/ |
pathutils.c | 61 /* Parses a string to find item_id */ 66 uint32_t item_id; local 68 // Check if path is an item_id 70 item_id = strtoul(path, &rest, 0); 73 if (item_id == 0) { 79 return file->item_id; 84 return item_id; 87 item_id = lookup_folder_id(folders,path,""); 88 if (item_id == (uint32_t) -1) { 102 return file->item_id; [all...] |
files.c | 28 printf("File ID: %u\n", file->item_id);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
app_installer.h | 24 const std::string& item_id,
|
app_installer.cc | 37 const std::string& item_id, 41 : extensions::WebstoreStandaloneInstaller(item_id, profile, callback),
|
/external/chromium_org/chrome/browser/extensions/api/web_view/ |
chrome_web_view_internal_api.cc | 56 MenuItem::Id item_id( 61 item_id.string_uid = *params->id.as_string; 63 item_id.uid = *params->id.as_integer; 68 params->update_properties, profile, extension(), item_id, &error_);
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
mtp_device_object_enumerator.cc | 53 *entry_id = file_entries_[index_].item_id();
|
/external/chromium_org/chrome/browser/ui/autofill/ |
account_chooser_model.cc | 158 int item_id = kWalletAccountsStartId + i; local 159 AddCheckItem(item_id, base::UTF8ToUTF16(wallet_accounts_[i]));
|
/external/chromium_org/extensions/browser/ |
verified_contents.cc | 37 const char kItemIdKey[] = "item_id"; 105 // "item_id": "<extension id>", 133 std::string item_id; local 134 if (!dictionary->GetString(kItemIdKey, &item_id) || 135 !crx_file::id_util::IdIsValid(item_id)) 137 extension_id_ = item_id;
|
/external/chromium_org/ui/app_list/test/ |
app_list_test_model.h | 57 const std::string& item_id);
|