| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 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 MANDOLINE_UI_DESKTOP_UI_FIND_BAR_DELEGATE_H_ | |
| 6 #define MANDOLINE_UI_DESKTOP_UI_FIND_BAR_DELEGATE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 namespace mandoline { | |
| 11 | |
| 12 class FindBarDelegate { | |
| 13 public: | |
| 14 virtual ~FindBarDelegate() {} | |
| 15 | |
| 16 // Sent on a user initiated find. |forward| is set to true when researching | |
| 17 // in a forward direction. | |
| 18 virtual void OnDoFind(const std::string& find, bool forward) = 0; | |
| 19 | |
| 20 // Sent when the hide bar wants to be hidden. | |
| 21 virtual void OnHideFindBar() = 0; | |
| 22 }; | |
| 23 | |
| 24 } // namespace mandoline | |
| 25 | |
| 26 #endif // MANDOLINE_UI_DESKTOP_UI_FIND_BAR_DELEGATE_H_ | |
| OLD | NEW |