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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_types.h

Issue 55243005: Implement learn more bubble on views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 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/autofill/autofill_dialog_types.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h
index a06f5b0cf08f1f1436adaf633771f299c1bb1972..f6c4c7dc045c53f3c1d14a180729ae802d0f4b7f 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
@@ -109,10 +109,10 @@ class DialogNotification {
const gfx::Range& link_range() const { return link_range_; }
- void set_tooltip_text(const string16& tooltip_text) {
- tooltip_text_ = tooltip_text;
+ void set_learn_more_text(const string16& learn_more_text) {
+ learn_more_text_ = learn_more_text;
}
- const string16& tooltip_text() const { return tooltip_text_; }
+ const string16& learn_more_text() const { return learn_more_text_; }
void set_checked(bool checked) { checked_ = checked; }
bool checked() const { return checked_; }
@@ -126,9 +126,9 @@ class DialogNotification {
GURL link_url_;
gfx::Range link_range_;
- // When non-empty, indicates that a tooltip should be shown on the end of
- // the notification.
- string16 tooltip_text_;
+ // When non-empty, indicates that a "learn more" icon should be shown on the
+ // end of the notification (which, when hovered, shows an info bubble).
+ string16 learn_more_text_;
// Whether the dialog notification's checkbox should be checked. Only applies
// when |HasCheckbox()| is true.

Powered by Google App Engine
This is Rietveld 408576698