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

Unified Diff: chrome/browser/ui/translate/translate_bubble_view_state_transition.h

Issue 1962393003: log the click activate/deactive of translate icon on location bar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed by 'git cl format --full' Created 4 years, 7 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: chrome/browser/ui/translate/translate_bubble_view_state_transition.h
diff --git a/chrome/browser/ui/translate/translate_bubble_view_state_transition.h b/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
index d99bcf7d26a6009b3bf8b32ce10010d2d63118ee..ae8139f16fa5c22a1e8116001d061f407a7e530a 100644
--- a/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
+++ b/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
@@ -62,6 +62,12 @@ enum TranslateBubbleUiEvent {
// The user changed the "Target language".
TARGET_LANGUAGE_MENU_CLICKED,
+ // The user click to activate the Omnibar Translate icon.
msw 2016/05/11 18:51:35 'Omnibar' is not the correct colloquial term; say
ftang 2016/05/11 23:20:23 Done.
+ OMNIBAR_ICON_CLICK_ACTIVATE,
+
+ // The user click to deactivate the Omnibar Translate icon.
+ OMNIBAR_ICON_CLICK_DEACTIVATE,
+
TRANSLATE_BUBBLE_UI_EVENT_MAX
};

Powered by Google App Engine
This is Rietveld 408576698