| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 class TabContents; | 10 namespace content { |
| 11 class WebContents; |
| 12 } |
| 11 | 13 |
| 12 // Objects implement this interface to get notified about changes in the | 14 // Objects implement this interface to get notified about changes in the |
| 13 // BookmarkTabHelper and to provide necessary functionality. | 15 // BookmarkTabHelper and to provide necessary functionality. |
| 14 class BookmarkTabHelperDelegate { | 16 class BookmarkTabHelperDelegate { |
| 15 public: | 17 public: |
| 16 // Notification that the starredness of the current URL changed. | 18 // Notification that the starredness of the current URL changed. |
| 17 virtual void URLStarredChanged(TabContents* source, bool starred) = 0; | 19 virtual void URLStarredChanged(content::WebContents* web_contents, |
| 20 bool starred) = 0; |
| 18 | 21 |
| 19 protected: | 22 protected: |
| 20 virtual ~BookmarkTabHelperDelegate(); | 23 virtual ~BookmarkTabHelperDelegate(); |
| 21 }; | 24 }; |
| 22 | 25 |
| 23 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ | 26 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_TAB_HELPER_DELEGATE_H_ |
| OLD | NEW |