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