diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 23:25:14 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 23:25:14 +0000 |
commit | 2914600dedd1b9c37b3844d5f878c063a7d2c106 (patch) | |
tree | c2d343dda665060d69b7167154074452a8918764 /chrome/browser/debugger/devtools_manager_unittest.cc | |
parent | 5f372f899b8709dac700710b5f0f90959dcf9ecb (diff) | |
download | chromium_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/debugger/devtools_manager_unittest.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_manager_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/debugger/devtools_manager_unittest.cc b/chrome/browser/debugger/devtools_manager_unittest.cc index 8c369e6..751410a 100644 --- a/chrome/browser/debugger/devtools_manager_unittest.cc +++ b/chrome/browser/debugger/devtools_manager_unittest.cc @@ -40,6 +40,9 @@ class TestDevToolsClientHost : public DevToolsClientHost { last_sent_message = &message; } + virtual void TabReplaced(TabContentsWrapper* new_tab) { + } + static void ResetCounters() { close_counter = 0; } |