OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "chrome/common/instant_types.h" | 9 #include "chrome/common/instant_types.h" |
10 #include "chrome/common/omnibox_focus_state.h" | 10 #include "components/omnibox/common/omnibox_focus_state.h" |
11 #include "ui/base/window_open_disposition.h" | 11 #include "ui/base/window_open_disposition.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 class SessionID; | 14 class SessionID; |
15 class TemplateURL; | 15 class TemplateURL; |
16 struct AutocompleteMatch; | 16 struct AutocompleteMatch; |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 class NavigationController; | 19 class NavigationController; |
20 } | 20 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 OmniboxFocusChangeReason reason) = 0; | 64 OmniboxFocusChangeReason reason) = 0; |
65 | 65 |
66 // Performs prerendering for |match|. | 66 // Performs prerendering for |match|. |
67 virtual void DoPrerender(const AutocompleteMatch& match) = 0; | 67 virtual void DoPrerender(const AutocompleteMatch& match) = 0; |
68 | 68 |
69 // Sends the current SearchProvider suggestion to the Instant page if any. | 69 // Sends the current SearchProvider suggestion to the Instant page if any. |
70 virtual void SetSuggestionToPrefetch(const InstantSuggestion& suggestion) = 0; | 70 virtual void SetSuggestionToPrefetch(const InstantSuggestion& suggestion) = 0; |
71 }; | 71 }; |
72 | 72 |
73 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ | 73 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_CURRENT_PAGE_DELEGATE_H_ |
OLD | NEW |