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 CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_ |
| 7 |
| 8 namespace bookmarks { |
| 9 |
| 10 class BookmarkNode; |
| 11 |
| 12 // Observes the lifetime of a bookmark bubble. |
| 13 class BookmarkBubbleObserver { |
| 14 public: |
| 15 virtual ~BookmarkBubbleObserver() {} |
| 16 |
| 17 virtual void OnBookmarkBubbleShown(const BookmarkNode* node) = 0; |
| 18 virtual void OnBookmarkBubbleHidden() = 0; |
| 19 }; |
| 20 |
| 21 } // namespace bookmarks |
| 22 |
| 23 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_ |
OLD | NEW |