| Index: chrome/browser/instant/instant_controller.h
|
| diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
|
| index e6abd1a168bdfa452c3eb7a06dea50afc1ce5b84..8e65923f5c6ff3b4db5a2b22cf2619f28bd77ee1 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);
|
| @@ -221,7 +224,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);
|
|
|