Commit Graph

1435 Commits

Author SHA1 Message Date
Simeon Vincent
d0426d38f3 Update example list to include custom elements 2021-03-16 18:18:07 -07:00
Simeon Vincent
0190bcffeb First pass at a custom element example 2021-03-16 14:59:39 -07:00
mikemorr
4d8910fdbb Make quote-colon spacing consistent (#566) 2021-03-10 11:26:56 -08:00
Sam Thorogood
e2baf81fc9 Update issue templates (#559) 2021-02-25 09:55:09 +11:00
MichaelDimmitt
3c82896d8f Fix image in all sample readmes (#529)
* fix images in readme

* fix all sample readmes by pointing all images to correct apps location
2021-02-25 09:49:17 +11:00
MichaelDimmitt
dbd82ec0e0 Fix tryitnow button (#530)
* update tryitnow_small button image location

https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton_small.png
changes to
https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton_small.png

* update tryitnow button image location

https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton.png
changes to
https://raw.github.com/GoogleChrome/chrome-extensions-samples/master/apps/tryitnowbutton.png
2021-02-25 09:43:15 +11:00
Jon Newton
0e3a44e8ce Remove duplicated word (#558) 2021-02-25 09:26:02 +11:00
Simeon Vincent
a7c4a0d9e1 Redirect visits to repo's site 2021-02-22 19:55:26 -08:00
Simeon Vincent
3ef66c8519 Create hello world page for Pages site (#557) 2021-02-22 18:57:15 -08:00
Simeon Vincent
6ca774c69c Adds simple Hello World example (#553) 2021-02-18 17:43:05 -08:00
Simeon Vincent
40e5a5c6b8 Clean artifacts introduced in 719d5b2 (PR #556) 2021-02-18 16:00:14 -08:00
Simeon Vincent
719d5b205c Cookie Clearer example (#552)
Adds cookie example extension originally by Ghazale
2021-02-18 14:13:25 -08:00
Jiahao
e1d9534027 Updated Relative URL (#550)
* Updated Relative URL

As mentioned in #547, due to #542 , these links no longer works.  @dotproto mentioned that a fix is on its way but maybe was delayed for some reason, so this PR was created to update the links. The directory structure info was updated accordingly.

Also, @dotproto said 
> we also don't want them to be the main content everyone comes here for.

I suggest two possible approaches:
1. Collapse the version 2 samples, like this:
```
<details><summary>MV2 </summary>
[Print Extension](mv2-archive/api/printing)<br />Sends print job directly to the printers installed on the Chromebook | <ul><li>printing.getPrinterInfo</li><li>printing.getPrinters</li><li>printing.submitJob</li><li>runtime.lastError</li></ul>
</details>
```
2. Move the version 2 samples to `readme.md` in `mv2-archieve/`

* Create Readme for mv2

* Update README.md

Relocated mv2 samples

* Update README.md

Fix typo
2021-02-16 12:25:13 -08:00
HannesH_Dev
af8d89df7f fixed minor spelling error in popup.js (#549) 2021-02-08 17:15:43 -08:00
Simeon Vincent
475b4b6bf1 Move MV2 resources into dedicated archive directory (#542) 2021-02-05 19:02:26 -08:00
Simeon Vincent
663417a08a Update getting started code for MV3 (#543)
* Update getting started code for MV3
* Small polish & cleanup in getting started
* Minor: reorder manifest version fields
* Updates based on article drafting process
* Cleanup from getting-started runthrough
2021-02-04 16:38:33 -08:00
Sam Thorogood
61b912478e Use respectful terms 2021-01-28 12:09:10 +11:00
Sam Thorogood
70b361f14f Remove incorrect filenames from feature list (#525) 2020-12-04 16:23:58 +11:00
Adam Canady
babaf0127a fix typo (#521) 2020-12-04 16:20:25 +11:00
Sam Thorogood
1d8d137d20 Merge pull request #524 from GoogleChrome/move
import old samples and add new README
2020-12-04 12:27:25 +11:00
Sam Thorogood
d0614094b6 link to deprecation blog 2020-12-04 12:26:56 +11:00
Sam Thorogood
8da6f16ab6 Update README.md
Co-authored-by: Rob Dodson <robdodson@users.noreply.github.com>
2020-12-04 12:24:04 +11:00
Sam Thorogood
81b595b993 Update README.md
Co-authored-by: Rob Dodson <robdodson@users.noreply.github.com>
2020-12-04 12:23:58 +11:00
Sam Thorogood
5305d935f9 Update README.md
Co-authored-by: Rob Dodson <robdodson@users.noreply.github.com>
2020-12-04 12:23:51 +11:00
Sam Thorogood
90007730e7 getting started 2020-12-04 10:19:49 +11:00
Sam Thorogood
661ef44837 remove old txt readme 2020-12-04 10:17:50 +11:00
Sam Thorogood
b4cd5d4550 import old samples 2020-12-04 10:13:59 +11:00
Sam Thorogood
d0fee210cd fix links 2020-12-04 09:19:07 +11:00
Sam Thorogood
8af19b8ca9 move 2020-12-04 09:18:01 +11:00
François Beaufort
29f6a8001e Use inclusive language 2020-08-11 12:47:45 +02:00
François Beaufort
3e05590eb4 Merge pull request #491 from beaufortfrancois/master
Don't use Google+ API anymore
2019-01-21 15:29:50 +01:00
François Beaufort
25563e9418 Don't use Google+ API anymore 2019-01-21 10:31:33 +01:00
François Beaufort
22897c98e8 Merge pull request #468 from avallee/master
BrowserSample: Ensure the webview is focused.
2017-01-27 16:16:24 +01:00
Alex Vallée
4c6d724644 BrowserSample: Ensure the webview is focused.
Like a real web browser, the content should be focused whenever it is
navigated. Additionally, since there is a default web page shown on
start, the webview should be focused. This is unlike a new tab page in
chrome that doesn't really have content and invites the user to type
into the address bar (which should have focus in that case.)
2017-01-24 11:44:51 -05:00
François Beaufort
0dde09bfa2 Merge pull request #460 from avallee/master
BrowserSample: Fix control style.
2016-11-16 16:43:13 +01:00
Alex Vallée
93340534aa BrowserSample: Fix control style.
Added definitions to show which control is focused.
2016-11-04 11:17:00 -04:00
François Beaufort
5429a5497e Merge pull request #449 from cbiesinger/patch-1
Fix canvas sizing when resizing the window
2016-06-15 11:38:29 +02:00
Christian Biesinger
52411f05b3 Fix canvas sizing when resizing the window
This fixes https://bugs.chromium.org/p/chromium/issues/detail?id=567515

When maximizing/unmaximizing the window, the canvas is sized incorrectly due to the wrong min-width.
2016-06-14 17:19:07 +02:00
Francois Beaufort
dd05646804 s/chromium.runtime/chrome.runtime/g 2016-06-06 15:08:08 +02:00
Reilly Grant
20ad595d4c Merge pull request #446 from EduardoMartinezCatala/patch-1
Close <head> browser.html
2016-05-26 14:52:48 -07:00
Eduardo
f8ca7c2147 Close <head> 2016-05-26 01:08:36 +02:00
Francois Beaufort
e347c538e8 Update websocket-server README 2016-02-23 12:06:57 +01:00
Francois Beaufort
9955976543 Update README file 2016-02-23 12:03:49 +01:00
Francois Beaufort
7de069ba04 Bumped websocket-server manifest version 2016-02-23 12:02:27 +01:00
François Beaufort
7fde41f807 Merge pull request #429 from rhashimoto/websocket-sockets-api
Update websocket-server to use chrome.sockets API.
2016-02-23 12:01:07 +01:00
Roy Hashimoto
9d1d1860c1 Log chrome.sockets.tcpServer.listen() error in websocket-server.
Handle errors in chrome.sockets.tcpServer.listen() by logging it to
the console. An error here is normal and expected for app instances
created after the first instance.
2016-02-22 11:07:35 -08:00
Roy Hashimoto
3b608a7808 Remove empty permissions from websocket-server manifest. 2016-02-22 10:52:29 -08:00
Roy Hashimoto
8e94ffc191 Handle chrome.sockets.tcp.send callback undefined argument.
The argument to the chrome.sockets.tcp.send callback is undefined if
the socketId represents a closed socket. This commit handles the error
propagation for that case. I filed bug 588126 against chrome.sockets.
2016-02-19 09:18:59 -08:00
Roy Hashimoto
d60f05248d Fix WebSocketServerSocket state management.
The readyState variable was not initialized on socket creation, and
not being tested properly. This could cause an attempt to send the
close frame twice, and/or to close the underlying TCP socket twice.
2016-02-19 09:01:18 -08:00
Roy Hashimoto
453bd57817 Update websocket-server to use chrome.sockets API.
The chrome.socket API is deprecated since Chrome 33. This commit
updates websocket-server to the chrome.sockets.tcp and
chrome.sockets.tcpServer APIs.

For convenience, the chrome.sockets.tcp socketId is wrapped with a
PSocket class with member functions read/write/close that return
Promises.
2016-02-18 07:47:04 -08:00