summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_devtools_bridge.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 23:25:14 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-31 23:25:14 +0000
commit2914600dedd1b9c37b3844d5f878c063a7d2c106 (patch)
treec2d343dda665060d69b7167154074452a8918764 /chrome/browser/extensions/extension_devtools_bridge.h
parent5f372f899b8709dac700710b5f0f90959dcf9ecb (diff)
downloadchromium_src-2914600dedd1b9c37b3844d5f878c063a7d2c106.zip
chromium_src-2914600dedd1b9c37b3844d5f878c063a7d2c106.tar.gz
chromium_src-2914600dedd1b9c37b3844d5f878c063a7d2c106.tar.bz2
Makes devtools handle tab replaced notification. This
works, but it causes a rather noticable flash as the inspector reloads. Do you have a suggestion of making it not do that? For background, when instant is enabled as you type in the omnibox a new tabcontents is created and overlaid on top of the existing tab. If the user presses enter or clicks on the page the instant tab replaced the old tab. BUG=68685 TEST=none Review URL: http://codereview.chromium.org/6172002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_devtools_bridge.h')
-rw-r--r--chrome/browser/extensions/extension_devtools_bridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_devtools_bridge.h b/chrome/browser/extensions/extension_devtools_bridge.h
index 894ab17..7e628e5 100644
--- a/chrome/browser/extensions/extension_devtools_bridge.h
+++ b/chrome/browser/extensions/extension_devtools_bridge.h
@@ -31,6 +31,8 @@ class ExtensionDevToolsBridge : public DevToolsClientHost {
// DevToolsClientHost, called to send a message to this host.
virtual void SendMessageToClient(const IPC::Message& msg);
+ virtual void TabReplaced(TabContentsWrapper* new_tab);
+
private:
void OnDispatchOnInspectorFrontend(const std::string& data);