| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 InstantSizeUnits units) OVERRIDE; | 327 InstantSizeUnits units) OVERRIDE; |
| 328 virtual void LogDropdownShown() OVERRIDE; | 328 virtual void LogDropdownShown() OVERRIDE; |
| 329 virtual void FocusOmnibox(const content::WebContents* contents, | 329 virtual void FocusOmnibox(const content::WebContents* contents, |
| 330 OmniboxFocusState state) OVERRIDE; | 330 OmniboxFocusState state) OVERRIDE; |
| 331 virtual void NavigateToURL( | 331 virtual void NavigateToURL( |
| 332 const content::WebContents* contents, | 332 const content::WebContents* contents, |
| 333 const GURL& url, | 333 const GURL& url, |
| 334 content::PageTransition transition, | 334 content::PageTransition transition, |
| 335 WindowOpenDisposition disposition, | 335 WindowOpenDisposition disposition, |
| 336 bool is_search_type) OVERRIDE; | 336 bool is_search_type) OVERRIDE; |
| 337 virtual void LogIframeHover() OVERRIDE; |
| 337 virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE; | 338 virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE; |
| 338 | 339 |
| 339 // Overridden from InstantServiceObserver: | 340 // Overridden from InstantServiceObserver: |
| 340 virtual void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) OVERRIDE; | 341 virtual void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) OVERRIDE; |
| 341 | 342 |
| 342 // Invoked by the InstantLoader when the Instant page wants to delete a | 343 // Invoked by the InstantLoader when the Instant page wants to delete a |
| 343 // Most Visited item. | 344 // Most Visited item. |
| 344 virtual void DeleteMostVisitedItem(const GURL& url) OVERRIDE; | 345 virtual void DeleteMostVisitedItem(const GURL& url) OVERRIDE; |
| 345 | 346 |
| 346 // Invoked by the InstantLoader when the Instant page wants to undo a | 347 // Invoked by the InstantLoader when the Instant page wants to undo a |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 // MODE_SEARCH_SUGGESTIONS, except in those cases where this is false. | 534 // MODE_SEARCH_SUGGESTIONS, except in those cases where this is false. |
| 534 bool allow_overlay_to_show_search_suggestions_; | 535 bool allow_overlay_to_show_search_suggestions_; |
| 535 | 536 |
| 536 // List of events and their timestamps, useful in debugging Instant behaviour. | 537 // List of events and their timestamps, useful in debugging Instant behaviour. |
| 537 mutable std::list<std::pair<int64, std::string> > debug_events_; | 538 mutable std::list<std::pair<int64, std::string> > debug_events_; |
| 538 | 539 |
| 539 DISALLOW_COPY_AND_ASSIGN(InstantController); | 540 DISALLOW_COPY_AND_ASSIGN(InstantController); |
| 540 }; | 541 }; |
| 541 | 542 |
| 542 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ | 543 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ |
| OLD | NEW |