Chromium Code Reviews| Index: chrome/common/extensions/docs/examples/api/i18n/detectLanguage/popup.html |
| diff --git a/chrome/common/extensions/docs/examples/api/i18n/detectLanguage/popup.html b/chrome/common/extensions/docs/examples/api/i18n/detectLanguage/popup.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..64f2405a175e716af3eb48bd412c045cf6754a16 |
| --- /dev/null |
| +++ b/chrome/common/extensions/docs/examples/api/i18n/detectLanguage/popup.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| + <title>chrome.i18n.detectLanguage example</title> |
| + <style> |
| + body { |
|
mkearney1
2015/09/03 17:29:16
html is formatted a bit messy. Good idea to clean
amalika
2015/09/03 21:37:45
Done.
|
| + font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif; |
| + font-size: 100%; |
| + } |
| + #status { |
| + /* avoid an excessively wide status text */ |
| + white-space: pre; |
| + text-overflow: ellipsis; |
| + overflow: hidden; |
| + max-width: 400px; |
| + } |
| + </style> |
| + <script src="popup.js"></script> |
| + </head> |
| + <body> |
| + <textarea id="text" placeholder="Text to translate" style="padding: 10px; width: 200px;"></textarea> |
| + <button id="btn-detect">Translate</button> |
| +</body></html> |