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

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

Issue 577923002: [DevTools] Implement DevToolsManager::Observer which notifies about target updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-enumerate-to-dtm-delegate
Patch Set: rebased Created 6 years, 3 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; 69 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE;
70 virtual void RenderViewHostChanged(RenderViewHost* old_host, 70 virtual void RenderViewHostChanged(RenderViewHost* old_host,
71 RenderViewHost* new_host) OVERRIDE; 71 RenderViewHost* new_host) OVERRIDE;
72 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE; 72 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE;
73 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 73 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
74 virtual bool OnMessageReceived(const IPC::Message& message, 74 virtual bool OnMessageReceived(const IPC::Message& message,
75 RenderFrameHost* render_frame_host) OVERRIDE; 75 RenderFrameHost* render_frame_host) OVERRIDE;
76 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 76 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
77 virtual void DidAttachInterstitialPage() OVERRIDE; 77 virtual void DidAttachInterstitialPage() OVERRIDE;
78 virtual void DidDetachInterstitialPage() OVERRIDE; 78 virtual void DidDetachInterstitialPage() OVERRIDE;
79 virtual void TitleWasSet(NavigationEntry* entry, bool explicit_set) OVERRIDE;
80 virtual void NavigationEntryCommitted(
81 const LoadCommittedDetails& load_details) OVERRIDE;
pfeldman 2014/09/22 16:16:50 wrong indent
dgozman 2014/09/24 13:18:28 Done.
79 82
80 // NotificationObserver overrides: 83 // NotificationObserver overrides:
81 virtual void Observe(int type, 84 virtual void Observe(int type,
82 const NotificationSource& source, 85 const NotificationSource& source,
83 const NotificationDetails& details) OVERRIDE; 86 const NotificationDetails& details) OVERRIDE;
84 87
85 void DisconnectRenderViewHost(); 88 void DisconnectRenderViewHost();
86 void ConnectRenderViewHost(RenderViewHost* rvh); 89 void ConnectRenderViewHost(RenderViewHost* rvh);
87 void ReattachToRenderViewHost(RenderViewHost* rvh); 90 void ReattachToRenderViewHost(RenderViewHost* rvh);
88 91
(...skipping 24 matching lines...) Expand all
113 std::string state_; 116 std::string state_;
114 NotificationRegistrar registrar_; 117 NotificationRegistrar registrar_;
115 bool reattaching_; 118 bool reattaching_;
116 119
117 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 120 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
118 }; 121 };
119 122
120 } // namespace content 123 } // namespace content
121 124
122 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 125 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698