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

Side by Side Diff: content/browser/debugger/devtools_manager.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | « content/browser/cert_store.cc ('k') | content/browser/debugger/devtools_manager.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DEBUGGER_DEVTOOLS_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 virtual ~DevToolsManager(); 92 virtual ~DevToolsManager();
93 93
94 // DevToolsClientHost::CloseListener override. 94 // DevToolsClientHost::CloseListener override.
95 // This method will remove all references from the manager to the 95 // This method will remove all references from the manager to the
96 // DevToolsClientHost and unregister all listeners related to the 96 // DevToolsClientHost and unregister all listeners related to the
97 // DevToolsClientHost. 97 // DevToolsClientHost.
98 virtual void ClientHostClosing(DevToolsClientHost* host); 98 virtual void ClientHostClosing(DevToolsClientHost* host);
99 99
100 // Overridden from NotificationObserver: 100 // Overridden from NotificationObserver:
101 virtual void Observe(NotificationType type, 101 virtual void Observe(int type,
102 const NotificationSource& source, 102 const NotificationSource& source,
103 const NotificationDetails& details); 103 const NotificationDetails& details);
104 104
105 // Returns RenderViewHost for the tab that is inspected by devtools 105 // Returns RenderViewHost for the tab that is inspected by devtools
106 // client hosted by DevToolsClientHost. 106 // client hosted by DevToolsClientHost.
107 RenderViewHost* GetInspectedRenderViewHost(DevToolsClientHost* client_host); 107 RenderViewHost* GetInspectedRenderViewHost(DevToolsClientHost* client_host);
108 108
109 void SendAttachToAgent(RenderViewHost* inspected_rvh); 109 void SendAttachToAgent(RenderViewHost* inspected_rvh);
110 void SendDetachToAgent(RenderViewHost* inspected_rvh); 110 void SendDetachToAgent(RenderViewHost* inspected_rvh);
111 111
(...skipping 27 matching lines...) Expand all
139 OrphanClientHosts; 139 OrphanClientHosts;
140 OrphanClientHosts orphan_client_hosts_; 140 OrphanClientHosts orphan_client_hosts_;
141 int last_orphan_cookie_; 141 int last_orphan_cookie_;
142 142
143 NotificationRegistrar registrar_; 143 NotificationRegistrar registrar_;
144 144
145 DISALLOW_COPY_AND_ASSIGN(DevToolsManager); 145 DISALLOW_COPY_AND_ASSIGN(DevToolsManager);
146 }; 146 };
147 147
148 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_ 148 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/cert_store.cc ('k') | content/browser/debugger/devtools_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698