chrome

package
v0.0.0-...-ffe2c35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const CurrentWindow = WindowID(0)

Variables

This section is empty.

Functions

This section is empty.

Types

type AllBookmarks

type AllBookmarks interface {
	GetTree() []BookmarkNode
}

func Bookmarks

func Bookmarks() AllBookmarks

type AllTabs

type AllTabs interface {
	js.JSRef
	GetCurrent() Tab
	GetSelected(window WindowID) Tab
	GetAllInWindow(window WindowID) []Tab
}

func Tabs

func Tabs() AllTabs

type BookmarkNode

type BookmarkNode interface {
	js.JSRef
	ID() string
	ParentID() string
	Index() int
	URL() string
	Title() string
	Children() []BookmarkNode
}

type Tab

type Tab interface {
	js.JSRef
	ID() int
	Active() bool
	Incognito() bool
	Highlighted() bool
	Pinned() bool
	Selected() bool
	Index() int
	WindowID() int
	URL() string
	Title() string
	Size() (w, h int)
}

type WindowID

type WindowID int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL