| OLD | NEW |
| 1 <h2 id="manifest">Manifest</h2> | 1 <h2 id="manifest">Manifest</h2> |
| 2 <p>You must declare the "input" permission | 2 <p>You must declare the "input" permission |
| 3 in the <a href="manifest.html">extension manifest</a> | 3 in the <a href="manifest">extension manifest</a> |
| 4 to use the input.ime API. | 4 to use the input.ime API. |
| 5 For example:</p> | 5 For example:</p> |
| 6 <pre data-filename="manifest.json"> | 6 <pre data-filename="manifest.json"> |
| 7 { | 7 { |
| 8 "name": "My extension", | 8 "name": "My extension", |
| 9 ... | 9 ... |
| 10 <b>"permissions": [ | 10 <b>"permissions": [ |
| 11 "input" | 11 "input" |
| 12 ]</b>, | 12 ]</b>, |
| 13 ... | 13 ... |
| (...skipping 22 matching lines...) Expand all Loading... |
| 36 return false; | 36 return false; |
| 37 } | 37 } |
| 38 }); | 38 }); |
| 39 </pre> | 39 </pre> |
| 40 | 40 |
| 41 <p> | 41 <p> |
| 42 For an example of using this API, see the | 42 For an example of using this API, see the |
| 43 <a | 43 <a |
| 44 href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions
/docs/examples/api/input.ime/basic/">basic input.ime sample</a>. | 44 href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions
/docs/examples/api/input.ime/basic/">basic input.ime sample</a>. |
| 45 For other examples and for help in viewing the source code, see | 45 For other examples and for help in viewing the source code, see |
| 46 <a href="samples.html">Samples</a>. | 46 <a href="samples">Samples</a>. |
| 47 </p> | 47 </p> |
| OLD | NEW |