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

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

Issue 2346833003: cros: Hide stylus tools on various sign-in screens, disable active mode when inserting stylus. (Closed)
Patch Set: Initial upload Created 4 years, 3 months 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_tool_manager.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_tool_manager.h
diff --git a/ash/common/system/chromeos/palette/palette_tool_manager.h b/ash/common/system/chromeos/palette/palette_tool_manager.h
index 198757c8c8a70560aa0f2efd9ef6142078c5d5b3..dbf98801cb668e16048ceb69e795f48fc0c188ff 100644
--- a/ash/common/system/chromeos/palette/palette_tool_manager.h
+++ b/ash/common/system/chromeos/palette/palette_tool_manager.h
@@ -90,6 +90,9 @@ class ASH_EXPORT PaletteToolManager : public PaletteTool::Delegate {
// should clear any (now) stale references.
void NotifyViewsDestroyed();
+ // Helper method to disable any active tool in the given |group|.
+ void DisableActiveTool(PaletteGroup group);
+
private:
// PaleteTool::Delegate overrides.
void EnableTool(PaletteToolId tool_id) override;
« no previous file with comments | « no previous file | ash/common/system/chromeos/palette/palette_tool_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698