/external/chromium/chrome/common/extensions/ |
H A D | extension_icon_set_unittest.cc | 10 ExtensionIconSet icons; local 11 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_EXACTLY)); 12 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_BIGGER)); 13 EXPECT_EQ("", icons.Get(42, ExtensionIconSet::MATCH_SMALLER)); 14 EXPECT_TRUE(icons.map().empty()); 16 icons.Add(42, "42.png"); 17 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_EXACTLY)); 18 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_BIGGER)); 19 EXPECT_EQ("42.png", icons.Get(42, ExtensionIconSet::MATCH_SMALLER)); 20 EXPECT_EQ("42.png", icons 38 ExtensionIconSet icons; local [all...] |
H A D | extension_unittest.cc | 185 // Test invalid icons 194 DictionaryValue* icons = NULL; local 195 input_value->GetDictionary(keys::kIcons, &icons); 196 ASSERT_FALSE(NULL == icons); 197 icons->SetInteger(base::IntToString(128), 42); 542 ListValue* icons = new ListValue; local 543 icons->Set(0, Value::CreateStringValue(img1)); 544 icons->Set(1, Value::CreateStringValue(img2)); 545 input.Set(keys::kPageActionIcons, icons);
|
H A D | extension.h | 518 // the browser might load (like themes and page action icons). 605 const ExtensionIconSet& icons() const { return icons_; } function in class:Extension 797 // The icons for the extension.
|
H A D | extension.cc | 914 // TODO(EXTENSIONS_DEPRECATED): icons list is obsolete. 915 ListValue* icons = NULL; local 917 extension_action->GetList(keys::kPageActionIcons, &icons)) { 918 for (ListValue::const_iterator iter = icons->begin(); 919 iter != icons->end(); ++iter) { 1811 // Initialize icons (if present). 2526 // Extension icons. 2527 for (ExtensionIconSet::IconMap::const_iterator iter = icons().map().begin(); 2528 iter != icons().map().end(); ++iter) { 2543 // Page action icons [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
H A D | AutoFillHostAndroid.cpp | 38 void AutoFillHostAndroid::AutoFillSuggestionsReturned(const std::vector<string16>& names, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& uniqueIds) argument 40 // TODO: what do we do with icons?
|
/external/chromium/chrome/browser/extensions/ |
H A D | browser_action_test_util_views.cc | 79 void BrowserActionTestUtil::SetIconVisibilityCount(size_t icons) { argument 80 GetContainer(browser_)->TestSetIconVisibilityCount(icons);
|
H A D | convert_web_app.cc | 38 const char kIconsDirName[] = "icons"; 111 // Add the icons. 112 DictionaryValue* icons = new DictionaryValue(); local 113 root->Set(keys::kIcons, icons); 114 for (size_t i = 0; i < web_app.icons.size(); ++i) { 115 std::string size = StringPrintf("%i", web_app.icons[i].width); 118 icons->SetString(size, icon_path); 147 LOG(ERROR) << "Could not create icons directory."; 150 for (size_t i = 0; i < web_app.icons.size(); ++i) { 152 StringPrintf("%i.png", web_app.icons[ [all...] |
H A D | extension_management_api.cc | 39 const char kIconsKey[] = "icons"; 78 const ExtensionIconSet::IconMap& icons = extension.icons().map(); local 79 if (!icons.empty()) { 82 for (icon_iter = icons.begin(); icon_iter != icons.end(); ++icon_iter) { 91 info->Set("icons", icon_list);
|
/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete_match.cc | 64 int icons[NUM_TYPES] = { local 77 DCHECK(arraysize(icons) == NUM_TYPES); 78 return icons[type];
|
/external/chromium/chrome/common/ |
H A D | web_apps.h | 56 // Set of available icons. 57 std::vector<IconInfo> icons; member in struct:WebApplicationInfo
|
H A D | web_apps.cc | 60 std::vector<WebApplicationInfo::IconInfo>* icons) { 85 icons->push_back(icon_info); 100 "Invalid value for property 'icons.*'. Must be a valid relative URL or " 172 AddInstallIcon(elem, &app_info->icons); 285 // Parse out the icons if present. 286 std::vector<WebApplicationInfo::IconInfo> icons; local 288 if (definition->GetDictionary("icons", &icons_value)) { 312 icons.push_back(icon); 322 web_app->icons = icons; 59 AddInstallIcon(const WebElement& link, std::vector<WebApplicationInfo::IconInfo>* icons) argument [all...] |
/external/chromium/chrome/browser/web_applications/ |
H A D | web_app.cc | 509 IconInfoList* icons) { 510 DCHECK(icons); 512 icons->clear(); 513 for (size_t i = 0; i < app_info.icons.size(); ++i) { 514 // We only take square shaped icons (i.e. width == height). 515 if (app_info.icons[i].width == app_info.icons[i].height) { 516 icons->push_back(app_info.icons[i]); 520 std::sort(icons 508 GetIconsInfo(const WebApplicationInfo& app_info, IconInfoList* icons) argument [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
H A D | SettingsDialog.java | 343 private void safeSetIconImages(List<? extends Image> icons) { argument 350 setIconImages.invoke(owner, icons); 355 setIconImages.invoke(this, icons);
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | AutoFillPopupMenuClient.cpp | 268 const WebVector<WebString>& icons, 273 ASSERT(names.size() == icons.size()); 282 setSuggestions(names, labels, icons, uniqueIDs, separatorIndex); 314 const WebVector<WebString>& icons, 319 ASSERT(names.size() == icons.size()); 330 m_icons.append(icons[i]); 264 initialize( HTMLInputElement* textField, const WebVector<WebString>& names, const WebVector<WebString>& labels, const WebVector<WebString>& icons, const WebVector<int>& uniqueIDs, int separatorIndex) argument 312 setSuggestions(const WebVector<WebString>& names, const WebVector<WebString>& labels, const WebVector<WebString>& icons, const WebVector<int>& uniqueIDs, int separatorIndex) argument
|
H A D | WebViewImpl.cpp | 1976 const WebVector<WebString>& icons, 2007 inputElem, names, labels, icons, uniqueIDs, separatorIndex); 1972 applyAutoFillSuggestions( const WebNode& node, const WebVector<WebString>& names, const WebVector<WebString>& labels, const WebVector<WebString>& icons, const WebVector<int>& uniqueIDs, int separatorIndex) argument
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | gtk_tree.cc | 353 std::vector<SkBitmap> icons; local 354 tree_model->GetIcons(&icons); 355 for (size_t i = 0; i < icons.size(); ++i) { 356 pixbufs_.push_back(gfx::GdkPixbufFromSkBitmap(&icons[i]));
|
/external/chromium/chrome/browser/autofill/ |
H A D | autofill_manager.cc | 73 std::vector<string16>* icons, 76 DCHECK_EQ(values->size(), icons->size()); 90 icons_copy.push_back((*icons)[i]); 97 icons->swap(icons_copy); 372 std::vector<string16> icons; local 392 form_structure, field, type, &values, &labels, &icons, &unique_ids); 395 form_structure, field, type, &values, &labels, &icons, &unique_ids); 399 DCHECK_EQ(values.size(), icons.size()); 415 icons.assign(1, string16()); 429 // In this case, mimic autocomplete: don't display labels or icons, 71 RemoveDuplicateSuggestions(std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument 838 GetProfileSuggestions(FormStructure* form, const FormField& field, AutofillFieldType type, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument 918 GetCreditCardSuggestions(FormStructure* form, const FormField& field, AutofillFieldType type, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument [all...] |
H A D | autofill_manager_unittest.cc | 237 const std::vector<string16>& icons, 248 ASSERT_EQ(expected_num_suggestions, icons.size()); 254 EXPECT_EQ(expected_icons[i], icons[i]); 526 std::vector<string16>* icons, 542 if (icons) 543 *icons = autofill_param.d; 621 std::vector<string16> icons; local 624 &page_id, &values, &labels, &icons, &unique_ids); 638 ExpectSuggestions(page_id, values, labels, icons, unique_ids, 665 std::vector<string16> icons; local 234 ExpectSuggestions(int page_id, const std::vector<string16>& values, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& unique_ids, int expected_page_id, size_t expected_num_suggestions, const string16 expected_values[], const string16 expected_labels[], const string16 expected_icons[], const int expected_unique_ids[]) argument 523 GetAutofillSuggestionsMessage(int* page_id, std::vector<string16>* values, std::vector<string16>* labels, std::vector<string16>* icons, std::vector<int>* unique_ids) argument 734 std::vector<string16> icons; local 791 std::vector<string16> icons; local 857 std::vector<string16> icons; local 902 std::vector<string16> icons; local 936 std::vector<string16> icons; local 979 std::vector<string16> icons; local 1053 std::vector<string16> icons; local 1103 std::vector<string16> icons; local 1177 std::vector<string16> icons; local 1249 std::vector<string16> icons; local 1295 std::vector<string16> icons; local 1337 std::vector<string16> icons; local 1383 std::vector<string16> icons; local 1430 std::vector<string16> icons; local 1477 std::vector<string16> icons; local [all...] |
/external/chromium/chrome/browser/ |
H A D | cookies_tree_model.cc | 559 // Returns the set of icons for the nodes in the tree. You only need override 560 // this if you don't want to use the default folder icons. 561 void CookiesTreeModel::GetIcons(std::vector<SkBitmap>* icons) { argument 562 icons->push_back(*ResourceBundle::GetSharedInstance().GetBitmapNamed( 564 icons->push_back(*ResourceBundle::GetSharedInstance().GetBitmapNamed( 566 icons->push_back(*ResourceBundle::GetSharedInstance().GetBitmapNamed( 571 // default icon. The index is relative to the list of icons returned from
|
/external/chromium/chrome/browser/ui/webui/options/ |
H A D | extension_settings_handler.cc | 210 std::vector<ExtensionResource>* icons, DictionaryValue* json) { 214 &IconLoader::LoadIconsOnFileThread, icons, json)); 222 std::vector<ExtensionResource>* icons, DictionaryValue* json) { 223 scoped_ptr<std::vector<ExtensionResource> > icons_deleter(icons); 229 for (size_t i = 0; i < icons->size(); ++i) { 235 if (icons->at(i).relative_path().empty() || 236 !file_util::ReadFileToString(icons->at(i).GetFilePath(), 270 // Create a data URL (all icons are converted to PNGs during unpacking). 209 LoadIcons( std::vector<ExtensionResource>* icons, DictionaryValue* json) argument 221 LoadIconsOnFileThread( std::vector<ExtensionResource>* icons, DictionaryValue* json) argument
|
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | RenderThemeGtk.cpp | 81 const char* icons[] = { "audio-volume-high", "audio-volume-muted" }; local 85 for (size_t i = 0; i < G_N_ELEMENTS(icons); ++i) { 86 gtk_icon_source_set_icon_name(iconSource, icons[i]); 89 gtk_icon_factory_add(iconFactory.get(), icons[i], iconSet);
|
/external/chromium/chrome/browser/ui/views/ |
H A D | browser_actions_container.cc | 545 // If the icons don't all fit, show the chevron (unless suppressed). 559 // Now draw the icons for the browser actions in the available space. 615 // midpoints of icons (n - 1) and n. To do this we take the offset into the 638 // the valid range. Note that the maximum allowable value is (num icons), not 639 // (num icons - 1), because we represent the indicator being past the last 676 // We have reached the end of the visible icons or found one that has a 820 void BrowserActionsContainer::TestSetIconVisibilityCount(size_t icons) { argument 821 model_->SetVisibleIconCount(icons); 822 chevron_->SetVisible(icons < browser_action_views_.size()); 823 container_width_ = IconCountToWidth(icons, chevron 1034 IconCountToWidth(int icons, bool display_chevron) const argument [all...] |
/external/webkit/Source/WebCore/loader/icon/ |
H A D | IconDatabase.cpp | 183 LOG(IconDatabase, "Requesting background thread to remove all icons"); 799 LOG(IconDatabase, "Notifying all DocumentLoaders that were waiting on a load decision for thier icons"); 1366 // If we should remove all icons, do it now. This is an uninteruptible procedure that we will always do before quitting if it is requested 1386 // Prune unretained icons after the first time we sync anything out to the database 1421 // This is either removing all icons, or shutting down the thread to quit the app 1469 Vector<IconRecord*> icons; local 1472 icons.appendRange(m_iconsPendingReading.begin(), m_iconsPendingReading.end()); 1475 // Keep track of icons we actually read to notify them of the new icon 1478 for (unsigned i = 0; i < icons.size(); ++i) { 1480 RefPtr<SharedBuffer> imageData = getImageDataForIconURLFromSQLDatabase(icons[ [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.equinox.p2.publisher_1.1.2.v20100824-2220.jar | ... final String XDOC_ICON private static final String XDOC_ICON_PREFIX private String[] icons |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/ |
H A D | pdebuild.jar | META-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ... |