Index: chrome/browser/instant/instant_controller.h |
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h |
index 4a9abeb896f82ec67035b9957c5cc8b4bde58a60..f6721ee406e00bbc15479fdaf3947c23688050c9 100644 |
--- a/chrome/browser/instant/instant_controller.h |
+++ b/chrome/browser/instant/instant_controller.h |
@@ -25,6 +25,7 @@ |
#include "chrome/common/search_types.h" |
#include "content/public/common/page_transition_types.h" |
#include "googleurl/src/gurl.h" |
+#include "ui/base/window_open_disposition.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/rect.h" |
@@ -189,6 +190,8 @@ class InstantController : public InstantPage::Delegate { |
FRIEND_TEST_ALL_PREFIXES(InstantTest, InstantOverlayRefresh); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, ExtendedModeIsOn); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, OmniboxFocusLoadsInstant); |
+ FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, |
+ MiddleClickOnSuggestionOpensInNewTab); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, NTPIsPreloaded); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, PreloadedNTPIsUsedInNewTab); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, PreloadedNTPIsUsedInSameTab); |
@@ -222,7 +225,8 @@ class InstantController : public InstantPage::Delegate { |
virtual void NavigateToURL( |
const content::WebContents* contents, |
const GURL& url, |
- content::PageTransition transition) OVERRIDE; |
+ content::PageTransition transition, |
+ WindowOpenDisposition disposition) OVERRIDE; |
// Helper for OmniboxFocusChanged. Commit or discard the preview. |
void OmniboxLostFocus(gfx::NativeView view_gaining_focus); |