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

Issue 178863002: Implement settings in a widnow (Closed)

Created:
6 years, 10 months ago by stevenjb
Modified:
6 years, 9 months ago
CC:
chromium-reviews, tim+watch_chromium.org, Avi (use Gerrit), kalyank, creis+watch_chromium.org, nkostylev+watch_chromium.org, tfarina, haitaol+watch_chromium.org, ben+ash_chromium.org, oshima+watch_chromium.org, ajwong+watch_chromium.org, sadrul, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Implement settings om a window Adds SettingsWindowManager which manages settings popup windows, one per Profile. Implemented behind the flag -enable-settings-window Includes some cleanup in chrome_pages for settings url generation and showing settings by profile in general. Also moves logic for whether to display the Location Bar in a Browser to ShowLocationBar() (affects code for streamlined hosted apps, shouldn't change the logic any). BUG=342983 R=ben@chromium.org, calamity@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258615

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 8

Patch Set 5 : Rebase, Add chrome::IsSettingsWindow(), feedback #

Patch Set 6 : Add to chrome://flags #

Patch Set 7 : Rebase #

Patch Set 8 : Fix comment #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -86 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 1 2 3 4 5 6 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 6 10 chunks +23 lines, -31 lines 0 comments Download
M chrome/browser/ui/autofill/new_credit_card_bubble_controller.cc View 1 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 2 chunks +30 lines, -13 lines 0 comments Download
M chrome/browser/ui/chrome_pages.h View 1 2 3 4 5 2 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 4 7 chunks +72 lines, -23 lines 0 comments Download
A chrome/browser/ui/settings_window_manager.h View 1 2 3 4 5 6 7 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/ui/settings_window_manager.cc View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_sync_starter.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/translate/translate_bubble_view.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
stevenjb
Ping
6 years, 9 months ago (2014-03-03 17:27:41 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc#newcode2169 chrome/browser/ui/browser.cc:2169: bool Browser::ShowLocationBar() const { Here's a question... can settings ...
6 years, 9 months ago (2014-03-03 18:55:15 UTC) #2
stevenjb
https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc#newcode2169 chrome/browser/ui/browser.cc:2169: bool Browser::ShowLocationBar() const { On 2014/03/03 18:55:16, Ben Goodger ...
6 years, 9 months ago (2014-03-03 23:45:24 UTC) #3
Ben Goodger (Google)
On 2014/03/03 23:45:24, stevenjb wrote: > I am reluctant to use APP_TYPE_HOST for something that ...
6 years, 9 months ago (2014-03-04 16:36:28 UTC) #4
stevenjb
I think that was me :) The enum is used to differentiate between a Browser ...
6 years, 9 months ago (2014-03-04 17:02:19 UTC) #5
calamity
Streamlined hosted apps stuff lgtm. https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc#newcode2200 chrome/browser/ui/browser.cc:2200: return false; // Assume ...
6 years, 9 months ago (2014-03-05 02:38:11 UTC) #6
stevenjb
PTAL https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://codereview.chromium.org/178863002/diff/80001/chrome/browser/ui/browser.cc#newcode2169 chrome/browser/ui/browser.cc:2169: bool Browser::ShowLocationBar() const { On 2014/03/03 23:45:24, stevenjb ...
6 years, 9 months ago (2014-03-06 23:51:56 UTC) #7
stevenjb
ping
6 years, 9 months ago (2014-03-11 00:43:18 UTC) #8
stevenjb
Friendly ping. I'm getting some pressure from folks wanting to start playing with this, but ...
6 years, 9 months ago (2014-03-14 00:42:23 UTC) #9
Ben Goodger (Google)
I wish you would have come up with a way to treat this in the ...
6 years, 9 months ago (2014-03-19 17:09:31 UTC) #10
stevenjb
On 2014/03/19 17:09:31, Ben Goodger (Google) wrote: > I wish you would have come up ...
6 years, 9 months ago (2014-03-19 17:22:55 UTC) #11
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 9 months ago (2014-03-19 17:23:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/178863002/120001
6 years, 9 months ago (2014-03-19 17:24:02 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 17:24:16 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/about_flags.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-19 17:24:17 UTC) #15
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 9 months ago (2014-03-19 17:50:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/178863002/140001
6 years, 9 months ago (2014-03-19 17:51:29 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 18:29:45 UTC) #18
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=56205
6 years, 9 months ago (2014-03-19 18:29:47 UTC) #19
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 9 months ago (2014-03-19 18:38:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/178863002/150001
6 years, 9 months ago (2014-03-19 18:39:41 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 18:44:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-19 18:44:27 UTC) #23
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 9 months ago (2014-03-20 20:16:56 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/178863002/170001
6 years, 9 months ago (2014-03-20 20:17:44 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 22:04:19 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-20 22:04:21 UTC) #27
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 9 months ago (2014-03-21 00:40:20 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/178863002/170001
6 years, 9 months ago (2014-03-21 00:41:39 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 01:04:03 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-21 01:04:03 UTC) #31
stevenjb
6 years, 9 months ago (2014-03-21 17:13:56 UTC) #32
Message was sent while issue was closed.
Committed patchset #9 manually as r258615 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698