| Index: chrome/browser/ui/bookmarks/bookmark_bubble_observer.h
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_bubble_observer.h b/chrome/browser/ui/bookmarks/bookmark_bubble_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..baf8ab592be7fe9acd68082209bc3ba1446e5586
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_bubble_observer.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_
|
| +#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_
|
| +
|
| +namespace bookmarks {
|
| +
|
| +class BookmarkNode;
|
| +
|
| +// Observes the lifetime of a bookmark bubble.
|
| +class BookmarkBubbleObserver {
|
| + public:
|
| + virtual ~BookmarkBubbleObserver() {}
|
| +
|
| + virtual void OnBookmarkBubbleShown(const BookmarkNode* node) = 0;
|
| + virtual void OnBookmarkBubbleHidden() = 0;
|
| +};
|
| +
|
| +} // namespace bookmarks
|
| +
|
| +#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BUBBLE_OBSERVER_H_
|
|
|