1 // Copyright 2012 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_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_ 7 8 class GURL; 9 10 class BookmarkBubbleViewObserver { 11 public: 12 virtual void OnBookmarkBubbleShown(const GURL& url) = 0; 13 virtual void OnBookmarkBubbleHidden() = 0; 14 15 protected: 16 virtual ~BookmarkBubbleViewObserver() {} 17 }; 18 19 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_ 20