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

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

Issue 2308823002: Add UMA stats for pen palette (Closed)
Patch Set: rebase 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
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 798624803784dff32ec90a2cead66a28f27c5760..32deb0d7cc804f06848e6d696fd0f247be1347e5 100644
--- a/ash/common/system/chromeos/palette/palette_tool_manager.h
+++ b/ash/common/system/chromeos/palette/palette_tool_manager.h
@@ -48,6 +48,9 @@ class ASH_EXPORT PaletteToolManager : public PaletteTool::Delegate {
// Return the window associated with this palette.
virtual WmWindow* GetWindow() = 0;
+ // Record usage of each pen palette option.
+ virtual void RecordPaletteMetrics(ash::PaletteTrayOptions option) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Delegate);
};
@@ -90,6 +93,7 @@ class ASH_EXPORT PaletteToolManager : public PaletteTool::Delegate {
void DisableTool(PaletteToolId tool_id) override;
void HidePalette() override;
WmWindow* GetWindow() override;
+ void RecordPaletteMetrics(ash::PaletteTrayOptions option) override;
PaletteTool* FindToolById(PaletteToolId tool_id);

Powered by Google App Engine
This is Rietveld 408576698