summaryrefslogtreecommitdiffstats
path: root/views/controls/link.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 02:49:36 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-23 02:49:36 +0000
commit4407740fe48f3a373cd5fafe3a0b68dd4117686a (patch)
tree89c27804d87f984ffbfb0b0694f690c4205e10ff /views/controls/link.h
parent232d1b83fbcadc744455b9b1615713d54f974499 (diff)
downloadchromium_src-4407740fe48f3a373cd5fafe3a0b68dd4117686a.zip
chromium_src-4407740fe48f3a373cd5fafe3a0b68dd4117686a.tar.gz
chromium_src-4407740fe48f3a373cd5fafe3a0b68dd4117686a.tar.bz2
Gets link to compile on linux.
BUG=none TEST=none Review URL: http://codereview.chromium.org/113797 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/link.h')
-rw-r--r--views/controls/link.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/controls/link.h b/views/controls/link.h
index 4464f28..36c1f4f 100644
--- a/views/controls/link.h
+++ b/views/controls/link.h
@@ -32,7 +32,7 @@ class LinkController {
////////////////////////////////////////////////////////////////////////////////
class Link : public Label {
public:
- static const char Link::kViewClassName[];
+ static const char kViewClassName[];
Link();
Link(const std::wstring& title);
@@ -54,7 +54,9 @@ class Link : public Label {
// Set whether the link is enabled.
virtual void SetEnabled(bool f);
+#if defined(OS_WIN)
virtual HCURSOR GetCursorForPoint(Event::EventType event_type, int x, int y);
+#endif
virtual std::string GetClassName() const;