Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: chrome/renderer/devtools_agent.h

Issue 7322008: Enable clear cache/cookies support in developer tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_DEVTOOLS_AGENT_H_ 5 #ifndef CHROME_RENDERER_DEVTOOLS_AGENT_H_
6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_ 6 #define CHROME_RENDERER_DEVTOOLS_AGENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 virtual int hostIdentifier(); 49 virtual int hostIdentifier();
50 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature, 50 virtual void runtimeFeatureStateChanged(const WebKit::WebString& feature,
51 bool enabled); 51 bool enabled);
52 virtual void runtimePropertyChanged(const WebKit::WebString& name, 52 virtual void runtimePropertyChanged(const WebKit::WebString& name,
53 const WebKit::WebString& value); 53 const WebKit::WebString& value);
54 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop* 54 virtual WebKit::WebDevToolsAgentClient::WebKitClientMessageLoop*
55 createClientMessageLoop(); 55 createClientMessageLoop();
56 virtual bool exposeV8DebuggerProtocol(); 56 virtual bool exposeV8DebuggerProtocol();
57 57
58 virtual void clearBrowserCache();
59 virtual void clearBrowserCookies();
60
58 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); 61 void OnAttach(const DevToolsRuntimeProperties& runtime_properties);
59 void OnDetach(); 62 void OnDetach();
60 void OnFrontendLoaded(); 63 void OnFrontendLoaded();
61 void OnDispatchOnInspectorBackend(const std::string& message); 64 void OnDispatchOnInspectorBackend(const std::string& message);
62 void OnInspectElement(int x, int y); 65 void OnInspectElement(int x, int y);
63 void OnSetApuAgentEnabled(bool enabled); 66 void OnSetApuAgentEnabled(bool enabled);
64 void OnNavigate(); 67 void OnNavigate();
65 void OnSetupDevToolsClient(); 68 void OnSetupDevToolsClient();
66 69
67 static std::map<int, DevToolsAgent*> agent_for_routing_id_; 70 static std::map<int, DevToolsAgent*> agent_for_routing_id_;
68 71
69 bool expose_v8_debugger_protocol_; 72 bool expose_v8_debugger_protocol_;
70 73
71 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 74 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
72 }; 75 };
73 76
74 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ 77 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698