You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: declarations/src/main/kotlin/bookmarks/bookmarks.kt
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,9 +91,29 @@ external class CreateDetails {
91
91
* A single string-valued id, or an array of string-valued ids */
92
92
typealiasIdOrIdList=Any
93
93
94
+
/**
95
+
* An object specifying properties and values to match when searching. Produces bookmarks matching all properties.
96
+
*/
97
+
externalclassQuery {
98
+
/**
99
+
* A string of words and quoted phrases that are matched against bookmark URLs and titles.
100
+
*/
101
+
var query:String?
102
+
103
+
/**
104
+
* The URL of the bookmark; matches verbatim. Note that folders have no URL.
105
+
*/
106
+
var url:String?
107
+
108
+
/**
109
+
* The title of the bookmark; matches verbatim.
110
+
*/
111
+
var title:String?
112
+
}
113
+
94
114
/**
95
115
* Either a string of words and quoted phrases that are matched against bookmark URLs and titles, or an object. If an object, the properties <code>query</code>, <code>url</code>, and <code>title</code> may be specified and bookmarks matching all specified properties will be produced. */
Copy file name to clipboardExpand all lines: declarations/src/main/kotlin/browserAction/browserAction.kt
+23-6Lines changed: 23 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,13 @@ import tabs.Tab
7
7
typealiasColorArray=Array<Int>
8
8
9
9
/**
10
-
* Pixel data for an image. Must be an ImageData object (for example, from a <code>canvas</code> element). */
11
-
typealiasImageDataType=Any
10
+
* Pixel data for an image. Must be an ImageData object (for example, from a <code>canvas</code> element).
11
+
*/
12
+
externalclassImageDataType {
13
+
operatorfunget(key:String): dynamic
14
+
15
+
operatorfunset(key:String, value:dynamic)
16
+
}
12
17
13
18
externalclassDetails {
14
19
/**
@@ -29,24 +34,36 @@ external class Details2 {
29
34
var tabId:Int?
30
35
}
31
36
37
+
externalclassImageData {
38
+
operatorfunget(key:String): ImageDataType
39
+
40
+
operatorfunset(key:String, value:ImageDataType)
41
+
}
42
+
32
43
/**
33
44
* Either an ImageData object or a dictionary {size -> ImageData} representing icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.imageData = foo' is equivalent to 'details.imageData = {'19': foo}' */
34
-
typealiasImageData=Any
45
+
typealiasImageData2=Any
46
+
47
+
externalclassPath {
48
+
operatorfunget(key:String): String
49
+
50
+
operatorfunset(key:String, value:String)
51
+
}
35
52
36
53
/**
37
54
* Either a relative image path or a dictionary {size -> relative image path} pointing to icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.path = foo' is equivalent to 'details.imageData = {'19': foo}' */
38
-
typealiasPath=Any
55
+
typealiasPath2=Any
39
56
40
57
externalclassDetails3 {
41
58
/**
42
59
* Either an ImageData object or a dictionary {size -> ImageData} representing icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.imageData = foo' is equivalent to 'details.imageData = {'19': foo}'
43
60
*/
44
-
var imageData:ImageData?
61
+
var imageData:ImageData2?
45
62
46
63
/**
47
64
* Either a relative image path or a dictionary {size -> relative image path} pointing to icon to be set. If the icon is specified as a dictionary, the actual image to be used is chosen depending on screen's pixel density. If the number of image pixels that fit into one screen space unit equals <code>scale</code>, then image with size <code>scale</code> * 19 will be selected. Initially only scales 1 and 2 will be supported. At least one image must be specified. Note that 'details.path = foo' is equivalent to 'details.imageData = {'19': foo}'
48
65
*/
49
-
var path:Path?
66
+
var path:Path2?
50
67
51
68
/**
52
69
* Limits the change to when a particular tab is selected. Automatically resets when the tab is closed.
0 commit comments