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

Issue 682113002: Fix accelerators in avatar gaia webview on mac (Closed)

Created:
6 years, 1 month ago by guohui
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix accelerators in avatar gaia webview on mac BUG=401023 TEST=launch chrome with flag --enable-new-avatar-menu, open the new avatar menu, click signin to chrome, in the embedded gaia webview, try cmd+a and cmd+v, both should work. Committed: https://crrev.com/feb45f0af1d064866f0c519306bf66725c5e6d48 Cr-Commit-Position: refs/heads/master@{#301986}

Patch Set 1 #

Total comments: 2

Patch Set 2 : nits fixed #

Total comments: 13

Patch Set 3 : more nits fixed #

Total comments: 4

Patch Set 4 : and more nits #

Total comments: 2

Patch Set 5 : more nits fixed #

Total comments: 2

Patch Set 6 : remove ifdef #

Patch Set 7 : comment added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -17 lines) Patch
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 5 6 6 chunks +51 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.h View 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 2 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
guohui
Hey, could you please review the CL? sky@ for ui/views, alexei@ for ui/cocoa, rogerta@ for ...
6 years, 1 month ago (2014-10-28 17:15:59 UTC) #2
sky
https://codereview.chromium.org/682113002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode715 chrome/browser/ui/views/profiles/profile_chooser_view.cc:715: #ifndef NDEBUG #if !defined(NDEBUG_) Also, spacing is off, and ...
6 years, 1 month ago (2014-10-28 17:46:54 UTC) #3
guohui
https://codereview.chromium.org/682113002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/1/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode715 chrome/browser/ui/views/profiles/profile_chooser_view.cc:715: #ifndef NDEBUG On 2014/10/28 17:46:54, sky wrote: > #if ...
6 years, 1 month ago (2014-10-28 18:02:53 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h (right): https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h#newcode60 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h:60: scoped_ptr<GaiaWebContentsDelegate> webContentsDelegate_; Does this need to be a scoped ...
6 years, 1 month ago (2014-10-28 18:27:23 UTC) #5
guohui
https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h (right): https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h#newcode60 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h:60: scoped_ptr<GaiaWebContentsDelegate> webContentsDelegate_; On 2014/10/28 18:27:23, Alexei Svitkine wrote: > ...
6 years, 1 month ago (2014-10-28 18:53:40 UTC) #6
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/682113002/diff/20001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode290 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:290: event.windowsKeyCode == ui::VKEY_V); How about VKEY_C ?
6 years, 1 month ago (2014-10-28 18:58:13 UTC) #7
Alexei Svitkine (slow)
lgtm % nits Please add a TEST= line to the CL since this is changing ...
6 years, 1 month ago (2014-10-28 18:58:42 UTC) #8
guohui
thanks alexsei! https://codereview.chromium.org/682113002/diff/40001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm File chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm (right): https://codereview.chromium.org/682113002/diff/40001/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm#newcode261 chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm:261: // Overridden from content::WebContentsDelegate. On 2014/10/28 18:58:42, ...
6 years, 1 month ago (2014-10-28 19:02:39 UTC) #9
sky
https://codereview.chromium.org/682113002/diff/60001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/60001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode716 chrome/browser/ui/views/profiles/profile_chooser_view.cc:716: #ifndef NDEBUG #if !defined(NDEBUG)
6 years, 1 month ago (2014-10-28 22:14:04 UTC) #10
guohui
https://codereview.chromium.org/682113002/diff/60001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/60001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode716 chrome/browser/ui/views/profiles/profile_chooser_view.cc:716: #ifndef NDEBUG On 2014/10/28 22:14:04, sky wrote: > #if ...
6 years, 1 month ago (2014-10-29 18:02:08 UTC) #11
sky
https://codereview.chromium.org/682113002/diff/80001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/80001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode715 chrome/browser/ui/views/profiles/profile_chooser_view.cc:715: // Suppresses the context menu in non-debug mode. This ...
6 years, 1 month ago (2014-10-29 19:20:28 UTC) #12
guohui
https://codereview.chromium.org/682113002/diff/80001/chrome/browser/ui/views/profiles/profile_chooser_view.cc File chrome/browser/ui/views/profiles/profile_chooser_view.cc (right): https://codereview.chromium.org/682113002/diff/80001/chrome/browser/ui/views/profiles/profile_chooser_view.cc#newcode715 chrome/browser/ui/views/profiles/profile_chooser_view.cc:715: // Suppresses the context menu in non-debug mode. On ...
6 years, 1 month ago (2014-10-29 19:25:34 UTC) #13
sky
Excellent. Please document why true is a good return value though. On Wed, Oct 29, ...
6 years, 1 month ago (2014-10-29 19:33:51 UTC) #14
guohui
On 2014/10/29 19:33:51, sky wrote: > Excellent. Please document why true is a good return ...
6 years, 1 month ago (2014-10-29 22:01:30 UTC) #15
sky
LGTM
6 years, 1 month ago (2014-10-29 22:02:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/682113002/120001
6 years, 1 month ago (2014-10-29 22:04:52 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years, 1 month ago (2014-10-30 00:10:42 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 00:11:25 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/feb45f0af1d064866f0c519306bf66725c5e6d48
Cr-Commit-Position: refs/heads/master@{#301986}

Powered by Google App Engine
This is Rietveld 408576698