Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
|
not at google - send to devlin
2013/02/01 16:39:47
API-level description
Rune Fevang
2013/02/01 22:12:54
I added some documentation. I can't find anything
| |
| 5 namespace pageLauncher { | |
| 6 dictionary PageData { | |
|
not at google - send to devlin
2013/02/01 16:39:47
Description of PageData
Rune Fevang
2013/02/01 22:12:54
Done.
| |
| 7 // The url of the page. | |
| 8 DOMString url; | |
| 9 // The mimetype of the page. | |
| 10 DOMString mimetype; | |
| 11 // The title of the page, if it has one. | |
| 12 DOMString? page_title; | |
| 13 // The text that was selected on the page when the event fired. | |
| 14 DOMString? selected_text; | |
| 15 }; | |
|
not at google - send to devlin
2013/02/01 16:39:47
I know we're not using tabs.Tab here explicitly, b
Rune Fevang
2013/02/01 22:12:54
Done.
| |
| 16 | |
| 17 interface Events { | |
| 18 // Fired when the user clicks the page launcher entry in the action box. | |
| 19 // |pageData| : The details of the page the user was on when the button | |
|
not at google - send to devlin
2013/02/01 16:39:47
other IDLs I've seen don't have a space between th
Rune Fevang
2013/02/01 22:12:54
I just opened 6 random .idl files and only one of
not at google - send to devlin
2013/02/01 22:17:11
I guess I opened the wrong random IDL file.
| |
| 20 // was clicked. | |
| 21 static void onClicked(PageData pageData); | |
| 22 }; | |
| 23 }; | |
| OLD | NEW |