Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3610)

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 11644009: Added support for passing WindowOpenDisposition into BrowserInstantController::OpenURL() from the o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/resources/extensions/searchbox_api.js ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 405c91d559bdff1b61fc8b8e5d78b0ddf7963a37..6b5d6d4fe1c1d2e05c9be979c472e9d7c919568d 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -14,6 +14,7 @@
#include "content/public/common/page_transition_types.h"
#include "content/public/renderer/render_view_observer.h"
#include "content/public/renderer/render_view_observer_tracker.h"
+#include "ui/base/window_open_disposition.h"
#include "ui/gfx/rect.h"
namespace content {
@@ -41,7 +42,9 @@ class SearchBox : public content::RenderViewObserver,
void StopCapturingKeyStrokes();
// Sends ChromeViewHostMsg_SearchBoxNavigate to the browser.
- void NavigateToURL(const GURL& url, content::PageTransition transition);
+ void NavigateToURL(const GURL& url,
+ content::PageTransition transition,
+ WindowOpenDisposition disposition);
// Sends ChromeViewHostMsg_InstantDeleteMostVisitedItem to the browser.
void DeleteMostVisitedItem(int restrict_id);
« no previous file with comments | « chrome/renderer/resources/extensions/searchbox_api.js ('k') | chrome/renderer/searchbox/searchbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698