| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_ | |
| 7 | |
| 8 class OmniboxView; | |
| 9 | |
| 10 // Objects implement this interface to provide necessary functionality to | |
| 11 // SearchTabHelper. | |
| 12 class SearchTabHelperDelegate { | |
| 13 public: | |
| 14 // Returns the OmniboxView or NULL if not available. | |
| 15 virtual OmniboxView* GetOmniboxView(); | |
| 16 | |
| 17 protected: | |
| 18 virtual ~SearchTabHelperDelegate(); | |
| 19 }; | |
| 20 | |
| 21 #endif // CHROME_BROWSER_UI_SEARCH_SEARCH_TAB_HELPER_DELEGATE_H_ | |
| OLD | NEW |