Changeset 74022 in webkit


Ignore:
Timestamp:
Dec 14, 2010 6:54:41 AM (13 years ago)
Author:
loislo@chromium.org
Message:

2010-12-14 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: regroup Inspector.idl entries.
Just for better visibility.

https://bugs.webkit.org/show_bug.cgi?id=51025

  • inspector/Inspector.idl:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r74020 r74022  
     12010-12-14  Ilya Tikhonovsky  <loislo@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: regroup Inspector.idl entries.
     6        Just for better visibility.
     7
     8        https://bugs.webkit.org/show_bug.cgi?id=51025
     9
     10        * inspector/Inspector.idl:
     11
    1122010-12-14  Alexander Pavlov  <apavlov@chromium.org>
    213
  • trunk/WebCore/inspector/Inspector.idl

    r73916 r74022  
    11/*
    2  * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
    3  * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
    4  * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
     2 * Copyright (C) 2010 Apple Inc. All rights reserved.
     3 * Copyright (C) 2010 Google Inc. All rights reserved.
    54 *
    65 * Redistribution and use in source and binary forms, with or without
     
    3332module core {
    3433    interface [Conditional=INSPECTOR] Inspector {
    35         [notify, domain=Timeline] void addRecordToTimeline(out Object record);
     34
     35        ///////////////////////////////////////////////////////////////////////
     36        // generic Inspector's methods
     37        ///////////////////////////////////////////////////////////////////////
     38
     39        [domain=Backend] void setInjectedScriptSource(in String scriptSource);
     40        // HUGE FIXME: we need to expose InjectedScript methods here. Or document InjectedScript capabilities.
     41        [domain=Backend] void dispatchOnInjectedScript(in long injectedScriptId, in String methodName, in String arguments, out Value result, out boolean isException);
     42        [domain=Inspector] void addScriptToEvaluateOnLoad(in String scriptSource);
     43        [domain=Inspector] void removeAllScriptsToEvaluateOnLoad();
     44        [domain=Backend] void releaseWrapperObjectGroup(in long injectedScriptId, in String objectGroup);
     45        [domain=Inspector] void getInspectorState(out Object state);
     46        [domain=Inspector] void setMonitoringXHREnabled(in boolean enable, out boolean newState);
     47        [domain=Inspector] void reloadPage();
     48        [domain=Inspector] void populateScriptObjects();
     49
     50        [domain=Inspector] void openInInspectedWindow(in String url);
     51        [domain=Inspector] void setSearchingForNode(in boolean enabled, out boolean newState);
    3652        [notify, domain=Inspector] void addNodesToSearchResult(out Array nodeIds);
    37         [notify, domain=DOM] void attributesUpdated(out long id, out Array attributes);
    3853        [notify, domain=Inspector] void bringToFront();
    39         [notify, domain=DOM] void characterDataModified(out long id, out String newValue);
    40         [notify, domain=DOM] void childNodeCountUpdated(out long id, out int newValue);
    41         [notify, domain=DOM] void childNodeInserted(out long parentId, out long prevId, out Object node);
    42         [notify, domain=DOM] void childNodeRemoved(out long parentId, out long id);
    43         [notify, domain=DOM] void didCommitLoad();
    44         [notify, domain=Inspector] void evaluateForTestInFrontend(out long testCallId, out String script);
    4554        [notify, domain=Inspector] void disconnectFromBackend();
     55        [notify, domain=Inspector] void inspectedURLChanged(out String url);
    4656        [notify, domain=Inspector] void domContentEventFired(out double time);
    47         [notify, domain=Inspector] void inspectedURLChanged(out String url);
    4857        [notify, domain=Inspector] void loadEventFired(out double time);
    4958        [notify, domain=Inspector] void reset();
    50         [notify, domain=Profiler] void resetProfiles();
    51         [notify, domain=DOM] void setChildNodes(out long parentId, out Array nodes);
    52         [notify, domain=DOM] void setDetachedRoot(out Object root);
    53         [notify, domain=DOM] void setDocument(out Value root);
    5459        [notify, domain=Inspector] void showPanel(out String panel);
    55         [notify, domain=Timeline] void timelineProfilerWasStarted();
    56         [notify, domain=Timeline] void timelineProfilerWasStopped();
     60
     61        [notify, domain=Inspector] void evaluateForTestInFrontend(out long testCallId, out String script);
     62        [domain=Inspector] void didEvaluateForTestInFrontend(in long testCallId, in String jsonResult);
     63
     64        [domain=Inspector] void highlightDOMNode(in long nodeId);
     65        [domain=Inspector] void hideDOMNodeHighlight();
     66        [domain=Inspector] void highlightFrame(in unsigned long frameId);
     67        [domain=Inspector] void hideFrameHighlight();
    5768        [notify, domain=Inspector] void updateFocusedNode(out long nodeId);
    5869
    59 #if defined(ENABLE_JAVASCRIPT_DEBUGGER) && ENABLE_JAVASCRIPT_DEBUGGER
    60         [notify, domain=Profiler] void addProfileHeader(out Object header);
    61         [notify, domain=Profiler] void addHeapSnapshotChunk(out unsigned long uid, out String chunk);
    62         [notify, domain=Debugger] void attachDebuggerWhenShown();
    63         [notify, domain=Debugger] void debuggerWasEnabled();
    64         [notify, domain=Debugger] void debuggerWasDisabled();
    65         [notify, domain=Debugger] void failedToParseScriptSource(out String url, out String data, out int firstLine, out int errorLine, out String errorMessage);
    66         [notify, domain=Profiler] void finishHeapSnapshot(out unsigned long uid);
    67         [notify, domain=Debugger] void parsedScriptSource(out String sourceID, out String url, out String data, out int firstLine, out int scriptWorldType);
    68         [notify, domain=Debugger] void pausedScript(out Object details);
    69         [notify, domain=Profiler] void profilerWasEnabled();
    70         [notify, domain=Profiler] void profilerWasDisabled();
    71         [notify, domain=Debugger] void breakpointRestored(out String sourceID, out String url, out int line, out boolean enabled, out String condition);
    72         [notify, domain=Debugger] void resumedScript();
    73         [notify, domain=Profiler] void setRecordingProfile(out boolean isProfiling);
    74 #endif
    75 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE
    76         [notify, domain=Resources] void addDatabase(out Object database);
    77         [notify, domain=Resources] void selectDatabase(out int databaseId);
    78 #endif
    79 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
    80         [notify, domain=Resources] void addDOMStorage(out Object storage);
    81         [notify, domain=Resources] void updateDOMStorage(out int storageId);
    82         [notify, domain=Resources] void selectDOMStorage(out int storageId);
    83 #endif
    84 #if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS
    85         [notify, domain=Resources] void updateApplicationCacheStatus(out int status);
    86         [notify, domain=Resources] void updateNetworkState(out boolean isNowOnline);
    87 #endif
    88 #if defined(ENABLE_WORKERS) && ENABLE_WORKERS
    89         [notify, domain=Debugger] void didCreateWorker(out long id, out String url, out boolean isShared);
    90         [notify, domain=Debugger] void didDestroyWorker(out long id);
    91 #endif
    92 
    93         // This method is going to be broken down into smaller parts.
    94         [domain=Inspector] void populateScriptObjects();
    95 
    96         [domain=Inspector] void getInspectorState(out Object state);
    97 
    98         [domain=Inspector] void setSearchingForNode(in boolean enabled, out boolean newState);
    99 
    100         [domain=Inspector] void setMonitoringXHREnabled(in boolean enable, out boolean newState);
    101 
    102         [domain=Inspector] void reloadPage();
    103 
    104         [domain=Inspector] void startTimelineProfiler();
    105         [domain=Inspector] void stopTimelineProfiler();
    106 
    107         [domain=Resources] void cachedResources(out Object resources);
    108         [domain=Resources] void resourceContent(in unsigned long frameId, in String url, in boolean base64Encode, out String content);
     70        ///////////////////////////////////////////////////////////////////////
     71        // Console API
     72        ///////////////////////////////////////////////////////////////////////
     73
     74        [domain=Inspector] void setConsoleMessagesEnabled(in boolean enabled, out boolean newState);
     75        [notify, domain=Inspector] void addConsoleMessage(out Object messageObj);
     76        [notify, domain=Inspector] void updateConsoleMessageExpiredCount(out unsigned long count);
     77        [notify, domain=Inspector] void updateConsoleMessageRepeatCount(out unsigned long count);
     78        [domain=Inspector] void clearConsoleMessages();
     79        [notify, domain=Inspector] void consoleMessagesCleared();
     80
     81        ///////////////////////////////////////////////////////////////////////
     82        // Resources API
     83        ///////////////////////////////////////////////////////////////////////
     84
     85        // FIXME: Network domain
    10986        [notify, domain=Resources] void identifierForInitialRequest(out long identifier, out String url, out Object loader, out Value callStack);
    11087        [notify, domain=Resources] void willSendRequest(out long identifier, out double time, out Object request, out Object redirectResponse);
     
    11895        [notify, domain=Resources] void didCommitLoadForFrame(out Object frame, out Object loader);
    11996        [notify, domain=Resources] void frameDetachedFromParent(out unsigned long frameId);
     97       
     98        [domain=Resources] void cachedResources(out Object resources);
     99        [domain=Resources] void resourceContent(in unsigned long frameId, in String url, in boolean base64Encode, out String content);
    120100
    121101        [notify, domain=Resources] void didCreateWebSocket(out unsigned long identifier, out String requestURL);
     
    124104        [notify, domain=Resources] void didCloseWebSocket(out unsigned long identifier, out double time);
    125105
    126 #if defined(ENABLE_JAVASCRIPT_DEBUGGER) && ENABLE_JAVASCRIPT_DEBUGGER
    127         [domain=Backend] void enableDebugger(in boolean always);
    128         [domain=Inspector] void disableDebugger(in boolean always);
    129 
    130         [domain=Debugger] void setBreakpoint(in String sourceID, in unsigned int lineNumber, in boolean enabled, in String condition, out boolean success, out unsigned int actualLineNumber);
    131         [domain=Debugger] void removeBreakpoint(in String sourceID, in unsigned long lineNumber);
    132         [domain=Debugger] void activateBreakpoints();
    133         [domain=Debugger] void deactivateBreakpoints();
    134 
    135         [domain=Debugger] void pause();
    136         [domain=Debugger] void resume();
    137 
    138         [domain=Debugger] void stepOverStatement();
    139         [domain=Debugger] void stepIntoStatement();
    140         [domain=Debugger] void stepOutOfFunction();
    141 
    142         [domain=Debugger] void setPauseOnExceptionsState(in long pauseOnExceptionsState, out long newState);
    143 
    144         [domain=Debugger] void editScriptSource(in String sourceID, in String newContent, out boolean success, out String result, out Value newCallFrames);
    145         [domain=Debugger] void getScriptSource(in String sourceID, out String scriptSource);
    146 
    147         [domain=DOM] void setDOMBreakpoint(in long nodeId, in long type);
    148         [domain=DOM] void removeDOMBreakpoint(in long nodeId, in long type);
    149         [domain=Inspector] void setEventListenerBreakpoint(in String eventName);
    150         [domain=Inspector] void removeEventListenerBreakpoint(in String eventName);
    151         [domain=Inspector] void setXHRBreakpoint(in String url);
    152         [domain=Inspector] void removeXHRBreakpoint(in String url);
    153 
    154         [domain=Inspector] void enableProfiler(in boolean always);
    155         [domain=Inspector] void disableProfiler(in boolean always);
    156 
    157         [domain=Inspector] void startProfiling();
    158         [domain=Inspector] void stopProfiling();
    159 
    160         [domain=Profiler] void getProfileHeaders(out Array headers);
    161         [domain=Profiler] void getProfile(in String type, in unsigned long uid, out Object profile);
    162 
    163         [domain=Profiler] void removeProfile(in String type, in unsigned long uid);
    164         [domain=Profiler] void clearProfiles();
    165 
    166         [domain=Profiler] void takeHeapSnapshot();
    167 #endif
    168         [domain=Backend] void setInjectedScriptSource(in String scriptSource);
    169         [domain=Backend] void dispatchOnInjectedScript(in long injectedScriptId, in String methodName, in String arguments, out Value result, out boolean isException);
    170         [domain=Inspector] void addScriptToEvaluateOnLoad(in String scriptSource);
    171         [domain=Inspector] void removeAllScriptsToEvaluateOnLoad();
     106        // FIXME: Introduce new StorageDomain.
     107        [domain=Inspector] void getCookies(out Array cookies, out String cookiesString);
     108        [domain=Inspector] void deleteCookie(in String cookieName, in String domain);
     109#if defined(ENABLE_DATABASE) && ENABLE_DATABASE
     110        [notify, domain=Resources] void addDatabase(out Object database);
     111        [notify, domain=Resources] void selectDatabase(out int databaseId);
     112        [domain=Backend] void getDatabaseTableNames(in long databaseId, out Array tableNames);
     113        [domain=Backend] void executeSQL(in long databaseId, in String query, out boolean success, out long transactionId);
     114        [notify, domain=Resources] void sqlTransactionSucceeded(out long transactionId, out Value columnNames, out Value values);
     115        [notify, domain=Resources] void sqlTransactionFailed(out long transactionId, out Value sqlError);
     116#endif
     117#if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
     118        [domain=Inspector] void getDOMStorageEntries(in long storageId, out Array entries);
     119        [domain=Inspector] void setDOMStorageItem(in long storageId, in String key, in String value, out boolean success);
     120        [domain=Inspector] void removeDOMStorageItem(in long storageId, in String key, out boolean success);
     121        // FIXME: nuke these from resource manager asap, dispatch on StorageDomain.
     122        [notify, domain=Resources] void addDOMStorage(out Object storage);
     123        [notify, domain=Resources] void updateDOMStorage(out int storageId);
     124        [notify, domain=Resources] void selectDOMStorage(out int storageId);
     125#endif
     126#if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS
     127        [notify, domain=Resources] void updateApplicationCacheStatus(out int status);
     128        [notify, domain=Resources] void updateNetworkState(out boolean isNowOnline);
     129#endif
     130#if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS
     131        [domain=ApplicationCache] void getApplicationCaches(out Value applicationCaches);
     132#endif
     133#if defined(ENABLE_FILE_SYSTEM) && ENABLE_FILE_SYSTEM
     134        [domain=FileSystem] void getFileSystemPathAsync(in unsigned int type, in String origin);
     135        [domain=FileSystem] void revealFolderInOS(in String path);
     136
     137        // FIXME: nuke these from resource manager asap, dispatch on FileSystem.
     138        [notify, domain=Resources] void didGetFileSystemPath(out String root, out int type, out String origin);
     139        [notify, domain=Resources] void didGetFileSystemError(out int type, out String origin);
     140        [notify, domain=Resources] void didGetFileSystemDisabled();
     141#endif
     142
     143        ///////////////////////////////////////////////////////////////////////
     144        // DOM API
     145        ///////////////////////////////////////////////////////////////////////
    172146
    173147        [domain=DOM] void getChildNodes(in long nodeId);
     
    186160        [domain=DOM] void pushNodeByPathToFrontend(in String path, out long nodeId);
    187161
    188         [domain=Inspector] void setConsoleMessagesEnabled(in boolean enabled, out boolean newState);
    189         [notify, domain=Inspector] void addConsoleMessage(out Object messageObj);
    190         [notify, domain=Inspector] void updateConsoleMessageExpiredCount(out unsigned long count);
    191         [notify, domain=Inspector] void updateConsoleMessageRepeatCount(out unsigned long count);
    192 
    193         [domain=Inspector] void clearConsoleMessages();
    194         [notify, domain=Inspector] void consoleMessagesCleared();
    195 
    196         [domain=Inspector] void highlightDOMNode(in long nodeId);
    197         [domain=Inspector] void hideDOMNodeHighlight();
    198         [domain=Inspector] void openInInspectedWindow(in String url);
    199 
    200         [domain=Inspector] void highlightFrame(in unsigned long frameId);
    201         [domain=Inspector] void hideFrameHighlight();
     162        [notify, domain=DOM] void setDocument(out Value root); // FIXME: should be requested from the front-end as getDocument.
     163        [notify, domain=DOM] void attributesUpdated(out long id, out Array attributes);
     164        [notify, domain=DOM] void characterDataModified(out long id, out String newValue);
     165        [notify, domain=DOM] void setChildNodes(out long parentId, out Array nodes);
     166        [notify, domain=DOM] void setDetachedRoot(out Object root);
     167        [notify, domain=DOM] void childNodeCountUpdated(out long id, out int newValue);
     168        [notify, domain=DOM] void childNodeInserted(out long parentId, out long prevId, out Object node);
     169        [notify, domain=DOM] void childNodeRemoved(out long parentId, out long id);
     170        [notify, domain=DOM] void didCommitLoad();
     171
     172        ///////////////////////////////////////////////////////////////////////
     173        // CSS API
     174        ///////////////////////////////////////////////////////////////////////
    202175
    203176        [domain=CSS] void getStylesForNode2(in long nodeId, out Value styles);
     
    215188        [domain=CSS] void querySelectorAll(in long documentId, in String selector, out Array result);
    216189
    217         [domain=Inspector] void getCookies(out Array cookies, out String cookiesString);
    218         [domain=Inspector] void deleteCookie(in String cookieName, in String domain);
    219 
    220 #if defined(ENABLE_OFFLINE_WEB_APPLICATIONS) && ENABLE_OFFLINE_WEB_APPLICATIONS
    221         [domain=ApplicationCache] void getApplicationCaches(out Value applicationCaches);
    222 #endif
    223 
    224 #if defined(ENABLE_FILE_SYSTEM) && ENABLE_FILE_SYSTEM
    225         [domain=FileSystem] void getFileSystemPathAsync(in unsigned int type, in String origin);
    226         [domain=FileSystem] void revealFolderInOS(in String path);
    227         [notify, domain=Resources] void didGetFileSystemPath(out String root, out int type, out String origin);
    228         [notify, domain=Resources] void didGetFileSystemError(out int type, out String origin);
    229         [notify, domain=Resources] void didGetFileSystemDisabled();
    230 #endif
    231 
    232         [domain=Backend] void releaseWrapperObjectGroup(in long injectedScriptId, in String objectGroup);
    233         [domain=Inspector] void didEvaluateForTestInFrontend(in long testCallId, in String jsonResult);
    234 
    235 #if defined(ENABLE_DATABASE) && ENABLE_DATABASE
    236         [domain=Backend] void getDatabaseTableNames(in long databaseId, out Array tableNames);
    237         [domain=Backend] void executeSQL(in long databaseId, in String query, out boolean success, out long transactionId);
    238         [notify, domain=Resources] void sqlTransactionSucceeded(out long transactionId, out Value columnNames, out Value values);
    239         [notify, domain=Resources] void sqlTransactionFailed(out long transactionId, out Value sqlError);
    240 #endif
    241 
    242 #if defined(ENABLE_DOM_STORAGE) && ENABLE_DOM_STORAGE
    243         [domain=Inspector] void getDOMStorageEntries(in long storageId, out Array entries);
    244         [domain=Inspector] void setDOMStorageItem(in long storageId, in String key, in String value, out boolean success);
    245         [domain=Inspector] void removeDOMStorageItem(in long storageId, in String key, out boolean success);
    246 #endif
     190        ///////////////////////////////////////////////////////////////////////
     191        // Timeline API
     192        ///////////////////////////////////////////////////////////////////////
     193
     194        [domain=Inspector] void startTimelineProfiler();
     195        [domain=Inspector] void stopTimelineProfiler();
     196        [notify, domain=Timeline] void timelineProfilerWasStarted();
     197        [notify, domain=Timeline] void timelineProfilerWasStopped();
     198        [notify, domain=Timeline] void addRecordToTimeline(out Object record);
     199
     200#if defined(ENABLE_JAVASCRIPT_DEBUGGER) && ENABLE_JAVASCRIPT_DEBUGGER
     201
     202        ///////////////////////////////////////////////////////////////////////
     203        // Debugger API
     204        ///////////////////////////////////////////////////////////////////////
     205
     206        [domain=Backend] void enableDebugger(in boolean always);
     207        [domain=Inspector] void disableDebugger(in boolean always); // FIXME: should be on the same domain as enableDebugger.
     208        [notify, domain=Debugger] void debuggerWasEnabled();
     209        [notify, domain=Debugger] void debuggerWasDisabled();
     210
     211        [notify, domain=Debugger] void attachDebuggerWhenShown(); // FIXME: do something with this eventually.
     212
     213        [notify, domain=Debugger] void parsedScriptSource(out String sourceID, out String url, out String data, out int firstLine, out int scriptWorldType);
     214        [notify, domain=Debugger] void failedToParseScriptSource(out String url, out String data, out int firstLine, out int errorLine, out String errorMessage);
     215
     216        [domain=Debugger] void activateBreakpoints();
     217        [domain=Debugger] void deactivateBreakpoints();
     218
     219        [domain=Debugger] void setBreakpoint(in String sourceID, in unsigned int lineNumber, in boolean enabled, in String condition, out boolean success, out unsigned int actualLineNumber);
     220        [domain=Debugger] void removeBreakpoint(in String sourceID, in unsigned long lineNumber);
     221
     222        [domain=DOM] void setDOMBreakpoint(in long nodeId, in long type); // FIXME: Move to newly introduced BrowserDebugger.
     223        [domain=DOM] void removeDOMBreakpoint(in long nodeId, in long type); // FIXME: Move to newly introduced BrowserDebugger.
     224
     225        [domain=Inspector] void setEventListenerBreakpoint(in String eventName); // FIXME: Move to newly introduced BrowserDebugger.
     226        [domain=Inspector] void removeEventListenerBreakpoint(in String eventName); // FIXME: Move to newly introduced BrowserDebugger.
     227
     228        [domain=Inspector] void setXHRBreakpoint(in String url); // FIXME: Move to newly introduced BrowserDebugger.
     229        [domain=Inspector] void removeXHRBreakpoint(in String url); // FIXME: Move to newly introduced BrowserDebugger.
     230
     231        [domain=Debugger] void stepOverStatement(); // FIXME: rename to stepOver
     232        [domain=Debugger] void stepIntoStatement(); // FIXME: rename to stepInto
     233        [domain=Debugger] void stepOutOfFunction(); // FIXME: rename to stepOut
     234        [domain=Debugger] void pause();
     235        [notify, domain=Debugger] void pausedScript(out Object details);
     236        [domain=Debugger] void resume();
     237        [notify, domain=Debugger] void resumedScript(); // FIXME: Make this out parameter fo resume if possible.
     238
     239        [domain=Debugger] void setPauseOnExceptionsState(in long pauseOnExceptionsState, out long newState);
     240
     241        [domain=Debugger] void editScriptSource(in String sourceID, in String newContent, out boolean success, out String result, out Value newCallFrames);
     242        [domain=Debugger] void getScriptSource(in String sourceID, out String scriptSource);
     243
     244        [notify, domain=Debugger] void breakpointRestored(out String sourceID, out String url, out int line, out boolean enabled, out String condition); // FIXME: should be breakpointResolved
     245
     246#if defined(ENABLE_WORKERS) && ENABLE_WORKERS
     247        [notify, domain=Debugger] void didCreateWorker(out long id, out String url, out boolean isShared);
     248        [notify, domain=Debugger] void didDestroyWorker(out long id);
     249#endif // ENABLE_WORKERS
     250
     251        ///////////////////////////////////////////////////////////////////////
     252        // Profiler API
     253        ///////////////////////////////////////////////////////////////////////
     254
     255        [domain=Inspector] void enableProfiler(in boolean always); // FIXME: preferrable with Inspector domain, dispatched on backend.
     256        [domain=Inspector] void disableProfiler(in boolean always);
     257        [notify, domain=Profiler] void profilerWasEnabled();
     258        [notify, domain=Profiler] void profilerWasDisabled();
     259
     260        [domain=Inspector] void startProfiling(); // FIXME: dispatch on profiler agent.
     261        [domain=Inspector] void stopProfiling(); // FIXME: dispatch on profiler agent.
     262
     263        [domain=Profiler] void getProfileHeaders(out Array headers);
     264        [domain=Profiler] void getProfile(in String type, in unsigned long uid, out Object profile);
     265        [domain=Profiler] void removeProfile(in String type, in unsigned long uid);
     266        [domain=Profiler] void clearProfiles();
     267
     268        // FIXME: split into Profiler and HeapProfiler.
     269        [domain=Profiler] void takeHeapSnapshot();
     270        [notify, domain=Profiler] void addProfileHeader(out Object header);
     271        [notify, domain=Profiler] void addHeapSnapshotChunk(out unsigned long uid, out String chunk);
     272        [notify, domain=Profiler] void finishHeapSnapshot(out unsigned long uid);
     273        [notify, domain=Profiler] void setRecordingProfile(out boolean isProfiling);
     274        [notify, domain=Profiler] void resetProfiles();
     275
     276#endif // ENABLE_JAVASCRIPT_DEBUGGER
    247277    };
    248278}
Note: See TracChangeset for help on using the changeset viewer.