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

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: fixed test flakiness 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;
82 85
83 // NotificationObserver overrides: 86 // NotificationObserver overrides:
84 virtual void Observe(int type, 87 virtual void Observe(int type,
85 const NotificationSource& source, 88 const NotificationSource& source,
86 const NotificationDetails& details) OVERRIDE; 89 const NotificationDetails& details) OVERRIDE;
87 90
88 void DisconnectRenderViewHost(); 91 void DisconnectRenderViewHost();
89 void ConnectRenderViewHost(RenderViewHost* rvh); 92 void ConnectRenderViewHost(RenderViewHost* rvh);
90 void ReattachToRenderViewHost(RenderViewHost* rvh); 93 void ReattachToRenderViewHost(RenderViewHost* rvh);
91 94
(...skipping 27 matching lines...) Expand all
119 std::string state_; 122 std::string state_;
120 NotificationRegistrar registrar_; 123 NotificationRegistrar registrar_;
121 bool reattaching_; 124 bool reattaching_;
122 125
123 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost); 126 DISALLOW_COPY_AND_ASSIGN(RenderViewDevToolsAgentHost);
124 }; 127 };
125 128
126 } // namespace content 129 } // namespace content
127 130
128 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_ 131 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_VIEW_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698