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

Issue 18163006: Add persisted preference for projection touch HUD (Closed)

Created:
7 years, 5 months ago by mohsen
Modified:
7 years, 5 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add persisted preference for projection touch HUD A new preference is created showing if the projection touch HUD is enabled or not. This preference is per-user and unsyncable. It is not exposed anywhere in the UI, but can be toggled using the Ctrl+Alt+9 accelerator combination. BUG=233567 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210516

Patch Set 1 #

Total comments: 2

Patch Set 2 : Implemented sky@'s proposed method #

Patch Set 3 : Rebased onto r210370 #

Patch Set 4 : Resolved clang compile errors + Resolved linux_chromeos trybot failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -42 lines) Patch
M ash/root_window_controller.h View 1 2 3 5 chunks +13 lines, -11 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 3 5 chunks +27 lines, -16 lines 0 comments Download
M ash/shell.cc View 1 2 3 2 chunks +2 lines, -13 lines 0 comments Download
M ash/shell_observer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/preferences.h View 1 2 4 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/preferences.cc View 1 2 3 6 chunks +31 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mohsen
sadrul@: can you take a look, please...
7 years, 5 months ago (2013-07-02 16:06:06 UTC) #1
mohsen
sky@: Please take a look...
7 years, 5 months ago (2013-07-03 00:34:11 UTC) #2
sadrul
lgtm
7 years, 5 months ago (2013-07-03 00:57:53 UTC) #3
sky
https://codereview.chromium.org/18163006/diff/1/chrome/browser/chromeos/preferences.cc File chrome/browser/chromeos/preferences.cc (right): https://codereview.chromium.org/18163006/diff/1/chrome/browser/chromeos/preferences.cc#newcode711 chrome/browser/chromeos/preferences.cc:711: ash::Shell::GetInstance()->TouchHudProjectionEnabledChanged(enabled); Wouldn't all this be simpler if Shell had ...
7 years, 5 months ago (2013-07-03 13:47:08 UTC) #4
mohsen
https://codereview.chromium.org/18163006/diff/1/chrome/browser/chromeos/preferences.cc File chrome/browser/chromeos/preferences.cc (right): https://codereview.chromium.org/18163006/diff/1/chrome/browser/chromeos/preferences.cc#newcode711 chrome/browser/chromeos/preferences.cc:711: ash::Shell::GetInstance()->TouchHudProjectionEnabledChanged(enabled); On 2013/07/03 13:47:08, sky wrote: > Wouldn't all ...
7 years, 5 months ago (2013-07-03 15:30:40 UTC) #5
sky
I mean Shell::SetTouchHudProjectionEnabled(boolean) that calls ShellObserver::IsTouchHudProjectionEnabledChange (if the value changed). At startup chrome side invokes ...
7 years, 5 months ago (2013-07-03 17:24:20 UTC) #6
mohsen
On 2013/07/03 17:24:20, sky wrote: > I mean Shell::SetTouchHudProjectionEnabled(boolean) that calls > ShellObserver::IsTouchHudProjectionEnabledChange (if the ...
7 years, 5 months ago (2013-07-03 18:49:06 UTC) #7
sky
On Wed, Jul 3, 2013 at 11:49 AM, <mohsen@chromium.org> wrote: > On 2013/07/03 17:24:20, sky ...
7 years, 5 months ago (2013-07-03 21:02:35 UTC) #8
mohsen
sky@: I've implemented your proposed method. Please take a look...
7 years, 5 months ago (2013-07-04 21:09:11 UTC) #9
sky
LGTM
7 years, 5 months ago (2013-07-08 14:06:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/18163006/20001
7 years, 5 months ago (2013-07-08 14:32:18 UTC) #11
commit-bot: I haz the power
Failed to apply patch for ash/root_window_controller.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 5 months ago (2013-07-08 14:32:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/18163006/33001
7 years, 5 months ago (2013-07-08 15:41:46 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-08 16:07:30 UTC) #14
mohsen
sky@: I've changed the code a bit (mainly to satisfy clang compiler). Please take another ...
7 years, 5 months ago (2013-07-08 23:13:36 UTC) #15
sky
LGTM
7 years, 5 months ago (2013-07-09 00:21:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohsen@chromium.org/18163006/33003
7 years, 5 months ago (2013-07-09 02:14:58 UTC) #17
commit-bot: I haz the power
7 years, 5 months ago (2013-07-09 08:13:20 UTC) #18
Message was sent while issue was closed.
Change committed as 210516

Powered by Google App Engine
This is Rietveld 408576698