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

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: Fixed MockConetentBrowserClient 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/renderer/devtools_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void sendDebuggerOutput(const WebKit::WebString& data); 47 virtual void sendDebuggerOutput(const WebKit::WebString& data);
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 virtual void clearBrowserCache();
58 virtual void clearBrowserCookies();
57 59
58 void OnAttach(const DevToolsRuntimeProperties& runtime_properties); 60 void OnAttach(const DevToolsRuntimeProperties& runtime_properties);
59 void OnDetach(); 61 void OnDetach();
60 void OnFrontendLoaded(); 62 void OnFrontendLoaded();
61 void OnDispatchOnInspectorBackend(const std::string& message); 63 void OnDispatchOnInspectorBackend(const std::string& message);
62 void OnInspectElement(int x, int y); 64 void OnInspectElement(int x, int y);
63 void OnSetApuAgentEnabled(bool enabled); 65 void OnSetApuAgentEnabled(bool enabled);
64 void OnNavigate(); 66 void OnNavigate();
65 void OnSetupDevToolsClient(); 67 void OnSetupDevToolsClient();
66 68
67 static std::map<int, DevToolsAgent*> agent_for_routing_id_; 69 static std::map<int, DevToolsAgent*> agent_for_routing_id_;
68 70
69 bool expose_v8_debugger_protocol_; 71 bool expose_v8_debugger_protocol_;
70 72
71 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 73 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
72 }; 74 };
73 75
74 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_ 76 #endif // CHROME_RENDERER_DEVTOOLS_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/renderer/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698