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

Unified Diff: chrome/browser/ui/views/autofill/tooltip_icon.cc

Issue 981293003: Autofill - Add tooltip icon to cvc verification dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad rebase Created 5 years, 9 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
« no previous file with comments | « chrome/browser/ui/views/autofill/tooltip_icon.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/tooltip_icon.cc
diff --git a/chrome/browser/ui/views/autofill/tooltip_icon.cc b/chrome/browser/ui/views/autofill/tooltip_icon.cc
index 866621160941e931ceb08d78eff0cfc16dea30f2..f6e171490406a69c7e4bdbaf99df3b181e5e326b 100644
--- a/chrome/browser/ui/views/autofill/tooltip_icon.cc
+++ b/chrome/browser/ui/views/autofill/tooltip_icon.cc
@@ -54,6 +54,7 @@ TooltipIcon::TooltipIcon(const base::string16& tooltip)
: tooltip_(tooltip),
mouse_inside_(false),
bubble_(NULL),
+ bubble_arrow_(views::BubbleBorder::TOP_RIGHT),
observer_(this) {
ChangeImageTo(IDR_AUTOFILL_TOOLTIP_ICON);
}
@@ -112,6 +113,7 @@ void TooltipIcon::ShowBubble() {
ChangeImageTo(IDR_AUTOFILL_TOOLTIP_ICON_H);
bubble_ = new TooltipBubble(this, tooltip_);
+ bubble_->set_arrow(bubble_arrow_);
// When shown due to a gesture event, close on deactivate (i.e. don't use
// "focusless").
bubble_->set_can_activate(!mouse_inside_);
« no previous file with comments | « chrome/browser/ui/views/autofill/tooltip_icon.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698