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

Unified Diff: views/controls/link.cc

Issue 7057014: Variety of tweaks to View API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « views/controls/label_unittest.cc ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/link.cc
===================================================================
--- views/controls/link.cc (revision 86083)
+++ views/controls/link.cc (working copy)
@@ -69,14 +69,14 @@
listener_(NULL),
highlighted_(false) {
Init();
- SetFocusable(true);
+ set_focusable(true);
}
Link::Link(const std::wstring& title) : Label(title),
listener_(NULL),
highlighted_(false) {
Init();
- SetFocusable(true);
+ set_focusable(true);
}
void Link::Init() {
« no previous file with comments | « views/controls/label_unittest.cc ('k') | views/controls/menu/menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698