OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/devtools/devtools_protocol_constants.h" | 5 #include "content/browser/devtools/devtools_protocol_constants.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 namespace devtools { | 8 namespace devtools { |
9 | 9 |
10 const char kParamX[] = "x"; | 10 const char kParamX[] = "x"; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 const char kName[] = "Page.handleJavaScriptDialog"; | 73 const char kName[] = "Page.handleJavaScriptDialog"; |
74 const char kParamAccept[] = "accept"; | 74 const char kParamAccept[] = "accept"; |
75 const char kParamPromptText[] = "promptText"; | 75 const char kParamPromptText[] = "promptText"; |
76 } // handleJavaScriptDialog | 76 } // handleJavaScriptDialog |
77 | 77 |
78 namespace navigate { | 78 namespace navigate { |
79 const char kName[] = "Page.navigate"; | 79 const char kName[] = "Page.navigate"; |
80 const char kParamUrl[] = "url"; | 80 const char kParamUrl[] = "url"; |
81 } // navigate | 81 } // navigate |
82 | 82 |
| 83 namespace getNavigationHistory { |
| 84 const char kName[] = "Page.getNavigationHistory"; |
| 85 const char kResponseCurrentIndex[] = "currentIndex"; |
| 86 const char kResponseEntries[] = "entries"; |
| 87 const char kResponseEntryId[] = "id"; |
| 88 const char kResponseEntryURL[] = "url"; |
| 89 const char kResponseEntryTitle[] = "title"; |
| 90 } // getNavigationHistory |
| 91 |
| 92 namespace navigateToHistoryEntry { |
| 93 const char kName[] = "Page.navigateToHistoryEntry"; |
| 94 const char kParamEntryId[] = "entryId"; |
| 95 } // navigateToHistoryEntry |
| 96 |
83 namespace captureScreenshot { | 97 namespace captureScreenshot { |
84 const char kName[] = "Page.captureScreenshot"; | 98 const char kName[] = "Page.captureScreenshot"; |
85 const char kParamFormat[] = "format"; | 99 const char kParamFormat[] = "format"; |
86 const char kParamQuality[] = "quality"; | 100 const char kParamQuality[] = "quality"; |
87 const char kParamMaxWidth[] = "maxWidth"; | 101 const char kParamMaxWidth[] = "maxWidth"; |
88 const char kParamMaxHeight[] = "maxHeight"; | 102 const char kParamMaxHeight[] = "maxHeight"; |
89 } // captureScreenshot | 103 } // captureScreenshot |
90 | 104 |
91 namespace startScreencast { | 105 namespace startScreencast { |
92 const char kName[] = "Page.startScreencast"; | 106 const char kName[] = "Page.startScreencast"; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 const char kName[] = "SystemInfo"; | 152 const char kName[] = "SystemInfo"; |
139 | 153 |
140 namespace getInfo { | 154 namespace getInfo { |
141 const char kName[] = "SystemInfo.getInfo"; | 155 const char kName[] = "SystemInfo.getInfo"; |
142 } // getInfo | 156 } // getInfo |
143 } // SystemInfo | 157 } // SystemInfo |
144 | 158 |
145 } // devtools | 159 } // devtools |
146 } // content | 160 } // content |
147 | 161 |
OLD | NEW |