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

Side by Side Diff: chrome/browser/extensions/extension_devtools_bridge.h

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 11 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
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 CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 13 matching lines...) Expand all
24 bool RegisterAsDevToolsClientHost(); 24 bool RegisterAsDevToolsClientHost();
25 void UnregisterAsDevToolsClientHost(); 25 void UnregisterAsDevToolsClientHost();
26 26
27 // DevToolsClientHost, called when the tab inspected by this client is 27 // DevToolsClientHost, called when the tab inspected by this client is
28 // closing. 28 // closing.
29 virtual void InspectedTabClosing() OVERRIDE; 29 virtual void InspectedTabClosing() OVERRIDE;
30 30
31 // DevToolsClientHost, called to dispatch a message on this client. 31 // DevToolsClientHost, called to dispatch a message on this client.
32 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE; 32 virtual void DispatchOnInspectorFrontend(const std::string& message) OVERRIDE;
33 33
34 virtual void TabReplaced(TabContents* new_tab) OVERRIDE; 34 virtual void TabReplaced(content::WebContents* new_tab) OVERRIDE;
35 35
36 private: 36 private:
37 virtual void FrameNavigating(const std::string& url) OVERRIDE {} 37 virtual void FrameNavigating(const std::string& url) OVERRIDE {}
38 38
39 // ID of the tab we are monitoring. 39 // ID of the tab we are monitoring.
40 int tab_id_; 40 int tab_id_;
41 41
42 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; 42 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;
43 43
44 // Profile that owns our tab 44 // Profile that owns our tab
45 Profile* profile_; 45 Profile* profile_;
46 46
47 // The names of the events fired at extensions depend on the tab id, 47 // The names of the events fired at extensions depend on the tab id,
48 // so we store the various event names in each bridge. 48 // so we store the various event names in each bridge.
49 const std::string on_page_event_name_; 49 const std::string on_page_event_name_;
50 const std::string on_tab_close_event_name_; 50 const std::string on_tab_close_event_name_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge); 52 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge);
53 }; 53 };
54 54
55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_debugger_api.cc ('k') | chrome/browser/extensions/extension_devtools_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698