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

Side by Side Diff: chrome/browser/instant/instant_tab.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const std::vector<InstantSuggestion>& suggestions) OVERRIDE; 52 const std::vector<InstantSuggestion>& suggestions) OVERRIDE;
53 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE; 53 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE;
54 virtual void ShowInstantPreview(InstantShownReason reason, 54 virtual void ShowInstantPreview(InstantShownReason reason,
55 int height, 55 int height,
56 InstantSizeUnits units) OVERRIDE; 56 InstantSizeUnits units) OVERRIDE;
57 virtual void StartCapturingKeyStrokes() OVERRIDE; 57 virtual void StartCapturingKeyStrokes() OVERRIDE;
58 virtual void StopCapturingKeyStrokes() OVERRIDE; 58 virtual void StopCapturingKeyStrokes() OVERRIDE;
59 virtual void RenderViewGone() OVERRIDE; 59 virtual void RenderViewGone() OVERRIDE;
60 virtual void AboutToNavigateMainFrame(const GURL& url) OVERRIDE; 60 virtual void AboutToNavigateMainFrame(const GURL& url) OVERRIDE;
61 virtual void NavigateToURL(const GURL& url, 61 virtual void NavigateToURL(const GURL& url,
62 content::PageTransition transition) OVERRIDE; 62 content::PageTransition transition,
63 WindowOpenDisposition disposition) OVERRIDE;
63 64
64 InstantClient client_; 65 InstantClient client_;
65 InstantController* const controller_; 66 InstantController* const controller_;
66 content::WebContents* const contents_; 67 content::WebContents* const contents_;
67 bool supports_instant_; 68 bool supports_instant_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(InstantTab); 70 DISALLOW_COPY_AND_ASSIGN(InstantTab);
70 }; 71 };
71 72
72 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ 73 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698