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

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, 11 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
Index: chrome/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 74c16c6f1f6cccc8ac023a37e6a66747ca4d2df7..fb1014d98546d1c2ea61a2a65df9b0d2a0f663bf 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -15,6 +15,7 @@
#include "content/public/renderer/render_view_observer.h"
#include "content/public/renderer/render_view_observer_tracker.h"
#include "ui/gfx/rect.h"
+#include "webkit/glue/window_open_disposition.h"
namespace content {
class RenderView;
@@ -41,7 +42,9 @@ class SearchBox : public content::RenderViewObserver,
void StopCapturingKeyStrokes();
// Send ChromeViewHostMsg_SearchBoxNavigate to the browser.
- void NavigateToURL(const GURL& url, content::PageTransition transition);
+ void NavigateToURL(const GURL& url,
+ content::PageTransition transition,
+ WindowOpenDisposition disposition);
const string16& query() const { return query_; }
bool verbatim() const { return verbatim_; }

Powered by Google App Engine
This is Rietveld 408576698