summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_impl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge 32174 - Adds auto continue option on Debugger Agent to avoid pausing the.pfeldman@chromium.org2009-11-181-0/+1
| | | | | | | | | | | | | Original review: http://codereview.chromium.org/395027. TBR=knorton Review URL: http://codereview.chromium.org/402014 TBR=pfeldman@chromium.org Review URL: http://codereview.chromium.org/402046 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@32312 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-8/+8
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebViewImpl's dependency on WebDevToolsAgentImpl.darin@chromium.org2009-11-031-6/+12
| | | | | | | | | | | | | | | | | | This CL decouples the implementation of WebDevToolsAgent from the implementation of WebViewImpl. While this allows me to postpone the uplift of glue/devtools into webkit/api/src, I think it also has the advantage of simplifying dependencies. WebDevToolsAgentPrivate is introduced for the method calls made by the FrameLoaderClientImpl to the WebDevToolsAgentImpl. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/342092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30833 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: support cross-navigation instrumentation.pfeldman@chromium.org2009-11-021-18/+69
| | | | | | Review URL: http://codereview.chromium.org/343075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30713 0039d316-1c4b-4281-b951-d872f2087c98
* Moves webview_impl.cc, webframe_impl.cc and webframeloaderclient_impl.cc intodarin@chromium.org2009-10-301-1/+4
| | | | | | | | | | | | webkit/api/src. R=yaar BUG=25896,25897,25902 TEST=none Review URL: http://codereview.chromium.org/341030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30558 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Not all resources are displayed in Resources tabpfeldman@chromium.org2009-10-291-1/+1
| | | | | | | | BUG=26056 Review URL: http://codereview.chromium.org/342036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30458 0039d316-1c4b-4281-b951-d872f2087c98
* This patch changes the call to enableResourceTracking on InspectorController ↵jamesr@chromium.org2009-10-281-1/+1
| | | | | | | | | | | | | to not trigger a page reload in the enabling of the APU agent. Patch by Jaime Yap (jaimeyap@google.com) TEST=none BUG=none Review URL: http://codereview.chromium.org/334022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30288 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebDevToolsAgent{Delegate} into the WebKit API.darin@chromium.org2009-10-171-39/+40
| | | | | | | | | | | | | | | | | Moves corresponding WebView and WebViewDelegate methods too. This uses the term "Frontend" for what was previously known as "Client" in the devtools interfaces. This is to avoid awkward "ClientClient" naming. Frontend was Pavel Feldman's suggested renaming. In a follow up patch, I will be renaming WebDevToolsClient{Delegate} to WebDevToolsFrontend{Client}. R=dglazkov BUG=24597 TEST=none Review URL: http://codereview.chromium.org/287009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29369 0039d316-1c4b-4281-b951-d872f2087c98
* Convert devtools interfaces over to using WebString.darin@chromium.org2009-10-161-20/+35
| | | | | | | | | | | | | | | | | | | | | | | | Also converts some internal std::string usage to WebCore::String. Note: copying WebString to WebCore::String is very cheap (just increments a reference count). The ugly WebStringToString and StringToWebString calls inside the devtools implementation are temporary. Once this code moves into the WebKit API implementation, those methods will go away. I thought about changing the devtools IPCs to use string16 instead of std::string because that would avoid the UTF8 conversions. I'm not sure if that is worth it though given that UTF16 would increase the amount of data being sent over IPC. I figure this is something that could be studied later. R=pfeldman BUG=24597 TEST=none Review URL: http://codereview.chromium.org/264077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29286 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable APU agent now that https://bugs.webkit.org/show_bug.cgi?id=30135pfeldman@chromium.org2009-10-151-6/+2
| | | | | | | | TBR=knorton Review URL: http://codereview.chromium.org/267119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29125 0039d316-1c4b-4281-b951-d872f2087c98
* Removes parameter from calls to InspectorController::enableTimeline. These arejamesr@chromium.org2009-10-131-2/+6
| | | | | | | | | Chromium changes that correspond to this WebKit change: https://bugs.webkit.org/show_bug.cgi?id=30135 Review URL: http://codereview.chromium.org/274024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28898 0039d316-1c4b-4281-b951-d872f2087c98
* Enables the sending of Timeline Agent and Resource messages to the devtools ↵jamesr@chromium.org2009-10-121-0/+54
| | | | | | | | api in extensions. Review URL: http://codereview.chromium.org/267013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28761 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: enable databases panel.pfeldman@chromium.org2009-10-121-4/+12
| | | | | | Review URL: http://codereview.chromium.org/265015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28697 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up webkit/api/public/WebView.hdarin@chromium.org2009-09-301-1/+1
| | | | | | | | | | | | | | This change does not completely eliminate webkit/glue/webview.h. Instead, the old WebView extends from the new WebView temporarily as we complete the transition. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/257001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27620 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Get rid of utility functions and ExecuteUtilityFunction as a ↵pfeldman@chromium.org2009-09-211-3/+15
| | | | | | | | whole. Eliminates the need in double-JSON of InjectedScript-related functions. Review URL: http://codereview.chromium.org/201017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26684 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: call a no-op function from the utility context to trigger v8 ↵yurys@google.com2009-09-041-0/+4
| | | | | | | | execution instead of evaluating javascript:void(0). This way we don't need to filter out AfterCompile events for 'javascript:void(0)' scripts. Review URL: http://codereview.chromium.org/195013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25439 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: create InspectorBackend v8 wrapper in the utility context so that ↵yurys@google.com2009-09-021-3/+50
| | | | | | | | | it's methods prototype is Function.protoype object from the utility context. Otherwise some useful methods defined on Function.prototype(such as bind) are missing for InspectorController native methods. It caused an exception in InjectedScript._ensureCommandLineAPIInstalled. Review URL: http://codereview.chromium.org/188006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25163 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Close inspector controller on detach; hide node highlight on ↵pfeldman@chromium.org2009-09-011-1/+2
| | | | | | | | | | detach; mitigate new callframe migration in WebKit. BUG=20554 Review URL: http://codereview.chromium.org/178053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25023 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: reset ScriptState in InspectorController on page refresh.pfeldman@chromium.org2009-08-271-19/+26
| | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/178003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24653 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove base/values dependency from devtools.pfeldman@chromium.org2009-08-271-8/+10
| | | | | | Review URL: http://codereview.chromium.org/173480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24623 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: wire Inspect Element action to DOMAgent-enabled inspector controller.pfeldman@chromium.org2009-08-211-0/+2
| | | | | | | TBR=mnaganov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23949 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove resource panel-related RPC methods.pfeldman@chromium.org2009-08-201-24/+15
| | | | | | Review URL: http://codereview.chromium.org/174142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23817 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Reset utility context for given document only once.pfeldman@chromium.org2009-08-181-48/+24
| | | | | | Review URL: http://codereview.chromium.org/172091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23621 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: dom_agent is dead. Long live InspectorDOMAgent.pfeldman@chromium.org2009-08-141-70/+7
| | | | | | Review URL: http://codereview.chromium.org/165526 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23429 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Chromium canary^h^h^h^H parrot build: remove ↵levin@chromium.org2009-08-131-4/+5
| | | | | | | | | | | | | | | InspectorController::clearConsole call. Landing for pfeldman@chromium.org TBR=mnaganov BUG=None TEST=None Review URL: http://codereview.chromium.org/165498 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23391 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to WebFrame from the WebKit API.darin@chromium.org2009-08-101-1/+2
| | | | | | | | | | | | | | | 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
* Roll to WebKit 46490. DevTools: Migrate to the new ScriptObject API.pinkerton@chromium.org2009-07-281-2/+5
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21853 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit to r46426.pkasting@chromium.org2009-07-271-7/+2
| | | | | | | | | 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-2/+7
| | | | | | | | | | 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-7/+2
| | | | | | InspectorBackend. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21680 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and resultyurys@google.com2009-07-271-0/+9
| | | | | | | | | | | wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21635 Review URL: http://codereview.chromium.org/159395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21637 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21635.yurys@google.com2009-07-271-9/+0
| | | | | | Review URL: http://codereview.chromium.org/159399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21636 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and resultyurys@google.com2009-07-271-0/+9
| | | | | | | | | wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Review URL: http://codereview.chromium.org/159395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21635 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add hints for the DEPs roll of InspectorBackend.pfeldman@chromium.org2009-07-251-1/+7
| | | | | | Review URL: http://codereview.chromium.org/160101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21616 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21525.yurys@google.com2009-07-241-9/+0
| | | | | | Review URL: http://codereview.chromium.org/160100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21529 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and ↵yurys@google.com2009-07-241-0/+9
| | | | | | | | result wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Review URL: http://codereview.chromium.org/160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21525 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: provisional commit for new WebInspector's 'last opened panel' change.pfeldman@chromium.org2009-07-151-0/+7
| | | | | | Review URL: http://codereview.chromium.org/149613 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20751 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow reload while on a breakpoint: detach agent on navigation ↵pfeldman@chromium.org2009-07-131-0/+4
| | | | | | | | | | attempt. BUG=16606 Review URL: http://codereview.chromium.org/149529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20480 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPSabarth@chromium.org2009-07-091-1/+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: Push context id to the client on 'window object cleared' event.pfeldman@chromium.org2009-07-081-0/+4
| | | | | | Review URL: http://codereview.chromium.org/155217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20146 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Revert 19813 since it creates more problems than solves.pfeldman@chromium.org2009-07-021-11/+2
| | | | | | | TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19823 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Set up utility context earlier (prevent from crash).pfeldman@chromium.org2009-07-021-4/+14
| | | | | | Review URL: http://codereview.chromium.org/150220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19813 0039d316-1c4b-4281-b951-d872f2087c98
* Delete V8Proxy and V8Utilities and use upstreamed versions.japhet@chromium.org2009-06-291-3/+3
| | | | | | 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-3/+3
| | | | | | 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-3/+3
| | | | | | | | | 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
* Delete files from webkit/glue that have been made obsolete by correspondingdarin@chromium.org2009-06-181-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files in webkit/api. Here's the mapping: webkit/glue/webdatasource.h -> webkit/api/public/WebDataSource.h webkit/glue/weberror.h -> webkit/api/public/WebURLError.h webkit/glue/weburlrequest.h -> webkit/api/public/WebURLRequest.h webkit/glue/webresponse.h -> webkit/api/public/WebURLResponse.h I kept the implementation of WebDataSource in webkit/glue for now because it helps to have it close to WebFrameImpl and WebFrameLoaderClient. To facilitate this change, I needed to make use of WrappedResourceRequest and WrappedResourceResponse from webkit/api/src within the implementation files of webkit/glue. This is only a temporary usage of webkit/api/src from the outside. It will go away when WebFrame, etc. get moved into webkit/api. I modified these wrapper classes to expose the 'bind' function so that I can re-bind a wrapper. This is used in WebDataSourceImpl::request() and related methods to allow the interface to return a const reference to a WebURLRequest and WebURLResponse. The changes here are fairly mechanical. I'm not too happy about the way WebDataSource::redirectChain now works. I would prefer a solution that didn't involve so much copying, but I'm not going to worry about optimizing that now. R=brettw BUG=10041 TEST=none Review URL: http://codereview.chromium.org/126286 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18747 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: the context should be disposed to releas scripts and other ↵yurys@google.com2009-06-181-0/+5
| | | | | | | | resources it may hold. Review URL: http://codereview.chromium.org/132012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18699 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add support for dumping objects into the console. (Take 2).pfeldman@chromium.org2009-06-171-28/+32
| | | | | | | | BUG=13851 Review URL: http://codereview.chromium.org/126270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18617 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 18484 - DevTools: Add support for dumping objects into the console.laforge@chromium.org2009-06-161-32/+28
| | | | | | | | | | Review URL: http://codereview.chromium.org/126132 TBR=pfeldman@chromium.org Review URL: http://codereview.chromium.org/126217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18509 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add support for dumping objects into the console.pfeldman@chromium.org2009-06-161-28/+32
| | | | | | Review URL: http://codereview.chromium.org/126132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18484 0039d316-1c4b-4281-b951-d872f2087c98