OLD | NEW |
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 virtual void SetSuggestions( | 50 virtual void SetSuggestions( |
51 const std::vector<InstantSuggestion>& suggestions) OVERRIDE; | 51 const std::vector<InstantSuggestion>& suggestions) OVERRIDE; |
52 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE; | 52 virtual void InstantSupportDetermined(bool supports_instant) OVERRIDE; |
53 virtual void ShowInstantPreview(InstantShownReason reason, | 53 virtual void ShowInstantPreview(InstantShownReason reason, |
54 int height, | 54 int height, |
55 InstantSizeUnits units) OVERRIDE; | 55 InstantSizeUnits units) OVERRIDE; |
56 virtual void StartCapturingKeyStrokes() OVERRIDE; | 56 virtual void StartCapturingKeyStrokes() OVERRIDE; |
57 virtual void StopCapturingKeyStrokes() OVERRIDE; | 57 virtual void StopCapturingKeyStrokes() OVERRIDE; |
58 virtual void RenderViewGone() OVERRIDE; | 58 virtual void RenderViewGone() OVERRIDE; |
59 virtual void AboutToNavigateMainFrame(const GURL& url) OVERRIDE; | 59 virtual void AboutToNavigateMainFrame(const GURL& url) OVERRIDE; |
| 60 virtual void NavigateToURL(const GURL& url, |
| 61 content::PageTransition transition) OVERRIDE; |
60 | 62 |
61 InstantClient client_; | 63 InstantClient client_; |
62 InstantController* const controller_; | 64 InstantController* const controller_; |
63 content::WebContents* const contents_; | 65 content::WebContents* const contents_; |
64 bool supports_instant_; | 66 bool supports_instant_; |
65 | 67 |
66 DISALLOW_COPY_AND_ASSIGN(InstantTab); | 68 DISALLOW_COPY_AND_ASSIGN(InstantTab); |
67 }; | 69 }; |
68 | 70 |
69 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ | 71 #endif // CHROME_BROWSER_INSTANT_INSTANT_TAB_H_ |
OLD | NEW |