[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / bookmarks / bookmark_bubble_view_observer.h
blob59ac99512837854381ca423b152183c938f86b4d
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.
5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_
8 class GURL;
10 class BookmarkBubbleViewObserver {
11 public:
12 virtual void OnBookmarkBubbleShown(const GURL& url) = 0;
13 virtual void OnBookmarkBubbleHidden() = 0;
15 protected:
16 virtual ~BookmarkBubbleViewObserver() {}
19 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BUBBLE_VIEW_OBSERVER_H_