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

Unified Diff: ash/common/system/chromeos/palette/palette_tray.h

Issue 2535773004: Make sure stylus tools are always hidden if disabled by the user. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/system/chromeos/palette/palette_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/palette_tray.h
diff --git a/ash/common/system/chromeos/palette/palette_tray.h b/ash/common/system/chromeos/palette/palette_tray.h
index 65cec2b6d3c5d99a03abbf458030c9470f0dceb7..4ae6e9a32f735f99d3ae03da66a186950dd2b752 100644
--- a/ash/common/system/chromeos/palette/palette_tray.h
+++ b/ash/common/system/chromeos/palette/palette_tray.h
@@ -124,6 +124,9 @@ class ASH_EXPORT PaletteTray : public TrayBackgroundView,
// instance.
bool should_block_shelf_auto_hide_ = false;
+ // True if the user has disabled the palette.
stevenjb 2016/11/28 18:47:26 s/True/False/ ?
jdufault 2016/11/28 19:07:47 Done.
+ bool is_palette_enabled_ = true;
+
// Used to indicate whether the palette bubble is automatically opened by a
// stylus eject event.
bool is_bubble_auto_opened_ = false;
« no previous file with comments | « no previous file | ash/common/system/chromeos/palette/palette_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698