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

Unified Diff: chrome/browser/instant/instant_client.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
« no previous file with comments | « no previous file | chrome/browser/instant/instant_client.cc » ('j') | chrome/browser/instant/instant_loader.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_client.h
diff --git a/chrome/browser/instant/instant_client.h b/chrome/browser/instant/instant_client.h
index 0f448684e8fad500ab34034ad137af4481cd9227..a26234e9f03fc59e76b468c0e32baec684694611 100644
--- a/chrome/browser/instant/instant_client.h
+++ b/chrome/browser/instant/instant_client.h
@@ -12,6 +12,7 @@
#include "base/string16.h"
#include "chrome/common/instant_types.h"
#include "content/public/browser/web_contents_observer.h"
+#include "webkit/glue/window_open_disposition.h"
namespace chrome {
namespace search {
@@ -66,7 +67,8 @@ class InstantClient : public content::WebContentsObserver {
// Called when the SearchBox wants to navigate to the specified URL.
virtual void NavigateToURL(const GURL& url,
- content::PageTransition transition) = 0;
+ content::PageTransition transition,
+ WindowOpenDisposition disposition) = 0;
protected:
virtual ~Delegate();
@@ -157,7 +159,8 @@ class InstantClient : public content::WebContentsObserver {
void StartCapturingKeyStrokes(int page_id);
void StopCapturingKeyStrokes(int page_id);
void SearchBoxNavigate(int page_id, const GURL& url,
- content::PageTransition transition);
+ content::PageTransition transition,
+ WindowOpenDisposition disposition);
Delegate* const delegate_;
« no previous file with comments | « no previous file | chrome/browser/instant/instant_client.cc » ('j') | chrome/browser/instant/instant_loader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698