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

Issue 1343503002: Fix right-Ctrl mapping menu item. (Closed)

Created:
5 years, 3 months ago by Jamie
Modified:
5 years, 2 months ago
Reviewers:
Sergey Ulanov, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix right-Ctrl mapping menu item. Previously, the ChromeOS default was set directly on the plugin, bypassing the DesktopConnectedView where it was being checked for the menu item. Also, unchecking the menu item would not persist between connections for most users because it results in an empty set of remappings, which causes the default to be re-applied next time. BUG=525341

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M remoting/webapp/crd/js/desktop_connected_view.js View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/webapp/crd/js/desktop_remoting_activity.js View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 7 (2 generated)
Jamie
ptal
5 years, 3 months ago (2015-09-11 21:32:52 UTC) #2
Jamie
ping
5 years, 3 months ago (2015-09-14 17:43:15 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desktop_remoting_activity.js File remoting/webapp/crd/js/desktop_remoting_activity.js (right): https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desktop_remoting_activity.js#newcode98 remoting/webapp/crd/js/desktop_remoting_activity.js:98: if (base.isEmptyObject(remapping) && remoting.platformIsChromeOS()) { it looks wrong that ...
5 years, 3 months ago (2015-09-14 18:01:57 UTC) #5
Jamie
https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desktop_remoting_activity.js File remoting/webapp/crd/js/desktop_remoting_activity.js (right): https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desktop_remoting_activity.js#newcode98 remoting/webapp/crd/js/desktop_remoting_activity.js:98: if (base.isEmptyObject(remapping) && remoting.platformIsChromeOS()) { On 2015/09/14 18:01:57, Sergey ...
5 years, 3 months ago (2015-09-15 00:27:01 UTC) #6
Jamie
5 years, 2 months ago (2015-09-25 21:49:45 UTC) #7
On 2015/09/15 00:27:01, Jamie wrote:
>
https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desk...
> File remoting/webapp/crd/js/desktop_remoting_activity.js (right):
> 
>
https://codereview.chromium.org/1343503002/diff/1/remoting/webapp/crd/js/desk...
> remoting/webapp/crd/js/desktop_remoting_activity.js:98: if
> (base.isEmptyObject(remapping) && remoting.platformIsChromeOS()) {
> On 2015/09/14 18:01:57, Sergey Ulanov wrote:
> > it looks wrong that the remappings list is not allowed to be empty. Maybe
set
> > remoting.Host.Options.remapKeys to null by default and compare it to null
> here?
> 
> Good idea. It takes quite a lot of refactoring to do that cleanly, but I think
> it's a better design. Kelvin, please hold off reviewing for the time being.

Fixed by https://codereview.chromium.org/1358173005.

Powered by Google App Engine
This is Rietveld 408576698