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_SEARCH_INSTANT_PAGE_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ |
6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 178 |
179 // Update the status of Instant support. | 179 // Update the status of Instant support. |
180 void InstantSupportDetermined(bool supports_instant); | 180 void InstantSupportDetermined(bool supports_instant); |
181 | 181 |
182 void OnFocusOmnibox(int page_id, OmniboxFocusState state); | 182 void OnFocusOmnibox(int page_id, OmniboxFocusState state); |
183 void OnSearchBoxNavigate(int page_id, | 183 void OnSearchBoxNavigate(int page_id, |
184 const GURL& url, | 184 const GURL& url, |
185 content::PageTransition transition, | 185 content::PageTransition transition, |
186 WindowOpenDisposition disposition, | 186 WindowOpenDisposition disposition, |
187 bool is_search_type); | 187 bool is_search_type); |
| 188 void OnCountMouseover(int page_id); |
188 void OnDeleteMostVisitedItem(int page_id, const GURL& url); | 189 void OnDeleteMostVisitedItem(int page_id, const GURL& url); |
189 void OnUndoMostVisitedDeletion(int page_id, const GURL& url); | 190 void OnUndoMostVisitedDeletion(int page_id, const GURL& url); |
190 void OnUndoAllMostVisitedDeletions(int page_id); | 191 void OnUndoAllMostVisitedDeletions(int page_id); |
191 | 192 |
192 void ClearContents(); | 193 void ClearContents(); |
193 | 194 |
194 Delegate* const delegate_; | 195 Delegate* const delegate_; |
195 scoped_ptr<InstantIPCSender> ipc_sender_; | 196 scoped_ptr<InstantIPCSender> ipc_sender_; |
196 const std::string instant_url_; | 197 const std::string instant_url_; |
197 const bool is_incognito_; | 198 const bool is_incognito_; |
198 | 199 |
199 DISALLOW_COPY_AND_ASSIGN(InstantPage); | 200 DISALLOW_COPY_AND_ASSIGN(InstantPage); |
200 }; | 201 }; |
201 | 202 |
202 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ | 203 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ |
OLD | NEW |