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

Side by Side Diff: chrome/browser/ui/views/autofill/tooltip_icon.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_TOOLTIP_ICON_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_TOOLTIP_ICON_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/strings/string16.h"
11 #include "ui/views/controls/image_view.h"
12
13 // A tooltip icon (just an ImageView with a tooltip). Looks like (?).
14 class TooltipIcon : public views::ImageView {
15 public:
16 explicit TooltipIcon(const base::string16& tooltip);
17 virtual ~TooltipIcon();
18
19 // views::View implementation
20 virtual bool GetTooltipText(const gfx::Point& p,
21 base::string16* tooltip) const OVERRIDE;
22 private:
23 base::string16 tooltip_;
24
25 DISALLOW_COPY_AND_ASSIGN(TooltipIcon);
26 };
27
28 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_TOOLTIP_ICON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698