* Add wasm sample
* Add README
* Fix indent in README
* Add a sample that doesn't use module to import wasm
* fix: added new line at the end of files
* Removed sample with format marco & extra space
* No more extern crate
* Sync changes
* Added new line at the end of files
* Update output
* Update footnotes
* Removed reference for unpacked extension
* Used new README template
* Update dependencies
* Update build artifacts
* fix: typo
* Update files with latest version of rustc
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
* Change passive to active voice in printer README.
* Update api-samples/printing/README.md
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
* Add printer status listener.
* Show printer status in popup.
* Fix Status display.
* Implement cancelJob().
* Correct script typos.
* Add important keyword to CSS.
* Refactor element pointers.
* Rewrite callbacks to promises.
* Fix CSS.
* Fix variable name.
* Move Print button to front of line.
* Restore old style of submitJob().
* Fix bugs.
* adding print job table along with cancel button (#847)
* adding print job table along with cancel button
* make cancel button hidden conditionally and scroll to buttom after print button is clicked
* Fix spelling.
* Update api-samples/printing/printers.js
* Add README file.
* Readme corrections.
* Update api-samples/printing/README.md
* Update api-samples/printing/README.md
* Update api-samples/printing/README.md
* Create an addCell() function.
* Fix position of addCell().
* Rearange popup layout.
* More rearranging.
* Add a warning about the print job table.
* Feedback from Patrick.
* Lint and update strings.
---------
Co-authored-by: rayxu-google <120415990+rayxu-google@users.noreply.github.com>
* Clarify when a README is needed.
* Update CONTRIBUTING.md
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
* First draft
* Update popup and options
* Update comments
* Update functional-samples/tutorial.broken-color/service-worker.js
Co-authored-by: Sebastian Benz <sebastian.benz@gmail.com>
* Add readme
* Update readme
---------
Co-authored-by: Sebastian Benz <sebastian.benz@gmail.com>
* First draft
* Rename folder
* Tweak comments
* Update index.html
* remove extra closing div
* Rename sw file
* Apply first round of @sebastianbenz suggestions
* Fix import
* Update popover
* Second tech review round
* Removed long list of suggestions
Only show past history
* Move host permissions
* Rename extension and folder
* REmove await
* Move icons into images folder
* add sample for catifier that replaces every jpg image on web by another cat image
* add readme for catifier
* add section for set/get badge text color
* add usage of isEnabled,getBadgeTextColor and setBadgeTextColor
* capitalize button text
* use single quote and update badge text to test
* use <all_urls> host_permission
* Add offscreen dom parsing sample
* Don't use offscreen.hasDocument
Use clients.matchAll instead. Also fixes a bug in the clipboard example
causing the document not to be closed if the passed argument is not a
string.
* Fix readme and remove accidentally committed popup files.
* migrate chrome.printing api sample from v2 to v3 manifest
* Restore MV2 printing sample.
---------
Co-authored-by: Oliver Dunk <oliverdunk@google.com>
* Remove docs folder.
This was a redirect from a GitHub pages site that does not appear
to be in use.
* Rename api folder to api-samples.
* Move examples to functional-samples folder.
* Move cookbook sample to functional-samples.
* Move tutorials to functional-samples folder.
* Move mv2 and apps folders to _archive.
* Rename tools folder to .repo.
* Move reference folder to functional-samples.
* Update README.
Update README with new relative links for reorg.
* Update README.md
Co-authored-by: amysteamdev <37001393+AmySteam@users.noreply.github.com>
---------
Co-authored-by: amysteamdev <37001393+AmySteam@users.noreply.github.com>
* Add offscreen clipboard cookbook example
* Clarify solution comment
* Apply suggestions from code review
* Update offscreen.js
@dotproto I took some time to consider, and I think keeping the messages and proper verifications in the workflow is a much better approach than simplifying to a purely instructive showing of the offscreen API. It not only demonstrates extension writing best-practice for completely new learners, but also gives the opportunity to demonstrate the potential for having multiple offscreen documents packaged into a project that could potentially be opened.
* Update cookbook/offscreen-clipboard-write/offscreen.html
* Apply suggestions from code review
* Add additional explanitory text
* Apply suggestions from code review
Co-authored-by: Joe Medley <jmedley@google.com>
* Add a README
* Missing semi
* Rewrap at 80 char
This brings descriptive comments in line with the copyright header required by Google.
* Rewrap at 80 characters & clarify comments
* Remove unreachable return statement
Co-authored-by: IanStanion-google <112102430+IanStanion-google@users.noreply.github.com>
Co-authored-by: Joe Medley <jmedley@google.com>