| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 const std::vector<InstantSuggestion>& suggestions); | 206 const std::vector<InstantSuggestion>& suggestions); |
| 207 void OnShowInstantOverlay(int page_id, | 207 void OnShowInstantOverlay(int page_id, |
| 208 int height, | 208 int height, |
| 209 InstantSizeUnits units); | 209 InstantSizeUnits units); |
| 210 void OnFocusOmnibox(int page_id, OmniboxFocusState state); | 210 void OnFocusOmnibox(int page_id, OmniboxFocusState state); |
| 211 void OnSearchBoxNavigate(int page_id, | 211 void OnSearchBoxNavigate(int page_id, |
| 212 const GURL& url, | 212 const GURL& url, |
| 213 content::PageTransition transition, | 213 content::PageTransition transition, |
| 214 WindowOpenDisposition disposition, | 214 WindowOpenDisposition disposition, |
| 215 bool is_search_type); | 215 bool is_search_type); |
| 216 void OnCountMouseover(int page_id); |
| 216 void OnDeleteMostVisitedItem(int page_id, const GURL& url); | 217 void OnDeleteMostVisitedItem(int page_id, const GURL& url); |
| 217 void OnUndoMostVisitedDeletion(int page_id, const GURL& url); | 218 void OnUndoMostVisitedDeletion(int page_id, const GURL& url); |
| 218 void OnUndoAllMostVisitedDeletions(int page_id); | 219 void OnUndoAllMostVisitedDeletions(int page_id); |
| 219 | 220 |
| 220 void ClearContents(); | 221 void ClearContents(); |
| 221 | 222 |
| 222 Delegate* const delegate_; | 223 Delegate* const delegate_; |
| 223 scoped_ptr<InstantIPCSender> ipc_sender_; | 224 scoped_ptr<InstantIPCSender> ipc_sender_; |
| 224 const std::string instant_url_; | 225 const std::string instant_url_; |
| 225 const bool is_incognito_; | 226 const bool is_incognito_; |
| 226 | 227 |
| 227 DISALLOW_COPY_AND_ASSIGN(InstantPage); | 228 DISALLOW_COPY_AND_ASSIGN(InstantPage); |
| 228 }; | 229 }; |
| 229 | 230 |
| 230 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ | 231 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_PAGE_H_ |
| OLD | NEW |