Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / browser / devtools / devtools_protocol_constants.cc
blobd9c337fc8aa9341933be03d2fdbc4922e318ee13
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.
5 #include "content/browser/devtools/devtools_protocol_constants.h"
7 namespace content {
8 namespace devtools {
10 const char kParamX[] = "x";
11 const char kParamY[] = "y";
12 const char kParamWidth[] = "width";
13 const char kParamHeight[] = "height";
15 namespace DOM {
17 namespace setFileInputFiles {
18 const char kName[] = "DOM.setFileInputFiles";
19 const char kParamFiles[] = "files";
20 } // setFileInputFiles
22 } // DOM
24 namespace Input {
26 const char kParamType[] = "type";
27 const char kParamModifiers[] = "modifiers";
28 const char kParamTimestamp[] = "timestamp";
29 const char kParamDeviceSpace[] = "deviceSpace";
31 namespace dispatchMouseEvent {
32 const char kName[] = "Input.dispatchMouseEvent";
33 const char kParamButton[] = "button";
34 const char kParamClickCount[] = "clickCount";
35 } // dispatchMouseEvent
37 namespace dispatchGestureEvent {
38 const char kName[] = "Input.dispatchGestureEvent";
39 const char kParamDeltaX[] = "deltaX";
40 const char kParamDeltaY[] = "deltaY";
41 const char kParamPinchScale[] = "pinchScale";
42 } // dispatchGestureEvent
44 } // Input
46 namespace Inspector {
48 namespace detached {
49 const char kName[] = "Inspector.detached";
50 const char kParamReason[] = "reason";
51 } // detached
53 namespace targetCrashed {
54 const char kName[] = "Inspector.targetCrashed";
55 } // targetCrashed
57 } // Inspector
59 namespace Page {
61 const char kData[] = "data";
62 const char kParamDeviceScaleFactor[] = "deviceScaleFactor";
63 const char kParamPageScaleFactor[] = "pageScaleFactor";
64 const char kParamPageScaleFactorMin[] = "pageScaleFactorMin";
65 const char kParamPageScaleFactorMax[] = "pageScaleFactorMax";
66 const char kParamOffsetBottom[] = "offsetBottom";
67 const char kParamOffsetTop[] = "offsetTop";
68 const char kParamViewport[] = "viewport";
70 namespace disable {
71 const char kName[] = "Page.disable";
72 } // disable
74 namespace handleJavaScriptDialog {
75 const char kName[] = "Page.handleJavaScriptDialog";
76 const char kParamAccept[] = "accept";
77 const char kParamPromptText[] = "promptText";
78 } // handleJavaScriptDialog
80 namespace navigate {
81 const char kName[] = "Page.navigate";
82 const char kParamUrl[] = "url";
83 } // navigate
85 namespace reload {
86 const char kName[] = "Page.reload";
87 } // reload
89 namespace getNavigationHistory {
90 const char kName[] = "Page.getNavigationHistory";
91 const char kResponseCurrentIndex[] = "currentIndex";
92 const char kResponseEntries[] = "entries";
93 const char kResponseEntryId[] = "id";
94 const char kResponseEntryURL[] = "url";
95 const char kResponseEntryTitle[] = "title";
96 } // getNavigationHistory
98 namespace navigateToHistoryEntry {
99 const char kName[] = "Page.navigateToHistoryEntry";
100 const char kParamEntryId[] = "entryId";
101 } // navigateToHistoryEntry
103 namespace captureScreenshot {
104 const char kName[] = "Page.captureScreenshot";
105 const char kParamFormat[] = "format";
106 const char kParamQuality[] = "quality";
107 const char kParamMaxWidth[] = "maxWidth";
108 const char kParamMaxHeight[] = "maxHeight";
109 } // captureScreenshot
111 namespace startScreencast {
112 const char kName[] = "Page.startScreencast";
113 } // startScreencast
115 namespace stopScreencast {
116 const char kName[] = "Page.stopScreencast";
117 } // stopScreencast
119 namespace screencastFrame {
120 const char kName[] = "Page.screencastFrame";
121 } // screencastFrame
123 namespace screencastVisibilityChanged {
124 const char kName[] = "Page.screencastVisibilityChanged";
125 const char kParamVisible[] = "visible";
126 } // screencastVisibilityChanged
128 } // Page
130 namespace Worker {
132 namespace disconnectedFromWorker {
133 const char kName[] = "Worker.disconnectedFromWorker";
134 } // disconnectedFromWorker
136 } // Worker
138 namespace Tracing {
139 const char kName[] = "Tracing";
141 namespace start {
142 const char kName[] = "Tracing.start";
143 const char kCategories[] = "categories";
144 const char kTraceOptions[] = "trace-options";
145 } // start
147 namespace end {
148 const char kName[] = "Tracing.end";
151 namespace tracingComplete {
152 const char kName[] = "Tracing.tracingComplete";
155 namespace dataCollected {
156 const char kName[] = "Tracing.dataCollected";
157 const char kValue[] = "value";
160 } // Tracing
162 namespace SystemInfo {
163 const char kName[] = "SystemInfo";
165 namespace getInfo {
166 const char kName[] = "SystemInfo.getInfo";
167 } // getInfo
168 } // SystemInfo
170 } // devtools
171 } // content