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

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

Issue 2400503002: [Translate] Integrate TranslateEventProto UMA logging into TranslateManager. (Closed)
Patch Set: fix trybots 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
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 f9f73e81a59de3ec8c10f98317ee620570cebdc9..ee231fa430269e37ae6f98208eb5793f40bbf2f8 100644
--- a/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
+++ b/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
@@ -72,6 +72,13 @@ enum TranslateBubbleUiEvent {
// The translate bubble was shown to the user.
BUBBLE_SHOWN,
+ // The translate bugbble could not be shown to the user, for various reasons.
+ BUBBLE_NOT_SHOWN_WINDOW_NOT_VALID,
+ BUBBLE_NOT_SHOWN_WINDOW_MINIMIZED,
+ BUBBLE_NOT_SHOWN_WINDOW_NOT_ACTIVE,
+ BUBBLE_NOT_SHOWN_WEB_CONTENTS_NOT_ACTIVE,
+ BUBBLE_NOT_SHOWN_EDITABLE_FIELD_IS_ACTIVE,
+
TRANSLATE_BUBBLE_UI_EVENT_MAX
};
« no previous file with comments | « chrome/browser/ui/translate/translate_bubble_factory.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698