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

12

/external/chromium_org/chrome/browser/profiles/
H A Dprofile_avatar_downloader.cc20 size_t icon_index,
23 : icon_index_(icon_index),
27 profiles::GetDefaultAvatarIconFileNameAtIndex(icon_index));
19 ProfileAvatarDownloader( size_t icon_index, const base::FilePath& profile_path, ProfileInfoCache* cache) argument
H A Davatar_menu_desktop.cc37 const size_t icon_index = cache.GetAvatarIconIndexOfProfileAtIndex(index); local
39 profiles::GetDefaultAvatarIconResourceIDAtIndex(icon_index);
H A Dprofile_avatar_downloader.h14 ProfileAvatarDownloader(size_t icon_index,
H A Dprofile_info_cache.cc189 size_t icon_index,
199 profiles::GetDefaultAvatarIconUrl(icon_index));
213 DownloadHighResAvatar(icon_index, profile_path);
445 size_t icon_index = 0; local
446 if (!profiles::IsDefaultAvatarIconUrl(icon_url, &icon_index))
449 return icon_index;
512 size_t icon_index) {
516 profiles::GetDefaultAvatarIconUrl(icon_index));
524 DownloadHighResAvatar(icon_index, profile_path);
763 size_t icon_index) cons
185 AddProfileToCache( const base::FilePath& profile_path, const base::string16& name, const base::string16& username, size_t icon_index, const std::string& supervised_user_id) argument
511 SetAvatarIconOfProfileAtIndex(size_t index, size_t icon_index) argument
793 size_t icon_index = 0; local
834 DownloadHighResAvatar( size_t icon_index, const base::FilePath& profile_path) argument
960 size_t icon_index = start + (rand + i) % count; local
[all...]
H A Dprofile_info_cache.h50 size_t icon_index,
105 void SetAvatarIconOfProfileAtIndex(size_t index, size_t icon_index);
128 base::string16 ChooseNameForNewProfile(size_t icon_index) const;
146 // Starts downloading the high res avatar at index |icon_index| for profile
148 void DownloadHighResAvatar(size_t icon_index,
178 bool IconIndexIsUnique(size_t icon_index) const;
H A Dprofile_avatar_icon_util.h66 // is, returns true and its index through |icon_index|. If not, returns false.
67 bool IsDefaultAvatarIconUrl(const std::string& icon_url, size_t *icon_index);
H A Dprofile_avatar_icon_util.cc368 bool IsDefaultAvatarIconUrl(const std::string& url, size_t* icon_index) {
369 DCHECK(icon_index);
381 *icon_index = int_value;
H A Dprofile_metrics.cc195 void ProfileMetrics::LogProfileAvatarSelection(size_t icon_index) {
196 DCHECK(icon_index < NUM_PROFILE_AVATAR_METRICS);
198 switch (icon_index) {
H A Dprofile_metrics.h198 static void LogProfileAvatarSelection(size_t icon_index);
H A Dprofile_manager.cc419 size_t icon_index; local
421 if (profiles::IsDefaultAvatarIconUrl(icon_url_std, &icon_index)) {
423 cache.AddProfileToCache(profile_path, name, base::string16(), icon_index,
1166 size_t icon_index = profile->GetPrefs()->GetInteger( local
1175 icon_index,
H A Dprofile_shortcut_manager_win.cc835 const size_t icon_index = local
838 profiles::GetDefaultAvatarIconResourceIDAtIndex(icon_index);
839 const int resource_id_2x = kProfileAvatarIconResources2x[icon_index];
/external/chromium_org/base/win/
H A Dshortcut.h51 ShortcutProperties() : icon_index(-1), dual_mode(false), options(0U) {}
79 icon_index = icon_index_in;
104 // The path to the icon (can be a dll or exe, in which case |icon_index| is
107 int icon_index; member in struct:base::win::ShortcutProperties
H A Dshortcut_unittest.cc102 EXPECT_EQ(link_properties_.icon_index, properties_read_1.icon_index);
125 EXPECT_EQ(0, properties_read_2.icon_index);
H A Dshortcut.cc121 properties.icon_index))) {
/external/chromium_org/chrome/installer/util/
H A Dchrome_browser_operations.cc106 // - icon_index: |dist|'s icon index (possibly overridden by
118 int icon_index = local
125 &icon_index);
127 properties->set_icon(target_exe, icon_index);
H A Dshell_util.h94 : level(level_in), icon_index(0), dual_mode(false),
125 // Sets the path to the icon (icon_index set to 0).
129 icon_index = icon_index_in;
199 int icon_index; member in struct:ShellUtil::ShortcutProperties
337 // Returns the string "|icon_path|,|icon_index|" (see, for example,
340 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.cc156 expected_properties.set_icon(properties.icon, properties.icon_index);
158 int icon_index = dist->GetIconIndex(BrowserDistribution::SHORTCUT_CHROME); local
159 expected_properties.set_icon(chrome_exe_, icon_index);
/external/chromium_org/chrome/browser/
H A Djumplist_updater_win.h29 int icon_index() const { return icon_index_; } function in class:ShellLinkItem
H A Djumplist_updater_win.cc56 link->SetIconLocation(item->icon_path().c_str(), item->icon_index());
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dmanage_profile_handler.cc259 const size_t icon_index = cache.ChooseAvatarIconIndexForNewProfile(); local
262 profile_info.SetString("name", cache.ChooseNameForNewProfile(icon_index));
264 profiles::GetDefaultAvatarIconUrl(icon_index));
/external/chromium_org/base/test/
H A Dtest_shortcut_win.cc110 EXPECT_EQ(properties.icon_index, read_icon_index);
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_sync_starter.cc271 size_t icon_index = g_browser_process->profile_manager()-> local
275 base::UTF8ToUTF16(profiles::GetDefaultAvatarIconUrl(icon_index)),
/external/chromium_org/chrome/browser/extensions/api/extension_action/
H A Dextension_action_api.cc464 int icon_index; local
472 } else if (details_->GetInteger("iconIndex", &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];

Completed in 3603 milliseconds

12