summaryrefslogtreecommitdiffstats
path: root/content/browser/devtools/devtools_protocol_constants.h
blob: 5a37a3f4f249fd1644576d6eff412875885f6d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// 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 detached {
  extern const char kName[];
}  // detached
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
namespace captureScreenshot {
  extern const char kName[];
  extern const char kResponseData[];
}  // captureScreenshot
}  // Page

namespace Worker {
namespace disconnectedFromWorker {
  extern const char kName[];
}  // disconnectedFromWorker
}  // Worker

}  // devtools
}  // content

#endif  // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_