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

Unified Diff: chrome/browser/bookmarks/bookmark_manager.h

Issue 118150: Linux bookmark manager first cut. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 1 more file Created 11 years, 7 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 | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_manager.h
===================================================================
--- chrome/browser/bookmarks/bookmark_manager.h (revision 0)
+++ chrome/browser/bookmarks/bookmark_manager.h (revision 0)
@@ -0,0 +1,25 @@
+// Copyright (c) 2009 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_BOOKMARKS_BOOKMARK_MANAGER_H_
+#define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_H_
+
+class BookmarkNode;
+class PrefService;
+class Profile;
+
+// Cross-platform API for interacting with BookmarkManager views.
+// Implemented alongside the platform-specific view classes.
+class BookmarkManager {
+ public:
+ // Select |node| in the tree view of the bookmark manager, but only if the
+ // manager is showing and is for |profile|.
+ static void SelectInTree(Profile* profile, BookmarkNode* node);
+
+ // Show the bookmark manager for |profile|. Only one bookmark manager shows
+ // at a time, so if another one is showing, this does nothing.
+ static void Show(Profile* profile);
+};
+
+#endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MANAGER_H_
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698