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

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

Issue 6094004: Bring back 'navigated' notification for --remote-shell-port protocol (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 16 matching lines...) Expand all
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(); 29 virtual void InspectedTabClosing();
30 30
31 // DevToolsClientHost, called to send a message to this host. 31 // DevToolsClientHost, called to send a message to this host.
32 virtual void SendMessageToClient(const IPC::Message& msg); 32 virtual void SendMessageToClient(const IPC::Message& msg);
33 33
34 private: 34 private:
35 void OnDispatchOnInspectorFrontend(const std::string& data); 35 void OnDispatchOnInspectorFrontend(const std::string& data);
36 36
37 virtual void FrameNavigating(const std::string& url) {}
38
37 // ID of the tab we are monitoring. 39 // ID of the tab we are monitoring.
38 int tab_id_; 40 int tab_id_;
39 41
40 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_; 42 scoped_refptr<ExtensionDevToolsManager> extension_devtools_manager_;
41 scoped_refptr<ExtensionMessageService> extension_message_service_; 43 scoped_refptr<ExtensionMessageService> extension_message_service_;
42 44
43 // Profile that owns our tab 45 // Profile that owns our tab
44 Profile* profile_; 46 Profile* profile_;
45 47
46 // The names of the events fired at extensions depend on the tab id, 48 // The names of the events fired at extensions depend on the tab id,
47 // so we store the various event names in each bridge. 49 // so we store the various event names in each bridge.
48 const std::string on_page_event_name_; 50 const std::string on_page_event_name_;
49 const std::string on_tab_close_event_name_; 51 const std::string on_tab_close_event_name_;
50 52
51 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge); 53 DISALLOW_COPY_AND_ASSIGN(ExtensionDevToolsBridge);
52 }; 54 };
53 55
54 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_ 56 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DEVTOOLS_BRIDGE_H_
55 57
OLDNEW
« no previous file with comments | « chrome/browser/debugger/inspectable_tab_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698