summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsclient_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: enable databases panel.pfeldman@chromium.org2009-10-121-0/+11
| | | | | | Review URL: http://codereview.chromium.org/265015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28697 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate from CppBound class to devtools bound object.pfeldman@chromium.org2009-08-311-36/+23
| | | | | | Review URL: http://codereview.chromium.org/183014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24878 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove base/values dependency from devtools.pfeldman@chromium.org2009-08-271-17/+37
| | | | | | Review URL: http://codereview.chromium.org/173480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24623 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: generate localized strings and use them.mnaganov@chromium.org2009-08-211-3/+19
| | | | | | | | | | | Reapplying r23820, this time interactive UI tests should not fail. BUG=none TEST=none Review URL: http://codereview.chromium.org/174216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23950 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r23820 by mnaganov due to Interactive Test failuresasargent@chromium.org2009-08-201-19/+3
| | | | | | | | | TBR=brg TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23830 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: generate localized strings and use them.mnaganov@chromium.org2009-08-201-3/+19
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23820 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: dom_agent is dead. Long live InspectorDOMAgent.pfeldman@chromium.org2009-08-141-4/+0
| | | | | | Review URL: http://codereview.chromium.org/165526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23429 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to WebFrame from the WebKit API.darin@chromium.org2009-08-101-2/+3
| | | | | | | | | | | | | | | I tried to avoid unnecessary changes in this CL to help make it easier to review. As part of this CL, glue/webtextinput* are folded into WebFrame / WebFrameImpl. R=dglazkov BUG=10034 TEST=none Review URL: http://codereview.chromium.org/164225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22896 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit to r46426.pkasting@chromium.org2009-07-271-19/+6
| | | | | | | | | TBR=levin BUG=none TEST=none Review URL: http://codereview.chromium.org/160204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21722 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Roll to WebKit 46417. DevTools: Migrate from InspectorController to ↵ajwong@chromium.org2009-07-271-6/+19
| | | | | | | | | | InspectorBackend." This reverts commit 836fec2217b4a8ddb16c957b4b86f72252e31ce3. Review URL: http://codereview.chromium.org/160186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21682 0039d316-1c4b-4281-b951-d872f2087c98
* Roll to WebKit 46417. DevTools: Migrate from InspectorController to ↵pinkerton@chromium.org2009-07-271-19/+6
| | | | | | InspectorBackend. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21680 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add hints for the DEPs roll of InspectorBackend.pfeldman@chromium.org2009-07-251-0/+16
| | | | | | Review URL: http://codereview.chromium.org/160101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21616 0039d316-1c4b-4281-b951-d872f2087c98
* Land Anton's change to cast from v8::Value to v8::Object beforeager@chromium.org2009-07-171-2/+4
| | | | | | | | | | | converting a wrapper to a native Node pointer in devtools. BUG=none TEST=none Review URL: http://codereview.chromium.org/159003. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21002 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Make 'toggle node search' mode work.pfeldman@chromium.org2009-07-161-0/+13
| | | | | | | BUG=16824 Review URL: http://codereview.chromium.org/155639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20873 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPSabarth@chromium.org2009-07-091-2/+2
| | | | | | | | TBR=dglazkov Review URL: http://codereview.chromium.org/155278 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20254 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Introduce docked version of DevTools.pfeldman@chromium.org2009-07-011-10/+46
| | | | | | Review URL: http://codereview.chromium.org/149071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19713 0039d316-1c4b-4281-b951-d872f2087c98
* Delete V8Proxy and V8Utilities and use upstreamed versions.japhet@chromium.org2009-06-291-7/+7
| | | | | | Review URL: http://codereview.chromium.org/150056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19539 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 19489,19488.japhet@chromium.org2009-06-291-7/+7
| | | | | | Review URL: http://codereview.chromium.org/150024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19490 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstream V8Proxy and V8Utilitiesjaphet@chromium.org2009-06-291-7/+7
| | | | | | | | | BUG=15459 TEST=none Review URL: http://codereview.chromium.org/149086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19488 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix crash on refresh.pfeldman@chromium.org2009-06-171-2/+3
| | | | | | | BUG=14221 Review URL: http://codereview.chromium.org/125246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18608 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: pass proper platform names on non-windows.pfeldman@chromium.org2009-06-111-0/+15
| | | | | | Review URL: http://codereview.chromium.org/122031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18155 0039d316-1c4b-4281-b951-d872f2087c98
* Update DEPS to pull in upstream changes that remove RGBA32Buffer::bitmap(), ↵pkasting@chromium.org2009-06-111-1/+1
| | | | | | | | | | | | | | | | and rewrite local tests to compile. Also pulls in a change that upstreamed V8CustomBinding, since that got bracketed between my upstream changes; this includes the Chromium side of that too. This change exposed a deficiency in the XBM testing where we were erroneously using a zero-length set of image data to calculate the MD5 sum (because we were using the buffer rect instead of the image size, and the XBM decoder wasn't correctly setting the rect). Fixed the test to use the image size (which is more correct for this application), will fix the XBM decoder upstream to set the rect correctly. This in turn required generating new MD5 sums, which required patching the generation code (which is normally #ifdefed away) to also work with the past couple years of changes. This commit will need to land at the same time as one that updates the expected sums; during the period where either commit is in place without the other, the XBM decoding tests will fail. BUG=13633 TEST=Covered by unittests Review URL: http://codereview.chromium.org/121001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18131 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: always send reponse to resource content request, otherwise client ↵yurys@google.com2009-06-101-2/+27
| | | | | | | | | may break issuing request for same resource several times(e.g. when resource tracking is getting turned on). ToolsAgentNativeDelegateImpl is recreated to clear request cache each time front-end is reset. Review URL: http://codereview.chromium.org/118495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18060 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: now that WebKit implementation of WebInspector.SourceView expects ↵yurys@google.com2009-06-091-0/+73
| | | | | | | | InspectorController.addResourceSourceToFrame to asynchronous we can get rid of our implementation of SourceView.setupSourceFrameIfNeeded. Review URL: http://codereview.chromium.org/118428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17952 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: decouple class and method names from RPC message arguments. That ↵yurys@google.com2009-05-291-6/+19
| | | | | | | | would allow to select dispatcher wothout parsing the message argument. Review URL: http://codereview.chromium.org/115862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17176 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to InspectorController for network and console events.pfeldman@chromium.org2009-05-271-46/+15
| | | | | | | | | | | | | | - introduced bound object on the agent side; - established remote dispatch of WebInspector calls - using fake InspectorFrontend for serializing events and sending them over the ipc - removed net agents from both sides - moved GetResource stuff to tools agent Assumes following is landed: https://bugs.webkit.org/show_bug.cgi?id=26010 Review URL: http://codereview.chromium.org/113836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16980 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: simplify client dispatch via moving it into javascript.pfeldman@chromium.org2009-05-151-11/+3
| | | | | | Review URL: http://codereview.chromium.org/113450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16150 0039d316-1c4b-4281-b951-d872f2087c98
* Split V8Proxy::retrieveActiveFrame() into two methods.aa@chromium.org2009-05-121-2/+2
| | | | | | | | | | | | | | | | | | We now have RetrieveFrameForCurrentContext() and RetrieveFrameForEnteredContext(). These terms means the same thing they do in V8::Context -- 'current' is the top of the js stack and 'entered' is the bottom. I needed 'entered' to fix a bug in extensions where if you call an extension API through the web inspector we get confused and think the web inspector's view is the one who called. Review URL: http://codereview.chromium.org/113085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15828 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebKit API to src/webkit/api.darin@chromium.org2009-05-101-1/+1
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/113186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15739 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Move client js bindings to per-instance basis.pfeldman@chromium.org2009-05-081-64/+40
| | | | | | Review URL: http://codereview.chromium.org/113146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15634 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Activate inspector window on break / exception.pfeldman@chromium.org2009-05-081-20/+33
| | | | | | Review URL: http://codereview.chromium.org/113100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15632 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Implement search in scripts.pfeldman@chromium.org2009-05-041-0/+15
| | | | | | Review URL: http://codereview.chromium.org/100332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15206 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: switch from CppBound* to pure v8 bindings in WebDevToolsClient ↵pfeldman@chromium.org2009-05-041-44/+96
| | | | | | | | host functions. Review URL: http://codereview.chromium.org/100254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15199 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebScriptSource and WebFindInPageRequest from the WebKit API.darin@chromium.org2009-03-311-2/+5
| | | | | | | | | | | | | | | | | | This change introduces some helper functions in glue_util.cc for efficient conversion between WebString and WebCore::String when inside the implementation of webkit/glue. This is a temporary change since eventually all code in glue that uses WebCore will be moved into the WebKit API implementation. Instead of making the Chrome automation use WebFindInPageRequest, I decided to introduce AutomationMsg_Find_Params as a copy of the old FindInPageRequest structure. That preserves the IPC protocol and avoids making the automation library depend on WebKit. R=dglazkov Review URL: http://codereview.chromium.org/57060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12881 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Allow to add breakpoints using Scripts panel.yurys@google.com2009-03-311-0/+9
| | | | | | | 2. Support step in/step out/step over/resume actions in Scripts panel. Review URL: http://codereview.chromium.org/56108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12855 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Added 'scripts' command response handler that populates Scripts panel ↵yurys@google.com2009-03-301-3/+3
| | | | | | | | | with script sources. 2. Modify WebDevToolsClientImpl::JsAddSourceToFrame so that it returns false when fails. Review URL: http://codereview.chromium.org/56058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12769 0039d316-1c4b-4281-b951-d872f2087c98
* 1. Implemented an agent providing RPC interface to v8 debugger of the ↵yurys@google.com2009-03-271-2/+42
| | | | | | | | | | | | inspected page. 2. Introduce new devtools IPC message to distinguish debugger messages and process them on IO thread so that debugger commands can be processed when v8 is stopped on a breakpoint bloking the render thread. 3. Added RPC message to allow devtool client evaluating JS expressions in the context of the inspected page. Review URL: http://codereview.chromium.org/42594 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12639 0039d316-1c4b-4281-b951-d872f2087c98
* Wire 'Inspect Element' action to the new DevTools (depending on the devtools ↵pfeldman@chromium.org2009-03-241-1/+20
| | | | | | | | | | | | | | flag): - Add new devtools IPC message - Expose WebView's hit target - Refactor dom_agent interaction not to send information known to client - Collect incoming messages on the client until frontend is loaded - Add Inspect Element scenario into the devtools_host_stub Review URL: http://codereview.chromium.org/45022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12355 0039d316-1c4b-4281-b951-d872f2087c98
* DevToolsClient frontend improvements:pfeldman@chromium.org2009-03-231-192/+46
| | | | | | | | | | | 1. Move callbacks processing to the frontend 2. Dispatch calls directly to Javascript 3. Create CppBoundObject per agent flavor and wire it to IPC 4. Introduce Remote*Agent abstraction in the frontend Review URL: http://codereview.chromium.org/42486 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12275 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for Javascript function callbacks into the WebDevToolsClient.pfeldman@chromium.org2009-03-201-13/+42
| | | | | | Review URL: http://codereview.chromium.org/42443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12189 0039d316-1c4b-4281-b951-d872f2087c98
* Make Rpc dispatch in DevTools static, remove redundant JSON parsing.pfeldman@chromium.org2009-03-181-3/+6
| | | | | | Review URL: http://codereview.chromium.org/44007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11957 0039d316-1c4b-4281-b951-d872f2087c98
* Commit 40144. I had to move to to a separate CL to use gcl'saa@chromium.org2009-03-131-4/+1
| | | | | | | | "try multiple commits" feature. Review URL: http://codereview.chromium.org/46062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11683 0039d316-1c4b-4281-b951-d872f2087c98
* - Provide Rpc classes with unique ids so that their message id spaces do not ↵pfeldman@chromium.org2009-03-131-8/+8
| | | | | | | | | | | intersect; - Implement tests for DevToolsRpc - Do not import PlatformString in headers Review URL: http://codereview.chromium.org/43141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11626 0039d316-1c4b-4281-b951-d872f2087c98
* Initial WebDevToolsAgent implementation contains two agent objects: Dom agentpfeldman@chromium.org2009-03-121-0/+225
and Net agent. Dom agent provides API for querying for DOM nodes and receiving notifications on Dom updates. It has some logic in and this logic is covered with the unit tests. Net agent pushes an initial set of request/response-related events to the client. It is to be filled with more data later on. It currently caches loaders for all the requests which is Ok for the case when this agent is turned ON (at least for now). Note that this code is not yet wired to the dev tools agent (this is by design). The plan is to start enrolling the dev tools agent glue that connects these sub-agents with the IPC transport once this CL is in. Original CL: http://codereview.chromium.org/41008/show Review URL: http://codereview.chromium.org/43128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11531 0039d316-1c4b-4281-b951-d872f2087c98