Add ability to gather metrics to BubbleManager.
[chromium-blink-merge.git] / chrome / browser / ui / bookmarks / bookmark_bubble_observer.h
blobbaf8ab592be7fe9acd68082209bc3ba1446e5586
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.
5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_
8 namespace bookmarks {
10 class BookmarkNode;
12 // Observes the lifetime of a bookmark bubble.
13 class BookmarkBubbleObserver {
14 public:
15 virtual ~BookmarkBubbleObserver() {}
17 virtual void OnBookmarkBubbleShown(const BookmarkNode* node) = 0;
18 virtual void OnBookmarkBubbleHidden() = 0;
21 } // namespace bookmarks
23 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_