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

Unified Diff: ui/views/controls/styled_label_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/styled_label_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/styled_label_listener.h
diff --git a/ui/views/controls/styled_label_listener.h b/ui/views/controls/styled_label_listener.h
new file mode 100644
index 0000000000000000000000000000000000000000..e04c299c457c97a1cff080709464ce9291db932e
--- /dev/null
+++ b/ui/views/controls/styled_label_listener.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
+#define UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
+
+namespace ui {
+class Range;
+}
+
+namespace views {
+
+// A listener interface for StyledLabel.
+class VIEWS_EXPORT StyledLabelListener {
+ public:
+ virtual void StyledLabelLinkClicked(const ui::Range& range,
+ int event_flags) = 0;
+
+ protected:
+ virtual ~StyledLabelListener() {}
+};
+
+} // namespace views
+
+#endif // UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/styled_label_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698