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

Issue 57173002: Adds the concept of a 'safe mode' hotkey start (Closed)

Created:
7 years, 1 month ago by cpu_(ooo_6.6-7.5)
Modified:
7 years, 1 month ago
Reviewers:
robertshield, scottmg
CC:
chromium-reviews, grt+watch_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Adds the concept of a 'safe mode' hotkey start The issue is that with Aura if something goes horribly wrong with the GPU, the user can get a 'black window' with no UI. So for ConOps it is nice to have a way to start chrome with a set of flags that we know should get you a working chrome that they can troubleshoot. To do this we add a hotkey combo to the start menu shortcut, in this case ctrl-shift-f10 which is not taken by windows. This shortcut can start chrome in this safe mode. BUG=271719 TEST=see bug R=robertshield@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232825

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -2 lines) Patch
M base/win/shortcut.h View 3 chunks +10 lines, -1 line 0 comments Download
M base/win/shortcut.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/installer/util/browser_distribution.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/browser_distribution.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_dummy.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/installer/util/shell_util.h View 4 chunks +11 lines, -1 line 0 comments Download
M chrome/installer/util/shell_util.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cpu_(ooo_6.6-7.5)
please take a look. I would appreciate a review before branch.
7 years, 1 month ago (2013-11-03 05:01:48 UTC) #1
scottmg
Seems fine, except Ctrl-Shift-F10 is "Set Next Statement" in Visual Studio. So it's a bit ...
7 years, 1 month ago (2013-11-03 19:48:13 UTC) #2
robertshield
Ignorable nits, implementation itself LGTM. Similar concerns about global hotkey though. Would dropping a safe ...
7 years, 1 month ago (2013-11-04 02:19:54 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/57173002/diff/1/chrome/installer/util/browser_distribution.h File chrome/installer/util/browser_distribution.h (right): https://codereview.chromium.org/57173002/diff/1/chrome/installer/util/browser_distribution.h#newcode165 chrome/installer/util/browser_distribution.h:165: virtual int GetSafeModeHotkey(); On 2013/11/04 02:19:55, robertshield wrote: > ...
7 years, 1 month ago (2013-11-04 15:25:14 UTC) #4
cpu_(ooo_6.6-7.5)
code changed, ptal. I am not too happy with the global shortcut either. The final ...
7 years, 1 month ago (2013-11-04 19:10:57 UTC) #5
robertshield
On 2013/11/04 19:10:57, cpu wrote: > code changed, ptal. > > I am not too ...
7 years, 1 month ago (2013-11-04 19:18:20 UTC) #6
cpu_(ooo_6.6-7.5)
Committed patchset #2 manually as r232825.
7 years, 1 month ago (2013-11-04 22:30:57 UTC) #7
kuzmeech
On 2013/11/03 05:01:48, cpu wrote: > please take a look. I would appreciate a review ...
7 years, 1 month ago (2013-11-14 23:08:07 UTC) #8
scottmg
7 years, 1 month ago (2013-11-14 23:11:19 UTC) #9
Message was sent while issue was closed.
On 2013/11/14 23:08:07, kuzmeech wrote:
> On 2013/11/03 05:01:48, cpu wrote:
> > please take a look. I would appreciate a review before branch.
> 
> keyboard combination also overlaps with PyCharm's standard shortcut for "Run",
I
> wonder if I can disable it as it triggers current release of Chrome Canary
each
> time I expect PyCharm/IDEA to do the run...

The shortcut was in trunk for a while, but won't be shipping in a release.

Powered by Google App Engine
This is Rietveld 408576698