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

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

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/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
deleted file mode 100644
index fba541c76d9e850d308f1ece55799b42c4881ce8..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/autofill/tooltip_icon.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/views/autofill/tooltip_icon.h"
-
-#include "grit/theme_resources.h"
-#include "ui/base/resource/resource_bundle.h"
-
-TooltipIcon::TooltipIcon(const base::string16& tooltip) : tooltip_(tooltip) {
- SetImage(ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- IDR_AUTOFILL_TOOLTIP_ICON).ToImageSkia());
-}
-
-TooltipIcon::~TooltipIcon() {}
-
-bool TooltipIcon::GetTooltipText(const gfx::Point& p,
- base::string16* tooltip) const {
- *tooltip = tooltip_;
- return !tooltip_.empty();
-}

Powered by Google App Engine
This is Rietveld 408576698