Searched refs:icon_index (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/base/win/
H A Dshortcut.h43 ShortcutProperties() : icon_index(-1), dual_mode(false), options(0U) {}
71 icon_index = icon_index_in;
96 // The path to the icon (can be a dll or exe, in which case |icon_index| is
99 int icon_index; member in struct:base::win::ShortcutProperties
H A Dshortcut.cc120 properties.icon_index))) {
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_info_cache.cc208 size_t icon_index,
217 info->SetString(kAvatarIconKey, GetDefaultAvatarIconUrl(icon_index));
471 size_t icon_index = 0; local
472 if (!IsDefaultAvatarIconUrl(icon_url, &icon_index))
475 return icon_index;
525 size_t icon_index) {
527 info->SetString(kAvatarIconKey, GetDefaultAvatarIconUrl(icon_index));
709 size_t icon_index) const {
712 if (icon_index < kGenericIconCount) {
717 kDefaultNames[icon_index
205 AddProfileToCache(const base::FilePath& profile_path, const base::string16& name, const base::string16& username, size_t icon_index, const std::string& managed_user_id) argument
524 SetAvatarIconOfProfileAtIndex(size_t index, size_t icon_index) argument
769 size_t icon_index = start + (rand + i) % count; local
780 size_t icon_index = 0; local
822 IsDefaultAvatarIconUrl(const std::string& url, size_t* icon_index) argument
[all...]
H A Dprofile_info_cache.h46 size_t icon_index,
96 void SetAvatarIconOfProfileAtIndex(size_t index, size_t icon_index);
112 base::string16 ChooseNameForNewProfile(size_t icon_index) const;
140 // is, returns true and its index through |icon_index|. If not, returns false.
142 size_t *icon_index);
168 bool IconIndexIsUnique(size_t icon_index) const;
H A Dprofile_metrics.h74 static void LogProfileAvatarSelection(size_t icon_index);
H A Dprofile_metrics.cc146 void ProfileMetrics::LogProfileAvatarSelection(size_t icon_index) {
147 DCHECK(icon_index < NUM_PROFILE_AVATAR_METRICS);
149 switch (icon_index) {
H A Dprofile_manager.cc578 size_t icon_index; local
580 if (cache.IsDefaultAvatarIconUrl(icon_url_std, &icon_index)) {
582 cache.AddProfileToCache(profile_path, name, base::string16(), icon_index,
1025 size_t icon_index = profile->GetPrefs()->GetInteger( local
1034 icon_index,
H A Dprofile_shortcut_manager_win.cc825 const size_t icon_index = local
828 cache->GetDefaultAvatarIconResourceIDAtIndex(icon_index);
829 const int resource_id_2x = kProfileAvatarIconResources2x[icon_index];
/external/chromium/chrome/browser/extensions/
H A Dextension_page_actions_module.cc159 int icon_index; local
167 } else if (args->GetInteger("iconIndex", &icon_index)) {
168 if (icon_index < 0 || static_cast<size_t>(icon_index) >=
174 page_action_->SetIconIndex(tab_id, icon_index);
/external/chromium_org/chrome/installer/util/
H A Dchrome_browser_operations.cc103 // - icon_index: |dist|'s icon index (possibly overridden by
115 int icon_index = local
122 &icon_index);
124 properties->set_icon(target_exe, icon_index);
H A Dshell_util.h88 : level(level_in), icon_index(0), dual_mode(false),
119 // Sets the path to the icon (icon_index set to 0).
123 icon_index = icon_index_in;
193 int icon_index; member in struct:ShellUtil::ShortcutProperties
331 // Returns the string "|icon_path|,|icon_index|" (see, for example,
333 static string16 FormatIconLocation(const string16& icon_path, int icon_index);
H A Dmaster_preferences_unittest.cc113 int icon_index = 0; local
116 &icon_index));
117 EXPECT_EQ(icon_index, 1);
172 int icon_index = 0; local
175 &icon_index));
176 EXPECT_EQ(icon_index, 0);
H A Dshell_util_unittest.cc148 int icon_index = dist->GetIconIndex(BrowserDistribution::SHORTCUT_CHROME); local
149 expected_properties.set_icon(chrome_exe_, icon_index);
/external/chromium/chrome/browser/ui/views/location_bar/
H A Dpage_action_image_view.cc216 int icon_index = page_action_->GetIconIndex(current_tab_id_);
217 std::string icon_path = (icon_index < 0) ?
219 page_action_->icon_paths()->at(icon_index);
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_tree.cc382 int icon_index = tree_model_->GetIconIndex(node); local
383 if (icon_index >= 0 && icon_index < static_cast<int>(pixbufs_.size()))
384 pixbuf = pixbufs_[icon_index];
H A Dlocation_bar_view_gtk.cc1517 int icon_index = page_action_->GetIconIndex(current_tab_id_); local
1518 std::string icon_path = (icon_index < 0) ?
1520 page_action_->icon_paths()->at(icon_index);
/external/chromium_org/chrome/browser/ui/gtk/
H A Dgtk_tree.cc384 int icon_index = tree_model_->GetIconIndex(node); local
385 if (icon_index >= 0 && icon_index < static_cast<int>(pixbufs_.size()))
386 pixbuf = pixbufs_[icon_index];
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dmanage_profile_handler.cc213 const size_t icon_index = cache.ChooseAvatarIconIndexForNewProfile(); local
216 profile_info.SetString("name", cache.ChooseNameForNewProfile(icon_index));
217 profile_info.SetString("iconURL", cache.GetDefaultAvatarIconUrl(icon_index));
/external/chromium_org/base/test/
H A Dtest_shortcut_win.cc116 EXPECT_EQ(properties.icon_index, read_icon_index);
/external/chromium/base/
H A Dfile_util.h216 int icon_index,
232 int icon_index,
H A Dfile_util_win.cc409 int icon_index, const wchar_t* app_id) {
442 if (icon && FAILED(i_shell_link->SetIconLocation(icon, icon_index)))
461 int icon_index, const wchar_t* app_id) {
493 if (icon && FAILED(i_shell_link->SetIconLocation(icon, icon_index)))
406 CreateShortcutLink(const wchar_t *source, const wchar_t *destination, const wchar_t *working_dir, const wchar_t *arguments, const wchar_t *description, const wchar_t *icon, int icon_index, const wchar_t* app_id) argument
458 UpdateShortcutLink(const wchar_t *source, const wchar_t *destination, const wchar_t *working_dir, const wchar_t *arguments, const wchar_t *description, const wchar_t *icon, int icon_index, const wchar_t* app_id) argument
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_sync_starter.cc230 size_t icon_index = g_browser_process->profile_manager()-> local
234 UTF8ToUTF16(ProfileInfoCache::GetDefaultAvatarIconUrl(icon_index)),
/external/chromium_org/ui/views/controls/tree/
H A Dtree_view.cc775 int icon_index = model_->GetIconIndex(node->model_node()); local
776 if (icon_index != -1)
777 icon = icons_[icon_index];
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dextension_action_api.cc704 int icon_index; local
722 } else if (details_->GetInteger("iconIndex", &icon_index)) {
/external/chromium_org/chrome/installer/setup/
H A Dinstall_unittest.cc86 chrome_properties.icon_index);

Completed in 906 milliseconds

12