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_BAR_INSTRUCTIONS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_ |
7 | 7 |
8 // The delegate is notified once the user clicks on the link to import | 8 // The delegate is notified once the user clicks on the link to import |
9 // bookmarks. | 9 // bookmarks. |
10 class BookmarkBarInstructionsDelegate { | 10 class BookmarkBarInstructionsDelegate { |
11 public: | 11 public: |
12 virtual void ShowImportDialog() = 0; | 12 virtual void OnImportLinkClicked() = 0; |
tfarina
2014/12/12 00:58:47
It feels/read better to me.
Like BookmarkBubbleDe
sky
2014/12/12 15:46:45
I'm ok with a new name here, but I think this shou
tfarina
2014/12/12 21:12:32
Done.
| |
13 | 13 |
14 protected: | 14 protected: |
15 virtual ~BookmarkBarInstructionsDelegate() {} | 15 virtual ~BookmarkBarInstructionsDelegate() {} |
16 }; | 16 }; |
17 | 17 |
18 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_ | 18 #endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_ |
OLD | NEW |