Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3123)

Unified Diff: chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h

Issue 10787037: browser/ui: Share BookmarkBarInstructions delegate between gtk and views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h
diff --git a/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h b/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..205b2db27ab15bbfd393c9e03afb0d0ab0fb5edf
--- /dev/null
+++ b/chrome/browser/ui/bookmarks/bookmark_bar_instructions_delegate.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_
+#define CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_
+
+namespace chrome {
+
+// The delegate is notified once the user clicks on the link to import
+// bookmarks.
+class BookmarkBarInstructionsDelegate {
+ public:
+ virtual void ShowImportDialog() = 0;
+
+ protected:
+ virtual ~BookmarkBarInstructionsDelegate() {}
+};
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_BAR_INSTRUCTIONS_DELEGATE_H_
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698