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

Issue 7310023: Pre-fill the 'Add Page' bookmark window with the current page (gtk and windows). (Closed)

Created:
9 years, 5 months ago by sadrul
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Pre-fill the 'Add Page' bookmark window with the current page (gtk and windows). Selecting the 'Add Page' menu from the bookmark bar opens up the bookmark editor dialog with empty title and URL fields. Pre-fill these entries with the title and URL of the current page. BUG=26052 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91873

Patch Set 1 #

Total comments: 2

Patch Set 2 : move stuff into bookmark_utils #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -8 lines) Patch
M chrome/browser/bookmarks/bookmark_utils.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc View 1 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sadrul
9 years, 5 months ago (2011-07-07 06:17:47 UTC) #1
sky
http://codereview.chromium.org/7310023/diff/1/chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc File chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc (right): http://codereview.chromium.org/7310023/diff/1/chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc#newcode289 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc:289: Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); Move this off into bookmark_utils ...
9 years, 5 months ago (2011-07-07 16:02:50 UTC) #2
sky
Also, you're going to need Evan or Elliot to review gtk side. -Scott
9 years, 5 months ago (2011-07-07 16:03:13 UTC) #3
sadrul
http://codereview.chromium.org/7310023/diff/1/chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc File chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc (right): http://codereview.chromium.org/7310023/diff/1/chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc#newcode289 chrome/browser/ui/gtk/bookmarks/bookmark_editor_gtk.cc:289: Browser* browser = BrowserList::GetLastActiveWithProfile(profile_); On 2011/07/07 16:02:50, sky wrote: ...
9 years, 5 months ago (2011-07-07 16:37:38 UTC) #4
sky
LGTM http://codereview.chromium.org/7310023/diff/4001/chrome/browser/bookmarks/bookmark_utils.h File chrome/browser/bookmarks/bookmark_utils.h (right): http://codereview.chromium.org/7310023/diff/4001/chrome/browser/bookmarks/bookmark_utils.h#newcode196 chrome/browser/bookmarks/bookmark_utils.h:196: // Fills in the URL and title for ...
9 years, 5 months ago (2011-07-07 17:11:46 UTC) #5
sadrul
http://codereview.chromium.org/7310023/diff/4001/chrome/browser/bookmarks/bookmark_utils.h File chrome/browser/bookmarks/bookmark_utils.h (right): http://codereview.chromium.org/7310023/diff/4001/chrome/browser/bookmarks/bookmark_utils.h#newcode196 chrome/browser/bookmarks/bookmark_utils.h:196: // Fills in the URL and title for a ...
9 years, 5 months ago (2011-07-07 17:33:28 UTC) #6
Elliot Glaysher
9 years, 5 months ago (2011-07-08 17:41:01 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698