Home | History | Annotate | Download | only in devtools
      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 // THIS FILE IS AUTOGENERATED.
      9 // If you need change something in this file, please see
     10 // protocol.json and browser_protocol.json
     11 
     12 namespace content {
     13 namespace devtools {
     14 
     15 extern const char kResult[];
     16 
     17 namespace DOM {
     18   extern const char kName[];
     19 
     20   namespace Rect {
     21     extern const char kParamHeight[];
     22     extern const char kParamWidth[];
     23     extern const char kParamX[];
     24     extern const char kParamY[];
     25   } // Rect
     26 
     27   namespace setFileInputFiles {
     28     extern const char kName[];
     29     extern const char kParamFiles[];
     30     extern const char kParamNodeId[];
     31   } // setFileInputFiles
     32 } // DOM
     33 
     34 namespace Input {
     35   extern const char kName[];
     36 
     37   namespace dispatchGestureEvent {
     38     extern const char kName[];
     39     extern const char kParamDeltaX[];
     40     extern const char kParamDeltaY[];
     41     extern const char kParamPinchScale[];
     42     extern const char kParamTimestamp[];
     43     extern const char kParamType[];
     44     extern const char kParamX[];
     45     extern const char kParamY[];
     46 
     47     namespace Type {
     48       extern const char kEnumPinchBegin[];
     49       extern const char kEnumPinchEnd[];
     50       extern const char kEnumPinchUpdate[];
     51       extern const char kEnumScrollBegin[];
     52       extern const char kEnumScrollEnd[];
     53       extern const char kEnumScrollUpdate[];
     54       extern const char kEnumTap[];
     55       extern const char kEnumTapDown[];
     56     } // Type
     57   } // dispatchGestureEvent
     58 
     59   namespace dispatchMouseEvent {
     60     extern const char kName[];
     61     extern const char kParamButton[];
     62     extern const char kParamClickCount[];
     63     extern const char kParamDeviceSpace[];
     64     extern const char kParamModifiers[];
     65     extern const char kParamTimestamp[];
     66     extern const char kParamType[];
     67     extern const char kParamX[];
     68     extern const char kParamY[];
     69 
     70     namespace Button {
     71       extern const char kEnumLeft[];
     72       extern const char kEnumMiddle[];
     73       extern const char kEnumNone[];
     74       extern const char kEnumRight[];
     75     } // Button
     76 
     77     namespace Type {
     78       extern const char kEnumMouseMoved[];
     79       extern const char kEnumMousePressed[];
     80       extern const char kEnumMouseReleased[];
     81     } // Type
     82   } // dispatchMouseEvent
     83 } // Input
     84 
     85 namespace Inspector {
     86   extern const char kName[];
     87 
     88   namespace detached {
     89     extern const char kName[];
     90     extern const char kParamReason[];
     91   } // detached
     92 
     93   namespace targetCrashed {
     94     extern const char kName[];
     95   } // targetCrashed
     96 } // Inspector
     97 
     98 namespace Page {
     99   extern const char kName[];
    100 
    101   namespace NavigationEntry {
    102     extern const char kParamId[];
    103     extern const char kParamTitle[];
    104     extern const char kParamUrl[];
    105   } // NavigationEntry
    106 
    107   namespace Quota {
    108     extern const char kParamPersistent[];
    109     extern const char kParamTemporary[];
    110   } // Quota
    111 
    112   namespace ScreencastFrameMetadata {
    113     extern const char kParamDeviceScaleFactor[];
    114     extern const char kParamOffsetBottom[];
    115     extern const char kParamOffsetTop[];
    116     extern const char kParamPageScaleFactor[];
    117     extern const char kParamPageScaleFactorMax[];
    118     extern const char kParamPageScaleFactorMin[];
    119     extern const char kParamViewport[];
    120   } // ScreencastFrameMetadata
    121 
    122   namespace Usage {
    123     extern const char kParamPersistent[];
    124     extern const char kParamSyncable[];
    125     extern const char kParamTemporary[];
    126   } // Usage
    127 
    128   namespace UsageItem {
    129     extern const char kParamId[];
    130     extern const char kParamValue[];
    131 
    132     namespace Id {
    133       extern const char kEnumAppcache[];
    134       extern const char kEnumDatabase[];
    135       extern const char kEnumFilesystem[];
    136       extern const char kEnumIndexeddatabase[];
    137     } // Id
    138   } // UsageItem
    139 
    140   namespace canScreencast {
    141     extern const char kName[];
    142     extern const char kResponseResult[];
    143   } // canScreencast
    144 
    145   namespace captureScreenshot {
    146     extern const char kName[];
    147     extern const char kParamFormat[];
    148     extern const char kParamMaxHeight[];
    149     extern const char kParamMaxWidth[];
    150     extern const char kParamQuality[];
    151     extern const char kResponseData[];
    152     extern const char kResponseMetadata[];
    153 
    154     namespace Format {
    155       extern const char kEnumJpeg[];
    156       extern const char kEnumPng[];
    157     } // Format
    158   } // captureScreenshot
    159 
    160   namespace disable {
    161     extern const char kName[];
    162   } // disable
    163 
    164   namespace getNavigationHistory {
    165     extern const char kName[];
    166     extern const char kResponseCurrentIndex[];
    167     extern const char kResponseEntries[];
    168   } // getNavigationHistory
    169 
    170   namespace handleJavaScriptDialog {
    171     extern const char kName[];
    172     extern const char kParamAccept[];
    173     extern const char kParamPromptText[];
    174   } // handleJavaScriptDialog
    175 
    176   namespace navigate {
    177     extern const char kName[];
    178     extern const char kParamUrl[];
    179   } // navigate
    180 
    181   namespace navigateToHistoryEntry {
    182     extern const char kName[];
    183     extern const char kParamEntryId[];
    184   } // navigateToHistoryEntry
    185 
    186   namespace queryUsageAndQuota {
    187     extern const char kName[];
    188     extern const char kParamSecurityOrigin[];
    189     extern const char kResponseQuota[];
    190     extern const char kResponseUsage[];
    191   } // queryUsageAndQuota
    192 
    193   namespace reload {
    194     extern const char kName[];
    195     extern const char kParamIgnoreCache[];
    196     extern const char kParamScriptPreprocessor[];
    197     extern const char kParamScriptToEvaluateOnLoad[];
    198   } // reload
    199 
    200   namespace screencastFrame {
    201     extern const char kName[];
    202     extern const char kParamData[];
    203     extern const char kParamMetadata[];
    204   } // screencastFrame
    205 
    206   namespace screencastVisibilityChanged {
    207     extern const char kName[];
    208     extern const char kParamVisible[];
    209   } // screencastVisibilityChanged
    210 
    211   namespace startScreencast {
    212     extern const char kName[];
    213     extern const char kParamFormat[];
    214     extern const char kParamMaxHeight[];
    215     extern const char kParamMaxWidth[];
    216     extern const char kParamQuality[];
    217 
    218     namespace Format {
    219       extern const char kEnumJpeg[];
    220       extern const char kEnumPng[];
    221     } // Format
    222   } // startScreencast
    223 
    224   namespace stopScreencast {
    225     extern const char kName[];
    226   } // stopScreencast
    227 } // Page
    228 
    229 namespace SystemInfo {
    230   extern const char kName[];
    231 
    232   namespace GPUDevice {
    233     extern const char kParamDeviceId[];
    234     extern const char kParamDeviceString[];
    235     extern const char kParamVendorId[];
    236     extern const char kParamVendorString[];
    237   } // GPUDevice
    238 
    239   namespace GPUInfo {
    240     extern const char kParamAuxAttributes[];
    241     extern const char kParamDevices[];
    242     extern const char kParamFeatureStatus[];
    243   } // GPUInfo
    244 
    245   namespace SystemInfo {
    246     extern const char kParamGpu[];
    247     extern const char kParamModelName[];
    248   } // SystemInfo
    249 
    250   namespace getInfo {
    251     extern const char kName[];
    252     extern const char kResponseInfo[];
    253   } // getInfo
    254 } // SystemInfo
    255 
    256 namespace Tracing {
    257   extern const char kName[];
    258 
    259   namespace dataCollected {
    260     extern const char kName[];
    261     extern const char kParamValue[];
    262   } // dataCollected
    263 
    264   namespace end {
    265     extern const char kName[];
    266   } // end
    267 
    268   namespace start {
    269     extern const char kName[];
    270     extern const char kParamCategories[];
    271     extern const char kParamOptions[];
    272   } // start
    273 
    274   namespace tracingComplete {
    275     extern const char kName[];
    276   } // tracingComplete
    277 } // Tracing
    278 
    279 namespace Worker {
    280   extern const char kName[];
    281 
    282   namespace disconnectFromWorker {
    283     extern const char kName[];
    284     extern const char kParamWorkerId[];
    285   } // disconnectFromWorker
    286 
    287   namespace disconnectedFromWorker {
    288     extern const char kName[];
    289   } // disconnectedFromWorker
    290 } // Worker
    291 
    292 
    293 }  // devtools
    294 }  // content
    295 
    296 #endif  // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_CONSTANTSH_
    297