Граф коммитов

1724 Коммитов

Автор SHA1 Сообщение Дата
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
Francois Beaufort ba78d3b157 clock: Bumped manifest version 2016-01-25 10:03:31 +01:00
Francois Beaufort 8be1373ba5 clock: Update base_url 2016-01-25 10:03:11 +01:00
Francois Beaufort a6c1236432 Bumped serial samples versions 2015-12-29 08:45:09 +01:00
Francois Beaufort b8b05fb0b8 Bumped browser sample version 2015-11-25 12:13:38 +01:00
François Beaufort a11afcf68d Merge pull request #422 from cbiesinger/patch-1
Fix sizing of the find and zoom forms with Chrome M48+
2015-11-25 12:07:53 +01:00
Christian Biesinger 802d9b18f6 Fix sizing of the find and zoom forms with Chrome M48+
In Chrome 48 and later, (more/all) flex items have an implied minimum width of (essentially) "min-content". Chrome used to have a bug and did not apply that to all flex items; now it does. In this case, this minimum width is undesirable, so adding min-width: 0 here.

Chrome bug https://code.google.com/p/chromium/issues/detail?id=556379
See also https://www.chromestatus.com/feature/5651186401148928
2015-11-24 18:49:18 -05:00
Francois Beaufort 1b18e47d2d [multi-tab-browser] Bumped manifest version 2015-10-07 10:54:00 +02:00
François Beaufort 93ef1a7c20 Merge pull request #418 from ehsan-karamad/master
Fixed Title not Showing up on Browser Tabs
2015-10-07 10:52:26 +02:00
Ehsan Karamad 4c1ce884e6 Addressed review comments (Formatting). 2015-10-05 11:54:33 -04:00
Ehsan Karamad bcfb4d3816 Yes/No button can now be activated by pressing Enter. 2015-09-23 16:01:10 -04:00
Ehsan Karamad a0549ea26e Fixing Bugs
1- The content scripts API for <webview> was not implemented properly.
The messaging between the guest and the view was based on the browser
sample implementation using executeScript. The new version fixes the
issue and now the tab title shows properly.

2- Activated Tab and Focus for the exit dialog. The "no" button is
focused by default and tab only switches between the two.
2015-09-23 15:18:02 -04:00