• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 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_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_
7 
8 #include "base/basictypes.h"
9 
10 namespace content {
11 class WebContents;
12 }
13 
14 // Objects implement this interface to get notified about changes in the
15 // BookmarkTabHelper and to provide necessary functionality.
16 class BookmarkTabHelperDelegate {
17  public:
18   // Notification that the starredness of the current URL changed.
19   virtual void URLStarredChanged(content::WebContents* web_contents,
20                                  bool starred) = 0;
21 
22  protected:
23   virtual ~BookmarkTabHelperDelegate();
24 };
25 
26 #endif  // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_
27