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

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

Issue 2308823002: Add UMA stats for pen palette (Closed)
Patch Set: nits 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.h
diff --git a/ash/common/system/chromeos/palette/palette_tool.h b/ash/common/system/chromeos/palette/palette_tool.h
index eaa5ff8821089db6cd745a0ec4781bb005aec9c4..6c6575307fd6b8ed0c95b88f4f42af14ac21e9fd 100644
--- a/ash/common/system/chromeos/palette/palette_tool.h
+++ b/ash/common/system/chromeos/palette/palette_tool.h
@@ -10,6 +10,7 @@
#include <vector>
#include "ash/ash_export.h"
+#include "ash/common/system/chromeos/palette/palette_ids.h"
#include "base/callback.h"
#include "base/macros.h"
#include "ui/gfx/vector_icon_types.h"
@@ -48,6 +49,12 @@ class ASH_EXPORT PaletteTool {
// Returns the root window.
virtual WmWindow* GetWindow() = 0;
+ // Record usage of each pen palette option.
+ virtual void RecordPaletteOptionsUsage(PaletteTrayOptions option) = 0;
+
+ // Record mode cancellation of pen palette.
+ virtual void RecordPaletteModeCancellation(PaletteModeCancelType type) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Delegate);
};

Powered by Google App Engine
This is Rietveld 408576698