Changeset 96682 in webkit


Ignore:
Timestamp:
Oct 5, 2011 1:21:59 AM (13 years ago)
Author:
yurys@chromium.org
Message:

[Chromium] Web Inspector: save inspector state into single string instead of string map
https://bugs.webkit.org/show_bug.cgi?id=69335

Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.

Reviewed by Pavel Feldman.

  • public/WebDevToolsAgent.h:
  • public/WebDevToolsAgentClient.h:
  • src/WebDevToolsAgentImpl.cpp:

(WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):

  • src/WebDevToolsAgentImpl.h:
Location:
trunk/Source/WebKit/chromium
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r96678 r96682  
     12011-10-04  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        [Chromium] Web Inspector: save inspector state into single string instead of string map
     4        https://bugs.webkit.org/show_bug.cgi?id=69335
     5
     6        Now that Chromium side is updated, remove unused methods from the DevToolsAgent API.
     7
     8        Reviewed by Pavel Feldman.
     9
     10        * public/WebDevToolsAgent.h:
     11        * public/WebDevToolsAgentClient.h:
     12        * src/WebDevToolsAgentImpl.cpp:
     13        (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
     14        * src/WebDevToolsAgentImpl.h:
     15
    1162011-10-04  Kent Tamura  <tkent@chromium.org>
    217
  • trunk/Source/WebKit/chromium/public/WebDevToolsAgent.h

    r96590 r96682  
    6666
    6767    virtual void inspectElementAt(const WebPoint&) = 0;
    68     // Deprecated. Will be removed shortly.
    69     virtual void setRuntimeProperty(const WebString& name, const WebString& value) = 0;
    7068    virtual void setProcessId(long) = 0;
    7169
  • trunk/Source/WebKit/chromium/public/WebDevToolsAgentClient.h

    r96590 r96682  
    4747    virtual int hostIdentifier() { return -1; }
    4848
    49     // Notifies host upon runtime feature being enabled/disabled.
    50     virtual void runtimePropertyChanged(const WebString& name, const WebString& value) { }
    5149    // Save the agent state in order to pass it later into WebDevToolsAgent::reattach
    5250    // if the same client is reattached to another agent.
  • trunk/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp

    r96590 r96682  
    7272namespace WebKit {
    7373
    74 static const char kFrontendConnectedFeatureName[] = "frontend-connected";
    75 static const char kInspectorStateFeatureName[] = "inspector-state";
    76 
    7774class ClientMessageLoopAdapter : public PageScriptDebugServer::ClientMessageLoop {
    7875public:
     
    251248}
    252249
    253 void WebDevToolsAgentImpl::setRuntimeProperty(const WebString& name, const WebString& value)
    254 {
    255     if (name == kInspectorStateFeatureName) {
    256         InspectorController* ic = inspectorController();
    257         ic->restoreInspectorStateFromCookie(value);
    258     }
    259 }
    260 
    261250InspectorController* WebDevToolsAgentImpl::inspectorController()
    262251{
     
    312301void WebDevToolsAgentImpl::updateInspectorStateCookie(const String& state)
    313302{
    314     m_client->runtimePropertyChanged(kInspectorStateFeatureName, state);
    315303    m_client->saveAgentRuntimeState(state);
    316304}
  • trunk/Source/WebKit/chromium/src/WebDevToolsAgentImpl.h

    r96590 r96682  
    8282    virtual void evaluateInWebInspector(long callId, const WebString& script);
    8383    virtual void setJavaScriptProfilingEnabled(bool);
    84     virtual void setRuntimeProperty(const WebString& name, const WebString& value);
    8584    virtual void setProcessId(long);
    8685
Note: See TracChangeset for help on using the changeset viewer.