HomeSort by relevance Sort by last modified time
    Searched refs:icons (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /external/chromium/chrome/common/extensions/
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.Get(41, ExtensionIconSet::MATCH_BIGGER))
38 ExtensionIconSet icons; local
    [all...]
  /external/chromium_org/chrome/common/extensions/
extension_icon_set_unittest.cc 13 ExtensionIconSet icons; local
14 EXPECT_EQ("", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
16 EXPECT_EQ("", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
18 EXPECT_EQ("", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
20 EXPECT_TRUE(icons.map().empty());
22 icons.Add(extension_misc::EXTENSION_ICON_LARGE, "large.png");
23 EXPECT_EQ("large.png", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
25 EXPECT_EQ("large.png", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
27 EXPECT_EQ("large.png", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
29 EXPECT_EQ("large.png", icons.Get(extension_misc::EXTENSION_ICON_MEDIUM
56 ExtensionIconSet icons; local
72 ExtensionIconSet icons; local
    [all...]
manifest_handler_helpers.cc 35 ExtensionIconSet* icons,
37 DCHECK(icons);
54 icons->Add(icon_sizes[i], icon_path);
manifest_handler_helpers.h 27 // |icons|. |icons_value| is a dictionary value {icon size -> icon path}. Icons
33 ExtensionIconSet* icons,
  /external/chromium_org/chrome/common/extensions/manifest_tests/
extension_manifests_icons_unittest.cc 21 const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get()); local
23 EXPECT_EQ("16.png", icons.Get(extension_misc::EXTENSION_ICON_BITTY,
25 EXPECT_EQ("48.png", icons.Get(extension_misc::EXTENSION_ICON_MEDIUM,
40 const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get()); local
42 EXPECT_EQ("16.png", icons.Get(extension_misc::EXTENSION_ICON_BITTY,
44 EXPECT_EQ("24.png", icons.Get(extension_misc::EXTENSION_ICON_SMALLISH,
46 EXPECT_EQ("32.png", icons.Get(extension_misc::EXTENSION_ICON_SMALL,
48 EXPECT_EQ("48.png", icons.Get(extension_misc::EXTENSION_ICON_MEDIUM,
50 EXPECT_EQ("128.png", icons.Get(extension_misc::EXTENSION_ICON_LARGE,
52 EXPECT_EQ("256.png", icons.Get(extension_misc::EXTENSION_ICON_EXTRA_LARGE
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_host.h 45 virtual void AutoFillSuggestionsReturned(const std::vector<string16>& values, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& unique_ids) = 0;
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
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_org/chrome/common/extensions/api/extension_action/
browser_action_manifest_unittest.cc 59 const ExtensionIconSet& icons = browser_action_info->default_icon; local
61 EXPECT_EQ(1u, icons.map().size());
62 EXPECT_EQ("icon.png", icons.Get(19, ExtensionIconSet::MATCH_EXACTLY));
86 const ExtensionIconSet& icons = browser_action_info->default_icon; local
89 EXPECT_EQ(2u, icons.map().size());
90 EXPECT_EQ("icon19.png", icons.Get(19, ExtensionIconSet::MATCH_EXACTLY));
91 EXPECT_EQ("icon38.png", icons.Get(38, ExtensionIconSet::MATCH_EXACTLY));
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/
build.properties 18 icons/,\
  /external/chromium/chrome/browser/extensions/
convert_web_app_browsertest.cc 79 ASSERT_EQ(3u, installed_extension_->icons().map().size());
80 EXPECT_EQ("icons/16.png", installed_extension_->icons().Get(
82 EXPECT_EQ("icons/48.png", installed_extension_->icons().Get(
84 EXPECT_EQ("icons/128.png", installed_extension_->icons().Get(
browser_action_test_util.h 58 // Set how many icons should be visible.
59 void SetIconVisibilityCount(size_t icons);
convert_web_app_unittest.cc 105 web_app.icons.push_back(GetIconInfo(icon_url, sizes[i]));
133 EXPECT_EQ(web_app.icons.size(), extension->icons().map().size());
134 for (size_t i = 0; i < web_app.icons.size(); ++i) {
135 EXPECT_EQ(StringPrintf("icons/%i.png", web_app.icons[i].width),
136 extension->icons().Get(web_app.icons[i].width,
139 web_app.icons[i].width, ExtensionIconSet::MATCH_EXACTLY);
169 EXPECT_EQ(0u, extension->icons().map().size())
    [all...]
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[i].width))
    [all...]
  /external/chromium_org/chrome/common/
web_application_info.h 49 // Set of available icons.
50 std::vector<IconInfo> icons; member in struct:WebApplicationInfo
  /external/chromium_org/chrome/browser/web_applications/
web_app.cc 216 IconInfoList* icons) {
217 DCHECK(icons);
219 icons->clear();
220 for (size_t i = 0; i < app_info.icons.size(); ++i) {
221 // We only take square shaped icons (i.e. width == height).
222 if (app_info.icons[i].width == app_info.icons[i].height) {
223 icons->push_back(app_info.icons[i]);
227 std::sort(icons->begin(), icons->end(), &IconPrecedes)
    [all...]
  /external/chromium_org/chrome/browser/extensions/
browser_action_test_util.h 62 // Set how many icons should be visible.
63 void SetIconVisibilityCount(size_t icons);
convert_web_app.cc 41 const char kIconsDirName[] = "icons";
122 // Add the icons.
123 DictionaryValue* icons = new DictionaryValue(); local
124 root->Set(keys::kIcons, icons);
125 for (size_t i = 0; i < web_app.icons.size(); ++i) {
126 std::string size = base::StringPrintf("%i", web_app.icons[i].width);
129 icons->SetString(size, icon_path);
157 LOG(ERROR) << "Could not create icons directory.";
160 for (size_t i = 0; i < web_app.icons.size(); ++i) {
162 if (web_app.icons[i].data.config() == SkBitmap::kNo_Config
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
icons.js 8 chrome.runtime.sendMessage('icons');
  /external/chromium/chrome/common/
web_apps_unittest.cc 113 EXPECT_EQ(0u, web_app->icons.size());
126 ASSERT_EQ(1u, web_app->icons.size());
127 EXPECT_EQ("http://example.com/16.png", web_app->icons[0].url.spec());
128 EXPECT_EQ(16, web_app->icons[0].width);
129 EXPECT_EQ(16, web_app->icons[0].height);
web_apps.h 56 // Set of available icons.
57 std::vector<IconInfo> icons; member in struct:WebApplicationInfo
  /external/chromium/chrome/browser/web_applications/
web_app.h 54 // Extracts icons info from web app data. Take only square shaped icons and
58 IconInfoList* icons);
  /external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
private_api_util.h 32 // Finds an icon in the list of icons. If unable to find an icon of the exact
33 // size requested, returns one with the next larger size. If all icons are
35 // Icons must be sorted by the icon size, smallest to largest. If there are no
36 // icons in the list, returns an empty URL.
37 GURL FindPreferredIcon(const google_apis::InstalledApp::IconList& icons,
  /external/chromium_org/chrome/browser/ui/autofill/
autofill_popup_controller.h 87 virtual const std::vector<string16>& icons() const = 0;
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
icons_handler.h 22 // The icons for the extension.
23 ExtensionIconSet icons; member in struct:extensions::IconsInfo
43 // Parses the "icons" manifest key.
  /external/chromium_org/ui/base/models/
tree_model.h 86 // Returns the set of icons for the nodes in the tree. You only need override
87 // this if you don't want to use the default folder icons.
88 virtual void GetIcons(std::vector<gfx::ImageSkia>* icons) {}
91 // default icon. The index is relative to the list of icons returned from

Completed in 683 milliseconds

1 2 3 4 5 6