| Index: content/browser/devtools/devtools_protocol_constants.h
|
| diff --git a/content/browser/devtools/devtools_protocol_constants.h b/content/browser/devtools/devtools_protocol_constants.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..79d9726eaec8dd3d69ac12835ad309e1db0d7a1c
|
| --- /dev/null
|
| +++ b/content/browser/devtools/devtools_protocol_constants.h
|
| @@ -0,0 +1,45 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
|
| +#define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
|
| +
|
| +// The constants in this file should be used instead manually constructing
|
| +// strings passed to and from DevTools protocol.
|
| +//
|
| +// There is a plan to generate this file from inspector.json automatically.
|
| +// Until then please feel free to add the constants here as needed.
|
| +
|
| +namespace content {
|
| +namespace devtools {
|
| +
|
| +namespace Inspector {
|
| +namespace targetCrashed {
|
| + extern const char kName[];
|
| +} // targetCrashed
|
| +} // Inspector
|
| +
|
| +namespace DOM {
|
| +namespace setFileInputFiles {
|
| + extern const char kName[];
|
| + extern const char kParamFiles[];
|
| +} // setFileInputFiles
|
| +} // DOM
|
| +
|
| +namespace Page {
|
| +namespace handleJavaScriptDialog {
|
| + extern const char kName[];
|
| + extern const char kParamAccept[];
|
| + extern const char kParamPromptText[];
|
| +} // handleJavaScriptDialog
|
| +namespace navigate {
|
| + extern const char kName[];
|
| + extern const char kParamUrl[];
|
| +} // navigate
|
| +} // Page
|
| +
|
| +} // devtools
|
| +} // content
|
| +
|
| +#endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
|
|
|