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

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

Issue 7310004: Add sample extension to allow/block third-party cookies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 "search_string": "BLANK NEW TAB PAGE CHROME_URL_OVERRIDES", 346 "search_string": "BLANK NEW TAB PAGE CHROME_URL_OVERRIDES",
347 "source_files": [ 347 "source_files": [
348 "blank.html", 348 "blank.html",
349 "manifest.json" 349 "manifest.json"
350 ], 350 ],
351 "source_hash": "477acf6d15e3fa252e6307e156707538b61c86db", 351 "source_hash": "477acf6d15e3fa252e6307e156707538b61c86db",
352 "zip_path": "examples\/api\/override\/blank_ntp.zip" 352 "zip_path": "examples\/api\/override\/blank_ntp.zip"
353 }, 353 },
354 { 354 {
355 "api_calls": [ 355 "api_calls": [
356 "chrome.extension.isAllowedIncognitoAccess"
357 ],
358 "description": "Sample extension which demonstrates how to access a prefer ence.",
359 "features": [
360 "browser_action",
361 "contentSettings",
362 "experimental",
363 "popup"
364 ],
365 "icon": null,
366 "id": "7da105f28e200d42510aff3591dfa5aeb0b82605",
367 "name": "Block\/allow third-party cookies API example extension",
368 "path": "examples\/api\/preferences\/allowThirdPartyCookies\/",
369 "protocols": [],
370 "search_string": "BLOCK\/ALLOW THIRD-PARTY COOKIES API EXAMPLE EXTENSION S AMPLE EXTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION CO NTENTSETTINGS EXPERIMENTAL POPUP CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS",
371 "source_files": [
372 "manifest.json",
373 "popup.html"
374 ],
375 "source_hash": "67648790a6ee68e071627e870868d5582e1ef2b5",
376 "zip_path": "examples\/api\/preferences\/allowThirdPartyCookies.zip"
377 },
378 {
379 "api_calls": [
356 "chrome.experimental.devtools.audits.addCategory", 380 "chrome.experimental.devtools.audits.addCategory",
357 "chrome.extension.onRequest", 381 "chrome.extension.onRequest",
358 "chrome.extension.sendRequest", 382 "chrome.extension.sendRequest",
359 "chrome.tabs.executeScript", 383 "chrome.tabs.executeScript",
360 "chrome.tabs.sendRequest" 384 "chrome.tabs.sendRequest"
361 ], 385 ],
362 "description": "Extends the Developer Tools, adding an audit category that finds broken links on the inspected page.", 386 "description": "Extends the Developer Tools, adding an audit category that finds broken links on the inspected page.",
363 "features": [ 387 "features": [
364 "background_page", 388 "background_page",
365 "devtools_page", 389 "devtools_page",
366 "experimental", 390 "experimental",
367 "tabs" 391 "tabs"
368 ], 392 ],
369 "icon": null, 393 "icon": null,
370 "id": "9004d1a1b975859d07bdff94ea0a4baa106c4fd1", 394 "id": "9004d1a1b975859d07bdff94ea0a4baa106c4fd1",
371 "name": "Broken Links", 395 "name": "Broken Links",
372 "path": "examples\/api\/devtools\/audits\/broken-links\/", 396 "path": "examples\/api\/devtools\/audits\/broken-links\/",
373 "protocols": [ 397 "protocols": [
374 "http:\/\/", 398 "http:\/\/",
375 "https:\/\/" 399 "https:\/\/"
376 ], 400 ],
377 "search_string": "BROKEN LINKS EXTENDS THE DEVELOPER TOOLS, ADDING AN AUDI T CATEGORY THAT FINDS BROKEN LINKS ON THE INSPECTED PAGE. BACKGROUND_PAGE DEVTOO LS_PAGE EXPERIMENTAL TABS CHROME.EXPERIMENTAL.DEVTOOLS.AUDITS.ADDCATEGORY CHROME .EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.EXECUTESCRIPT CHRO ME.TABS.SENDREQUEST", 401 "search_string": "BROKEN LINKS EXTENDS THE DEVELOPER TOOLS, ADDING AN AUDI T CATEGORY THAT FINDS BROKEN LINKS ON THE INSPECTED PAGE. BACKGROUND_PAGE DEVTOO LS_PAGE EXPERIMENTAL TABS CHROME.EXPERIMENTAL.DEVTOOLS.AUDITS.ADDCATEGORY CHROME .EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST CHROME.TABS.EXECUTESCRIPT CHRO ME.TABS.SENDREQUEST",
378 "source_files": [ 402 "source_files": [
379 "background.html", 403 "background.html",
380 "content.js", 404 "content.js",
381 "devtools.html", 405 "devtools.html",
382 "manifest.json" 406 "manifest.json"
383 ], 407 ],
384 "source_hash": "0070a33f3dd2268fefd3c799d499a95a6e17c689", 408 "source_hash": "1fa553e390df62a4a1cefcd900eb03764cf88dd0",
385 "zip_path": "examples\/api\/devtools\/audits\/broken-links.zip" 409 "zip_path": "examples\/api\/devtools\/audits\/broken-links.zip"
386 }, 410 },
387 { 411 {
388 "api_calls": [], 412 "api_calls": [],
389 "description": "Extends the Developer Tools, adding a sidebar that display s the jQuery data associated with the selected DOM element.", 413 "description": "Extends the Developer Tools, adding a sidebar that display s the jQuery data associated with the selected DOM element.",
390 "features": [ 414 "features": [
391 "devtools_page", 415 "devtools_page",
392 "experimental" 416 "experimental"
393 ], 417 ],
394 "icon": null, 418 "icon": null,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 "protocols": [], 560 "protocols": [],
537 "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", 561 "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",
538 "source_files": [ 562 "source_files": [
539 "background.html", 563 "background.html",
540 "manifest.json" 564 "manifest.json"
541 ], 565 ],
542 "source_hash": "913694d89e0b081f1ea5ad6f07b60b0141e82394", 566 "source_hash": "913694d89e0b081f1ea5ad6f07b60b0141e82394",
543 "zip_path": "examples\/api\/i18n\/cld.zip" 567 "zip_path": "examples\/api\/i18n\/cld.zip"
544 }, 568 },
545 { 569 {
546 "api_calls": [], 570 "api_calls": [
571 "chrome.extension.onRequest",
572 "chrome.extension.sendRequest"
573 ],
547 "description": "Demonstrates making cross domain requests from a content s cript by putting Twitter trends on Google News.", 574 "description": "Demonstrates making cross domain requests from a content s cript by putting Twitter trends on Google News.",
548 "features": [], 575 "features": [],
549 "icon": "sample-128.png", 576 "icon": "sample-128.png",
550 "id": "6871d09f4a96bf9d4b6cc724d00e909cee0f3902", 577 "id": "6871d09f4a96bf9d4b6cc724d00e909cee0f3902",
551 "name": "Content Script Cross-Domain XMLHttpRequest Example", 578 "name": "Content Script Cross-Domain XMLHttpRequest Example",
552 "path": "examples\/howto\/contentscript_xhr\/", 579 "path": "examples\/howto\/contentscript_xhr\/",
553 "protocols": [ 580 "protocols": [
554 "https:\/\/" 581 "https:\/\/"
555 ], 582 ],
556 "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.", 583 "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. CHROME.EXTENSION.ONREQUEST CHROME.EXTENSION.SENDREQUEST",
557 "source_files": [ 584 "source_files": [
585 "background.html",
558 "contentscript.js", 586 "contentscript.js",
559 "manifest.json" 587 "manifest.json"
560 ], 588 ],
561 "source_hash": "749314ae399dfc5f6759358b384bc55997fed455", 589 "source_hash": "afb208775dc8842def6ade41a83957ccffa7be1c",
562 "zip_path": "examples\/howto\/contentscript_xhr.zip" 590 "zip_path": "examples\/howto\/contentscript_xhr.zip"
563 }, 591 },
564 { 592 {
565 "api_calls": [ 593 "api_calls": [
566 "chrome.tabs.get", 594 "chrome.tabs.get",
567 "chrome.tabs.getSelected" 595 "chrome.tabs.getSelected"
568 ], 596 ],
569 "description": "Shows the content settings for the current site.", 597 "description": "Shows the content settings for the current site.",
570 "features": [ 598 "features": [
571 "browser_action", 599 "browser_action",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 "icon": null, 723 "icon": null,
696 "id": "0bf0930a32829dfb77170535ecb27adc2de3998a", 724 "id": "0bf0930a32829dfb77170535ecb27adc2de3998a",
697 "name": "Enable\/disable referrers API example extension", 725 "name": "Enable\/disable referrers API example extension",
698 "path": "examples\/api\/preferences\/enableReferrer\/", 726 "path": "examples\/api\/preferences\/enableReferrer\/",
699 "protocols": [], 727 "protocols": [],
700 "search_string": "ENABLE\/DISABLE REFERRERS API EXAMPLE EXTENSION SAMPLE E XTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION CONTENTSE TTINGS EXPERIMENTAL POPUP CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS", 728 "search_string": "ENABLE\/DISABLE REFERRERS API EXAMPLE EXTENSION SAMPLE E XTENSION WHICH DEMONSTRATES HOW TO ACCESS A PREFERENCE. BROWSER_ACTION CONTENTSE TTINGS EXPERIMENTAL POPUP CHROME.EXTENSION.ISALLOWEDINCOGNITOACCESS",
701 "source_files": [ 729 "source_files": [
702 "manifest.json", 730 "manifest.json",
703 "popup.html" 731 "popup.html"
704 ], 732 ],
705 "source_hash": "2919c196fec8721c240b529b7763c36f7330d986", 733 "source_hash": "e3514a32b04876d79e64f31ffe7beb4bbae98d33",
706 "zip_path": "examples\/api\/preferences\/enableReferrer.zip" 734 "zip_path": "examples\/api\/preferences\/enableReferrer.zip"
707 }, 735 },
708 { 736 {
709 "api_calls": [], 737 "api_calls": [],
710 "description": "A sample extension which uses Google Analytics to track us age.", 738 "description": "A sample extension which uses Google Analytics to track us age.",
711 "features": [ 739 "features": [
712 "background_page", 740 "background_page",
713 "browser_action", 741 "browser_action",
714 "popup" 742 "popup"
715 ], 743 ],
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 "source_files": [ 1879 "source_files": [
1852 "manifest.json", 1880 "manifest.json",
1853 "popup.html", 1881 "popup.html",
1854 "sample.css" 1882 "sample.css"
1855 ], 1883 ],
1856 "source_hash": "c8bfc2b60f25c24dc3c5aaf75dd635c9419df66d", 1884 "source_hash": "c8bfc2b60f25c24dc3c5aaf75dd635c9419df66d",
1857 "zip_path": "examples\/api\/extension\/isAllowedAccess.zip" 1885 "zip_path": "examples\/api\/extension\/isAllowedAccess.zip"
1858 } 1886 }
1859 ] 1887 ]
1860 } 1888 }
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