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

Side by Side Diff: chrome/common/extensions/docs/examples/api/i18n/detectLanguage/popup.html

Issue 1306873003: Added example of chrome.i18n.detectLanguage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating the intros Created 5 years, 3 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
3 <title>chrome.i18n.detectLanguage example</title>
4 <style>
5 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.
6 font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
7 font-size: 100%;
8 }
9 #status {
10 /* avoid an excessively wide status text */
11 white-space: pre;
12 text-overflow: ellipsis;
13 overflow: hidden;
14 max-width: 400px;
15 }
16 </style>
17 <script src="popup.js"></script>
18 </head>
19 <body>
20 <textarea id="text" placeholder="Text to translate" style="padding: 10px; wi dth: 200px;"></textarea>
21 <button id="btn-detect">Translate</button>
22 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698