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

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

Issue 493213004: [DevTools] Implement Inspector.interstitial events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed comments 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/devtools/render_view_devtools_agent_host.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) 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // WebContentsObserver overrides. 63 // WebContentsObserver overrides.
64 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; 64 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE;
65 virtual void RenderViewHostChanged(RenderViewHost* old_host, 65 virtual void RenderViewHostChanged(RenderViewHost* old_host,
66 RenderViewHost* new_host) OVERRIDE; 66 RenderViewHost* new_host) OVERRIDE;
67 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE; 67 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE;
68 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 68 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
69 virtual bool OnMessageReceived(const IPC::Message& message, 69 virtual bool OnMessageReceived(const IPC::Message& message,
70 RenderFrameHost* render_frame_host) OVERRIDE; 70 RenderFrameHost* render_frame_host) OVERRIDE;
71 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 71 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
72 virtual void DidAttachInterstitialPage() OVERRIDE; 72 virtual void DidAttachInterstitialPage() OVERRIDE;
73 virtual void DidDetachInterstitialPage() OVERRIDE;
73 74
74 // NotificationObserver overrides: 75 // NotificationObserver overrides:
75 virtual void Observe(int type, 76 virtual void Observe(int type,
76 const NotificationSource& source, 77 const NotificationSource& source,
77 const NotificationDetails& details) OVERRIDE; 78 const NotificationDetails& details) OVERRIDE;
78 79
79 void DisconnectRenderViewHost(); 80 void DisconnectRenderViewHost();
80 void ConnectRenderViewHost(RenderViewHost* rvh); 81 void ConnectRenderViewHost(RenderViewHost* rvh);
81 void ReattachToRenderViewHost(RenderViewHost* rvh); 82 void ReattachToRenderViewHost(RenderViewHost* rvh);
82 83
(...skipping 24 matching lines...) Expand all
107 std::string state_; 108 std::string state_;
108 NotificationRegistrar registrar_; 109 NotificationRegistrar registrar_;
109 bool reattaching_; 110 bool reattaching_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 112 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
112 }; 113 };
113 114
114 } // namespace content 115 } // namespace content
115 116
116 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 117 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/render_view_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698