From 60b7898f5358525ab801d47c69973e84d0688f90 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Sun, 9 Jul 2017 09:05:19 +0700 Subject: [PATCH] Changing autogen comments to match Go CL#13560 standard. --- cdp/accessibility/accessibility.go | 2 +- cdp/accessibility/types.go | 2 +- cdp/animation/animation.go | 2 +- cdp/animation/events.go | 2 +- cdp/animation/types.go | 2 +- cdp/applicationcache/applicationcache.go | 2 +- cdp/applicationcache/events.go | 2 +- cdp/applicationcache/types.go | 2 +- cdp/browser/browser.go | 2 +- cdp/browser/types.go | 2 +- cdp/cachestorage/cachestorage.go | 2 +- cdp/cachestorage/types.go | 2 +- cdp/cdp.go | 2 +- cdp/cdputil/cdputil.go | 2 +- cdp/css/css.go | 2 +- cdp/css/events.go | 2 +- cdp/css/types.go | 2 +- cdp/database/database.go | 2 +- cdp/database/events.go | 2 +- cdp/database/types.go | 2 +- cdp/debugger/debugger.go | 2 +- cdp/debugger/events.go | 2 +- cdp/debugger/types.go | 2 +- cdp/deviceorientation/deviceorientation.go | 2 +- cdp/dom/dom.go | 2 +- cdp/dom/events.go | 2 +- cdp/dom/types.go | 2 +- cdp/domdebugger/domdebugger.go | 2 +- cdp/domdebugger/types.go | 2 +- cdp/domsnapshot/domsnapshot.go | 2 +- cdp/domsnapshot/types.go | 2 +- cdp/domstorage/domstorage.go | 2 +- cdp/domstorage/events.go | 2 +- cdp/domstorage/types.go | 2 +- cdp/emulation/emulation.go | 2 +- cdp/emulation/events.go | 2 +- cdp/emulation/types.go | 2 +- cdp/har/har.go | 2 +- cdp/har/types.go | 2 +- cdp/heapprofiler/events.go | 2 +- cdp/heapprofiler/heapprofiler.go | 2 +- cdp/heapprofiler/types.go | 2 +- cdp/indexeddb/indexeddb.go | 2 +- cdp/indexeddb/types.go | 2 +- cdp/input/input.go | 2 +- cdp/input/types.go | 2 +- cdp/inspector/events.go | 2 +- cdp/inspector/inspector.go | 2 +- cdp/inspector/types.go | 2 +- cdp/io/io.go | 2 +- cdp/io/types.go | 2 +- cdp/layertree/events.go | 2 +- cdp/layertree/layertree.go | 2 +- cdp/layertree/types.go | 2 +- cdp/log/events.go | 2 +- cdp/log/log.go | 2 +- cdp/log/types.go | 2 +- cdp/memory/memory.go | 2 +- cdp/memory/types.go | 2 +- cdp/network/events.go | 2 +- cdp/network/network.go | 2 +- cdp/network/types.go | 2 +- cdp/overlay/events.go | 2 +- cdp/overlay/overlay.go | 2 +- cdp/overlay/types.go | 2 +- cdp/page/events.go | 2 +- cdp/page/page.go | 2 +- cdp/page/types.go | 2 +- cdp/profiler/events.go | 2 +- cdp/profiler/profiler.go | 2 +- cdp/profiler/types.go | 2 +- cdp/runtime/events.go | 2 +- cdp/runtime/runtime.go | 2 +- cdp/runtime/types.go | 2 +- cdp/schema/schema.go | 2 +- cdp/schema/types.go | 2 +- cdp/security/events.go | 2 +- cdp/security/security.go | 2 +- cdp/security/types.go | 2 +- cdp/serviceworker/events.go | 2 +- cdp/serviceworker/serviceworker.go | 2 +- cdp/serviceworker/types.go | 2 +- cdp/storage/storage.go | 2 +- cdp/storage/types.go | 2 +- cdp/systeminfo/systeminfo.go | 2 +- cdp/systeminfo/types.go | 2 +- cdp/target/events.go | 2 +- cdp/target/target.go | 2 +- cdp/target/types.go | 2 +- cdp/tethering/events.go | 2 +- cdp/tethering/tethering.go | 2 +- cdp/tracing/events.go | 2 +- cdp/tracing/tracing.go | 2 +- cdp/tracing/types.go | 2 +- client/easyjson.go | 2 +- cmd/chromedp-gen/gen-domain.go | 2 +- cmd/chromedp-gen/internal/domain.go | 2 +- cmd/chromedp-gen/templates/file.qtpl | 2 +- cmd/chromedp-gen/templates/file.qtpl.go | 6 +++++- kb/gen.go | 2 +- kb/keys.go | 4 +++- 101 files changed, 107 insertions(+), 101 deletions(-) diff --git a/cdp/accessibility/accessibility.go b/cdp/accessibility/accessibility.go index f4275b0..7418b1e 100644 --- a/cdp/accessibility/accessibility.go +++ b/cdp/accessibility/accessibility.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package accessibility -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/accessibility/types.go b/cdp/accessibility/types.go index bb2453d..01eda0d 100644 --- a/cdp/accessibility/types.go +++ b/cdp/accessibility/types.go @@ -1,6 +1,6 @@ package accessibility -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/animation/animation.go b/cdp/animation/animation.go index 4adfe55..f61dd7c 100644 --- a/cdp/animation/animation.go +++ b/cdp/animation/animation.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package animation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/animation/events.go b/cdp/animation/events.go index 92ac4c5..4dec6da 100644 --- a/cdp/animation/events.go +++ b/cdp/animation/events.go @@ -1,6 +1,6 @@ package animation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/animation/types.go b/cdp/animation/types.go index 4a47184..cd4f7df 100644 --- a/cdp/animation/types.go +++ b/cdp/animation/types.go @@ -1,6 +1,6 @@ package animation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/applicationcache/applicationcache.go b/cdp/applicationcache/applicationcache.go index 6f36141..0a4dd6f 100644 --- a/cdp/applicationcache/applicationcache.go +++ b/cdp/applicationcache/applicationcache.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package applicationcache -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/applicationcache/events.go b/cdp/applicationcache/events.go index e0d69dd..128c380 100644 --- a/cdp/applicationcache/events.go +++ b/cdp/applicationcache/events.go @@ -1,6 +1,6 @@ package applicationcache -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/applicationcache/types.go b/cdp/applicationcache/types.go index c9fb75b..d1f6d52 100644 --- a/cdp/applicationcache/types.go +++ b/cdp/applicationcache/types.go @@ -1,6 +1,6 @@ package applicationcache -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/browser/browser.go b/cdp/browser/browser.go index 2c4bb03..935aa2c 100644 --- a/cdp/browser/browser.go +++ b/cdp/browser/browser.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package browser -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/browser/types.go b/cdp/browser/types.go index 383608e..0177ebc 100644 --- a/cdp/browser/types.go +++ b/cdp/browser/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // WindowID [no description]. type WindowID int64 diff --git a/cdp/cachestorage/cachestorage.go b/cdp/cachestorage/cachestorage.go index abefba1..1245b03 100644 --- a/cdp/cachestorage/cachestorage.go +++ b/cdp/cachestorage/cachestorage.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package cachestorage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/cachestorage/types.go b/cdp/cachestorage/types.go index d57c6ed..2c24645 100644 --- a/cdp/cachestorage/types.go +++ b/cdp/cachestorage/types.go @@ -1,6 +1,6 @@ package cachestorage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // CacheID unique identifier of the Cache object. type CacheID string diff --git a/cdp/cdp.go b/cdp/cdp.go index 55323eb..c798208 100644 --- a/cdp/cdp.go +++ b/cdp/cdp.go @@ -15,7 +15,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // MessageError message error type. type MessageError struct { diff --git a/cdp/cdputil/cdputil.go b/cdp/cdputil/cdputil.go index 410ad6d..b5c0033 100644 --- a/cdp/cdputil/cdputil.go +++ b/cdp/cdputil/cdputil.go @@ -1,6 +1,6 @@ package cdputil -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/css/css.go b/cdp/css/css.go index 366d73d..f769404 100644 --- a/cdp/css/css.go +++ b/cdp/css/css.go @@ -13,7 +13,7 @@ // Generated by the chromedp-gen command. package css -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/css/events.go b/cdp/css/events.go index 78819aa..afc1b6b 100644 --- a/cdp/css/events.go +++ b/cdp/css/events.go @@ -1,6 +1,6 @@ package css -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/css/types.go b/cdp/css/types.go index 75b64a2..5ad5042 100644 --- a/cdp/css/types.go +++ b/cdp/css/types.go @@ -1,6 +1,6 @@ package css -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/database/database.go b/cdp/database/database.go index efaf4fb..6156491 100644 --- a/cdp/database/database.go +++ b/cdp/database/database.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package database -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/database/events.go b/cdp/database/events.go index 2d6e373..f9e638f 100644 --- a/cdp/database/events.go +++ b/cdp/database/events.go @@ -1,6 +1,6 @@ package database -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/database/types.go b/cdp/database/types.go index cae87a6..74d239f 100644 --- a/cdp/database/types.go +++ b/cdp/database/types.go @@ -1,6 +1,6 @@ package database -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // ID unique identifier of Database object. type ID string diff --git a/cdp/debugger/debugger.go b/cdp/debugger/debugger.go index 62921a1..465dfc3 100644 --- a/cdp/debugger/debugger.go +++ b/cdp/debugger/debugger.go @@ -8,7 +8,7 @@ // Generated by the chromedp-gen command. package debugger -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/debugger/events.go b/cdp/debugger/events.go index 8d8b0b9..45054b3 100644 --- a/cdp/debugger/events.go +++ b/cdp/debugger/events.go @@ -1,6 +1,6 @@ package debugger -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/debugger/types.go b/cdp/debugger/types.go index 279f4b1..0f4b2ba 100644 --- a/cdp/debugger/types.go +++ b/cdp/debugger/types.go @@ -9,7 +9,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // BreakpointID breakpoint identifier. type BreakpointID string diff --git a/cdp/deviceorientation/deviceorientation.go b/cdp/deviceorientation/deviceorientation.go index 7cd682e..a3ed876 100644 --- a/cdp/deviceorientation/deviceorientation.go +++ b/cdp/deviceorientation/deviceorientation.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package deviceorientation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/dom/dom.go b/cdp/dom/dom.go index cec7f71..038065b 100644 --- a/cdp/dom/dom.go +++ b/cdp/dom/dom.go @@ -14,7 +14,7 @@ // Generated by the chromedp-gen command. package dom -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/dom/events.go b/cdp/dom/events.go index 9ca94fe..8ffb465 100644 --- a/cdp/dom/events.go +++ b/cdp/dom/events.go @@ -1,6 +1,6 @@ package dom -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/dom/types.go b/cdp/dom/types.go index 5b90a92..2c05a41 100644 --- a/cdp/dom/types.go +++ b/cdp/dom/types.go @@ -2,7 +2,7 @@ package dom import "github.com/mailru/easyjson" -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Quad an array of quad vertices, x immediately followed by y for each // point, points clock-wise. diff --git a/cdp/domdebugger/domdebugger.go b/cdp/domdebugger/domdebugger.go index 8e221bc..c6a3a54 100644 --- a/cdp/domdebugger/domdebugger.go +++ b/cdp/domdebugger/domdebugger.go @@ -8,7 +8,7 @@ // Generated by the chromedp-gen command. package domdebugger -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/domdebugger/types.go b/cdp/domdebugger/types.go index 9663add..97ffef6 100644 --- a/cdp/domdebugger/types.go +++ b/cdp/domdebugger/types.go @@ -1,6 +1,6 @@ package domdebugger -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/domsnapshot/domsnapshot.go b/cdp/domsnapshot/domsnapshot.go index b2ba388..e3d9be3 100644 --- a/cdp/domsnapshot/domsnapshot.go +++ b/cdp/domsnapshot/domsnapshot.go @@ -7,7 +7,7 @@ // Generated by the chromedp-gen command. package domsnapshot -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/domsnapshot/types.go b/cdp/domsnapshot/types.go index 1f56152..cfde0e4 100644 --- a/cdp/domsnapshot/types.go +++ b/cdp/domsnapshot/types.go @@ -1,6 +1,6 @@ package domsnapshot -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/domstorage/domstorage.go b/cdp/domstorage/domstorage.go index 68f9042..9bea2d0 100644 --- a/cdp/domstorage/domstorage.go +++ b/cdp/domstorage/domstorage.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package domstorage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/domstorage/events.go b/cdp/domstorage/events.go index 16dfd17..6b82f71 100644 --- a/cdp/domstorage/events.go +++ b/cdp/domstorage/events.go @@ -1,6 +1,6 @@ package domstorage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/domstorage/types.go b/cdp/domstorage/types.go index abb109f..1ce6a9d 100644 --- a/cdp/domstorage/types.go +++ b/cdp/domstorage/types.go @@ -1,6 +1,6 @@ package domstorage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // StorageID dOM Storage identifier. type StorageID struct { diff --git a/cdp/emulation/emulation.go b/cdp/emulation/emulation.go index 1acbf9e..65cf432 100644 --- a/cdp/emulation/emulation.go +++ b/cdp/emulation/emulation.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package emulation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/emulation/events.go b/cdp/emulation/events.go index 962bb3d..ed66406 100644 --- a/cdp/emulation/events.go +++ b/cdp/emulation/events.go @@ -1,6 +1,6 @@ package emulation -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/emulation/types.go b/cdp/emulation/types.go index ad06c1f..c32bf41 100644 --- a/cdp/emulation/types.go +++ b/cdp/emulation/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // ScreenOrientation screen orientation. type ScreenOrientation struct { diff --git a/cdp/har/har.go b/cdp/har/har.go index ccc6c01..e7700eb 100644 --- a/cdp/har/har.go +++ b/cdp/har/har.go @@ -6,4 +6,4 @@ // Generated by the chromedp-gen command. package har -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. diff --git a/cdp/har/types.go b/cdp/har/types.go index c55744f..f88d2b6 100644 --- a/cdp/har/types.go +++ b/cdp/har/types.go @@ -1,6 +1,6 @@ package har -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Cache this objects contains info about a request coming from browser // cache. diff --git a/cdp/heapprofiler/events.go b/cdp/heapprofiler/events.go index bf71b42..1d87378 100644 --- a/cdp/heapprofiler/events.go +++ b/cdp/heapprofiler/events.go @@ -1,6 +1,6 @@ package heapprofiler -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/heapprofiler/heapprofiler.go b/cdp/heapprofiler/heapprofiler.go index 97fef60..1be24b7 100644 --- a/cdp/heapprofiler/heapprofiler.go +++ b/cdp/heapprofiler/heapprofiler.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package heapprofiler -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/heapprofiler/types.go b/cdp/heapprofiler/types.go index 2bb09e1..f029b63 100644 --- a/cdp/heapprofiler/types.go +++ b/cdp/heapprofiler/types.go @@ -2,7 +2,7 @@ package heapprofiler import "github.com/knq/chromedp/cdp/runtime" -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // HeapSnapshotObjectID heap snapshot object id. type HeapSnapshotObjectID string diff --git a/cdp/indexeddb/indexeddb.go b/cdp/indexeddb/indexeddb.go index 639a698..e4cc0df 100644 --- a/cdp/indexeddb/indexeddb.go +++ b/cdp/indexeddb/indexeddb.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package indexeddb -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/indexeddb/types.go b/cdp/indexeddb/types.go index 8bc7071..df2089a 100644 --- a/cdp/indexeddb/types.go +++ b/cdp/indexeddb/types.go @@ -9,7 +9,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // DatabaseWithObjectStores database with an array of object stores. type DatabaseWithObjectStores struct { diff --git a/cdp/input/input.go b/cdp/input/input.go index d98c7ae..501eb7c 100644 --- a/cdp/input/input.go +++ b/cdp/input/input.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package input -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/input/types.go b/cdp/input/types.go index d087447..4a28c57 100644 --- a/cdp/input/types.go +++ b/cdp/input/types.go @@ -11,7 +11,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // TouchPoint [no description]. type TouchPoint struct { diff --git a/cdp/inspector/events.go b/cdp/inspector/events.go index 585cd5d..c9dbba3 100644 --- a/cdp/inspector/events.go +++ b/cdp/inspector/events.go @@ -1,6 +1,6 @@ package inspector -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/inspector/inspector.go b/cdp/inspector/inspector.go index 2ed803b..5350e59 100644 --- a/cdp/inspector/inspector.go +++ b/cdp/inspector/inspector.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package inspector -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/inspector/types.go b/cdp/inspector/types.go index 4db8f6d..c7e7b55 100644 --- a/cdp/inspector/types.go +++ b/cdp/inspector/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // DetachReason detach reason. type DetachReason string diff --git a/cdp/io/io.go b/cdp/io/io.go index 0939340..30db0df 100644 --- a/cdp/io/io.go +++ b/cdp/io/io.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package io -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/io/types.go b/cdp/io/types.go index 9d1de81..d6fc687 100644 --- a/cdp/io/types.go +++ b/cdp/io/types.go @@ -1,6 +1,6 @@ package io -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // StreamHandle [no description]. type StreamHandle string diff --git a/cdp/layertree/events.go b/cdp/layertree/events.go index 4d59eb1..d19617e 100644 --- a/cdp/layertree/events.go +++ b/cdp/layertree/events.go @@ -1,6 +1,6 @@ package layertree -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/layertree/layertree.go b/cdp/layertree/layertree.go index 4c1986d..7a06ce5 100644 --- a/cdp/layertree/layertree.go +++ b/cdp/layertree/layertree.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package layertree -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/layertree/types.go b/cdp/layertree/types.go index 095294c..99a2d81 100644 --- a/cdp/layertree/types.go +++ b/cdp/layertree/types.go @@ -1,6 +1,6 @@ package layertree -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/log/events.go b/cdp/log/events.go index 57be595..4d39e87 100644 --- a/cdp/log/events.go +++ b/cdp/log/events.go @@ -1,6 +1,6 @@ package log -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/log/log.go b/cdp/log/log.go index 2d2f29d..1794944 100644 --- a/cdp/log/log.go +++ b/cdp/log/log.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package log -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/log/types.go b/cdp/log/types.go index d456a72..0bbebd2 100644 --- a/cdp/log/types.go +++ b/cdp/log/types.go @@ -10,7 +10,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Entry log entry. type Entry struct { diff --git a/cdp/memory/memory.go b/cdp/memory/memory.go index bded8a4..e26eac6 100644 --- a/cdp/memory/memory.go +++ b/cdp/memory/memory.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package memory -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/memory/types.go b/cdp/memory/types.go index bf90f21..77b48ca 100644 --- a/cdp/memory/types.go +++ b/cdp/memory/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // PressureLevel memory pressure level. type PressureLevel string diff --git a/cdp/network/events.go b/cdp/network/events.go index 6ca3f8e..49a433e 100644 --- a/cdp/network/events.go +++ b/cdp/network/events.go @@ -1,6 +1,6 @@ package network -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/network/network.go b/cdp/network/network.go index 5ca4cab..39d7c25 100644 --- a/cdp/network/network.go +++ b/cdp/network/network.go @@ -8,7 +8,7 @@ // Generated by the chromedp-gen command. package network -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/network/types.go b/cdp/network/types.go index c7e781b..b5165b4 100644 --- a/cdp/network/types.go +++ b/cdp/network/types.go @@ -1,6 +1,6 @@ package network -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/overlay/events.go b/cdp/overlay/events.go index 34f62eb..bf23726 100644 --- a/cdp/overlay/events.go +++ b/cdp/overlay/events.go @@ -1,6 +1,6 @@ package overlay -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/overlay/overlay.go b/cdp/overlay/overlay.go index 8a1763a..0f6939a 100644 --- a/cdp/overlay/overlay.go +++ b/cdp/overlay/overlay.go @@ -7,7 +7,7 @@ // Generated by the chromedp-gen command. package overlay -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/overlay/types.go b/cdp/overlay/types.go index 2833b68..a249cfc 100644 --- a/cdp/overlay/types.go +++ b/cdp/overlay/types.go @@ -1,6 +1,6 @@ package overlay -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/page/events.go b/cdp/page/events.go index 5338be0..e9d436d 100644 --- a/cdp/page/events.go +++ b/cdp/page/events.go @@ -1,6 +1,6 @@ package page -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/page/page.go b/cdp/page/page.go index 831f106..fc8e09d 100644 --- a/cdp/page/page.go +++ b/cdp/page/page.go @@ -7,7 +7,7 @@ // Generated by the chromedp-gen command. package page -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/page/types.go b/cdp/page/types.go index 0eb5aef..5d40087 100644 --- a/cdp/page/types.go +++ b/cdp/page/types.go @@ -1,6 +1,6 @@ package page -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "errors" diff --git a/cdp/profiler/events.go b/cdp/profiler/events.go index bd98a72..b4a37c9 100644 --- a/cdp/profiler/events.go +++ b/cdp/profiler/events.go @@ -1,6 +1,6 @@ package profiler -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/profiler/profiler.go b/cdp/profiler/profiler.go index 5929ce8..cc718bb 100644 --- a/cdp/profiler/profiler.go +++ b/cdp/profiler/profiler.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package profiler -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/profiler/types.go b/cdp/profiler/types.go index 204ebeb..4aedd7c 100644 --- a/cdp/profiler/types.go +++ b/cdp/profiler/types.go @@ -2,7 +2,7 @@ package profiler import "github.com/knq/chromedp/cdp/runtime" -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // ProfileNode profile node. Holds callsite information, execution statistics // and child nodes. diff --git a/cdp/runtime/events.go b/cdp/runtime/events.go index 476a94d..e938ae4 100644 --- a/cdp/runtime/events.go +++ b/cdp/runtime/events.go @@ -1,6 +1,6 @@ package runtime -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/runtime/runtime.go b/cdp/runtime/runtime.go index f7826ed..e799bff 100644 --- a/cdp/runtime/runtime.go +++ b/cdp/runtime/runtime.go @@ -11,7 +11,7 @@ // Generated by the chromedp-gen command. package runtime -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/runtime/types.go b/cdp/runtime/types.go index a336b58..800af0e 100644 --- a/cdp/runtime/types.go +++ b/cdp/runtime/types.go @@ -11,7 +11,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // ScriptID unique script identifier. type ScriptID string diff --git a/cdp/schema/schema.go b/cdp/schema/schema.go index df7975f..eac7495 100644 --- a/cdp/schema/schema.go +++ b/cdp/schema/schema.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package schema -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/schema/types.go b/cdp/schema/types.go index 2cc195d..0d16f02 100644 --- a/cdp/schema/types.go +++ b/cdp/schema/types.go @@ -1,6 +1,6 @@ package schema -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Domain description of the protocol domain. type Domain struct { diff --git a/cdp/security/events.go b/cdp/security/events.go index a2b93ca..14c6c31 100644 --- a/cdp/security/events.go +++ b/cdp/security/events.go @@ -1,6 +1,6 @@ package security -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/security/security.go b/cdp/security/security.go index 7c7ae87..df8f40f 100644 --- a/cdp/security/security.go +++ b/cdp/security/security.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package security -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/security/types.go b/cdp/security/types.go index 0ea1a35..e0aa8e2 100644 --- a/cdp/security/types.go +++ b/cdp/security/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // CertificateID an internal certificate ID value. type CertificateID int64 diff --git a/cdp/serviceworker/events.go b/cdp/serviceworker/events.go index 60ddeb8..662a01a 100644 --- a/cdp/serviceworker/events.go +++ b/cdp/serviceworker/events.go @@ -1,6 +1,6 @@ package serviceworker -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/serviceworker/serviceworker.go b/cdp/serviceworker/serviceworker.go index 3155516..5780f23 100644 --- a/cdp/serviceworker/serviceworker.go +++ b/cdp/serviceworker/serviceworker.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package serviceworker -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/serviceworker/types.go b/cdp/serviceworker/types.go index bb6b0d5..53767b3 100644 --- a/cdp/serviceworker/types.go +++ b/cdp/serviceworker/types.go @@ -9,7 +9,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Registration serviceWorker registration. type Registration struct { diff --git a/cdp/storage/storage.go b/cdp/storage/storage.go index 092b308..d3330d3 100644 --- a/cdp/storage/storage.go +++ b/cdp/storage/storage.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package storage -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/storage/types.go b/cdp/storage/types.go index 3ebd9f5..04dc79b 100644 --- a/cdp/storage/types.go +++ b/cdp/storage/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // Type enum of possible storage types. type Type string diff --git a/cdp/systeminfo/systeminfo.go b/cdp/systeminfo/systeminfo.go index 41085e1..de0a12e 100644 --- a/cdp/systeminfo/systeminfo.go +++ b/cdp/systeminfo/systeminfo.go @@ -7,7 +7,7 @@ // Generated by the chromedp-gen command. package systeminfo -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/systeminfo/types.go b/cdp/systeminfo/types.go index c17c5ee..416ac91 100644 --- a/cdp/systeminfo/types.go +++ b/cdp/systeminfo/types.go @@ -2,7 +2,7 @@ package systeminfo import "github.com/mailru/easyjson" -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // GPUDevice describes a single graphics processor (GPU). type GPUDevice struct { diff --git a/cdp/target/events.go b/cdp/target/events.go index 44066b6..135aa57 100644 --- a/cdp/target/events.go +++ b/cdp/target/events.go @@ -1,6 +1,6 @@ package target -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/target/target.go b/cdp/target/target.go index dbe7331..01c2bd4 100644 --- a/cdp/target/target.go +++ b/cdp/target/target.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package target -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/target/types.go b/cdp/target/types.go index 8468b66..3dcf6ad 100644 --- a/cdp/target/types.go +++ b/cdp/target/types.go @@ -1,6 +1,6 @@ package target -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // ID [no description]. type ID string diff --git a/cdp/tethering/events.go b/cdp/tethering/events.go index 83b3c52..fb4c8d9 100644 --- a/cdp/tethering/events.go +++ b/cdp/tethering/events.go @@ -1,6 +1,6 @@ package tethering -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/tethering/tethering.go b/cdp/tethering/tethering.go index 06b047f..1001dbb 100644 --- a/cdp/tethering/tethering.go +++ b/cdp/tethering/tethering.go @@ -6,7 +6,7 @@ // Generated by the chromedp-gen command. package tethering -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/tracing/events.go b/cdp/tracing/events.go index 80038af..168c984 100644 --- a/cdp/tracing/events.go +++ b/cdp/tracing/events.go @@ -1,6 +1,6 @@ package tracing -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( cdp "github.com/knq/chromedp/cdp" diff --git a/cdp/tracing/tracing.go b/cdp/tracing/tracing.go index a3dad7a..a6779bc 100644 --- a/cdp/tracing/tracing.go +++ b/cdp/tracing/tracing.go @@ -4,7 +4,7 @@ // Generated by the chromedp-gen command. package tracing -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. import ( "context" diff --git a/cdp/tracing/types.go b/cdp/tracing/types.go index 4432995..120a813 100644 --- a/cdp/tracing/types.go +++ b/cdp/tracing/types.go @@ -8,7 +8,7 @@ import ( "github.com/mailru/easyjson/jwriter" ) -// AUTOGENERATED. DO NOT EDIT. +// Code generated by chromedp-gen. DO NOT EDIT. // MemoryDumpConfig configuration for memory dump. Used only when // "memory-infra" category is enabled. diff --git a/client/easyjson.go b/client/easyjson.go index 08079e5..14c5661 100644 --- a/client/easyjson.go +++ b/client/easyjson.go @@ -1,4 +1,4 @@ -// AUTOGENERATED FILE: easyjson marshaler/unmarshalers. +// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT. package client diff --git a/cmd/chromedp-gen/gen-domain.go b/cmd/chromedp-gen/gen-domain.go index 5b9db65..12383e3 100644 --- a/cmd/chromedp-gen/gen-domain.go +++ b/cmd/chromedp-gen/gen-domain.go @@ -61,7 +61,7 @@ func main() { const ( tpl = `package internal -// AUTOGENERATED. DO NOT EDIT. +// Code generated by gen-domain.go. DO NOT EDIT. import ( "fmt" diff --git a/cmd/chromedp-gen/internal/domain.go b/cmd/chromedp-gen/internal/domain.go index 0df853c..d2c24cd 100644 --- a/cmd/chromedp-gen/internal/domain.go +++ b/cmd/chromedp-gen/internal/domain.go @@ -1,6 +1,6 @@ package internal -// AUTOGENERATED. DO NOT EDIT. +// Code generated by gen-domain.go. DO NOT EDIT. import ( "fmt" diff --git a/cmd/chromedp-gen/templates/file.qtpl b/cmd/chromedp-gen/templates/file.qtpl index b9537cd..893796a 100644 --- a/cmd/chromedp-gen/templates/file.qtpl +++ b/cmd/chromedp-gen/templates/file.qtpl @@ -14,7 +14,7 @@ // Generated by the chromedp-gen command.{% endif %} package {%s= pkgName %} -// AUTOGENERATED. DO NOT EDIT. +{%s= "// Code generated by chromedp-gen. DO NOT EDIT." %} {% endfunc %} // FileImportTemplate is a general import template. diff --git a/cmd/chromedp-gen/templates/file.qtpl.go b/cmd/chromedp-gen/templates/file.qtpl.go index 7e84224..8950514 100644 --- a/cmd/chromedp-gen/templates/file.qtpl.go +++ b/cmd/chromedp-gen/templates/file.qtpl.go @@ -70,7 +70,11 @@ package `) //line templates/file.qtpl:15 qw422016.N().S(` -// AUTOGENERATED. DO NOT EDIT. +`) + //line templates/file.qtpl:17 + qw422016.N().S("// Code generated by chromedp-gen. DO NOT EDIT.") + //line templates/file.qtpl:17 + qw422016.N().S(` `) //line templates/file.qtpl:18 } diff --git a/kb/gen.go b/kb/gen.go index 45f62cc..f3f9f86 100644 --- a/kb/gen.go +++ b/kb/gen.go @@ -51,7 +51,7 @@ const ( const ( hdr = `package %s -// AUTOGENERATED. DO NOT EDIT. +` + `// Code generated by gen.go. DO NOT EDIT.` + ` // DOM keys. const ( diff --git a/kb/keys.go b/kb/keys.go index c9b2dec..53aeeba 100644 --- a/kb/keys.go +++ b/kb/keys.go @@ -1,6 +1,6 @@ package kb -// AUTOGENERATED. DO NOT EDIT. +// Code generated by gen.go. DO NOT EDIT. // DOM keys. const ( @@ -113,6 +113,7 @@ const ( LaunchWebBrowser = "\u0b09" LaunchContacts = "\u0b0c" LaunchPhone = "\u0b0d" + LaunchAssistant = "\u0b0e" BrowserBack = "\u0c01" BrowserFavorites = "\u0c02" BrowserForward = "\u0c03" @@ -343,6 +344,7 @@ var Keys = map[rune]*Key{ '\u0b09': {"LaunchWebBrowser", "LaunchWebBrowser", "", "", 0, 0, false, false}, '\u0b0c': {"LaunchContacts", "LaunchContacts", "", "", 0, 0, false, false}, '\u0b0d': {"LaunchPhone", "LaunchPhone", "", "", 0, 0, false, false}, + '\u0b0e': {"LaunchAssistant", "LaunchAssistant", "", "", 153, 0, false, false}, '\u0c01': {"BrowserBack", "BrowserBack", "", "", 166, 166, false, false}, '\u0c02': {"BrowserFavorites", "BrowserFavorites", "", "", 171, 171, false, false}, '\u0c03': {"BrowserForward", "BrowserForward", "", "", 167, 167, false, false},