| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_ |
| 7 |
| 8 // The constants in this file should be used instead manually constructing |
| 9 // strings passed to and from DevTools protocol. |
| 10 // |
| 11 // There is a plan to generate this file from inspector.json automatically. |
| 12 // Until then please feel free to add the constants here as needed. |
| 13 |
| 14 namespace content { |
| 15 namespace devtools { |
| 16 |
| 17 namespace Inspector { |
| 18 namespace targetCrashed { |
| 19 extern const char kName[]; |
| 20 } // targetCrashed |
| 21 } // Inspector |
| 22 |
| 23 namespace DOM { |
| 24 namespace setFileInputFiles { |
| 25 extern const char kName[]; |
| 26 extern const char kParamFiles[]; |
| 27 } // setFileInputFiles |
| 28 } // DOM |
| 29 |
| 30 namespace Page { |
| 31 namespace handleJavaScriptDialog { |
| 32 extern const char kName[]; |
| 33 extern const char kParamAccept[]; |
| 34 extern const char kParamPromptText[]; |
| 35 } // handleJavaScriptDialog |
| 36 namespace navigate { |
| 37 extern const char kName[]; |
| 38 extern const char kParamUrl[]; |
| 39 } // navigate |
| 40 } // Page |
| 41 |
| 42 } // devtools |
| 43 } // content |
| 44 |
| 45 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_ |
| OLD | NEW |