func NewGetWindowForTargetArgs() *GetWindowForTargetArgs {
	args := new(GetWindowForTargetArgs)
	return args
}
NewGetWindowForTargetArgs initializes GetWindowForTargetArgs with the required arguments.
package browser
import (
	"github.com/mafredri/cdp/protocol/target"
)
type GrantPermissionsArgs struct {
	Origin           string                   `json:"origin"`                      
	Permissions      []PermissionType         `json:"permissions"`                 
	BrowserContextID *target.BrowserContextID `json:"browserContextId,omitempty"`  
}
func NewGrantPermissionsArgs(origin string, permissions []PermissionType) *GrantPermissionsArgs {
	args := new(GrantPermissionsArgs)
	args.Origin = origin
	args.Permissions = permissions
	return args
}
func (a *GrantPermissionsArgs) SetBrowserContextID(browserContextID target.BrowserContextID) *GrantPermissionsArgs {
	a.BrowserContextID = &browserContextID
	return a
}
type ResetPermissionsArgs struct {
	BrowserContextID *target.BrowserContextID `json:"browserContextId,omitempty"`  
}
func NewResetPermissionsArgs() *ResetPermissionsArgs {
	args := new(ResetPermissionsArgs)
	return args
}
func (a *ResetPermissionsArgs) SetBrowserContextID(browserContextID target.BrowserContextID) *ResetPermissionsArgs {
	a.BrowserContextID = &browserContextID
	return a
}
type GetVersionReply struct {
	ProtocolVersion string `json:"protocolVersion"`  
	Product         string `json:"product"`          
	Revision        string `json:"revision"`         
	UserAgent       string `json:"userAgent"`        
	JsVersion       string `json:"jsVersion"`        
}
type GetBrowserCommandLineReply struct {
	Arguments []string `json:"arguments"`  
}
type GetHistogramsArgs struct {
	Query *string `json:"query,omitempty"`  
	Delta *bool   `json:"delta,omitempty"`  
}
func NewGetHistogramsArgs() *GetHistogramsArgs {
	args := new(GetHistogramsArgs)
	return args
}
func (a *GetHistogramsArgs) SetQuery(query string) *GetHistogramsArgs {
	a.Query = &query
	return a
}
func (a *GetHistogramsArgs) SetDelta(delta bool) *GetHistogramsArgs {
	a.Delta = &delta
	return a
}
type GetHistogramsReply struct {
	Histograms []Histogram `json:"histograms"`  
}
type GetHistogramArgs struct {
	Name  string `json:"name"`             
	Delta *bool  `json:"delta,omitempty"`  
}
func NewGetHistogramArgs(name string) *GetHistogramArgs {
	args := new(GetHistogramArgs)
	args.Name = name
	return args
}
func (a *GetHistogramArgs) SetDelta(delta bool) *GetHistogramArgs {
	a.Delta = &delta
	return a
}
type GetHistogramReply struct {
	Histogram Histogram `json:"histogram"`  
}
type GetWindowBoundsArgs struct {
	WindowID WindowID `json:"windowId"`  
}
func NewGetWindowBoundsArgs(windowID WindowID) *GetWindowBoundsArgs {
	args := new(GetWindowBoundsArgs)
	args.WindowID = windowID
	return args
}
type GetWindowBoundsReply struct {
	Bounds Bounds `json:"bounds"`  
}
type GetWindowForTargetArgs struct {
	TargetID *target.ID `json:"targetId,omitempty"`  
}