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 COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "components/omnibox/browser/autocomplete_provider_client.h" | 8 #include "components/omnibox/browser/autocomplete_provider_client.h" |
10 #include "components/omnibox/browser/omnibox_navigation_observer.h" | 9 #include "components/omnibox/browser/omnibox_navigation_observer.h" |
11 #include "components/omnibox/common/omnibox_focus_state.h" | 10 #include "components/omnibox/common/omnibox_focus_state.h" |
12 #include "ui/base/window_open_disposition.h" | 11 #include "ui/base/window_open_disposition.h" |
13 | 12 |
14 class AutocompleteResult; | 13 class AutocompleteResult; |
15 class GURL; | 14 class GURL; |
16 class SessionID; | 15 class SessionID; |
17 class TemplateURL; | 16 class TemplateURL; |
18 class TemplateURLService; | 17 class TemplateURLService; |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 virtual void OnURLOpenedFromOmnibox(OmniboxLog* log) = 0; | 138 virtual void OnURLOpenedFromOmnibox(OmniboxLog* log) = 0; |
140 | 139 |
141 // Called when a bookmark is launched from the omnibox. | 140 // Called when a bookmark is launched from the omnibox. |
142 virtual void OnBookmarkLaunched() = 0; | 141 virtual void OnBookmarkLaunched() = 0; |
143 | 142 |
144 // Discards the state for all pending and transient navigations. | 143 // Discards the state for all pending and transient navigations. |
145 virtual void DiscardNonCommittedNavigations() = 0; | 144 virtual void DiscardNonCommittedNavigations() = 0; |
146 }; | 145 }; |
147 | 146 |
148 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ | 147 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_CLIENT_H_ |
OLD | NEW |