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

Unified Diff: chrome/browser/ui/views/translate/translate_icon_view.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: address review comments 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/views/translate/translate_icon_view.h
diff --git a/chrome/browser/ui/views/translate/translate_icon_view.h b/chrome/browser/ui/views/translate/translate_icon_view.h
index b5c21f9e9f13143f29f6a5e96d7f233208c16f9f..ec4f57d04628b863bf6e886e4aa7c1350aae71ca 100644
--- a/chrome/browser/ui/views/translate/translate_icon_view.h
+++ b/chrome/browser/ui/views/translate/translate_icon_view.h
@@ -20,6 +20,7 @@ class TranslateIconView : public BubbleIconView {
protected:
// BubbleIconView:
void OnExecuting(BubbleIconView::ExecuteSource execute_source) override;
+ void OnPressed(bool activated) override;
views::BubbleDialogDelegateView* GetBubble() const override;
gfx::VectorIconId GetVectorIcon() const override;
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view.cc ('k') | chrome/browser/ui/views/translate/translate_icon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698