Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Side by Side Diff: chrome/common/extensions/docs/samples.json

Issue 7210049: Update contentscript xhr example to remove background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebuilding docs Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "api": { 2 "api": {
3 "chrome.bookmarks.create": "bookmarks.html#method-create", 3 "chrome.bookmarks.create": "bookmarks.html#method-create",
4 "chrome.bookmarks.export": "bookmarks.html#method-export", 4 "chrome.bookmarks.export": "bookmarks.html#method-export",
5 "chrome.bookmarks.get": "bookmarks.html#method-get", 5 "chrome.bookmarks.get": "bookmarks.html#method-get",
6 "chrome.bookmarks.getChildren": "bookmarks.html#method-getChildren", 6 "chrome.bookmarks.getChildren": "bookmarks.html#method-getChildren",
7 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent", 7 "chrome.bookmarks.getRecent": "bookmarks.html#method-getRecent",
8 "chrome.bookmarks.getSubTree": "bookmarks.html#method-getSubTree", 8 "chrome.bookmarks.getSubTree": "bookmarks.html#method-getSubTree",
9 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree", 9 "chrome.bookmarks.getTree": "bookmarks.html#method-getTree",
10 "chrome.bookmarks.import": "bookmarks.html#method-import", 10 "chrome.bookmarks.import": "bookmarks.html#method-import",
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 "protocols": [], 534 "protocols": [],
535 "search_string": "CLD DISPLAYS THE LANGUAGE OF A TAB BACKGROUND_PAGE BROWS ER_ACTION TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.DETECTLANGUAGE CHRO ME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.O NUPDATED", 535 "search_string": "CLD DISPLAYS THE LANGUAGE OF A TAB BACKGROUND_PAGE BROWS ER_ACTION TABS CHROME.BROWSERACTION.SETBADGETEXT CHROME.TABS.DETECTLANGUAGE CHRO ME.TABS.GET CHROME.TABS.GETSELECTED CHROME.TABS.ONSELECTIONCHANGED CHROME.TABS.O NUPDATED",
536 "source_files": [ 536 "source_files": [
537 "background.html", 537 "background.html",
538 "manifest.json" 538 "manifest.json"
539 ], 539 ],
540 "source_hash": "913694d89e0b081f1ea5ad6f07b60b0141e82394", 540 "source_hash": "913694d89e0b081f1ea5ad6f07b60b0141e82394",
541 "zip_path": "examples\/api\/i18n\/cld.zip" 541 "zip_path": "examples\/api\/i18n\/cld.zip"
542 }, 542 },
543 { 543 {
544 "api_calls": [],
545 "description": "Demonstrates making cross domain requests from a content s cript by putting Twitter trends on Google News.",
546 "features": [],
547 "icon": "sample-128.png",
548 "id": "6871d09f4a96bf9d4b6cc724d00e909cee0f3902",
549 "name": "Content Script Cross-Domain XMLHttpRequest Example",
550 "path": "examples\/howto\/contentscript_xhr\/",
551 "protocols": [
552 "https:\/\/"
553 ],
554 "search_string": "CONTENT SCRIPT CROSS-DOMAIN XMLHTTPREQUEST EXAMPLE DEMON STRATES MAKING CROSS DOMAIN REQUESTS FROM A CONTENT SCRIPT BY PUTTING TWITTER TR ENDS ON GOOGLE NEWS.",
555 "source_files": [
556 "contentscript.js",
557 "manifest.json"
558 ],
559 "source_hash": "749314ae399dfc5f6759358b384bc55997fed455",
560 "zip_path": "examples\/howto\/contentscript_xhr.zip"
561 },
562 {
544 "api_calls": [ 563 "api_calls": [
545 "chrome.tabs.get", 564 "chrome.tabs.get",
546 "chrome.tabs.getSelected" 565 "chrome.tabs.getSelected"
547 ], 566 ],
548 "description": "Shows the content settings for the current site.", 567 "description": "Shows the content settings for the current site.",
549 "features": [ 568 "features": [
550 "browser_action", 569 "browser_action",
551 "contentSettings", 570 "contentSettings",
552 "experimental", 571 "experimental",
553 "popup", 572 "popup",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 "source_files": [ 640 "source_files": [
622 "background.html", 641 "background.html",
623 "manager.html", 642 "manager.html",
624 "manifest.json" 643 "manifest.json"
625 ], 644 ],
626 "source_hash": "d0741a5ff0ce9ac38a1be3e6abc46065d74cb498", 645 "source_hash": "d0741a5ff0ce9ac38a1be3e6abc46065d74cb498",
627 "zip_path": "examples\/api\/cookies.zip" 646 "zip_path": "examples\/api\/cookies.zip"
628 }, 647 },
629 { 648 {
630 "api_calls": [ 649 "api_calls": [
631 "chrome.extension.onRequest",
632 "chrome.extension.sendRequest"
633 ],
634 "description": "Demonstrates a method to make a cross-domain XMLHttpReques t fetch from a content script. This extension fetches the current trending topi cs from Twitter and inserts them in an overlay at the top of Google News. Visit http:\/\/news.google.com to test this extension.",
635 "features": [
636 "background_page"
637 ],
638 "icon": "sample-128.png",
639 "id": "6871d09f4a96bf9d4b6cc724d00e909cee0f3902",
640 "name": "Cross-domain XMLHttpRequest from a content script",
641 "path": "examples\/howto\/contentscript_xhr\/",
642 "protocols": [
643 "http:\/\/"
644 ],
645 "search_string": "CROSS-DOMAIN XMLHTTPREQUEST FROM A CONTENT SCRIPT DEMONS TRATES A METHOD TO MAKE A CROSS-DOMAIN XMLHTTPREQUEST FETCH FROM A CONTENT SCRIP T. THIS EXTENSION FETCHES THE CURRENT TRENDING TOPICS FROM TWITTER AND INSERTS THEM IN AN OVERLAY AT THE TOP OF GOOGLE NEWS. VISIT HTTP:\/\/NEWS.GOOGLE.COM TO TEST THIS EXTENSION. BACKGROUND_PAGE CHROME.EXTENSION.ONREQUEST CHROME.EXTENSIO N.SENDREQUEST",
646 "source_files": [
647 "background.html",
648 "contentscript.js",
649 "manifest.json"
650 ],
651 "source_hash": "d77b68c4839500a5974d4775033f2ee94bb611f7",
652 "zip_path": "examples\/howto\/contentscript_xhr.zip"
653 },
654 {
655 "api_calls": [
656 "chrome.browserAction.onClicked", 650 "chrome.browserAction.onClicked",
657 "chrome.extension.connect", 651 "chrome.extension.connect",
658 "chrome.extension.onConnect", 652 "chrome.extension.onConnect",
659 "chrome.tabs.create", 653 "chrome.tabs.create",
660 "chrome.tabs.executeScript", 654 "chrome.tabs.executeScript",
661 "chrome.tabs.update" 655 "chrome.tabs.update"
662 ], 656 ],
663 "description": "This extension adds an email button to the toolbar which a llows you to email the page link using your default mail client or Gmail.", 657 "description": "This extension adds an email button to the toolbar which a llows you to email the page link using your default mail client or Gmail.",
664 "features": [ 658 "features": [
665 "background_page", 659 "background_page",
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1855 "source_files": [ 1849 "source_files": [
1856 "manifest.json", 1850 "manifest.json",
1857 "popup.html", 1851 "popup.html",
1858 "sample.css" 1852 "sample.css"
1859 ], 1853 ],
1860 "source_hash": "c8bfc2b60f25c24dc3c5aaf75dd635c9419df66d", 1854 "source_hash": "c8bfc2b60f25c24dc3c5aaf75dd635c9419df66d",
1861 "zip_path": "examples\/api\/extension\/isAllowedAccess.zip" 1855 "zip_path": "examples\/api\/extension\/isAllowedAccess.zip"
1862 } 1856 }
1863 ] 1857 ]
1864 } 1858 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/samples.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698