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

Side by Side Diff: content/browser/devtools/render_view_devtools_agent_host.h

Issue 459403002: DevTools: Added service workers to remote debugging targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed constants Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 41
42 RenderViewDevToolsAgentHost(RenderViewHost*); 42 RenderViewDevToolsAgentHost(RenderViewHost*);
43 43
44 void SynchronousSwapCompositorFrame( 44 void SynchronousSwapCompositorFrame(
45 const cc::CompositorFrameMetadata& frame_metadata); 45 const cc::CompositorFrameMetadata& frame_metadata);
46 46
47 // DevTooolsAgentHost overrides. 47 // DevTooolsAgentHost overrides.
48 virtual void DisconnectWebContents() OVERRIDE; 48 virtual void DisconnectWebContents() OVERRIDE;
49 virtual void ConnectWebContents(WebContents* web_contents) OVERRIDE; 49 virtual void ConnectWebContents(WebContents* web_contents) OVERRIDE;
50 virtual WebContents* GetWebContents() OVERRIDE; 50 virtual WebContents* GetWebContents() OVERRIDE;
51 virtual std::string GetType() OVERRIDE;
52 virtual std::string GetTitle() OVERRIDE;
53 virtual GURL GetURL() OVERRIDE;
54 virtual bool Activate() OVERRIDE;
55 virtual bool Close() OVERRIDE;
51 56
52 private: 57 private:
53 friend class DevToolsAgentHost; 58 friend class DevToolsAgentHost;
54 virtual ~RenderViewDevToolsAgentHost(); 59 virtual ~RenderViewDevToolsAgentHost();
55 60
56 // IPCDevToolsAgentHost overrides. 61 // IPCDevToolsAgentHost overrides.
57 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE; 62 virtual void DispatchOnInspectorBackend(const std::string& message) OVERRIDE;
58 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE; 63 virtual void SendMessageToAgent(IPC::Message* msg) OVERRIDE;
59 virtual void OnClientAttached() OVERRIDE; 64 virtual void OnClientAttached() OVERRIDE;
60 virtual void OnClientDetached() OVERRIDE; 65 virtual void OnClientDetached() OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 std::string state_; 111 std::string state_;
107 NotificationRegistrar registrar_; 112 NotificationRegistrar registrar_;
108 bool reattaching_; 113 bool reattaching_;
109 114
110 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 115 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
111 }; 116 };
112 117
113 } // namespace content 118 } // namespace content
114 119
115 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 120 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698