/external/chromium_org/chrome/common/ |
icon_with_badge_image_source.h | 18 // CanvasImageSource for creating extension icon with a badge. 38 // Extra spacing for badge compared to icon bounds. 41 // Text to be displayed on the badge. 44 // Color of badge text. 47 // Color of the badge.
|
badge_util.h | 26 // rendering badge overlay text (correct font, typeface, etc). 37 // Paints badge with specified parameters to |canvas|.
|
/external/chromium_org/chrome/common/extensions/api/ |
script_badge.json | 8 "description": "Use the <code>chrome.scriptBadge</code> API to control the behaviour of the script badge.", 13 "description": "Sets the html document to be opened as a popup when the user clicks on the script badge's icon.", 19 "tabId": {"type": "integer", "minimum": 0, "description": "The id of the tab for which you want to modify the script badge."}, 31 "description": "Gets the html document set as the popup for this script badge.", 59 "description": "Brings the script badge to the attention of the user, imploring her to click. You should call this when you detect that you can do something to a particular tab. Do not call this for every tab. That's tacky. If the user clicks on the badge, the activeTab APIs become available. If the extension has already run on this tab, this call does nothing.", 79 "description": "Fired when a script badge icon is clicked. This event will not fire if the script badge has a popup.",
|
browser_action.json | 8 "description": "Use browser actions to put icons in the main Google Chrome toolbar, to the right of the address bar. In addition to its <a href='#icon'>icon</a>, a browser action can also have a <a href='#tooltip'>tooltip</a>, a <a href='#badge'>badge</a>, and a <a href = '#popups'>popup</a>.", 186 "description": "Sets the badge text for the browser action. The badge is displayed on top of the icon.", 208 "description": "Gets the badge text of the browser action. If no tab is specified, the non-tab-specific badge text is returned.", 217 "description": "Specify the tab to get the badge text from. If no tab is specified, the non-tab-specific badge text is returned." 236 "description": "Sets the background color for the badge.", 243 "description": "An array of four integers in the range [0,255] that make up the RGBA color of the badge. For example, opaque red is <code>[255, 0, 0, 255]</code>. Can also be a string with a CSS value, (…) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
extension_warning_badge_service.h | 19 // A service that is responsible for showing an extension warning badge on the 28 // trigger a warning badge again for the life-time of the browsing session. 44 // Warnings that do not trigger a badge on the wrench menu.
|
location_bar_controller.h | 34 // Invites the user to click on |extension_id|'s script badge, due to a 38 // Notifies this that the badge for an extension has been clicked with some
|
extension_warning_badge_service_unittest.cc | 66 // Check that no badge appears if it has been suppressed for a specific 88 // Set first warning again and verify that not badge is shown this time. 92 // Set second warning and verify that it shows a badge.
|
/external/chromium_org/tools/json_schema_compiler/test/ |
browser_action.json | 158 "description": "Sets the badge text for the browser action. The badge is displayed on top of the icon.", 180 "description": "Gets the badge text of the browser action. If no tab is specified, the non-tab-specific badge text is returned.", 189 "description": "Specify the tab to get the badge text from. If no tab is specified, the non-tab-specific badge text is returned." 208 "description": "Sets the background color for the badge.", 215 "description": "An array of four integers in the range [0,255] that make up the RGBA color of the badge. For example, opaque red is <code>[255, 0, 0, 255]</code>. Can also be a string with a CSS value, with opaque red being <code>#FF0000</code> or <code>#F00</code>.", 242 "description": "Specify the tab to get the badge background color from. If no tab is specified, the non-tab-specific badge background color is returned. [all...] |
/external/chromium_org/chrome/browser/ui/toolbar/ |
wrench_icon_painter.h | 67 // A badge drawn on the top left. 68 void set_badge(const gfx::ImageSkia& badge) { badge_ = badge; }
|
/external/chromium/chrome/common/extensions/docs/static/ |
browserAction.html | 10 a <a href="#badge">badge</a>, 62 a <a href="#badge">badge</a>, 102 <h3 id="badge">Badge</h3> 104 <p>Browser actions can optionally display a <em>badge</em> — 110 <p>Because the badge has limited space, 115 Set the text and color of the badge using
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
webstore_result_icon_source.cc | 56 const gfx::ImageSkia& badge = *ui::ResourceBundle::GetSharedInstance(). local 59 badge, icon_.width() - badge.width(), icon_.height() - badge.height());
|
/external/chromium_org/chrome/browser/ui/gtk/ |
unity_service.h | 16 // other than 0 displays the badge.
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
unity_service.h | 14 // other than 0 displays the badge.
|
/external/chromium/chrome/common/extensions/ |
extension_action.h | 100 // Set this action's badge text on a specific tab. 104 // Get the badge text for a tab, or the default if no badge text was set. 109 // Set this action's badge text color on a specific tab. 119 // Set this action's badge background color on a specific tab. 123 // Get the badge background color for a tab, or the default if no color 129 // Set this action's badge visibility on a specific tab. 133 // Get the badge visibility for a tab, or the default badge visibility 142 // If the specified tab has a badge, paint it into the provided bounds [all...] |
extension_action.cc | 41 // The padding between the top of the badge and the top of the text. 47 // The minimum width for center-aligning the badge. 119 background_color = SkColorSetARGB(255, 218, 0, 24); // Default badge color. 132 // Calculate badge size. It is clamped to a min width just because it looks 136 // Force the pixel width of badge to be either odd (if the icon width is odd) 142 // Paint the badge background color in the right location. It is usually 184 // Finally, draw the text centered within the badge. We set a clip in case the
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
background.js | 113 function drawIcon(side, stage, badge) { 122 if (badge == 'd') { 124 } else if (badge == 'p') { 126 } else if (badge == 'c') { 147 function setBrowserActionIcon(stage, badge) { 148 var canvas1 = drawIcon(19, stage, badge); 149 var canvas2 = drawIcon(38, stage, badge); 193 var badge = anyDangerous ? 'd' : (anyPaused ? 'p' : 196 var targetIcon = stage + ' ' + badge; 198 setBrowserActionIcon(stage, badge); [all...] |
/external/chromium_org/chrome/browser/extensions/api/extension_action/ |
script_badge_apitest.cc | 67 // Tell the extension to update the script badge state. 78 // Simulate the script badge being clicked. 90 // cause the script badge to be animated in.
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
page_action_with_badge_view.h | 16 // A container for the PageActionImageView plus its badge.
|
/external/chromium/chrome/common/ |
badge_util.h | 19 // rendering badge overlay text (correct font, typeface, etc).
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/ |
background.html | 9 event, and use it to set a warning badge on the browser action's icon.
|
/external/chromium_org/chrome/browser/resources/options/ |
certificate_tree.js | 60 var badge = document.createElement('span'); 61 badge.classList.add('cert-untrusted'); 62 badge.textContent = loadTimeData.getString('badgeCertUntrusted'); 64 badge, treeItem.labelElement.firstChild);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
page_action_with_badge_view.h | 19 // A container for the PageActionImageView plus its badge.
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
extension_info_ui.h | 22 // WebUI controller for the informative bubble shown on clicking a script badge.
|
/external/chromium_org/chrome/common/extensions/api/extension_action/ |
script_badge_handler.cc | 36 // Provide a default script badge if one isn't declared in the manifest. 43 // So as to not confuse developers if they specify a script badge section 44 // in the manifest, show a warning if the script badge declaration isn't 61 return false; // Failed to parse script badge definition.
|
/development/samples/ApiDemos/res/layout/ |
quick_contacts.xml | 26 android:id="@+id/badge" 43 android:layout_toRightOf="@id/badge"
|