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

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

Issue 7310023: Pre-fill the 'Add Page' bookmark window with the current page (gtk and windows). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move stuff into bookmark_utils Created 9 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/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_utils.h
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h
index cc95b5968b7dffa38143808ae8e963df1c8c9a5d..f8bad20c2ce940771da7cd1e0e83aa62a6a2a1e2 100644
--- a/chrome/browser/bookmarks/bookmark_utils.h
+++ b/chrome/browser/bookmarks/bookmark_utils.h
@@ -193,6 +193,12 @@ void GetURLAndTitleToBookmark(TabContents* tab_contents,
GURL* url,
string16* title);
+// Fills in the URL and title for a bookmark from the current tab of the active
sky 2011/07/07 17:11:46 active -> specified
sadrul 2011/07/07 17:33:28 Done.
+// profile.
+void GetURLAndTitleToBookmarkFromCurrentTab(Profile* profile,
+ GURL* url,
+ string16* title);
+
// Returns, by reference in |urls|, the url and title pairs for each open
// tab in browser.
void GetURLsForOpenTabs(Browser* browser,
« no previous file with comments | « no previous file | chrome/browser/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698