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

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

Issue 591313006: Revert of [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: Created 6 years, 2 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE; 72 virtual void AboutToNavigateRenderView(RenderViewHost* dest_rvh) OVERRIDE;
73 virtual void RenderViewHostChanged(RenderViewHost* old_host, 73 virtual void RenderViewHostChanged(RenderViewHost* old_host,
74 RenderViewHost* new_host) OVERRIDE; 74 RenderViewHost* new_host) OVERRIDE;
75 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE; 75 virtual void RenderViewDeleted(RenderViewHost* rvh) OVERRIDE;
76 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 76 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
77 virtual bool OnMessageReceived(const IPC::Message& message, 77 virtual bool OnMessageReceived(const IPC::Message& message,
78 RenderFrameHost* render_frame_host) OVERRIDE; 78 RenderFrameHost* render_frame_host) OVERRIDE;
79 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 79 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
80 virtual void DidAttachInterstitialPage() OVERRIDE; 80 virtual void DidAttachInterstitialPage() OVERRIDE;
81 virtual void DidDetachInterstitialPage() OVERRIDE; 81 virtual void DidDetachInterstitialPage() OVERRIDE;
82 virtual void TitleWasSet(NavigationEntry* entry, bool explicit_set) OVERRIDE;
83 virtual void NavigationEntryCommitted(
84 const LoadCommittedDetails& load_details) OVERRIDE;
85 82
86 // NotificationObserver overrides: 83 // NotificationObserver overrides:
87 virtual void Observe(int type, 84 virtual void Observe(int type,
88 const NotificationSource& source, 85 const NotificationSource& source,
89 const NotificationDetails& details) OVERRIDE; 86 const NotificationDetails& details) OVERRIDE;
90 87
91 void DisconnectRenderViewHost(); 88 void DisconnectRenderViewHost();
92 void ConnectRenderViewHost(RenderViewHost* rvh); 89 void ConnectRenderViewHost(RenderViewHost* rvh);
93 void ReattachToRenderViewHost(RenderViewHost* rvh); 90 void ReattachToRenderViewHost(RenderViewHost* rvh);
94 91
(...skipping 27 matching lines...) Expand all
122 std::string state_; 119 std::string state_;
123 NotificationRegistrar registrar_; 120 NotificationRegistrar registrar_;
124 bool reattaching_; 121 bool reattaching_;
125 122
126 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 123 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
127 }; 124 };
128 125
129 } // namespace content 126 } // namespace content
130 127
131 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 128 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698