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

Side by Side Diff: ui/views/controls/link_listener.h

Issue 12543032: Add views::RichLabel, a class which creates multi-line text with mixed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/views/controls/styled_label.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_CONTROLS_LINK_LISTENER_H_ 5 #ifndef UI_VIEWS_CONTROLS_LINK_LISTENER_H_
6 #define UI_VIEWS_CONTROLS_LINK_LISTENER_H_ 6 #define UI_VIEWS_CONTROLS_LINK_LISTENER_H_
7 7
8 #include "ui/views/views_export.h"
9
8 namespace views { 10 namespace views {
9 11
10 class Link; 12 class Link;
11 13
12 // An interface implemented by an object to let it know that a link was clicked. 14 // An interface implemented by an object to let it know that a link was clicked.
13 class LinkListener { 15 class VIEWS_EXPORT LinkListener {
14 public: 16 public:
15 virtual void LinkClicked(Link* source, int event_flags) = 0; 17 virtual void LinkClicked(Link* source, int event_flags) = 0;
16 18
17 protected: 19 protected:
18 virtual ~LinkListener() {} 20 virtual ~LinkListener() {}
19 }; 21 };
20 22
21 } // namespace views 23 } // namespace views
22 24
23 #endif // UI_VIEWS_CONTROLS_LINK_LISTENER_H_ 25 #endif // UI_VIEWS_CONTROLS_LINK_LISTENER_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/controls/styled_label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698