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

Issue 9016036: Implement the new first run bubble, clean up old bubbles. (Closed)

Created:
9 years ago by msw
Modified:
8 years, 11 months ago
CC:
chromium-reviews, finnur+watch_chromium.org, pam+watch_chromium.org, jshin+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement the new first run bubble, clean up old bubbles. Remove large/minimal/oem bubble types, use a single bubble. Update strings, remove unused code, add Change link/button. Point Change link to chrome://settings/searchEngines for now. Old string: "Search using Google from right here" New string: "You can search from here with Google!" New link/button text: "Change" Mac xib changes: Add 'Change' button, widen bubble to fit. BUG=107005 TEST=First run search engine bubble now says "You can search from here with Google!" TBR=pkasting Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117521

Patch Set 1 #

Patch Set 2 : Cleanup and look into kShouldShowFirstRunBubble use. #

Patch Set 3 : Fix build, sync, merge. #

Patch Set 4 : Clean up GTK impl and add 'Change' link. #

Patch Set 5 : Clean up Views impl and add 'Change' link. #

Patch Set 6 : Clean up the Mac impl and add 'Change' Link. #

Patch Set 7 : Sync and merge, fix SetShowFirstRunBubblePref and test, update copyright years. #

Total comments: 4

Patch Set 8 : Adjust Mac and Win spacing; address comments. #

Patch Set 9 : Sync and merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -525 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -21 lines 0 comments Download
M chrome/app/nibs/FirstRunBubble.xib View 1 2 3 4 5 6 7 16 chunks +155 lines, -15 lines 0 comments Download
M chrome/app/resources/locale_settings.grd View 1 2 3 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/first_run/first_run.h View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -37 lines 0 comments Download
M chrome/browser/first_run/first_run_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -20 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -17 lines 0 comments Download
M chrome/browser/ui/cocoa/first_run_bubble_controller.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/first_run_bubble_controller.mm View 1 2 3 4 5 6 7 4 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 6 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 6 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_bubble.h View 1 2 3 4 5 6 2 chunks +6 lines, -38 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_bubble.cc View 1 2 3 4 5 6 4 chunks +35 lines, -148 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 3 4 5 6 5 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 6 4 chunks +5 lines, -13 lines 0 comments Download
M chrome/browser/ui/omnibox/location_bar.h View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/first_run_bubble.h View 1 2 3 4 5 6 3 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/first_run_bubble.cc View 1 2 3 4 5 6 7 3 chunks +40 lines, -75 lines 0 comments Download
M chrome/browser/ui/views/first_run_bubble_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 6 5 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 5 chunks +6 lines, -12 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 8 1 chunk +1 line, -14 lines 0 comments Download
M chrome/installer/util/master_preferences.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.h View 1 2 3 4 5 6 2 chunks +1 line, -3 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.cc View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M chrome/installer/util/master_preferences_unittest.cc View 1 2 3 4 5 6 3 chunks +1 line, -3 lines 0 comments Download
M chrome/test/base/test_location_bar.h View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
msw
Please review; thanks! (before/after pics on the bug) Elliot: chrome/browser/ui/gtk/* Nico: chrome/browser/ui/cocoa/* and chrome/app/nibs/FirstRunBubble.xib Miranda: ...
8 years, 11 months ago (2012-01-10 21:52:25 UTC) #1
Elliot Glaysher
gtk lgtm
8 years, 11 months ago (2012-01-10 22:12:59 UTC) #2
Nico
cocoa bits lgtm Please add a "xib changes: Moved button foo 4 px to the ...
8 years, 11 months ago (2012-01-10 22:18:29 UTC) #3
Miranda Callahan
Other bits LGTM with nits. http://codereview.chromium.org/9016036/diff/23046/chrome/browser/ui/cocoa/first_run_bubble_controller.h File chrome/browser/ui/cocoa/first_run_bubble_controller.h (right): http://codereview.chromium.org/9016036/diff/23046/chrome/browser/ui/cocoa/first_run_bubble_controller.h#newcode23 chrome/browser/ui/cocoa/first_run_bubble_controller.h:23: - (IBAction)onChange:(id)sender; nit: Please ...
8 years, 11 months ago (2012-01-10 22:25:47 UTC) #4
msw
Done; also updated Win and Mac spacing per bug feedback. http://codereview.chromium.org/9016036/diff/23046/chrome/browser/ui/cocoa/first_run_bubble_controller.h File chrome/browser/ui/cocoa/first_run_bubble_controller.h (right): http://codereview.chromium.org/9016036/diff/23046/chrome/browser/ui/cocoa/first_run_bubble_controller.h#newcode23 ...
8 years, 11 months ago (2012-01-11 00:27:10 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/9016036/33001
8 years, 11 months ago (2012-01-11 21:38:44 UTC) #6
commit-bot: I haz the power
Can't apply patch for file chrome/browser/first_run/first_run.cc. While running patch -p1 --forward --force; patching file chrome/browser/first_run/first_run.cc ...
8 years, 11 months ago (2012-01-11 21:38:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/9016036/40033
8 years, 11 months ago (2012-01-12 03:18:38 UTC) #8
commit-bot: I haz the power
Presubmit check for 9016036-40033 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-12 03:18:50 UTC) #9
msw
+Ben for OWNERS. PTAL; thanks!
8 years, 11 months ago (2012-01-12 03:34:36 UTC) #10
Ben Goodger (Google)
lgtm
8 years, 11 months ago (2012-01-12 16:12:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/9016036/40033
8 years, 11 months ago (2012-01-12 18:06:36 UTC) #12
commit-bot: I haz the power
Presubmit check for 9016036-40033 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-12 18:06:49 UTC) #13
msw
+Peter for chrome/browser/ui/omnibox/location_bar.h OWNERS. PTAL; thanks!
8 years, 11 months ago (2012-01-12 18:34:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/9016036/40033
8 years, 11 months ago (2012-01-12 20:06:47 UTC) #15
Peter Kasting
OWNERS LGTM
8 years, 11 months ago (2012-01-12 20:41:42 UTC) #16
commit-bot: I haz the power
8 years, 11 months ago (2012-01-12 21:52:44 UTC) #17
Change committed as 117521

Powered by Google App Engine
This is Rietveld 408576698