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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 InstantSizeUnits units) OVERRIDE; | 333 InstantSizeUnits units) OVERRIDE; |
334 virtual void LogDropdownShown() OVERRIDE; | 334 virtual void LogDropdownShown() OVERRIDE; |
335 virtual void FocusOmnibox(const content::WebContents* contents, | 335 virtual void FocusOmnibox(const content::WebContents* contents, |
336 OmniboxFocusState state) OVERRIDE; | 336 OmniboxFocusState state) OVERRIDE; |
337 virtual void NavigateToURL( | 337 virtual void NavigateToURL( |
338 const content::WebContents* contents, | 338 const content::WebContents* contents, |
339 const GURL& url, | 339 const GURL& url, |
340 content::PageTransition transition, | 340 content::PageTransition transition, |
341 WindowOpenDisposition disposition, | 341 WindowOpenDisposition disposition, |
342 bool is_search_type) OVERRIDE; | 342 bool is_search_type) OVERRIDE; |
| 343 virtual void LogIframeHover() OVERRIDE; |
343 virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE; | 344 virtual void InstantPageLoadFailed(content::WebContents* contents) OVERRIDE; |
344 | 345 |
345 // Overridden from InstantServiceObserver: | 346 // Overridden from InstantServiceObserver: |
346 virtual void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) OVERRIDE; | 347 virtual void ThemeInfoChanged(const ThemeBackgroundInfo& theme_info) OVERRIDE; |
347 | 348 |
348 // Invoked by the InstantLoader when the Instant page wants to delete a | 349 // Invoked by the InstantLoader when the Instant page wants to delete a |
349 // Most Visited item. | 350 // Most Visited item. |
350 virtual void DeleteMostVisitedItem(const GURL& url) OVERRIDE; | 351 virtual void DeleteMostVisitedItem(const GURL& url) OVERRIDE; |
351 | 352 |
352 // Invoked by the InstantLoader when the Instant page wants to undo a | 353 // 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... |
539 // MODE_SEARCH_SUGGESTIONS, except in those cases where this is false. | 540 // MODE_SEARCH_SUGGESTIONS, except in those cases where this is false. |
540 bool allow_overlay_to_show_search_suggestions_; | 541 bool allow_overlay_to_show_search_suggestions_; |
541 | 542 |
542 // List of events and their timestamps, useful in debugging Instant behaviour. | 543 // List of events and their timestamps, useful in debugging Instant behaviour. |
543 mutable std::list<std::pair<int64, std::string> > debug_events_; | 544 mutable std::list<std::pair<int64, std::string> > debug_events_; |
544 | 545 |
545 DISALLOW_COPY_AND_ASSIGN(InstantController); | 546 DISALLOW_COPY_AND_ASSIGN(InstantController); |
546 }; | 547 }; |
547 | 548 |
548 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ | 549 #endif // CHROME_BROWSER_UI_SEARCH_INSTANT_CONTROLLER_H_ |
OLD | NEW |