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

Unified Diff: ui/views/controls/label.h

Issue 10829047: Deprecate unused views::Label::SetURL(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | ui/views/controls/label.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label.h
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h
index 4be47262d47019f351674de2012d99ae58512059..3881e8fa613073f0ff9253bc76612649e6ce7ae6 100644
--- a/ui/views/controls/label.h
+++ b/ui/views/controls/label.h
@@ -10,7 +10,6 @@
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/string16.h"
-#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/font.h"
#include "ui/views/view.h"
@@ -65,9 +64,6 @@ class VIEWS_EXPORT Label : public View {
// Sets the label text to |email|. Emails have a custom eliding algorithm.
void SetEmail(const string16& email);
- // Sets URL Value - text_ is set to spec().
- void SetURL(const GURL& url);
-
// Returns the font used by this label.
gfx::Font font() const { return font_; }
@@ -258,7 +254,6 @@ class VIEWS_EXPORT Label : public View {
int* flags) const;
string16 text_;
- GURL url_;
gfx::Font font_;
SkColor requested_enabled_color_;
SkColor actual_enabled_color_;
« no previous file with comments | « no previous file | ui/views/controls/label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698