Index: chrome/browser/instant/instant_controller.h |
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h |
index f710202d294c9748ca1f8a7ff7935053575a0633..90c3024c38acf71a3bfb4f6902e1521c1ec339a7 100644 |
--- a/chrome/browser/instant/instant_controller.h |
+++ b/chrome/browser/instant/instant_controller.h |
@@ -28,6 +28,7 @@ |
#include "content/public/browser/notification_registrar.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" |
@@ -194,6 +195,8 @@ class InstantController : public InstantPage::Delegate, |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, ExtendedModeIsOn); |
FRIEND_TEST_ALL_PREFIXES(InstantExtendedTest, MostVisited); |
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); |
@@ -232,7 +235,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; |
// Invoked by the InstantLoader when the instant page wants to delete a |
// Most Visited item. |